/* popkiln.com design system (redesign approved 2026-10-16; mockups in /mockups).
   Kiln orange marks answers and actions; each trade wears a glaze (honey for bakers, plum for crochet).
   Motion is one thing at a time and switches off for reduced motion. Fonts are self-hosted (OFL). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-500-latin.woff2") format("woff2"); }

:root {
  --cream: #FFF7ED; --paper: #FFFFFF; --ink: #1C1917; --quiet: #57534E; --line: #EADBC8; --clay: #E7C3A0;
  --orange: #F47B20; --orange-deep: #B45309; --orange-soft: #FDE6D2;
  --honey: #B7780F; --honey-t: #FCEBC8; --plum: #84406F; --plum-t: #F3DDEB; --teal: #0F766E; --teal-t: #D3EEE9;
  --warn: #B42318; --glass: rgba(255, 247, 237, .74); --field: #FFFCF8;
  --kiln: #1C1917; --kiln-ink: #FFF7ED; --kiln-quiet: #D6D3D1;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --c: var(--orange-deep); --t: var(--orange-soft);
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #171412; --paper: #221E1B; --ink: #FFF7ED; --quiet: #D6D3D1; --line: #3A332E; --clay: #57483C;
    --orange: #F68A3A; --orange-deep: #F9A05A; --orange-soft: #3A2414;
    --honey: #F2C46B; --honey-t: #3A2D17; --plum: #E3A3CF; --plum-t: #36202F; --teal: #6FD0C4; --teal-t: #15332F;
    --warn: #F97066; --glass: rgba(23, 20, 18, .74); --field: #1B1816;
    --kiln: #0E0C0B; --kiln-quiet: #CFC8BF;
    color-scheme: dark;
  }
}
.t-bakers { --c: var(--honey); --t: var(--honey-t); }
.t-crochet { --c: var(--plum); --t: var(--plum-t); }

* { box-sizing: border-box; }
/* clip on both, not hidden: the title glows sit past the right edge (phones laid pages out 570px wide), and hidden would make body a scroll box and unstick the header */
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: clip; }
.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 0.85rem; color: var(--quiet); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 0.95rem var(--body); color: var(--ink); text-decoration: none; border: 1px solid var(--clay); background: var(--paper); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--orange); border-color: transparent; color: #1C1917; box-shadow: 0 10px 30px -12px var(--orange); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--orange); }
.btn.sm { padding: 9px 16px; font-size: 0.9rem; }

/* glass header */
.top { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: var(--glass); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { width: 118px; height: auto; display: block; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--orange-deep); }
.nav a[aria-current] { color: var(--c); font-weight: 600; box-shadow: inset 0 -2px 0 var(--c); }
.nav .btn { padding: 8px 16px; font-size: 0.9rem; }
@media (max-width: 680px) { .nav { gap: 16px; } .nav .hide { display: none; } }
@media (max-width: 420px) { .nav .btn { display: none; } }

/* page head (tool and trade pages) */
.pagehead { position: relative; padding-block: 30px 24px; }
.pagehead::before, .hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px; max-width: 110vw; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 62%); pointer-events: none; }
.crumbs { font-size: 0.85rem; color: var(--quiet); position: relative; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--orange-deep); }
.tag { display: inline-flex; margin-top: 16px; font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c); background: var(--t); padding: 5px 11px; border-radius: 999px; position: relative; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); margin-top: 12px; max-width: 20ch; position: relative; }
.lead { font-size: 1.1rem; color: var(--quiet); max-width: 40rem; margin-top: 14px; position: relative; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font: 500 0.8rem var(--mono); color: var(--quiet); position: relative; }
.trust span::before { content: "●"; color: var(--c); margin-right: 8px; font-size: .6rem; vertical-align: 2px; }

/* calculator workspace: inputs left, answer card right (sticky until the end of the form) */
.work { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 20px; align-items: start; }
.work > .card { grid-column: 1; }
.work > .card.res { grid-column: 2; grid-row: 1 / span var(--rows, 3); position: sticky; top: 84px; }
form > .wide { display: block; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; min-width: 0; container-type: inline-size; }
.card > h2, .card-head h2 { font-size: 1.45rem; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.num { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--t); color: var(--c); font: 800 1.1rem var(--display); }
.card-head p { font-size: 0.88rem; color: var(--quiet); }
.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.settings label { display: grid; gap: 6px; min-width: 0; align-content: start; }
.settings .wide { grid-column: 1 / -1; }
.lbl { display: block; font-size: 0.85rem; font-weight: 600; }
input[type=text], input[type=number], select { width: 100%; min-width: 0; height: 44px; font: 500 1rem var(--body); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; transition: border-color .2s, box-shadow .2s; font-variant-numeric: tabular-nums; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--c) 50%), linear-gradient(135deg, var(--c) 50%, transparent 50%); background-size: 6px 6px, 6px 6px; background-position: right 19px center, right 13px center; background-repeat: no-repeat; }
input[type=text]:hover, select:hover { border-color: var(--clay); }
input[type=text]:focus, select:focus { border-color: var(--c); box-shadow: 0 0 0 4px var(--t); outline: none; }
input[type=range] { width: 100%; accent-color: var(--c); }
.hint { font-size: 0.85rem; color: var(--quiet); margin-top: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.card .btn { padding: 9px 16px; font-size: 0.9rem; }
.seg { grid-column: 1 / -1; display: flex; gap: 6px; padding: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; }
.seg label { flex: 1; display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; color: var(--quiet); cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(28,25,23,.3); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* the answer card */
.res { box-shadow: 0 30px 60px -40px rgba(28,25,23,.45); overflow: hidden; position: relative; display: grid; gap: 16px; }
.res::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--honey)); }
.res .eyebrow-sm, .lbl-sm { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); }
.big { display: block; font: 800 1.9rem/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-num .big { font-size: clamp(2.8rem, 5.5vw, 3.9rem); letter-spacing: -0.03em; color: var(--orange-deep); }
.answer .lbl { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); margin-bottom: 6px; }
.answer.price .big { color: var(--orange-deep); }
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.bump { display: inline-block; transition: transform .25s cubic-bezier(.3,1.6,.5,1); transform-origin: left bottom; }
.bump.go { transform: scale(1.06); }
.results dl, dl.legend { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; font-size: 0.92rem; }
.results dt, dl.legend dt { color: var(--quiet); display: block; }
.results dd, dl.legend dd { margin: 0; text-align: right; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.results .sum { border-top: 1px solid var(--line); padding-top: 8px; color: var(--ink); font-weight: 600; }
i.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.stack { display: flex; height: 18px; border-radius: 99px; overflow: hidden; background: var(--cream); gap: 2px; }
.stack i { display: block; height: 100%; flex: 0 0 0; min-width: 0; transition: flex-grow .5s cubic-bezier(.2,.8,.3,1); }
.r-note { font-size: 0.9rem; color: var(--warn); font-weight: 600; }
.r-note:empty { display: none; }
.left-out { font-size: 0.85rem; color: var(--quiet); border-top: 1px solid var(--line); padding-top: 12px; }
.pill { display: flex; gap: 12px; align-items: center; background: var(--t); border-radius: 14px; padding: 12px 14px; }
.pill svg { width: 30px; height: 30px; color: var(--c); flex: none; }
.pill b { display: block; font: 800 1.15rem/1.2 var(--display); }
.pill span { font-size: 0.85rem; color: var(--quiet); }
.side-stack { display: grid; gap: 16px; }

/* compact answer card: it stays pinned, so it has to fit a laptop screen */
.res { padding: 22px; gap: 12px; }
.res > .card-head { margin-bottom: 0; }
.res > .card-head .num { display: none; }
.res > .card-head h2 { font: 500 0.75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.res .results { gap: 12px !important; }
.res .answers .big { font-size: 1.5rem; }
.res dl { gap: 5px 12px; font-size: 0.88rem; }
.res .left-out { font-size: 0.8rem; padding-top: 10px; }
.res .strip { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0 0; gap: 8px; }
.res .chips-g { grid-template-columns: 1fr 1fr; }
.res .gchip { grid-template-columns: 38px 1fr; padding: 6px 10px 6px 6px; gap: 8px; }
.res .gchip .ic { width: 38px; height: 38px; } .res .gchip .ic svg { width: 34px; height: 22px; }
.res .gchip small { display: none; }
.res .gchip span { font-size: 0.82rem; }
.res .strip .disc { font-size: 0.72rem; }

/* gear strip under the answer (approved) */
.strip { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 10px; }
.strip .q { font-size: 0.9rem; color: var(--quiet); }
.strip .q b { color: var(--ink); border-radius: 4px; padding: 0 2px; }
.chips-g { display: grid; gap: 8px; }
.gchip { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 7px 12px 7px 7px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--paper); min-width: 0; transition: border-color .2s, transform .2s; }
.gchip:hover { border-color: var(--g); transform: translateX(3px); }
.gchip .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--gt); display: grid; place-items: center; }
.gchip .ic svg { width: 40px; height: 25px; }
.gchip span { font-size: 0.88rem; font-weight: 600; line-height: 1.25; }
.gchip small { font-size: 0.78rem; color: var(--g); font-weight: 600; white-space: nowrap; }
.strip .disc { font-size: 0.76rem; color: var(--quiet); }
.strip.play .gchip { animation: rise .5s cubic-bezier(.2,.9,.3,1.2) both; }
.strip.play .gchip:nth-child(2) { animation-delay: .08s; } .strip.play .gchip:nth-child(3) { animation-delay: .16s; }
.strip.play .q b { animation: glow 1.4s ease both; }
@keyframes rise { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes glow { 0% { background: var(--honey-t); } 100% { background: transparent; } }
.g-plum { --g: var(--plum); --gt: var(--plum-t); } .g-honey { --g: var(--honey); --gt: var(--honey-t); }
.g-teal { --g: var(--teal); --gt: var(--teal-t); } .g-orange { --g: var(--orange-deep); --gt: var(--orange-soft); }

/* dynamic rows from the calculator scripts */
.ing-head, .ing { display: grid; grid-template-columns: 1.7fr 0.9fr 0.8fr 0.9fr 0.9fr 0.9fr 0.8fr 36px; gap: 8px; align-items: end; }
.ing-head { font-size: 0.78rem; color: var(--quiet); padding-bottom: 6px; }
.ing { padding: 10px 0; border-top: 1px solid var(--line); }
.ing .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f-cost output, .y-out output { display: block; padding: 10px 0; text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.row-msg { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; color: var(--warn); }
.row-msg:empty { display: none; }
.has-error input, .has-error select { border-color: var(--warn); }
.remove { width: 36px; height: 44px; border: 0; background: none; color: var(--quiet); font-size: 1.4rem; cursor: pointer; border-radius: 10px; }
.remove:hover { color: var(--warn); background: var(--cream); }
.tier { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line); }
.tier label, .scale-row label, .ing label, .yarn-row .f, .item-row .f { display: grid; gap: 6px; min-width: 0; }
.tier.tier4 { grid-template-columns: 1fr 1fr 1fr 1fr 36px; }
.servings-line { margin-top: 12px; font-size: 0.95rem; }
.servings-line strong { font-family: var(--display); font-size: 1.3rem; }
.pans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pan-box h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pan-box .settings { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.scale-row { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr 36px; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line); }
.s-out output { display: block; padding: 10px 0; font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.yarn-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 0.8fr 36px; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line); }
.yarn-row .lbl { font-size: 0.8rem; }
.item-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr 0.8fr 0.7fr 30px; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line); }
.item-row .lbl { font-size: 0.8rem; }
.item-row + .item-row .lbl { display: none; }
.r-list { max-height: 260px; overflow: auto; }
.x3 { display: grid; grid-template-columns: 10rem 1fr 16rem; gap: 6px 14px; align-items: center; padding: 14px; border-top: 1px solid var(--line); }
.x3:first-child { border-top: 0; }
.x3 b { grid-row: span 2; font-weight: 700; }
.x3 .bar { height: 10px; border-radius: 99px; background: var(--cream); overflow: hidden; }
.x3 .bar i { display: block; height: 100%; border-radius: inherit; background: var(--c); transform-origin: left; }
.x3 .bar i.lo { background: var(--clay); }
.x3 .v { font: 800 1.05rem var(--display); font-variant-numeric: tabular-nums; }
.x3 .v small { display: block; font: 400 0.8rem var(--body, inherit); color: var(--quiet); }
.go-on .x3 .bar i { animation: grow .7s cubic-bezier(.2,.8,.3,1) both; }
.scale-row + .scale-row .lbl, .tier4 + .tier4 .lbl, .yarn-row + .yarn-row .lbl { display: none; }
/* medium column: two rows per ingredient (pack on top, use and cost below) */
@container (max-width: 760px) {
  .ing-head { display: none; }
  .ing { grid-template-columns: 1.5fr 1fr 1fr 1fr 36px; gap: 6px 8px; padding: 12px 0; }
  .ing .lbl { position: static; width: auto; height: auto; clip: auto; font-size: 0.78rem; font-weight: 500; color: var(--quiet); }
  .f-name { grid-column: 1; grid-row: 1; } .f-price { grid-column: 2; grid-row: 1; } .f-size { grid-column: 3; grid-row: 1; }
  .f-punit { grid-column: 4; grid-row: 1; } .ing .remove { grid-column: 5; grid-row: 1; }
  .f-used { grid-column: 2; grid-row: 2; } .f-uunit { grid-column: 3; grid-row: 2; } .f-cost { grid-column: 4 / 6; grid-row: 2; }
  .ing .row-msg { grid-row: 3; }
}
@container (max-width: 520px) {
  .item-row { grid-template-columns: 1fr 1fr 36px; }
  .item-row > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; } .item-row > .remove { grid-column: 3; grid-row: 1; }
  .item-row > :nth-child(2) { grid-column: 1; grid-row: 2; } .item-row > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .item-row > :nth-child(4) { grid-column: 1; grid-row: 3; } .item-row > :nth-child(5) { grid-column: 2 / 4; grid-row: 3; }
  .item-row + .item-row .lbl { display: block; }
  .ing { grid-template-columns: 1fr 1fr 1fr 36px; }
  .f-name { grid-column: 1 / 4; grid-row: 1; } .ing .remove { grid-column: 4; grid-row: 1; }
  .f-price { grid-column: 1; grid-row: 2; } .f-size { grid-column: 2; grid-row: 2; } .f-punit { grid-column: 3 / 5; grid-row: 2; }
  .f-used { grid-column: 1; grid-row: 3; } .f-uunit { grid-column: 2; grid-row: 3; } .f-cost { grid-column: 3 / 5; grid-row: 3; }
  .ing .row-msg { grid-row: 4; }
}
@container (max-width: 640px) {
  .pans { grid-template-columns: 1fr; }
  .tier.tier4 { grid-template-columns: 1fr 1fr 36px; }
  .tier4 > .t-shape { grid-column: 1; grid-row: 1; } .tier4 > .t-size { grid-column: 2; grid-row: 1; } .tier4 > .remove { grid-column: 3; grid-row: 1; }
  .tier4 > .t-layers { grid-column: 1; grid-row: 2; } .tier4 > .t-height { grid-column: 2; grid-row: 2; }
  .scale-row { grid-template-columns: 1fr 1fr 36px; }
  .scale-row .s-name { grid-column: 1 / 3; } .scale-row .remove { grid-column: 3; grid-row: 1; }
  .scale-row .s-out { grid-column: 1 / 3; display: flex; justify-content: space-between; align-items: baseline; }
  .scale-row + .scale-row .lbl, .tier4 + .tier4 .lbl, .yarn-row + .yarn-row .lbl { display: block; }
  .yarn-row { grid-template-columns: 1fr 1fr 36px; }
  .yarn-row > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; } .yarn-row > .remove { grid-column: 3; grid-row: 1; }
  .yarn-row > :nth-child(2) { grid-column: 1; grid-row: 2; } .yarn-row > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .yarn-row > :nth-child(4) { grid-column: 1; grid-row: 3; } .yarn-row > :nth-child(5) { grid-column: 2 / 4; grid-row: 3; }
}
@container (max-width: 420px) { .settings { grid-template-columns: 1fr; } }

/* tables in cards (rate tables, servings) */
.table-wrap { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.tbl th { font: 500 0.7rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.current td { background: var(--t); font-weight: 600; color: var(--c); }

/* size chart (crochet blanket) */
section.block { padding-block: 64px; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 26px; }
.head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.head p { color: var(--quiet); max-width: 28rem; }
.chart { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 10px; display: grid; }
.srow { display: grid; grid-template-columns: 7rem 12.5rem 1fr 4.5rem 6.5rem; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; font-size: 0.95rem; }
.srow.th { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); padding-block: 8px; }
.srow .n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.srow .p { font: 800 1.05rem var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.srow .dim { color: var(--quiet); }
.srow .bar { height: 10px; border-radius: 99px; background: var(--cream); overflow: hidden; }
.srow .bar i { display: block; height: 100%; border-radius: inherit; background: var(--clay); transform-origin: left; }
.srow.current { background: var(--t); } .srow.current .bar i { background: var(--c); } .srow.current .p { color: var(--c); }
.go-on .srow .bar i, .go-on .vs i, .go-on .stack-fig i { animation: grow .7s cubic-bezier(.2,.8,.3,1) both; }
.go-on .srow:nth-child(n+3) .bar i { animation-delay: .1s; } .go-on .srow:nth-child(n+5) .bar i { animation-delay: .2s; } .go-on .srow:nth-child(n+7) .bar i { animation-delay: .3s; }
.go-on .vs div:nth-child(2) i { animation-delay: .3s; } .go-on .vs div:nth-child(3) i { animation-delay: .6s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }

/* call to action band */
.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--t); border-radius: 28px; padding: 30px; }
.cta-band .icon { width: 72px; height: 72px; border-radius: 20px; background: var(--paper); color: var(--c); display: grid; place-items: center; }
.cta-band .icon svg { width: 42px; height: 42px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: var(--quiet); margin-top: 6px; max-width: 42rem; }
.cta-band ul { margin: 10px 0 0; padding-left: 18px; color: var(--quiet); font-size: 0.95rem; columns: 2; column-gap: 28px; }
.cta-band li { margin-bottom: 4px; break-inside: avoid; }

/* guide: readable column, optional charts beside it */
.guide { display: grid; grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); gap: 48px; align-items: start; }
.guide.solo { grid-template-columns: minmax(0, 46rem); }
.prose h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 12px; }
.prose h3 { font-size: 1.35rem; margin-top: 30px; }
.prose p { margin-top: 14px; font-size: 1.04rem; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange-deep); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.95rem; }
.prose th { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.prose td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.prose .n { text-align: right; font-variant-numeric: tabular-nums; }
.prose tr.hl td { background: var(--t); font-weight: 600; }
.side { position: sticky; top: 84px; display: grid; gap: 16px; }
.fig { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.fig .src { font: 500 0.72rem var(--mono); color: var(--quiet); text-transform: uppercase; letter-spacing: .04em; }
.fig h3 { font-size: 1.22rem; line-height: 1.15; }
.fig .take { font-size: 0.88rem; color: var(--quiet); }
.donut { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.donut svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.donut .ring { fill: none; stroke: var(--t); stroke-width: 16; }
.donut .arc { fill: none; stroke: var(--c); stroke-width: 16; stroke-linecap: round; }
.go-on .donut .arc { animation: sweep 1.1s cubic-bezier(.2,.8,.3,1) both; }
@keyframes sweep { from { stroke-dasharray: 0 314.16; } }
.donut .big { font-size: 2.4rem; color: var(--c); }
.donut p { font-size: 0.88rem; color: var(--quiet); margin-top: 4px; }
.vs { display: grid; gap: 10px; }
.vs div { display: grid; gap: 4px; }
.vs span { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.vs b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.vs i { display: block; height: 12px; border-radius: 99px; transform-origin: left; }
.stack-fig { display: flex; height: 54px; border-radius: 12px; overflow: hidden; }
.stack-fig i { display: block; height: 100%; transform-origin: left; }

/* gear cards (approved): drawn art, wordmark stamp */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gcard { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.gcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px var(--g); border-color: var(--g); }
.gcard .art { aspect-ratio: 16 / 10; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; background: radial-gradient(120% 95% at 50% 8%, color-mix(in srgb, var(--paper) 55%, var(--gt)) 0%, var(--gt) 62%); }
.gcard .art .stamp { position: absolute; left: 14px; top: 12px; width: 58px; height: auto; color: var(--g); opacity: .55; }
.gcard .art .illo { position: relative; width: 92%; aspect-ratio: 16 / 10; height: auto; margin-top: 4%; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.gcard:hover .art .illo { transform: translateY(-4px) scale(1.03); }
.gcard b { font-size: 1rem; line-height: 1.3; }
.gcard p { font-size: 0.88rem; color: var(--quiet); }
.gcard .go { display: inline-flex; justify-content: center; padding: 10px 12px; border-radius: 12px; background: var(--g); color: var(--paper); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.disc { font-size: 0.8rem; color: var(--quiet); margin-top: 14px; }

/* related */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { border-radius: 22px; background: var(--paper); border: 1px solid var(--line); padding: 20px; text-decoration: none; display: grid; gap: 6px; align-content: start; transition: transform .2s, border-color .2s; min-width: 0; }
.rel:hover { transform: translateY(-3px); border-color: var(--c); }
.rel small { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.rel b { font: 800 1.2rem/1.15 var(--display); }
.rel span { color: var(--quiet); font-size: 0.9rem; }
.rel.feat { grid-template-columns: 120px 1fr; align-items: center; gap: 16px; background: var(--t); border-color: transparent; }
.rel.feat > div { display: grid; gap: 6px; min-width: 0; }
.rel.feat img { width: 120px; height: auto; border-radius: 12px; display: block; box-shadow: 0 12px 26px -16px rgba(28,25,23,.5); }

/* phone price bar */
.pbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: #1C1917; color: #FFF7ED; box-shadow: 0 20px 40px -18px rgba(28,25,23,.6); transition: transform .3s, opacity .3s; }
.pbar b { font: 800 1.5rem/1 var(--display); color: #F9A05A; font-variant-numeric: tabular-nums; }
.pbar small { display: block; font-size: 0.75rem; opacity: .8; }
.pbar a { background: #F47B20; color: #1C1917; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.pbar.away { transform: translateY(140%); opacity: 0; }

/* ---------- homepage ---------- */
.hero { position: relative; min-height: calc(100svh - 64px); display: flex; flex-direction: column; }
.hero > .wrap { flex: 1; width: 100%; min-width: 0; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; position: relative; padding-block: 40px; }
.home .hero::before { width: 760px; height: 760px; top: -160px; background: radial-gradient(circle, rgba(244,123,32,.30), transparent 62%); }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); }
.fired { background: linear-gradient(100deg, var(--orange) 10%, var(--honey) 60%, var(--orange) 95%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: kilnglow 7s ease-in-out infinite alternate; }
@keyframes kilnglow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.hero .lead { font-size: 1.2rem; max-width: 34rem; margin-top: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home .trust span::before { color: var(--orange); }
.stage { position: relative; height: 470px; }
.float { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 26px 50px -26px rgba(28,25,23,.35); will-change: transform; transition: transform .25s ease-out; text-decoration: none; }
.float small { display: block; font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); }
.float b { display: block; font: 800 2.3rem/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float span { font-size: 0.85rem; color: var(--quiet); }
.f1 { left: 4%; top: 6%; width: 58%; z-index: 3; } .f1 b { color: var(--orange-deep); font-size: 3rem; }
.f2 { right: 0; top: 0; width: 40%; background: var(--plum-t); border-color: transparent; z-index: 2; }
.f3 { right: 6%; top: 46%; width: 48%; z-index: 4; }
.f4 { left: 0; top: 60%; width: 40%; background: var(--honey-t); border-color: transparent; z-index: 1; }
.f5 { left: 30%; bottom: 0; width: 38%; background: var(--teal-t); border-color: transparent; z-index: 5; }
.bar1 { height: 8px; border-radius: 99px; background: var(--orange-soft); margin-top: 10px; overflow: hidden; }
.bar1 i { display: block; height: 100%; width: 72%; background: var(--orange); border-radius: inherit; }
.ticker { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; position: relative; z-index: 2; max-width: 100%; }
.ticker .track { display: flex; gap: 48px; width: max-content; padding-block: 14px; animation: tick 46s linear infinite; font: 800 1.02rem var(--display); white-space: nowrap; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .track a { text-decoration: none; } .ticker .track a:hover { color: var(--orange-deep); }
.ticker .track a { display: inline-flex; align-items: center; gap: 12px; }
.ticker .ti { width: 26px; height: 26px; color: var(--orange); flex: none; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.ticker .track a:hover .ti { transform: rotate(-10deg) scale(1.15); }
@keyframes tick { to { transform: translateX(-50%); } }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.tile h3 { font-size: 1.7rem; }
.tile p { color: var(--quiet); }
.chip { justify-self: start; font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); }
.chip.plain { background: var(--t); color: var(--c); }
.tile-main { grid-row: span 2; }
.more { font-weight: 600; text-decoration: none; color: var(--orange-deep); }
.more:hover { text-decoration: underline; }
.tool-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.tool-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-size: 0.92rem; font-weight: 600; transition: border-color .2s, transform .2s; }
.tool-links a:hover { border-color: var(--orange); transform: translateY(-2px); }
.tool-links .ti { width: 22px; height: 22px; color: var(--orange); flex: none; }
.tile-later { background: transparent; border-style: dashed; }
.try { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 12px; }
.try .q { font-size: 0.88rem; color: var(--quiet); display: flex; justify-content: space-between; gap: 10px; }
.try .q b { color: var(--ink); font: 500 0.88rem var(--mono); white-space: nowrap; }
.try .out { display: flex; justify-content: space-between; align-items: end; gap: 10px; flex-wrap: wrap; }
.try .out small { display: block; font-size: 0.8rem; color: var(--quiet); }
.try .price { font: 800 2.8rem/1 var(--display); color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button { font: 600 0.85rem var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.opts button:hover { border-color: var(--c); }
.opts button[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: var(--paper); }
.figs { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.figs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 0.88rem; }
.legend2 span { display: flex; gap: 8px; align-items: baseline; }
.legend2 i { width: 10px; height: 10px; border-radius: 3px; flex: none; transform: translateY(1px); }
.legend2 b { font-family: var(--mono); font-weight: 500; margin-left: auto; font-variant-numeric: tabular-nums; }
.shelves { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 16px; perspective: 1000px; }
.shelf { border-radius: 24px; overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); transition: transform .2s ease-out, box-shadow .3s; min-width: 0; }
.shelf:hover { box-shadow: 0 30px 60px -30px var(--c); }
.shelf .pic { aspect-ratio: 4 / 3; background: var(--t); display: grid; place-items: center; padding: 18px; }
.shelf .pic img, .shot img { display: block; width: 100%; max-width: 100%; height: auto; }
.shelf .pic img { border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(28,25,23,.45); }
.shelf .body { padding: 22px; display: grid; gap: 8px; align-content: start; }
.shelf .who { font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.shelf h3 { font-size: 2rem; }
.shelf ul { list-style: none; margin: 0; padding: 0; color: var(--quiet); font-size: 0.95rem; }
.shelf .go { font-weight: 600; color: var(--c); }
.next { border: 1.5px dashed var(--clay); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: center; min-width: 0; }
.next h3 { font-size: 1.6rem; }
.next p { color: var(--quiet); font-size: 0.95rem; }
.next a { color: var(--orange-deep); font-weight: 600; }
.feature { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.feature h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.steps-ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps-ol li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; counter-increment: s; }
.steps-ol li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font: 800 1.1rem var(--display); }
.steps-ol b { display: block; }
.steps-ol span { color: var(--quiet); font-size: 0.95rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.buy .amount { font: 800 2.4rem/1 var(--display); }
.shot { border-radius: 26px; background: var(--orange-soft); padding: 26px; max-width: 30rem; justify-self: center; width: 100%; display: grid; place-items: center; overflow: hidden; }
.shot img { border-radius: 14px; box-shadow: 0 30px 60px -28px rgba(28,25,23,.5); animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
.feature.flip { grid-template-columns: 1.05fr 0.95fr; }
.feature.flip > .shot { order: -1; background: var(--plum-t); }
.feature.flip .eyebrow { color: var(--plum); }
.template .ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.template .ticks li { display: flex; gap: 10px; align-items: baseline; color: var(--ink, inherit); }
.template .ticks li::before { content: "\2726"; color: var(--c); font-size: .8rem; }
@keyframes settle { from { transform: scale(.88) rotate(-2deg); } to { transform: none; } }
.kiln { background: var(--kiln); color: var(--kiln-ink); position: relative; overflow: hidden; }
.kiln::before { content: ""; position: absolute; left: 50%; bottom: -380px; width: 900px; height: 600px; max-width: 160vw; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(244,123,32,.45), transparent 65%); animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .65; } to { opacity: 1; } }
.kiln .wrap { position: relative; }
.kiln .eyebrow { color: #F9A05A; }
.kiln h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 16ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.pillar { border: 1px solid rgba(255,247,237,.14); border-radius: 22px; padding: 24px; background: rgba(255,247,237,.04); display: grid; gap: 10px; }
.pillar b { font: 800 1.35rem var(--display); }
.pillar p { color: var(--kiln-quiet); font-size: 0.95rem; }
.pillar .n { font: 500 0.75rem var(--mono); color: #F9A05A; letter-spacing: .05em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.stats div { display: grid; gap: 2px; }
.stats b { font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: #F9A05A; font-variant-numeric: tabular-nums; }
.stats span { color: var(--kiln-quiet); font-size: 0.92rem; }
.updates { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 36px; }
.updates h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.updates p { color: var(--quiet); margin-top: 10px; }
.updates .side-u { display: grid; gap: 8px; justify-items: start; }
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about p { color: var(--quiet); margin-bottom: 14px; font-size: 1.05rem; }
.follow { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 8px; justify-items: start; margin-top: 8px; }
.follow h3 { font-size: 1.25rem; }

/* ---------- trade pages ---------- */
.trade-hero { position: relative; padding-block: 22px 34px; }
.trade-hero > .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; }
.trade-hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.5rem); margin-top: 14px; }
.trade-hero h1 em { font-style: normal; color: var(--c); }
.trade-hero .lead { max-width: 33rem; font-size: 1.08rem; }
.trade-hero .stage { height: 310px; }
.trade-hero .float { padding: 13px 16px; }
.trade-hero .float b { font-size: 1.75rem; }
.trade-hero .f1 { left: 2%; top: 2%; width: 54%; } .trade-hero .f1 b { font-size: 2.5rem; }
.trade-hero .f3 { right: 0; top: 40%; width: 54%; }
.trade-hero .f4 { top: 54%; width: 38%; }
.trade-hero .f5 { left: 30%; width: 40%; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tools.many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* one card on its own row lies on its side: words left, picture right */
.tools.wide-one { grid-template-columns: 1fr; }
.tools.wide-one .tool { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.tools.wide-one .tool .pic { height: 280px; padding: 22px 22px 0; }
@media (max-width: 760px) { .tools.wide-one .tool { grid-template-columns: 1fr; } .tools.wide-one .tool .pic { height: 190px; } }
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-width: 0; text-decoration: none; transition: box-shadow .3s, border-color .3s; }
.tool:hover { box-shadow: 0 30px 60px -34px var(--c); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.tool .pic { background: var(--t); padding: 18px 22px 0; height: 190px; overflow: hidden; }
.tools.many .tool .pic { height: 150px; }
.tool .pic img { display: block; width: 100%; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 18px 40px -20px rgba(28,25,23,.45); transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.tool:hover .pic img { transform: translateY(-10px); }
.tool .body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tool h3 { font-size: 1.55rem; }
.tools.many .tool h3 { font-size: 1.3rem; }
.tool p { color: var(--quiet); }
.tool .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.tool .foot b { font: 800 1.3rem var(--display); }
.tool .open, .open { font-weight: 600; color: var(--c); text-decoration: none; white-space: nowrap; }
.open:hover { text-decoration: underline; }
.template { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--t); border-radius: 30px; padding: 36px; text-decoration: none; }
.template img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(28,25,23,.45); }
.template h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.template p { color: var(--quiet); margin-top: 12px; }
.template .buy { margin-top: 18px; }
.qa { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.qa-head { position: sticky; top: 96px; }
.qa-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.qa-head p { color: var(--quiet); margin-top: 12px; max-width: 22rem; }
.qa-list { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 6px 26px; }
.qrow { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; padding-block: 24px; align-items: start; }
.qrow + .qrow { border-top: 1px solid var(--line); }
.qfig b { display: block; font: 800 2.2rem/1.05 var(--display); color: var(--c); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.qfig b.sm { font-size: 1.6rem; }
.qfig span { display: block; font-size: 0.82rem; color: var(--quiet); margin-top: 6px; }
.qrow h3 { font-size: 1.25rem; line-height: 1.2; }
.qrow p { color: var(--quiet); margin-top: 8px; font-size: 0.97rem; }
.qrow a { display: inline-block; margin-top: 10px; color: var(--c); font-weight: 600; text-decoration: none; }
.qrow a:hover { text-decoration: underline; }
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--t); border-radius: 30px; padding: 36px; }
.soon h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.soon p { color: var(--quiet); margin-top: 12px; }
.soon ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.soon li { display: flex; gap: 10px; align-items: baseline; }
.soon li::before { content: "✦"; color: var(--c); font-size: .8rem; }
.sheet { background: var(--paper); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(28,25,23,.45); transform: rotate(1.5deg); font-size: 0.82rem; min-width: 0; }
.sheet .bar { height: 10px; border-radius: 4px; background: var(--c); margin-bottom: 10px; width: 40%; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th { font: 500 0.66rem var(--mono); text-transform: uppercase; color: var(--quiet); text-align: left; padding: 6px; border-bottom: 1px solid var(--line); }
.sheet td { padding: 7px 6px; border-bottom: 1px solid var(--line); }
.sheet .n { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.sheet .ok { color: var(--teal); font-weight: 600; } .sheet .low { color: var(--warn); font-weight: 600; }
.sheet .wm { margin-top: 10px; font: 500 0.66rem var(--mono); color: var(--quiet); text-transform: uppercase; letter-spacing: .05em; }

/* simple text pages (privacy) */
.doc { max-width: 46rem; padding-block: 30px 20px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 32px; }
.doc p, .doc li { color: var(--quiet); margin-top: 12px; }
.doc a { color: var(--orange-deep); }

/* footer */
footer.site { padding-block: 56px 40px; border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; font-size: 0.92rem; }
footer.site h4 { font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); margin: 0 0 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { text-decoration: none; } footer.site a:hover { color: var(--orange-deep); }
footer.site .fine { grid-column: 1 / -1; color: var(--quiet); font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 960px) {
  .work, .guide { grid-template-columns: 1fr; }
  .work > .card.res { grid-column: 1; grid-row: auto; position: static; }
  .side, .qa-head { position: static; }
  .pbar { display: flex; }
  .side { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; } .rel.feat { grid-column: 1 / -1; }
  .hero > .wrap, .trade-hero > .wrap, .feature, .updates, .about, .soon, .template { grid-template-columns: 1fr; }
  .feature.flip { grid-template-columns: 1fr; } .feature.flip > .shot { order: 0; }
  .stage { height: 420px; }
  .figs, .figs.three { grid-template-columns: 1fr 1fr; } .figs .fig:first-child { grid-column: 1 / -1; }
  .shelves { grid-template-columns: 1fr 1fr; } .next { grid-column: 1 / -1; }
  .tools.many { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr; gap: 20px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .cards, .related, .side, .bento, .shelves, .pillars, .figs, .figs.three, .stats, .tools, .tools.many { grid-template-columns: 1fr; }
  .tile-main { grid-row: auto; }
  .card { padding: 20px 18px; }
  .srow { grid-template-columns: 1fr auto auto; gap: 4px 14px; }
  .srow .dim { grid-column: 1; grid-row: 2; font-size: 0.82rem; }
  .srow .bar { grid-column: 1 / -1; grid-row: 3; }
  .srow .n.h, .srow.th .dim, .srow.th .barh { display: none; }
  .cta-band { grid-template-columns: 1fr; } .cta-band ul { columns: 1; }
  .rel.feat { grid-template-columns: 88px 1fr; } .rel.feat img { width: 88px; }
  .qrow { grid-template-columns: 1fr; gap: 8px; } .qa-list { padding: 4px 20px; }
  .soon, .updates, .template { padding: 26px 20px; }
  .stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .stage .float { position: static; width: auto; transform: none !important; min-width: 0; }
  .stage .f1 { grid-column: 1 / -1; }
  .stage .float b { font-size: 1.7rem; } .stage .f1 b { font-size: 2.4rem; }
  .trade-hero .stage { display: none; }
  .hero { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 640px) { .x3 { grid-template-columns: 1fr 9rem; } .x3 b { grid-row: auto; grid-column: 1 / -1; } }

/* see inside the sheet: three real sheet screens under the sheet band on calculator pages */
.peek { padding-top: 34px; display: grid; gap: 16px; }
.peek-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.peek-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.peek-head p { color: var(--quiet); }
.peek-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.peek figure { margin: 0; display: grid; gap: 8px; }
.peek img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(28,25,23,.45); background: var(--paper); }
.peek figcaption { font-weight: 600; font-size: 0.95rem; }
.peek-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--quiet); font-size: 0.9rem; }
@media (max-width: 760px) { .peek-row { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; } .peek figure { scroll-snap-align: start; } }

/* homepage hero: the headline says what Popkiln is, the slogan sits under it; cards placed so none overlap */
.hero h1.say { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
.motto { font: 800 1.35rem var(--display); color: var(--quiet); margin-top: 12px; letter-spacing: -0.01em; }
.hero .f1 { left: 0; top: 0; width: 56%; }
.hero .f2 { right: 0; top: 4%; width: 38%; }
.hero .f3 { right: 0; top: 33%; width: 52%; }
.hero .f4 { left: 0; top: 37%; width: 42%; }
.hero .f5 { left: 20%; top: auto; bottom: 2%; width: 48%; }
.hero .float small { white-space: nowrap; }

/* homepage Watch tile: the three channels */
.tile-watch .watch { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tile-watch .watch a { display: grid; gap: 2px; text-decoration: none; color: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.tile-watch .watch a:hover { border-color: var(--orange); }
.tile-watch .watch b { font-weight: 700; }
.tile-watch .watch span { color: var(--quiet); font-size: 0.9rem; }
.tile-watch .watch .companion { margin-top: 6px; margin-left: 14px; border-style: dashed; border-color: var(--orange); background: var(--cream); }
.tile-watch .watch .companion small { font: 500 0.7rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--orange); }

/* when a calculator's example prices are from */
.dated { display: flex; gap: 6px; align-items: center; margin: 8px 0 12px; font: 500 0.75rem var(--mono); color: var(--quiet); letter-spacing: .02em; }
.dated svg { width: 14px; height: 14px; flex: none; color: var(--c, var(--orange)); }

/* price per cookie: the working, one line per step */
.working .lbl { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); }
.working ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: w; display: grid; gap: 8px; }
.working li { counter-increment: w; display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; font-size: 0.9rem; }
.working li::before { content: counter(w); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); font: 600 0.75rem/20px var(--mono); text-align: center; }
.working li span { color: var(--quiet); font-size: 0.8rem; }
.working li b { font: 500 0.92rem var(--mono); }

/* a one-line pointer under a page head, to a page that fits the visitor better */
.pagehead .aside { margin-top: 14px; font-size: 0.95rem; color: var(--quiet); }
.pagehead .aside a { color: var(--ink); font-weight: 600; text-decoration-color: var(--c, var(--orange)); text-underline-offset: 3px; }

/* Bakery hub (2026-11-24): what-you-bake switch, home bakery price survey, worked orders, margin vs markup, Bakery Pro panel */
.bakeseg { grid-column: 1 / -1; margin: 0 0 18px; max-width: 46rem; }
.bakeseg .q { display: block; font-weight: 600; margin-bottom: 8px; }
.bakeseg .seg { flex-wrap: wrap; }
.bakeseg .seg label { min-width: 7.5rem; }
.hub .sub { color: var(--quiet); max-width: 44rem; margin-top: 10px; font-size: 1.05rem; }
.hub h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 10px; }
.hub .note { font-size: 0.9rem; color: var(--quiet); margin-top: 12px; max-width: 48rem; }
.tscroll { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
table.survey { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.93rem; }
.survey th, .survey td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.survey th { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); }
.survey td small { display: block; color: var(--quiet); font-size: 0.8rem; margin-top: 2px; }
.survey td a { color: var(--ink); text-underline-offset: 3px; }
.survey .n { text-align: right; font-family: var(--mono); white-space: nowrap; }
.survey .muted { color: var(--line); }
.survey tfoot td { font-weight: 700; border-bottom: 0; background: var(--t); }
.ords { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 18px; margin-top: 22px; }
.ord { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ord h3 { font-size: 1.25rem; }
.ord .sold { color: var(--quiet); font-size: 0.9rem; }
.ord dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 8px 0 0; font-size: 0.92rem; }
.ord dd { margin: 0; text-align: right; font-family: var(--mono); }
.ord .sum { font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
.ord .pr { margin-top: auto; padding-top: 10px; font-size: 0.95rem; }
.mm { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.mmgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mmc { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mmc small { font: 500 0.75rem var(--mono); text-transform: uppercase; color: var(--quiet); }
.mmc b { font-family: var(--display); font-size: 2.2rem; }
.mmc span { color: var(--quiet); font-size: 0.92rem; }
.mmc.ok { border: 2px solid var(--orange); }
.pro-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; background: var(--t); border-radius: 28px; padding: 32px; }
.pro-panel h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 8px; }
.pro-panel p { color: var(--quiet); margin-top: 10px; }
.pro-panel ul { margin: 12px 0 0; padding-left: 18px; color: var(--quiet); }
.pp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pp-quiet { font-size: 0.9rem; }
.pp-quiet a, .left-out a { color: var(--orange-deep); }
.pp-shot { margin: 0; min-width: 0; }
.pp-shot img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(120, 72, 20, .35); display: block; }
@media (max-width: 760px) { .mm, .pro-panel, .mmgrid { grid-template-columns: 1fr; } .pro-panel { padding: 22px; } }

/* Homepage (2026-11-24): the free tools tile lists the three hubs and fills its height; Bakery Pro in the featured spot */
.tile-main { grid-template-rows: auto 1fr; align-content: stretch; }
.tile-main .tm-intro { display: grid; gap: 12px; }
.hubs { display: grid; gap: 10px; grid-auto-rows: 1fr; }
.hubs a { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.hubs a:hover { border-color: var(--orange); transform: translateY(-2px); }
.hubs img { width: 150px; height: 112px; object-fit: cover; object-position: top left; border-radius: 10px; border: 1px solid var(--line); }
.hubs b { display: block; font-size: 1.05rem; }
.hubs span { color: var(--quiet); font-size: 0.9rem; }
@media (max-width: 560px) { .hubs a { grid-template-columns: 96px 1fr; } .hubs img { width: 96px; height: 72px; } }
.pro-shot img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(120, 72, 20, .35); }
.feature .small a { color: var(--orange-deep); }
