/* BK Shanae Candle Co. · independent concept · "Your place. Our pour."
   Every section reads complete without JS; html.scenes-ready only adds start states. */

:root {
  /* The batch's coral and plum ink, warmed with the materials of a pour: soy wax,
     amber scent bottles, a steel pitcher and a wooden kit. */
  --ink: #29204c;
  --ink-deep: #1d1638;
  --paper: #fff2e1;
  --cream: #fbe9d0;
  --coral: #fd6f57;
  --coral-ink: #b2381f;      /* coral text on paper */
  --amber: #f4c86a;
  --lavender: #cfc4f2;       /* accent text on ink */
  --wax-hot: #e9a23b;
  --wax-set: #f4dcae;
  --glass: #dfeef2;
  --glass-rim: #c9dfe6;
  --amber-glass: #c7782f;
  --steel: #d7dce3;
  --steel-dark: #9aa3ae;
  --wood: #c7895a;
  --wood-top: #ddb084;
  --wood-dark: #7a4a2e;
  --wood-inner: #e7c29b;
  --kraft: #d6a874;
  --floor: #cdb79e;
  --wall-home: #f6dcc0;
  --wall-home-line: #e8c7a6;
  --wall-office: #e2e7ee;
  --wall-office-line: #c9d1dc;
  --wall-venue: #3a3060;
  --wall-venue-line: #4c4278;
  --venue-window: #5b6aa0;
  --wall-pour: #f3e3cf;
  --sky: #cfe3ef;
  --door: #e9cfae;
  --door-line: #c9a983;
  --baseboard: #e2c6a5;
  --cork: #c49a6c;
  --wisp: #8c7bb8;
  --flame: #ffb547;
  --flame-core: #fff1c9;
  --wickc: #3a2a22;
  --sage: #9db89a;
  --leaf: #6f9a6c;
  --cobalt: #3c4fb0;
  --glass-line: #c3cbd8;

  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --header: 64px;
  --focus: var(--ink);
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}
svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: 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;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .8rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 1rem; }

h1, h2, h3 { margin: 0; line-height: 1.02; text-wrap: balance; }
h1, h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em;
  overflow-wrap: anywhere; hyphens: auto;
}
h2 { font-size: clamp(2rem, 1.1rem + 3.6vw, 4.3rem); }
h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.small { font-size: .9rem; }
.eyebrow {
  margin: 0 0 .9rem; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .num {
  display: inline-grid; place-items: center; min-width: 2.2em; height: 2.2em; margin-right: .55em;
  border-radius: 999px; background: var(--ink); color: var(--paper); letter-spacing: 0;
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 + p { margin-top: 1rem; font-size: 1.1rem; max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px; border: 2.5px solid var(--ink);
  font-weight: 700; text-decoration: none; line-height: 1.15; text-align: center; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 -1px var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cream); }
.btn-sun { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-sun:hover { box-shadow: 0 6px 0 -1px var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-light:hover { background: rgba(255, 242, 225, .12); box-shadow: 0 6px 0 -1px var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--coral-ink);
}

/* ---------- Header (sticky, a direct child of body) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 2px solid var(--ink);
}
.bar {
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem var(--gutter); min-height: 62px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; min-width: 0;
  text-decoration: none; margin-right: auto;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap;
}
.brand-name .bn2 { color: var(--coral-ink); }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--coral); }
.call {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; background: var(--coral); color: var(--ink); font-weight: 750; text-decoration: none;
  border: 2px solid var(--ink);
}
.call-short { display: none; }
.menu-toggle {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 1rem; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--paper); font-weight: 700; cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

@media (max-width: 1080px) {
  /* Without JS the links wrap onto extra rows, so the header stays in flow rather than covering anchors. */
  html:not(.menu-ready) .site-header { position: static; }
  .menu-ready .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 30px -18px rgba(41, 32, 76, .45);
  }
  .menu-ready .site-nav.is-open { display: flex; }
  .menu-ready .site-nav a { min-height: 48px; font-size: 1.15rem; border-bottom: 1px solid rgba(41, 32, 76, .15); }
}
@media (min-width: 1081px) { .menu-toggle { display: none; } }
@media (max-width: 640px) {
  .bar { gap: .5rem; }
  .brand-name { font-size: 1.05rem; }
  .call-long { display: none; }
  .call-short { display: inline; }
  .menu-toggle, .call { flex: none; }
}
@media (max-width: 420px) {
  .brand-name { white-space: normal; line-height: .98; }
  .brand-name .bn1, .brand-name .bn2 { display: block; white-space: nowrap; }
  .menu-toggle { padding: 0 .8rem; }
  .call { padding: 0 .85rem; }
}
@media (max-width: 359px) {
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .98rem; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: calc(100svh - var(--header));
  padding: clamp(1.25rem, 3.5vw, 3rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  background: var(--paper);
}
.concept-note {
  display: inline-block; margin: 0 0 1rem; padding: .3rem .75rem; border: 1.5px dashed var(--ink);
  border-radius: 999px; font-size: .82rem; font-weight: 650;
}
.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6.2rem); line-height: .95; letter-spacing: -.045em;
  margin-bottom: 1.1rem; padding-right: .06em;
}
.hero h1 em { display: block; font-style: normal; color: var(--coral-ink); }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); max-width: 36rem; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0;
  max-width: 44rem;
}
.facts div { border-top: 2px solid var(--ink); padding-top: .55rem; }
.facts dt { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: .2rem 0 0; font-size: .95rem; line-height: 1.4; }
.facts a, .visit-list a, .site-footer p a { display: inline-block; padding-block: .2rem; min-height: 24px; font-weight: 700; }
.hero-art { margin: 0; position: relative; }
.hero-svg { display: block; width: 100%; height: auto; aspect-ratio: 640 / 500; border-radius: var(--radius); border: 2.5px solid var(--ink); background: var(--wall-home); }
.art-note { margin-top: .5rem; font-size: .8rem; font-weight: 600; opacity: 1; color: var(--ink); }

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}

/* SVG type */
.jar-label { fill: var(--kraft); stroke: var(--ink); stroke-width: 1.6; }
.jar-label-text { font: 800 7.2px var(--text); fill: var(--ink); letter-spacing: .02em; }
.crate-text { font: 800 15px var(--text); fill: var(--wood-dark); letter-spacing: .18em; }
.tent-big { font: 800 20px var(--text); fill: var(--ink); }
.tent-small { font: 700 11px var(--text); fill: var(--ink); }
.tent-name { font: 800 24px var(--text); fill: var(--ink); }
.tent-pkg { font: 800 20px var(--text); fill: var(--ink); }
.tent-meta { font: 600 13px var(--text); fill: var(--ink); }
.shelf-label { font: 700 16px var(--text); fill: var(--paper); }

/* ---------- 01 Offer ---------- */
.offer { padding: clamp(4rem, 9vw, 8rem) var(--gutter); background: var(--cream); }
.offer-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem);
}
.tile {
  display: flex; flex-direction: column; padding: 1.1rem 1.1rem .6rem; border-radius: var(--radius);
  background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--coral);
}
.tile-svg { display: block; width: 100%; height: auto; aspect-ratio: 200 / 120; margin-bottom: .9rem; border-radius: 12px; background: var(--wall-home); }
.tile h3 { margin-bottom: .45rem; }
.tile p { font-size: .98rem; margin-bottom: .4rem; }
.tile .text-link { margin-top: auto; }
.tile-svg g { transform-box: fill-box; }
@media (max-width: 1100px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } .tile { box-shadow: 6px 6px 0 var(--coral); } }

/* ---------- 02 Pour (pinned) ---------- */
.pour { background: var(--ink); color: var(--paper); --focus: var(--amber); }
.pour .eyebrow .num { background: var(--amber); color: var(--ink); }
.pour-track { position: relative; height: 520svh; }
.pour-stage {
  position: sticky; top: var(--header); height: calc(100svh - var(--header));
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center;
  gap: clamp(1rem, 3vw, 3rem); padding: clamp(1rem, 3vh, 2rem) var(--gutter);
  overflow: clip;
}
.pour-copy { min-height: 0; max-height: 100%; overflow-y: auto; }
.pour-copy h2 { margin-bottom: .6rem; font-size: clamp(2rem, 1rem + 3vw, 3.8rem); }
.skip-scene { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .6rem; font-weight: 700; color: var(--lavender); }
.pour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start;
  padding: .75rem .9rem; border-radius: 16px; border: 2px solid rgba(255, 242, 225, .3);
  color: var(--paper); transition: background-color .3s ease, border-color .3s ease;
  scroll-margin-top: calc(var(--header) + 24px);
}
.step h3 { font-size: 1.08rem; }
.step p { margin: .3rem 0 0; font-size: .95rem; line-height: 1.45; }
.step-num {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid currentColor; font-weight: 800;
}
.step[aria-current="step"] { background: rgba(255, 242, 225, .1); border-color: var(--amber); }
.step[aria-current="step"] .step-num { background: var(--amber); border-color: var(--amber); color: var(--ink); }
/* While pinned, inactive steps show only their titles so the list fits the stage;
   their text stays in the accessibility tree and opens on focus. */
.scenes-ready .pour-steps:has(.step[aria-current]) .step:not([aria-current="step"]):not(:focus-within) .step-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pour-art { margin: 0; position: relative; display: grid; align-content: center; min-height: 0; height: 100%; }
.pour-frame { position: relative; width: min(100%, calc((100svh - var(--header) - 5.5rem) * 800 / 520)); margin-inline: auto; }
.pour-svg {
  display: block; width: 100%; height: auto;
  aspect-ratio: 800 / 520; border-radius: var(--radius); background: var(--wall-pour); border: 2.5px solid var(--paper);
}
.scene-chip {
  position: absolute; left: .75rem; top: .75rem; margin: 0; padding: .35rem .8rem; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 750; font-size: .9rem; border: 2px solid var(--ink);
  font-variant-numeric: tabular-nums;
}
.pour .art-note { color: var(--paper); }

@media (max-width: 899px) {
  .pour-stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; align-items: start;
    gap: .75rem; padding-top: 1rem;
  }
  .pour-art { order: -1; height: auto; }
  .pour-frame { width: min(100%, calc((100svh - var(--header) - 15rem) * 800 / 520)); }
  .pour-art .scene-chip { top: .5rem; left: .5rem; font-size: .8rem; }
  .pour-copy h2 { font-size: 1.7rem; }
  .pour-copy .eyebrow { margin-bottom: .4rem; }
  .skip-scene { min-height: 32px; margin-bottom: .3rem; }
  .pour .art-note { display: none; }
}
@media (max-width: 899px) and (min-height: 701px) {
  /* Pinned phones show only the active step card; the others stay in the accessibility tree. */
  .scenes-ready .pour-steps:has(.step[aria-current]) .step:not([aria-current="step"]):not(:focus-within) {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0;
  }
  .scenes-ready .pour-steps:has(.step[aria-current]) .step-text { position: static !important; width: auto; height: auto; clip: auto; white-space: normal; }
}
/* Short or landscape screens, no JS and reduced motion: no pinning; the finished scene and every step show. */
/* The track is pinned from first layout whenever JS runs, so a deep link or restored scroll
   lands where it should; no JS, or the failure path (.scenes-off), gets the static chapter. */
html:not(.js) .pour-track, html.scenes-off .pour-track { height: auto; }
html:not(.js) .pour-stage, html.scenes-off .pour-stage { position: relative; top: 0; height: auto; padding-block: clamp(3rem, 7vw, 6rem); }
html:not(.js) .pour-frame, html.scenes-off .pour-frame { width: 100%; }
@media (max-height: 600px), (max-width: 899px) and (max-height: 700px) {
  .pour-track { height: auto; }
  .pour-stage { position: relative; top: 0; height: auto; padding-block: 3rem; }
  .pour-frame { width: 100%; }
  .scenes-ready .pour-steps:has(.step[aria-current]) .step:not([aria-current="step"]):not(:focus-within),
  .scenes-ready .pour-steps:has(.step[aria-current]) .step:not([aria-current="step"]):not(:focus-within) .step-text {
    position: static !important; width: auto; height: auto; clip: auto; white-space: normal;
  }
  .scenes-ready .pour-steps:has(.step[aria-current]) .step:not([aria-current="step"]):not(:focus-within) { padding: .75rem .9rem; border: 2px solid rgba(255, 242, 225, .3); }
  /* Unpinned short screens: the chapter's heading and steps come before its art. */
  .pour-art { order: 0; }
  .close-copy { order: -1; }
}

/* ---------- 03 Plan ---------- */
.plan { padding: clamp(4rem, 9vw, 8rem) var(--gutter); background: var(--paper); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.plan-art { margin: 0; }
.table-svg { display: block; width: 100%; height: auto; aspect-ratio: 800 / 520; border-radius: var(--radius); border: 2.5px solid var(--ink); background: var(--wall-home); }
.table-svg .bd { opacity: 0; transition: opacity .45s ease; }
.table-svg .bd[data-bd="home"] { opacity: 1; }
.table-svg[data-space] .bd { opacity: 0; }
.table-svg[data-space="home"] .bd[data-bd="home"], .table-svg[data-space="office"] .bd[data-bd="office"], .table-svg[data-space="venue"] .bd[data-bd="venue"] { opacity: 1; }
/* No-JS: the space radios still swap the illustration. */
html:not(.plan-ready) .plan:has(#space-office:checked) .pl-svg .bd { opacity: 0; }
html:not(.plan-ready) .plan:has(#space-office:checked) .pl-svg .bd[data-bd="office"] { opacity: 1; }
html:not(.plan-ready) .plan:has(#space-venue:checked) .pl-svg .bd { opacity: 0; }
html:not(.plan-ready) .plan:has(#space-venue:checked) .pl-svg .bd[data-bd="venue"] { opacity: 1; }
.slot { transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1); transform-box: fill-box; }
.slot:not(.on) { opacity: 0; }
.plan-form { display: grid; gap: 1.1rem; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.choices legend { font-weight: 800; margin-bottom: .55rem; padding: 0; }
.legend-note { font-weight: 500; font-size: .9rem; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
  scroll-margin-top: calc(var(--header) + 24px);
}
.choice span {
  display: inline-flex; align-items: center; gap: .35em; min-height: 46px; padding: .5rem 1rem;
  border: 2.5px solid var(--ink); border-radius: 999px; font-weight: 700; background: var(--paper);
}
.choice small { font-weight: 600; font-size: .9rem; }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:checked + span::before { content: "✓" / ""; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice:hover span { background: var(--cream); }
.choice:hover input:checked + span { background: var(--ink); }
@supports not selector(:has(*)) { .choice input { position: static; opacity: 1; width: auto; height: auto; } }
.hint { margin: -.4rem 0 0; font-size: .92rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 800; }
.field input {
  min-height: 48px; padding: .55rem .8rem; border: 2.5px solid var(--ink); border-radius: 12px;
  background: #fff; font-size: 1rem; width: 100%; min-width: 0; scroll-margin-top: calc(var(--header) + 24px);
}
.plan-output { padding: 1.25rem; border-radius: var(--radius); background: var(--cream); border: 2.5px solid var(--ink); }
.out-title { font-weight: 800; font-size: 1.15rem; margin-bottom: .5rem; }
.summary { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .3rem; }
.summary li { display: flex; flex-wrap: wrap; gap: .1rem .75rem; justify-content: space-between; border-bottom: 1px dashed rgba(41, 32, 76, .35); padding-bottom: .25rem; }
.summary b { overflow-wrap: anywhere; text-align: right; }
.notes { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.notes li + li { margin-top: .25rem; }
.notes .warn { color: var(--coral-ink); font-weight: 700; }
.enq-actions { margin: 1rem 0 .5rem; }
.enq-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .9rem; background: #fff; border-radius: 10px; padding: .75rem; }
@media (max-width: 1023px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 04 Story ---------- */
.story { padding: clamp(4rem, 9vw, 8rem) var(--gutter); background: var(--ink); color: var(--paper); --focus: var(--amber); }
.story .eyebrow .num { background: var(--amber); color: var(--ink); }
.story .text-link { color: var(--amber); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.story h2 { margin-bottom: 1.2rem; }
.timeline { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .8rem; }
.timeline li { padding: .85rem 1rem; border-left: 4px solid var(--coral); background: rgba(255, 242, 225, .07); border-radius: 0 12px 12px 0; }
.timeline b { display: block; color: var(--amber); }
.story-art { margin: 0; }
.story-svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 300; }
.socials { margin-top: 1rem; }
@media (max-width: 899px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 05 Visit (the calm chapter) ---------- */
.visit { padding: clamp(4rem, 9vw, 7rem) var(--gutter); background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.visit h2 { margin-bottom: 1rem; }
.visit-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.visit-list div { border-top: 2px solid var(--ink); padding-top: .5rem; }
.visit-list dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visit-list dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
@media (max-width: 899px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .visit-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 06 Close ---------- */
.close {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter); background: var(--ink); color: var(--paper); --focus: var(--amber);
}
.close .eyebrow .num { background: var(--amber); color: var(--ink); }
.close-art { margin: 0; }
.close .table-svg { border-color: var(--paper); }
.close h2 { margin-bottom: 1rem; }
.close-summary { font-size: 1.15rem; max-width: 34rem; overflow-wrap: anywhere; }
@media (max-width: 899px) { .close { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Owner panel + footer ---------- */
.owner { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: #ece6f8; color: #1f1a33; border-top: 2px dashed var(--ink); --focus: var(--ink); }
.owner h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); max-width: 40rem; margin-bottom: 1rem; }
.owner p { max-width: 46rem; }
.owner-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.owner .preview-url { overflow-wrap: anywhere; display: inline-block; padding-block: .2rem; }
.site-footer { overflow-wrap: anywhere; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); background: var(--ink-deep); color: var(--paper); --focus: var(--amber); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 2rem; align-items: start; }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin-bottom: .5rem; }
.site-footer p a { color: var(--paper); }
.back-top { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 2px solid var(--paper); border-radius: 999px; text-decoration: none; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion start states (only once scenes are ready) ---------- */
/* Hero pieces wait for the choreography so the finished pour doesn't flash first. */
.pre .hero-svg .h-jar, .pre .hero-svg .h-pitcher, .pre .hero-svg .lid-open { visibility: hidden; }

.scenes-ready .reveal:not(.is-in) { clip-path: inset(0 0 100% 0 round var(--radius)); transform: translateY(48px); }
.scenes-ready .reveal { transition: clip-path .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.scenes-ready .reveal.is-done { transition: none; clip-path: none; }
.scenes-ready .offer-grid .reveal:nth-child(2) { transition-delay: .1s; }
.scenes-ready .offer-grid .reveal:nth-child(3) { transition-delay: .2s; }
.scenes-ready .offer-grid .reveal:nth-child(4) { transition-delay: .3s; }
.scenes-ready .timeline .reveal:not(.is-in) { clip-path: inset(0 100% 0 0); transform: translateY(28px); }
.scenes-ready .timeline .reveal:nth-child(2) { transition-delay: .15s; }
.scenes-ready .timeline .reveal:nth-child(3) { transition-delay: .3s; }
/* Headings rise from a pour line: the wax level wipes up under the words. */
.scenes-ready .wipe:not(.is-in) { clip-path: inset(100% -.4em -.4em -.4em); transform: translateY(.35em); }
.scenes-ready .wipe { transition: clip-path .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1); }
.scenes-ready .wipe.is-done { clip-path: none; transition: none; }

/* Offer tile demos: each plays once as its tile arrives. */
.scenes-ready .tile .t-crate { transition: transform .8s cubic-bezier(.2, .9, .3, 1) .55s; }
.scenes-ready .tile:not(.is-in) .t-crate { transform: translateX(70px); }
.scenes-ready .tile .t-leg-l, .scenes-ready .tile .t-leg-r { transform-box: fill-box; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1) .6s; }
.scenes-ready .tile .t-leg-l { transform-origin: 100% 0; }
.scenes-ready .tile .t-leg-r { transform-origin: 0 0; }
.scenes-ready .tile:not(.is-in) .t-leg-l { transform: rotate(-78deg); }
.scenes-ready .tile:not(.is-in) .t-leg-r { transform: rotate(78deg); }
.scenes-ready .tile .t-jars { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1) 1.05s, opacity .2s linear 1.05s; }
.scenes-ready .tile:not(.is-in) .t-jars { transform: translateY(-26px); opacity: 0; }
.scenes-ready .tile .t-lid { transition: transform .7s cubic-bezier(.3, 1.45, .5, 1) .6s; }
.scenes-ready .tile:not(.is-in) .t-lid { transform: translateY(-44px) rotate(-8deg); }
.scenes-ready .tile.is-in .t-box { animation: box-drop .6s cubic-bezier(.5, 0, .7, 1) both; transform-origin: 50% 100%; }
.scenes-ready .tile:not(.is-in) .t-box { transform: translateY(-120px); }
.scenes-ready .tile.is-in .t-box1 { animation-delay: .55s; }
.scenes-ready .tile.is-in .t-box2 { animation-delay: .75s; }
.scenes-ready .tile.is-in .t-box3 { animation-delay: .95s; }
@keyframes box-drop {
  0% { transform: translateY(-120px); }
  72% { transform: translateY(0) scaleY(1); }
  82% { transform: translateY(0) scaleY(.9); }
  100% { transform: translateY(0) scaleY(1); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .btn:hover { transform: none; }
}

/* ---------- Forced colours ---------- */
@media (forced-colors: active) {
  .choice input:checked + span { border: 4px double CanvasText; text-decoration: underline; }
  .choice input:focus-visible + span { outline: 3px solid Highlight; outline-offset: 5px; }
  .btn, .call, .menu-toggle { border: 2px solid ButtonText; }
  .step[aria-current="step"] { border: 4px double CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  .site-header { position: static; }
  .menu-toggle, .skip, .skip-scene, .cta-row, .owner-actions button, .scene-chip { display: none !important; }
  .pour-track { height: auto; }
  .pour-stage { position: static; height: auto; display: block; }
  .js .step, .js .step .step-text { position: static !important; width: auto !important; height: auto !important; clip: auto !important; white-space: normal !important; }
  .reveal, .wipe { clip-path: none !important; transform: none !important; }
  .pour, .story, .close, .site-footer { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* Scent wisps are authored visible (finished art); the scenes draw them in. */
.wisp { opacity: .85; }
.p-bottle .wisp, .h-bottle.b1 .wisp, .h-bottle.b2 .wisp { opacity: 0; }
.field-note { font-size: .85rem; }

/* Phones: what, where, hours and the primary actions share the first screen. */
@media (max-width: 640px) {
  .hero { padding-top: 1rem; gap: .5rem; }
  .concept-note { margin-bottom: .7rem; font-size: .78rem; }
  .hero .eyebrow { margin-bottom: .6rem; }
  .hero h1 { margin-bottom: .7rem; }
  .lede { font-size: 1.02rem; line-height: 1.5; margin-bottom: .5rem; }
  .hero .cta-row { gap: .5rem; margin: .9rem 0 1rem; }
  .hero .cta-row .btn { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
  .facts dd { font-size: .9rem; }
}
@media (max-width: 420px) {
  /* The header Call stays visible on phones, so the hero drops its duplicate. */
  .hero .cta-row .btn-call-dup { display: none; }
  .facts div { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .5rem; align-items: baseline; padding-top: .4rem; }
  .facts dd { margin: 0; }
}

/* No JS: the room still swaps, but the summary and notes need the script, so say so instead. */
.nojs-only { display: none; }
html:not(.plan-ready) .nojs-only { display: block; }
html:not(.plan-ready) .summary, html:not(.plan-ready) .notes, html:not(.plan-ready) .out-title { display: none; }
