/* ============================================================
   LEAD FROM THE HEART — Design Tokens
   tokens.css  ·  Apply to every page for brand consistency
   ============================================================ */

/* ── FONTS (WOFF2 for high performance) ─────────────────────── */
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-thin.woff2') format('woff2'); font-weight:100; font-display:swap; }
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-light.woff2') format('woff2'); font-weight:300; font-display:swap; }
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Gilmer'; src:url('fonts/gilmer-heavy.woff2') format('woff2'); font-weight:800; font-display:swap; }

/* ── COLOR PALETTE ──────────────────────────────────────────── */
:root {
  /* Reds */
  --red-900: #6B0000;
  --red-800: #8A0000;
  --red-700: #A00000;
  --red-600: #B40000;   /* Brand primary */
  --red-500: #CC1A1A;
  --red-100: #FAE8E8;
  --red-50:  #FEF5F5;

  /* Golds */
  --gold-700: #A37200;
  --gold-600: #C9961A;   /* Brand accent */
  --gold-500: #E0AE30;
  --gold-400: #F0C84A;
  --gold-100: #FDF3D0;

  /* Neutrals */
  --black:      #0D0D0D;
  --charcoal:   #1A1A1A;
  --grey-700:   #3D3D3D;
  --grey-600:   #4F4F4F;
  --grey-500:   #6B6B6B;
  --grey-400:   #9B9B9B;
  --grey-300:   #C4C0BB;
  --grey-200:   #E8E3DC;
  --grey-100:   #F2EDE8;
  --cream:      #FAF6F0;
  --white:      #FFFFFF;
}

/* ── SEMANTIC TOKENS ────────────────────────────────────────── */
:root {
  --brand-primary:       var(--red-600);
  --brand-dark:          var(--red-800);
  --brand-light:         var(--red-100);
  --brand-accent:        var(--gold-600);
  --brand-accent-light:  var(--gold-100);

  --bg-base:   var(--white);
  --bg-soft:   var(--cream);
  --bg-muted:  var(--grey-100);
  --bg-invert: var(--charcoal);
  --bg-brand:  var(--red-600);

  --fg-1:      var(--charcoal);
  --fg-2:      var(--grey-600);
  --fg-3:      var(--grey-400);
  --fg-invert: var(--white);
  --fg-brand:  var(--red-600);
  --fg-accent: var(--gold-600);

  --border:        var(--grey-200);
  --border-strong: var(--grey-300);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
:root {
  --font-display: 'Gilmer', 'Inter', Arial, sans-serif;
  --font-body:    'Gilmer', 'Inter', Arial, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  2rem;       /* 32px */
  --text-3xl:  2.5rem;     /* 40px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */
  --text-6xl:  5rem;       /* 80px */

  /* Weights */
  --w-light:   300;
  --w-regular: 400;
  --w-medium:  500;
  --w-bold:    700;
  --w-black:   800;

  /* Leading */
  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Tracking */
  --tracking-tight:  -0.03em;
  --tracking-snug:   -0.015em;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;
  --tracking-caps:    0.14em;
}

/* ── SPACING ────────────────────────────────────────────────── */
:root {
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --section-pad: 80px var(--sp-8);
  --section-pad-lg: 96px var(--sp-8);
  --container-max: 1200px;
}

/* ── RADIUS ─────────────────────────────────────────────────── */
:root {
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 9999px;
}

/* ── SHADOWS ────────────────────────────────────────────────── */
:root {
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:    0 16px 48px rgba(0,0,0,0.16);
  --shadow-brand: 0 4px 20px rgba(180,0,0,0.22);
}

/* ── TRANSITIONS ────────────────────────────────────────────── */
:root {
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-fast:    200ms;
  --dur-base:    300ms;
  --dur-slow:    600ms;
}


/* ==========================================================================
   BASE DOCUMENT RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--fg-1);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── BUTTON STYLES ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out),
              transform  var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  letter-spacing: 0.01em;
  line-height: 1;
}
.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.99); }

.btn-primary { background: var(--brand-primary); color: var(--white); padding: 15px 30px; font-size: 15px; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-brand); }

.btn-primary-lg { background: var(--brand-primary); color: var(--white); padding: 18px 36px; font-size: 16px; }
.btn-primary-lg:hover { background: var(--brand-dark); box-shadow: var(--shadow-brand); }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); padding: 14px 28px; font-size: 15px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

.btn-outline-dark { background: transparent; color: var(--charcoal); border: 2px solid var(--border); padding: 14px 28px; font-size: 15px; }
.btn-outline-dark:hover { border-color: var(--charcoal); }

.btn-white-red { background: var(--white); color: var(--brand-primary); padding: 16px 32px; font-size: 16px; }
.btn-white-red:hover { background: var(--cream); }

/* ── CARD STYLES ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-8);
}

.card-cream {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  padding: var(--sp-8);
}

/* ── SECTION LABEL (eyebrow text) ───────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--w-black);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-5); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════ RESOURCE GATE STYLES ═══════════════════════ */
  /* Modal overlay */
  .lfth-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
  }
  .lfth-gate-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* Modal box */
  .lfth-gate {
    background: var(--cream, #FAF6F0);
    width: 100%;
    max-width: 480px;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }
  .lfth-gate-overlay.open .lfth-gate {
    transform: translateY(0) scale(1);
  }

  /* Close button */
  .lfth-gate-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 26, 26, 0.06);
    color: #1A1A1A;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 2;
  }
  .lfth-gate-close:hover {
    background: rgba(26, 26, 26, 0.12);
  }

  /* Header strip */
  .lfth-gate-head {
    background: #1A1A1A;
    color: #FAF6F0;
    padding: 28px 32px 24px;
  }
  .lfth-gate-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #F0C84A;
    margin-bottom: 10px;
  }
  .lfth-gate-title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FAF6F0;
    margin: 0 0 6px 0;
  }
  .lfth-gate-meta {
    font-size: 12px;
    color: rgba(250, 246, 240, 0.65);
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  /* Body */
  .lfth-gate-body {
    padding: 24px 32px 28px;
  }
  .lfth-gate-msg {
    font-size: 14px;
    line-height: 1.55;
    color: #3D3D3D;
    margin: 0 0 18px 0;
  }
  .lfth-gate-msg strong {
    color: #1A1A1A;
    font-weight: 800;
  }

  /* Form */
  .lfth-gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .lfth-gate-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E8E3DC;
    border-radius: 4px;
    font-size: 15px;
    color: #1A1A1A;
    font-family: inherit;
    background: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .lfth-gate-input:focus {
    outline: none;
    border-color: #B40000;
    box-shadow: 0 0 0 3px rgba(180, 0, 0, 0.12);
  }
  .lfth-gate-input::placeholder { color: #9B9B9B; }

  .lfth-gate-submit {
    background: #B40000;
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.005em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, transform 0.1s ease;
  }
  .lfth-gate-submit:hover { background: #8A0000; }
  .lfth-gate-submit:active { transform: translateY(1px); }
  .lfth-gate-submit:disabled {
    background: #9B9B9B;
    cursor: wait;
  }

  /* Footer note */
  .lfth-gate-fine {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.5;
    color: #6B6B6B;
    text-align: center;
  }
  .lfth-gate-fine a { color: #B40000; text-decoration: none; }
  .lfth-gate-fine a:hover { text-decoration: underline; }

  /* Loading state */
  .lfth-gate.loading .lfth-gate-submit {
    opacity: 0.7;
    pointer-events: none;
  }
  .lfth-gate-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: lfth-spin 0.7s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
  }
  @keyframes lfth-spin { to { transform: rotate(360deg); } }

  /* Lock body scroll while modal open */
  body.lfth-gate-locked { overflow: hidden; }

  /* Responsive */
  @media (max-width: 480px) {
    .lfth-gate-head { padding: 24px 22px 20px; }
    .lfth-gate-body { padding: 20px 22px 24px; }
    .lfth-gate-title { font-size: 19px; }
  }

/* ==========================================================================
   GLOBAL HEADER & FOOTER STYLES
   ========================================================================== */
/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-8); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); }
.nav-logo { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--sp-8); list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > .nav-dropdown-toggle { font-size: 14px; font-weight: var(--w-medium); color: var(--grey-700); padding: 4px 0; border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; font-family: var(--font-body); display: inline-flex; align-items: center; gap: 5px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.nav-links > li > a:hover, .nav-links > li > .nav-dropdown-toggle:hover { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.nav-links > li > a.active, .nav-links > li.has-active > .nav-dropdown-toggle { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.nav-dropdown-caret { width: 9px; height: 9px; transition: transform var(--dur-fast); }
.nav-links > li:hover .nav-dropdown-caret, .nav-links > li:focus-within .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: -16px; min-width: 240px; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 8px; margin-top: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-fast), visibility var(--dur-fast), transform var(--dur-fast); list-style: none; z-index: 110; }
.nav-links > li:hover .nav-dropdown, .nav-links > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; font-size: 14px; font-weight: var(--w-medium); color: var(--charcoal); border-radius: var(--radius-sm); transition: background var(--dur-fast), color var(--dur-fast); }
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--brand-primary); }
.nav-dropdown a.active { background: var(--red-50); color: var(--brand-primary); font-weight: var(--w-bold); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.nav-dropdown-section-label { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-400); padding: 8px 14px 4px; }
.nav-cta { background: var(--brand-primary); color: var(--white); border: none; border-radius: var(--radius-md); padding: 10px 22px; font-size: 14px; font-weight: var(--w-bold); font-family: var(--font-display); cursor: pointer; white-space: nowrap; display: inline-block; transition: background var(--dur-fast), transform var(--dur-fast); }
.nav-cta:hover { background: var(--brand-dark); transform: scale(1.02); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }
.nav-mobile-menu { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border); padding: var(--sp-4) var(--sp-8) var(--sp-6); max-height: 80vh; overflow-y: auto; }
.nav-mobile-menu > a, .nav-mobile-menu > .mobile-section-title { display: block; padding: 12px 0; font-size: 15px; font-weight: var(--w-medium); color: var(--grey-700); border-bottom: 1px solid var(--border); }
.nav-mobile-menu > a:last-child { border-bottom: none; }
.nav-mobile-menu .mobile-section-title { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-400); padding: 16px 0 8px; border-bottom: none; }
.nav-mobile-menu .mobile-sub-link { padding-left: var(--sp-4); font-size: 14px; }
.nav-mobile-menu .nav-cta { margin-top: var(--sp-4); text-align: center; width: 100%; }
.nav-mobile-menu.is-open { display: flex; }

/* ── FOOTER ── */
.footer { background: var(--charcoal); padding: 64px var(--sp-8) 32px; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-logo { height: 38px; width: auto; }
.footer-brand-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 16px; }
.footer-col-title { font-size: 10px; font-weight: var(--w-black); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--dur-fast); }
.footer-col-links a:hover { color: var(--white); }
.footer-newsletter-label { font-size: 10px; font-weight: var(--w-black); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-newsletter-form { display: flex; gap: 8px; }
.footer-newsletter-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; font-family: var(--font-body); color: var(--white); outline: none; }
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-input:focus { border-color: rgba(255,255,255,0.4); }
.footer-newsletter-btn { background: var(--brand-primary); color: var(--white); border: none; border-radius: var(--radius-md); padding: 10px 16px; font-size: 13px; font-weight: var(--w-bold); font-family: var(--font-body); cursor: pointer; transition: background var(--dur-fast); }
.footer-newsletter-btn:hover { background: var(--brand-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* RESPONSIVE FOR NAV & FOOTER */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu.is-open { display: flex; }
  .footer { padding: 56px var(--sp-6) 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── ASSESSMENT POPUP ── */
.assessment-popup-overlay { position:fixed;inset:0;background:rgba(0,0,0,0.55);backdrop-filter:blur(4px);z-index:1000;display:none;align-items:center;justify-content:center;padding:var(--sp-5);opacity:0;transition:opacity 0.3s ease-out; }
.assessment-popup-overlay.is-open { display:flex;opacity:1; }
.assessment-popup-card { background:var(--white);border-radius:var(--radius-xl);padding:48px 40px 36px;max-width:480px;width:100%;text-align:center;position:relative;box-shadow:0 20px 60px rgba(0,0,0,0.3);transform:translateY(20px) scale(0.96);transition:transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.assessment-popup-overlay.is-open .assessment-popup-card { transform:translateY(0) scale(1); }
.assessment-popup-close { position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:var(--bg-soft);border:none;cursor:pointer;color:var(--grey-500);display:flex;align-items:center;justify-content:center;transition:background 200ms,color 200ms; }
.assessment-popup-close:hover { background:var(--border);color:var(--charcoal); }
.assessment-popup-icon { width:64px;height:64px;margin:0 auto var(--sp-5);background:var(--red-50);border-radius:50%;display:flex;align-items:center;justify-content:center; }
.assessment-popup-eyebrow { font-size:11px;font-weight:900;letter-spacing:0.14em;text-transform:uppercase;color:var(--brand-primary);margin-bottom:var(--sp-3); }
.assessment-popup-title { font-family:var(--font-display);font-size:clamp(22px,3vw,28px);font-weight:900;color:var(--charcoal);line-height:1.2;margin-bottom:var(--sp-4); }
.assessment-popup-sub { font-size:15px;color:var(--fg-2);line-height:1.6;margin-bottom:var(--sp-5); }
.assessment-popup-meta { margin-bottom:var(--sp-6); }
.assessment-popup-meta-item { font-size:12px;font-weight:700;color:var(--grey-400);letter-spacing:0.06em; }
.assessment-popup-actions { display:flex;flex-direction:column;gap:10px; }
.assessment-popup-btn-primary { background:var(--brand-primary);color:white;padding:14px 24px;border-radius:var(--radius-md);font-weight:700;font-family:var(--font-display);font-size:15px;text-decoration:none;transition:background 200ms,transform 200ms;display:inline-block; }
.assessment-popup-btn-primary:hover { background:var(--brand-dark);transform:scale(1.02); }
.assessment-popup-btn-secondary { background:none;border:none;color:var(--grey-500);font-size:14px;font-weight:500;cursor:pointer;padding:8px;font-family:var(--font-body);transition:color 200ms; }
.assessment-popup-btn-secondary:hover { color:var(--charcoal); }

@media (max-width:480px) { 
  .assessment-popup-card { padding:36px 24px 28px; } 
}

/* ==========================================================================
   GLOBAL SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   FOOTER SOCIAL ICONS (replaces inline onmouseover/onmouseout JS)
   ========================================================================== */
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  transition: background 200ms, color 200ms;
}
.footer-social-icon:hover,
.footer-social-icon:focus-visible {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.footer-email-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 200ms;
}
.footer-email-link:hover,
.footer-email-link:focus-visible {
  color: #fff;
}

/* ==========================================================================
   HEADLINE TEXT BALANCING (better wrapping on tablet/desktop)
   ========================================================================== */
h1, h2,
.hero-headline,
.section-header h2,
.intro-title,
.archetype-name {
  text-wrap: balance;
}

/* ==========================================================================
   DROPDOWN: open on aria-expanded=true (touch device support)
   This works alongside the existing :hover and :focus-within rules
   ========================================================================== */
.nav-links > li > .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links > li > .nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-caret {
  transform: rotate(180deg);
}