/* ===================================================
   ROVOOS — styles.css
   Editorial / cream / italic Fraunces
   =================================================== */

:root {
  --cream:        #FBF6E8;
  --cream-deep:   #F4ECD6;
  --ink:          #1A1A1A;
  --ink-soft:     #3A3A3A;
  --ink-mute:     rgba(26, 26, 26, 0.55);
  --paper:        #FFFEF9;
  --navy:         #1B3A5C;
  --teal:         #2A6F73;
  --sage:         #7BAA9F;
  --hairline:     rgba(26, 26, 26, 0.10);
  --hairline-2:   rgba(26, 26, 26, 0.18);

  --shadow-soft: 0 30px 60px -20px rgba(26, 26, 26, 0.18),
                 0 8px 24px -8px rgba(26, 26, 26, 0.12);
  --shadow-lift: 0 40px 80px -20px rgba(26, 26, 26, 0.28),
                 0 12px 30px -8px rgba(26, 26, 26, 0.16);

  --container: 1280px;
  --container-narrow: 880px;

  --serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

/* ---------- GRAIN OVERLAY ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

/* ---------- TYPOGRAPHY ---------- */
.display, .section-title, .step-title, .compare-title,
.template-title, .case-quote, .case-price, .pricing-amount,
.final-title {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
}
/* Override default em italic inside display headings */
.display em, .section-title em, .step-title em, .compare-title em,
.template-title em, .case-quote em, .case-price em, .pricing-amount em,
.final-title em, .step-num em, .templates-foot em, .footer-bottom em {
  font-style: normal;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--ink-soft);
}
.eyebrow-navy { color: var(--navy); }
.eyebrow-sage { color: var(--sage); }

.display {
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  margin: 0 0 28px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.display em { font-style: normal; display: inline-block; }

.section-title {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 22ch;
}
.section-sub {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 64px;
  line-height: 1.55;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 40px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 220ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(27, 58, 92, 0.5);
}
.btn-ghost {
  color: var(--ink);
  padding: 18px 4px;
}
.btn-ghost:hover { color: var(--navy); }
.btn-cream {
  background: var(--cream);
  color: var(--ink);
  padding: 22px 36px;
  font-size: 16px;
}
.btn-cream:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.4);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 280ms ease;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img {
  width: 120px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink);
  position: relative;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  padding: 12px 22px;
  font-size: 14px;
}
.nav.scrolled {
  background: rgba(251, 246, 232, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

/* ---------- HERO ---------- */
.hero {
  padding: 116px 0 72px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy { position: relative; }
/* Tightened vertical rhythm scoped to the hero copy block */
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy .display { margin-bottom: 18px; line-height: 1.02; }
.hero-copy .lead    { margin-bottom: 28px; }
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* HERO — three layered branded animated cards (fanned hand) */
.hero-visual {
  position: relative;
  height: 480px;
  --card-delay: 0ms;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-card {
  --card-rot: 0deg;
  --accent: var(--sage);
  position: relative;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  isolation: isolate;
  aspect-ratio: 4 / 5;
  transform: rotate(var(--card-rot));
  opacity: 0;
  animation: heroCardIn 700ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay)) forwards;
  transition:
    transform 520ms cubic-bezier(.34, 1.56, .64, 1),
    box-shadow 320ms ease,
    opacity 320ms ease;
}
.hero-card:hover {
  opacity: 1;
  z-index: 30;
  transform: rotate(0deg) translateY(-40px) scale(1.14);
  box-shadow: 0 90px 140px -28px rgba(26,26,26,0.55),
              0 40px 70px -16px rgba(26,26,26,0.38);
}
.hero-card:hover .hero-card__photo img {
  filter: brightness(1.06) saturate(1.12);
}
.hero-card__photo img {
  transition: filter 320ms ease;
}

/* Card-specific layout — fanned hand, auto-centered via flex (desktop) */
.hero-card--realestate {
  --card-rot: -10deg;
  --accent: var(--sage);
  width: 250px;
  margin: 0 -65px 14px 0;
  transform-origin: bottom center;
  z-index: 2;
}
.hero-card--bar {
  --card-rot: 0deg;
  --accent: var(--teal);
  width: 250px;
  margin: 0 0 40px 0;
  transform-origin: bottom center;
  z-index: 3;
}
.hero-card--marine {
  --card-rot: 10deg;
  --accent: var(--navy);
  width: 250px;
  margin: 0 0 14px -65px;
  transform-origin: bottom center;
  z-index: 2;
}

/* Photo layer */
.hero-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: blur(12px) saturate(1.05);
  transform: scale(1.06);
  animation: heroPhotoSharpen 1000ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 200ms) both;
}
.hero-card--realestate .hero-card__photo {
  background: linear-gradient(135deg, #8499ad 0%, #4f6275 100%);
}
.hero-card--bar .hero-card__photo {
  background: linear-gradient(135deg, #6a4c3b 0%, #2c1d16 100%);
}
.hero-card--marine .hero-card__photo {
  background: linear-gradient(135deg, #5a7e92 0%, #2f4858 100%);
}
/* Designed branded backdrop (no photo) — Cedar Trust */
.hero-card__photo--branded {
  background:
    radial-gradient(circle at 28% 18%, rgba(123, 170, 159, 0.22), transparent 55%),
    radial-gradient(circle at 72% 82%, rgba(42, 111, 115, 0.18), transparent 60%),
    linear-gradient(160deg, #1B3A5C 0%, #142c46 50%, #0d1f33 100%) !important;
  /* Skip the photo sharpen animation — there's no photo to sharpen */
  filter: none !important;
  transform: none !important;
  animation: heroFadeIn 800ms ease calc(var(--card-delay) + 200ms) both !important;
}
/* Subtle diagonal hairlines for an architectural texture */
.hero-card__photo--branded::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0px,
    transparent 22px,
    rgba(251, 246, 232, 0.025) 22px,
    rgba(251, 246, 232, 0.025) 23px
  );
  pointer-events: none;
}
.hero-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.10) 18%,
    rgba(26, 26, 26, 0.0)  35%,
    rgba(26, 26, 26, 0.50) 60%,
    rgba(26, 26, 26, 0.94) 100%);
  opacity: 0;
  animation: heroFadeIn 500ms ease calc(var(--card-delay) + 600ms) forwards;
}
/* Softer, evenly tinted overlay for the poster layout */
.hero-card__gradient--center {
  background: linear-gradient(180deg,
    rgba(26, 26, 26, 0.38) 0%,
    rgba(26, 26, 26, 0.18) 40%,
    rgba(26, 26, 26, 0.55) 78%,
    rgba(26, 26, 26, 0.82) 100%);
}

/* Brand bottom variant (for spec-sheet card 3) */
.hero-card__brand--bottom {
  position: absolute;
  top: auto;
  bottom: 16px;
  left: 18px;
  right: 18px;
  z-index: 3;
  text-align: left;
  animation: heroSlideUp 520ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 2200ms) forwards;
}
.hero-card__brand--bottom .hero-card__wordmark-sub {
  color: rgba(251, 246, 232, 0.85);
}

/* ===== CARD 2 — minimalist poster (Halcyon) ===== */
.hero-card__logo {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--cream);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  opacity: 0;
  transform: translateY(-6px);
  animation: heroSlideDown 520ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 800ms) forwards;
}
.hero-card__logo-mark {
  width: 42px;
  height: auto;
  color: var(--cream);
}
.hero-card__logo-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--cream);
}
.hero-card__logo-tag {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.78);
  margin-top: 1px;
}

.hero-card__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 16px 50px;
  text-align: center;
  color: var(--cream);
}
.hero-card__poster-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 14px;
  color: var(--cream);
  text-shadow: 0 3px 14px rgba(0,0,0,0.55);
  opacity: 0;
  transform: translateY(14px);
  animation: heroSlideUp 600ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 1300ms) forwards;
}
.hero-card__poster-rule {
  width: 28px;
  height: 1px;
  background: rgba(251, 246, 232, 0.65);
  margin: 0 auto 12px;
  transform: scaleX(0);
  transform-origin: center;
  animation: heroScaleIn 500ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 1700ms) forwards;
}
.hero-card__poster-meta {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.85);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  opacity: 0;
  animation: heroFadeIn 500ms ease calc(var(--card-delay) + 2000ms) forwards;
}
.hero-card__brand-foot {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0;
  animation: heroFadeIn 500ms ease calc(var(--card-delay) + 2200ms) forwards;
}

/* ===== CARD 3 — Cedar Trust (bank · poster layout, sibling of Halcyon) ===== */
/* Tracked all-caps wordmark variant (architectural / financial feel) */
.hero-card__logo-word--tracked {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Small "↗" rate-trend mark for Cedar Trust */
.hero-card__poster-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0;
  animation: heroFadeIn 500ms ease calc(var(--card-delay) + 1100ms) forwards;
}

.hero-card__dealer {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  text-align: right;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(-6px);
  animation: heroSlideDown 500ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 1000ms) forwards;
}
.hero-card__dealer-name {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-card__dealer-loc {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
}

/* Dark ink banner at the bottom — athletic flyer feel */
.hero-card__deal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 18px 18px;
  border-top: 3px solid var(--sage);
  opacity: 0;
  transform: translateY(20px);
  animation: heroSlideUp 580ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 1200ms) forwards;
}
/* Class name — big bold all-caps, condensed feel */
.hero-card__deal-model {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
  margin: 0 0 4px;
}
.hero-card__deal-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(251, 246, 232, 0.18);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
/* "4 spots" repurposed as the time/instructor headline since sticker shows spots */
.hero-card__deal-price {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
  line-height: 1.2;
}
.hero-card__deal-specs {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.65);
  text-align: right;
  line-height: 1.4;
  margin: 0;
}
.hero-card__deal-cta {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

@keyframes heroRibbonIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroScaleIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Brand wordmark (top of card) */
.hero-card__brand {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  z-index: 3;
  color: var(--cream);
  opacity: 0;
  transform: translateY(-6px);
  animation: heroSlideDown 520ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 800ms) forwards;
}
.hero-card__wordmark {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.4);
}
.hero-card__wordmark--serif {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: none;
}
.hero-card__wordmark--bold {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 11px;
}
.hero-card__wordmark-sub {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.78);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.4);
}

/* Content overlay (bottom) */
.hero-card__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px 22px 22px;
  color: var(--cream);
}

.hero-card__badge,
.hero-card__price,
.hero-card__addr,
.hero-card__stats,
.hero-card__rule,
.hero-card__footer {
  opacity: 0;
  transform: translateY(12px);
  animation: heroSlideUp 520ms cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-card__badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation-delay: calc(var(--card-delay) + 1100ms);
}
.hero-card__badge--sage { background: var(--sage); }
.hero-card__badge--teal { background: var(--teal); }
.hero-card__badge--navy { background: var(--navy); }
.hero-card__badge--red {
  background: #C0392B;
  color: var(--cream);
  box-shadow:
    0 0 0 0 rgba(192, 57, 43, 0.55),
    0 4px 16px rgba(192, 57, 43, 0.45);
  animation:
    heroSlideUp 520ms cubic-bezier(.2,.8,.2,1) forwards,
    heroBadgePulse 2.4s ease-in-out infinite;
  animation-delay: calc(var(--card-delay) + 1100ms), calc(var(--card-delay) + 2000ms);
}
@keyframes heroBadgePulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(192, 57, 43, 0.45),
      0 4px 16px rgba(192, 57, 43, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(192, 57, 43, 0),
      0 6px 22px rgba(192, 57, 43, 0.6);
  }
}

.hero-card__price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 6px;
  color: var(--cream);
  animation-delay: calc(var(--card-delay) + 1300ms);
}

.hero-card__addr {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 12px;
  color: rgba(251, 246, 232, 0.78);
  animation-delay: calc(var(--card-delay) + 1500ms);
}

.hero-card__rule {
  width: 0%;
  height: 1px;
  background: rgba(251, 246, 232, 0.3);
  margin: 0 0 12px;
  opacity: 1;
  transform: none;
  animation: heroDrawLine 600ms cubic-bezier(.2,.8,.2,1) calc(var(--card-delay) + 1700ms) forwards;
}

.hero-card__stats {
  display: flex;
  gap: 16px;
  margin: 0;
  animation-delay: calc(var(--card-delay) + 1900ms);
}
.hero-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.62);
  opacity: 0;
  transform: translateY(10px);
  animation: heroSlideUp 420ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--card-delay) + 1900ms + var(--i, 0) * 100ms);
}
.hero-card__stat strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-card__footer {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(251, 246, 232, 0.65);
  margin: 0;
  animation-delay: calc(var(--card-delay) + 1900ms);
}

/* Keyframes — opacity-only so transform stays free for hover transitions */
@keyframes heroCardIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroPhotoSharpen {
  from { filter: blur(12px) saturate(1.05); transform: scale(1.06); }
  to   { filter: blur(0) saturate(1.0);     transform: scale(1.0);  }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrawLine {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Reduced motion: show all instantly */
@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card__photo,
  .hero-card__gradient,
  .hero-card__brand,
  .hero-card__badge,
  .hero-card__price,
  .hero-card__addr,
  .hero-card__stats,
  .hero-card__stat,
  .hero-card__rule,
  .hero-card__footer,
  .hero-card__logo,
  .hero-card__poster-name,
  .hero-card__poster-rule,
  .hero-card__poster-meta,
  .hero-card__ribbon,
  .hero-card__dealer,
  .hero-card__deal {
    animation: none !important;
    opacity: 1 !important;
    transform: rotate(var(--card-rot, 0deg)) !important;
    filter: none !important;
    width: auto !important;
  }
  .hero-card__rule { width: 100% !important; }
  .hero-card__poster-rule { transform: scaleX(1) !important; }
}
.post-card {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 380ms cubic-bezier(.2,.8,.2,1),
              box-shadow 380ms ease;
  border: 1px solid var(--hairline);
}
.post-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: var(--shadow-lift);
  z-index: 5;
}

.post-card--listing {
  width: 280px;
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 2;
}
.post-card--sold {
  width: 240px;
  top: 80px;
  right: 20px;
  transform: rotate(5deg);
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
}
.post-card--market {
  width: 260px;
  bottom: 20px;
  left: 80px;
  transform: rotate(-2deg);
  z-index: 1;
}

.post-photo {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c8d4dc 0%, #9bb1c0 50%, #6b8497 100%);
}
.post-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-photo--drink {
  height: 200px;
  background: linear-gradient(135deg, #c8d4dc 0%, #7a8f9a 100%);
}
.post-photo--drink img {
  object-fit: cover;
  object-position: center center;
}

.post-body {
  padding: 18px 20px 20px;
}
.post-body--center { text-align: center; padding: 36px 24px; }

.post-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.post-badge--sage { background: var(--sage); color: var(--cream); }
.post-badge--navy { background: var(--navy); color: var(--cream); }
.post-badge--teal { background: var(--teal); color: var(--cream); }
.post-badge--cream { background: var(--cream); color: var(--ink); }

.post-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
  color: var(--ink);
}
.post-addr {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.post-stats {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
}

.post-card--sold {
  position: relative;
  background: var(--ink);
  isolation: isolate;
}
.post-sold-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.post-sold-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
  filter: grayscale(0.2) contrast(1.05);
}
.post-sold-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.85) 60%,
    rgba(26, 26, 26, 0.95) 100%);
}
.post-card--sold > .post-sold-inner {
  position: relative;
  z-index: 1;
}
.post-sold-inner { padding: 32px 24px 28px; }
.post-sold-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  color: var(--cream);
}
.post-sold-meta {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(251, 246, 232, 0.65);
  margin: 0 0 18px;
}
.post-sold-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  margin: 0;
}

.post-stat-num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 14px 0 8px;
  color: var(--teal);
}
.post-stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.post-rule {
  width: 28px;
  height: 1px;
  background: var(--hairline-2);
  margin: 0 auto 12px;
}
.post-stat-foot {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- STRIPE DIVIDER ---------- */
.stripe-divider {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 32px 0;
  position: relative;
  z-index: 2;
}
.stripe {
  display: block;
  width: 100%;
  height: 7px;
}
.stripe-navy { background: var(--navy); }
.stripe-teal { background: var(--teal); }
.stripe-sage { background: var(--sage); }

/* ---------- COMPARE ---------- */
.compare { padding-top: 100px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.compare-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 36px;
}
.compare-title--muted { color: var(--ink-mute); }
.compare-title--navy  { color: var(--navy); }

/* Inline Rovoos logo inside the compare titles.
   Centered vertically with the "Without/With" text. */
.compare-logo {
  display: inline-block;
  height: 1.05em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.06em 0 0.22em;
}
/* "Without" side — collapse logo to monochrome and fade to match the muted title */
.compare-logo--muted {
  filter: brightness(0) opacity(0.45);
}

.compare-list {
  border-top: 1px solid var(--hairline);
}
.compare-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 18px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 30px;
}
.compare-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-mute);
}
.compare-list--with li { color: var(--ink); }
.compare-list--with li::before { color: var(--navy); }

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--cream-deep); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 70px;
}
.step { position: relative; }
.step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}
.step-num--navy { color: var(--navy); }
.step-num--teal { color: var(--teal); }
.step-num--sage { color: var(--sage); }
.step-title {
  font-size: 32px;
  margin: 0 0 16px;
  color: var(--ink);
}
.step-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36ch;
}

/* ---------- TEMPLATES ---------- */
.templates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
.template-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 44px 40px 40px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.template-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.template-icon--navy { background: var(--navy); }
.template-icon--teal { background: var(--teal); }
.template-icon--sage { background: var(--sage); }
.template-icon--ink  { background: var(--ink); }

/* Big editorial number replacing the small circle icon */
.template-num {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 24px;
  position: relative;
}
.template-num::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--navy);
  margin-top: 14px;
  opacity: 0.3;
}
/* Color variation per card position */
.template-card:nth-child(1) .template-num { color: var(--navy); }
.template-card:nth-child(1) .template-num::after { background: var(--navy); }
.template-card:nth-child(2) .template-num { color: var(--teal); }
.template-card:nth-child(2) .template-num::after { background: var(--teal); }
.template-card:nth-child(3) .template-num { color: var(--sage); }
.template-card:nth-child(3) .template-num::after { background: var(--sage); }
.template-card:nth-child(4) .template-num { color: var(--ink); }
.template-card:nth-child(4) .template-num::after { background: var(--ink); }

.template-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  background: var(--cream-deep);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ink);
}
.template-title {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.template-body {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.templates-foot {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 56px auto 0;
}

/* ---------- CASE STUDY ---------- */
.case { background: var(--cream-deep); padding: 140px 0; }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 32px;
}
.case-copy { position: relative; padding-left: 0; }
.case-quote-mark {
  position: absolute;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 280px;
  line-height: 0.6;
  color: var(--navy);
  top: -50px;
  left: -40px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.case-quote {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  margin: 0 0 36px;
  color: var(--ink);
  max-width: 18ch;
}
.case-rule {
  width: 60px;
  height: 1px;
  background: var(--ink);
  margin: 0 0 22px;
}
.case-attrib {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  line-height: 1.55;
}
.case-attrib strong {
  color: var(--ink);
  font-weight: 600;
}
.case-loc { color: var(--ink-mute); font-size: 14px; }
.case-link {
  display: inline-block;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity 200ms ease;
}
.case-link:hover { opacity: 0.7; }

.case-visual { position: relative; }
/* Real-listing case-study image showcase */
.case-shot {
  margin: 0 0 0 auto;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform 380ms cubic-bezier(.2,.8,.2,1),
              box-shadow 380ms ease;
  background: var(--cream-deep);
}
.case-shot:hover {
  transform: translateY(-6px);
  box-shadow:
    0 50px 100px -24px rgba(26, 26, 26, 0.34),
    0 18px 40px -10px rgba(26, 26, 26, 0.22);
}
.case-shot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.case-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  max-width: 440px;
  margin-left: auto;
  transition: transform 320ms ease, box-shadow 320ms ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.case-photo {
  height: 260px;
  position: relative;
  background: linear-gradient(135deg, #b8c8d4 0%, #8aa3b5 50%, #5d7a8e 100%);
}
.case-photo::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.08)),
    linear-gradient(135deg, #c5a988 0%, #9b7f5e 60%, #6f5640 100%);
  clip-path: polygon(0 55%, 14% 30%, 30% 48%, 46% 22%, 62% 42%, 78% 30%, 100% 50%, 100% 100%, 0 100%);
}
.case-photo::after {
  content: "";
  position: absolute;
  top: 26px; right: 30px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff5d0 0%, #f0c060 60%, transparent 75%);
  opacity: 0.75;
}
.case-card-body { padding: 28px 32px 32px; }
.case-price {
  font-size: 38px;
  margin: 14px 0 8px;
  color: var(--ink);
}
.case-addr {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.5;
}
.case-stats {
  display: flex;
  gap: 28px;
  margin: 0 0 22px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.case-stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.case-rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
  margin: 0 0 18px;
}
.case-agent {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.case-agent strong { color: var(--ink); font-weight: 600; }
.case-agent span { color: var(--ink-mute); font-size: 12px; }

/* ---------- PRICING ---------- */
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  margin-top: 60px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pricing-stripes {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-stripes .stripe { height: 6px; }
.pricing-stripes .stripe + .stripe { margin-top: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}
.pricing-numbers {
  padding: 64px 56px;
  border-right: 1px solid var(--hairline);
}
.pricing-includes {
  padding: 64px 56px;
}
.pricing-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
}
.pricing-amount {
  font-size: 68px;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pricing-amount-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.pricing-amount--small { font-size: 38px; margin: 0 0 0; }
.pricing-amount--small span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-soft);
  margin-left: 4px;
}
.pricing-divider {
  width: 100%;
  height: 1px;
  background: var(--hairline);
  margin: 0 0 28px;
}
.pricing-list {
  margin: 0 0 36px;
}
.pricing-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  font-size: 16px;
  color: var(--ink-soft);
}
.pricing-list li:last-child { border-bottom: 0; }
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--navy);
}
.pricing-cta { margin-top: 8px; }
.pricing-fine {
  padding: 28px 56px 36px;
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  border-top: 1px solid var(--hairline);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream-deep); }
.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--hairline-2);
}
.faq-item {
  border-bottom: 1px solid var(--hairline-2);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  outline: none;
  transition: padding-left 280ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { padding-left: 8px; }
.faq-q {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 280ms ease, opacity 280ms ease;
}
.faq-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  top: 0; left: 50%;
  width: 1.5px; height: 100%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms cubic-bezier(.2,.8,.2,1),
              padding 380ms ease;
}
.faq-a p {
  padding: 0 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.faq-item[open] .faq-a {
  max-height: 400px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--ink);
  text-align: center;
  padding: 140px 0;
  color: var(--cream);
}
.final-title {
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 1.02;
  margin: 0 0 24px;
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.final-sub {
  font-size: 19px;
  color: rgba(251, 246, 232, 0.75);
  margin: 0 0 44px;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}
.final-secondary {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(251, 246, 232, 0.6);
}
.final-secondary a {
  color: var(--cream);
  border-bottom: 1px solid rgba(251, 246, 232, 0.4);
  padding-bottom: 1px;
}
.final-secondary a:hover { border-bottom-color: var(--cream); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--cream-deep);
  padding: 80px 0 32px;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}
.footer-logo { width: 130px; height: auto; margin-bottom: 16px; }
.footer-tag {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0;
}
.footer-head {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 200ms ease;
}
.footer-col ul a:hover { color: var(--navy); }
.footer-soon {
  font-size: 15px;
  color: var(--ink-mute);
}
.footer-soon small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--ink-mute);
}
.footer-bottom em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- FADE-UP (intersection observer) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(.2,.8,.2,1),
              transform 720ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-inner { gap: 48px; }
  .hero-visual { height: 560px; }
  .hero-card--realestate { width: 250px; }
  .hero-card--bar { width: 210px; top: 80px; }
  .hero-card--marine { width: 240px; left: 40px; }
  .compare-grid { gap: 56px; }
  .steps { gap: 40px; }
  .templates-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 968px) {
  .section { padding: 90px 0; }
  .container, .nav-inner, .hero-inner { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-cta { padding: 10px 18px; }
  .nav-logo img { width: 100px; }

  .hero { padding: 130px 0 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  /* Three cards stack cleanly on mobile/tablet */
  .hero-visual {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 8px 0;
  }
  .hero-card,
  .hero-card--realestate,
  .hero-card--bar,
  .hero-card--marine {
    position: relative;
    inset: auto;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    max-width: 360px;
    margin: 0;
    --card-rot: 0deg;
  }
  .hero-card:hover { transform: translateY(-4px); }

  .compare-grid { grid-template-columns: 1fr; gap: 56px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }

  .case-grid { grid-template-columns: 1fr; gap: 56px; }
  .case-quote-mark { font-size: 200px; top: -30px; left: -20px; }
  .case-card { margin: 0 auto; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-numbers {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 48px 36px;
  }
  .pricing-includes { padding: 48px 36px; }
  .pricing-fine { padding: 24px 36px 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .container, .nav-inner, .hero-inner { padding: 0 20px; }

  .display { font-size: clamp(48px, 13vw, 72px); }
  .section-title { font-size: clamp(34px, 8vw, 48px); }
  .lead, .section-sub { font-size: 17px; }

  .hero { padding: 110px 0 56px; }
  .hero-card,
  .hero-card--realestate,
  .hero-card--bar,
  .hero-card--marine { max-width: 320px; }
  .hero-card__price { font-size: 32px; }
  .hero-card__stats { gap: 14px; }
  .hero-card__stat strong { font-size: 16px; }

  .templates-grid { grid-template-columns: 1fr; gap: 16px; }

  .compare-title { font-size: 38px; }
  .step-title { font-size: 28px; }
  .step-num { font-size: 80px; }

  .case { padding: 90px 0; }
  .case-quote { font-size: 28px; }
  .case-card { max-width: 100%; }
  .case-quote-mark { font-size: 160px; top: -20px; left: -10px; }

  .pricing-amount { font-size: 60px; }
  .pricing-numbers, .pricing-includes { padding: 40px 28px; }
  .pricing-fine { padding: 20px 28px 28px; }

  .final-cta { padding: 90px 0; }
  .final-title { font-size: clamp(44px, 12vw, 72px); }

  .hero-ctas { gap: 12px; }
  .btn { padding: 16px 24px; font-size: 14px; }
  .btn-cream { padding: 18px 30px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Selection */
::selection { background: var(--navy); color: var(--cream); }

/* ===================================================
   INTAKE FORM PAGE
   =================================================== */
.intake-body { background: var(--cream); }
.nav--intake .nav-inner { justify-content: space-between; }
.intake-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: all 200ms ease;
  padding-bottom: 2px;
}
.intake-back:hover { color: var(--navy); border-bottom-color: var(--navy); }

.intake {
  padding: 116px 0 64px;
  position: relative;
  z-index: 2;
}

.intake-hero {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.intake-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--ink);
}
.intake-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  line-height: 1.6;
}

.intake-section {
  padding: 32px 0 16px;
  border-bottom: 1px solid var(--hairline);
}
.intake-section:last-of-type { border-bottom: 0; }

.intake-step {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
}
.intake-section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.intake-section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 60ch;
}

/* ---------- FIELDS ---------- */
.field {
  margin-bottom: 28px;
}
.field-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 0;
}
.field-grid--2 { grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.field-grid--3 { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 28px; }
.field-grid .field { margin-bottom: 0; }

.field label {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.req-mark {
  color: var(--navy);
  margin-left: 2px;
  font-weight: 700;
}
.field .hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 8px 0 0;
  line-height: 1.5;
}
.field .hint code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  background: var(--cream-deep);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Inputs / textareas / selects */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%231A1A1A' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.12);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
}

/* File inputs */
.field input[type="file"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  padding: 14px 16px;
  background: var(--paper);
  border: 1px dashed var(--hairline-2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 200ms ease;
}
.field input[type="file"]:hover {
  border-color: var(--navy);
  background: #fff;
}
.field input[type="file"]::file-selector-button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 200ms ease;
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--navy);
}
.file-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--navy);
  margin-top: 8px;
  font-weight: 500;
}

/* Affixed input (e.g. subdomain.rovoos.com) */
.input-affix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.input-affix:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.12);
  background: #fff;
}
.input-affix input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  flex: 1;
  min-width: 0;
}
.input-affix input:focus { box-shadow: none !important; }
.input-affix .affix {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink-mute);
  background: var(--cream-deep);
  border-left: 1px solid var(--hairline);
  white-space: nowrap;
}

/* Radios + checkboxes */
.radio-grid,
.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.check-grid {
  grid-template-columns: 1fr 1fr;
}
.check-grid--inline {
  grid-template-columns: 1fr 1fr;
}
.radio,
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 180ms ease;
  font-size: 15px;
  color: var(--ink);
  user-select: none;
}
.radio:hover,
.check:hover {
  border-color: var(--ink);
  background: #fff;
}
.radio input,
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.radio input:checked + span,
.check input:checked + span {
  font-weight: 600;
}
.radio:has(input:checked),
.check:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 1px var(--navy);
}
.check span em {
  font-style: normal;
  color: var(--ink-mute);
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}
.check.shake { animation: shake 0.36s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* Submit */
.intake-submit {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}
.btn-lg {
  padding: 22px 36px;
  font-size: 16px;
}
.submit-fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 60ch;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 768px) {
  .intake { padding: 120px 0 72px; }
  .intake-hero { margin-bottom: 56px; padding-bottom: 40px; }
  .intake-section { padding: 48px 0; }
  .field-grid--2,
  .field-grid--3 { grid-template-columns: 1fr; }
  .check-grid,
  .check-grid--inline,
  .radio-grid { grid-template-columns: 1fr; }
  .intake-back { font-size: 13px; }
}

/* ===================================================
   THANK YOU PAGE
   =================================================== */
.thanks-body { background: var(--cream); }

.thanks {
  min-height: 100vh;
  padding: 72px 24px 56px;
  display: block;
  position: relative;
  z-index: 2;
}
.thanks-inner {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Wordmark — small, anchored at top */
.thanks-logo {
  display: block;
  width: 140px;
  max-width: 50%;
  margin: 0 auto 56px;
  opacity: 0.95;
}
.thanks-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Animated success check */
.thanks-check {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
}
.thanks-check svg {
  display: block;
  width: 100%;
  height: 100%;
}
.thanks-check__ring {
  stroke: var(--sage);
  stroke-dasharray: 188;
  stroke-dashoffset: 188;
  animation: thanksDrawRing 700ms cubic-bezier(.5,.05,.25,1) 200ms forwards;
}
.thanks-check__mark {
  stroke: var(--sage);
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: thanksDrawCheck 360ms cubic-bezier(.5,.05,.25,1) 750ms forwards;
}
@keyframes thanksDrawRing { to { stroke-dashoffset: 0; } }
@keyframes thanksDrawCheck { to { stroke-dashoffset: 0; } }

/* Headline + lead */
.thanks-eyebrow { margin: 0 0 16px; }
.thanks-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--ink);
}
.thanks-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* What happens next — three numbered steps */
.thanks-steps {
  list-style: none;
  margin: 0 auto 56px;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  text-align: left;
  max-width: 480px;
}
.thanks-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.thanks-step:first-child { padding-top: 4px; }
.thanks-step:last-child { padding-bottom: 4px; border-bottom: 0; }
.thanks-step__num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--navy);
  min-width: 36px;
  line-height: 1;
  padding-top: 2px;
}
.thanks-step:nth-child(2) .thanks-step__num { color: var(--teal); }
.thanks-step:nth-child(3) .thanks-step__num { color: var(--sage); }
.thanks-step__body { flex: 1; }
.thanks-step__title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.4;
}
.thanks-step__meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.4;
}

/* Dual CTAs */
.thanks-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 0 56px;
  flex-wrap: wrap;
}

/* Sign-off */
.thanks-signoff { margin: 0; }
.thanks-signoff__rule {
  width: 32px;
  height: 1px;
  background: var(--hairline-2);
  margin: 0 auto 22px;
}
.thanks-signoff__text {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.thanks-signoff__text a {
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
}
.thanks-signoff__text a:hover { opacity: 0.7; }
.thanks-signoff__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0;
}

@media (max-width: 600px) {
  .thanks { padding: 56px 20px 40px; }
  .thanks-logo { width: 110px; margin-bottom: 40px; }
  .thanks-check { width: 64px; height: 64px; margin-bottom: 20px; }
  .thanks-lead { font-size: 16px; margin-bottom: 36px; }
  .thanks-steps { padding: 24px 22px; margin-bottom: 36px; }
  .thanks-step { gap: 14px; }
  .thanks-step__num { font-size: 20px; min-width: 30px; }
  .thanks-actions { gap: 12px; margin-bottom: 36px; }
}
