/* ====
   Tokens · taken from the reference: Urbanist, ink #161A19, soft #5F6665,
   off-white #F7F6F2 / #FDFDFB, teal #0B7A73, 12px controls
   ========================================================================== */
:root {
  --ground: #F7F6F2;
  --paper: #FDFDFB;
  --ink: #161A19;
  --ink-2: #353B3A;
  --soft: #5F6665;
  --tone: #E5E4DE;
  --tone-2: #F0EFEA;
  --accent: #0B7A73;
  --accent-deep: #08665F;
  --accent-lift: #13877F;
  --blush: #F6E6DB;
  --mint: #E1ECE8;
  --sand: #F3E6C6;

  --s1: 13px;                               /* small */
  --s2: 16px;                               /* text */
  --s3: 20px;                               /* lead */
  --s4: clamp(26px, 2.3vw, 34px);           /* section heading */
  --s5: clamp(48px, 9vw, 150px);            /* display */

  --r: 12px;
  --m: clamp(12px, 2vw, 24px);              /* page margin */
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--s2); line-height: 1.5; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--ink); color: var(--ground); padding: 12px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.h-section { font-size: var(--s4); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }

/* Buttons and links ------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r);
  background: var(--accent); color: #fff; font-weight: 600; font-size: var(--s2);
  text-decoration: none; transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.button:hover { background: var(--accent-deep); }
.button:active { transform: scale(.97); }
.button:disabled { background: var(--tone); color: var(--soft); cursor: not-allowed; transform: none; }
.button.wide { width: 100%; }
.link {
  background: none; border: 0; padding: 4px 0; font-weight: 600; font-size: var(--s2);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color .2s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

.bag-button {
  position: fixed; top: 14px; right: 14px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 10px 0 16px;
  border: 0; border-radius: var(--r); background: var(--ink); color: var(--ground); font-weight: 600;
  transition: transform .15s var(--ease), background-color .2s;
}
.bag-button:hover { background: var(--ink-2); }
.bag-button:active { transform: scale(.96); }
.bag-count {
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: var(--s1); font-variant-numeric: tabular-nums;
}
.bag-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ====
   Hero · the sheet with a text cell
   ========================================================================== */
.sheet { height: min(100svh, 1000px); min-height: 640px; overflow: hidden; padding: 0 12px; position: relative; }
.sheet-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 12px; height: 100%; }
.col { display: flex; flex-direction: column; gap: 12px; margin-top: var(--off, 0); }
.col-drift { animation: drift 38s ease-in-out infinite alternate; }
.col-drift.rev { animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-90px); } }
.pair { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 0; }
.pair-top { height: calc(28% - 12px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: hidden; }
.pair-top .stack { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.pair-bottom { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: hidden; }
.pair-bottom .stack { display: flex; flex-direction: column; gap: 12px; }

.frame { border-radius: var(--r); overflow: hidden; background: var(--tone); flex: none; }
.frame a { display: block; text-decoration: none; }
.frame img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.frame a:hover img { transform: scale(1.04); }
.frame .tag { display: block; height: 28px; line-height: 28px; padding: 0 10px; font-size: var(--s1); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--c, var(--tone)); color: var(--tc, var(--ink)); }

.panel {
  flex: none; height: 410px; border-radius: var(--r); background: var(--ink); color: var(--ground);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.wordmark { font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.panel-lead { font-size: var(--s3); line-height: 1.35; max-width: 24ch; }
.panel-cutoff { font-size: var(--s1); color: #C9CCCB; font-variant-numeric: tabular-nums; }
.panel-cutoff strong { color: var(--ground); font-weight: 600; }
.panel-links { margin-top: auto; display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--s1); font-weight: 600; }
.panel-links a { text-decoration: none; padding: 6px 0; color: var(--ground); }
.panel-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ====
   Build the look · frame run, one lifted
   ========================================================================== */
.look {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  padding: var(--section) var(--m) calc(var(--section) * .6);
}
.look-side { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; align-self: start; }
.look-intro { max-width: 34ch; }
.look-list { display: grid; gap: 10px; margin-top: 8px; }
.look-list div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--paper); border-radius: var(--r); padding: 12px 14px; }
.look-list dt { font-size: var(--s1); color: var(--soft); grid-column: 1 / -1; }
.look-list dd { font-weight: 600; }
.look-list dd.p { font-variant-numeric: tabular-nums; }
.look-list select { grid-column: 1 / -1; margin-top: 6px; min-height: 44px; border: 0; border-radius: 10px; background: var(--tone-2); padding: 0 12px; }
.look-total { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--s3); }
.look-total strong { font-size: var(--s4); font-weight: 600; font-variant-numeric: tabular-nums; }
.look-saving { color: var(--accent-deep); font-weight: 600; min-height: 24px; }
.look-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.look-runs { grid-column: 4 / -1; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.look-search { display: grid; gap: 12px; position: sticky; top: 0; z-index: 2; background: var(--ground); padding: 14px 0 10px; }
.look-q-label { font-size: var(--s1); color: var(--soft); font-weight: 600; }
.look-search input {
  width: 100%; min-height: 54px; padding: 0 18px; border: 2px solid var(--tone); border-radius: var(--r);
  background: var(--paper); font-size: 17px; transition: border-color .2s var(--ease);
}
.look-search input:focus { outline: none; border-color: var(--accent); }
.look-search .look-types { grid-column: 1 / -1; justify-content: flex-start; }
.look-count { font-size: var(--s1); color: var(--soft); min-height: 20px; }
.look-empty { color: var(--soft); background: var(--paper); border-radius: var(--r); padding: 14px; }
.look-empty[hidden] { display: none; }
.look-hint { color: var(--soft); font-size: var(--s1); }
.look-hint:empty, .look-saving:empty { display: none; }
.look-list .look-rm { grid-column: 1 / -1; justify-self: start; margin-top: 4px; border: 0; background: none; padding: 6px 0; color: var(--soft); font-size: var(--s1); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.look-list .look-rm:hover { color: var(--ink); }

.look-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 10px; }
.lr { border: 0; padding: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lr .img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--tone); outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .2s var(--ease); }
.lr img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lr:hover img { transform: scale(1.04); }
.lr .tick { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 18px; box-shadow: 0 2px 8px rgb(0 0 0 / .12); transition: background-color .2s, color .2s; }
.lr[aria-pressed="true"] .img { outline-color: var(--accent); }
.lr[aria-pressed="true"] .tick { background: var(--accent); color: #fff; }
.lr .cap { display: flex; justify-content: space-between; gap: 8px; font-size: var(--s1); }
.lr .cap span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lr .cap span:last-child { color: var(--soft); font-variant-numeric: tabular-nums; flex: none; }
.lr:active .img { transform: scale(.98); }
.lr:focus-visible { outline: none; }
.lr:focus-visible .img { outline-color: var(--ink); }

.badge-new { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 4px 9px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.item .img { position: relative; }

/* ====
   Shop · the contact sheet of the drop
   ========================================================================== */
.shop { padding: calc(var(--section) * .6) var(--m) var(--section); background: var(--paper); }
.shop-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 40px; }
.shop-head h2 { grid-column: 1 / span 4; }
.shop-note { grid-column: 5 / span 4; color: var(--soft); max-width: 46ch; }
.filters { grid-column: 9 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--tone-2);
  font-weight: 600; font-size: 15px; transition: background-color .2s var(--ease), color .2s, transform .15s;
}
.chip:hover { background: var(--tone); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.chip:active { transform: scale(.96); }

.catalogue { display: flex; flex-wrap: wrap; gap: 28px 10px; --row: 300px; }
.catalogue::after { content: ""; flex-grow: 999; }
.item { flex-grow: var(--ratio); width: max(200px, calc(var(--ratio) * var(--row) * .82)); max-width: calc(var(--ratio) * var(--row) * 1.5); }
.item[hidden] { display: none; }
.item button { all: unset; display: block; width: 100%; cursor: pointer; }
.item .img { aspect-ratio: var(--ratio); border-radius: var(--r); overflow: hidden; background: var(--tone); }
.item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.item button:hover img { transform: scale(1.04); }
.item button:focus-visible .img { outline: 3px solid var(--accent); outline-offset: 3px; }
.item .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; }
.item .name { font-weight: 600; }
.item .price { font-variant-numeric: tabular-nums; }
.item .sub { display: block; color: var(--soft); font-size: var(--s1); }

/* ====
   The details · one-size name columns
   ========================================================================== */
.index { padding: clamp(96px, 16vh, 170px) var(--m); }
.index h2 { margin-bottom: 72px; }
.index-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.index-col { grid-column: span 3; font-size: 17px; line-height: 1.3; }
.index-col h3 { font-size: 17px; font-weight: 600; margin-bottom: 1.3em; }
.index-col li { color: var(--soft); padding: 3px 0; transition: color .2s var(--ease); cursor: default; }
.index-col li:hover, .index-col li.on { color: var(--ink); }
.index-sum { display: none; }
.index-desc { grid-column: 10 / -1; grid-row: 1; align-self: start; font-size: 17px; line-height: 1.4; }

/* ====
   How it works · drag row of moments
   ========================================================================== */
.how { padding: calc(var(--section) * .7) 0; background: var(--tone-2); overflow: hidden; }
.how-head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--m); gap: 24px; }
.how-buttons { display: flex; gap: 8px; }
.square { width: 48px; height: 48px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--ground); display: grid; place-items: center; transition: transform .15s var(--ease), background-color .2s; }
.square:hover { background: var(--ink-2); }
.square:active { transform: scale(.94); }
.how-bar { height: 6px; margin: 24px var(--m) 40px; background: var(--tone); border-radius: 3px; overflow: hidden; }
.how-bar span { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 3px; transform-origin: left; transition: width .2s linear; }
.how-row {
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--m) 8px;
  scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: var(--m);
}
.how-row::-webkit-scrollbar { display: none; }
.how-row li { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.how-row h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how-row p { font-size: 15px; color: var(--soft); min-height: 4.5em; }
.how-row img { margin-top: var(--gap); aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--r); background: var(--tone); }

/* ====
   FAQ · answers as reading text
   ========================================================================== */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: var(--section) var(--m); }
.faq h2 { grid-column: 1 / span 3; }
.faq-text { grid-column: 5 / -1; columns: 2; column-gap: 56px; font-size: 17px; line-height: 1.55; }
.faq-text p { break-inside: avoid; margin-bottom: 20px; }
.faq-text b { font-weight: 700; }

/* ====
   Contact · photo strip, three-cell bar
   ========================================================================== */
.contact { background: var(--accent); color: #fff; min-height: min(80svh, 820px); padding: 48px 0 72px; overflow: hidden; }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 8px; width: max-content; animation: marquee 60s linear infinite; }
.strip-track img { height: 150px; width: auto; border-radius: var(--r); object-fit: cover; }
.strip-track img:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.strip-track img:nth-child(3n+2) { aspect-ratio: 1; }
.strip-track img:nth-child(3n) { aspect-ratio: 3 / 2; }
@keyframes marquee { to { transform: translateX(-50%); } }
.h-contact { font-size: var(--s5); line-height: .95; letter-spacing: -0.04em; font-weight: 700; margin: 72px var(--m) 40px; }
.bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 var(--m); }
.cell { display: block; height: 96px; border-radius: var(--r); background: var(--accent-deep); transition: background-color .2s var(--ease); }
.cell input { width: 100%; height: 100%; border: 0; background: transparent; color: #fff; text-align: center; font-size: 18px; font-weight: 600; border-radius: var(--r); }
.cell input::placeholder { color: #D6ECE9; }
.cell input:focus { outline: none; }
.cell:focus-within { background: var(--accent-lift); outline: 3px solid #fff; outline-offset: 2px; }
.cell-go { border: 0; background: var(--ground); color: var(--ink); font-size: 18px; font-weight: 700; transition: background-color .2s, transform .15s var(--ease); }
.cell-go:hover { background: #fff; }
.cell-go:active { transform: scale(.98); }
.bar-print { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--m) 0; font-size: var(--s1); color: #D6ECE9; }
.bar-print p:last-child { grid-column: 3; }

/* ====
   Footer · tiles
   ========================================================================== */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px 12px 12px; }
.tile { border-radius: var(--r); padding: 24px; min-height: 220px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.tile-statement { grid-column: 1 / span 4; background: var(--tone); justify-content: space-between; }
.tile-statement p { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; max-width: 22ch; }
.tile-statement small { font-size: var(--s1); color: var(--soft); }
.tile-statement .legal-links { display: block; margin-top: 6px; }
.legal-links a { color: var(--ink); text-underline-offset: 3px; }
.fine a { color: inherit; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------- policy pages */
.policy { max-width: 760px; margin: 0 auto; padding: 32px var(--m) 96px; }
.policy-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 16px var(--m); max-width: 760px; margin: 0 auto; }
.policy-top > a { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.policy-top nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.policy-top nav a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.policy-top nav a:hover, .policy-top nav a[aria-current] { text-decoration-color: currentColor; }
.policy h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 24px 0 8px; }
.policy .updated { color: var(--soft); font-size: var(--s1); margin-bottom: 32px; }
.policy h2 { font-size: 22px; line-height: 1.25; margin: 40px 0 10px; }
.policy p, .policy li { font-size: 17px; line-height: 1.65; }
.policy p + p { margin-top: 12px; }
.policy ul, .policy ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.policy ul { list-style: disc; }
.policy ol { list-style: decimal; }
.policy li::marker { color: var(--accent-deep); font-weight: 700; }
.policy a { color: var(--accent-deep); text-underline-offset: 3px; }
.policy .lead { font-size: 20px; line-height: 1.55; }
.policy .facts { background: var(--paper); border-radius: 20px; padding: 20px 24px; margin: 24px 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 16px; }
.policy .facts dt { color: var(--soft); font-weight: 600; }
.policy .facts dd { margin: 0; font-weight: 600; }
.policy table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.policy th, .policy td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--tone); vertical-align: top; }
.policy .note { background: var(--mint); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
@media (max-width: 560px) { .policy .facts { grid-template-columns: 1fr; gap: 2px; } .policy .facts dd { margin-bottom: 8px; } }
.tile-nav { grid-column: 5 / span 3; background: var(--tone-2); }
.tile-nav a { text-decoration: none; font-weight: 600; padding: 2px 0; }
.tile-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile-time { grid-column: 8 / span 2; background: var(--blush); }
.tile-time .time { font-size: var(--s4); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tile-mail { grid-column: 10 / span 3; background: var(--mint); justify-content: flex-end; }
.tile-mail a { font-weight: 600; text-decoration: none; }
.tile-mail a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile-mail .mail { font-size: var(--s3); }
.tile-word { grid-column: 1 / span 8; min-height: 320px; background: var(--ink); color: var(--ground); align-items: center; justify-content: center; overflow: hidden; }
.tile-word span { font-size: clamp(40px, 7.4vw, 124px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.tile-go { grid-column: 9 / -1; min-height: 320px; background: var(--accent); color: #fff; justify-content: space-between; transition: background-color .2s var(--ease); }
.tile-go span { font-size: var(--s4); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; max-width: 12ch; }
.tile-go svg { align-self: flex-end; transition: transform .3s var(--ease); }
.tile-go:hover { background: var(--accent-deep); }
.tile-go:hover svg { transform: translate(6px, -6px); }

/* ====
   Dialogs · product, bag drawer, checkout (these float, so they may cast a shadow)
   ========================================================================== */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(22 26 25 / .55); }
dialog[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.close { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--tone-2); display: grid; place-items: center; transition: background-color .2s; }
.close:hover { background: var(--tone); }

.product { width: min(1000px, calc(100% - 24px)); max-height: calc(100svh - 24px); border-radius: 20px; box-shadow: 0 30px 80px -30px rgb(22 26 25 / .45); } /* taste-skill-ignore: overlay or form field */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; }
.pd-media { background: var(--tone); min-height: 100%; }
.pd-media img { width: 100%; height: 100%; max-height: calc(100svh - 24px); object-fit: cover; }
.pd-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.pd-body .close { position: absolute; top: 16px; right: 16px; }
.pd-name { font-size: var(--s4); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; padding-right: 56px; }
.pd-price { font-size: var(--s3); font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-note { color: var(--soft); max-width: 40ch; }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.opts[hidden] { display: none; }
.opt-in { position: absolute; opacity: 0; pointer-events: none; }
.opt-label {
  min-height: 44px; min-width: 48px; padding: 0 14px; border-radius: var(--r); background: var(--tone-2);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s, transform .15s;
}
.opt-label:hover { background: var(--tone); }
.opt-in:checked + .opt-label { background: var(--ink); color: var(--ground); }
.opt-in:focus-visible + .opt-label { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt-label:active { transform: scale(.96); }
.pd-error { color: #B42318; font-weight: 600; min-height: 1.5em; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: auto; }

.drawer { margin: 0 0 0 auto; height: 100svh; max-height: 100svh; width: min(460px, 100%); border-radius: 20px 0 0 20px; box-shadow: -30px 0 80px -40px rgb(22 26 25 / .5); } /* taste-skill-ignore: overlay or form field */
.drawer[open] { animation: slide .35s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-in { height: 100%; display: flex; flex-direction: column; padding: 20px; gap: 16px; }
.drawer-head, .co-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2, .co-head h2 { font-size: var(--s4); font-weight: 600; letter-spacing: -0.02em; }
.bag-items { flex: 1; overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.bag-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: var(--tone-2); border-radius: var(--r); padding: 10px; }
.bag-items img { width: 72px; height: 88px; object-fit: cover; border-radius: 8px; }
.bag-items .n { font-weight: 600; line-height: 1.25; }
.bag-items .v { font-size: var(--s1); color: var(--soft); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--paper); font-weight: 700; }
.qty button:hover { background: var(--tone); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.bag-items .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bag-items .lp { font-weight: 600; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; font-size: var(--s1); color: var(--soft); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.remove:hover { color: var(--ink); }
.bag-empty { flex: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bag-empty[hidden], .bag-foot[hidden] { display: none; }
.row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.row.saving { color: var(--accent-deep); font-weight: 600; }
.row.saving[hidden] { display: none; }
.row.total { font-size: var(--s3); font-weight: 700; padding-top: 6px; }
.bag-foot { display: grid; gap: 8px; background: var(--tone-2); border-radius: var(--r); padding: 16px; }
.fine { font-size: var(--s1); color: var(--soft); }

.checkout { width: min(1040px, calc(100% - 24px)); max-height: calc(100svh - 24px); border-radius: 20px; box-shadow: 0 30px 80px -30px rgb(22 26 25 / .45); } /* taste-skill-ignore: overlay or form field */
.co { padding: 24px; }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 20px; }
.co-fields { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field label, .choice legend { font-weight: 600; }
.opt { color: var(--soft); font-weight: 500; }
.field input {
  min-height: 48px; padding: 0 14px; border: 0; border-radius: var(--r); background: #fff;
  box-shadow: inset 0 0 0 1px rgb(22 26 25 / .18); font-size: var(--s2); /* taste-skill-ignore: overlay or form field */
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); } /* taste-skill-ignore: overlay or form field */
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B42318; } /* taste-skill-ignore: overlay or form field */
.err { color: #B42318; font-size: var(--s1); font-weight: 600; min-height: 0; }
.co-error { color: #B42318; background: #FDECEA; border-radius: var(--r); padding: 12px 14px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.co-error[hidden] { display: none; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice legend { margin-bottom: 8px; padding: 0; }
.choice label {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 12px; align-items: center; cursor: pointer;
  padding: 12px 14px; border-radius: var(--r); background: var(--tone-2); transition: background-color .2s var(--ease);
}
.choice label:hover { background: var(--tone); }
.choice label:has(input:checked) { background: var(--mint); box-shadow: inset 0 0 0 2px var(--accent); } /* taste-skill-ignore: overlay or form field */
.choice input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.choice .t { font-weight: 600; }
.choice .s { grid-column: 2; font-size: var(--s1); color: var(--soft); }
.choice .f { grid-row: 1; grid-column: 3; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-summary { background: var(--tone-2); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; align-content: start; position: sticky; top: 0; }
.co-summary h3 { font-size: var(--s3); font-weight: 600; }
.co-summary ul { display: grid; gap: 8px; margin-bottom: 6px; }
.co-summary li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 15px; }
.co-summary li img { width: 48px; height: 58px; object-fit: cover; border-radius: 8px; }
.co-summary li .v { display: block; font-size: var(--s1); color: var(--soft); }
.done { padding: 40px 32px; display: grid; gap: 14px; max-width: 560px; }
.done[hidden] { display: none; }
.done h2 { font-size: var(--s4); font-weight: 600; letter-spacing: -0.02em; }
.done-no { font-size: var(--s3); }
.done-note { background: var(--sand); border-radius: var(--r); padding: 12px 14px; font-weight: 600; }
.done-note[hidden] { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--ground); padding: 14px 18px; border-radius: var(--r); font-weight: 600;
  transition: transform .35s var(--ease), opacity .35s, visibility .35s; box-shadow: 0 20px 40px -20px rgb(22 26 25 / .6); max-width: calc(100% - 24px); /* taste-skill-ignore: overlay or form field */
}
.toast { opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ====
   Motion · entrances (content stays visible without script)
   ========================================================================== */
.js [data-rise]:not(.in) > *, .js [data-rise]:not(.in).look-side, .js .h-section[data-rise]:not(.in) { opacity: 0; transform: translateY(24px); }
[data-rise] > *, [data-rise].look-side, .h-section[data-rise] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.shutter { animation: shutter 1.1s var(--ease) both; }
.shutter img { animation: settle 1.3s var(--ease) both; }
@keyframes shutter { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.item.enter { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rise]:not(.in) > *, .js [data-rise]:not(.in).look-side, .js .h-section[data-rise]:not(.in) { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}

/* ====
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .look-side { grid-column: 1 / span 4; }
  .look-runs { grid-column: 5 / -1; }
  .shop-head h2 { grid-column: 1 / -1; }
  .shop-note { grid-column: 1 / span 6; }
  .filters { grid-column: 7 / -1; }
  .index-col { grid-column: span 4; }
  .index-desc { grid-column: 1 / -1; grid-row: auto; }
  .faq h2 { grid-column: 1 / -1; }
  .faq-text { grid-column: 1 / -1; }
  .tile-statement { grid-column: 1 / span 6; }
  .tile-nav { grid-column: 7 / span 6; }
  .tile-time { grid-column: 1 / span 6; }
  .tile-mail { grid-column: 7 / span 6; }
  .tile-word { grid-column: 1 / -1; }
  .tile-go { grid-column: 1 / -1; min-height: 220px; }
  .sheet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheet-grid > .col:nth-child(n+5) { display: none; }
}

/* ====
   Phone · its own composition
   ========================================================================== */
@media (max-width: 720px) {
  .bag-button { top: 10px; right: 10px; }
  .sheet { height: auto; min-height: 0; max-height: min(150svh, 1250px); padding: 8px; }
  .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; height: auto; }
  .sheet-grid > .col { display: none; }
  .sheet-grid > .col.m { display: flex; gap: 8px; }
  .sheet-grid > .col.m { margin-top: 0; }
  .sheet-grid > .col.m:first-child { margin-top: 60px; }
  .pair { display: contents; }
  .pair-top, .pair-bottom { display: none; }
  .panel { grid-column: 1 / -1; order: -1; height: auto; min-height: min(40svh, 380px); gap: 16px; padding: 22px 20px; }
  .panel .wordmark { font-size: 7vw; font-size: max(26px, 7vw); }
  .panel-lead { font-size: 17px; }
  .panel .button { width: 100%; }
  .col-drift { animation: none; }

  .look { display: block; padding-top: 72px; }
  .look-side { position: static; margin-bottom: 32px; }
  .look-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-search { position: static; }

  .shop-head { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--m) * -1); padding: 0 var(--m); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .catalogue { --row: 190px; gap: 22px 8px; }
  .item { width: calc(50% - 4px); max-width: none; flex-grow: 0; }
  .item .img { aspect-ratio: 4 / 5; }
  .item .meta { flex-direction: column; gap: 2px; }

  .index { padding: 80px var(--m); }
  .index h2 { margin-bottom: 48px; }
  .index-cols { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .index-col { font-size: 18px; line-height: 1.4; }
  .index-sum { display: block; color: var(--soft); margin-top: 10px; }
  .index-desc { display: none; }

  .how-buttons { display: none; }
  .how-row { gap: 16px; }
  .how-row li { flex-basis: 72vw; }
  .how-row img { margin-top: calc(var(--gap) * .4); }

  .faq { display: block; padding: 80px var(--m); }
  .faq h2 { margin-bottom: 28px; }
  .faq-text { columns: 1; font-size: 16px; }
  .faq-text p { margin-bottom: 18px; }

  .contact { min-height: 0; padding: 32px 0 56px; }
  .strip-track img { height: 110px; }
  .h-contact { font-size: 13vw; margin: 48px var(--m) 28px; }
  .bar { grid-template-columns: 1fr; }
  .cell { height: 60px; }
  .bar-print { grid-template-columns: 1fr; }
  .bar-print p:last-child { grid-column: auto; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "word word" "go go" "nav mail" "time time" "statement statement"; gap: 6px; padding: 6px; }
  .tile { min-height: 0; padding: 20px; grid-column: auto; }
  .tile-word { grid-area: word; min-height: 160px; }
  .tile-word span { font-size: 11vw; }
  .tile-go { grid-area: go; min-height: 160px; }
  .tile-nav { grid-area: nav; }
  .tile-mail { grid-area: mail; }
  .tile-mail .mail { font-size: 15px; overflow-wrap: anywhere; }
  .tile-time { grid-area: time; }
  .tile-statement { grid-area: statement; gap: 16px; }
  .tile-statement p { font-size: 20px; }

  .product { width: 100%; max-width: 100%; max-height: 100svh; height: 100svh; margin: 0; border-radius: 0; }
  .pd { grid-template-columns: 1fr; }
  .pd-media img { max-height: 46svh; }
  .pd-body { padding: 20px; }
  .pd-body .close { position: fixed; top: 12px; right: 12px; background: var(--paper); }
  .drawer { width: 100%; border-radius: 0; }
  .checkout { width: 100%; max-width: 100%; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; }
  .co { padding: 18px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}

/* Screenshot mode (?still): the finished state with no motion */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still [data-rise] > *, .still [data-rise].look-side, .still .h-section[data-rise] { opacity: 1 !important; transform: none !important; }
.look[hidden] { display: none; }

/* ---------------------------------------------------------------- analytics consent (analytics.js) */
.consent {
  position: fixed; z-index: 60; left: var(--m, 16px); right: var(--m, 16px); bottom: var(--m, 16px);
  max-width: 34rem; margin-inline: auto; padding: 18px 20px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--tone); border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(22, 26, 25, .35); font-size: .95rem; line-height: 1.45;
}
.consent p { margin: 0 0 14px; }
.consent a { color: var(--accent-deep); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.consent-actions .link { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .consent { animation: consent-in .35s cubic-bezier(.16, 1, .3, 1) both; } }
@keyframes consent-in { from { transform: translateY(16px); opacity: 0; } }
