/* ============================================================
   A Box For Your Business · aboxforyourbusiness.com
   Direction: "The Box". By ElmsPark.
   Vanilla CSS. All visuals generative (CSS/SVG/gradient).
   ============================================================ */

:root {
  /* Kraft / cardboard tones */
  --kraft-900: #3b2a17;
  --kraft-700: #6b4f33;
  --kraft-600: #7a5a37;
  --kraft-500: #b58b58;
  --kraft-400: #c89f6e;
  --kraft-300: #d8b889;
  --kraft-200: #e7cfa6;
  --kraft-100: #f3e4cb;
  --kraft-050: #faf2e3;

  /* Paper / white */
  --paper: #fdfaf4;
  --white: #ffffff;

  /* Ink */
  --ink: #241c12;
  --ink-soft: #5a4d3c;
  --ink-faint: #8a7960;

  /* Accent: ElmsPark moss-green */
  --moss-900: #233027;
  --moss-700: #2f4135;
  --moss: #3a5140;
  --moss-500: #486a52;
  --moss-300: #7da085;
  --moss-100: #d6e3d8;

  /* Tape accent (warm, lifts off kraft) */
  --tape: #e8ddc4;

  /* Semantic */
  --bg: var(--paper);
  --accent: var(--moss);
  --accent-ink: #ffffff;

  --shadow-soft: 0 18px 40px -22px rgba(59, 42, 23, .55);
  --shadow-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 22px 48px -30px rgba(59, 42, 23, .5);

  --radius: 14px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: .8rem;
  --fs-body: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  --fs-lede: clamp(1.15rem, 1.05rem + .6vw, 1.42rem);
  --fs-h3: clamp(1.22rem, 1.1rem + .6vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
  --fs-h1: clamp(2.6rem, 1.7rem + 4.4vw, 5.1rem);
  --fs-promise: clamp(2.1rem, 1.3rem + 4vw, 4.4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.accent { color: var(--accent); }

/* ---------- Focus & skip ---------- */
:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--moss); color: #fff; padding: 12px 18px;
  border-radius: 10px; text-decoration: none; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --bd: transparent;
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -.01em;
  padding: .85em 1.5em; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--bd);
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: var(--moss); color: var(--accent-ink); --bd: var(--moss);
  box-shadow: 0 12px 26px -14px rgba(58,81,64,.85);
}
.btn-primary:hover { background: var(--moss-700); --bd: var(--moss-700); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink); --bd: var(--kraft-400);
}
.btn-ghost:hover { background: var(--kraft-100); --bd: var(--kraft-500); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Brand mark (mini box) ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.02em; color: var(--ink);
}
.brand-mark {
  position: relative; width: 30px; height: 26px; flex: none;
  background: linear-gradient(160deg, var(--kraft-300), var(--kraft-500));
  border-radius: 5px 5px 6px 6px;
  box-shadow: inset 0 -6px 10px -6px rgba(59,42,23,.5), 0 4px 10px -6px rgba(59,42,23,.6);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: linear-gradient(var(--kraft-200), var(--kraft-300));
  border-radius: 5px 5px 0 0;
}
.brand-flap {
  position: absolute; left: 50%; top: 2px; width: 2px; height: 8px;
  background: var(--moss); transform: translateX(-50%); z-index: 2; border-radius: 2px;
}
.brand-mark--sm { width: 26px; height: 22px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 244, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--kraft-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.8rem); }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .98rem;
  padding: .4rem .2rem; border-radius: 6px;
}
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--moss); color: #fff !important; padding: .55rem 1.1rem !important;
  border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--moss-700); }
.site-nav a:not(.nav-cta) { display: none; }
@media (min-width: 760px) { .site-nav a:not(.nav-cta) { display: inline-block; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(2.4rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  background:
    radial-gradient(120% 90% at 85% -10%, var(--kraft-100), transparent 60%),
    radial-gradient(90% 70% at -10% 110%, var(--moss-100), transparent 55%),
    var(--paper);
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--kraft-200);
  padding: .45rem .85rem; border-radius: 999px;
}
.eyebrow strong { font-weight: 700; letter-spacing: -.01em; text-transform: none; font-size: 1.02em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex: none; }

#hero-title {
  font-size: var(--fs-h1); font-weight: 700;
  margin: 1.2rem 0 0;
  letter-spacing: -.035em;
}
.lede {
  font-size: var(--fs-lede); color: var(--ink-soft);
  margin-top: 1.4rem; max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust {
  margin-top: 1.6rem; font-size: .92rem; color: var(--ink-faint);
  display: flex; align-items: center; gap: .6rem;
}
.hero-trust::before {
  content: ""; width: 26px; height: 2px; background: var(--kraft-400); flex: none; border-radius: 2px;
}

/* ---------- The stage ---------- */
.hero-stage {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(360px, 46vw, 500px);
  perspective: 1300px;
  perspective-origin: 50% 38%;
  /* Contain the symmetrically-lifted contents so they never push page
     width on the narrowest phones (~320px). No effect at 375px and up,
     where the open box and its items already fit inside the stage. */
  overflow-x: clip;
}
.stage-floor {
  position: absolute; left: 50%; bottom: 14%;
  width: 70%; height: 80px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,42,23,.30), transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

/* The box figure holds both contents + the 3D box */
.box-figure {
  position: relative; margin: 0;
  width: clamp(190px, 30vw, 250px);
  transform-style: preserve-3d;
  z-index: 2;
}

/* ---------- The box (inline SVG, fixed 3/4 projection) ----------
   Approach: one shared box body + two lid groups (closed / open) that
   cross-fade. SVG vertices are authored exactly, so the box reads as a
   coherent cuboid in BOTH states and the transition is smooth everywhere
   (no fragile multi-axis CSS-3D transform stack). */
.box-3d {
  position: relative;
  width: 100%;
  margin-inline: auto;
}
.box-svg {
  width: 100%; height: auto; overflow: visible;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(59,42,23,.28));
}

/* Front stamp lettering */
.box-stamp-svg {
  font-family: var(--font-display); font-weight: 600;
  font-size: 8.5px; letter-spacing: 1.8px;
  fill: rgba(255,255,255,.62);
}

/* Floor contact shadow softens slightly as the box opens */
.box-floor-shadow { transition: opacity .6s ease, transform .6s ease; }
.box-figure[data-state="open"] .box-floor-shadow { transform: scale(1.04); transform-origin: 180px 300px; }

/* Lid groups cross-fade between the two states */
.box-closed, .box-open {
  transition: opacity .55s cubic-bezier(.2,.8,.25,1);
  transform-box: fill-box;
}
/* default (closed): show the sealed top, hide the open mouth */
.box-closed { opacity: 1; }
.box-open   { opacity: 0; }

/* OPEN: reveal the mouth + folded flaps, hide the sealed top */
.box-figure[data-state="open"] .box-closed { opacity: 0; }
.box-figure[data-state="open"] .box-open   { opacity: 1; }

/* The four flaps animate from "shut against the top" to "folded out".
   We give each a hinge-origin and let it scale/rotate open with a stagger,
   layered under the opacity cross-fade so the unfold reads physically. */
.flap {
  transform-box: fill-box;
  transition: transform .65s cubic-bezier(.2,.85,.25,1);
}
/* start state: flaps collapsed toward the seam (lying flat / out of view) */
.flap--back  { transform-origin: 50% 100%; transform: scaleY(.04); }
.flap--front { transform-origin: 50% 0%;   transform: scaleY(.04); }
.flap--left  { transform-origin: 100% 50%; transform: scaleX(.04); }
.flap--right { transform-origin: 0% 50%;   transform: scaleX(.04); }

/* open: flaps spring out to full size, slightly staggered */
.box-figure[data-state="open"] .flap { transform: none; }
.box-figure[data-state="open"] .flap--back  { transition-delay: .04s; }
.box-figure[data-state="open"] .flap--left  { transition-delay: .12s; }
.box-figure[data-state="open"] .flap--right { transition-delay: .12s; }
.box-figure[data-state="open"] .flap--front { transition-delay: .20s; }

/* Tape lifts away as the box opens */
.box-tape { transition: opacity .35s ease; }
.box-figure[data-state="open"] .box-tape { opacity: 0; }

/* ---------- Contents lifting out ---------- */
.contents {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
  transform-style: preserve-3d;
}
.item {
  position: absolute; left: 50%; top: 24%;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  transform: translate(-50%, 30px) scale(.6);
  opacity: 0;
  transition:
    transform .7s cubic-bezier(.2,.9,.25,1.1),
    opacity .5s ease;
  transition-delay: 0ms;
}
.item-glyph {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--white);
  border: 1.5px solid var(--kraft-200);
  box-shadow: 0 14px 26px -16px rgba(59,42,23,.7);
  color: var(--moss);
}
.item-glyph svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.item-label {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  color: var(--ink); background: var(--white);
  padding: .18rem .6rem; border-radius: 999px; border: 1px solid var(--kraft-200);
  white-space: nowrap;
}

/* fan the five items out when open. Positions are art-directed. */
.box-figure[data-state="open"] .item { opacity: 1; }
.box-figure[data-state="open"] .item--site    { transform: translate(-50%, -224px) scale(1.04); transition-delay: .18s; }
.box-figure[data-state="open"] .item--plugins { transform: translate(-178px, -150px) scale(.96); transition-delay: .30s; }
.box-figure[data-state="open"] .item--hosting { transform: translate(86px, -158px) scale(.96); transition-delay: .42s; }
.box-figure[data-state="open"] .item--email   { transform: translate(-214px, -44px) scale(.9); transition-delay: .54s; }
.box-figure[data-state="open"] .item--support { transform: translate(128px, -52px) scale(.9); transition-delay: .66s; }

/* ---------- Stage controls ---------- */
.stage-controls { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 8; }
.box-toggle {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--kraft-300); border-radius: 999px;
  padding: .55rem 1.2rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, border-color .2s ease;
}
.box-toggle::before {
  content: ""; width: 9px; height: 9px; border-radius: 2px;
  background: var(--moss); transition: transform .3s ease;
}
.box-toggle:hover { transform: translateY(-2px); border-color: var(--moss); }
@media (prefers-reduced-motion: reduce) { .box-toggle:hover { transform: none; } }

/* ============================================================
   PROMISE
   ============================================================ */
.promise {
  background: var(--moss);
  color: #fff;
  padding: clamp(3.4rem, 8vw, 6.5rem) 0;
  position: relative; overflow: hidden;
}
.promise::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.promise-line {
  font-size: var(--fs-promise); font-weight: 600;
  max-width: 18ch; position: relative; letter-spacing: -.03em;
}
.promise-line .accent-line { color: var(--kraft-200); }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.kicker {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--moss);
  display: inline-flex; align-items: center; gap: .5rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--moss); border-radius: 2px; }
.kicker--light { color: var(--kraft-200); }
.kicker--light::before { background: var(--kraft-200); }
.section-head h2 { font-size: var(--fs-h2); margin: 1rem 0 0; }
.section-sub { color: var(--ink-soft); font-size: var(--fs-lede); margin-top: 1.1rem; max-width: 50ch; }

/* ============================================================
   WHAT'S INSIDE
   ============================================================ */
.inside { padding: clamp(3.6rem, 7vw, 6.5rem) 0; }
.inside-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .inside-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--kraft-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card::before {
  /* kraft tab in the corner */
  content: ""; position: absolute; top: 0; right: 0;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--kraft-200), var(--kraft-300));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(59,42,23,.6); border-color: var(--kraft-300); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card--wide { grid-column: 1 / -1; }
@media (min-width: 980px) {
  .card--wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 1.6rem; align-items: start; }
}

.card-no {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  color: var(--kraft-500); letter-spacing: .08em;
  position: relative; z-index: 1;
}
.card-glyph {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin: 1rem 0 1.1rem;
  border-radius: 13px;
  background: var(--moss-100); color: var(--moss);
}
.card-glyph svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.card--wide .card-glyph { margin-top: 1rem; grid-row: 1 / 4; }
.card--wide .card-no { grid-column: 2; }
.card--wide h3, .card--wide p { grid-column: 2; }
.card p { color: var(--ink-soft); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: clamp(3.6rem, 7vw, 6.5rem) 0;
  background: var(--kraft-050);
  border-block: 1px solid var(--kraft-100);
}
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--kraft-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}
.step-no {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--moss); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px -12px rgba(58,81,64,.9);
}
/* dotted connector between steps on desktop */
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: calc(clamp(1.6rem, 3vw, 2.2rem) + 23px);
    right: -1px; width: clamp(1.4rem, 3vw, 2.2rem);
    height: 0; border-top: 3px dotted var(--kraft-400);
    transform: translateX(100%);
  }
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.step p { color: var(--ink-soft); }
@media (min-width: 860px) { .step--mid { transform: translateY(18px); } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: clamp(3.6rem, 7vw, 6.5rem) 0; }
.pricing-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1.1fr .9fr; } }
.pricing-copy h2 { font-size: var(--fs-h2); margin: 1rem 0; }
.pricing-points {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; gap: .8rem;
}
.pricing-points li {
  position: relative; padding-left: 2rem; color: var(--ink-soft);
}
.pricing-points li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--moss-100);
  border: 1.5px solid var(--moss);
}
.pricing-points li::after {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 5px; height: 9px;
  border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss);
  transform: rotate(40deg);
}

.price-tag {
  position: relative;
  background: var(--white);
  border: 1px solid var(--kraft-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 30px 60px -36px rgba(59,42,23,.6);
}
/* punched hole, like a parcel tag */
.price-tag::before {
  content: ""; position: absolute; top: 18px; left: 22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--kraft-300);
}
.price-label { font-family: var(--font-display); font-weight: 600; color: var(--ink-faint); letter-spacing: .04em; padding-left: 1.6rem; }
.price-figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 2rem + 4vw, 4.2rem); line-height: 1;
  color: var(--ink); margin: .4rem 0 .2rem;
  letter-spacing: -.04em;
}
.price-from {
  display: block; font-size: .9rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--moss); margin-bottom: .2rem;
}
.price-then { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.price-note { color: var(--ink-faint); font-size: .92rem; margin: .8rem 0 1.4rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--moss-900);
  color: #fff;
  padding: clamp(3.6rem, 8vw, 7rem) 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(125,160,133,.22), transparent 55%),
    radial-gradient(80% 130% at 100% 100%, rgba(200,159,110,.16), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 760px; }
#cta-title { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 3rem); margin: 1rem 0; max-width: 20ch; }
.cta-sub { color: rgba(255,255,255,.82); font-size: var(--fs-lede); max-width: 48ch; }

.cta-form {
  margin-top: 2.4rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
@media (min-width: 620px) { .cta-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.cta-form label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: rgba(255,255,255,.9); }
.cta-form input {
  font-family: var(--font-body); font-size: 1rem;
  padding: .85rem 1rem; border-radius: 11px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.95); color: var(--ink);
}
.cta-form input::placeholder { color: var(--ink-faint); }
.cta-form input:focus-visible { outline: 3px solid var(--kraft-300); outline-offset: 2px; }
.cta-form .btn-block { grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1; min-height: 1.2em; font-size: .95rem; font-weight: 500;
  color: var(--kraft-200);
}
.form-status.is-error { color: #ffc7b0; }
.form-fineprint { grid-column: 1 / -1; font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--kraft-050);
  border-top: 1px solid var(--kraft-100);
  padding: clamp(2.6rem, 5vw, 4rem) 0 2.4rem;
}
.footer-inner { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr auto; align-items: start; column-gap: 3rem; } }
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; max-width: 56ch; }
.footer-brand p { color: var(--ink-soft); font-size: .98rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-nav a:hover { color: var(--moss); }
.footer-legal {
  grid-column: 1 / -1; margin-top: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--kraft-100);
  color: var(--ink-faint); font-size: .88rem;
}

/* ============================================================
   MOTION GATING
   JS adds .motion-ready to <html> only when motion is allowed.
   Reduced-motion users get a static, legible layout (no animation).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .flap, .item, .box-tape, .box-closed, .box-open, .box-floor-shadow, .card, .btn {
    transition: none !important;
  }
  /* Reduced-motion users land on the OPEN box (set by JS) with no animation:
     flaps shown at full size, the open mouth visible, no cross-fade. */
  .flap { transform: none !important; }
  /* Show contents statically, in a clear grid above the box */
  .contents {
    position: static; display: grid; grid-template-columns: repeat(5, auto);
    justify-content: center; align-items: end; gap: clamp(.6rem, 2vw, 1.2rem);
    margin: 0 0 1.6rem; pointer-events: auto;
  }
  .item {
    position: static; opacity: 1; transform: none;
    flex-direction: column;
  }
  .hero-stage { min-height: auto; gap: 1rem; }
}

/* ---- Photographic kraft box (renders), cross-fade on state ---- */
.box-3d { aspect-ratio: 1 / 1; }
.box-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
  filter: drop-shadow(0 26px 24px rgba(59,42,23,.20));
  transition: opacity .55s cubic-bezier(.2,.8,.25,1);
}
.box-photo--open { opacity: 0; }
.box-figure[data-state="open"] .box-photo--closed { opacity: 0; }
.box-figure[data-state="open"] .box-photo--open { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .box-photo { transition: none; } }
