/* style.css — GCL Nexus Design Tokens + Components */

/* ========== DESIGN TOKENS ========== */
:root {
  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --space-32: 8rem;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radius */
  --radius-sm: 0.25rem; --radius-md: 0.5rem;
  --radius-lg: 0.75rem; --radius-xl: 1rem;
}

/* ========== COLOR PALETTE — GCL Nexus ========== */
:root, [data-theme='light'] {
  --color-bg: #F5F3F0;
  --color-surface: #FFFFFF;
  --color-surface-alt: #E8E4DF;
  --color-navy: #0D1B2A;
  --color-navy-mid: #1B3A4B;
  --color-navy-light: #274C5B;
  --color-accent: #E07A2F;
  --color-accent-hover: #c96a24;
  --color-link: #2E86AB;
  --color-link-hover: #236d8d;
  --color-text: #1F2937;
  --color-text-muted: #5A6577;
  --color-text-faint: #9CA3AF;
  --color-text-inverse: #F5F3F0;
  --color-border: rgba(31,41,55,.12);
  --color-divider: rgba(31,41,55,.08);
  --shadow-sm: 0 1px 2px rgba(13,27,42,.06);
  --shadow-md: 0 4px 12px rgba(13,27,42,.08);
  --shadow-lg: 0 12px 32px rgba(13,27,42,.12);
}

[data-theme='dark'] {
  --color-bg: #0D1B2A;
  --color-surface: #162636;
  --color-surface-alt: #1B3A4B;
  --color-text: #E8E4DF;
  --color-text-muted: #9CA3AF;
  --color-text-faint: #5A6577;
  --color-text-inverse: #0D1B2A;
  --color-border: rgba(232,228,223,.12);
  --color-divider: rgba(232,228,223,.08);
  --color-link: #5BABCF;
  --color-link-hover: #7FC3DF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.4);
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme]) {
    --color-bg: #0D1B2A;
    --color-surface: #162636;
    --color-surface-alt: #1B3A4B;
    --color-text: #E8E4DF;
    --color-text-muted: #9CA3AF;
    --color-text-faint: #5A6577;
    --color-text-inverse: #0D1B2A;
    --color-border: rgba(232,228,223,.12);
    --color-divider: rgba(232,228,223,.08);
    --color-link: #5BABCF;
    --color-link-hover: #7FC3DF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,.3);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.4);
  }
}

/* ========== LAYOUT ========== */
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-4); }
.container--narrow { max-width: var(--content-default); }
.container--tight { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-10), 6vw, var(--space-24)); }
.section--sm { padding-block: clamp(var(--space-6), 4vw, var(--space-12)); }
.section--dark {
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.section--dark .color-muted { color: rgba(245,243,240,.65); }
.section--alt { background: var(--color-surface-alt); }
.section--surface { background: var(--color-surface); }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.header-inner {
  max-width: var(--content-wide); margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.header-logo { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: #fff; }
.header-logo img { height: 36px; width: auto; }
.header-logo-text { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: #fff; letter-spacing: .02em; }
.header-logo-text span { color: var(--color-accent); }

.header-nav { display: flex; align-items: center; gap: var(--space-1); }
.header-nav a, .nav-dropdown-trigger {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500; color: rgba(255,255,255,.8); text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.header-nav a:hover, .nav-dropdown-trigger:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--color-navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  min-width: 240px;
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs); color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }

.btn-cta-header {
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent); color: #fff !important;
  font-weight: 600; font-size: var(--text-xs);
  border-radius: var(--radius-md);
  text-decoration: none; white-space: nowrap;
}
.btn-cta-header:hover { background: var(--color-accent-hover); color: #fff !important; }

.mobile-toggle {
  display: none; background: none; border: none; color: #fff;
  padding: var(--space-2); cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-navy); z-index: 200;
  padding: var(--space-16) var(--space-6) var(--space-6);
  flex-direction: column; gap: var(--space-2);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: var(--space-3) var(--space-4);
  color: rgba(255,255,255,.85); font-size: var(--text-base);
  font-weight: 500; border-radius: var(--radius-sm);
  text-decoration: none;
}
.mobile-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-nav .btn-cta-header {
  margin-top: var(--space-4); text-align: center;
  padding: var(--space-4); font-size: var(--text-base);
}
.mobile-nav-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  background: none; border: none; color: #fff; cursor: pointer; padding: var(--space-2);
}
.mobile-nav-label {
  font-size: var(--text-xs); font-weight: 600; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: .08em;
  padding: var(--space-4) var(--space-4) var(--space-1);
}

@media(max-width:900px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ========== HERO ========== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(var(--space-16),10vw,var(--space-32)) 0 clamp(var(--space-12),8vw,var(--space-24));
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.hero[data-bg] {
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.82) 0%, rgba(27,58,75,.65) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display); font-size: var(--text-hero);
  font-weight: 400; line-height: 1.1; max-width: 18ch;
  margin-bottom: var(--space-6);
}
.hero p {
  font-size: var(--text-base); line-height: 1.7;
  max-width: 55ch; color: rgba(245,243,240,.75);
  margin-bottom: var(--space-8);
}
.hero-badge {
  display: inline-flex; gap: var(--space-2); align-items: center;
  padding: var(--space-1) var(--space-3);
  background: rgba(224,122,47,.15); border: 1px solid rgba(224,122,47,.3);
  border-radius: var(--radius-xl);
  font-size: var(--text-xs); font-weight: 500; color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600; font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer; border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent); color: #fff;
}
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }
.btn--secondary {
  background: transparent; color: rgba(245,243,240,.8);
  border: 1px solid rgba(245,243,240,.25);
}
.btn--secondary:hover { color: #fff; border-color: rgba(245,243,240,.5); }
.btn--outline {
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* ========== SECTION HEADING ========== */
.section-label {
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--color-accent); margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 400; line-height: 1.15; margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base); color: var(--color-text-muted);
  max-width: 60ch; line-height: 1.6;
}
.section--dark .section-subtitle { color: rgba(245,243,240,.65); }

/* ========== CARDS ========== */
.card-grid { display: grid; gap: var(--space-6); }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(400px,100%), 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(300px,100%), 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(260px,100%), 1fr)); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-lg); margin-bottom: var(--space-3); line-height: 1.3;
}
.card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
/* Fix: cards inside dark sections must use surface-appropriate text color */
.section--dark .card h3 { color: var(--color-text); }
.section--dark .card p  { color: var(--color-text-muted); }
.card-icon {
  width: 40px; height: 40px; margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.card-link {
  display: inline-flex; align-items: center; gap: var(--space-1);
  margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-link);
}
.card-link:hover { color: var(--color-accent); }

/* ========== METRICS ========== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
}
.metric { text-align: center; }
.metric-value {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 400; color: var(--color-accent); line-height: 1;
  margin-bottom: var(--space-2);
}
.metric-label {
  font-size: var(--text-sm); color: rgba(245,243,240,.65);
  max-width: 22ch; margin-inline: auto;
}

/* ========== STEPS ========== */
.steps { display: grid; gap: var(--space-8); counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
  counter-increment: step;
}
.step-number {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224,122,47,.1); color: var(--color-accent);
  border-radius: 50%; font-weight: 700; font-size: var(--text-sm);
  flex-shrink: 0;
}
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-2); line-height: 1.3; }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }

/* ========== TESTIMONIAL ========== */
.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: 3px solid var(--color-accent);
  position: relative;
}
.testimonial blockquote {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-style: italic; line-height: 1.6; margin-bottom: var(--space-4);
  color: var(--color-text);
}
.testimonial cite {
  font-style: normal; font-size: var(--text-sm);
  color: var(--color-text-muted); font-weight: 500;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--color-navy);
  padding: clamp(var(--space-10),6vw,var(--space-20)) 0;
  text-align: center; color: var(--color-text-inverse);
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 400; max-width: 30ch; margin-inline: auto;
  margin-bottom: var(--space-4);
}
.cta-banner p {
  max-width: 50ch; margin-inline: auto;
  color: rgba(245,243,240,.7); margin-bottom: var(--space-8);
}

/* ========== PULL QUOTE ========== */
.pull-quote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg); line-height: 1.6;
  color: var(--color-text-muted);
}
.pull-quote cite { display: block; margin-top: var(--space-3); font-style: normal; font-size: var(--text-sm); font-weight: 500; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: var(--space-4) 0 0;
  font-size: var(--text-xs); color: var(--color-text-faint);
  display: flex; gap: var(--space-2); flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-text-faint); }

/* ========== ENTREGABLES LIST ========== */
.deliverables { list-style: none; display: grid; gap: var(--space-4); }
.deliverables li {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3);
  padding: var(--space-4); background: var(--color-surface);
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
}
.deliverables li::before { display: none; }
.deliverables .check-icon { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.deliverables strong { display: block; font-weight: 600; margin-bottom: var(--space-1); }

/* ========== FORM ========== */
.form-group { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-group label { font-size: var(--text-sm); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-base);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(224,122,47,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ========== FOR WHO ========== */
.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin: var(--space-8) 0; }
@media(max-width:700px) { .criteria-grid { grid-template-columns: 1fr; } }
.criteria-grid h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-4); }
.criteria-grid ul { list-style: none; display: grid; gap: var(--space-3); }
.criteria-grid li {
  display: flex; gap: var(--space-3); font-size: var(--text-sm);
  line-height: 1.5; color: var(--color-text-muted);
}
.criteria-grid .yes li::before { content: '✓'; color: #437A22; font-weight: 700; }
.criteria-grid .no li::before { content: '✗'; color: #A13544; font-weight: 700; }

/* ========== RESULTS LIST ========== */
.results-list { list-style: none; display: grid; gap: var(--space-6); counter-reset: result; }
.results-list li {
  counter-increment: result;
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
}
.results-list li::before {
  content: counter(result); display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(224,122,47,.15); color: var(--color-accent);
  font-weight: 700; font-size: var(--text-sm); flex-shrink: 0;
}
.results-list strong { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.results-list p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-navy); color: rgba(245,243,240,.7);
  padding: var(--space-16) 0 var(--space-6);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media(max-width:700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:450px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(245,243,240,.4); margin-bottom: var(--space-4);
}
.footer-col a {
  display: block; padding: var(--space-1) 0;
  font-size: var(--text-sm); color: rgba(245,243,240,.65);
  text-decoration: none;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-tagline {
  text-align: center; padding: var(--space-8) 0 var(--space-4);
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-base); color: rgba(245,243,240,.4);
}
.footer-bottom {
  text-align: center; font-size: var(--text-xs);
  color: rgba(245,243,240,.3); padding-top: var(--space-4);
}
.footer-bottom a { color: rgba(245,243,240,.4); }

/* ========== NEWSLETTER ========== */
.newsletter {
  background: var(--color-surface-alt);
  padding: var(--space-10) 0;
}
.newsletter-inner {
  max-width: var(--content-default); margin-inline: auto;
  padding-inline: var(--space-4); text-align: center;
}
.newsletter h2 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.newsletter p { color: var(--color-text-muted); margin-bottom: var(--space-6); max-width: 50ch; margin-inline: auto; }
.newsletter-form {
  display: flex; gap: var(--space-3); max-width: 480px; margin-inline: auto;
}
.newsletter-form input {
  flex: 1; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); font-size: var(--text-sm);
}
.newsletter-form button { flex-shrink: 0; }
@media(max-width:500px) { .newsletter-form { flex-direction: column; } }
.newsletter-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-3); }

/* ========== CASE STUDY ========== */
.case-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  padding: var(--space-4) 0;
}
.case-meta-item {
  display: flex; gap: var(--space-2);
  font-size: var(--text-sm);
}
.case-meta-item strong { color: var(--color-text); }
.case-badge {
  display: inline-block; padding: var(--space-1) var(--space-3);
  background: rgba(224,122,47,.1); color: var(--color-accent);
  border-radius: var(--radius-xl); font-size: var(--text-xs);
  font-weight: 600;
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.color-muted { color: var(--color-text-muted); }
.color-accent { color: var(--color-accent); }
.max-w-prose { max-width: 65ch; }
.max-w-narrow { max-width: 45ch; }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp .6s cubic-bezier(.16,1,.3,1) both; }
.animate-in:nth-child(2) { animation-delay: .08s; }
.animate-in:nth-child(3) { animation-delay: .16s; }
.animate-in:nth-child(4) { animation-delay: .24s; }

/* ========== PAGE CONTENT ========== */
#page-content { min-height: 60vh; }
.page-hero {
  position: relative; padding: clamp(var(--space-12),8vw,var(--space-20)) 0;
  background: var(--color-navy); color: var(--color-text-inverse);
}
.page-hero[data-bg] {
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(13,27,42,.82), rgba(27,58,75,.7));
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 400; max-width: 22ch; margin-bottom: var(--space-4);
}
.page-hero p { max-width: 55ch; color: rgba(245,243,240,.7); margin-bottom: var(--space-6); }

/* ========== DARK MODE TOGGLE ========== */
.theme-toggle {
  background: none; border: none; color: rgba(255,255,255,.6);
  cursor: pointer; padding: var(--space-2);
  display: flex; align-items: center;
}
.theme-toggle:hover { color: #fff; }
.theme-toggle svg { width: 18px; height: 18px; }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

/* Anchor behavior for SPA */
.page-transition { animation: fadeUp .3s cubic-bezier(.16,1,.3,1) both; }
