/* ============================================================
   RAJASPORT
   Palette extracted from Logo.jpg:
   gold #D5A32D · bright gold #F2D24B · black #070503 · cream #F6F0E2
   ============================================================ */

:root {
  --ink: #070503;
  --ink-2: #0c0805;
  --panel: #120c06;
  --panel-2: #181007;
  --gold: #d5a32d;
  --gold-bright: #f2d24b;
  --gold-deep: #9a6a12;
  --cream: #f6f0e2;
  --muted: #b8a98e;
  --muted-2: #8f8069;
  --line: rgba(213, 163, 45, 0.22);
  --line-strong: rgba(213, 163, 45, 0.48);
  --max: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(213, 163, 45, 0.14), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(213, 163, 45, 0.07), transparent 34%),
    linear-gradient(180deg, #080604 0%, var(--ink) 48%, #050302 100%);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 240, 226, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 226, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

::selection {
  background: var(--gold);
  color: #120b03;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold-bright);
  color: #120b03;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 5, 3, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 52px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-bright);
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-auth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.header-auth a:hover {
  transform: translateY(-1px);
}

.header-login {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
  color: var(--cream);
}

.header-login:hover,
.header-login:focus-visible {
  border-color: var(--gold);
  background: rgba(213, 163, 45, 0.1);
  color: var(--gold-bright);
}

.header-register {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #150d03;
  box-shadow: 0 10px 26px rgba(213, 163, 45, 0.2);
}

.header-register:hover,
.header-register:focus-visible {
  box-shadow: 0 14px 32px rgba(213, 163, 45, 0.3);
}

/* ---------- Mobile auth popup ---------- */

.mobile-auth {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mobile-auth-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mobile-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100% - 32px);
  overflow-y: auto;
  padding: 30px 22px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 163, 45, 0.18), transparent 58%),
    linear-gradient(165deg, #1a1108 0%, #0b0704 72%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.mobile-auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 5, 3, 0.6);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.mobile-auth-close:hover,
.mobile-auth-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.mobile-auth-logo {
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.mobile-auth-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-auth-name {
  margin: 6px 0 10px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.mobile-auth-copy {
  max-width: 290px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.mobile-auth-actions {
  display: grid;
  gap: 10px;
}

.mobile-auth-actions .btn {
  width: 100%;
}

html.auth-open,
html.auth-open body {
  overflow: hidden;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--cream);
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #150d03;
  box-shadow: 0 14px 36px rgba(213, 163, 45, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(213, 163, 45, 0.32);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Home hero ---------- */

.hero {
  padding: clamp(58px, 8vw, 104px) 0 clamp(36px, 5vw, 56px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 22px;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 42px);
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
  color: var(--gold-bright);
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.emblem-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 47%, rgba(213, 163, 45, 0.16), transparent 57%),
    linear-gradient(160deg, rgba(24, 16, 7, 0.96), rgba(8, 6, 4, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.emblem-card::before,
.emblem-card::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--line-strong);
  border-style: solid;
  pointer-events: none;
}

.emblem-card::before {
  top: 16px;
  left: 16px;
  border-width: 1px 0 0 1px;
}

.emblem-card::after {
  right: 16px;
  bottom: 16px;
  border-width: 0 1px 1px 0;
}

.emblem-card svg,
.emblem-card img {
  display: block;
  width: 100%;
  height: auto;
}

.emblem-card img {
  margin-bottom: 34px;
  border-radius: 18px;
}

.emblem-badge {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 5, 3, 0.86);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(54px, 7vw, 88px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-head p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(150deg, rgba(24, 16, 7, 0.92), rgba(10, 7, 4, 0.96));
}

.feature-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(10, 7, 4, 0.55));
}

.feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.feature h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.feature h3 a {
  text-decoration: none;
}

.feature h3 a:hover,
.feature h3 a:focus-visible {
  color: var(--gold-bright);
}

.feature p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--gold-bright);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- About strip ---------- */

.about-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(circle at 15% 10%, rgba(213, 163, 45, 0.09), transparent 42%),
    rgba(18, 12, 6, 0.62);
}

.about-strip h2 {
  margin: 10px 0 0;
  font-size: clamp(29px, 3.8vw, 44px);
  line-height: 1.06;
}

.about-strip p {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-strip p:last-child {
  margin-bottom: 0;
}

/* ---------- Article ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--gold-bright);
}

.breadcrumb span[aria-current="page"] {
  color: var(--gold);
}

.article-hero {
  padding: clamp(46px, 7vw, 84px) 0 clamp(26px, 4vw, 42px);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.article-head h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(38px, 5.3vw, 67px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.deck {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.byline strong {
  color: var(--cream);
  font-weight: 700;
}

.byline .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.article-art {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(213, 163, 45, 0.15), transparent 60%),
    rgba(12, 8, 5, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.article-art svg,
.article-art img {
  display: block;
  width: 100%;
  height: auto;
}

.article-art img {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(210px, 1fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 84px);
}

.article-body {
  min-width: 0;
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  margin: 0 0 22px;
}

.article-body p,
.article-body li {
  color: #d8cdb9;
  font-size: 17.5px;
  line-height: 1.78;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 76px;
  line-height: 0.72;
  font-weight: 700;
}

.article-body h2 {
  margin: 48px 0 18px;
  font-size: clamp(28px, 3.5vw, 39px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}

.article-body h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  line-height: 1.2;
  scroll-margin-top: 100px;
}

.article-body a {
  color: var(--gold-bright);
  text-decoration-color: rgba(242, 210, 75, 0.4);
  text-underline-offset: 4px;
}

.article-body strong {
  color: var(--cream);
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body li::marker {
  color: var(--gold);
}

.pullquote {
  margin: 38px 0;
  padding: 26px 0 26px 26px;
  border-left: 2px solid var(--gold);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.35;
  font-style: italic;
}

.pullquote cite {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.table-wrap {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 14.5px;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(213, 163, 45, 0.09);
  color: var(--gold-bright);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

td {
  color: #d8cdb9;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.note {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(213, 163, 45, 0.045);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.article-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 12, 6, 0.7);
}

.toc h2 {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  border-top: 1px solid rgba(213, 163, 45, 0.12);
}

.toc li:first-child {
  border-top: 0;
}

.toc a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 1px;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--gold-bright);
}

.kitchen-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213, 163, 45, 0.12), transparent 55%),
    rgba(18, 12, 6, 0.7);
}

.kitchen-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 19px;
}

.kitchen-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faq {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  margin-top: 36px;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
}

.faq-item p {
  margin: 0;
  font-size: 15.5px;
}

/* ---------- CTA ---------- */

.cta-wrap {
  padding: clamp(54px, 7vw, 88px) 0;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #0b0805;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: var(--cta) center / cover no-repeat;
  filter: blur(4px) saturate(0.65);
  transform: scale(1.06);
  opacity: 0.55;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 5, 3, 0.97) 0%, rgba(7, 5, 3, 0.88) 52%, rgba(7, 5, 3, 0.7) 100%),
    radial-gradient(circle at 88% 20%, rgba(213, 163, 45, 0.16), transparent 46%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.cta-inner h2 {
  margin: 13px 0 15px;
  font-size: clamp(30px, 4.4vw, 49px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
}

.cta-note {
  margin: 14px 0 0 !important;
  color: var(--muted-2) !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #050302;
  padding: 38px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: auto;
  height: 36px;
}

.footer-brand span {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
}

.footer-copy {
  width: 100%;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(213, 163, 45, 0.12);
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ---------- Article index / 404 ---------- */

.page-hero {
  padding: clamp(54px, 8vw, 94px) 0 26px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 16px 0 18px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.page-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.archive {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(54px, 7vw, 88px);
}

.archive-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(18, 12, 6, 0.66);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.archive-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.archive-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-right: 1px solid var(--line);
}

.archive-body {
  padding: 26px;
}

.archive-body h2 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.12;
}

.archive-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.center-note {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) 0;
  text-align: center;
}

.center-note .eyebrow {
  justify-content: center;
}

.center-note h1 {
  margin: 18px 0;
  font-size: clamp(44px, 8vw, 90px);
  line-height: 0.95;
}

.center-note p {
  margin: 0 0 28px;
  color: var(--muted);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-actions,
  .stats,
  .emblem-card,
  .article-head,
  .article-art {
    animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-actions {
    animation-delay: 0.06s;
  }

  .stats {
    animation-delay: 0.12s;
  }

  .emblem-card,
  .article-art {
    animation-delay: 0.1s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .article-hero-grid,
  .article-layout,
  .feature,
  .about-strip {
    grid-template-columns: 1fr;
  }

  .emblem-card,
  .article-art {
    max-width: 440px;
    margin-inline: auto;
  }

  .feature-media {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(10, 7, 4, 0.6));
  }

  .article-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    gap: 40px;
  }

  .archive-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    height: 44px;
  }

  .nav {
    display: none;
  }

  .header-auth {
    display: none;
  }

  .mobile-auth:not([hidden]) {
    display: flex;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1,
  .article-head h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .article-body p,
  .article-body li {
    font-size: 16.5px;
  }

  .article-body > p:first-of-type::first-letter {
    font-size: 62px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .archive-card {
    grid-template-columns: 1fr;
  }

  .archive-card img {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 40px;
  }

  .stats {
    gap: 18px;
  }

  .stat strong {
    font-size: 21px;
  }

  .cta-panel {
    padding: 28px 22px;
  }

  .mobile-auth-card {
    padding: 28px 18px 24px;
  }

  .mobile-auth-logo {
    width: 68px;
    height: 68px;
  }

  .mobile-auth-name {
    font-size: 26px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
