/* Hardly Indoors — prototype design system.
   Rules from blueprint/02 §2.8 and knowledge/topics/shopify-store.md + cro.md:
   mobile-first, one CTA colour (compass red) used for nothing else, fast (no framework, no heavy effects),
   collection + product pages first, no fake social proof, no compare-at prices. */

:root {
  --ink: #1a1a1a;
  --ink-2: #4a4741;
  --ink-3: #7b766c;
  --paper: #f2ede4;
  --paper-2: #e9e2d5;
  --paper-3: #ddd4c4;
  --line: rgba(26, 26, 26, .14);
  --cta: #c0392b;          /* compass red: CTA only */
  --cta-ink: #fff;
  --cta-hover: #a93226;
  --forest: #2f4a3a;
  --night: #161a17;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; } /* nothing may widen the page on a phone (clip, unlike hidden, keeps sticky headers working) */
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; margin: 0; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h2.display { font-size: clamp(44px, 8vw, 112px); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--cta { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--cta-ink); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: var(--paper); text-align: center; padding: 9px var(--gutter);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(242, 237, 228, .92);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header__tools { justify-self: end; display: flex; gap: 6px; align-items: center; }
.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 50%; position: relative; }
.iconbtn:hover { background: var(--paper-2); }
.cartcount {
  position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: var(--paper); font: 600 11px/18px var(--f-body); text-align: center;
}
.cartcount[data-n="0"] { display: none; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header__in { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .brand span { font-size: 19px; }
}
.mobilenav { display: none; border-top: 1px solid var(--line); }
.mobilenav.open { display: block; }
.mobilenav a { display: block; padding: 16px var(--gutter); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 34px; text-transform: uppercase; border-bottom: 1px solid var(--line); }

/* ---------- topo texture ---------- */
.topo { position: absolute; inset: 0; pointer-events: none; color: var(--ink); opacity: .09; }
.topo svg { width: 100%; height: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gutter); align-items: end; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(28px, 5vw, 64px); min-height: min(86vh, 860px); }
.hero h1 { font-size: clamp(84px, 15.5vw, 236px); }
.hero h1 .row { display: block; overflow: hidden; }
.hero h1 .row > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .row:nth-child(2) > span { animation-delay: .08s; }
.hero h1 em { font-style: normal; -webkit-text-stroke: 2px var(--ink); color: transparent; }
@keyframes rise { to { transform: translateY(0); } }
.hero__copy { display: grid; gap: 26px; align-content: end; }
.hero__meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero__coords { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.hero__side { position: relative; display: grid; justify-items: center; gap: 18px; }
.compass { width: min(360px, 74vw); aspect-ratio: 1; position: relative; }
.compass__dial { position: absolute; inset: 0; }
.compass__needle { position: absolute; inset: 0; transition: transform .6s var(--ease); will-change: transform; }
.compass__read { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.hero__stack { position: absolute; inset: auto 0 0 auto; width: 46%; pointer-events: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; align-items: start; padding-top: 36px; }
  .hero__side { position: absolute; top: 18px; right: var(--gutter); }
  .hero__side .compass { width: 92px; }
  .hero__side .compass__read { display: none; }
  .hero__copy { gap: 20px; }
  .hero__copy .eyebrow { max-width: calc(100% - 112px); line-height: 1.5; }
  .hero h1 { font-size: clamp(76px, 25vw, 150px); }
}
@media (max-width: 640px) { .announce .long { display: none; } .proto { font-size: 10.5px; } }

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding: 16px 14px; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; }
.marquee__item::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); position: relative; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.section__head p { margin: 0; }

/* collections: field-guide index */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index a {
  display: grid; grid-template-columns: 64px 1fr auto 120px; gap: 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.index .num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.index .name { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5.2vw, 76px); line-height: .9; text-transform: uppercase; transition: transform .35s var(--ease); }
.index .count { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.index img { width: 120px; height: 120px; object-fit: cover; border-radius: 2px; background: var(--paper-2); transition: transform .45s var(--ease); }
.index a:hover .name { transform: translateX(10px); }
.index a:hover img { transform: scale(1.06) rotate(-2deg); }
@media (max-width: 640px) {
  .index a { grid-template-columns: 34px 1fr 72px; }
  .index .count { display: none; }
  .index img { width: 72px; height: 72px; }
}

/* ---------- product grid (collection page rules: square images, no hover image, no stars, no vendor) ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px) clamp(10px, 1.6vw, 24px); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { text-decoration: none; display: grid; gap: 10px; min-width: 0; }
@media (max-width: 640px) { .card__row { flex-direction: column; gap: 2px; } .card__title { font-size: 14px; } }
.card__img { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; border-radius: 2px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.card__price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.card__tag { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- collection page ---------- */
.colhead { padding: clamp(22px, 4vw, 56px) 0 clamp(16px, 2.4vw, 28px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.colhead h1 { font-size: clamp(46px, 7.4vw, 118px); }
@media (max-width: 640px) { .colhead .lede { display: none; } .colhead__meta { margin-top: 10px; } }
.colhead__meta { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--gutter); scrollbar-width: none; position: sticky; top: 64px; background: var(--paper); z-index: 20; border-bottom: 1px solid var(--line); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .n { font-family: var(--f-mono); font-size: 11px; opacity: .6; margin-left: 6px; }
/* wraps: 9 pages plus arrows is wider than a phone, and an unwrapped row widened the whole page */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; padding: 48px 0 8px; }
.pager button { min-width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: var(--radius); font-family: var(--f-mono); font-size: 13px; }
.pager button[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 64px); padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(48px, 7vw, 96px); align-items: start; }
.pdp__media { position: sticky; top: 84px; }
.pdp__img { aspect-ratio: 1; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: none; }
.thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .thumbs { padding: 0 var(--gutter); } }
.pdp__buy { display: grid; gap: 20px; }
.crumbs { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.pdp h1 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5vw, 72px); line-height: .9; margin: 0; }
.pdp__price { font-size: 22px; font-weight: 600; }
.pdp__shipnote { font-size: 14px; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--sw); padding: 0; box-shadow: inset 0 0 0 3px var(--paper); }
.swatch[aria-checked="true"] { border: 2px solid var(--ink); }
.thumbs { flex-wrap: wrap; }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.size { height: 48px; border: 1px solid var(--line); background: none; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.size[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size small { display: block; font-weight: 400; font-size: 10px; color: var(--ink-3); margin-top: -2px; }
.sizehead { display: flex; justify-content: space-between; align-items: baseline; }
.linkbtn { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.promise { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.promise b { display: block; font-size: 15px; }
.promise span { font-size: 14px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 10px 14px 0; }
.facts b { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-bottom: 2px; }
.facts span { font-size: 14px; font-weight: 500; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; font-weight: 600; cursor: pointer; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--f-mono); transition: transform .25s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc__body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
details.acc ul { margin: 0; padding-left: 18px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; margin: 0 calc(-1 * var(--gutter)); }
  .pdp__img { border-radius: 0; }
}
/* sticky buy bar: add-to-cart stays in thumb reach on phones */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(242, 237, 228, .96); border-top: 1px solid var(--line); display: none; gap: 12px; align-items: center; transform: translateY(100%); transition: transform .3s var(--ease); }
.buybar.show { transform: translateY(0); }
.buybar .t { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .buybar { display: flex; } }

/* ---------- size guide dialog ---------- */
dialog { border: 0; border-radius: 6px; padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(22, 26, 23, .55); }
.dlg { padding: 28px; }
.dlg h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .9; margin: 0 0 6px; }
table.sg { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
table.sg th, table.sg td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
table.sg th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }

/* ---------- cart drawer: one checkout button, no express buttons ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(22, 26, 23, .5); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: grid; grid-template-rows: auto auto 1fr auto; transform: translateX(100%); transition: transform .4s var(--ease); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter) 14px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin: 0; }
.ship { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-size: 14px; }
.ship__bar { height: 4px; background: var(--paper-3); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.ship__bar span { display: block; height: 100%; background: var(--ink); width: 0; transition: width .5s var(--ease); }
.lines { overflow: auto; padding: 6px var(--gutter); }
/* minmax(0, 1fr): the title column may shrink, so the price never leaves the panel on a narrow phone */
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 84px; height: 84px; object-fit: cover; background: var(--paper-2); }
.line__t { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lines { overflow-x: hidden; }
@media (max-width: 380px) {
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  .line img { width: 64px; height: 64px; }
}
.line__m { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.line__q { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 10px; }
.line__q button { width: 32px; height: 32px; border: 0; background: none; }
.line__q span { min-width: 24px; text-align: center; font-size: 13px; }
.line__p { font-size: 14px; font-weight: 600; }
.drawer__foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.subtotal { display: flex; justify-content: space-between; font-weight: 600; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }

/* ---------- editorial blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 6vw, 92px); line-height: .9; margin: 0; }
.quote .dim { color: var(--ink-3); }
.sig { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 24px; }
.night { background: var(--night); color: var(--paper); }
.night .eyebrow, .night .lede { color: rgba(242, 237, 228, .7); }
.night .topo { color: var(--paper); opacity: .07; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.promises div { padding: 22px 18px 22px 0; border-right: 1px solid var(--line); }
.promises div:last-child { border-right: 0; }
.promises b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.promises span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr 1fr; } .promises div:nth-child(2) { border-right: 0; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 28px; position: relative; overflow: hidden; }
.footer .topo { color: var(--paper); opacity: .06; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; position: relative; }
.footer h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: rgba(242, 237, 228, .55); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; font-size: 15px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__word { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: min(14.1vw, 204px); line-height: .8; letter-spacing: -.01em; margin: clamp(40px, 6vw, 80px) 0 20px; white-space: nowrap; position: relative; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(242, 237, 228, .55); position: relative; }
.signup { display: flex; border-bottom: 1px solid rgba(242, 237, 228, .4); margin-top: 14px; }
.signup input { flex: 1; min-width: 0; background: none; border: 0; color: var(--paper); font: inherit; padding: 12px 0; }
.signup input::placeholder { color: rgba(242, 237, 228, .5); }
.signup button { background: none; border: 0; color: var(--paper); font-weight: 600; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero h1 .row > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* prototype-only banner */
.proto { background: #fff3c4; color: #5a4a00; text-align: center; font: 500 12px/1.4 var(--f-mono); padding: 6px var(--gutter); }

/* ---------- policy pages (shipping, returns, privacy, terms) ---------- */
.docwrap { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: clamp(24px, 5vw, 80px); padding-top: clamp(36px, 6vw, 88px); padding-bottom: clamp(56px, 8vw, 112px); align-items: start; }
.doc__nav { position: sticky; top: 24px; display: grid; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.doc__nav a { text-decoration: none; color: var(--ink-2); }
.doc__nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.doc { max-width: 68ch; font-size: 17px; color: var(--ink-2); }
.doc h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 40px); line-height: .95; color: var(--ink); margin: 48px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc b, .doc strong { color: var(--ink); }
.doc a { text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.doc th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); }
.todo { background: #fff3c4; color: #5a4a00; padding: 0 .3em; border-radius: 2px; font-family: var(--f-mono); font-size: .85em; }
@media (max-width: 800px) {
  .docwrap { grid-template-columns: 1fr; }
  .doc__nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; }
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(22px, 3vw, 44px); border-top: 1px solid var(--line); padding-top: clamp(20px, 3vw, 32px); }
.steps b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: .95; color: var(--ink); margin-bottom: 10px; }
.steps span { color: var(--ink-2); font-size: 17px; }
