/* After June — shared styles. All pages use only these tokens and classes. */

:root {
  --paper: #FBFAF8;
  --panel: #F0EDE8;     /* photo backgrounds, quiet fills */
  --ink: #1D1B19;
  --smoke: #6E6862;     /* secondary text */
  --line: #E3DFD9;
  --plum: #4B2A47;      /* accent: the dark purple thread */

  --band: #EFEEEA;      /* grey bands: announcement bar, category row */
  --foot: #F9F9F7;      /* footer background */

  --serif: "Literata", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --type: "Courier Prime", "Courier New", ui-monospace, monospace;  /* wordmark */
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;  /* 13 */
  --step-0: 0.9375rem;   /* 15 */
  --step-1: 1.125rem;    /* 18 */
  --step-2: 1.5rem;      /* 24 */
  --step-3: 2rem;        /* 32 */
  --step-4: clamp(2.25rem, 4.5vw, 3.25rem);

  --gutter: clamp(1rem, 3.5vw, 3rem);
  --max: 1440px;
  --header-h: 64px;
  --label: 0.8125rem;   /* small uppercase labels */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.display { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: var(--step-3); line-height: 1.15; }
.h3 { font-size: var(--step-2); line-height: 1.25; }
.lede { font-family: var(--serif); font-size: var(--step-1); line-height: 1.65; max-width: 38em; color: var(--ink); }
.muted { color: var(--smoke); }
.small { font-size: var(--step--1); }
.tbc { color: var(--smoke); font-style: italic; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--line);
}
.link:hover { text-decoration-color: currentColor; }

/* Announcement bar */
.announce {
  background: var(--band); color: var(--ink); text-align: center;
  font: 400 0.75rem/1.4 var(--mono); padding: 7px var(--gutter);
}

/* Header: wordmark left, nav centred, bag right */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; height: 112px; max-width: none; transition: height .35s ease; }
.wordmark { font: 400 clamp(2rem, 3.6vw, 3.25rem)/1 var(--type); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; justify-self: start; white-space: nowrap; transition: font-size .35s ease; }
/* After scrolling, the header and wordmark shrink */
.site-header.compact .wrap { height: var(--header-h); }
.site-header.compact .wordmark { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
@media (max-width: 860px) {
  .site-header .wrap { height: 80px; }
  .wordmark { font-size: 1.9rem; }
  .site-header.compact .wordmark { font-size: 1.35rem; }
}
.nav { display: flex; gap: 1.75rem; justify-self: center; }
.nav a, .bag-button, .menu-button { font: 400 var(--label)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.header-end { justify-self: end; display: flex; gap: 1.25rem; align-items: center; }
.bag-button { background: none; border: 0; padding: 0; cursor: pointer; }
.bag-count { font-variant-numeric: tabular-nums; }
.menu-button { display: none; background: none; border: 0; padding: 0; cursor: pointer; }

@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; font-size: 0.875rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.5rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--plum); border-color: var(--plum); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

/* Hero: full width, shorter than the screen so the next section shows */
.hero { position: relative; height: clamp(340px, 60vh, 620px); overflow: hidden; background: var(--panel); }
.hero picture, .hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,14,.55), rgba(20,16,14,0) 55%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem); z-index: 1; color: #FBF8F4; }
.hero-text p { max-width: 34em; margin-top: 0.75rem; color: rgba(251,248,244,.85); }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.path { text-decoration: none; display: block; }
.path .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.path:hover img { transform: scale(1.025); }
.path h2 { margin-top: 1.25rem; }
.path p { color: var(--smoke); margin: .35rem 0 .75rem; }
.path .go { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; gap: 3rem; } }

/* Leathers */
.leathers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.swatch-block { aspect-ratio: 3 / 2; position: relative; overflow: hidden; }
.swatch-block::after { /* leather grain */
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.leather h3 { margin: 1rem 0 .35rem; }
@media (max-width: 760px) { .leathers { gap: .75rem; } .swatch-block { aspect-ratio: 1; } .leather h3 { font-size: var(--step-1); } .leather p { font-size: var(--step--1); } }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise { padding: 1.75rem var(--gutter) 0 0; }
.promise h3 { font-size: var(--step-1); margin-bottom: .35rem; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } .promise { padding-right: 0; } }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: center; }
.split .frame { aspect-ratio: 1; overflow: hidden; background: var(--panel); }
.split .frame img { width: 100%; height: 100%; object-fit: cover; }
.split .text { max-width: 30rem; }
.split .text h2 { margin-bottom: 1rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Page intro */
.page-intro { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-intro .lede { margin-top: 1rem; color: var(--smoke); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem var(--gutter); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { text-decoration: none; display: block; }
.card .frame { aspect-ratio: 1; background: var(--panel); overflow: hidden; position: relative; }
.card .frame img { width: 100%; height: 100%; object-fit: cover; }
.card .frame img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.card:hover .frame img + img { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.card-name { font-family: var(--serif); font-size: var(--step-1); line-height: 1.3; }
.card-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-dots { display: flex; gap: 6px; margin-top: .6rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* Product page */
.crumbs { padding: 1.25rem 0; font-size: var(--step--1); color: var(--smoke); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.gallery-main { aspect-ratio: 1; background: var(--panel); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: .75rem; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--panel); aspect-ratio: 1; cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.buy .price { font-size: var(--step-1); margin: .5rem 0 2rem; font-variant-numeric: tabular-nums; }
.field-label { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.swatches { display: flex; gap: .75rem; margin-bottom: 2rem; border: 0; padding: 0; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 1px solid transparent; outline-offset: 3px; }
.swatch input:checked + span { outline-color: var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--plum); }
.specs { margin: 2rem 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--smoke); }
.specs dd { margin: 0; }
.note { color: var(--smoke); font-size: var(--step--1); margin-top: 1rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .buy { position: static; } }

/* Bag drawer */
.bag-overlay { position: fixed; inset: 0; background: rgba(20,16,14,.35); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 41;
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
body.bag-open .bag-overlay { opacity: 1; pointer-events: auto; }
body.bag-open .bag { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.bag-items { flex: 1; overflow: auto; padding: 0 var(--gutter); }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 72px; height: 72px; object-fit: cover; background: var(--panel); }
.qty { display: inline-flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: none; cursor: pointer; }
.text-button { background: none; border: 0; padding: 0; color: var(--smoke); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bag-foot { padding: 1.25rem var(--gutter) 1.5rem; border-top: 1px solid var(--line); }
.bag-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: var(--step-1); }
.bag-empty { padding: 2rem 0; color: var(--smoke); }

/* Notebook builder */
.builder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.bench { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.bench-stage { background: var(--panel); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 1.5rem; }
.bench-stage svg { width: 100%; height: 100%; }
.bench-stage svg .layer { transition: opacity .3s ease; }
.ledger { margin-top: 1.25rem; }
.ledger ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.ledger .total { display: flex; justify-content: space-between; margin-top: 1rem; font-size: var(--step-1); }
.step { padding: 2rem 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step h2 { font-size: var(--step-2); margin-bottom: .35rem; }
.step > p { color: var(--smoke); margin-bottom: 1.25rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label { display: block; border: 1px solid var(--line); padding: .9rem 1rem; cursor: pointer; height: 100%; }
.choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--plum); outline-offset: 2px; }
.choice .name { display: block; }
.choice .sub { display: block; color: var(--smoke); font-size: var(--step--1); margin-top: .2rem; }
.choice .chip { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: .5rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.addon { border: 1px solid var(--line); padding: 1.25rem; margin-bottom: .75rem; }
.addon.on { border-color: var(--ink); }
.addon-top { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.addon-name { font-family: var(--serif); font-size: var(--step-1); }
.addon-line { color: var(--smoke); margin-top: .2rem; }
.toggle { min-height: 40px; padding: 0 1rem; border: 1px solid var(--ink); background: transparent; cursor: pointer; white-space: nowrap; }
.addon.on .toggle { background: var(--ink); color: var(--paper); }
.addon-options { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.addon:not(.on) .addon-options { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill label { display: inline-block; border: 1px solid var(--line); padding: .45rem .85rem; cursor: pointer; font-size: var(--step--1); }
.pill input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pill input:focus-visible + label { outline: 2px solid var(--plum); outline-offset: 2px; }
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.preset { text-align: left; border: 1px solid var(--line); background: none; padding: 1rem; cursor: pointer; }
.preset:hover { border-color: var(--ink); }
.reserve { background: var(--panel); padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 1rem; }
.reserve h2 { font-size: var(--step-2); margin-bottom: .5rem; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .bench { position: static; } }

/* Forms */
.form { display: grid; gap: 1.25rem; max-width: 36rem; }
.form label { display: block; margin-bottom: .4rem; }
.input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid #CFC9C1; background: #fff; border-radius: 0;
}
.form textarea { min-height: 160px; resize: vertical; }
.form-status { min-height: 1.6em; }
.inline-form { display: flex; gap: .5rem; max-width: 28rem; }
.inline-form .input { flex: 1; }

/* About */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); counter-reset: step; }
.process li { list-style: none; }
.process .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); margin-bottom: .9rem; }
.process .frame img { width: 100%; height: 100%; object-fit: cover; }
.process h3 { font-size: var(--step-1); }
.process h3::before { counter-increment: step; content: counter(step) ". "; color: var(--smoke); }
ol.process { padding: 0; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }

.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.aside h2 { font-size: var(--step-1); margin: 0 0 .35rem; }
.aside section + section { margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--foot); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); font: 400 0.8125rem/1.6 var(--mono); }
.site-footer .wrap { max-width: none; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); }
.footer-news p { margin: 0 0 1.25rem; font-size: 0.875rem; }
.footer-news .under-link { display: inline-block; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.footer-cols h2 { font: 400 var(--label)/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 1rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-cols a { text-decoration: none; color: var(--smoke); }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-top: clamp(4rem, 9vw, 8rem); }
.footer-mark { font: 400 clamp(3rem, 9vw, 8.5rem)/0.85 var(--type); text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }
.footer-copy { font-size: 0.75rem; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}

.pill .chip { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .4rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.pill input:checked + label .pill-price, .pill input:checked + label .tbc { color: inherit; }
.initial-field { margin-top: 1rem; }
.initial-field label { display: block; margin-bottom: .35rem; }
.build-bar { display: none; }
@media (max-width: 900px) {
  .build-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .build-bar .btn { min-height: 42px; }
  body[data-page="notebook"] .site-footer, [data-page="notebook"] ~ .site-footer { padding-bottom: 5rem; }
}
.pill input:checked + label .chip { box-shadow: 0 0 0 1px rgba(255,255,255,.7); }

/* ---------- Home (Deadly Ponies-style) ---------- */
.label-link {
  font: 400 var(--label)/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; color: var(--ink);
}
/* Two side-by-side hero panels */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.duo-panel { position: relative; display: block; height: calc(80svh - var(--header-h)); min-height: 420px; max-height: 820px; overflow: hidden; background: var(--panel); }
.duo-panel img { width: 100%; height: 100%; object-fit: cover; }
.duo-panel .label-link, .banner .label-link { position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 3vw, 2rem); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-panel { height: auto; min-height: 0; aspect-ratio: 4 / 5; } }

/* Full-width banner */
.banner { position: relative; display: block; height: 75svh; min-height: 320px; overflow: hidden; background: var(--panel); margin-bottom: 32px; }
.banner { background: transparent; }
/* The hero rises out of the page: soft fade from the background at the top, back into it at the bottom */
.banner img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 80%, transparent 100%);
  filter: saturate(.92);
  animation: hero-settle 1.8s ease-out both;
}
@keyframes hero-settle { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.banner .label-link { color: var(--ink); text-shadow: none; z-index: 2; left: 50%; transform: translateX(-50%); font-size: 1.125rem; letter-spacing: 0.04em; white-space: nowrap; }
@media (max-width: 480px) { .banner .label-link { font-size: 0.9375rem; } }
/* Film grain: a faint noise layer over the photo, faded with the same mask so the white edges stay clean */
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 80%, transparent 100%);
}

/* Category row on a grey band */
.cats { background: var(--band); padding: 1.5rem var(--gutter) clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.cat { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.cat .frame { aspect-ratio: 1; overflow: hidden; mix-blend-mode: multiply; }
.cat .frame img { width: 100%; height: 100%; object-fit: contain; }
.cat:hover .label-link { text-decoration-thickness: 2px; }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* Five editorial notes */
.notes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter); gap: 0; }
.note-card .frame { aspect-ratio: 2 / 3; overflow: hidden; background: var(--panel); position: relative; }
.note-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.note-card .frame.swatch-block { aspect-ratio: 2 / 3; }
.note-card .body { padding: 1rem 1rem 0 1rem; font: 400 0.8125rem/1.55 var(--mono); }
.note-card h3 { font: 400 var(--label)/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 .6rem; }
.note-card p { color: var(--ink); margin: 0; max-width: 26ch; }
@media (max-width: 900px) {
  .notes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; padding-right: 0; }
  .note-card { flex: 0 0 62%; scroll-snap-align: start; }
}
