/* Ribbon Beast — main stylesheet
   Concept: the show ring. Entry numbers, judge's reports, prize rosettes.
   Flat colour, hard offset shadows, square corners. */

@font-face { font-family: "Zilla Slab"; src: url(/assets/fonts/zilla-slab-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url(/assets/fonts/zilla-slab-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url(/assets/fonts/zilla-slab-latin-700-italic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url(/assets/fonts/spline-sans-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #141210;
  --ink-2: #3b3833;
  --paper: #ffffff;
  --mist: #eeefea;
  --red: #d2232a;
  --red-dk: #a9181e;
  --gold: #f0b323;
  --line: 2px solid var(--ink);
  --hard: 5px 5px 0 var(--ink);
  --hard-s: 3px 3px 0 var(--ink);
  --f-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --f-body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Spline Sans Mono", ui-monospace, Menlo, monospace;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.mono, .kicker { font-family: var(--f-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.hide-s { display: none; }
@media (min-width: 720px) { .hide-s { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border: var(--line); background: var(--ink); color: var(--paper);
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--red); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--red); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-red { background: var(--red); border-color: var(--ink); box-shadow: var(--hard-s); }
.btn-red:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--hard-s); }
.btn-ghost:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-s { min-height: 38px; padding: 0 .9em; font-size: .875rem; box-shadow: 3px 3px 0 var(--red); }
.btn-l { min-height: 56px; flex: 1; font-size: 1.0625rem; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--red); }

/* ---------- Notice + header ---------- */
.notice { background: var(--red); color: var(--paper); font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.notice p { margin: 0; padding: 9px var(--gut); display: flex; gap: .75em; justify-content: center; flex-wrap: wrap; text-align: center; }

.site-head { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 150px; }
@media (min-width: 720px) { .brand img { width: 190px; } }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: .9375rem; border: 2px solid transparent; }
.main-nav a:hover { border-color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.basket-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: var(--line); text-decoration: none; font-weight: 700; font-size: .9375rem; background: var(--paper); }
.basket-btn:hover { box-shadow: var(--hard-s); transform: translate(-1px, -1px); }
.basket-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--red); color: var(--paper); font: 500 .8125rem/1 var(--f-mono); }
.basket-count.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: var(--line); background: var(--paper); cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 10px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-lines { top: 20px; }
.menu-lines::before { left: 0; top: -6px; }
.menu-lines::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-btn { display: block; }
  .head-actions { margin-left: auto; }
  .basket-btn span:first-child { display: none; }
  .main-nav { position: fixed; inset: 0; top: var(--head-bottom, 108px); background: var(--paper); border-top: var(--line); padding: 16px var(--gut) 40px; overflow-y: auto; display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--ink); }
  .main-nav a { font-family: var(--f-display); font-size: 2rem; padding: 14px 0; border: 0; }
  .main-nav a[aria-current="page"] { background: none; color: var(--red); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Photo frames (empty until real images are added) ---------- */
.frame {
  position: relative; aspect-ratio: var(--ar, 4/5); border: var(--line); overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, rgba(20, 18, 16, .07) 11px 12px),
    var(--mist);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
}
.frame-label { position: absolute; top: 10px; left: 10px; background: var(--paper); border: 1.5px solid var(--ink); padding: 3px 7px; font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.frame-note { font: 500 .75rem/1.4 var(--f-mono); color: var(--ink-2); max-width: 30ch; }
.frame.has-img { padding: 0; background: var(--mist); }
.frame.has-img img { width: 100%; height: 100%; object-fit: cover; }
.frame.is-product { background: #fff; }
.frame.is-product img { object-fit: contain; }
.thumb-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.thumb-btn .frame { transition: box-shadow .15s; }
.thumb-btn[aria-current="true"] .frame { box-shadow: 4px 4px 0 var(--red); }
.thumb-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.frame-thumb .frame-note { display: none; }
.frame-dark { background: repeating-linear-gradient(-45deg, transparent 0 11px, rgba(255,255,255,.08) 11px 12px), #24211d; border-color: var(--paper); }
.frame-dark .frame-note { color: #c9c5bd; }
.frame-dark .frame-label { background: var(--ink); color: var(--paper); border-color: var(--paper); }

/* ---------- Rosette badge (CSS-free, inline SVG lives in HTML) ---------- */
.rosette-badge { position: absolute; width: clamp(110px, 14vw, 168px); z-index: 2; filter: none; }

/* ---------- Hero ---------- */
.hero { border-bottom: var(--line); }
.hero-grid { display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 96px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(3.1rem, 9.2vw, 7.6rem); line-height: .9; letter-spacing: -0.025em; }
.hero h1 em { color: var(--red); font-style: italic; }
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 36ch; margin: 28px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.hero-media { position: relative; margin: 24px 12px 0 0; }
.hero-media .frame { box-shadow: 10px 10px 0 var(--ink); }
.hero-media .rosette-badge { top: -36px; left: -28px; transform: rotate(-10deg); }
@media (max-width: 600px) { .hero-media .rosette-badge { left: -8px; } }
.entry-no { position: absolute; right: -12px; bottom: 28px; background: var(--paper); border: var(--line); padding: 10px 14px 8px; transform: rotate(3deg); box-shadow: var(--hard-s); }
.entry-no b { display: block; font: 700 2rem/1 var(--f-display); }
.entry-no span { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-bottom: var(--line); }
.ticker-track { display: flex; width: max-content; animation: tick 80s linear infinite; }
.ticker ul { list-style: none; display: flex; }
.ticker li { font: 700 italic clamp(1.25rem, 2.4vw, 1.75rem)/1 var(--f-display); padding: 18px 0; white-space: nowrap; }
.ticker li::after { content: "✦"; font-style: normal; color: var(--gold); margin: 0 .9em; font-size: .7em; vertical-align: .15em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Section headers ---------- */
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.h-section { font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: .95; }
.h-section em { color: var(--red); }
.sec-head p { max-width: 44ch; margin: 0; }
.sec-head .kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.sec-head .kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }

/* ---------- Classes ---------- */
.class-list { list-style: none; border-top: var(--line); }
.class-row { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 20px; align-items: baseline; padding: 22px 0; border-bottom: var(--line); text-decoration: none; transition: background .15s, padding .15s; }
.class-no { font: 500 .875rem/1 var(--f-mono); color: var(--red); grid-row: span 2; align-self: start; padding-top: .6em; }
.class-name { font: 700 clamp(2.25rem, 6vw, 4.5rem)/.95 var(--f-display); }
.class-line { grid-column: 2; color: var(--ink-2); }
.class-count { font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; grid-row: 1; grid-column: 3; align-self: center; }
.class-arrow { display: none; }
@media (min-width: 900px) {
  .class-row { grid-template-columns: 80px 1.1fr 1fr 120px 40px; align-items: center; }
  .class-no { grid-row: auto; align-self: center; padding: 0; }
  .class-line { grid-column: auto; }
  .class-count { grid-row: auto; grid-column: auto; }
  .class-arrow { display: block; font-size: 1.75rem; transition: transform .15s; }
}
.class-row:hover { background: var(--ink); color: var(--paper); padding-inline: 16px; }
.class-row:hover .class-line { color: #c9c5bd; }
.class-row:hover .class-no { color: var(--gold); }
.class-row:hover .class-arrow { transform: translateX(6px); color: var(--gold); }

/* ---------- Product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.grid-3 { }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-tag { display: flex; justify-content: space-between; gap: 8px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 0; border-top: var(--line); }
.card-link { text-decoration: none; display: block; position: relative; }
.card-link .frame { transition: box-shadow .15s, transform .15s; }
.card-link:hover .frame { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--red); }
.card-link .frame-note { font-size: .6875rem; }
@media (max-width: 600px) { .card-link .frame-note { display: none; } }
.card-name { font-size: clamp(1.25rem, 2vw, 1.625rem); margin-top: 14px; }
.card-link:hover .card-name { color: var(--red); }
.card-type { font-size: .9375rem; color: var(--ink-2); margin: 4px 0 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font: 500 1rem/1 var(--f-mono); }
.sample-tag { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--gold); border: 1.5px solid var(--ink); padding: 3px 7px; font: 500 .625rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(4deg); }
.entry-card .sample-tag { position: static; display: inline-block; margin-bottom: 10px; transform: none; }
.empty-ring { grid-column: 1 / -1; border: 2px dashed var(--ink); padding: clamp(32px, 6vw, 72px); text-align: center; }
.empty-big { font: 700 clamp(2rem, 5vw, 3.5rem)/1 var(--f-display); }

/* ---------- Coat guide (judge's score sheet) ---------- */
.guide { background: var(--mist); border-block: var(--line); }
.sheet { background: var(--paper); border: var(--line); box-shadow: 10px 10px 0 var(--ink); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 20px; border-bottom: var(--line); font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.sheet-row { display: grid; gap: 6px 24px; padding: 22px 20px; border-bottom: 1px solid var(--ink); }
.sheet-row:last-child { border-bottom: 0; }
@media (min-width: 900px) { .sheet-row { grid-template-columns: 1.1fr 1.2fr 1.4fr 1fr; padding: 24px 28px; } }
.sheet-row h3 { font-size: 1.5rem; }
.sheet-row .breeds { font-size: .9375rem; color: var(--ink-2); margin: 4px 0 0; }
.sheet-row .lbl { display: block; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.sheet-row p { margin: 0; }
.sheet-row a { font-weight: 700; }
.sheet-cols { display: none; }
@media (min-width: 900px) {
  .sheet-cols { display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr 1fr; gap: 24px; padding: 12px 28px; border-bottom: var(--line); font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
  .sheet-row .lbl { display: none; }
}

/* ---------- Scent split ---------- */
.split { background: var(--ink); color: var(--paper); }
.split-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split h2 em { color: var(--gold); }
.split .kicker { color: var(--gold); }
.split .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.notes { list-style: none; display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid #55514a; }
.notes li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #55514a; }
.notes b { font: 700 1.375rem/1.1 var(--f-display); }
.notes span { color: #c9c5bd; text-align: right; }
.fine { font-size: .875rem; color: #c9c5bd; }

/* ---------- Promises ---------- */
.promises { list-style: none; display: grid; border: var(--line); }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises li { padding: 24px; border-bottom: var(--line); }
.promises li:last-child { border-bottom: 0; }
@media (min-width: 720px) { .promises li { border-bottom: 0; border-right: var(--line); } .promises li:last-child { border-right: 0; } }
.promises b { display: block; font: 700 1.5rem/1.1 var(--f-display); margin-bottom: 6px; }
.promises span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Social wall ---------- */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 900px) { .wall { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.wall .frame { padding: 8px; }
.wall .frame-note { font-size: .625rem; }
@media (max-width: 600px) { .wall .frame-note { display: none; } }
.handle { font: 700 italic clamp(2.5rem, 7vw, 5.5rem)/1 var(--f-display); color: var(--red); text-decoration: none; }
.handle:hover { color: var(--ink); }
.social-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }

/* ---------- Newsletter ---------- */
.signup { border-top: var(--line); background: var(--gold); }
.signup-grid { display: grid; gap: 28px; padding-block: clamp(48px, 7vw, 88px); align-items: end; }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.field-row { display: flex; gap: 0; border: var(--line); background: var(--paper); box-shadow: var(--hard); }
.field-row input { flex: 1; min-width: 0; border: 0; padding: 0 16px; min-height: 56px; background: transparent; font-size: 1.0625rem; }
.field-row input:focus { outline: none; }
.field-row:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.field-row .btn { box-shadow: none; border: 0; border-left: var(--line); min-height: 56px; }
.form-msg { margin-top: 14px; font-weight: 700; min-height: 1.5em; }

/* ---------- Forms (contact) ---------- */
.form { display: grid; gap: 20px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form textarea, .form select { border: var(--line); padding: 12px 14px; min-height: 50px; background: var(--paper); font-weight: 400; border-radius: 0; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--red); outline-offset: 0; }
.form .hint { font-weight: 400; font-size: .875rem; color: var(--ink-2); }

/* ---------- Page head ---------- */
.page-head { border-bottom: var(--line); padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.75rem, 8vw, 6rem); line-height: .92; }
.page-head h1 em { color: var(--red); }
.page-head p { max-width: 52ch; margin: 20px 0 0; font-size: 1.125rem; }

/* ---------- Shop filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 20px; border-bottom: var(--line); position: sticky; top: 73px; background: var(--paper); z-index: 5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: var(--line); background: var(--paper); min-height: 40px; padding: 0 14px; font-weight: 700; font-size: .9375rem; cursor: pointer; }
.chip:hover { box-shadow: var(--hard-s); transform: translate(-1px, -1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters select { border: var(--line); min-height: 40px; padding: 0 36px 0 12px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141210' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; border-radius: 0; font-weight: 700; font-size: .9375rem; }
.filter-side { display: flex; align-items: center; gap: 14px; }
.result-count { font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.no-results { grid-column: 1 / -1; padding: 48px 0; }

/* ---------- Product page ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-block: 18px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 40px; padding-bottom: var(--sec); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; } }
.pdp-media { display: grid; gap: 12px; }
@media (min-width: 960px) { .pdp-media { position: sticky; top: 96px; } }
.pdp-thumbs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.entry-card { border: var(--line); padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 var(--ink); background: var(--paper); }
.entry-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--ink); }
.entry-top span:first-child { color: var(--red); }
.pdp-name { font-size: clamp(2.5rem, 5vw, 4rem); line-height: .95; }
.pdp-type { color: var(--ink-2); margin: 10px 0 18px; }
.pdp-price { font: 500 1.5rem/1 var(--f-mono); margin-bottom: 18px; }
.pdp-price small { font-size: .75rem; color: var(--ink-2); }
.pdp-summary { font-size: 1.125rem; }
.buy { display: grid; gap: 18px; margin-top: 24px; }
.opt-group { border: 0; padding: 0; margin: 0; }
.opt-group legend { font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: var(--line); cursor: pointer; font-weight: 700; font-size: .9375rem; }
.opt span:hover { box-shadow: var(--hard-s); }
.opt input:checked + span { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--red); }
.opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; border: var(--line); }
.qty button { width: 44px; border: 0; background: var(--paper); cursor: pointer; font-size: 1.25rem; }
.qty button:hover { background: var(--mist); }
.qty input { width: 48px; border: 0; border-inline: 1px solid var(--ink); text-align: center; font: 500 1rem var(--f-mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-promises { list-style: none; display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ink); font-size: .9375rem; }
.pdp-promises li::before { content: "✦"; color: var(--red); margin-right: 10px; }
.report { margin-top: 40px; }
.report-h { font-size: 1.75rem; padding-bottom: 12px; border-bottom: var(--line); }
.report-grid { display: grid; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 560px) { .report-grid { grid-template-columns: 140px 1fr; } }
.report-grid dt { font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); padding: 14px 0 4px; }
.report-grid dd { margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--ink); }
@media (min-width: 560px) { .report-grid dt, .report-grid dd { padding: 14px 0; border-bottom: 1px solid var(--ink); } }
.report-grid ul { padding-left: 1.1em; }

/* ---------- Drawer / basket ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(20, 18, 16, .55); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: var(--line); display: flex; flex-direction: column; animation: slide .22s ease-out; outline: none; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: var(--line); }
.drawer-head h2 { font-size: 1.75rem; }
.x-btn { width: 44px; height: 44px; border: var(--line); background: var(--paper); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.x-btn:hover { background: var(--ink); color: var(--paper); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer-foot { border-top: var(--line); padding: 18px 20px 22px; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.line .frame { padding: 0; }
.line .frame-label, .line .frame-note { display: none; }
.line-name { font: 700 1.125rem/1.1 var(--f-display); text-decoration: none; }
.line-name:hover { color: var(--red); }
.line-opts { font-size: .875rem; color: var(--ink-2); margin: 2px 0 8px; }
.line-ctrl { display: flex; align-items: center; gap: 10px; }
.line-ctrl .qty button { width: 34px; height: 34px; font-size: 1rem; }
.line-ctrl .qty span { display: grid; place-items: center; min-width: 34px; font: 500 .9375rem var(--f-mono); border-inline: 1px solid var(--ink); }
.line-remove { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: .875rem; }
.line-price { font: 500 .9375rem/1.2 var(--f-mono); }
.ship-bar { font-size: .9375rem; }
.ship-bar .bar { height: 10px; border: 1.5px solid var(--ink); margin-top: 8px; background: var(--paper); }
.ship-bar .bar i { display: block; height: 100%; background: var(--red); transition: width .3s; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; text-align: right; font-family: var(--f-mono); }
.totals .grand { font: 700 1.25rem/1.2 var(--f-display); color: var(--ink); padding-top: 8px; border-top: 1px solid var(--ink); }
.totals dd.grand { font: 500 1.125rem/1.2 var(--f-mono); }
.checkout-note { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.basket-empty { padding: 48px 0; }
.basket-empty p:first-child { font: 700 1.75rem/1.1 var(--f-display); }

/* Cart page */
.cart-page { display: grid; gap: 40px; padding-bottom: var(--sec); }
@media (min-width: 960px) { .cart-page { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.cart-page .line { grid-template-columns: 96px 1fr auto; }
.cart-summary { border: var(--line); padding: 24px; box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 14px; }
@media (min-width: 960px) { .cart-summary { position: sticky; top: 96px; } }

/* ---------- Prose (legal, about, faq) ---------- */
.prose { max-width: 72ch; padding-block: clamp(40px, 6vw, 72px) var(--sec); }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3125rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .box { border: var(--line); padding: 20px 24px; margin: 1.5em 0; background: var(--mist); }
.prose .box p:last-child { margin: 0; }
.legal-meta { font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.toc { border: var(--line); padding: 18px 22px; margin-bottom: 2em; }
.toc ol { padding-left: 1.25em; columns: 2 220px; }

.faq details { border-bottom: var(--line); }
.faq details:first-of-type { border-top: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 700 1.3125rem/1.2 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.75rem/1 var(--f-mono); color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 22px; max-width: 64ch; }
.faq h2 { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 48px 0 16px; color: var(--red); }

/* About */
.about-grid { display: grid; gap: 48px; padding-block: var(--sec); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.rules { list-style: none; counter-reset: r; border-top: var(--line); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: var(--line); }
.rules li::before { content: "0" counter(r); font: 500 .875rem/1.6 var(--f-mono); color: var(--red); }
.rules b { display: block; font: 700 1.5rem/1.1 var(--f-display); margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding-top: clamp(48px, 7vw, 88px); }
.foot-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); padding-bottom: 48px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand img { width: 200px; margin-bottom: 18px; }
.foot-brand p { color: #c9c5bd; max-width: 34ch; }
.foot-h { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-foot ul { list-style: none; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold); text-decoration: underline; }
.foot-social { display: flex !important; gap: 20px !important; font-weight: 700; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid #55514a; font-size: .8125rem; color: #c9c5bd; }
.foot-legal p { margin: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); border: 2px solid var(--paper); box-shadow: 4px 4px 0 var(--red); padding: 12px 18px; z-index: 90; font-weight: 700; max-width: calc(100% - 32px); }

/* ---------- Brand guide ---------- */
.bg-block { padding-block: 56px; border-bottom: var(--line); }
.bg-block h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.logo-tiles { display: grid; gap: 16px; }
@media (min-width: 800px) { .logo-tiles { grid-template-columns: repeat(3, 1fr); } }
.logo-tile { border: var(--line); padding: 28px; display: grid; place-items: center; min-height: 220px; position: relative; }
.logo-tile.dark { background: var(--ink); }
.logo-tile.red { background: var(--red); }
.logo-tile figcaption { position: absolute; left: 10px; bottom: 8px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.logo-tile.dark figcaption, .logo-tile.red figcaption { color: var(--paper); }
.logo-tile img { max-height: 160px; width: auto; }
.swatches { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .swatches { grid-template-columns: repeat(5, 1fr); } }
.swatch { border: var(--line); }
.swatch i { display: block; aspect-ratio: 1; border-bottom: var(--line); }
.swatch div { padding: 12px; font-size: .875rem; }
.swatch b { display: block; font: 700 1.125rem/1.2 var(--f-display); }
.swatch code { font: 500 .8125rem var(--f-mono); }
.type-spec { display: grid; gap: 24px; }
.type-spec > div { border: var(--line); padding: 24px; }
.voice { display: grid; gap: 16px; }
@media (min-width: 800px) { .voice { grid-template-columns: 1fr 1fr; } }
.voice div { border: var(--line); padding: 20px 24px; }
.voice h3 { font-size: 1.25rem; margin-bottom: 10px; }
.voice ul { padding-left: 1.1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Pre-order counter ---------- */
.ring-count { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font: 500 .8125rem/1.4 var(--f-mono); letter-spacing: .04em; }
.ring-count b { font-weight: 700; color: var(--red); }
.ring-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(210, 35, 42, .15); }
