/* Shared styles for the ModelHunt Meanings + Trends pages (matches index.html design language) */
:root {
  --bg: #07080a;
  --bg-raised: #0f1114;
  --bg-sunken: #0a0b0e;
  --surface: rgba(20,22,27,0.82);
  --ink: #f2f3f5;
  --ink-soft: #8b9099;
  --ink-faint: #7d828b;
  --border: #23262c;
  --border-strong: #34383f;
  --accent: #f6821f;
  --accent-2: #ffb35c;
  --glow: rgba(246,130,31,0.22);
  --grid: rgba(255,255,255,0.06);
  --shadow: 0 18px 50px -24px rgba(0,0,0,0.8);
  --scrim-rgb: 7,8,10;
}
:root[data-theme="light"] {
  --bg: #f6f5f2;
  --bg-raised: #ffffff;
  --bg-sunken: #efede8;
  --surface: rgba(255,255,255,0.88);
  --ink: #17181c;
  --ink-soft: #6b6f78;
  --ink-faint: #6f737c;
  --border: #e2e1dc;
  --border-strong: #cfcec7;
  --accent: #e0700f;
  --accent-2: #c2560a;
  --glow: rgba(224,112,15,0.18);
  --grid: rgba(0,0,0,0.07);
  --shadow: 0 18px 40px -24px rgba(40,30,10,0.35);
  --scrim-rgb: 246,245,242;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Nunito', -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease; overflow-x: hidden;
}
::selection { background: var(--accent); color: #1a1200; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; }
.stat b, .journey b, .sense b, .ety .e b, .t-row .d, .g-card h4, .panel h3, .lockup .name { font-family: 'Sora', sans-serif; }
.mono { font-family: 'Sora', sans-serif; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }

.bg-fade {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 12% 0%, rgba(246,130,31,0.13), transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 55%, rgba(61,107,138,0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 30% 100%, rgba(176,140,255,0.07), transparent 60%);
}
.wrap { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(var(--scrim-rgb),0.88), rgba(var(--scrim-rgb),0.6));
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 18px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.lockup .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--glow); }
.lockup .name { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.lockup .name .tld { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  padding: 9px 14px; min-height: 36px; display: inline-flex; align-items: center; border-radius: 100px; border: 1px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); border-color: var(--border-strong); }
.nav-links a.active { color: #1a1200; background: var(--accent); }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color .15s, color .15s, transform .15s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- TYPE / SECTIONS ---------- */
.kicker {
  font-family: 'Sora', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.hero { padding: 76px 0 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; margin: 20px 0 20px; }
.hero h1 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.08em;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, var(--ink) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero p.lede { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; margin: 0; }
section.block { padding: 54px 0 10px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.sec-head .num { font-family: 'Sora', sans-serif; font-size: 12px; color: var(--accent); font-weight: 700; }
.sec-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.sec-sub { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 70ch; margin: 0 0 26px; }
.rule { height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); margin: 0 0 22px; }

.card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.chip {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px;
  border: 1px solid var(--border-strong); color: var(--ink-soft); background: var(--bg-sunken); white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 100px; border: 1px dashed var(--border-strong); color: var(--ink-soft); background: var(--bg-sunken);
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.badge.real i { background: #3ddb96; }
.btn {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: none;
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--surface); transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #1a1200; border-color: transparent; box-shadow: 0 8px 24px -8px var(--glow); }
.btn.primary:hover { color: #1a1200; }

.foot { padding: 56px 0 70px; color: var(--ink-faint); font-size: 12.5px; line-height: 1.7; }
.foot .mono { color: var(--ink-soft); }
.foot a { color: var(--ink-soft); }

/* ---------- FOOTER GRID (shared across pages) ---------- */
.footer-grid { display: grid; grid-template-columns: 1fr 220px 220px; gap: 26px; margin-bottom: 22px; font-family: 'Sora', sans-serif; }
.footer-brand { }
.footer-brand p { color: var(--ink-soft); margin-top: 6px; max-width: 44ch; font-size: 13px; }
.footer-brand h4, .footer-contact h4, .footer-legal h4 { color: var(--ink); margin: 0 0 10px; font-size: 12px; }
.footer-contact p, .footer-legal p { color: var(--ink-soft); margin: 0 0 8px; font-size: 13px; }
.footer-contact a, .footer-legal a { color: var(--accent); text-decoration: none; }
.footer-note { color: var(--ink-soft); margin: 0; font-size: 11px; border-top: 1px solid var(--border-strong); padding-top: 16px; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

.reveal { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 48px; }
  .nav-inner { gap: 8px; }
  .lockup { display: none; }
  .nav-links { margin-left: 0; flex: 1; justify-content: space-between; }
  .nav-links a { padding: 8px 9px; font-size: 11.5px; }
}

/* ---------- JOURNEY (prev / next) ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.journey a { text-decoration: none; padding: 22px 24px; display: block; transition: border-color .2s, transform .2s; }
.journey a:hover { border-color: var(--accent); transform: translateY(-2px); }
.journey small { display: block; font-family: 'Sora', sans-serif; font-size: 10.5px; letter-spacing: .14em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 8px; }
.journey b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.journey span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.journey a.next { text-align: right; }
.journey a.next b { color: var(--accent); }
.journey .only { grid-column: 1 / -1; }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } .journey a.next { text-align: left; } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.nav-links a:focus-visible, .btn:focus-visible { border-radius: 100px; }
