/* =====================================================================
   Global Youth Decision Lab (GYDL) — Premium Corporate Stylesheet
   Author: GYDL Design System
   Sections:
     01. Variables
     02. Reset & Base
     03. Typography
     04. Layout & Utilities
     05. Buttons
     06. Header & Navigation
     07. Hero Sections
     08. Cards & Grids
     09. Sections (stats, split, process, CTA)
     10. Forms
     11. Testimonials Slider
     12. FAQ Accordion
     13. Blog / Research
     14. Footer
     15. Animations
     16. Responsive / Media Queries
   ===================================================================== */

/* ---------- 01. VARIABLES ---------- */
:root {
  /* Colors */
  --ink: #0a1a33;
  --ink-800: #10254a;
  --ink-600: #1d3661;
  --ink-400: #4a6086;
  --body: #3d4a5e;
  --muted: #6b7a90;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef2f8;
  --gold: #c2953f;
  --gold-soft: #e8d5a8;
  --teal: #0e6f6b;
  --white: #ffffff;

  /* Gradients */
  --grad-ink: linear-gradient(135deg, #0a1a33 0%, #14306a 55%, #0e6f6b 130%);
  --grad-gold: linear-gradient(120deg, #c2953f 0%, #e2bd6c 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  --grad-glass: linear-gradient(140deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 26, 51, 0.06);
  --shadow-sm: 0 6px 18px rgba(10, 26, 51, 0.07);
  --shadow-md: 0 16px 40px rgba(10, 26, 51, 0.1);
  --shadow-lg: 0 30px 70px rgba(10, 26, 51, 0.16);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Spacing & radius */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 112px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 02. RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--ink-600);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover {
  color: var(--gold);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 03. TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
}
h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.28;
}
h4 {
  font-size: 1.05rem;
}
p {
  margin: 0 0 1.1em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-400);
  line-height: 1.75;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.is-light {
  color: var(--gold-soft);
}
.eyebrow.is-light::before {
  background: var(--gold-soft);
}
.text-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 04. LAYOUT & UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--tight {
  padding: 76px 0;
}
.section--alt {
  background: var(--surface-2);
}
.section--ink {
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.82);
}
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: var(--white);
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}
.section-separator {
  height: 90px;
  background: var(--grad-soft);
  clip-path: polygon(0 0, 100% 55%, 100% 100%, 0 100%);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: var(--grad-gold);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ---------- 05. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--ink-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--gold {
  background: var(--grad-gold);
  color: #2a1f07;
  box-shadow: 0 10px 26px rgba(194, 149, 63, 0.32);
}
.btn--gold:hover {
  color: #2a1f07;
  box-shadow: 0 18px 40px rgba(194, 149, 63, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.link-arrow span {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover span {
  transform: translateX(5px);
}

/* ---------- 06. HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition:
    padding 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.site-header.is-stuck {
  padding: 12px 0;
}
.site-header.is-stuck::after {
  opacity: 1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-600);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav a.is-active {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn {
  padding: 12px 22px;
  font-size: 0.88rem;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}
.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}
.nav-toggle span::before {
  top: -7px;
  left: 0;
  transform: none;
}
.nav-toggle span::after {
  top: 7px;
  left: 0;
  transform: none;
}
body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 07. HERO SECTIONS ---------- */
.hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
  background: var(--grad-soft);
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(194, 149, 63, 0.22), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero .lead {
  max-width: 560px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-600);
  box-shadow: var(--shadow-xs);
}
.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.glass-card {
  background: var(--grad-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px 26px;
}
.hero__float {
  position: absolute;
  left: -26px;
  bottom: -30px;
  max-width: 260px;
}
.hero__float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1;
}
.hero__float span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 180px 0 88px;
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(194, 149, 63, 0.28), transparent 65%);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  max-width: 15ch;
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}
.breadcrumbs {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 08. CARDS & GRIDS ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 149, 63, 0.45);
}
.card p:last-child {
  margin-bottom: 0;
}
.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  margin-bottom: 22px;
  transition: background 0.4s var(--ease);
}
.card:hover .card__icon {
  background: var(--gold-soft);
}
.card__icon img {
  width: 26px;
  height: 26px;
}
.card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  display: block;
}
.card--ink {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}
.card--ink:hover {
  background: rgba(255, 255, 255, 0.09);
}
.card--feature {
  padding: 40px 36px;
}
.pill-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 4px rgba(194, 149, 63, 0.14);
}

/* ---------- 09. SECTIONS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  color: var(--white);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.split--reverse .split__media {
  order: 2;
}
.process {
  counter-reset: step;
  display: grid;
  gap: 0;
}
.process__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process__item:last-child {
  border-bottom: 1px solid var(--line);
}
.process__step {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 68px 60px;
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 149, 63, 0.35), transparent 65%);
}
.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: center;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  opacity: 0.75;
}
.logo-strip span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-400);
  letter-spacing: 0.04em;
}

/* ---------- 10. FORMS ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  width: 100%;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(194, 149, 63, 0.16);
}
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.field--check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--gold);
}
.field--check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.form-note {
  font-size: 0.84rem;
  color: var(--muted);
}
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(14, 111, 107, 0.08);
  color: var(--teal);
  font-weight: 600;
  display: none;
}
.form-status.is-visible {
  display: block;
}

/* ---------- 11. TESTIMONIALS SLIDER ---------- */
.slider {
  position: relative;
  overflow: hidden;
}
.slider__track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.slider__slide {
  min-width: 100%;
  padding: 6px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a1f07;
  flex: none;
}
.quote__author strong {
  display: block;
  color: var(--ink);
  font-size: 0.97rem;
}
.quote__author span {
  font-size: 0.85rem;
  color: var(--muted);
}
.slider__nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.slider__dot.is-active {
  width: 30px;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
}

/* ---------- 12. FAQ ACCORDION ---------- */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.accordion__trigger:hover {
  color: var(--gold);
}
.accordion__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: all 0.3s var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.accordion__icon::before {
  width: 13px;
  height: 2px;
}
.accordion__icon::after {
  width: 2px;
  height: 13px;
}
.accordion__item.is-open .accordion__icon {
  background: var(--ink);
  border-color: var(--ink);
}
.accordion__item.is-open .accordion__icon::before,
.accordion__item.is-open .accordion__icon::after {
  background: var(--white);
}
.accordion__item.is-open .accordion__icon::after {
  transform: rotate(90deg);
}
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.accordion__panel-inner {
  padding: 0 60px 28px 4px;
  color: var(--body);
}

/* ---------- 13. BLOG / RESEARCH ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.post-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.post-card:hover .post-card__media img {
  transform: scale(1.07);
}
.post-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.post-card h3 {
  margin: 0;
}
.post-card p {
  margin: 0;
  font-size: 0.95rem;
}
.post-card .link-arrow {
  margin-top: auto;
  padding-top: 14px;
}

/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding: 84px 0 34px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -180px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 149, 63, 0.16), transparent 65%);
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}
.site-footer a:hover {
  color: var(--gold-soft);
}
.site-footer .brand {
  color: var(--white);
}
.site-footer .brand small {
  color: rgba(255, 255, 255, 0.5);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.94rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.6;
  flex: none;
  margin-top: 4px;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.social a:hover {
  background: var(--grad-gold);
  border-color: transparent;
  transform: translateY(-3px);
}
.social img {
  width: 17px;
  height: 17px;
  filter: invert(1);
  opacity: 0.8;
}
.footer-bottom {
  position: relative;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.newsletter input {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-sans);
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter input:focus {
  outline: none;
  border-color: var(--gold);
}
.newsletter button {
  padding: 13px 22px;
}

/* ---------- 15. ANIMATIONS ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}
[data-animate="zoom"] {
  transform: scale(0.96);
}
[data-animate="left"] {
  transform: translateX(-34px);
}
[data-animate="right"] {
  transform: translateX(34px);
}
[data-delay="1"] {
  transition-delay: 0.1s;
}
[data-delay="2"] {
  transition-delay: 0.2s;
}
[data-delay="3"] {
  transition-delay: 0.3s;
}
[data-delay="4"] {
  transition-delay: 0.4s;
}
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.img-reveal img {
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}
.img-reveal.is-visible img {
  transform: scale(1);
}
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.is-floating {
  animation: float-y 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 16. RESPONSIVE / MEDIA QUERIES ---------- */
@media (max-width: 1080px) {
  :root {
    --section-y: 88px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav,
  .header-actions .btn--ghost {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: fixed;
    inset: 86px 16px auto 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    z-index: 950;
  }
  body.nav-open .nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav a:last-child {
    border-bottom: 0;
  }
  .hero__grid,
  .split,
  .grid-2,
  .grid-3,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .hero {
    padding: 150px 0 80px;
  }
  .page-hero {
    padding: 145px 0 70px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .quote {
    padding: 36px 30px;
  }
  .cta-band {
    padding: 46px 30px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  :root {
    --section-y: 68px;
    --gutter: 18px;
  }
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .form-card {
    padding: 26px 20px;
  }
  .process__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero__float {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
  .btn {
    width: 100%;
  }
  .header-actions .btn {
    width: auto;
  }
  .accordion__panel-inner {
    padding-right: 10px;
  }
}

/* ---------- 17. LIGHT HEADER OVER DARK PAGE HERO ---------- */
body.dark-hero .site-header:not(.is-stuck) .brand,
body.dark-hero .site-header:not(.is-stuck) .nav a {
  color: #ffffff;
}
body.dark-hero .site-header:not(.is-stuck) .brand small {
  color: rgba(255, 255, 255, 0.62);
}
body.dark-hero .site-header:not(.is-stuck) .brand__mark circle:first-child,
body.dark-hero .site-header:not(.is-stuck) .brand__mark path {
  stroke: #ffffff;
}
body.dark-hero .site-header:not(.is-stuck) .brand__mark path:nth-of-type(1) {
  stroke: #c2953f;
}
body.dark-hero .site-header:not(.is-stuck) .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
body.dark-hero .site-header:not(.is-stuck) .btn--primary {
  background: var(--grad-gold);
  color: #2a1f07;
}
body.dark-hero .site-header:not(.is-stuck) .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
body.dark-hero .site-header:not(.is-stuck) .nav-toggle span,
body.dark-hero .site-header:not(.is-stuck) .nav-toggle span::before,
body.dark-hero .site-header:not(.is-stuck) .nav-toggle span::after {
  background: #ffffff;
}

/* Hero floating stat: keep it clear of the photo */
.hero__float {
  left: -34px;
  bottom: -44px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.9);
}
