/* ===== Tokens ===== */
:root {
  --ink: #17181C;
  --ink-2: #1F2126;
  --paper: #F4F4F1;
  --stone: #E7E7E2;
  --stone-2: #D8D8D2;
  --walnut: #5C7C9C;
  --brass: #5C7C9C;
  --accent: #5C7C9C;
  --muted: #5A5E63;
  --line: rgba(23, 24, 28, .12);

  --serif: 'Clash Display', 'Archivo', -apple-system, sans-serif;
  --sans: 'Satoshi', 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(52px, 8.2vw, 104px);
  --fs-h1: clamp(40px, 5.6vw, 72px);
  --fs-h2: clamp(32px, 4.2vw, 52px);
  --fs-h3: clamp(22px, 2.2vw, 28px);
  --fs-lead: clamp(17px, 1.5vw, 19px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 22px;
  --max: 1280px;
  --gutter: 24px;
  --section: 160px;
}
@media (max-width: 760px) { :root { --gutter: 16px; --section: 96px; } }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; font-variation-settings: 'opsz' 144; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.frame img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow { font: 500 13px/1 var(--sans); font-variant-caps: all-small-caps; letter-spacing: .06em; color: var(--walnut); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; }
.section { padding: var(--section) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; max-width: 760px; }
.section-head h2 { font-size: var(--fs-h2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s ease; }
.link:hover { color: var(--walnut); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 var(--sans); letter-spacing: -.005em;
  background: var(--ink); color: var(--paper);
  transition: transform .16s var(--ease-out), opacity .2s ease;
}
.btn:active { transform: scale(.97); }
.btn:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { opacity: 1; background: rgba(22,18,14,.04); }
.on-dark .btn { background: var(--paper); color: var(--ink); }
.on-dark .btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(247,243,237,.5); }
.btn[disabled] { background: var(--stone-2); color: var(--muted); cursor: not-allowed; opacity: 1; }
.btn-block { width: 100%; }

/* ===== Announcement + nav ===== */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 13px; padding: 10px var(--gutter); }
.nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.wordmark { display: inline-block; line-height: 0; }
.logo-img { height: 42px; width: auto; display: block; }
.footer .logo-img { height: 46px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.cart-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav .wrap { gap: 12px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); z-index: 40; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 18px; color: var(--ink); }
  .nav { position: relative; }
  .menu-btn { display: inline-flex; margin-left: auto; height: 36px; padding: 0 14px; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
}

/* ===== Hero ===== */
.hero-caption { display: none; font-size: 15px; color: rgba(247,243,237,.75); min-height: 4.4em; max-width: 30em; }
.hero-caption b { color: var(--brass); font-weight: 500; margin-right: 8px; }
.hero { background: var(--ink); color: var(--paper); }
.hero-stage { height: 100vh; height: 100svh; min-height: 640px; display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-copy { display: grid; gap: 32px; align-content: center; padding: 40px 0; }
@media (prefers-reduced-motion: reduce) { .hero-stage { height: auto; min-height: 0; padding-top: 32px; padding-bottom: 64px; } }
.hero h1 { font-size: clamp(52px, 6vw, 86px); line-height: 1; letter-spacing: -0.03em; max-width: 9.5em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { height: 100%; display: grid; align-items: center; }
.hero-art canvas { width: 100%; max-height: 86vh; aspect-ratio: 4 / 5; object-fit: contain; display: block; margin-left: auto; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; max-width: 420px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 8px 0; border-top: 1px solid rgba(247,243,237,.12); color: rgba(247,243,237,.42); transition: color .3s ease; }
.steps li .n { font: 500 13px/1.6 var(--sans); font-variant-numeric: tabular-nums; }
.steps li strong { font-weight: 500; }
.steps li p { grid-column: 2; font-size: 15px; line-height: 1.45; color: rgba(247,243,237,.7); max-height: 0; opacity: 0; overflow: hidden; transition: opacity .3s ease; }
.steps li.is-on { color: var(--paper); }
.steps li.is-on .n { color: var(--brass); }
.steps li.is-on p { max-height: 80px; opacity: 1; margin-top: 4px; }
.steps.all li p { max-height: 80px; opacity: 1; margin-top: 4px; }
@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding-top: 28px; align-items: start; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: clamp(42px, 11vw, 64px); }
  .hero .actions .btn { height: 44px; padding: 0 20px; font-size: 15px; }
  .steps { display: none; }
  .hero-art { min-height: 0; height: 100%; overflow: hidden; display: flex; justify-content: center; padding-bottom: 12px; }
  .hero-art canvas { height: 100%; max-height: none; width: auto; max-width: 100%; margin: 0 auto; }
  .hero-caption { display: block; }
}

/* ===== Horizontal rows ===== */
.row { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--stone-2) transparent; overscroll-behavior-x: contain; }
.row > * { scroll-snap-align: start; }
.row-cats { grid-auto-columns: minmax(220px, 260px); }
.row-products { grid-auto-columns: minmax(260px, 300px); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.row-head h2 { font-size: var(--fs-h2); }
.row-nav { display: flex; gap: 8px; }
.row-nav button { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: transform .16s var(--ease-out); }
.row-nav button:active { transform: scale(.94); }
@media (max-width: 760px) { .row-nav { display: none; } }

.cat { background: var(--stone); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; min-height: 172px; align-content: space-between; transition: background-color .2s ease; }
.cat:hover { background: var(--stone-2); }
.cat h3 { font-size: 22px; }
.cat p { font-size: 14px; color: var(--muted); }
.cat .count { font-size: 13px; color: var(--walnut); }

/* ===== Product cards ===== */
.card { display: grid; gap: 14px; align-content: start; }
.frame { background: var(--stone); border-radius: var(--radius); aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.frame svg { width: 100%; height: 100%; }
.frame .render { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.frame-tag { position: absolute; top: 6%; left: 6%; font-size: 15px; font-weight: 500; }
.frame-note { position: absolute; right: 6%; bottom: 4%; font-size: 12px; color: var(--muted); }
.card .frame-note { top: 6%; bottom: auto; font-size: 11px; }
.kit-part .frame-tag, .kit-part .frame-note, .line-item .frame-tag, .line-item .frame-note { display: none; }
.art-tag { font: 500 15px var(--sans); fill: var(--ink); }
.art-note { font: 400 11px var(--sans); fill: var(--muted); }
.art-name { font: 400 26px var(--serif); fill: var(--ink); }
.art-sub { font: 400 15px var(--sans); fill: var(--muted); }
.card-body { display: grid; gap: 4px; }
.card-title { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.card-body p { font-size: 15px; color: var(--muted); }
.card .sizes { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pill { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; transition: background-color .2s ease, color .2s ease; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.card.is-pending .card-title span:last-child { color: var(--muted); font-weight: 400; font-size: 14px; }
.grid { display: grid; gap: 40px 20px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* ===== Kits ===== */
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit { background: var(--stone); border-radius: var(--radius); padding: 32px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 20px; }
.kit.is-featured { background: var(--ink); color: var(--paper); }
.kit .price { font: 400 44px/1 var(--serif); letter-spacing: -.02em; }
.kit h3 { font-size: 30px; }
.kit p.line { color: var(--muted); font-size: 15px; }
.kit.is-featured p.line, .kit.is-featured .contents li { color: rgba(247,243,237,.72); }
.contents { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 15px; }
.contents li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.kit.is-featured .contents li { border-color: rgba(247,243,237,.14); }
.contents .added { color: var(--walnut); }
.kit.is-featured .contents .added { color: var(--brass); }
.status { font-size: 12px; color: var(--muted); white-space: nowrap; }
.kit.is-featured .status { color: rgba(247,243,237,.5); }
.kit-foot { display: grid; gap: 12px; }
.kit-foot small { font-size: 13px; color: var(--muted); }
.kit.is-featured .kit-foot small { color: rgba(247,243,237,.6); }
.kit-sizes { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .kits { grid-template-columns: 1fr; } }

/* ===== Configurator ===== */
.config { background: var(--stone); border-radius: 20px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.config-steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 4px; }
.config-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; color: var(--muted); font-size: 15px; }
.config-steps li .n { font-variant-numeric: tabular-nums; }
.config-steps li.is-on { color: var(--ink); }
.config-steps li.is-on .n { color: var(--brass); }
.config-steps li.is-done { color: var(--ink); }
.config-steps li small { grid-column: 2; display: block; color: var(--walnut); font-size: 13px; }
.config-panel { min-height: 360px; }
.config-panel h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tile { text-align: left; background: var(--paper); border-radius: 12px; padding: 18px; min-height: 76px; display: grid; align-content: center; gap: 2px; font-weight: 500; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s ease, transform .16s var(--ease-out); }
.tile small { font-weight: 400; color: var(--muted); font-size: 13px; }
.tile:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.tile:active { transform: scale(.98); }
.config-back { margin-top: 24px; font-size: 14px; color: var(--muted); }
.config-back:hover { color: var(--ink); }
.panel-in { animation: panelIn .24s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.result { display: grid; gap: 24px; }
.result-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.result-top .price { font: 400 44px/1 var(--serif); }
.result .size-big { font: 400 clamp(36px, 5vw, 56px)/1 var(--serif); letter-spacing: -.02em; }
.note { background: var(--paper); border-radius: 12px; padding: 16px 18px; font-size: 15px; border-left: 3px solid var(--brass); }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; }
.reasons li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.reasons li span:last-child { color: var(--muted); }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); border-radius: 12px; padding: 16px 18px; font-size: 15px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .config { grid-template-columns: 1fr; gap: 24px; }
  .config-steps { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .config-steps li { grid-template-columns: 1fr; text-align: center; gap: 0; font-size: 12px; }
  .config-steps li .lbl, .config-steps li small { display: none; }
  .config-steps li { border-bottom: 2px solid var(--stone-2); }
  .config-steps li.is-on, .config-steps li.is-done { border-color: var(--ink); }
  .reasons li { grid-template-columns: 1fr; gap: 2px; }
}

/* ===== Distributor section ===== */
.dark { background: var(--ink); color: var(--paper); }
.dark .lead { color: rgba(247,243,237,.7); }
.dark .eyebrow { color: var(--brass); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: var(--fs-h1); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare figure { margin: 0; display: grid; gap: 12px; }
.compare figcaption { font-size: 14px; color: rgba(247,243,237,.7); }
.compare figcaption strong { display: block; color: var(--paper); font-weight: 500; font-size: 15px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ===== Diagnosis ===== */
.diag { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.diag article { padding: 32px 32px 8px 0; display: grid; gap: 14px; align-content: start; }
.diag article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.diag h3 { font-size: 28px; }
.diag dl { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.diag dt { font-variant-caps: all-small-caps; letter-spacing: .06em; color: var(--walnut); font-weight: 500; }
.diag dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .diag { grid-template-columns: 1fr; }
  .diag article, .diag article + article { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ===== Standard ===== */
.standard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.standard div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.standard h3 { font-size: 24px; }
.standard p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .standard { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .standard { grid-template-columns: 1fr; } }

/* ===== Reviews ===== */
.reviews-wrap { text-align: center; display: grid; gap: 20px; justify-items: center; }
.reviews-wrap h2 { font-size: var(--fs-h2); max-width: 15em; }
.row-reviews { grid-auto-columns: minmax(280px, 340px); text-align: left; margin-top: 32px; width: calc(100% + var(--gutter) * 2); }
.review-slot { border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; min-height: 180px; display: grid; align-content: space-between; color: var(--muted); font-size: 15px; }
.review-slot span { font-family: var(--serif); font-size: 22px; color: var(--ink); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(247,243,237,.72); padding: 96px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { margin: 0 0 14px; color: var(--paper); font: 500 13px/1 var(--sans); font-variant-caps: all-small-caps; letter-spacing: .06em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--paper); }
.footer .wordmark { color: var(--paper); display: inline-flex; margin-bottom: 18px; }
.footer-base { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(247,243,237,.12); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ===== Cart drawer ===== */
.drawer-scrim { position: fixed; inset: 0; background: rgba(22,18,14,.32); opacity: 0; pointer-events: none; transition: opacity .24s ease; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 90; transform: translateX(100%); transition: transform .28s var(--ease-out); display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; }
.cart-open .drawer { transform: none; visibility: visible; }
.cart-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer header, .drawer footer { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer header { border-bottom: 1px solid var(--line); }
.drawer footer { border-top: 1px solid var(--line); display: grid; }
.drawer-items { overflow-y: auto; padding: 8px 24px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.line-item .frame { border-radius: 8px; }
.line-item small { color: var(--muted); display: block; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.total { display: flex; justify-content: space-between; font-weight: 500; }
.drawer footer p { font-size: 13px; color: var(--muted); }

/* ===== Product page ===== */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; padding: 48px 0 var(--section); align-items: start; }
.pdp-media .frame { transition: opacity .2s ease; }
.pdp-media .frame.is-swapping { opacity: 0; }
.pdp-info { display: grid; gap: 20px; position: sticky; top: 24px; }
.pdp-info h1, .pdp-info h2 { font-size: clamp(36px, 4vw, 52px); }
.pdp-info .v { display: block; color: var(--walnut); font-size: .55em; letter-spacing: -.01em; margin-top: 8px; }
.pdp-price { font: 400 32px/1 var(--serif); }
.size-select { display: grid; gap: 8px; }
fieldset.size-select { border: 0; margin: 0; padding: 0; min-width: 0; }
.size-select legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.size-opts { display: grid; gap: 8px; }
.size-opt { text-align: left; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; transition: box-shadow .2s ease; }
.size-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .size-row { grid-template-columns: 1fr; } }
.size-opt strong { font-weight: 500; }
.size-opt small { color: var(--muted); font-size: 13px; }
.size-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.facts { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.facts li { padding: 10px 0; border-top: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a:hover { color: var(--ink); }
.pdp-ship { font-size: 14px; color: var(--muted); }
.kit-parts { display: grid; gap: 0; }
.kit-part { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kit-part .frame { border-radius: 8px; }
.kit-part small { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; } .pdp-info { position: static; } }

/* ===== Page heads + prose ===== */
.page-head { padding: 72px 0 48px; display: grid; gap: 18px; }
.page-head h1 { font-size: var(--fs-h1); max-width: 14em; }
.prose { max-width: 680px; display: grid; gap: 20px; font-size: 18px; }
.prose h2 { font-size: 34px; margin-top: 32px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose p, .prose li { color: #3D352D; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: var(--stone); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; min-height: 240px; align-content: space-between; transition: background-color .2s ease; }
.guide-card:hover { background: var(--stone-2); }
.guide-card .size-big { font: 400 56px/1 var(--serif); letter-spacing: -.02em; }
@media (max-width: 860px) { .guide-cards { grid-template-columns: 1fr; } }

/* ===== Reveal (fires once) ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Kit builder ---------- */
.b-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 18px; }
.b-rail { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; }
.b-chip button { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.b-chip.is-cur button { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.b-chip.is-done button { color: var(--ink); }
.b-chip button:disabled { opacity: .45; cursor: default; }
.b-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.b-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.b-step-h { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.b-why { color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.b-fit { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: start; }
.b-or { color: var(--muted); padding-top: 34px; }
.b-lab { display: block; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.b-sel { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); margin-bottom: 8px; }
.b-fitok { margin: 18px 0 0; }
.b-opts { display: grid; gap: 10px; }
.b-opt { display: grid; grid-template-columns: 120px 1fr; gap: 16px; text-align: left; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: none; font: inherit; cursor: pointer; align-items: center; }
.b-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.b-opt.is-off { opacity: .65; cursor: default; }
.b-opt .frame { aspect-ratio: 1; }
.b-opt-body { display: grid; gap: 4px; }
.b-opt-top { display: flex; justify-content: space-between; gap: 12px; }
.b-opt small { color: var(--muted); font-size: 13px; }
.b-details { margin-top: 16px; }
.b-fams { margin-bottom: 16px; }
.b-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.b-done-note { color: var(--muted); font-size: 14px; }
.b-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 18px; }
.b-sum-h { font-weight: 500; margin: 0 0 2px; }
.b-sum-fit { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.b-picks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.b-picks li { display: flex; justify-content: space-between; gap: 12px; }
.b-tot { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.b-grand { font-weight: 500; font-size: 16px; }
.b-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
@media (max-width: 860px) {
  .b-modes { grid-template-columns: 1fr; }
  .b-grid { grid-template-columns: 1fr; }
  .b-fit { grid-template-columns: 1fr; }
  .b-or { padding-top: 0; }
  .b-summary { position: static; }
  .b-opt { grid-template-columns: 84px 1fr; }
}
