/* ------------------------------------------------------------------
   Quote page — production (variant 1)
   Scoped to .page--quote
   ------------------------------------------------------------------ */

@font-face {
  font-family: "AMORIA";
  src: url("../fonts/Amoria-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nav clearance on checker section — avoids white body strip below fixed nav */
body:has(.page--quote) {
  padding-top: 0;
}

.page--quote {
  --font-psychedelic: "Shrikhand", "Cooper Black", "Arial Black", serif;
  --font-faster: "Faster One", "Arial Black", sans-serif;
  --font-amoria: "AMORIA", "Brush Script MT", cursive;
  --pink-closer: #f5c6e8;
  --hot-orange: #ff5722;

  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  color: var(--black);
}


/* Quote process — inline links (from style.css) */
/* Quote process — inline links; gradient underline grows on hover */
.page--quote .quote-process a,
.page--quote .quote-process__footer a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% var(--link-underline-thickness);
  background-position: left 100%;
  padding-bottom: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size var(--link-underline-duration) ease;
}

.page--quote .quote-process a:hover,
.page--quote .quote-process a:focus-visible,
.page--quote .quote-process__footer a:hover,
.page--quote .quote-process__footer a:focus-visible {
  background-size: 100% var(--link-underline-thickness);
}

@media (prefers-reduced-motion: reduce) {
  .page--quote .quote-process a,
  .page--quote .quote-process__footer a {
    transition: none;
  }
}

/* Variant shell */
.page--quote .quote-variant {
  position: relative;
  isolation: isolate;
}

.page--quote .quote-variant__content {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page--quote .quote-variant--1:has(+ .quote-signup) .quote-variant__content {
  padding-bottom: calc(clamp(2.5rem, 6vw, 4rem) + var(--cta-band-offset));
}

/* Keep Inter inside quote-process and calculator headings */
.page--quote .quote-variant .quote-process,
.page--quote .quote-variant .quote-process h2,
.page--quote .quote-variant .quote-calculator h2,
.page--quote .quote-variant .quote-calculator__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-synthesis: none;
  letter-spacing: normal;
  font-feature-settings: normal;
}

.page--quote .quote-variant .quote-process ol,
.page--quote .quote-variant .quote-process li,
.page--quote .quote-variant .quote-process p,
.page--quote .quote-variant .quote-process strong,
.page--quote .quote-variant .quote-process a {
  font-family: var(--font-body);
}

.page--quote .quote-variant .quote-process ol {
  list-style: none;
  padding-left: 0;
}

.page--quote .quote-variant .quote-process li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.page--quote .quote-variant .quote-process li + li {
  margin-top: 0.85rem;
}

.page--quote .quote-variant .quote-process__step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.page--quote .quote-variant .quote-process__step-text {
  flex: 1;
  min-width: 0;
  font-weight: 400;
}

.page--quote .quote-variant .quote-process__step-label {
  font-weight: 900;
  font-synthesis: none;
}

.page--quote .quote-variant .quote-process a {
  font-weight: 700;
}

.page--quote .quote-variant .quote-process__footer {
  font-weight: 400;
}

/* ------------------------------------------------------------------
   Variant 1 — Soft mint checker + Faster One headline
   (lighter tiles: --quote-checker-mint / --quote-checker-base)
   ------------------------------------------------------------------ */

.quote-variant--1 {
  --quote-checker-mint: #d4f7ea;
  --quote-checker-base: #f2fbf7;

  padding-top: var(--nav-height);
  background-color: var(--quote-checker-base);
  background-image:
    linear-gradient(45deg, var(--quote-checker-mint) 25%, transparent 25%),
    linear-gradient(-45deg, var(--quote-checker-mint) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--quote-checker-mint) 75%),
    linear-gradient(-45deg, transparent 75%, var(--quote-checker-mint) 75%);
  background-size: var(--checker-size) var(--checker-size);
  background-position:
    0 0,
    0 calc(var(--checker-size) / 2),
    calc(var(--checker-size) / 2) calc(var(--checker-size) / -2),
    calc(var(--checker-size) / -2) 0;
}

.quote-variant--1 .quote-variant__content {
  background-color: var(--quote-checker-base);
  background-image:
    linear-gradient(45deg, var(--quote-checker-mint) 25%, transparent 25%),
    linear-gradient(-45deg, var(--quote-checker-mint) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--quote-checker-mint) 75%),
    linear-gradient(-45deg, transparent 75%, var(--quote-checker-mint) 75%);
  background-size: var(--checker-size) var(--checker-size);
  background-position:
    0 0,
    0 calc(var(--checker-size) / 2),
    calc(var(--checker-size) / 2) calc(var(--checker-size) / -2),
    calc(var(--checker-size) / -2) 0;
}

.page--quote .quote-variant--1 .page__title {
  font-family: "Faster One", var(--font-faster), sans-serif;
  font-size: clamp(2.5rem, 8.125vw, 4.6875rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--blue);
  transform: none;
}

.quote-variant--1 .quote-process {
  background: var(--blue);
  color: var(--white);
}

.quote-variant--1 .quote-process__step-num {
  background: var(--neon-yellow);
  color: var(--blue);
}

.quote-variant--1 .quote-process h2 {
  color: var(--neon-yellow);
}

.quote-variant--1 .quote-process__intro {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.5;
}

.quote-variant--1 .quote-process ol {
  color: rgba(255, 255, 255, 0.92);
}

.quote-variant--1 .quote-process strong {
  color: var(--white);
}

.quote-variant--1 .quote-process__step-label {
  color: var(--white);
  font-weight: 900;
}

.quote-variant--1 .quote-process a {
  color: var(--neon-yellow);
}

.quote-variant--1 .quote-process a:hover,
.quote-variant--1 .quote-process a:focus-visible {
  color: var(--neon-yellow);
}

.quote-variant--1 .quote-process__footer {
  color: rgba(255, 255, 255, 0.85);
}

.quote-variant--1 .quote-calculator h2,
.quote-variant--1 .quote-calculator__label {
  color: var(--blue);
}

.quote-variant--1 .btn,
.quote-variant--1 .btn:hover,
.quote-variant--1 .btn:focus-visible {
  box-shadow: none;
  transform: none;
}

.quote-variant--1 .btn--primary {
  border: 3px solid var(--blue);
}

.quote-variant--1 .btn--primary:hover:not(:disabled),
.quote-variant--1 .btn--primary:focus-visible:not(:disabled) {
  background: var(--neon-yellow);
  border-color: var(--blue);
  box-shadow: none;
  color: var(--blue);
}

.page--quote .quote-signup__submit {
  flex: 0 0 auto;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  background-color: var(--hot-orange) !important;
  background-image: none !important;
  color: #fff;
  border: 3px solid var(--hot-orange);
  box-shadow: none;
}

.page--quote .quote-signup__submit:hover:not(:disabled),
.page--quote .quote-signup__submit:focus-visible:not(:disabled) {
  background-color: var(--purple-vibrant) !important;
  background-image: none !important;
  border-color: var(--purple-vibrant);
  box-shadow: none;
  color: #fff;
}

@media (max-width: 767px) {
  .page--quote .quote-variant--1 .page__title {
    font-size: clamp(3.25rem, 14vw, 5rem);
  }

  .page--quote .quote-variant--1 .page__title-line {
    display: block;
  }
}

/* ------------------------------------------------------------------
   Email signup — showcase §9 pink × Amoria × lips pattern
   ------------------------------------------------------------------ */

.page--quote .section-divider--pink {
  color: var(--pink-closer);
}

.page--quote .quote-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .page--quote .quote-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.page--quote .quote-process,
.page--quote .quote-calculator {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.page--quote .quote-process {
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius);
}

.page--quote .quote-process h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  text-transform: lowercase;
}

.page--quote .quote-process__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  margin-bottom: 0;
}

.page--quote .quote-calculator h2,
.page--quote .quote-calculator__label {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  text-transform: lowercase;
}

.page--quote .quote-calculator {
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
}

.page--quote .quote-variant--1 .quote-calculator {
  border: 5px solid var(--black);
  box-shadow: 8px 10px 0 var(--black);
}

.page--quote .quote-calculator .btn--primary {
  margin-top: auto;
  align-self: flex-start;
}

.page--quote .quote-calculator p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.page--quote .quote-calculator__price {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

@media (min-width: 900px) {
  .page--quote .quote-process h2,
  .page--quote .quote-calculator h2 {
    font-size: 2.5rem;
  }
}

.page--quote .quote-signup {
  --paper-pattern-tile: clamp(450px, 65vw, 900px);

  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  color: var(--black);
  background-color: var(--pink-closer);
  background-image: url("../img/pattern-lips.svg");
  background-size: var(--paper-pattern-tile) var(--paper-pattern-tile);
  background-position: 18% 22%;
  background-repeat: repeat;
}

.page--quote .quote-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  background-image: url("../img/paper-fiber.svg");
  background-size: 400px 400px;
}

.page--quote .quote-signup::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  mix-blend-mode: multiply;
  background-image: url("../img/paper-speckle.svg");
  background-size: 320px 320px;
}

.page--quote .quote-signup__inner {
  position: relative;
  z-index: 1;
}

.page--quote .quote-signup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page--quote .quote-signup__col--copy {
  text-align: left;
}

.page--quote .quote-signup__col--form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page--quote .quote-signup__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.85;
}

.page--quote .quote-signup__title {
  margin: 0 0 1rem;
  font-family: var(--font-amoria);
  font-size: clamp(3.25rem, 10.6vw, 5.875rem);
  font-weight: 400;
  line-height: 1.05;
  font-synthesis: none;
  text-transform: uppercase;
  color: var(--hot-orange);
  transform: rotate(-1.5deg);
}

.page--quote .quote-signup__text {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.page--quote .quote-signup__form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: stretch;
  width: 100%;
  max-width: 22rem;
}

/* Match .quote-variant--1 .quote-calculator card treatment */
.page--quote .quote-signup__input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 5px solid var(--black);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 8px 10px 0 var(--black);
  transition: border-color 0.2s, border-width 0.2s, box-shadow 0.2s, padding 0.2s;
}

.page--quote .quote-signup__input::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.page--quote .quote-signup__input:hover:not(:focus):not(:focus-visible) {
  border-color: var(--blue);
}

.page--quote .quote-signup__input:focus,
.page--quote .quote-signup__input:focus-visible {
  outline: none;
  border: 3px solid var(--blue);
  padding: calc(0.75rem + 2px) calc(0.9rem + 2px);
  box-shadow: none;
}

.page--quote .quote-signup__sr-only,
.page--quote .quote-signup__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .page--quote .quote-signup__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .page--quote .quote-signup__col--form {
    align-items: stretch;
  }

  .page--quote .quote-signup__form {
    max-width: none;
  }

  .page--quote .quote-signup__title {
    font-size: 3.75rem;
  }
}
