/* ==========================================================================
   Picture It Tour
   --------------------------------------------------------------------------
   The 3D here is real CSS 3D — perspective, preserve-3d, translateZ — driven
   by scroll position. No WebGL, no libraries, nothing to download. Everything
   animates on transform/opacity only so it stays on the compositor, and the
   whole system collapses to plain static layout under prefers-reduced-motion.
   ========================================================================== */

:root {
  /* Surfaces — cool architectural neutrals, because the new photography is
     bright, white-walled and modern rather than warm stucco. */
  --paper:       #FBFAF9;
  --paper-sunk:  #F1EFEC;
  --card:        #FFFFFF;
  --ink:         #14100E;
  --ink-2:       #4A4441;
  --ink-3:       #837B76;

  /* Accent — deep walnut, pulled from the cabinetry and front door */
  --accent:      #8A5A34;
  --accent-deep: #6B4526;
  --accent-lift: #B98A5E;
  --accent-wash: #F6EEE7;

  --line:      rgba(20, 16, 14, 0.11);
  --line-soft: rgba(20, 16, 14, 0.06);

  /* Validation. Kept clearly separate from the walnut accent so an error can
     never be mistaken for a highlight. */
  --err:       #B92E20;
  --err-wash:  #FDF3F1;

  --shadow-sm: 0 1px 2px rgba(20,16,14,.05), 0 2px 8px rgba(20,16,14,.04);
  --shadow-md: 0 2px 6px rgba(20,16,14,.05), 0 14px 36px rgba(20,16,14,.09);
  --shadow-lg: 0 4px 10px rgba(20,16,14,.05), 0 30px 70px rgba(20,16,14,.14);
  --shadow-3d: 0 30px 60px -20px rgba(20,16,14,.35);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wide:   1280px;

  --radius:    14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Global perspective origin for scroll-driven 3D. */
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; z-index: 300; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ------------------------------------------------------------- helpers -- */

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 680px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}

.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; text-wrap: balance; }

.lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); line-height: 1.55;
  color: var(--ink-2); max-width: 56ch;
}

/* --------------------------------------------------------------- button -- */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  letter-spacing: -0.005em; padding: .9rem 1.6rem;
  border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
  transform-style: preserve-3d;
}
.btn:hover { transform: translateY(-2px) translateZ(6px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20,16,14,.03); }

.btn--light {
  background: rgba(255,255,255,.13); color: #fff;
  border-color: rgba(255,255,255,.38); backdrop-filter: blur(10px);
}
.btn--light:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.65); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ nav -- */

.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.nav[data-stuck="true"] {
  background: rgba(251,250,249,.85);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 76px; }

.brand {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
  color: #fff; transition: color .3s; line-height: 1.1;
}
.nav[data-stuck="true"] .brand { color: var(--ink); }
.brand em { font-style: italic; font-variation-settings: "SOFT" 40, "WONK" 1; color: var(--accent-lift); }
.nav[data-stuck="true"] .brand em { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  color: rgba(255,255,255,.85); transition: color .2s;
}
.nav[data-stuck="true"] .nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: #fff; }
.nav[data-stuck="true"] .nav__links a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav__links { display: none; } }

@media (max-width: 560px) {
  .nav__cta-rest { display: none; }
  .nav__cta { padding: .7rem 1.15rem; font-size: .875rem; }
}

/* ----------------------------------------------------------------- hero --
   Three depth planes: video (far), scrim, copy (near). On scroll the copy
   lifts and recedes slightly while the video drifts the other way, which
   reads as real depth rather than a flat fade. */

.hero {
  position: relative;
  margin-top: -76px; padding-top: 76px;
  min-height: min(96vh, 940px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #17130F;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}
.hero__media {
  position: absolute; inset: -6% 0;
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,11,9,.62) 0%, rgba(14,11,9,.14) 30%,
    rgba(14,11,9,.44) 66%, rgba(14,11,9,.90) 100%);
}
.hero__inner {
  position: relative; width: 100%; color: #fff;
  padding-block: clamp(3rem, 8vw, 6rem);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  max-width: 13ch; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  color: var(--accent-lift);
}
.hero__sub {
  margin-top: 1.5rem; max-width: 44ch;
  font-size: clamp(1.0625rem, 1.9vw, 1.375rem); line-height: 1.5;
  color: rgba(255,255,255,.92); text-shadow: 0 1px 24px rgba(0,0,0,.4);
}
.hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .875rem; }

.hero__meta {
  margin: 3.25rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  font-size: .875rem; color: rgba(255,255,255,.8);
}
.hero__meta dt, .hero__meta dd { margin: 0; }
.hero__meta strong {
  display: block; font-family: var(--serif); font-size: 1.5rem;
  font-weight: 600; color: #fff; letter-spacing: -.02em; margin-bottom: .1rem;
}

.hero__badge {
  position: absolute; right: var(--gutter); top: calc(76px + 1.5rem);
  z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 100px;
  background: rgba(20,16,14,.42); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .75rem; letter-spacing: .04em; color: rgba(255,255,255,.9);
}
.hero__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-lift);
}
@media (max-width: 640px) { .hero__badge { display: none; } }

/* -------------------------------------------------------------- process --
   Numbered steps that rotate up into place as they enter the viewport. */

.process__head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  counter-reset: step;
  perspective: 1400px;
}
.step {
  position: relative; padding-top: 2.5rem;
  border-top: 1.5px solid var(--ink);
  counter-increment: step;
  transform-style: preserve-3d;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 1rem; left: 0;
  font-family: var(--serif); font-size: .8125rem; font-weight: 600;
  color: var(--accent); letter-spacing: .06em;
}
.step h3 { font-size: 1.5rem; margin: 1.5rem 0 .75rem; }
.step p { color: var(--ink-2); font-size: .9875rem; }
.step p + p { margin-top: .75rem; }

/* --------------------------------------------------------------- sample --
   "From this → to this": the source photos sit on a tilted 3D plane that
   straightens as you scroll, then hands off to the finished video. */

.sample { background: var(--paper-sunk); }
.sample__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.stage { perspective: 1600px; perspective-origin: 50% 30%; }

.fromto {
  display: grid;
  grid-template-columns: minmax(0, .82fr) auto minmax(0, 1.18fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}
@media (max-width: 1000px) {
  .fromto { grid-template-columns: 1fr; gap: 2rem; }
}

.fromto__label {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem;
}

/* the fanned stack of source photos */
.deck {
  position: relative;
  aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  will-change: transform;
}
.deck figure {
  position: absolute; inset: 0; margin: 0;
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.deck img { width: 100%; height: 100%; object-fit: cover; }

/* Each card sits at its own depth and offset. Rotations are small on purpose;
   large ones make the photographs unreadable. */
.deck figure:nth-child(1) { transform: translate3d(0,0,0) rotate(-1deg); z-index: 5; }
.deck figure:nth-child(2) { transform: translate3d(4%, -4%, -40px) rotate(3deg); z-index: 4; }
.deck figure:nth-child(3) { transform: translate3d(-5%, 3%, -80px) rotate(-4deg); z-index: 3; }
.deck figure:nth-child(4) { transform: translate3d(7%, 6%, -120px) rotate(5deg); z-index: 2; }
.deck figure:nth-child(5) { transform: translate3d(-3%, -7%, -160px) rotate(-2deg); z-index: 1; }

/* Spread on hover (pointer) or tap (touch — .is-spread is toggled in main.js,
   since there is no hover on a phone). */
.deck:hover figure:nth-child(1),
.deck.is-spread figure:nth-child(1) { transform: translate3d(-2%,1%,20px) rotate(-2deg); }
.deck:hover figure:nth-child(2),
.deck.is-spread figure:nth-child(2) { transform: translate3d(9%, -7%, -30px) rotate(5deg); }
.deck:hover figure:nth-child(3),
.deck.is-spread figure:nth-child(3) { transform: translate3d(-11%, 5%, -70px) rotate(-7deg); }
.deck:hover figure:nth-child(4),
.deck.is-spread figure:nth-child(4) { transform: translate3d(13%, 10%, -110px) rotate(8deg); }
.deck:hover figure:nth-child(5),
.deck.is-spread figure:nth-child(5) { transform: translate3d(-8%, -12%, -150px) rotate(-5deg); }

.deck { cursor: pointer; }

/* On a narrow screen the fanned cards reach past the viewport edge (measured
   ~5px at 375px wide). The body clips it, but relying on that is fragile —
   mobile browsers disagree about body overflow-x. Shrinking the deck slightly
   gives the fan room to exist inside the page instead. */
@media (max-width: 640px) {
  .deck { transform: scale(.9); }
}

.fromto__arrow {
  display: grid; place-items: center;
  color: var(--ink-3);
}
.fromto__arrow svg { width: 40px; height: 40px; }
@media (max-width: 1000px) {
  .fromto__arrow { transform: rotate(90deg); }
}

/* the finished video, floating slightly toward the viewer */
.player {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #14100E; box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  transform-style: preserve-3d;
  will-change: transform;
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__poster, .player__play { transition: opacity .45s ease; }
.player[data-playing="true"] .player__poster,
.player[data-playing="true"] .player__play { opacity: 0; pointer-events: none; }

.player__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(14,11,9,.14), rgba(14,11,9,.46));
  color: #fff; font-family: var(--sans);
}
.player__disc {
  width: clamp(62px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.17); border: 1.5px solid rgba(255,255,255,.7);
  backdrop-filter: blur(12px); display: grid; place-items: center;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s;
}
.player__play:hover .player__disc {
  transform: scale(1.08); background: var(--accent); border-color: var(--accent);
}
.player__label {
  position: absolute; left: clamp(1.25rem,3vw,1.75rem); bottom: clamp(1.25rem,3vw,1.75rem);
  text-align: left; text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.player__label b { display: block; font-family: var(--serif); font-size: clamp(1.05rem,1.8vw,1.35rem); font-weight: 600; }
.player__label span { font-size: .8125rem; opacity: .86; }

.sample__caption {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  font-size: .875rem; color: var(--ink-3);
}

/* full source strip */
.source { margin-top: clamp(3.5rem, 7vw, 5rem); }
.source__label { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.source__label h3 { font-size: 1.3125rem; }
.source__label p { font-size: .9375rem; color: var(--ink-3); }

.strip {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 22vw, 250px);
  gap: 1rem; overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  perspective: 1000px;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.strip figure { margin: 0; scroll-snap-align: start; transform-style: preserve-3d; }
.strip img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.strip figure:hover img {
  transform: translateZ(30px) rotateY(-4deg);
  box-shadow: var(--shadow-md);
}
.strip figcaption {
  margin-top: .6rem; font-size: .75rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-3);
}

/* -------------------------------------------------------------- pricing -- */

.pricing__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* launch discount banner */
.launch {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--accent-wash);
  border: 1px solid rgba(138,90,52,.22);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: .9375rem; color: var(--ink-2);
}
.launch__tag {
  flex: none;
  background: var(--accent); color: #fff;
  font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 100px;
}
.launch b { color: var(--ink); }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  perspective: 1800px;
}

/* struck-through original price */
.tier__was {
  display: block;
  font-family: var(--sans);
  font-size: .9375rem; font-weight: 500;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  letter-spacing: 0;
  margin-bottom: .15rem;
}
.tier__save { color: var(--accent); font-weight: 600; }
.tier__foot {
  margin-top: .75rem;
  font-size: .75rem; line-height: 1.5; color: var(--ink-3); text-align: center;
}
.tier__foot a { color: var(--accent); }

/* coming soon */
.tier__flag--soon { background: var(--ink-3); }
.tier--soon { opacity: .82; }
.tier--soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.tier--soon .tier__price { color: var(--ink-3); }

.btn--soon {
  background: transparent;
  color: var(--ink-3);
  border-color: var(--line);
  border-style: dashed;
  cursor: not-allowed;
}
.btn--soon:hover { transform: none; background: transparent; border-color: var(--line); }
.btn[disabled] { pointer-events: none; }

/* add-on cards are buy links now, so they need affordance */
a.addon { text-decoration: none; color: inherit; }
a.addon:hover b { color: var(--accent); }

.bundle__note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(251,250,249,.16);
  font-size: .875rem;
  color: rgba(255,255,255,.62);
}

.tier {
  position: relative;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.6vw, 2rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.tier:hover {
  transform: translateY(-6px) rotateX(4deg) translateZ(24px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}
.tier[data-featured] { border-color: var(--accent); }
.tier__flag {
  position: absolute; top: -11px; left: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--accent); color: #fff;
  font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 100px;
}
.tier h3 { font-size: 1.375rem; margin-bottom: .4rem; }
.tier__blurb { font-size: .875rem; color: var(--ink-3); min-height: 2.6em; }
.tier__price {
  font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 2.875rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  margin: 1.25rem 0 .25rem;
}
.tier__price sup { font-size: .42em; top: -.75em; position: relative; font-weight: 500; }
.tier__unit { font-size: .8125rem; color: var(--ink-3); }
.tier ul {
  list-style: none; margin: 1.5rem 0 1.75rem; padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-soft); display: grid; gap: .6rem;
  font-size: .875rem; color: var(--ink-2); flex: 1;
}
.tier ul li { display: grid; grid-template-columns: 16px 1fr; gap: .65rem; align-items: start; }
.tier ul svg { margin-top: 4px; color: var(--accent); }

/* add-on packages */
.addons { margin-top: clamp(3rem, 6vw, 4.5rem); }
.addons__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.addons__head h3 { font-size: 1.5rem; }
.addons__head p { font-size: .875rem; color: var(--ink-3); }

.addon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px,100%), 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.addon {
  background: var(--card); padding: 1.4rem 1.5rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  transition: background-color .25s;
}
.addon:hover { background: var(--accent-wash); }
.addon b { font-weight: 600; font-size: .9375rem; }
.addon span { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--accent); }

/* bundle discount callout */
.bundle {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
  transform-style: preserve-3d;
}
.bundle h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 18ch; }
.bundle p { color: rgba(255,255,255,.7); font-size: .9375rem; margin-top: .6rem; max-width: 44ch; }
.bundle__fig {
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); font-weight: 600;
  line-height: 1; letter-spacing: -.03em; color: var(--accent-lift);
}
.bundle__fig small { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .5rem; }

/* --------------------------------------------------------------- limits -- */

.limits { background: var(--ink); color: var(--paper); }
.limits h2 { color: #fff; }
.limits .lede { color: rgba(251,250,249,.72); }
.limits .eyebrow { color: var(--accent-lift); }

.limits__grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr));
  gap: 1px; background: rgba(251,250,249,.14);
  border: 1px solid rgba(251,250,249,.14); border-radius: var(--radius); overflow: hidden;
}
.limits__cell { background: var(--ink); padding: clamp(1.5rem, 3vw, 2rem); }
.limits__cell h3 { font-size: 1.125rem; color: #fff; margin-bottom: .6rem; }
.limits__cell p { font-size: .9375rem; color: rgba(251,250,249,.66); }

/* ------------------------------------------------------------ revisions -- */

.revise { background: var(--accent-wash); }
.revise__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
@media (max-width: 940px) { .revise__grid { grid-template-columns: 1fr; } }

.revise__aside h2 { margin-bottom: 1.25rem; }
.revise__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.15rem; }
.revise__list li { font-size: .9375rem; color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.revise__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------------------------------------------------------------- forms -- */

.form { display: grid; gap: 1.125rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.field .hint { font-size: .75rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .9375rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138,90,52,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #B9B0A9; }

.field--code input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .16em; text-transform: uppercase; font-size: 1rem;
}

.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .8125rem; color: var(--ink-2); line-height: 1.5; }
.form__consent input { margin-top: .2rem; accent-color: var(--accent); flex: none; width: 16px; height: 16px; }

/* ------------------------------------------------- required + validation -- */

.req { color: var(--err); font-weight: 700; margin-left: .1em; }
/* The listing-rights star only applies once a listing URL is present. */
.req--conditional { display: none; }
.form.is-listing .req--conditional { display: inline; }

.field__err {
  display: none;
  font-size: .78rem; line-height: 1.45; color: var(--err);
  margin-top: .1rem;
}
.field__err.is-shown { display: block; }

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: var(--err);
  background: var(--err-wash);
}
.field.is-error input:focus,
.field.is-error select:focus,
.field.is-error textarea:focus {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(185, 46, 32, .16);
}

.form__consent.is-error { color: var(--err); }
.form__consent.is-error input { outline: 2px solid var(--err); outline-offset: 2px; }

.form__legal { font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
.form__legal a { color: var(--accent); }

.form__reassure {
  font-size: .78rem; line-height: 1.55; color: var(--ink-3);
  text-align: center; max-width: 46ch; margin-inline: auto;
}

/* ------------------------------------------------------------- address -- */

.addr { border: 0; padding: 0; margin: 0; display: grid; gap: 1.125rem; min-width: 0; }
.addr legend {
  padding: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink); margin-bottom: -.25rem;
}
.addr__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, .9fr) minmax(0, 1fr);
  gap: 1.125rem;
}
@media (max-width: 560px) {
  .addr__row { grid-template-columns: 1fr 1fr; }
  .addr__row .field:first-child { grid-column: 1 / -1; }
}

.form__status { font-size: .875rem; padding: .875rem 1rem; border-radius: 10px; display: none; }
.form__status[data-state="ok"]   { display: block; background: #E7F3EC; color: #1E5735; border: 1px solid #BFDFCC; }
.form__status[data-state="err"]  { display: block; background: #FBEAE7; color: #7A2B1B; border: 1px solid #EFC7BE; }
.form__status[data-state="busy"] { display: block; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }

/* --------------------------------------------------------------- intake -- */

.intake__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 940px) { .intake__grid { grid-template-columns: 1fr; } }
.intake__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.15rem; }
.intake__list li { font-size: .9375rem; color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.intake__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ------------------------------------------------------------------ faq -- */

.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 940px) { .faq__grid { grid-template-columns: 1fr; } }

details { border-top: 1px solid var(--line-soft); padding: 1.375rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line-soft); }
summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.008em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: 7px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg); }
details p { margin-top: .875rem; color: var(--ink-2); font-size: .9875rem; max-width: 64ch; }
details p + p { margin-top: .75rem; }

/* --------------------------------------------------------------- footer -- */

.footer { background: var(--ink); color: rgba(251,250,249,.6); padding-block: clamp(3rem, 6vw, 4.5rem); font-size: .875rem; }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: var(--paper); font-size: 1.25rem; }
.footer .brand em { color: var(--accent-lift); }
.footer__links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer a { color: rgba(251,250,249,.72); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(251,250,249,.14);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: .8125rem; color: rgba(251,250,249,.45);
}
.footer__disclosure { max-width: 64ch; line-height: 1.6; }

/* ===================================================== scroll-driven 3D ==
   Elements start pushed back and rotated on X, then settle to flat as they
   enter the viewport. IntersectionObserver adds .is-in (see main.js). */

[data-reveal] {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 26px, -60px) rotateX(7deg);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transform-origin: 50% 100%;
}
[data-reveal].is-in {
  opacity: 1;
  transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg);
}

/* A softer variant for large media, which looks wrong with much rotation. */
[data-reveal="soft"] {
  transform: perspective(1400px) translate3d(0, 20px, -30px) rotateX(3deg);
}

/* ------------------------------------------------- motion & data safety -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .deck figure { transform: none !important; position: relative; margin-bottom: .5rem; }
  .deck { aspect-ratio: auto; }
  .deck figure:nth-child(n+2) { display: none; }
  .tier:hover, .btn:hover { transform: none; }
  .hero__media { position: absolute; inset: 0; height: 100%; }
}

/* ---------------------------------------------------------------- legal -- */

.legal-nav { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.legal-nav .brand { color: var(--ink); }
.legal-nav .brand em { color: var(--accent); }

.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal .measure { max-width: 74ch; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.5rem; margin-top: 3rem; margin-bottom: .875rem; }
.legal h3 { font-size: 1.125rem; font-family: var(--sans); font-weight: 700; margin-top: 1.75rem; margin-bottom: .5rem; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal__meta { font-size: .875rem; color: var(--ink-3); margin-bottom: 2.5rem; }
.legal__callout {
  background: var(--accent-wash); border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem; border-radius: 0 10px 10px 0; margin-top: 1.5rem;
}
.legal__callout p { color: var(--ink); font-size: .9375rem; }
