/* Khayyat landing: the live garment first, then chapters that act on the same design.
   Depends on khayyat.css tokens. No pinned scroll sequences; reduced motion is respected. */

.home main { overflow-x: clip; }
.home .wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 56px)); margin-inline: auto; }
.kicker { font: 500 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-hi); margin: 0 0 18px; }
.lede { font: 400 clamp(17px, 1.5vw, 19px)/1.55 var(--font-body); color: var(--muted); margin: 0; max-width: 34ch; }
.fine { font: 13px/1.55 var(--font-body); color: var(--faint); margin: 0; }
.fine.wide { max-width: 72ch; margin-top: 28px; }
.mini-label { font: 600 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 22px 0 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pick-val { font: 500 13px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text); }
h2 em, h1 em { color: var(--stone); }

/* ---------- controls ---------- */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: transparent; color: var(--text); font: 600 14.5px var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.k-btn:hover { border-color: var(--stone); background: rgba(242, 236, 224, .05); }
.k-btn.primary { background: var(--text); color: #171614; border-color: var(--text); }
.k-btn.primary:hover { background: #fffaf0; }
.k-btn.block { width: 100%; }
.k-btn span[aria-hidden] { transition: transform .2s var(--ease); }
.k-btn:hover span[aria-hidden] { transform: translateX(3px); }
.k-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--muted); font: 500 14px var(--font-body); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 5px; cursor: pointer; }
.k-link:hover { color: var(--text); text-decoration-color: var(--bronze); }
.k-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 3px; gap: 3px; background: rgba(20, 19, 17, .7); }
.k-seg button { min-height: 40px; min-width: 44px; padding: 0 14px; border: 0; border-radius: 4px; background: none; color: var(--muted); font: 500 13.5px var(--font-body); cursor: pointer; }
.k-seg button:hover { color: var(--text); background: rgba(242, 236, 224, .05); }
.k-seg button[aria-pressed="true"], .k-seg button[aria-checked="true"] { background: #2b3025; color: var(--text); box-shadow: inset 0 0 0 1px var(--sage); }
.k-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--border-strong); background: rgba(20, 19, 17, .7); color: var(--muted); font: 500 13.5px var(--font-body); cursor: pointer; }
.k-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.k-chip:hover { color: var(--text); border-color: var(--stone); }
.k-chip[aria-pressed="true"] { color: var(--text); border-color: var(--bronze); }
.k-chip[aria-pressed="true"]::before { background: var(--bronze); border-color: var(--bronze); }
.k-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.k-options button { position: relative; text-align: left; min-height: 64px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); cursor: pointer; display: grid; gap: 2px; align-content: start; transition: border-color .18s, background .18s; }
.k-options button:hover { border-color: var(--border-strong); background: var(--surface-2); }
.k-options button[aria-checked="true"] { background: #2b3025; border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.k-options button[aria-checked="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.k-options .t { font: 600 14px var(--font-body); padding-right: 14px; }
.k-options .s { font: 12.5px/1.45 var(--font-body); color: var(--muted); }

/* colour swatches: round, with the selected ring in bronze */
.colour-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.colour-pick button { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.colour-pick button i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 1px solid rgba(242, 236, 224, .24); box-shadow: inset 0 -5px 9px rgba(0, 0, 0, .28), inset 0 4px 7px rgba(255, 255, 255, .14); transition: transform .18s var(--ease); }
.colour-pick button:hover i { transform: scale(1.08); }
.colour-pick button[aria-checked="true"]::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid var(--bronze-hi); }
.colour-pick button[data-stock="low"]::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); border: 1.5px solid var(--bg); }
.colour-pick button[aria-disabled="true"] { cursor: not-allowed; }
.colour-pick button[aria-disabled="true"] i { opacity: .3; background-image: linear-gradient(135deg, transparent 46%, var(--text) 47%, var(--text) 53%, transparent 54%); }
.colour-pick button.match i { background: conic-gradient(var(--c) 0 50%, var(--c2) 0 100%); }
.colour-pick.small button i { width: 28px; height: 28px; }

/* fabric picker: textured swatches with short names */
.fabric-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fabric-pick button { display: grid; justify-items: center; gap: 6px; padding: 6px 2px 8px; min-height: 44px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--muted); font: 500 11.5px/1.2 var(--font-body); cursor: pointer; text-align: center; }
.fabric-pick button:hover { color: var(--text); background: rgba(242, 236, 224, .04); }
.fabric-pick button[aria-checked="true"] { color: var(--text); border-color: var(--sage); background: #262a21; }
.fabric-pick .sw { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(242, 236, 224, .2); display: block; }
.fabric-pick .sw svg { width: 100%; height: 100%; display: block; }

/* ---------- garment viewers (shared with the studio's Mockup) ---------- */
.mockup { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.mockup-stage { width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: -4px; border-radius: 8px; }
.mockup-stage.dragging { cursor: grabbing; }
.mockup-stage[data-zoom="in"] { cursor: move; touch-action: none; }
.mockup-stage svg { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; }
.mockup-stage.simple { cursor: default; aspect-ratio: auto; }
.mockup-simple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mockup-simple figure { margin: 0; text-align: center; }
.mockup-simple img { width: 100%; height: auto; }
.stage-light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 48% at 50% 44%, rgba(242, 228, 200, .10), transparent 70%), radial-gradient(ellipse 40% 9% at 50% 88%, rgba(0, 0, 0, .38), transparent 75%); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(330px, 1fr) minmax(0, 1.3fr) minmax(270px, .8fr); grid-template-areas: "copy stage panel"; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 56px) clamp(28px, 4vw, 52px); min-height: min(860px, calc(100svh - var(--head-h) - 36px)); background: #1a1815 url(/img/studio/studio-backdrop-1600.webp) center 38% / cover no-repeat; border-bottom: 1px solid var(--border); }
@supports (background-image: image-set(url(x.avif) type("image/avif"))) {
  .hero { background-image: image-set(url(/img/studio/studio-backdrop-1600.avif) type("image/avif"), url(/img/studio/studio-backdrop-1600.webp) type("image/webp")); }
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(23, 22, 20, .82) 0%, rgba(23, 22, 20, .25) 30%, rgba(23, 22, 20, 0) 50%, rgba(23, 22, 20, .3) 70%, rgba(23, 22, 20, .78) 100%); }
.hero > * { position: relative; }
.hero-copy { grid-area: copy; align-self: center; }
.hero h1 { font: 380 clamp(40px, 4.3vw, 72px)/1.0 var(--font-display); letter-spacing: -.03em; margin: 0 0 22px; font-variation-settings: "opsz" 144; }
.hero h1 em { font-weight: 360; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 30px 0 22px; }
.hero-copy .fine { max-width: 36ch; }
.hero-stage { grid-area: stage; position: relative; display: grid; justify-items: center; align-self: stretch; align-content: center; min-height: 0; }
.hero-viewer { width: min(100%, 640px, calc(100svh - var(--head-h) - 170px)); min-width: 260px; aspect-ratio: 1; position: relative; }
.chalk { position: absolute; pointer-events: none; }
.chalk-tape { width: 46%; left: -4%; bottom: 8%; opacity: .1; transform: rotate(-4deg); }
.view-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.drag-hint { font: 12px var(--font-body); color: var(--faint); margin: 10px 0 0; letter-spacing: .04em; }
.hero-panel { grid-area: panel; align-self: center; display: grid; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: rgba(28, 26, 23, .88); }
.pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.pick legend { padding: 0; margin: 0 0 10px; font: 600 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.step-n { color: var(--bronze); }
.sel-line { font: 14px/1.5 var(--font-body); color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); min-height: 3em; }
.sel-line strong { color: var(--text); font-weight: 600; }
.sel-line .note { display: block; color: var(--warn); font-size: 13px; margin-top: 4px; }

/* restrained entrance: content is visible immediately, the garment settles in */
@media (prefers-reduced-motion: no-preference) {
  .hero-viewer { animation: k-settle .7s var(--ease) both; }
  .hero-copy > * { animation: k-rise .6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(n+4) { animation-delay: .15s; }
}
@keyframes k-settle { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes k-rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- story: one live garment beside the chapters ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 clamp(16px, 4vw, 56px); max-width: 1440px; margin: 0 auto; }
.story-stage { position: sticky; top: calc(var(--head-h) + 16px); align-self: start; height: calc(100svh - var(--head-h) - 32px); max-height: 820px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 24px 0; }
.story-frame { position: relative; border-radius: 12px; border: 1px solid var(--border); background: #1c1a17 url(/img/studio/studio-backdrop-800.webp) center 40% / cover no-repeat; display: grid; place-items: center; overflow: hidden; min-height: 0; }
@supports (background-image: image-set(url(x.avif) type("image/avif"))) {
  .story-frame { background-image: image-set(url(/img/studio/studio-backdrop-800.avif) type("image/avif"), url(/img/studio/studio-backdrop-800.webp) type("image/webp")); }
}
.story-viewer { width: min(100%, 100cqh, 620px); aspect-ratio: 1; height: auto; max-height: 100%; }
.story-frame { container-type: size; }
.story-focus { position: absolute; left: 14px; bottom: 12px; margin: 0; font: 600 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-hi); background: rgba(23, 22, 20, .82); padding: 6px 10px; border-radius: 4px; }
.story-focus:empty { display: none; }
.story-sel { margin: 0; font: 13.5px var(--font-body); color: var(--muted); text-align: center; }
.chapters { display: grid; }
.chapter { min-height: 88svh; padding: clamp(56px, 10vh, 120px) 0; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--border); }
.chapter:last-child { border-bottom: 0; }
.chapter h2 { font-size: clamp(32px, 3.6vw, 52px); margin: 10px 0 16px; }
.ch-lede { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin: 0 0 26px; }
.chapter .k-chip { margin-top: 16px; align-self: flex-start; }
.chapter > .k-seg, .mono-form .k-seg { align-self: flex-start; justify-self: start; }
.chapter > .fine { margin-top: 14px; max-width: 56ch; }

.fabric-list { display: grid; gap: 8px; }
.fabric-list button { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; min-height: 76px; padding: 8px 14px 8px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .18s, background .18s; }
.fabric-list button:hover { border-color: var(--border-strong); background: var(--surface-2); }
.fabric-list button[aria-checked="true"] { border-color: var(--sage); background: #262a21; box-shadow: inset 0 0 0 1px var(--sage); }
.fabric-list .sw { width: 64px; height: 60px; border-radius: 5px; overflow: hidden; display: block; }
.fabric-list .sw svg { width: 100%; height: 100%; display: block; }
.fabric-list .nm { font: 600 14.5px var(--font-body); display: block; }
.fabric-list .hand { font: 13px/1.45 var(--font-body); color: var(--muted); display: block; }
.fabric-list .meta { font: 12px var(--font-body); color: var(--faint); display: block; margin-top: 2px; }
.fabric-list .adj { font: 600 12.5px var(--font-body); color: var(--bronze-hi); white-space: nowrap; }
.spec { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: rgba(33, 31, 27, .6); }
.spec dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: 13.5px; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; color: var(--muted); }

.mono-form { display: grid; gap: 4px; max-width: 460px; }
.mono-form .field { display: grid; gap: 8px; }
.mono-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 14px; }
.form-msg { min-height: 1.4em; margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.form-msg.err { color: var(--err); }
.form-msg.warn { color: var(--warn); }
.form-msg.ok { color: var(--ok); }

.fit-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; }
.fit-figure { aspect-ratio: 120 / 200; border: 1px solid var(--border); border-radius: 8px; padding: 8px; background: rgba(33, 31, 27, .6); }
.fit-figure svg { width: 100%; height: 100%; display: block; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.m-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-left: 2px solid transparent; background: none; color: var(--muted); font: 500 14px var(--font-body); text-align: left; cursor: pointer; }
.m-list button:hover { color: var(--text); background: rgba(242, 236, 224, .04); }
.m-list button[aria-pressed="true"] { color: var(--text); border-left-color: var(--bronze); background: rgba(201, 164, 106, .08); }
.m-list .r { font: 12px var(--font-body); color: var(--faint); white-space: nowrap; }
.fit-explain { margin: 18px 0 0; padding: 14px 16px; border-left: 2px solid var(--bronze); background: rgba(33, 31, 27, .6); font-size: 14.5px; color: var(--muted); min-height: 5.5em; }
.fit-explain strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 4px; }
.fit-explain .note { display: block; margin-top: 6px; color: var(--faint); font-size: 13px; }
.k-options.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#scan-note { margin-top: 14px; }

.build-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 2px; counter-reset: b; }
.build-list button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; text-align: left; padding: 10px 12px; min-height: 44px; border: 0; border-left: 2px solid transparent; background: none; color: var(--muted); cursor: pointer; }
.build-list button:hover { background: rgba(242, 236, 224, .04); color: var(--text); }
.build-list button[aria-pressed="true"] { border-left-color: var(--bronze); background: rgba(201, 164, 106, .08); color: var(--text); }
.build-list .n { font: 600 11px var(--font-body); letter-spacing: .12em; color: var(--bronze); padding-top: 3px; }
.build-list .t { font: 600 14.5px var(--font-body); color: var(--text); }
.build-list .d { grid-column: 2; font-size: 13.5px; line-height: 1.5; }
.pattern-figure { margin: 0; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: #1b1916; }
.pattern-figure img { width: 100%; height: auto; display: block; opacity: .9; }
.pattern-figure figcaption { font-size: 12.5px; color: var(--faint); margin-top: 8px; }

/* ---------- bands after the story ---------- */
.band { padding: clamp(64px, 10vw, 120px) 0; border-top: 1px solid var(--border); }
.band-quiet { background: var(--bg-2); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.band-head h2 { font-size: clamp(32px, 3.6vw, 52px); margin: 0; }
.band-head p { color: var(--muted); margin: 0; max-width: 46ch; }
.examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.ex-g { aspect-ratio: 1; border-radius: 6px; background: #1a1815 url(/img/studio/studio-backdrop-800.webp) center 40% / cover; }
.ex-g svg { width: 100%; height: 100%; display: block; }
.ex h3 { font-size: 22px; margin: 4px 0 0; }
.ex .tags { font-size: 12.5px; color: var(--faint); margin: 0; }
.ex .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex .price { font: 600 13.5px var(--font-body); color: var(--bronze-hi); }
.ex .colour-pick button { width: 44px; height: 44px; }
.ex .colour-pick button i { width: 24px; height: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.checks li { padding: 24px 22px 8px 0; border-right: 1px solid var(--border); margin-right: 22px; }
.checks li:last-child { border-right: 0; margin-right: 0; }
.checks .n { font: 600 11px var(--font-body); letter-spacing: .14em; color: var(--bronze); }
.checks h3 { font-size: 22px; margin: 10px 0 8px; }
.checks p { color: var(--muted); font-size: 14px; margin: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; }
.faq-wrap h2 { font-size: clamp(32px, 3.6vw, 52px); margin: 0 0 16px; }
.faq h3 { font: 600 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 30px 0 6px; }
.faq h3:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 10px 0; font: 500 16px var(--font-body); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px var(--font-body); color: var(--bronze); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { color: var(--muted); margin: 0 0 18px; max-width: 64ch; font-size: 14.5px; }
.faq details ul { padding-left: 18px; display: grid; gap: 6px; }
.final { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 56px); border-top: 1px solid var(--border); background: radial-gradient(ellipse 40% 60% at 32% 50%, rgba(242, 228, 200, .06), transparent 70%); }
.final-garment { aspect-ratio: 1; }
.final-garment svg { width: 100%; height: 100%; display: block; }
.final h2 { font-size: clamp(34px, 4vw, 56px); margin: 0 0 14px; }
.final .lede { margin-bottom: 26px; }

/* scroll reveal: only when JS ran and motion is allowed; nothing is hidden otherwise */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js-reveal .rv.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy stage" "panel stage"; align-items: start; }
  .hero-copy { align-self: end; }
  .hero-panel { align-self: start; }
  .hero-viewer { width: min(100%, 600px); }
  .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "panel"; min-height: 0; padding-top: 22px; gap: 14px; background-position: center 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(23, 22, 20, .55), rgba(23, 22, 20, 0) 30%, rgba(23, 22, 20, 0) 62%, rgba(23, 22, 20, .7)); }
  .hero h1 { font-size: clamp(36px, 10.5vw, 52px); margin-bottom: 12px; }
  .kicker { margin-bottom: 10px; }
  .hero-actions { margin: 16px 0 0; }
  .hero-copy .fine, .hero-actions .k-link { display: none; }
  .hero-viewer { width: min(100%, 52svh, 520px); min-width: 0; }
  .drag-hint { display: none; }
  .hero-panel { padding: 16px; }
  .fabric-pick { gap: 2px; }
  .fabric-pick button { font-size: 11px; padding-inline: 0; }
  .fabric-pick .sw { width: 40px; height: 40px; }

  .story { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .story-stage { top: var(--head-h); height: auto; max-height: none; padding: 8px 16px; z-index: 5; background: rgba(23, 22, 20, .96); border-bottom: 1px solid var(--border); grid-template-rows: auto; }
  .story-frame { height: min(29svh, 270px); container-type: size; }
  .story-viewer { width: auto; height: 100%; }
  .story-focus { left: 8px; bottom: 8px; font-size: 10px; }
  .story-sel { display: none; }
  .chapters { padding: 0 16px; }
  .chapter { min-height: 0; padding: 48px 0 56px; }
  .fit-grid { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .k-options.three { grid-template-columns: minmax(0, 1fr); }
  .band-head { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .final { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .final-garment { width: min(70vw, 300px); }
  .final .lede { margin-inline: auto; }
}
@media (max-width: 560px) {
  .examples { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .checks li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .fabric-list button { grid-template-columns: 52px minmax(0, 1fr); }
  .fabric-list .sw { width: 52px; height: 52px; }
  .fabric-list .adj { grid-column: 2; }
  .hero-actions .k-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .k-btn span[aria-hidden], .colour-pick button i, .faq summary::after { transition: none; }
}
