
/* Colors come from the reference palette. */
:root {
  --ink: #0c060d;
  --cream: #F3EBDE;     /* page background */
  --paper: #FAF6EF;     /* cards, inputs */
  --tile: #E8DDCB;      /* product tiles, like the beige board backdrops */
  --line: #D6C9B4;
  --muted: #6A5457;
  --soft: #8e8787;

  --red: #B0413B;
  --gold: #DCA23E;
  --gold-soft: #eccc94;
  --blue: #3F57A1;
  --cyan: #3EAFD3;
  --mauve: #90788B;
  --fore: #fafafa;

  --f-tab: "Handel Gothic", "Michroma", sans-serif;
  --f-head: "Prompt", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-hud: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.05rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; }
.display, h1 {
  font: 800 clamp(2.6rem, 6.5vw, 5.5rem)/0.95 var(--f-head);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font: 400 clamp(1.6rem, 3.2vw, 2.5rem)/1.1 var(--f-tab);
  text-transform: uppercase;
  letter-spacing: .01em;
}
h3, .h3 { font: 700 1.2rem/1.2 var(--f-head); text-transform: uppercase; }
.eyebrow {
  font: 600 .78rem var(--f-hud);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 1rem;
}
.hud {
  font: 400 .72rem var(--f-hud);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.lede { font-size: 1.15rem; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 400 .85rem var(--f-tab);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  background: var(--ink); color: var(--fore);
  border: 2px solid var(--ink);
  padding: 1em 1.6em;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn-gold { background: var(--gold); border-color: var(--ink); color: var(--ink); }
.btn-gold:hover { background: var(--red); border-color: var(--red); color: var(--fore); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--fore); border-color: var(--ink); }
.btn-light { background: var(--fore); color: var(--ink); border-color: var(--fore); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost-light { background: transparent; color: var(--fore); border-color: var(--fore); }
.btn-ghost-light:hover { background: var(--fore); color: var(--ink); border-color: var(--fore); }
.link-arrow {
  font: 400 .8rem var(--f-tab); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: .3em;
}
.link-arrow::after { content: " →"; }

/* ---------- workshop marks ---------- */
/* Dimension line: end ticks, a hairline, the measurement in the middle. Pencil red. */
.dim {
  display: flex; align-items: center; gap: .6em;
  color: var(--red);
  font: 600 .68rem/1 var(--f-hud); letter-spacing: .1em; text-transform: uppercase;
  border-inline: 1.5px solid currentColor;
  height: 12px;
  white-space: nowrap;
}
.dim::before, .dim::after { content: ""; flex: 1; height: 1.5px; background: currentColor; min-width: 12px; }
.dim-v {
  flex-direction: column; height: auto; width: 12px;
  border-inline: 0; border-block: 1.5px solid currentColor;
}
.dim-v::before, .dim-v::after { width: 1.5px; min-width: 0; height: auto; min-height: 12px; }
.dim-v > span { writing-mode: vertical-rl; transform: rotate(180deg); }

/* Rubber stamp: rough ink edges come from the #rough SVG filter */
.stamp { display: block; color: var(--red); font-family: var(--f-tab); }
.stamp text { font-family: var(--f-tab); }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--gold); color: var(--ink);
  text-align: center; font-size: .9rem; font-weight: 500; padding: .55rem var(--gutter);
}
.announce a { color: var(--ink); font-weight: 700; margin-left: .4rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
  min-height: 84px;
}
.nav { display: flex; align-items: center; gap: .25rem; }
.nav-right { justify-content: flex-end; }
.nav > a, .has-mega > a {
  font: 600 .875rem var(--f-body);
  text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none;
  padding: 1.9rem .9rem;
  border-bottom: 3px solid transparent;
}
.nav > a:hover, .has-mega > a:hover, .nav a[aria-current] { border-bottom-color: var(--ink); }
.nav-mobile-only { display: none; }

.logo { display: grid; justify-items: center; text-decoration: none; line-height: 1; }
.logo-mark {
  font: 400 1.8rem var(--f-tab); letter-spacing: .08em;
  background: var(--ink); color: var(--cream);
  padding: .3rem .8rem .25rem;
}
.logo-sub { margin-top: .5rem; font-size: .56rem; color: var(--ink); }

/* mega menu */
.has-mega { position: static; display: flex; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col { padding: 2rem var(--gutter); border-right: 1px solid var(--ink); display: grid; align-content: start; gap: .2rem; }
.mega-col a { text-decoration: none; padding: .35rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.mega-col a:hover { color: var(--blue); }
.mega-head { font: 400 .85rem var(--f-tab); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.mega-promo {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--fore); text-decoration: none;
  display: grid; place-content: center; justify-items: center; gap: 1.2rem; text-align: center;
  min-height: 300px; padding: 2rem;
}
.stamp-promo { width: 110px; color: var(--gold); transform: rotate(-10deg); }
.mega-promo-title { position: relative; font: 400 1.5rem var(--f-tab); text-transform: uppercase; max-width: 14ch; }
.mega-promo .btn { position: relative; }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .logo { justify-self: center; }
  .logo-mark { font-size: 1.4rem; }
  .logo-sub { display: none; }
  .nav-right { display: none; }
  .menu-toggle {
    display: grid; gap: 6px; background: none; border: 0; padding: 12px 8px; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
  .nav-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-left {
    position: fixed; inset: 108px 0 0 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 1rem var(--gutter);
    transform: translateX(-100%); transition: transform .25s;
    overflow-y: auto;
  }
  .nav-open .nav-left { transform: none; }
  .nav-left > a, .has-mega > a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: block; font-size: 1rem; }
  .mega { display: none; }
  .nav-mobile-only { display: block; }
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { margin: 0; max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.photo { position: relative; margin: 0; overflow: hidden; background: var(--muted); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(80svh, 780px); display: flex; align-items: flex-end; color: var(--fore); }
.hero .photo { position: absolute; inset: 0; }
.hero .photo::after, .band .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(12 6 13 / .72), rgb(12 6 13 / .15) 55%, transparent);
}
.hero-inner { position: relative; z-index: 2; padding: 4rem var(--gutter); max-width: 980px; }
.stamp-hero {
  position: absolute; z-index: 2; right: clamp(16px, 5vw, 72px); bottom: clamp(24px, 6vw, 72px);
  width: clamp(110px, 13vw, 168px); color: var(--cream); transform: rotate(-12deg); opacity: .92;
}
@media (max-width: 700px) { .stamp-hero { top: 24px; bottom: auto; } }
.hero h1 { color: var(--fore); margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 46ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* page hero, split (Kona custom / Almond collection) */
.split-hero { display: grid; grid-template-columns: 1fr 1.2fr; border-bottom: 1px solid var(--ink); }
.split-hero-copy { padding: clamp(32px, 6vw, 80px) var(--gutter); align-self: center; }
.split-hero .photo { min-height: 380px; }
@media (max-width: 860px) { .split-hero { grid-template-columns: 1fr; } .split-hero .photo { min-height: 260px; order: -1; } }

/* ---------- showcase (home hero slideshow) ---------- */
.showcase {
  --slide: 6.5s;
  position: relative; overflow: hidden; isolation: isolate;
  height: max(600px, calc(100svh - 122px));
  color: var(--fore);
  background: var(--ink);
}
.showcase-slides, .slide, .showcase-shade { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-leaving { z-index: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
/* Slow drift: each photo eases from a close crop out toward the full frame while it's on screen */
.slide.is-active img, .slide.is-leaving img { animation: drift calc(var(--slide) + 2s) var(--ease-out-quart) forwards; }
@keyframes drift { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.showcase-shade {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(12 6 13 / .62) 0%, rgb(12 6 13 / .25) 45%, transparent 70%),
    linear-gradient(to top, rgb(12 6 13 / .7) 0%, transparent 38%);
}
.showcase-copy {
  position: absolute; z-index: 3; left: 0; bottom: 120px;
  padding: 0 var(--gutter); max-width: 900px;
}
.showcase h1 { color: var(--fore); margin-bottom: 1.25rem; font-size: clamp(3rem, 8vw, 7rem); line-height: .92; }
.showcase-line { display: block; }
/* The swapping word: words stack in one grid cell and slide through a clipped window */
.showcase-word { display: grid; overflow: hidden; color: var(--gold); padding-bottom: .06em; }
.word {
  grid-area: 1 / 1;
  transform: translate3d(0, 105%, 0);
  transition: transform .9s var(--ease-out-expo), opacity .9s var(--ease-out-expo);
}
.word.is-in { transform: none; }
.word.is-leaving { transform: translate3d(0, -105%, 0); opacity: 0; transition-duration: .65s; }
.showcase-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 44ch; margin: 0 0 1.75rem; }

/* entrance: copy rises in once on load */
.showcase-copy > * { opacity: 0; transform: translate3d(0, 24px, 0); }
.showcase.is-ready .showcase-copy > * { animation: rise .9s var(--ease-out-expo) forwards; }
.showcase.is-ready .showcase-copy > :nth-child(2) { animation-delay: .12s; }
.showcase.is-ready .showcase-copy > :nth-child(3) { animation-delay: .24s; }
.showcase.is-ready .showcase-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* rail: one button per ride, the active bar fills while its slide is up */
.showcase-rail {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr) auto;
  border-top: 1px solid rgb(250 250 250 / .28);
}
.rail-item {
  position: relative; display: flex; align-items: baseline; gap: .75rem;
  background: none; border: 0; border-right: 1px solid rgb(250 250 250 / .18);
  padding: 1.15rem var(--gutter) 1.35rem; cursor: pointer; text-align: left;
  color: rgb(250 250 250 / .62);
  transition: color .3s var(--ease-out-quart), background-color .3s var(--ease-out-quart);
}
.rail-item:hover, .rail-item.is-active { color: var(--fore); }
.rail-item:hover { background: rgb(250 250 250 / .06); }
.rail-num { font: 500 .72rem var(--f-hud); letter-spacing: .08em; }
.rail-name { font: 400 1rem var(--f-tab); text-transform: uppercase; letter-spacing: .04em; }
.rail-bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; transform: scaleX(0); transform-origin: left; background: var(--gold); }
.rail-item.is-active .rail-bar { animation: fill var(--slide) linear forwards; }
.showcase.is-paused .rail-item.is-active .rail-bar,
.showcase.is-paused .slide img { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.rail-pause {
  display: grid; place-items: center; width: 64px;
  background: none; border: 0; color: var(--fore); cursor: pointer;
}
.rail-pause svg { width: 14px; height: 14px; fill: currentColor; }
.rail-pause .i-play { display: none; }
.showcase.is-paused .rail-pause .i-play { display: block; }
.showcase.is-paused .rail-pause .i-pause { display: none; }
.stamp-hero { top: 32px; bottom: auto; }

@media (max-width: 760px) {
  .showcase { height: max(560px, calc(100svh - 106px)); }
  .showcase-copy { bottom: 92px; }
  .showcase-rail { grid-template-columns: repeat(5, 1fr) 48px; }
  .rail-item { padding: 1rem .5rem 1.1rem; justify-content: center; }
  .rail-num { display: none; }
  .rail-name { font-size: .62rem; }
  .rail-pause { width: 48px; }
  .stamp-hero { display: none; }
}

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-drawing { display: grid; place-items: center; background: var(--tile); padding: 2rem; }
.template { width: min(260px, 100%); overflow: visible; }
.template-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.how-drawing.is-in .template-line { animation: draw 2.4s var(--ease-in-out) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.template-center { stroke: var(--soft); stroke-width: 1; stroke-dasharray: 6 5; }
.template-dim { stroke: var(--red); stroke-width: 1.5; opacity: 0; transition: opacity .8s var(--ease-out-quart) 2.2s; }
.how-drawing.is-in .template-dim { opacity: 1; }
.template-dim text { font: 600 9px var(--f-hud); letter-spacing: .12em; fill: var(--red); stroke: none; }
.how-steps { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.how-steps li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.how-steps li:last-child { border-bottom: 1px solid var(--line); }
.how-num { font: 400 2.6rem/1 var(--f-tab); color: var(--red); }
.how-steps h3 { margin-bottom: .3rem; }
.how-steps p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .how-drawing { max-height: 420px; } .template { width: 180px; } }

/* ---------- split (photo + copy) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; border-top: 1px solid var(--ink); }
.split-photo { min-height: 520px; }
.split-copy { padding: clamp(40px, 7vw, 112px) var(--gutter); align-self: center; max-width: 620px; }
.split-copy p:not(.lede) { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-photo { min-height: 320px; } }

/* ---------- scroll reveals ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out-quint), transform .9s var(--ease-out-quint); }
[data-reveal].is-in { opacity: 1; transform: none; }
.how-steps li[data-reveal]:nth-child(2) { transition-delay: .1s; }
.how-steps li[data-reveal]:nth-child(3) { transition-delay: .2s; }
.tiles [data-reveal]:nth-child(2) { transition-delay: .06s; }
.tiles [data-reveal]:nth-child(3) { transition-delay: .12s; }
.tiles [data-reveal]:nth-child(4) { transition-delay: .18s; }
.tiles [data-reveal]:nth-child(5) { transition-delay: .24s; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--fore); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- trust row ---------- */
.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}
.trust li { padding: 1.4rem var(--gutter); display: grid; gap: .15rem; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust b { font: 400 .85rem var(--f-tab); text-transform: uppercase; letter-spacing: .05em; }
.trust span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } .trust li:nth-child(2) { border-right: 0; } .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- category tiles ---------- */
.tiles { display: grid; gap: 12px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-5 { grid-template-columns: repeat(5, 1fr); }
.tile {
  position: relative; display: block; aspect-ratio: 3 / 4; text-decoration: none; color: var(--fore);
}
.tile .photo { position: absolute; inset: 0; }
.tile .photo img { transition: transform .5s ease; }
.tile:hover .photo img { transform: scale(1.04); }
.tile-copy {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.5rem; display: grid; justify-items: center; gap: .6rem; text-align: center;
  background: linear-gradient(transparent, rgba(12, 6, 13, .55));
}
.tile-title { font: 400 clamp(1.3rem, 2.4vw, 2rem) var(--f-tab); text-transform: uppercase; }
.tile-cta { font: 400 .75rem var(--f-tab); text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid; padding-bottom: .2em; }
@media (max-width: 1000px) { .tiles-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tiles-3, .tiles-5 { grid-template-columns: 1fr 1fr; } .tiles-3 .tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* board drawing parts */
.board .grain { stroke: rgba(12, 6, 13, .12); stroke-width: 1.2; fill: none; }
.board .stringer { stroke: rgba(12, 6, 13, .35); stroke-width: 1; }
.board .outline { fill: none; stroke: var(--ink); stroke-width: 2; }
.board .badge circle { fill: var(--cream); stroke: var(--ink); stroke-width: 1.5; }
.board .badge text { font: 10px var(--f-tab); text-anchor: middle; fill: var(--ink); }
.side .outline { stroke: var(--ink); stroke-width: 2; }
.side .stopper { fill: var(--ink); }
.side .roller { stroke: var(--ink); stroke-width: 2; }
.side .roller-cork { fill: #C9A578; }
.side .roller-pvc { fill: var(--gold); }
.side .roller-cushion { fill: var(--cyan); stroke: var(--ink); stroke-width: 2; }
.side .floor { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ---------- full-bleed band ---------- */
.band { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--fore); }
.band .photo { position: absolute; inset: 0; }
.band-inner { position: relative; z-index: 2; padding: 4rem var(--gutter); max-width: 760px; }
.band h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.band p { max-width: 50ch; margin: 0 0 1.5rem; }

/* ---------- info cards (lead time / how it works / shipping) ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-card { background: var(--paper); border: 1px solid var(--line); padding: 1.4rem 1.5rem; }
.info-card h3 { font: 400 1rem var(--f-tab); }
.info-card p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }


.cta-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); padding: 1.25rem 1.5rem; margin-top: 3rem;
}
.cta-strip p { margin: 0; font: 400 1rem var(--f-tab); text-transform: uppercase; }

/* ---------- accordion (FAQ) ---------- */
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { margin-bottom: 1rem; }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion details:first-child { border-top: 1px solid var(--ink); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0;
  display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 500; font-size: 1.05rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 1.4rem/1 var(--f-hud); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { margin: 0 0 1.25rem; max-width: 70ch; color: var(--muted); }

/* ---------- builder (wizard) ---------- */
.builder { display: grid; grid-template-columns: 220px 1fr 340px; gap: 40px; padding: 3rem 0 5rem; }
.steps-nav { position: sticky; top: 110px; align-self: start; }
.steps-nav h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.steps-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .1rem; }
.step-link {
  display: flex; align-items: center; gap: .75rem; width: 100%;
  background: none; border: 0; padding: .5rem 0; cursor: pointer; text-align: left;
  color: var(--soft); font-size: 1rem;
}
.step-link .hud { color: inherit; width: 1.6rem; }
.step-link:disabled { cursor: default; }
.step-link.is-done { color: var(--ink); }
.step-link[aria-current="step"] { color: var(--ink); font-weight: 700; }
.step-link[aria-current="step"] .hud { color: var(--blue); }
.step-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.step-buttons .btn { padding: 1em .5em; }
.btn:disabled { opacity: .4; cursor: not-allowed; background: var(--soft); border-color: var(--soft); }

.step-panel h2 { margin-bottom: .4rem; }
.step-panel > p { margin: 0 0 1.75rem; color: var(--muted); max-width: 60ch; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  display: grid; justify-items: center; text-align: center; gap: .4rem;
  height: 100%; padding: 1.25rem 1rem 1.5rem;
  background: var(--paper); border: 1px solid var(--line); cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.choice-body:hover { border-color: var(--ink); }
.choice input:checked + .choice-body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice-body b { font: 400 1rem var(--f-tab); text-transform: uppercase; }
.choice-body small { color: var(--muted); font-size: .88rem; }
.choice-art { height: 110px; display: grid; place-items: center; }
.choice-art .board { height: 100%; width: auto; }
.choice-art .side { width: 150px; }
.choice-dot { width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; margin-top: .4rem; }
.choice input:checked + .choice-body .choice-dot { background: radial-gradient(var(--ink) 0 45%, transparent 50%); }
.swatch-big { width: 64px; height: 64px; border: 1px solid var(--ink); background: var(--c); }
.swatch-big.is-clear { background: repeating-linear-gradient(45deg, var(--paper) 0 6px, var(--line) 6px 8px); }
@media (max-width: 1100px) { .choices { grid-template-columns: repeat(2, 1fr); } }

.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field > span { font-weight: 600; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input[type="text"], input[type="email"], textarea, select {
  font: 500 1rem var(--f-body); color: var(--ink);
  padding: .85em 1em; border: 1px solid var(--soft); border-radius: 0;
  background: var(--paper); width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.segmented { display: flex; gap: 6px; flex-wrap: wrap; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .6rem 1rem; border: 1px solid var(--ink); cursor: pointer; }
.segmented input:checked + span { background: var(--ink); color: var(--fore); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.preview { position: sticky; top: 110px; align-self: start; border: 1px solid var(--ink); background: var(--paper); }
.preview-stage { background: var(--tile); display: grid; grid-template-columns: 1fr; place-items: center; padding: 1.25rem; height: min(320px, 38vh); }
.preview-side .side { max-height: 80px; margin: 0 auto; }
.preview-stage .board { height: 100%; width: auto; filter: drop-shadow(8px 12px 10px rgba(12, 6, 13, .2)); }
.preview-side { padding: .5rem 1rem 0; background: var(--tile); border-top: 1px dashed var(--line); }
.summary { list-style: none; margin: 0; padding: 1rem 1.25rem; display: grid; gap: .4rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.summary li .hud { color: var(--muted); }
.preview-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 1.25rem; border-top: 1px solid var(--ink); }
.preview-total strong { font: 600 1.6rem var(--f-body); font-variant-numeric: tabular-nums; }
.preview .btn { width: calc(100% - 2.5rem); margin: 0 1.25rem 1.25rem; }

.review { border: 1px solid var(--ink); background: var(--paper); }
.review div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); }
.review div:last-child { border-bottom: 0; }
.review dt { font: .75rem var(--f-hud); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.review dd { margin: 0; font-weight: 600; text-align: right; }

@media (max-width: 1100px) {
  .builder { grid-template-columns: 1fr 300px; }
  .steps-nav { grid-column: 1 / -1; position: static; }
  .steps-list { display: flex; overflow-x: auto; gap: .5rem; }
  .step-link { white-space: nowrap; border: 1px solid var(--line); padding: .45rem .8rem; }
  .step-buttons { max-width: 360px; }
}
@media (max-width: 760px) {
  .builder { grid-template-columns: 1fr; }
  .preview { position: static; order: -1; }
  .preview-stage { height: 260px; }
  .preview-side { display: none; }
  .choices { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- about (alternating, Almond commissions) ---------- */
.story { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 112px); }
.story.flip { grid-template-columns: 1.6fr 1fr; }
.story.flip .story-copy { order: 2; }
.story .photo { aspect-ratio: 4 / 3; }
.story-copy p { color: var(--muted); }
@media (max-width: 860px) { .story, .story.flip { grid-template-columns: 1fr; } .story.flip .story-copy { order: 0; } }

.inquiry { max-width: 640px; margin: 0 auto; }
.inquiry .btn { width: 100%; }

/* ---------- footer ---------- */
/* Blue is the brand field: the footer carries it */
.site-footer { --rule: rgb(250 246 239 / .22); background: var(--blue); color: var(--paper); position: relative; overflow: hidden; }
.footer-top { display: flex; align-items: center; gap: 2rem; padding: 2.5rem var(--gutter) 0; }
.footer-top .dim { flex: 1; color: var(--gold-soft); }
.stamp-footer { width: 92px; color: var(--gold-soft); transform: rotate(8deg); flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-grid > * { padding: 2.5rem var(--gutter) 3rem; border-right: 1px solid var(--rule); }
.footer-grid > *:last-child { border-right: 0; }
.footer-signup h2 { font-size: 1.4rem; }
.footer-signup p { color: var(--cream); margin: 0 0 1.25rem; }
.footer-signup input { background: rgb(250 246 239 / .08); color: var(--paper); border-color: rgb(250 246 239 / .5); margin-bottom: .75rem; }
.footer-signup input::placeholder { color: rgb(250 246 239 / .75); }
.footer-signup .btn { width: 100%; }
.footer-col { display: grid; align-content: start; gap: .5rem; }
.footer-col h3 { font: 400 .9rem var(--f-tab); letter-spacing: .08em; margin-bottom: .75rem; }
.footer-col a { color: var(--paper); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-col p { color: var(--cream); margin: .5rem 0 0; font-size: .9rem; }
.legal { margin: 0; padding: 1.25rem var(--gutter); border-top: 1px solid var(--rule); font: .72rem var(--f-hud); color: var(--cream); letter-spacing: .06em; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-signup { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .footer-grid > * { padding: 2rem var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  /* Everything that normally animates in is simply shown */
  .showcase-copy > *, [data-reveal] { opacity: 1; transform: none; }
  .slide img { transform: none; }
  .template-line { stroke-dashoffset: 0; }
  .template-dim { opacity: 1; }
  .rail-bar { display: none; }
}
#builder, #how { scroll-margin-top: 96px; }
/* Sketchbook: sky, pencil, and paper. */
:root { --ink:#303c60; --cream:#d9edf4; --paper:#fafafa; --tile:#f1ecdf; --line:#becdd1; --muted:#6A5457; --blue:#3F57A1; --gold:#DCA23E; --red:#B0413B; --f-body: 'Trebuchet MS',sans-serif; --f-head:'Handel Gothic',sans-serif; --f-hud:'Trebuchet MS',sans-serif; }
body { background:#d9edf4; font-size:17px; }
body::after { content:''; position:fixed; inset:0; z-index:99; pointer-events:none; opacity:.035; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
h1,h2,h3,.display { text-transform:none; letter-spacing:-.045em; }
h1 { font:400 clamp(3rem,5.8vw,5.7rem)/1.04 var(--f-head); }
h2 { font:400 clamp(2rem,3.3vw,3.3rem)/1.13 var(--f-head); }
h3 { font:400 1.5rem/1.2 var(--f-head); }
.site-header { display:flex; justify-content:space-between; padding:14px max(5vw,20px); background:#d9edf4; border:0; position:relative; gap:20px; min-height:100px; }
.logo { display:flex; gap:10px; text-align:left; font:400 16px/1.2 var(--f-head); }
.logo img { width:65px; height:65px; }
.nav { gap:22px; }
.nav > a { font:600 15px var(--f-body); text-transform:none; letter-spacing:0; padding:12px 0; }
.nav > .nav-contact { border:1.5px solid var(--ink); border-radius:60% 45% 50% 40% / 12% 20% 15% 20%; padding:12px 22px; }
.btn { font:600 15px var(--f-body); text-transform:none; letter-spacing:0; padding:16px 25px; border-radius:5px 3px 6px 2px; background:var(--ink); color:var(--paper); box-shadow:3px 3px 0 #7b8ecb; }
.btn-outline { background:transparent; color:var(--ink); box-shadow:none; }
.hand-note,.pencil-note,.art-note,.photo-caption { font-family:'Segoe Print','Comic Sans MS',cursive; }
.hand-note { font-size:18px; margin:0 0 24px; }
.sky-hero { max-width:1600px; margin:auto; min-height:650px; padding:90px 6vw 110px; display:grid; grid-template-columns:1fr 1fr; align-items:center; position:relative; isolation:isolate; }
.sky-copy { z-index:2; }
.sky-copy > p:not(.hand-note) { margin:25px 0 28px; font-size:18px; line-height:1.7; }
.pencil-note { display:block; font-size:13px; margin-top:20px; transform:rotate(-3deg); }
.sky-art { position:relative; padding-top:10px; }
.sky-art > img:first-child { width:100%; transform:rotate(-4deg); }
.little-planet { position:absolute; right:-3%; top:-60px; width:120px; transform:rotate(12deg); }
.art-note { display:block; text-align:center; font-size:15px; line-height:1.4; transform:rotate(-4deg); margin-top:0; }
.sky-cloud { position:absolute; z-index:-1; width:140px; opacity:.65; }
.cloud-one { top:0; left:43%; width:100px; transform:rotate(-8deg); }
.cloud-two { bottom:5px; left:-45px; width:190px; }
.paper-section { background:var(--paper); padding:85px 6vw 60px; clip-path:polygon(0 12px,5% 5px,12% 11px,20% 2px,29% 8px,36% 0,44% 9px,52% 3px,61% 10px,70% 1px,79% 7px,88% 2px,96% 9px,100% 3px,100% 100%,0 100%); scroll-margin-top:20px; }
.section-heading { max-width:1250px; margin:0 auto 45px; display:flex; align-items:end; justify-content:space-between; gap:30px; }
.section-heading > p { max-width:360px; padding-bottom:10px; }
.sketch-boards { max-width:1250px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.sketch-card { display:block; text-decoration:none; padding:18px 18px 25px; transition:transform .2s; }
.sketch-card:hover { transform:translateY(-6px) rotate(-1deg); }
.sketch-deck { height:330px; background:#eae5e9; display:flex; align-items:center; justify-content:center; position:relative; margin-bottom:25px; border-radius:3px 7px 4px 9px; }
.sketch-card-1 .sketch-deck { background:#e3e7f2; transform:rotate(2deg); }
.sketch-card-2 .sketch-deck { background:#f5eddb; transform:rotate(-2deg); }
.sketch-deck .board { height:270px; width:100px; transform:rotate(24deg); filter:drop-shadow(8px 10px 0 #303c6015); }
.study-label { position:absolute; bottom:15px; left:20px; font:13px 'Segoe Print',cursive; }
.sketch-card p { margin:9px 0 18px; }
.card-link { font-size:14px; border-bottom:1px solid; padding-bottom:4px; }
.gallery-note { text-align:center; font-size:13px; color:var(--muted); margin-top:35px; }
.play-section { background:var(--paper); padding:70px 8vw 110px; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:8vw; }
.play-photo { padding:12px 12px 18px; background:#fff; transform:rotate(-3deg); box-shadow:0 3px 12px #303c6018; }
.play-photo img { width:100%; height:380px; object-fit:cover; }
.photo-caption { display:block; font-size:13px; padding:15px 5px 0; }
.play-copy p { max-width:48ch; }
.play-copy .btn { margin-top:18px; }
.maker-note { padding:80px 6vw; display:grid; grid-template-columns:150px minmax(0,600px) 150px; align-items:center; justify-content:center; gap:5vw; text-align:center; }
.maker-note > img:last-child { transform:rotate(12deg); }
.link-arrow { font:600 15px var(--f-body); text-transform:none; letter-spacing:0; }
.site-footer { background:#bcdfea; color:var(--ink); padding:50px 6vw 20px; }
.sketch-footer { display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px; align-items:start; }
.footer-brand { font:400 26px/1.2 var(--f-head); text-decoration:none; }
.sketch-footer p { margin:0; }
.sketch-footer > div { display:flex; flex-direction:column; align-items:end; gap:10px; }
.legal { color:var(--ink); border-color:#303c6030; padding:25px 0 0; margin-top:40px; font-size:12px; }
[data-reveal] { opacity:1; transform:none; }
.eyebrow,.hud { text-transform:none; letter-spacing:0; }
input,textarea,select,.info-card,.preview,.review { border-radius:4px; }
.about-intro { padding:65px 7vw; text-align:center; }
.about-intro img { width:130px; margin:0 auto 25px; }
.sketch-story { max-width:1050px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:45px; padding:25px 6vw 60px; align-items:center; }
.sketch-story img { max-height:460px; width:100%; object-fit:contain; }
@media(max-width:900px) { .nav { gap:15px; } .nav > a { font-size:13px; } .sky-hero { min-height:560px; padding-top:55px; } .sky-art { margin-left:-20px; } .little-planet { width:85px; } .sketch-deck { height:270px; } .sketch-deck .board { height:220px; } .sketch-boards { gap:8px; } .sketch-card { padding:8px; } .maker-note { grid-template-columns:80px 1fr 80px; } }
@media(max-width:700px) { .site-header { min-height:85px; padding:12px 20px; } .logo { font-size:13px; } .logo img { width:48px; height:48px; } .menu-toggle { display:flex; order:2; } .site-header .nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--paper); padding:20px; border-bottom:2px solid var(--ink); z-index:30; } .nav-open .site-header .nav { display:flex; flex-direction:column; align-items:stretch; } .nav > a { padding:12px; font-size:16px; } .sky-hero { display:flex; flex-direction:column; padding:45px 25px 55px; gap:35px; } .sky-copy { width:100%; } h1 { font-size:clamp(2.8rem,10vw,4.4rem); } .sky-copy > p:not(.hand-note) { font-size:16px; } .hand-note { font-size:15px; } .sky-art { width:100%; max-width:480px; margin:0; } .little-planet { top:-25px; right:0; width:80px; } .cloud-one { left:auto; right:0; top:25px; width:60px; } .section-heading { display:block; } .paper-section { padding:60px 20px 40px; } .sketch-boards { grid-template-columns:1fr; gap:30px; max-width:440px; } .sketch-deck { height:330px; } .sketch-deck .board { height:270px; } .play-section { grid-template-columns:1fr; padding:40px 25px 65px; gap:50px; } .play-photo img { height:300px; } .maker-note { grid-template-columns:1fr; padding:55px 25px; gap:20px; } .maker-note > img { width:85px; margin:auto; } .maker-note > img:last-child { display:none; } .sketch-footer { grid-template-columns:1fr; gap:25px; } .sketch-footer > div { align-items:start; } .sketch-story { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; animation:none!important; } }
@media(max-width:700px) { .builder { grid-template-columns:minmax(0,1fr); } .builder > * { min-width:0; max-width:100%; } .steps-list { flex-wrap:wrap; } .steps-nav { overflow:hidden; } .step-link { white-space:normal; } .preview { position:static; } }
/* Local Barlow supplied in Barlow_embark.zip. */
@font-face { font-family:'Barlow Local'; src:url('../fonts/Barlow/Barlow-Regular.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:'Barlow Local'; src:url('../fonts/Barlow/Barlow-Medium.ttf') format('truetype'); font-style:normal; font-weight:500; font-display:swap; }
@font-face { font-family:'Barlow Local'; src:url('../fonts/Barlow/Barlow-Bold.ttf') format('truetype'); font-style:normal; font-weight:700; font-display:swap; }
:root { --f-body:'Barlow Local',sans-serif; --f-head:'Barlow Local',sans-serif; --f-tab:'Barlow Local',sans-serif; --f-hud:'Barlow Local',sans-serif; }
h1,h2,h3,.display,.footer-brand { font-weight:700; letter-spacing:-.035em; }
.logo { font-weight:700; }
.hand-note,.pencil-note,.art-note,.photo-caption,.study-label { font-family:'Barlow Local',sans-serif; }
.hand-note { font-weight:500; }
.sky-copy h1 { font-size:clamp(3rem,5.8vw,5.7rem); }
@media(max-width:700px) { .sky-copy h1 { font-size:clamp(2.8rem,10vw,4.4rem); } }

/* Vintage reference palette: colors from reference colors.txt. */
:root { --ink:#303c60; --cream:#d9edf4; --paper:#fafafa; --tile:#eae5e9; --line:#ccc2c2; --muted:#6A5457; --soft:#8e8787; --red:#B0413B; --gold:#DCA23E; --gold-soft:#eccc94; --blue:#3F57A1; --cyan:#3EAFD3; --mauve:#90788B; --fore:#fafafa; }
.btn:not(.btn-outline) { background:var(--blue); border-color:var(--blue); }
.btn:not(.btn-outline):hover { background:var(--red); border-color:var(--red); }
::selection { background:var(--gold-soft); color:var(--ink); }

/* Four stripe colors sampled from the reference JPG, not the text palette. */
:root { --red:#F50506; --gold:#F1DC8D; --gold-soft:#F1DC8D; --green:#3CCE83; --cyan:#6DF3F2; --blue:#303c60; --mauve:#3CCE83; }
.btn:not(.btn-outline):hover { background:var(--gold); color:var(--ink); border-color:var(--ink); }
.sketch-card-0 .sketch-deck { background:#e3f4e9; }
.sketch-card-1 .sketch-deck { background:#e0f6f5; }
.sketch-card-2 .sketch-deck { background:#f7f0d7; }
/* Four-color identity and interaction polish. */
:root {
  --brand-red:#F50506; --brand-yellow:#F1DC8D; --brand-green:#3CCE83; --brand-cyan:#6DF3F2;
  --ink:oklch(36.4% .066 270); --paper:oklch(98.3% .006 95);
  --sky:color-mix(in srgb,var(--brand-cyan) 16%,var(--paper));
  --cream:var(--sky); --muted:oklch(44% .035 270);
  --surface-green:color-mix(in srgb,var(--brand-green) 12%,var(--paper));
  --surface-cyan:color-mix(in srgb,var(--brand-cyan) 17%,var(--paper));
  --surface-yellow:color-mix(in srgb,var(--brand-yellow) 30%,var(--paper));
  --motion-ease:cubic-bezier(.22,1,.36,1);
}
body,.site-header { background:var(--sky); }
.site-header { z-index:50; }
.site-header .nav-contact { background:var(--brand-yellow); }
.site-header .nav-contact:hover { background:var(--brand-green); }
.btn { transition:transform 220ms var(--motion-ease),background-color 220ms,color 220ms,box-shadow 220ms; }
.btn-primary,.btn.btn-primary:not(.btn-outline) { background:var(--brand-yellow); color:var(--ink); border-color:var(--ink); box-shadow:4px 4px 0 var(--ink); }
.btn-primary:hover,.btn.btn-primary:not(.btn-outline):hover { background:var(--brand-green); transform:translate(-1px,-2px); box-shadow:5px 6px 0 var(--ink); }
.btn:active,.btn.btn-primary:active { transform:translate(2px,2px); box-shadow:0 0 0 transparent; }
.nav > a { transition:background-color 200ms,color 200ms,border-color 200ms; }
.nav > a:not(.nav-contact):hover { border-bottom-color:var(--brand-red); }
:focus-visible { outline:3px solid var(--ink); outline-offset:5px; }
.sketch-card-0 .sketch-deck { background:var(--surface-green); }
.sketch-card-1 .sketch-deck { background:var(--surface-cyan); }
.sketch-card-2 .sketch-deck { background:var(--surface-yellow); }
.sketch-card { transition:transform 350ms var(--motion-ease); }
.sketch-deck .board { transition:transform 600ms var(--motion-ease); }
.sketch-card:focus-visible .board { transform:rotate(16deg) translateY(-5px); }
.card-link { transition:color 200ms; }
.play-photo { background:var(--paper); }
.site-footer { background:var(--surface-cyan); }
.sketch-footer > div a,.link-arrow { display:inline-flex; min-height:44px; align-items:center; }
.menu-toggle { min-width:48px; min-height:48px; flex-direction:column; justify-content:center; align-items:center; gap:6px; }
.menu-toggle span { flex:none; }
.accordion summary { min-height:56px; }
.accordion details[open] p { animation:answer-in 300ms var(--motion-ease); }
@keyframes answer-in { from {opacity:0;transform:translateY(-5px)} to {opacity:1;transform:translateY(0)} }
@media(hover:hover) and (pointer:fine) {
  .sketch-card:hover .board { transform:rotate(16deg) translateY(-5px); }
  .sketch-card:hover .card-link { text-decoration:underline; text-underline-offset:5px; }
}
@media(max-width:700px) {
  .site-header .nav { display:flex; visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-8px); flex-direction:column; align-items:stretch; transition:opacity 220ms var(--motion-ease),transform 250ms var(--motion-ease),visibility 220ms; }
  .nav-open .site-header .nav { visibility:visible; opacity:1; pointer-events:auto; transform:translateY(0); }
  .nav-open .menu-toggle span:first-child { transform:translateY(4px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform:translateY(-4px) rotate(-45deg); }
  .sky-cloud { height:auto; }
  .sky-copy h1 { max-width:11ch; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
  .sketch-card:hover,.sketch-card:hover .board,.sketch-card:focus-visible .board { transform:none; }
}
/* Keep the approved blue-sky base beneath the four-color accents. */
:root { --sky:#d9edf4; }
.support-page { max-width:900px; margin:auto; padding:70px max(24px,4vw) 100px; }
.support-intro { margin-bottom:40px; }
.support-intro h1 { font-size:clamp(2.6rem,6vw,4.8rem); }
.support-intro > p { max-width:62ch; }
.faq-jumps { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 55px; }
.faq-jumps a { min-height:44px; display:inline-flex; align-items:center; background:var(--surface-yellow); border:1px solid var(--ink); padding:10px 17px; border-radius:5px; text-decoration:none; font-size:15px; }
.faq-jumps a:nth-child(2) { background:var(--surface-green); }
.faq-jumps a:nth-child(3) { background:var(--surface-cyan); }
.faq-jumps a:hover { background:var(--brand-yellow); }
.support-page .faq-group { margin:0 0 55px; scroll-margin-top:30px; }
.support-page h2 { font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:24px; }
.support-page .accordion summary { gap:20px; font-weight:500; line-height:1.4; padding:20px 0; }
.support-page .accordion summary::after { flex-shrink:0; }
.support-page .accordion details p { color:var(--ink); padding:0 28px 5px 0; }
.privacy-page section { margin-top:40px; max-width:70ch; }
.privacy-page section p { line-height:1.75; }
.policy-status { font-size:15px; font-weight:500; }
@media(max-width:700px) { .support-page { padding-top:45px; } .faq-jumps { margin-bottom:40px; } }

/* ---------- shop + product page ---------- */
.shop-section h1 { font-size:clamp(2.6rem,6vw,4.8rem); }
.sample-note { max-width:1250px; margin:0 auto 35px; padding:12px 16px; background:var(--surface-yellow); border:1px dashed var(--ink); border-radius:5px; font-size:15px; }
.sample-note[hidden] { display:none; }
.sample-tag { font-size:12px; font-weight:500; background:var(--surface-yellow); border:1px solid var(--ink); border-radius:3px; padding:1px 6px; margin-left:6px; vertical-align:middle; }
.shop-price { font-weight:700; font-size:18px; margin:0 0 16px; }
.sketch-card h2.h3 { font-size:1.5rem; text-transform:none; margin:0 0 6px; }

.product-page { max-width:1250px; margin:auto; padding:40px 6vw 100px; }
.crumbs { font-size:15px; margin-bottom:30px; }
.crumbs a { color:var(--ink); }
.product { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,80px); align-items:start; }
.product-art { position:sticky; top:30px; }
.product-art .sketch-deck { height:min(560px,70vh); background:var(--surface-green); margin-bottom:10px; }
.product-art .sketch-deck .board { height:85%; width:auto; transform:rotate(18deg); transition:transform 600ms var(--motion-ease); }
.product-art .gallery-note { text-align:left; margin-top:0; }
.product-form h1 { font-size:clamp(2.4rem,5vw,3.6rem); margin-bottom:8px; }
.product-price { font-size:26px; font-weight:700; margin:0 0 14px; font-variant-numeric:tabular-nums; }
.product-price-note { font-size:16px; font-weight:500; color:var(--muted); }
.product-form .sample-note { margin:0 0 28px; }

.option-group { border:0; padding:0; margin:0 0 26px; }
.option-group legend { font-weight:700; margin-bottom:10px; padding:0; }
.option-group legend span { font-weight:500; }
.option-choices { display:flex; flex-wrap:wrap; gap:8px; }
.option-choice { position:relative; }
.option-choice input { position:absolute; opacity:0; pointer-events:none; }
.option-choice > span {
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-height:44px;
  padding:9px 14px; background:var(--paper); border:1px solid var(--ink); border-radius:5px;
  cursor:pointer; font-size:15px; transition:background-color 200ms, box-shadow 200ms;
}
.option-choice > span:hover { background:var(--surface-cyan); }
.option-choice input:checked + span { background:var(--brand-yellow); box-shadow:3px 3px 0 var(--ink); }
.option-choice input:focus-visible + span { outline:3px solid var(--ink); outline-offset:3px; }
.option-choice small { color:var(--muted); }
.option-note { flex-basis:100%; }
.option-roller .option-choice { flex:1 1 150px; }
.swatch-dot { width:16px; height:16px; border-radius:50%; border:1px solid var(--ink); display:inline-block; }

.product-form .field select { background:var(--paper); }
.order-summary { margin:10px 0 6px; border-top:1px solid var(--ink); }
.order-summary div { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid color-mix(in srgb,var(--ink) 25%,transparent); }
.order-summary dd { margin:0; font-variant-numeric:tabular-nums; }
.order-total { font-weight:700; font-size:20px; border-bottom:1px solid var(--ink) !important; }
.fine { font-size:14px; color:var(--muted); }
.checkout-buttons { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:22px; }
.checkout-buttons .btn { justify-content:center; width:100%; }
.checkout-buttons .btn:disabled { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
.checkout-soon { font-weight:500; margin:12px 0 0; }
.policy-links a { color:var(--ink); }

@media (max-width:860px) {
  .product { grid-template-columns:1fr; }
  .product-art { position:static; }
  .product-art .sketch-deck { height:340px; }
  .checkout-buttons { grid-template-columns:1fr; }
}

/* ---------- policy pages ---------- */
.policy-page section { margin-top:40px; max-width:70ch; }
.policy-page section p, .policy-page section li { line-height:1.75; }
.policy-page ul { padding-left:1.2rem; }
.policy-page table { border-collapse:collapse; width:100%; margin:10px 0 20px; }
.policy-page th, .policy-page td { text-align:left; padding:10px 12px; border-bottom:1px solid color-mix(in srgb,var(--ink) 25%,transparent); }
.policy-page th { border-bottom:1px solid var(--ink); }
/* Details the owner still has to fill in. Search the HTML for class="ph". */
.ph { background:var(--surface-yellow); border-bottom:1px dashed var(--ink); padding:0 3px; font-weight:500; }
.policy-nav { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:15px; margin-top:16px; }
.policy-nav a { color:var(--ink); }
/* Footer gains a policy column */
.sketch-footer { grid-template-columns:1.3fr 1.3fr 1fr 1fr; }
.sketch-footer > div a { font-size:15px; }
@media (max-width:900px) { .sketch-footer { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { .sketch-footer { grid-template-columns:1fr; } }
