@font-face {
  font-family: "HW Cigars";
  src: url("assets/fonts/hw-cigars-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Walter Neue";
  src: url("assets/fonts/abc-walter-neue-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FAF7ED;
  --paper-2: #FFFDF6;
  --ink: #1E1414;
  --brown: #664A42;
  --muted: #7A5F55;
  --rule: rgba(102, 74, 66, 0.2);
  --rule-strong: rgba(102, 74, 66, 0.38);
  --forest: #0C310A;
  --forest-ink: #FFFDF6;
  --forest-muted: #CFD9C0;
  --rule-on-forest: rgba(255, 253, 246, 0.2);
  --moss: #4C6A27;
  --clay: #8A4B2E;
  --sap: #57772E;
  --cream: #FFFDF6;
  --meadow: #D5E798;
  --pine: #0C310A;
  --drawing-blend: multiply;
  --shadow: 0 18px 40px -24px rgba(60, 38, 30, 0.35);

  --display: "HW Cigars", "Iowan Old Style", Georgia, serif;
  --sans: "ABC Walter Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 24px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
::selection { background: var(--forest); color: var(--forest-ink); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--rule-strong) var(--paper); }

.display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
.icon { width: 1em; height: 1em; flex: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  background: var(--forest); color: var(--forest-ink); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* Primary CTA: Sap pill plus arrow circle; a Meadow scribble draws through the pill on hover,
   then the fill lands. Transitions only, so un-hover plays the same path in reverse. */
.cta {
  display: inline-flex; align-items: stretch;
  border: 0; padding: 0; outline: 0; background: transparent;
  font: inherit; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cta__label, .cta__icon {
  background-color: var(--sap); border: 0; color: var(--cream);
  transition: background-color 0.15s ease, color 0.25s ease;
}
.cta__label {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 22px 0 26px;
  border-radius: 120px;
  font-size: 1rem; line-height: 1; white-space: nowrap;
}
.cta--plain .cta__label { padding: 0 24px; }
.cta__icon {
  flex: 0 0 46px; width: 46px; height: 46px; aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.cta__arrow { grid-area: 1 / 1; position: relative; z-index: 2; width: 18px; height: 18px; transition: transform 0.2s var(--ease-out) 0.15s; }
/* The tilted arrow waits off-circle at the bottom left until hover. */
.cta__arrow--in { transform: translate(-30px, 30px) rotate(-45deg); transition: transform 0.15s ease-in; }
/* One scribble across pill and circle: both copies span the whole button and end at its right edge,
   so the line runs through the pill and finishes in the circle. --cta-w is set by main.js. */
.cta:has(.cta__icon) .cta__label .cta__scribble { left: auto; right: -46px; width: var(--cta-w, calc(100% + 46px)); }
.cta__icon .cta__scribble { left: auto; right: 0; width: var(--cta-w, 100%); }
.cta__scribble {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.cta__scribble path { stroke: var(--meadow); stroke-dashoffset: 1000; transition: stroke-dashoffset 0.5625s ease; }
.cta__text { position: relative; z-index: 2; }
.cta:hover .cta__label, .cta:hover .cta__icon,
.cta:focus-visible .cta__label, .cta:focus-visible .cta__icon {
  background-color: var(--meadow); color: var(--pine);
  transition: color 0.15s ease 0.15s, background-color 0.2s ease 0.65s;
}
.cta:hover .cta__arrow:not(.cta__arrow--in), .cta:focus-visible .cta__arrow:not(.cta__arrow--in) { transform: translateX(34px); transition: transform 0.16s ease-in 0.3s; }
.cta:hover .cta__arrow--in, .cta:focus-visible .cta__arrow--in { transform: rotate(-45deg); transition: transform 0.22s var(--ease-out) 0.5s; }
.cta:hover .cta__scribble path, .cta:focus-visible .cta__scribble path { stroke-dashoffset: 0; }
/* Forest CTA for the free Space Planner: darker than Get started, same scribble hover. */
.cta--forest .cta__label, .cta--forest .cta__icon { background-color: var(--forest); color: var(--cream); }
/* Light CTA for meadow grounds: cream at rest, a sap scribble, then sap fill with cream text. */
.cta--light .cta__label, .cta--light .cta__icon { background-color: var(--cream); color: var(--pine); }
.cta--light .cta__scribble path { stroke: var(--sap); }
.cta--light:hover .cta__label, .cta--light:hover .cta__icon,
.cta--light:focus-visible .cta__label, .cta--light:focus-visible .cta__icon { background-color: var(--sap); color: var(--cream); }
.cta:focus-visible .cta__label, .cta:focus-visible .cta__icon { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--moss); }
@media (prefers-reduced-motion: reduce) {
  .cta__scribble { display: none; }
  .cta__arrow--in { display: none; }
  .cta:hover .cta__arrow:not(.cta__arrow--in) { transform: none; }
  .cta__label, .cta__icon, .cta__arrow,
  .cta:hover .cta__label, .cta:hover .cta__icon, .cta:hover .cta__arrow { transition-duration: 0.01s; transition-delay: 0s; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 200ms;
}
.link-arrow .icon { transition: transform 300ms var(--ease-out); }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--forest-ink); text-decoration-color: rgba(255, 253, 246, 0.4); }

.free {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: 0.8125rem; line-height: 1;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--moss); color: var(--moss);
  letter-spacing: 0;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__mark { width: 74px; height: 22px; align-self: center; }
.brand__word { font-family: var(--display); font-size: 1.75rem; line-height: 1; letter-spacing: -0.01em; transform: translateY(2px); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 0.9375rem; }
.nav__links a { text-decoration: none; color: var(--brown); }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); }
.nav__login { font-size: 0.9375rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__login:hover { text-decoration: underline; text-decoration-color: var(--rule-strong); }
.nav .cta { margin-left: 4px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 14px; }
  .nav__login { margin-left: auto; }
}

/* Hero */
.hero {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding: clamp(16px, 3vh, 40px) 0 0 var(--edge);
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 4vw, 72px);
}
.hero__copy {
  align-self: center;
  padding: clamp(24px, 6vh, 72px) 0;
  max-width: 34rem;
}
.hero__title { font-size: clamp(2.75rem, 1.4rem + 3.4vw, 4.75rem); line-height: 1.0; }
.hero__lede { margin-top: 24px; font-size: 1.1875rem; max-width: 30ch; color: var(--brown); }
.hero__offer { margin-top: 28px; font-size: 1.1875rem; color: var(--ink); }
.hero__offer strong { font-weight: 400; color: var(--sap); }
.hero__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__media {
  grid-row: 1; grid-column: 2;
  position: relative;
  min-height: 420px;
  --hero-r: var(--radius) 0 0 var(--radius);
  border-radius: var(--hero-r);
  overflow: hidden;
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }


@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr; grid-template-rows: auto auto;
    padding: 8px var(--gutter) 0; min-height: 0;
  }
  .hero__copy { padding: 24px 0 32px; }
  .hero__media { grid-row: auto; grid-column: 1; aspect-ratio: 4 / 3; min-height: 0; --hero-r: var(--radius); }
}

/* Path */
.path { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.path__head h2 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); max-width: 16em; }
@media (max-width: 900px) { .br-wide { display: none; } }
.path__head p { margin-top: 24px; font-size: 1.1875rem; max-width: 52ch; }
.path__grid {
  margin-top: clamp(56px, 8vh, 96px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 112px);
  --q-size: clamp(2rem, 1rem + 2.4vw, 3.25rem);
  --q-gap: 28px;
  --stage-h: min(calc(100dvh - var(--nav-h) - 64px), 760px);
}
.path__stage { position: relative; }
.stage {
  /* The question and photo sit as one group, centred in the viewport below the nav. */
  --img-h: calc((var(--stage-h) - var(--q-size) * 2.1 - var(--q-gap)) * 0.85);
  position: sticky; top: calc(var(--nav-h) + (100dvh - var(--nav-h) - var(--stage-h)) / 2);
  height: var(--stage-h);
}
.stage__slide {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto auto; align-content: center; gap: var(--q-gap);
  opacity: 0; visibility: hidden;
  transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms;
}
.stage__slide.is-active { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease-out), visibility 0s; }
/* Photo is 85% wide; offset the group by half the leftover so it sits centred in its column. */
.stage__q, .stage__slide img { margin-left: 7.5%; }
.stage__q { font-size: var(--q-size); line-height: 1.04; min-height: 2.1em; }
.stage__slide img {
  width: 85%; height: var(--img-h); min-height: 0; object-fit: cover; border-radius: var(--radius);
  transform: scale(1.03); transition: transform 1200ms var(--ease-out);
}
.stage__slide.is-active img { transform: scale(1); }

.path__tools { display: flex; flex-direction: column; }
.tool {
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.tool:first-child { border-top: 0; padding-top: 0; min-height: 70vh; justify-content: flex-start; }
@media (min-width: 901px) {
  .tool { padding-left: clamp(24px, 5vw, 96px); }
  .tool .sheet { max-width: 560px; }
  /* First tool starts level with the stage photo, below the pinned question. */
  .tool:first-child { padding-top: calc(var(--q-size) * 2.1 + var(--q-gap) + (var(--stage-h) - var(--q-size) * 2.1 - var(--q-gap)) * 0.075); }
}
.tool__img { display: none; }
.tool__q { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tool__name {
  font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.375rem); line-height: 1.1; letter-spacing: -0.01em;
  margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.tool__desc { margin-top: 14px; font-size: 1.125rem; max-width: 46ch; }

/* Example result sheets */
.sheet {
  margin-top: 32px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
  font-size: 0.9688rem;
}
.sheet__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.sheet__tag {
  font-size: 0.8125rem; color: var(--muted);
  border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 10px;
}
.sheet__rows { margin: 0; padding: 8px 20px; }
.sheet__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.sheet__rows dt { color: var(--brown); }
.sheet__rows dd { margin: 0; color: var(--ink); white-space: nowrap; }
.sheet__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 20px 18px; border-top: 1px solid var(--rule);
}
.sheet__total strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.sheet__total--yes strong { color: var(--moss); display: inline-flex; align-items: center; gap: 8px; }
.sheet__total--yes .icon { width: 0.8em; height: 0.8em; }
.sheet__table { width: 100%; border-collapse: collapse; }
.sheet__table th { text-align: left; font-weight: 400; color: var(--muted); font-size: 0.8125rem; padding: 12px 20px 4px; }
.sheet__table td { padding: 9px 20px; color: var(--ink); }
.sheet__table td:last-child, .sheet__table th:last-child { text-align: right; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status--yes { color: var(--moss); }
.status--yes::before { background: var(--moss); }
.status--maybe { color: var(--clay); }
.status--maybe::before { border: 1.5px solid var(--clay); }
.status--no { color: var(--muted); }
.status--no::before { background: transparent; border: 1.5px solid var(--muted); width: 9px; height: 1.5px; border-radius: 0; border-width: 0; background: var(--muted); }
.sheet__foot { padding: 14px 20px 16px; border-top: 1px solid var(--rule); color: var(--brown); }
.sheet__changes { list-style: none; margin: 0; padding: 8px 20px 4px; }
.sheet__changes li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.sheet__changes li span:first-child { color: var(--ink); }
.sheet__changes li span:last-child { color: var(--brown); text-align: right; }
.sheet__link {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px 16px; border-top: 1px solid var(--rule);
  color: var(--ink); text-decoration: none;
}
.sheet__link:hover { text-decoration: underline; }
.sheet__pair { display: grid; grid-template-columns: 1fr 1fr; }
.sheet__pair div { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.sheet__pair div + div { border-left: 1px solid var(--rule); }
.sheet__pair span { color: var(--brown); }
.sheet__pair strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.sheet__checks { list-style: none; margin: 0; padding: 12px 20px 16px; border-top: 1px solid var(--rule); }
.sheet__checks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--brown); }
.sheet__checks li.is-done { color: var(--ink); }
.sheet__checks .icon { color: var(--moss); }
.dot-empty { width: 14px; height: 14px; margin: 0 1px; border-radius: 50%; border: 1.5px solid var(--rule-strong); flex: none; }

@media (max-width: 520px) {
  .sheet__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sheet__table tr { display: flex; flex-direction: column; gap: 2px; padding: 9px 20px; }
  .sheet__table tr:first-child { padding-top: 14px; }
  .sheet__table td, .sheet__table td:last-child { padding: 0; text-align: left; }
}

@media (max-width: 900px) {
  .path__grid { grid-template-columns: 1fr; }
  .path__stage { display: none; }
  .tool, .tool:first-child { min-height: 0; padding: 56px 0; border-top: 1px solid var(--rule); justify-content: flex-start; }
  .tool__q { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); }
  .tool__img { display: block; margin: 24px 0 28px; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
  .tool__name { font-size: 1.375rem; font-family: var(--sans); }
  .sheet { max-width: none; }
}

/* Origin band */
.origin { margin-top: clamp(96px, 14vh, 160px); background: var(--forest); color: var(--forest-muted); }
.origin__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 136px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: center;
}
.origin h2 { color: var(--forest-ink); font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); }
.origin p { margin-top: 24px; font-size: 1.1875rem; max-width: 50ch; }
.origin .link-arrow { margin-top: 36px; }
.origin__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) { .origin__inner { grid-template-columns: 1fr; } }

/* Space Planner */
.planner { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.planner__head { max-width: 44rem; }
.planner__head h2 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); }
.planner__head p { margin-top: 24px; font-size: 1.1875rem; max-width: 52ch; }
.planner__head .cta { margin-top: 36px; }
.planner__plans {
  margin-top: clamp(48px, 7vh, 80px);
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(220px, 21vw, 300px));
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.plan { padding: clamp(16px, 2.5vw, 40px); display: flex; align-items: center; justify-content: center; min-height: 0; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--drawing-blend); }
.plan--lead { grid-row: span 2; }
.plan:nth-child(4) { grid-column: 2 / span 2; border-top: 1px solid var(--rule); }
@media (max-width: 900px) {
  .planner__plans { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 150px; }
  .plan--lead { grid-row: auto; grid-column: 1 / -1; }
  .plan:nth-child(2) { border-left: 0; border-top: 1px solid var(--rule); }
  .plan:nth-child(3) { border-top: 1px solid var(--rule); }
  .plan:nth-child(4) { grid-column: 1 / -1; border-left: 0; }
}

/* Pricing */
.pricing { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.pricing__inner {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px); align-items: end;
}
.pricing h2 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); }
.price { margin-top: 32px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price__amount { font-size: clamp(4rem, 2rem + 6vw, 7.5rem); line-height: 0.9; letter-spacing: -0.02em; }
.price__per { font-size: 1.25rem; color: var(--brown); }
.price__note { margin-top: 16px; font-size: 1.0625rem; color: var(--brown); }
.pricing__price .cta { margin-top: 36px; }
.pricing__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pricing__list li {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 0; color: var(--ink); font-size: 1.125rem;
}
.pricing__list li + li { border-top: 1px solid var(--rule); }
.pricing__list .icon { color: var(--moss); }
@media (max-width: 900px) { .pricing__inner { grid-template-columns: 1fr; } }

/* FAQ: a second forest band, matching the origin band */
.faq { margin-top: clamp(96px, 14vh, 160px); background: var(--forest); color: var(--forest-muted); border-radius: var(--radius) var(--radius) 0 0; }
.faq__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 136px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px);
}
.faq h2 { color: var(--forest-ink); font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); }
.faq__list { border-top: 1px solid var(--rule-on-forest); }
.faq details { border-bottom: 1px solid var(--rule-on-forest); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; color: var(--forest-ink); font-size: 1.1875rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--forest-muted); transition: transform 300ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 60ch; }
.faq summary:hover { color: var(--forest-muted); }
.faq :focus-visible { outline-color: var(--forest-ink); }
@media (max-width: 900px) { .faq__inner { grid-template-columns: 1fr; } }

/* Close */
/* Rounded top corners, tucked 24px over the FAQ band so the corners show green, like stacked sheets. */
.close { position: relative; z-index: 1; margin-top: calc(var(--radius) * -1); border-radius: var(--radius) var(--radius) 0 0; min-height: min(64vh, 600px); display: grid; overflow: hidden; }
.close__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.close::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 17, 0.55) 0%, rgba(18, 26, 17, 0.2) 45%, rgba(18, 26, 17, 0) 70%);
}
.close__inner {
  position: relative; z-index: 1;
  align-self: start;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 9vh, 96px) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
}
.close h2 { color: #FFFDF6; font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.75rem); max-width: 14ch; }

/* Footer */
/* Work with HUTS bar: the huts.com "sock", a meadow sheet tucked over the closing photo. */
.sock {
  position: relative; z-index: 2;
  margin-top: calc(var(--radius) * -1);
  background: var(--meadow); color: var(--pine);
  border-radius: var(--radius) var(--radius) 0 0;
}
.sock__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--gutter) calc(32px + var(--radius));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 24px clamp(32px, 6vw, 120px);
}
.sock__art { width: clamp(120px, 14vw, 200px); height: auto; }
.sock h2 { color: var(--pine); font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.5rem); max-width: 15ch; }
@media (min-width: 1024px) { .sock h2 { max-width: none; white-space: nowrap; } }
@media (max-width: 760px) {
  .sock__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 48px; }
  .sock__art { width: min(220px, 60vw); }
  .sock h2 { margin-inline: auto; }
}

/* Footer: a forest sheet tucked over the bar, as on huts.com. */
.foot {
  position: relative; z-index: 3;
  margin-top: calc(var(--radius) * -1);
  background: var(--forest); color: var(--forest-muted);
  border-radius: var(--radius) var(--radius) 0 0;
}
.foot a { color: var(--forest-ink); }
.foot .brand { color: var(--forest-ink); }
.foot :focus-visible { outline-color: var(--forest-ink); }
.foot__inner {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 48px;
  display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap;
  font-size: 0.9375rem;
}
.foot__inner p:first-of-type { flex: 1; min-width: 16rem; }
.foot__copy { color: var(--forest-muted); }
.brand--foot .brand__mark { width: 60px; height: 18px; }

/* Entrance: hero only, from a visible default */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-img 1400ms var(--ease-out) both; }
  .hero__media { animation: hero-clip 1100ms var(--ease-out) both; }
  .hero__title, .hero__lede, .hero__offer, .hero__actions { animation: rise 900ms var(--ease-out) both; }
  .hero__lede { animation-delay: 80ms; }
  .hero__offer { animation-delay: 120ms; }
  .hero__actions { animation-delay: 160ms; }
  @keyframes hero-clip { from { clip-path: inset(14% 0 0 0 round var(--hero-r)); } to { clip-path: inset(0 0 0 0 round var(--hero-r)); } }
  @keyframes hero-img { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage__slide, .stage__slide img { transition: none; }
}
