/* Sudo Supply: the specimen catalogue on a terminal-black ground. JetBrains Mono for display (brand override of the
   no-monospace rule, taste-skill-ignore), Geist for text, pale phosphor lime as the one action colour. */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --surface-2: #262626;
  --ink: #ffffff;
  --muted: #8f8f8f;
  --accent: #dafa9c;
  --accent-ink: #0f0f0f;
  --field-1: #dafa9c;  --field-1-ink: #0f0f0f;
  --field-2: #ffffff;  --field-2-ink: #0f0f0f;
  --field-3: #262626;  --field-3-ink: #ffffff;
  --field-4: #8f8f8f;  --field-4-ink: #0f0f0f;

  --display: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --face: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
  --step-display: clamp(3rem, 0.6rem + 7.4vw, 8rem);

  --margin: clamp(16px, 3.6vw, 56px);
  --gap: 10px;
  --section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--face); }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
p { max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
code { font-family: var(--display); font-size: 0.9em; color: var(--accent); }
.small { font-size: var(--step-small); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: 12px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }

.field-1 { background: var(--field-1); color: var(--field-1-ink); }
.field-2 { background: var(--field-2); color: var(--field-2-ink); }
.field-3 { background: var(--field-3); color: var(--field-3-ink); }
.field-4 { background: var(--field-4); color: var(--field-4-ink); }

/* ---------- buttons and switches: square, flat, one fill each ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 0; font-size: var(--step-body); font-weight: 500; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); }
.btn-ink { background: var(--bg); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--bg); }
.btn-paper { background: var(--bg); color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: var(--bg); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

.mode-switch { display: inline-flex; gap: 4px; }
.mode-switch button, .chip, .sizes button {
  min-height: 52px; padding: 0 20px; white-space: nowrap; border: 0; border-radius: 0; background: var(--surface);
  font-size: var(--step-body); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.mode-switch button:hover, .chip:hover, .sizes button:hover { background: var(--surface-2); }
.mode-switch button[aria-pressed="true"], .chip[aria-pressed="true"], .sizes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sizes button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* ---------- bar (inner pages) ---------- */
.bar {
  display: flex; align-items: center; gap: 32px; padding: 22px var(--margin);
}
.wordmark-small { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: var(--step-lead); text-decoration: none; margin-right: auto; }
.bar nav, .hero-nav { display: flex; align-items: center; gap: 24px; }
.bar nav a, .hero-nav a { text-decoration: none; }
.bar nav a:hover, .hero-nav a:hover, .bar nav a[aria-current="page"] { text-decoration: underline; }
.cart-link { background: none; border: 0; padding: 0; font-size: var(--step-body); }
.cart-link span { display: inline-block; min-width: 1.6em; padding: 0 .35em; margin-left: .2em; background: var(--accent); color: var(--accent-ink); text-align: center; }

/* ---------- hero: one shirt on a plinth ---------- */
.hero {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  min-height: 100svh; padding: 40px var(--margin) 56px; align-content: start;
}
.wordmark { grid-column: 1 / 8; font-size: var(--step-display); line-height: .9; letter-spacing: -0.06em; }
.cursor { display: inline-block; width: .55em; height: .8em; margin-left: .08em; vertical-align: -0.02em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-side { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right; }
.hero-sentence { max-width: 36ch; font-size: var(--step-body); }
.plinth-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 36px; margin-top: clamp(24px, 4vh, 56px); }
.plinth { position: relative; width: min(520px, 78vw); aspect-ratio: 1; background: var(--accent); color: var(--accent-ink); transition: background-color .5s var(--ease); }
html[data-mode="light"] .plinth { background: var(--surface-2); color: var(--ink); }
.slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; }
.slide img { height: min(440px, 46svh, 66vw); width: auto; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: var(--step-small); }
.hero-sentence { font-size: var(--step-body); }
@media (max-width: 1100px) {
  .wordmark { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / -1; flex-direction: column-reverse; align-items: flex-start; text-align: left; margin-top: 20px; }
  .hero-sentence { font-size: var(--step-lead); max-width: 30ch; }
}
.slide figcaption a { text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- showcase: two editions, two fields ---------- */
.showcase { margin-top: var(--section); }
.showcase-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding: 0 var(--margin) 48px; }
.showcase-head .section-title { grid-column: 1 / 7; }
.showcase-head .lead { grid-column: 8 / 13; margin: 0; }
.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { display: flex; flex-direction: column; min-height: 92svh; }
.panel-crop { position: relative; flex: 1; overflow: hidden; min-height: 60svh; }
.panel-shirt { position: absolute; width: 140%; max-width: none; left: 50%; top: -12%; transform: translateX(-50%); }
.panel-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; width: 100%; padding: 28px var(--margin); }
.panel-name { font-size: var(--step-lead); font-weight: 600; }
.panel-fact { font-size: var(--step-body); }
.panel-actions { display: flex; gap: 8px; }
.field-3 .btn-ink { background: var(--accent); color: var(--accent-ink); }
.field-3 .btn-ink:hover { background: var(--ink); color: var(--bg); }

/* ---------- catalogue: a two-column menu with photo bullets ---------- */
.catalogue, .page-head, .shop, .gift-group, .more, .prose { padding-left: var(--margin); padding-right: var(--margin); }
.catalogue { margin-top: var(--section); }
.section-title { font-size: var(--step-head); max-width: 18ch; }
.lead { font-size: var(--step-lead); max-width: 46ch; margin-top: 20px; }
.menu-cat { margin-top: 96px; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--step-lead); margin-bottom: 40px; }
.menu-count { font-size: var(--step-small); }
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 36px; }
.menu-item a { display: grid; grid-template-columns: 80px 1fr; gap: 20px; text-decoration: none; }
.menu-photo { display: grid; place-items: center; width: 80px; height: 80px; background: var(--field-1); overflow: hidden; }
.menu-photo img { height: 74px; width: auto; transition: transform .3s var(--ease); }
.menu-item a:hover .menu-photo img { transform: scale(1.12); }
.menu-line { display: flex; justify-content: space-between; gap: 16px; }
.menu-name { font-weight: 500; }
.menu-price, .panel-fact, .closer-price, .cart-total b { font-family: var(--display); font-weight: 800; }
.menu-item a:hover .menu-name { text-decoration: underline; }
.menu-desc { display: block; max-width: 40ch; font-family: var(--display); font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.menu-note { display: block; font-size: var(--step-small); color: var(--accent); margin-top: 6px; }

/* ---------- promises: four cards dealt into a fan ---------- */
.promises { margin-top: var(--section); background: var(--surface); color: var(--ink); height: 210svh; }
.promises-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 32px var(--margin); }
.promises-head h2 { font-size: var(--step-head); max-width: 14ch; }
.promises-head p { margin-top: 12px; font-size: var(--step-body); }
.fan { position: absolute; left: 50%; top: 56%; width: 1090px; height: 400px; transform: translate(-50%, -50%); }
.card {
  position: absolute; top: 0; width: 340px; height: 400px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
  will-change: transform;
}
.card h3 { font-size: var(--step-lead); text-transform: uppercase; max-width: 200px; }
.card img, .card video { width: 200px; height: 150px; object-fit: cover; object-position: 62% 50%; }
.card p { margin-top: auto; font-size: var(--step-small); max-width: 200px; line-height: 1.4; }
.card-1 { background: var(--field-1); color: var(--field-1-ink); left: 0; transform: rotate(-3deg); }
.card-2 { background: var(--field-2); color: var(--field-2-ink); left: 250px; transform: rotate(2deg); }
.card-3 { background: var(--field-3); color: var(--field-3-ink); left: 500px; transform: rotate(-2deg); }
.card-4 { background: var(--field-4); color: var(--field-4-ink); left: 750px; transform: rotate(4deg); }

/* ---------- faq: accordion of filled tiles ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: var(--section); padding: 0 var(--margin); align-items: start; }
.faq-title { grid-column: 1 / 5; position: sticky; top: 96px; font-size: var(--step-head); }
.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq-tile { background: var(--surface); transition: background-color .25s var(--ease), color .25s var(--ease); }
.faq-tile summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 18px 24px; font-size: var(--step-body); font-weight: 600; cursor: pointer;
}
.faq-tile summary::-webkit-details-marker { display: none; }
.faq-tile p { padding: 0 24px 24px; max-width: 52ch; font-size: var(--step-body); }
.faq-tile[open] { background: var(--accent); color: var(--accent-ink); }
.faq-tile:not([open]):hover { background: var(--surface-2); }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-tile[open] .plus::after { transform: rotate(0deg); }

/* ---------- closer: the object returns ---------- */
.closer { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; min-height: 90svh; margin-top: var(--section); overflow: hidden; padding: 0 var(--margin); }
.closer-shirt { position: absolute; left: -4%; bottom: -30%; width: 56%; max-width: none; }
.closer-text { grid-column: 8 / 13; align-self: center; display: flex; flex-direction: column; gap: 18px; padding: 64px 0; }
.closer-text h2 { font-size: var(--step-head); }
.closer-price { font-size: var(--step-lead); }
.closer-text .btn { align-self: flex-start; }

/* ---------- footer: a board of tiles ---------- */
.board { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 10px max(6px, calc(var(--margin) - 22px)); margin-top: var(--section); }
.board > * { background: var(--surface); padding: 22px; min-height: 220px; text-decoration: none; }
.tile-statement { grid-column: 1 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile-statement p:first-child { font-size: var(--step-lead); line-height: 1.25; }
.tile-nav { grid-column: 5 / 8; display: flex; flex-direction: column; gap: 8px; }
.tile-nav a { text-decoration: none; }
.tile-nav a:hover { text-decoration: underline; }
.tile-uptime { grid-column: 8 / 10; display: flex; flex-direction: column; gap: 8px; }
.tile-email { grid-column: 10 / 13; display: flex; flex-direction: column; justify-content: space-between; }
.tile-email a { font-size: var(--step-lead); }
.tile-wordmark { grid-column: 1 / 9; min-height: 320px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -0.06em; }
.tile-invite { grid-column: 9 / 13; min-height: 320px; position: relative; background: var(--accent); color: var(--accent-ink); font-size: var(--step-lead); transition: background-color .25s var(--ease); }
.tile-invite:hover { background: var(--ink); }
.tile-invite svg { position: absolute; right: 24px; bottom: 24px; width: 64px; height: 64px; transition: transform .25s var(--ease); }
.tile-invite:hover svg { transform: translateX(8px); }
.board .credits { grid-column: 1 / -1; min-height: 0; background: none; padding: 8px 12px 16px; max-width: 68ch; font-size: var(--step-body); }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(48px, 8vw, 120px); padding-bottom: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.page-head > * { grid-column: 1 / 8; }
.page-head .head-feature { grid-column: 8 / 13; grid-row: 1 / span 4; }
.head-feature .tile { display: block; position: relative; aspect-ratio: 1; overflow: hidden; }
.head-feature img { position: absolute; inset: 0; margin: auto; height: 82%; width: auto; max-width: none; }
.kind { font-size: var(--step-lead); }
.page-head h1 { font-size: var(--step-head); max-width: 18ch; }
.page-tools { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.gift-group, .more { margin-top: var(--section); }
.gift-group .specimens, .more .specimens { margin-top: 48px; }

/* the catalogue as specimens: each shirt alone on a flat field */
.specimens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 10px; grid-auto-flow: dense; }
.specimens-2 { grid-template-columns: 1fr 1fr; }
.specimens-2 .specimen-big { grid-column: auto; grid-row: auto; }
.specimen { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.specimen[hidden] { display: none; }
.specimen .tile { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 12px; transition: background-color .5s var(--ease); }
.specimen .tile img { height: 78%; width: auto; transition: transform .4s var(--ease); }
.specimen:hover .tile img { transform: scale(1.05); }
.specimen-big { grid-column: span 2; grid-row: span 2; }
.specimen-big .tile { aspect-ratio: auto; flex: 1; }
.specimen-name { font-size: var(--step-body); font-weight: 600; }
.specimen:hover .specimen-name { text-decoration: underline; }
.specimen-fact { color: var(--muted); font-family: var(--display); font-size: var(--step-body); }
.specimen-fact b { display: block; color: var(--ink); font-weight: 800; font-size: var(--step-body); margin-top: 4px; }
.sold { margin-left: 8px; font-size: var(--step-small); color: var(--accent); }
/* every shirt stays visible: black shirts never sit on the dark field, white ones never on white */
html[data-mode="dark"] .specimen .field-3 { background: var(--field-2); }
html[data-mode="light"] .specimen .field-2 { background: var(--field-3); }

/* product page */
.product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 24px var(--margin) 0; }
.product-media { grid-column: 1 / 8; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.product-tile { grid-column: 1 / -1; position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.product-tile img { position: absolute; inset: 0; margin: auto; height: 88%; width: auto; max-width: none; transition: opacity .3s ease; }
.zoom { aspect-ratio: 1; background-size: 300%; background-position: 50% 30%; background-repeat: no-repeat; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thumb { position: relative; padding: 0; border: 0; background: var(--surface); aspect-ratio: 1; overflow: hidden; transition: background-color .2s var(--ease); }
.thumb img { position: absolute; inset: 0; margin: auto; height: 84%; width: auto; max-width: none; }
.thumb:hover { background: var(--surface-2); }
.thumb[aria-pressed="true"] { background: var(--accent); }
.buy { grid-column: 8 / 13; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.crumbs a { color: var(--muted); }
.buy h1 { font-size: var(--step-head); }
.punchline { font-family: var(--display); font-size: var(--step-body); color: var(--accent); }
.price-big { font-family: var(--display); font-size: var(--step-lead); font-weight: 800; }
.option-label { display: block; margin-bottom: 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.sizes button { min-width: 64px; }
.desc { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.facts li { background: var(--surface); padding: 12px 16px; font-size: var(--step-small); }

.prose { max-width: calc(68ch + 2 * var(--margin)); padding-bottom: 32px; }
.prose h2 { font-size: var(--step-lead); font-weight: 500; margin: 40px 0 10px; }
.prose p { max-width: 60ch; }

/* ---------- cart drawer (it floats, so it may cast a shadow) ---------- */
.cart { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); display: flex; justify-content: flex-end; }
.cart[hidden] { display: none; }
.cart-panel { width: min(440px, 100%); height: 100%; background: var(--surface); display: flex; flex-direction: column; box-shadow: -24px 0 60px rgba(0, 0, 0, .25); /* taste-skill-ignore: the drawer is a dialog over the page */ }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; }
.cart-head h2 { font-size: var(--step-lead); }
.cart-head button { background: var(--surface-2); border: 0; min-height: 44px; padding: 0 16px; }
.cart-items { flex: 1; overflow-y: auto; padding: 0 24px; display: grid; gap: 8px; align-content: start; }
.cart-empty { padding: 48px 0; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; background: var(--surface-2); padding: 12px; align-items: start; }
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: var(--field-1); }
.cart-item a { text-decoration: none; font-weight: 500; display: block; }
.cart-item small { color: var(--muted); font-size: var(--step-small); }
.qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button { width: 36px; height: 36px; border: 0; background: var(--bg); }
.cart-foot { padding: 24px; display: grid; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; font-size: var(--step-lead); }
.cart-error { color: #ff8a73; }


/* ---------- softer layer: rounded corners, depth, a phosphor glow and grain (owner's call over the house rules; taste-skill-ignore) ---------- */
:root { --radius: 18px; --radius-sm: 12px; --lift: 0 24px 60px -24px rgba(0, 0, 0, .75); --glow: 0 0 0 1px rgba(218, 250, 156, .08), 0 30px 120px -20px rgba(218, 250, 156, .28); }
body {
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(218, 250, 156, .07), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(255, 255, 255, .035), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body::after { /* film grain so the black is not one dead flat colour */
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.btn, .mode-switch button, .chip, .sizes button, .cart-head button, .qty button { border-radius: 999px; }
.mode-switch { background: var(--surface); padding: 4px; border-radius: 999px; gap: 2px; }
.mode-switch button { min-height: 44px; background: transparent; }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(218, 250, 156, .55); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.plinth, .specimen .tile, .menu-photo, .card, .faq-tile, .board > *:not(.credits), .head-feature .tile,
.product-tile, .zoom, .thumb, .facts li, .cart-item, .cart-item img, .panel, .closer { border-radius: var(--radius); }
.menu-photo, .thumb, .cart-item img, .facts li { border-radius: var(--radius-sm); }
.plinth { box-shadow: var(--glow); }
html[data-mode="light"] .plinth { box-shadow: 0 30px 100px -30px rgba(0, 0, 0, .9); }
.specimen .tile, .product-tile, .head-feature .tile, .card, .panel, .closer { box-shadow: var(--lift); }
.specimen .tile { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .5s var(--ease); }
.specimen:hover .tile { transform: translateY(-6px); box-shadow: 0 36px 70px -26px rgba(0, 0, 0, .85), 0 0 0 1px rgba(218, 250, 156, .25); }
.specimen .tile img, .product-tile img, .slide img, .panel-shirt, .closer-shirt { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.panels { gap: 12px; padding: 0 var(--margin); }
.panel { overflow: hidden; }
.closer { margin-left: var(--margin); margin-right: var(--margin); }
.card { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.faq-tile { transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.faq-tile:not([open]):hover { transform: translateX(4px); }
.board { gap: 10px; }
.cart-panel { border-radius: var(--radius) 0 0 var(--radius); }
.cart-link span { border-radius: 999px; }

/* ---------- entrances (only when script runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .specimens { grid-template-columns: repeat(3, 1fr); }
  .promises { height: auto; }
  .promises-stage { position: static; height: auto; padding: 72px var(--margin); }
  .fan { position: static; width: auto; height: auto; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .card { position: relative; left: auto !important; width: auto; height: auto; min-height: 380px; transform: none !important; opacity: 1 !important; }
  .card h3, .card p { max-width: none; }
  .closer-text { grid-column: 7 / 13; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; gap: 12px 20px; padding: 18px var(--margin); }
  .bar nav { order: 3; width: 100%; }
  .hero { display: flex; flex-direction: column; padding: 24px var(--margin) 40px; min-height: auto; }
  .wordmark { font-size: 17vw; }
  .hero-side { gap: 16px; margin-top: 16px; }
  .hero-nav { flex-wrap: wrap; }
  .hero-sentence { font-size: var(--step-lead); }
  .plinth-wrap { margin-top: 28px; gap: 28px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn, .hero-actions .mode-switch { width: 100%; }
  .mode-switch button { flex: 1; }

  .showcase-head { display: block; padding-bottom: 32px; }
  .showcase-head .lead { margin-top: 16px; }
  .panels { grid-template-columns: 1fr; gap: 10px; }
  .panel { min-height: 78svh; }
  .panel-shirt { width: 150%; top: -6%; }
  .panel-foot { flex-direction: column; align-items: stretch; padding: 20px; }
  .panel-actions .btn { width: 100%; }

  .menu { grid-template-columns: 1fr; row-gap: 28px; }
  .menu-item a { grid-template-columns: 60px 1fr; gap: 16px; }
  .menu-photo { width: 60px; height: 60px; }
  .menu-photo img { height: 56px; }
  .menu-head { font-size: 8.5vw; }

  .promises-stage { padding: 56px var(--margin); }
  .fan { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 0; }
  .card:nth-child(odd) { margin-right: 10%; }
  .card:nth-child(even) { margin-left: 10%; }

  .faq { display: block; }
  .faq-title { position: static; font-size: 9vw; margin-bottom: 24px; }
  .faq-list { gap: 6px; }
  .faq-tile summary { font-size: 1.125rem; min-height: 64px; padding: 16px 20px; }
  .faq-tile p { padding: 0 20px 20px; font-size: 1rem; }

  .closer { display: flex; flex-direction: column; min-height: 0; padding: 0; margin-left: var(--margin); margin-right: var(--margin); }
  .closer-text { order: 1; padding: 48px var(--margin) 0; }
  .closer-text .btn { width: 100%; }
  .closer-shirt { position: relative; order: 2; left: 10%; bottom: auto; width: 130%; margin-top: 24px; margin-bottom: -30%; }

  .board { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .board > * { min-height: 0; padding: 20px; }
  .tile-wordmark { grid-column: 1 / -1; order: -2; min-height: 160px; font-size: 15vw; }
  .tile-invite { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .tile-nav { grid-column: 1; }
  .tile-email { grid-column: 2; gap: 16px; }
  .tile-uptime { grid-column: 1; }
  .tile-statement { grid-column: 2; }
  .tile-statement p:first-child { font-size: 1.125rem; }

  .specimens { grid-template-columns: 1fr 1fr; gap: 32px 8px; }
  .specimen-big { grid-column: span 2; grid-row: auto; }
  .specimen-big .tile { aspect-ratio: 4 / 5; }
  .specimen-name { font-size: 1.0625rem; }
  .page-tools .mode-switch { width: 100%; }

  .product { display: flex; flex-direction: column; gap: 32px; }
  .page-head { display: block; }
  .page-head .head-feature { display: none; }
  .buy { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide:not(.is-on) { display: none; }
  .cursor { animation: none; }
  .promises { height: auto; }
  .promises-stage { position: static; height: auto; min-height: 100svh; }
}
