/* ===========================================================
   Razor Kings. Single stylesheet.
   Order: 1 tokens, 2 base, 3 layout, 4 components, 5 pages.
   Display: Cormorant Garamond 500/600 (italic for emphasis). Text: Jost 400/500.
   Palette: charcoal, sand (matched to the logo), bone. No other accent.
   Motion beyond kit.js sits under .fx so reduced motion stays still.
   =========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --char: #141311;
  --char-2: #1B1A17;
  --char-3: #23211D;
  --sand: #CDB892;
  --sand-hi: #DCC9A6;
  --bone: #EDE6D8;
  --bone-2: rgba(237, 230, 216, .76);
  --bone-3: rgba(237, 230, 216, .58);
  --line: rgba(205, 184, 146, .22);
  --line-2: rgba(205, 184, 146, .45);
  --on-bone: #5A5040;

  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-text: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-body: 1.0625rem;
  --fs-small: .92rem;
  --fs-h1: clamp(3.1rem, 7.4vw, 7rem);
  --fs-h2: clamp(2.5rem, 5.2vw, 4.8rem);

  --r: 2px;
  --gutter: 1.25rem;
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--char); color: var(--bone); font-family: var(--f-text); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
main { display: block; overflow-x: clip; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--sand); }
p { text-wrap: pretty; }
::selection { background: var(--sand); color: var(--char); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sand); color: var(--char); padding: .7rem 1.1rem; border-radius: var(--r); font-weight: 500; }
.skip:focus { top: 1rem; }

.link { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em; text-decoration-thickness: 1px; transition: text-decoration-color .25s, color .25s; }
.link:hover { text-decoration-color: currentColor; color: var(--sand-hi); }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { position: relative; }
.h2 { font-size: var(--fs-h2); }
.sub { color: var(--bone-2); max-width: 52ch; font-size: 1.1rem; }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { :root { --gutter: 2.5rem; } }

/* ---------- 4. Components ---------- */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.6rem;
  border: 1px solid transparent; border-radius: var(--r); font-family: var(--f-text); font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn-tan { background: var(--sand); color: var(--char); }
.btn-tan:hover { background: var(--bone); }
.btn-line { border-color: var(--line-2); color: var(--bone); background: transparent; }
.btn-line:hover { background: var(--sand); border-color: var(--sand); color: var(--char); }
.btn-lg { min-height: 58px; padding: 0 2rem; }
.btn-sm { min-height: 44px; padding: 0 1.2rem; font-size: .76rem; }
.btn:active { transform: scale(.97); }

/* Header */
.top { position: sticky; top: 0; z-index: 60; background: rgba(20, 19, 17, .95); border-bottom: 1px solid var(--line); }
.top-in { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; letter-spacing: .01em; }
.brand img { width: auto; height: 38px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .2rem; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 7px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu { display: none; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.progress { background: var(--sand); }
@media (max-width: 859px) {
  .top-call { margin-left: auto; }
  .menu { display: inline-flex; align-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: .5rem var(--gutter) 1.5rem; background: var(--char); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { width: 100%; min-height: 56px; padding: 0; font-family: var(--f-display); font-size: 2rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--bone); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}
@media (max-width: 420px) { .brand span { display: none; } }

/* Live open line */
.live { display: inline-flex; align-items: center; gap: .9rem; font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.live::before { content: ""; width: 36px; height: 1px; background: var(--sand); }
.live[data-state="closed"] { color: var(--bone-2); }
.live--block { align-self: end; }

/* Shop finder (home and shops page) */
.finder { display: grid; gap: 2rem; align-items: start; }
.finder-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip, .filter-chip {
  min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover, .filter-chip:hover { border-color: var(--sand); }
.chip[aria-pressed="true"], .filter-chip.active { background: var(--sand); border-color: var(--sand); color: var(--char); }
.shops-note { color: var(--bone-3); font-size: var(--fs-small); }
.shop-list { border-bottom: 1px solid var(--line); }
.shop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
.shop[hidden] { display: none; }
.shop-pick { display: grid; gap: .1rem; width: 100%; min-height: 44px; padding: 1.25rem 0; border: 0; background: transparent; text-align: left; transition: padding .45s var(--ease), color .3s; }
.shop-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.05; transition: color .3s; }
.shop-where { color: var(--bone-2); font-size: var(--fs-small); }
.shop-area { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.shop::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 2px; background: var(--sand); transform: scaleY(0); transition: transform .5s var(--ease); }
.shop.is-picked::before { transform: scaleY(1); }
.shop.is-picked .shop-pick { padding-left: 1.2rem; }
.shop.is-picked .shop-name { color: var(--sand); }
@media (hover: hover) and (pointer: fine) { .shop:not(.is-picked) .shop-pick:hover { padding-left: .8rem; } .shop:not(.is-picked) .shop-pick:hover .shop-name { color: var(--sand-hi); } }
.finder-map { display: grid; gap: 0; }
.map { position: relative; aspect-ratio: 4 / 3; min-height: 280px; background: var(--char-3); border: 1px solid var(--line); overflow: hidden; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .9s var(--ease); filter: grayscale(1) invert(.9) contrast(.88); }
.map-frame.is-on { opacity: 1; }
.finder-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.3rem; background: var(--char-3); border: 1px solid var(--line); border-top: 0; }
.finder-name { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.finder-where { color: var(--bone-2); font-size: var(--fs-small); }
.finder-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 900px) {
  .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
  .finder-map { position: sticky; top: 6.5rem; }
}
@media (max-width: 899px) { .finder-map { order: -1; } .map { aspect-ratio: 16 / 11; min-height: 240px; } }

/* FAQ accordion */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: block; min-height: 44px; padding: 1.4rem 3.5rem 1.4rem 0; list-style: none; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 18px; height: 1px; background: var(--sand); transition: transform .45s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--sand-hi); }
.faq details p { padding: 0 3.5rem 1.6rem 0; color: var(--bone-2); max-width: 60ch; }

/* Sticky mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(20, 19, 17, .97); border-top: 1px solid var(--line); }
.callbar .btn { width: 100%; }
@media (max-width: 859px) { .callbar { display: block; } }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--char); padding-top: clamp(3rem, 6vw, 5rem); }
.foot-in { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.foot-logo { height: 130px; width: auto; }
.foot-h { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: .6rem; }
.foot p { color: var(--bone-2); font-size: var(--fs-small); line-height: 1.8; }
.foot-tel { font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; text-decoration: none; color: var(--bone); line-height: 1.2; }
.foot-nav { display: grid; align-content: start; gap: 0; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 34px; color: var(--bone-2); text-decoration: none; font-size: var(--fs-small); }
.foot-nav a:hover { color: var(--bone); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--bone-3); font-size: .82rem; }
.foot-base a { text-decoration: underline; }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 4rem; } }
@media (max-width: 859px) { .foot { padding-bottom: 5rem; } }

/* ---------- 5. Pages ---------- */

/* Home hero: the logo is the hero asset */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(2rem, 5vw, 4rem); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 55% 60% at 74% 48%, rgba(205, 184, 146, .13), transparent 70%), var(--char); }
.hero::before { content: ""; position: absolute; z-index: -1; left: -5%; bottom: -12%; width: min(60vw, 760px); aspect-ratio: 179 / 240; background: url("../img/logo-icon.png") center / contain no-repeat; opacity: .035; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { font-size: var(--fs-h1); line-height: .94; letter-spacing: -.015em; max-width: 9.5em; margin-bottom: 1.6rem; }
.hero .live { margin-bottom: 1.4rem; }
.hero-lede { color: var(--bone-2); font-size: 1.15rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; display: grid; place-items: center; order: -1; padding: 1rem 0; }
.hero-art::before { content: ""; position: absolute; width: min(86%, 470px); aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 50%; }
.hero-art::after { content: ""; position: absolute; width: min(100%, 540px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.hero-logo { position: relative; z-index: 1; }
.hero-logo img { height: clamp(190px, 30vh, 260px); width: auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
  .hero-art { order: 0; }
  .hero-logo img { height: min(60vh, 480px); }
}

/* Home: finder section */
.finder-section { padding-block: clamp(4rem, 8vw, 7.5rem); background: var(--char-2); border-top: 1px solid var(--line); }

/* Since 2010 */
.story { padding-block: clamp(4.5rem, 9vw, 8rem); }
.story-title { max-width: 12em; }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.count { border-top: 1px solid var(--line-2); padding-top: 1rem; }
.count b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(3.2rem, 10vw, 9rem); line-height: .95; color: var(--sand); font-variant-numeric: lining-nums tabular-nums; }
.count span { display: block; margin-top: .6rem; color: var(--bone-2); font-size: var(--fs-small); max-width: 22ch; }
.timeline { display: grid; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.timeline li { display: grid; gap: .5rem; align-content: start; }
.tl-line { display: block; height: 1px; background: var(--sand); margin-bottom: 1rem; }
.timeline b { font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; color: var(--sand); line-height: 1; }
.timeline p { color: var(--bone-2); max-width: 36ch; }
@media (min-width: 800px) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
@media (max-width: 599px) { .counts { grid-template-columns: minmax(0, 1fr); } .count { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 1.2rem; } .count span { margin: 0 0 .6rem; } }

/* Cuts and beards */
.cuts { padding-block: clamp(4rem, 8vw, 7rem); background: var(--char-2); border-block: 1px solid var(--line); }
.cuts-grid { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.cut { border-top: 1px solid var(--line-2); padding-top: 1.5rem; display: grid; gap: .9rem; align-content: start; }
.cut h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; color: var(--sand); }
.cut p { color: var(--bone-2); max-width: 44ch; }
.cuts-link { margin-top: 2.5rem; }
@media (min-width: 800px) { .cuts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }

/* Quotes (bone section) */
.quotes { background: var(--bone); color: var(--char); padding-block: clamp(4.5rem, 9vw, 8rem); }
.quote-grid { display: grid; gap: 3rem; align-items: end; }
.quotes blockquote { display: grid; gap: 1.4rem; }
.quotes p { font-family: var(--f-display); font-style: italic; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.q-big p { font-size: clamp(2.2rem, 5.2vw, 4.7rem); }
.q-small p { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.quotes cite { font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-bone); }
.q-small { border-top: 1px solid rgba(20, 19, 17, .28); padding-top: 2rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 6rem; } .q-small { border-top: 0; border-left: 1px solid rgba(20, 19, 17, .28); padding: 0 0 0 3rem; } }

/* FAQ teaser */
.faq-teaser { padding-block: clamp(4rem, 8vw, 7rem); }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-intro { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 6rem; } .faq-intro { position: sticky; top: 7rem; align-self: start; } }

/* Call band (sand) */
.callband { background: var(--sand); color: var(--char); padding-block: clamp(3.5rem, 7vw, 6rem); }
.callband-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.big-tel { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.9rem, 9vw, 8rem); line-height: .95; letter-spacing: -.02em; text-decoration: none; }
.callband p { margin-top: .8rem; font-size: 1.1rem; }
.callband .btn-line { border-color: var(--char); color: var(--char); }
.callband .btn-line:hover { background: var(--char); color: var(--sand); border-color: var(--char); }
.callband :focus-visible { outline-color: var(--char); }

/* Inner page head */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-head::after { content: ""; position: absolute; z-index: -1; right: 3%; top: -20%; height: 150%; aspect-ratio: 179 / 240; background: url("../img/logo-icon.png") center / contain no-repeat; opacity: .045; }
.page-head h1 { font-size: var(--fs-h1); max-width: 11em; }
.page-head p { margin-top: 1.4rem; color: var(--bone-2); max-width: 52ch; font-size: 1.15rem; }
.page-head .hero-actions { margin-top: 2rem; }

/* Split layout with photo (inner pages) */
.split { display: grid; gap: 3rem; align-items: start; padding-block: clamp(3rem, 6vw, 5.5rem); }
.split-photo { overflow: hidden; background: var(--char-3); aspect-ratio: 5 / 6; border: 1px solid var(--line); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo.bw img { filter: grayscale(1) contrast(1.06) brightness(.8); }
.svc { border-top: 1px solid var(--line-2); padding: 1.6rem 0 2rem; }
.svc h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--sand); margin-bottom: .7rem; }
.svc p { color: var(--bone-2); max-width: 46ch; }
.svc-note { color: var(--bone-3); font-size: var(--fs-small); border-top: 1px solid var(--line); padding-top: 1.2rem; max-width: 46ch; }
.prose { display: grid; gap: 1.2rem; max-width: 56ch; }
.prose p { color: var(--bone-2); }
.prose strong { color: var(--bone); font-weight: 500; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 6rem; } }
.prose .timeline { margin-top: 2rem; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.prose .timeline p { color: var(--bone-2); }

/* Shops page hours */
.hours-section { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.hours-grid { display: grid; gap: 1.5rem; }
.hours-card { border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
.hours-card h2 { font-family: var(--f-text); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); line-height: 1.5; }
.hours-time { margin-top: .5rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; color: var(--sand); }
@media (min-width: 800px) { .hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } .hours-grid .live--block { grid-column: 1 / -1; } }
.hours-section + .finder-section { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Style finder (services page) */
#finder { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--char-2); border-top: 1px solid var(--line); }
#finder .sub { margin: 1rem 0 2rem; }
.tabs { display: flex; gap: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.tabs [role="tab"] { position: relative; min-height: 52px; padding: 0; border: 0; background: transparent; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); transition: color .25s; }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tabs [role="tab"][aria-selected="true"] { color: var(--sand); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.quiz { display: grid; gap: 3rem; }
.quiz fieldset { border: 0; padding: 0; min-width: 0; }
.quiz legend { padding: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.help { margin: .4rem 0 1.2rem; color: var(--bone-3); font-size: var(--fs-small); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: .7rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt label { display: flex; flex-direction: column; gap: .2rem; height: 100%; min-height: 60px; padding: 1rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--char); cursor: pointer; transition: border-color .25s, background-color .25s; }
.opt label:hover { border-color: var(--sand); }
.opt input:checked + label { border-color: var(--sand); background: rgba(205, 184, 146, .12); }
.opt input:focus-visible + label { outline: 2px solid var(--sand); outline-offset: 3px; }
.opt .name { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.opt input:checked + label .name { color: var(--sand); }
.opt .desc { color: var(--bone-3); font-size: .84rem; line-height: 1.4; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.quiz-error { flex-basis: 100%; color: var(--sand-hi); font-weight: 500; }
#quizResults { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line-2); }
#quizResults[hidden], .finder-panel[hidden] { display: none; }
#quizResults h2 { font-size: var(--fs-h2); }
#quizResults h2 + p { margin: 1rem 0 2rem; color: var(--bone-2); }
#resultsGrid { display: grid; gap: 1.2rem; }
.result-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; padding: 1.6rem; border: 1px solid var(--line); background: var(--char); }
.result-rank-1 { border-color: var(--sand); }
.pct { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--sand); }
.pct small { display: block; margin-top: .3rem; font-family: var(--f-text); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.result-card h3 { font-size: 1.9rem; font-weight: 600; margin-bottom: .5rem; }
.result-card p { color: var(--bone-2); font-size: var(--fs-small); }
.result-card .why { margin: .6rem 0 1.2rem; color: var(--bone); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.style-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--char); transition: border-color .3s, transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .style-card:hover { border-color: var(--sand); transform: translateY(-4px); } }
.style-card .cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.style-card h3 { font-size: 1.8rem; font-weight: 600; }
.style-card p { color: var(--bone-2); font-size: var(--fs-small); }
.style-card dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: var(--fs-small); margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.style-card dt { color: var(--bone-3); }
.style-card dd { margin: 0; }
.style-card .btn { margin-top: .6rem; }

/* 404 */
.page-head .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
