@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0c0f;
  --bg2: #0f1317;
  --surface: #12171c;
  --surface2: #181e25;
  --line: #232b34;
  --text: #f1f3f5;
  --muted: #9aa4af;
  --gold: #f5b83d;
  --gold-dk: #d99a1f;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd37a; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 0; }
svg.ic { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.logo svg { width: 38px; height: 38px; }
.logo .word { font-size: 1.5rem; font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase; line-height: 1; }
.logo .word b { font-weight: 600; }
.logo .word i { color: var(--gold); font-style: normal; letter-spacing: 0; padding: 0 0.1em; }
.logo small { display: block; font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); margin-top: 5px; text-transform: none; font-weight: 400; }

.search { position: relative; flex: 1; max-width: 400px; }
.search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 46px 11px 18px;
  font: inherit; font-size: 0.9rem;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; }
#results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
#results a { display: block; padding: 11px 16px; color: var(--text); text-decoration: none; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
#results a:last-child { border: 0; }
#results a:hover { background: var(--surface); color: var(--gold); }
#results small { display: block; color: var(--muted); font-size: 0.78rem; }
#results p { margin: 0; padding: 12px 16px; color: var(--muted); font-size: 0.88rem; }

.site-header nav { margin-left: auto; display: flex; gap: 6px; }
.site-header nav a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 8px 14px; border-bottom: 2px solid transparent;
}
.site-header nav a:hover, .site-header nav a.on { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #0a0c0f url("hero-bg.svg") no-repeat right center / cover;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; min-height: 440px; padding-top: 40px; padding-bottom: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--gold); color: var(--text);
  border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; font-weight: 600;
  background: rgba(245,184,61,0.07); margin-bottom: 26px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { color: #cfd4d9; max-width: 28em; font-size: 1.05rem; margin: 0 0 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #1a1405; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; padding: 13px 26px; border-radius: 12px; border: 0;
  transition: transform 0.15s, box-shadow 0.15s; cursor: pointer; font-family: inherit;
}
.btn:hover { color: #1a1405; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,184,61,0.3); }
.btn.sm { padding: 9px 16px; font-size: 0.82rem; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.cluster { position: relative; height: 400px; }
.cluster img { position: absolute; filter: drop-shadow(0 26px 28px rgba(0,0,0,0.65)); }
.cluster .c1 { width: 52%; left: 22%; top: 8%; z-index: 2; }
.cluster .c2 { width: 40%; right: -2%; top: 28%; z-index: 3; }
.cluster .c3 { width: 40%; left: 0; top: 34%; z-index: 1; }
.cluster .c4 { width: 34%; left: 38%; bottom: -4%; z-index: 4; }
.tagline { position: absolute; right: 28px; top: 40px; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); font-size: 1.55rem; line-height: 1.15; transform: rotate(-8deg); text-align: left; z-index: 5; }

/* ---------- trust strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .item { display: flex; align-items: center; gap: 16px; padding: 24px 22px; border-left: 1px solid var(--line); }
.strip .item:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font-size: 0.9rem; }
.strip span { color: var(--muted); font-size: 0.8rem; }

/* ---------- sections ---------- */
.section { padding: 54px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; gap: 16px; }
.section-head h2 { font-size: 1.6rem; }
.section-head a { font-size: 0.85rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.section-head a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat {
  position: relative; display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.cat:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat .info { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat b { display: block; font-size: 0.98rem; }
.cat span { font-size: 0.75rem; color: var(--muted); }
.cat .go { width: 28px; height: 28px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.cat .go svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.promo-row { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 16px; margin-top: 36px; }
.promo {
  position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line);
  padding: 30px 26px; min-height: 280px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 80% 70%, rgba(245,184,61,0.22), transparent 60%), var(--surface);
}
.promo h3 { font-size: 1.5rem; margin-bottom: 8px; max-width: 8em; }
.promo p { color: var(--muted); font-size: 0.85rem; margin: 0 0 18px; max-width: 14em; }
.promo img { position: absolute; right: -6%; bottom: -4%; width: 62%; opacity: 0.95; filter: drop-shadow(0 14px 16px rgba(0,0,0,0.6)); pointer-events: none; }
.promo .btn { align-self: flex-start; position: relative; z-index: 2; }
.promo .mini-tag { color: var(--gold); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; position: relative; z-index: 2; }

.picks { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; min-width: 0; }
.picks-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.picks-head h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.picks-head h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.tabs { margin-left: auto; display: flex; gap: 6px; }
.tabs button { background: none; border: 1px solid transparent; color: var(--muted); font: inherit; font-size: 0.75rem; padding: 5px 12px; border-radius: 6px; cursor: pointer; }
.tabs button.on { border-color: var(--gold); color: var(--gold); background: rgba(245,184,61,0.07); }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 28px; height: 28px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; }
.arrows svg { width: 12px; height: 12px; stroke: var(--text); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track[hidden] { display: none; }
.mini { flex: 0 0 calc(25% - 9px); min-width: 150px; scroll-snap-align: start; text-decoration: none; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color 0.2s; }
.mini:hover { border-color: var(--gold); color: var(--text); }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini div { padding: 10px 12px 14px; }
.mini b { display: block; font-size: 0.82rem; line-height: 1.3; }
.mini span { font-size: 0.72rem; color: var(--muted); }

/* ---------- guides grid ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips button {
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.chips button:hover { border-color: var(--gold); }
.chips button.on { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }
.card[hidden] { display: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.card h3 { font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 0.82rem; font-weight: 600; color: var(--gold); }

.panel { margin-top: 64px; background: radial-gradient(ellipse at 90% 10%, rgba(245,184,61,0.14), transparent 55%), var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.panel h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.panel h2 em { font-style: normal; color: var(--gold); }
.panel p { color: #cfd4d9; margin: 0 0 14px; }

/* ---------- article ---------- */
.crumbs { font-size: 0.82rem; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.art-head { padding: 20px 0 30px; max-width: 860px; }
.art-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 10px 0 16px; }
.meta { font-size: 0.84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.meta b { color: var(--text); font-weight: 600; }
.art-hero { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #10151a; }
.art-hero img { width: 100%; height: 360px; object-fit: contain; }
.art-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 52px 0 0; }
.toc { position: sticky; top: 90px; align-self: start; font-size: 0.86rem; }
.toc h4 { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; margin: 0 0 12px; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 16px; color: #cfd4d9; text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--gold); border-color: var(--gold); }
.prose { max-width: 700px; counter-reset: sec; }
.prose p { margin: 0 0 1.2em; font-size: 1.05rem; line-height: 1.8; color: #d9dde1; }
.prose p.intro { font-size: 1.2rem; color: var(--text); line-height: 1.7; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 0.6em; counter-increment: sec; display: flex; align-items: center; gap: 14px; scroll-margin-top: 90px; }
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: #1a1405; background: var(--gold);
  border-radius: 6px; padding: 3px 8px; flex: none;
}
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; color: #d9dde1; }
.callout { border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin: 2.2em 0; background: var(--surface); }
.callout.warn { border-color: rgba(245,184,61,0.45); background: rgba(245,184,61,0.06); }
.callout h3 { font-size: 1.2rem; margin-bottom: 12px; }
.callout ul { list-style: none; padding: 0; margin: 0; }
.callout li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.callout.warn li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #1a1405; font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.callout p { margin: 0; }
.callout.buy { background: radial-gradient(ellipse at 100% 0%, rgba(245,184,61,0.16), transparent 60%), var(--surface); }
.callout.buy p { margin: 0 0 16px; }
.callout.buy p.aff { margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); }
.notice { font-size: 0.83rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin: 0 0 26px; }
.related { padding: 56px 0 0; }
.related h2 { font-size: 1.6rem; margin-bottom: 20px; }
.related .grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- simple pages ---------- */
.page { padding: 56px 0 0; min-height: 60vh; }
.page .eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 22px; }
.page h2 { font-size: 1.4rem; margin: 1.8em 0 0.5em; }
.page p, .page li { color: #d0d5da; line-height: 1.75; }

/* ---------- footer ---------- */
.site-footer { margin-top: 90px; background: #07090b; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-top: 50px; padding-bottom: 36px; }
.site-footer p { color: var(--muted); font-size: 0.86rem; margin: 14px 0 0; max-width: 24em; }
.site-footer h4 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.site-footer a { display: block; color: #c4cbd2; text-decoration: none; font-size: 0.9rem; margin-bottom: 7px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { display: inline-flex; }
.copy { border-top: 1px solid var(--line); text-align: center; font-size: 0.78rem; padding: 18px 20px; color: #6f7a85; }

/* ---------- cookie ---------- */
#cookie-banner {
  position: fixed; left: 14px; right: 14px; bottom: 14px; max-width: 580px; margin: 0 auto;
  background: var(--surface2); color: var(--text); padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--gold); font-size: 0.82rem; line-height: 1.5; display: none; gap: 14px; align-items: center; z-index: 50;
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
#cookie-banner button { background: var(--gold); color: #1a1405; border: 0; border-radius: 8px; padding: 8px 18px; cursor: pointer; font-weight: 700; font-family: inherit; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promo-row { grid-template-columns: 1fr 1fr; }
  .picks { grid-column: 1 / -1; order: -1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px 20px; }
  .search { order: 3; max-width: none; flex: 1 1 100%; }
  .site-header nav { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .cluster { height: 320px; }
  .tagline { display: none; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip .item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip .item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel { grid-template-columns: 1fr; padding: 32px 26px; gap: 20px; }
  .art-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .related .grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .logo .word { font-size: 1.15rem; letter-spacing: 0.24em; }
  .logo small { display: none; }
  .site-header nav a { padding: 6px 9px; font-size: 0.82rem; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .grid, .related .grid { grid-template-columns: 1fr; }
  .mini { flex-basis: 62%; }
  .cluster { height: 270px; }
  .hero h1 { font-size: 2.3rem; }
  .art-hero img { height: 230px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .picks-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
