/* ============================================================
   COMMONS COLLECTIVE — STYLESHEET
   Aesthetic: Constructivist / Militant Editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Bebas+Neue&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black: #0e0e0e;
  --dark: #161616;
  --surface: #1f1f1f;
  --border: #2e2e2e;
  --muted: #5a5a5a;
  --cream: #f2ede2;
  --white: #faf7f2;
  --red: #cc1f1f;
  --red-dark: #9e1515;
  --gold: #c9993a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'EB Garamond', Georgia, serif;

  --nav-h: 64px;
  --max-w: 960px;
  --max-w-wide: 1200px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: 3px solid var(--red);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.site-nav .brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-nav .brand-logo {
  height: 38px;
  width: auto;
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease;
}

.site-nav .brand-wrap:hover .brand-logo {
  animation: bounceFlip 0.8s cubic-bezier(0.28, 0.84, 0.42, 1) forwards;
  filter: drop-shadow(0 4px 10px rgba(228, 59, 59, 0.4));
}

@keyframes bounceFlip {
  0% {
    transform: perspective(600px) rotateY(0deg) translateY(0);
  }

  50% {
    transform: perspective(600px) rotateY(180deg) translateY(-12px);
  }

  100% {
    transform: perspective(600px) rotateY(360deg) translateY(0);
  }
}

.site-nav .wordmark {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.site-nav .wordmark span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: block;
  padding: 0 1rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.2s;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--red);
}

/* Dropdown */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  min-width: 200px;
  list-style: none;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--red);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
}

/* ── Page wrapper ───────────────────────────────────────────── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
}

.hero-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #c8bfaf;
  max-width: 44ch;
}

.hero-divider {
  width: 64px;
  height: 3px;
  background: var(--red);
  margin: 1.5rem 0;
}

.hero-graphic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat {
  background: var(--surface);
  border-left: 4px solid var(--red);
  padding: 1.2rem 1.5rem;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}

.hero-stat .label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ── Content layout ─────────────────────────────────────────── */
.content-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section+.content-section {
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-title .accent {
  color: var(--red);
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #c8bfaf;
}

.body-text p {
  margin-bottom: 1.4em;
}

.body-text p:last-child {
  margin-bottom: 0;
}

/* ── Pull quote ─────────────────────────────────────────────── */
.pull-quote {
  border-left: 4px solid var(--red);
  padding: 1.2rem 1.8rem;
  margin: 2.5rem 0;
  background: var(--surface);
}

.pull-quote p {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
}

/* ── Cards grid ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.card {
  background: var(--dark);
  padding: 2rem;
  transition: background 0.2s;
}

.card:hover {
  background: var(--surface);
}

.card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Page header (inner pages) ───────────────────────────────── */
.page-header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header .section-label {
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header .subtitle {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  max-width: 60ch;
}

/* ── Article content ─────────────────────────────────────────── */
.article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.article-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.article-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.5rem 0 0.8rem;
}

.article-wrap h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 2rem 0 0.6rem;
}

.article-wrap p {
  color: #c8bfaf;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.3em;
}

.article-wrap ul,
.article-wrap ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3em;
  color: #c8bfaf;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-wrap li {
  margin-bottom: 0.4em;
}

.article-wrap strong {
  color: var(--white);
  font-weight: 600;
}

.article-wrap blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--surface);
  font-style: italic;
  color: var(--cream);
}

/* ── Part header (manifesto) ─────────────────────────────────── */
.part-header {
  background: var(--surface);
  border-left: 4px solid var(--red);
  padding: 1.5rem 2rem;
  margin: 3rem 0 1.5rem;
}

.part-header .part-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.part-header h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  border: none;
  margin: 0 0 0.3rem 0;
  padding: 0;
}

.part-header .part-subtitle {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

/* ── Table of contents ───────────────────────────────────────── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.toc ol {
  padding-left: 1.2rem;
  color: var(--cream);
}

.toc li {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

.toc li:last-child {
  border-bottom: none;
}

.toc a {
  transition: color 0.2s;
}

.toc a:hover {
  color: var(--red);
}

/* ── Placeholder block ───────────────────────────────────────── */
.placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.placeholder-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.placeholder-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.placeholder p {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* ── Form ────────────────────────────────────────────────────── */
.form-wrap {
  max-width: 640px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

/* ── Nav cards (home) ────────────────────────────────────────── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.nav-card {
  background: var(--dark);
  padding: 2rem 1.5rem;
  transition: background 0.2s;
  display: block;
}

.nav-card:hover {
  background: var(--surface);
}

.nav-card .nc-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.nav-card .nc-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.nav-card .nc-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.nav-card .nc-arrow {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--red);
}

/* ── Divider ─────────────────────────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.rule-bold {
  border-top: 3px solid var(--red);
}

/* ── License sub-nav (CopyFarLeft) ───────────────────────────── */
.sub-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  gap: 0;
}

.sub-nav a {
  display: block;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.sub-nav a:hover {
  color: var(--white);
  border-bottom-color: var(--border);
}

.sub-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── Declaration Form ────────────────────────────────────────── */
.declaration-form-header {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 3rem;
  border-top: 3px solid var(--gold);
}

.form-group-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.decl-input {
  width: 100%;
  background: var(--black) !important;
  border: 1px solid var(--border) !important;
  color: var(--white) !important;
  font-family: var(--font-head) !important;
  font-size: 0.9rem !important;
  padding: 0.6rem 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.decl-input:focus {
  border-color: var(--gold) !important;
}

.inline-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 0.5rem;
  outline: none;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inline-input::placeholder {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
}

.inline-input:focus {
  border-bottom-color: var(--gold);
}

.form-group-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
  max-width: 600px;
}

.form-intent {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  margin: 2rem 0 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

.form-check label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.form-actions {
  margin-top: 2rem;
}

.btn-large {
  width: 100%;
  max-width: 300px;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border: 2px solid var(--white);
  background: var(--black);
  color: var(--white);
}

.btn-large:hover {
  background: var(--white);
  color: var(--black);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-brand .wordmark span {
  color: var(--red);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: 1rem;
}

.footer-brand .contact-email {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
}

.footer-brand .contact-addr {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--cream);
}

.footer-bottom {
  max-width: var(--max-w-wide);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-bottom .copyleft {
  color: var(--red);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 3px solid var(--red);
    padding: 1rem 0;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links>li>a {
    height: auto;
    line-height: 1;
    padding: 0.9rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    display: none;
    position: static;
    border-top: none;
    border: none;
    background: var(--surface);
    padding-left: 1rem;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-graphic {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .sub-nav {
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.2rem 2.5rem;
  }

  .content-section {
    padding: 2.5rem 1.2rem;
  }

  .article-wrap {
    padding: 2rem 1.2rem 4rem;
  }

  .page-header {
    padding: 2.5rem 1.2rem 2rem;
  }

  .site-nav {
    padding: 0 1.2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .nav-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Animations ─────────────────────────────────────────────── */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Delay blocks for staggered effect */
.cards-grid .card:nth-child(1) {
  transition-delay: 0.1s;
}

.cards-grid .card:nth-child(2) {
  transition-delay: 0.2s;
}

.cards-grid .card:nth-child(3) {
  transition-delay: 0.3s;
}

.cards-grid .card:nth-child(4) {
  transition-delay: 0.4s;
}

.cards-grid .card:nth-child(5) {
  transition-delay: 0.5s;
}

.cards-grid .card:nth-child(6) {
  transition-delay: 0.6s;
}

.nav-cards .nav-card:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-cards .nav-card:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-cards .nav-card:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-cards .nav-card:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-cards .nav-card:nth-child(5) {
  transition-delay: 0.5s;
}

.nav-cards .nav-card:nth-child(6) {
  transition-delay: 0.6s;
}

.hero-stat {
  transition: all 0.5s ease;
}

.hero-stat:hover {
  background: var(--border);
  border-left-color: var(--gold);
  transform: translateX(10px);
}