/* Quant Service AI — "Cosmic Registry" design system.
   Bodoni Moda (high-contrast didone display) + Archivo (grotesque body)
   + Spline Sans Mono (specimen data), self-hosted.
   Fusion-crust ember accent + meteoric class hues over deep-space neutrals.
   Dark, museum-grade, scientific. */

/* ---------- fonts (self-hosted, latin) ---------- */
@font-face {
  font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("fonts/bodoni-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Spline Sans Mono"; font-style: normal; font-display: swap; font-weight: 400 600;
  src: url("fonts/splinemono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* deep-space neutrals */
  --bg: #0a0b12;
  --bg-2: #0f111b;
  --surface: #14161f;
  --surface-2: #191c28;
  --ink: #f3f1ea;
  --text: #eceadf;
  --text-2: #c4c6d0;
  --muted: #8d92a3;
  --dim: #676c7e;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);

  /* brand: fusion-crust ember + cool meteoric steel pop */
  --accent: #e0662f;
  --accent-hover: #ef7a44;
  --accent-deep: #b74d1e;
  --accent-soft: rgba(224,102,47,.14);
  --pop: #66b6cf;
  --pop-soft: rgba(102,182,207,.14);
  --gold: #e0a63b;

  /* meteorite class hues (luminous on dark) */
  --iron: #9aa7b8;
  --chondrite: #c6996b;
  --pallasite: #a9c25e;
  --lunar: #adb8d8;
  --martian: #d76a45;
  --tektite: #6bbf9a;

  --r-xs: 7px; --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.28);
  --sh-2: 0 6px 20px rgba(0,0,0,.42), 0 2px 6px rgba(0,0,0,.3);
  --sh-3: 0 18px 50px rgba(0,0,0,.55), 0 6px 18px rgba(0,0,0,.4);
  --sh-pop: 0 16px 44px rgba(0,0,0,.6);

  --display: "Bodoni Moda", ui-serif, Georgia, "Times New Roman", serif;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --maxw: 1180px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='30' cy='40' r='1' opacity='.9'/%3E%3Ccircle cx='120' cy='90' r='.7' opacity='.5'/%3E%3Ccircle cx='210' cy='30' r='1.1' opacity='.8'/%3E%3Ccircle cx='300' cy='120' r='.6' opacity='.5'/%3E%3Ccircle cx='360' cy='60' r='.9' opacity='.7'/%3E%3Ccircle cx='70' cy='180' r='.8' opacity='.6'/%3E%3Ccircle cx='160' cy='220' r='1' opacity='.85'/%3E%3Ccircle cx='250' cy='190' r='.6' opacity='.45'/%3E%3Ccircle cx='340' cy='250' r='1' opacity='.75'/%3E%3Ccircle cx='40' cy='300' r='.7' opacity='.55'/%3E%3Ccircle cx='130' cy='340' r='.9' opacity='.7'/%3E%3Ccircle cx='220' cy='320' r='.6' opacity='.4'/%3E%3Ccircle cx='300' cy='360' r='.8' opacity='.6'/%3E%3Ccircle cx='380' cy='330' r='.6' opacity='.5'/%3E%3Ccircle cx='90' cy='120' r='.5' opacity='.4'/%3E%3Ccircle cx='190' cy='140' r='.6' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text-2);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display); color: var(--ink);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 1.7rem + 4.1vw, 4.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3.05rem); font-weight: 500; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: 1.06rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; height: auto; display: block; }
strong { color: var(--text); font-weight: 600; }
small { font-size: .82em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #0a0b12; padding: 10px 16px; border-radius: 0 0 var(--r-xs) 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- icons ---------- */
.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; flex: none; color: inherit; }
.ico-sm { width: 1em; height: 1em; }
.ico-lg { width: 1.5em; height: 1.5em; }

/* hue tokens */
.hue-iron { --h: var(--iron); } .hue-chondrite { --h: var(--chondrite); }
.hue-pallasite { --h: var(--pallasite); } .hue-lunar { --h: var(--lunar); }
.hue-martian { --h: var(--martian); } .hue-tektite { --h: var(--tektite); }
.hue-accent { --h: var(--accent); } .hue-pop { --h: var(--pop); }

/* ---------- eyebrow / lead ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 4px; font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; max-width: 100%;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--pop); }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--muted); line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: background .18s, box-shadow .18s, transform .1s, border-color .18s, color .18s;
  text-decoration: none; white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #120a06; font-weight: 700; box-shadow: 0 6px 20px rgba(224,102,47,.32); }
.btn-primary:hover { background: var(--accent-hover); color: #120a06; box-shadow: 0 10px 28px rgba(224,102,47,.42); }
.btn-pop { background: var(--pop); color: #071417; font-weight: 700; box-shadow: 0 6px 18px rgba(102,182,207,.28); }
.btn-pop:hover { background: #7cc4da; color: #071417; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-hover); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,11,18,.72); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--accent); filter: drop-shadow(0 0 10px rgba(224,102,47,.35)); }
.brand-word { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: .01em; color: var(--ink); }
.brand-word small { font-family: var(--mono); font-weight: 500; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--text-2); font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: var(--r-xs); transition: background .15s, color .15s; }
.site-nav ul a:hover { background: var(--surface); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-hover); background: var(--accent-soft); }
.nav-cta { padding: 11px 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .ico { width: 26px; height: 26px; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 16px; }
.section-alt { background: var(--bg-2); }
.section-tight { padding: 60px 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background: var(--bg); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -25% -10% auto -10%; height: 150%; z-index: -2;
  background:
    radial-gradient(46% 52% at 80% 4%, rgba(224,102,47,.28), transparent 60%),
    radial-gradient(50% 55% at 10% 8%, rgba(64,84,150,.34), transparent 62%),
    radial-gradient(60% 60% at 96% 98%, rgba(102,182,207,.14), transparent 64%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--stars); background-size: 400px; opacity: .5; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { margin-bottom: 32px; max-width: 40ch; color: var(--text-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .num { font-family: var(--display); font-size: 2.1rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hero-stats .lbl { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 5px; letter-spacing: .04em; text-transform: uppercase; }
.hero-media { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-3); border: 1px solid var(--line); }
.hero-media::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 66%; height: 66%; z-index: -1; background: radial-gradient(circle, rgba(224,102,47,.4), transparent 70%); border-radius: 50%; filter: blur(10px); }
.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 9px; background: rgba(20,22,31,.86);
  border: 1px solid var(--line-2); box-shadow: var(--sh-2); border-radius: var(--r-pill);
  padding: 10px 17px; font-size: 13px; font-weight: 600; color: var(--text); backdrop-filter: blur(6px);
}
.float-badge .ico { color: var(--h, var(--accent)); }
.float-badge.fb-1 { top: 8%; right: -16px; }
.float-badge.fb-2 { bottom: 10%; left: -18px; }

/* ---------- media helpers ---------- */
.cover { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-md); display: block; background: var(--surface-2); }
.about-hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 28px; background: var(--surface-2); box-shadow: var(--sh-2); border: 1px solid var(--line); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
a.card { color: inherit; }
a.card:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-2); background: var(--surface-2); }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--h, var(--accent)); background: color-mix(in srgb, var(--h, var(--accent)) 20%, transparent); border: 1px solid color-mix(in srgb, var(--h, var(--accent)) 35%, transparent); padding: 5px 11px; border-radius: var(--r-pill); }

/* feature card */
.feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.icon-chip { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; color: var(--h, var(--accent)); background: color-mix(in srgb, var(--h, var(--accent)) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--h, var(--accent)) 30%, transparent); }
.icon-chip .ico { width: 27px; height: 27px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 7px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* category card */
.cat-card { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.cat-card .cat-body { padding: 22px 24px 26px; flex: 1; }
.cat-card .cover { border-radius: 0; aspect-ratio: 5/3; flex: none; }
.cat-ico { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #0a0b12; background: var(--h, var(--accent)); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.cat-ico .ico { width: 23px; height: 23px; }
.cat-card h3 { margin-bottom: 5px; }
.cat-card .count { font-family: var(--mono); font-size: 12px; color: var(--h, var(--accent)); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* specimen card */
a.stay-card { color: inherit; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
a.stay-card:hover { color: inherit; }
.stay-card .cover-wrap { position: relative; overflow: hidden; }
.stay-card .cover { border-radius: 0; aspect-ratio: 3/2; transition: transform .5s ease; }
a.stay-card:hover .cover { transform: scale(1.05); }
.stay-card .rating-pill { position: absolute; top: 13px; right: 13px; display: inline-flex; align-items: center; gap: 5px; background: rgba(10,11,18,.82); color: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); border: 1px solid var(--line); }
.stay-card .rating-pill .ico { width: 14px; height: 14px; color: var(--gold); }
.stay-card .cat-tag { position: absolute; left: 13px; bottom: 13px; background: color-mix(in srgb, var(--h) 26%, rgba(10,11,18,.8)); backdrop-filter: blur(4px); }
.stay-card .sc-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.stay-card .sc-loc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.stay-card .sc-loc .ico { width: 14px; height: 14px; color: var(--h, var(--accent)); }
.stay-card h3 { font-size: 1.34rem; margin-bottom: 8px; }
.stay-card p { font-size: 14.5px; flex: 1; }
.stay-card .sc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { color: var(--text); font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.price .off { color: var(--dim); }
.stay-card .more { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-hover); font-weight: 700; font-size: 13.5px; }
.stay-card:hover .more .ico { transform: translateX(3px); }
.more .ico { transition: transform .18s; }

/* steps */
.steps { counter-reset: step; gap: 26px; }
.step { position: relative; padding-left: 70px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent-hover); font-family: var(--mono); font-weight: 500; font-size: 1.05rem; display: grid; place-items: center; }
.step h3 { margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* stat band */
.stat-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #10121d, #0b0d15); border: 1px solid var(--line); color: #fff; border-radius: var(--r-xl); padding: 52px 40px; isolation: isolate; }
.stat-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(56% 130% at 8% 0%, rgba(224,102,47,.32), transparent 55%), radial-gradient(50% 120% at 96% 100%, rgba(64,84,150,.4), transparent 60%); }
.stat-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--stars); background-size: 400px; opacity: .4; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat { position: relative; }
.stat .n { font-family: var(--display); font-size: clamp(2.4rem, 4.8vw, 3.4rem); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1; color: #fff; }
.stat .l { font-family: var(--mono); color: rgba(255,255,255,.62); font-size: 12.5px; margin-top: 12px; letter-spacing: .02em; }
.stat + .stat::before { content: ""; position: absolute; left: -13px; top: 8%; height: 84%; width: 1px; background: rgba(255,255,255,.1); }
.stat-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.stat-foot span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.78); }
.stat-foot .ico { width: 16px; height: 16px; color: var(--accent); }
.unit { font-size: .5em; margin-left: 3px; color: var(--accent); vertical-align: baseline; font-family: var(--mono); }
.hero-stats .unit { color: var(--accent); }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 10px 18px; cursor: pointer; transition: .16s; }
.chip-btn .ico { width: 16px; height: 16px; color: var(--muted); }
.chip-btn:hover { border-color: var(--accent); color: var(--accent-hover); }
.chip-btn:hover .ico { color: var(--accent); }
.chip-btn.active { background: var(--accent); color: #120a06; border-color: var(--accent); box-shadow: 0 5px 16px rgba(224,102,47,.3); }
.chip-btn.active .ico { color: #120a06; }

/* ---------- page header band ---------- */
.page-head { position: relative; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 60px 0; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 130% at 90% -20%, rgba(224,102,47,.16), transparent 60%), radial-gradient(50% 120% at 6% 120%, rgba(64,84,150,.2), transparent 60%); }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: 0; background-image: var(--stars); background-size: 400px; opacity: .3; }
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.page-head .lead { margin-top: 12px; max-width: 64ch; }
.breadcrumb { font-family: var(--mono); font-size: 12.5px; color: var(--dim); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-hover); }

/* ---------- prose / article ---------- */
.prose { max-width: 720px; font-size: 17.5px; color: var(--text-2); }
.prose > p:first-of-type { font-size: 1.14em; color: var(--text); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; color: var(--ink); }
.article-lead { font-size: 1.2rem; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.article-cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r-lg); margin: 14px 0 34px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.article-meta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); color: var(--dim); font-size: 13px; margin-bottom: 10px; letter-spacing: .03em; text-transform: uppercase; }
.article-meta .ico { width: 16px; height: 16px; }
.updated { font-family: var(--mono); color: var(--dim); font-size: 13.5px; }

/* callout */
.callout { display: flex; gap: 15px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: var(--r-md); padding: 20px 22px; margin: 26px 0; font-size: 15.5px; color: var(--text-2); }
.callout::before { content: ""; flex: none; width: 3px; border-radius: 4px; background: var(--accent); }
.callout strong { color: var(--accent-hover); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #11131e, #0b0d15); border: 1px solid var(--line); color: #fff; border-radius: var(--r-xl); padding: 66px 44px; text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 120% at 16% 0%, rgba(224,102,47,.34), transparent 60%), radial-gradient(48% 110% at 88% 100%, rgba(64,84,150,.4), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--stars); background-size: 400px; opacity: .4; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 560px; margin: 0 auto 28px; }

/* ---------- specimen detail ---------- */
.detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.detail-hero .cover { aspect-ratio: 4/3; box-shadow: var(--sh-3); border-radius: var(--r-lg); border: 1px solid var(--line); }
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-pill); background: var(--surface); color: var(--text-2); border: 1px solid var(--line); }
.pill .ico { width: 15px; height: 15px; color: var(--muted); }
.pill.accent { background: var(--accent-soft); color: var(--accent-hover); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.pill.accent .ico { color: var(--accent); }
.pill.score { background: var(--accent); color: #120a06; border-color: transparent; font-weight: 600; }
.pill.score .ico { color: #120a06; }
.spec-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.spec { flex: 1 1 140px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.spec .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); font-weight: 500; }
.spec .v { color: var(--ink); font-weight: 600; margin-top: 4px; font-size: 15px; }
.highlight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.highlight-list li { padding-left: 34px; position: relative; color: var(--text-2); }
.highlight-list li .ico { position: absolute; left: 0; top: 3px; width: 21px; height: 21px; color: var(--accent); }
.watch-note { display: flex; gap: 12px; align-items: flex-start; background: var(--pop-soft); border: 1px solid color-mix(in srgb, var(--pop) 26%, transparent); border-radius: var(--r-md); padding: 16px 18px; margin-top: 22px; font-size: 15px; color: var(--text-2); }
.watch-note .ico { flex: none; width: 20px; height: 20px; color: var(--pop); margin-top: 2px; }

/* score / grade */
.score-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #120a06; box-shadow: 0 8px 24px rgba(224,102,47,.4); flex: none; }
.score-badge .s { font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.score-badge .o { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.verdict { display: flex; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; margin: 6px 0 4px; }
.verdict .vt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 500; }
.verdict h3 { margin: 5px 0 0; font-size: 1.24rem; }

/* ---------- dispatch / guide cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .pc-cover { overflow: hidden; }
.post-card .cover { border-radius: 0; aspect-ratio: 16/10; transition: transform .5s ease; }
.post-card:hover .cover { transform: scale(1.05); }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 11px; text-transform: uppercase; letter-spacing: .03em; }
.post-card .pc-meta .ico { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.28rem; }
.post-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hover); font-weight: 700; font-size: 14px; margin-top: 14px; }
.post-card:hover .more .ico { transform: translateX(3px); }
.post-card .more .ico { transition: transform .18s; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; font-family: var(--display); font-size: 1.24rem; font-weight: 500; letter-spacing: -.005em; color: var(--ink); padding: 24px 48px 24px 0; cursor: pointer; position: relative; }
.faq-q .fq-ico { position: absolute; right: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--accent); transition: transform .25s ease; }
.faq-q[aria-expanded="true"] .fq-ico { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 40px 24px 0; margin: 0; color: var(--muted); max-width: 72ch; }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { position: relative; }
.review .q-ico { width: 26px; height: 26px; color: var(--h, var(--accent)); opacity: .55; margin-bottom: 10px; }
.review .stars { display: inline-flex; gap: 2px; color: var(--gold); margin-bottom: 12px; }
.review .stars .ico { width: 17px; height: 17px; }
.review p { font-size: 15px; color: var(--text-2); }
.review .who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); margin-top: 16px; }
.review .who .av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; color: #0a0b12; background: var(--h, var(--accent)); }
.review .who strong { color: var(--ink); display: block; font-size: 14px; }

/* ---------- forms ---------- */
.form { max-width: 580px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; transition: box-shadow .12s, border-color .12s, background .12s; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface-2); }
.field textarea { min-height: 150px; resize: vertical; }
.field .err { color: var(--martian); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--martian); box-shadow: 0 0 0 4px rgba(215,106,69,.16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--dim); }
.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 22px; font-size: 15px; }
.alert .ico { margin-top: 1px; }
.alert-ok { background: rgba(107,191,154,.14); border: 1px solid rgba(107,191,154,.3); color: #8fd4b2; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .li-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); color: var(--accent-hover); }
.info-list .li-ico .ico { width: 20px; height: 20px; }
.info-list .k { font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.info-list .v { color: var(--ink); font-weight: 500; }
.newsletter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.newsletter form { display: flex; gap: 10px; margin-top: 14px; }
.newsletter input { flex: 1; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 300; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--sh-pop); }
.cookie-inner { display: flex; align-items: center; gap: 22px; padding: 18px 22px; max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; }
.cookie-text { flex: 1 1 320px; display: flex; gap: 14px; }
.cookie-text .ck-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); color: var(--accent-hover); display: grid; place-items: center; }
.cookie-text strong { color: var(--ink); }
.cookie-text p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: 14px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(4,5,10,.7); backdrop-filter: blur(4px); z-index: 400; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); max-width: 480px; width: 100%; padding: 30px; box-shadow: var(--sh-pop); }
.modal h3 { margin-bottom: 6px; }
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toggle-row p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.switch { position: relative; flex: 0 0 46px; width: 46px; height: 27px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--line-2); border-radius: var(--r-pill); transition: .16s; }
.switch .track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; background: #fff; border-radius: 50%; transition: .16s; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(19px); }
.switch input:disabled + .track { opacity: .5; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #08090f; color: var(--text-2); border-top: 1px solid var(--line); margin-top: 84px; padding: 68px 0 34px; font-size: 15px; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 80% at 100% 0%, rgba(224,102,47,.14), transparent 60%); }
.site-footer::after { content: ""; position: absolute; inset: 0; top: -1px; height: 2px; z-index: 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 38px; }
.footer-brand .brand { color: var(--ink); }
.footer-brand .brand-mark { color: var(--accent); }
.footer-brand .brand-word b { color: var(--ink); }
.footer-brand .brand-word small { color: var(--muted); }
.footer-about { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 36ch; }
.footer-col h3 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--accent-hover); }
.site-footer address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.9; }
.site-footer address strong { color: var(--ink); }
.site-footer address a { color: var(--text-2); }
.site-footer address a:hover { color: var(--accent-hover); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; font-family: var(--mono); }
.footer-bottom p { margin: 0; }
.muted { color: var(--dim); }

/* ---------- reveal (only hidden when JS is active, so no-JS never blanks) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .detail-hero { grid-template-columns: 1fr; }
  .hero p.lead { max-width: none; }
  .hero-media { order: -1; max-width: 440px; margin-inline: auto; }
  .detail-hero .cover { aspect-ratio: 16/10; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  section { padding: 62px 0; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; box-shadow: var(--sh-pop); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .18s; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav ul a { display: block; padding: 14px; font-size: 16px; border-radius: var(--r-sm); }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .post-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .post-grid, .review-grid, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 30px; }
  .stat + .stat::before { display: none; }
  .stat-foot { gap: 12px 18px; }
  .cta-band, .stat-band { padding: 40px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .float-badge { display: none; }
  .verdict { flex-direction: column; align-items: flex-start; gap: 14px; }
  .newsletter form { flex-direction: column; }
}
@media (max-width: 440px) {
  .wrap { padding: 0 18px; }
  .page-head { padding: 44px 0; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
