/* ============================================================
   Self-hosted fonts (Fraunces serif + Outfit sans)
   See src/assets/fonts/README.md for how to populate the woff2 files.
   Falls back to system fonts if files missing.
   ============================================================ */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-variable.woff2') format('woff2-variations'),
       url('/assets/fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-variable.woff2') format('woff2-variations'),
       url('/assets/fonts/outfit-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Empowering Minds Community Support Services
   Shared stylesheet — design system for all pages
   ========================================================= */

:root {
  /* Palette — sky-blue based, matching the brand logo (sky-blue circle, multicolored leaves, three figures) */
  --bg: #EAF4FB;
  --bg-alt: #F4FAFD;
  --ink: #1B3A5C;
  --ink-soft: #4A6B85;
  --ink-mute: #7A8FA8;
  --line: #D4E4F0;
  --line-soft: #E5EFF7;
  --line-strong: #A8C5DB;

  --sage: #4A90C2;
  --sage-light: #7AB1D5;
  --sage-deep: #1B5A8C;
  --forest: #1B3A5C;
  --terracotta: #F5A623;
  --terracotta-deep: #E8554E;
  --gold: #F5A623;

  --white: #FFFFFF;

  /* Typography */
  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ SKIP LINK (a11y) ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ============ HIPAA / SECURITY BANNER ============ */
.security-banner {
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.security-banner .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.security-banner .left {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}
.security-banner .lock {
  width: 12px; height: 12px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.security-banner .lock::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.security-banner a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
}
.security-banner a:hover { color: var(--gold); }

/* ============ HEADER / NAV ============ */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
  border-bottom-color: var(--terracotta);
}
.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  font-size: 13px !important;
  border: none !important;
  letter-spacing: 0.03em !important;
}
.nav-cta:hover {
  background: var(--terracotta) !important;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--forest);
  background: none;
}

/* ============ GENERAL SECTIONS ============ */
section { padding: 90px 24px; }
section .wrap {
  max-width: var(--max);
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(122,144,130,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(184,92,59,0.08) 0%, transparent 55%),
    var(--bg);
  padding: 80px 24px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(67,80,72,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,80,72,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--sage-deep);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-deep);
}
.hero p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* Hero visual — layered decorative cards */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(43,58,50,0.25);
}
.hero-card.c1 { top: 0; right: 40px; width: 280px; }
.hero-card.c2 { bottom: 30px; left: 0; width: 260px; }
.hero-card.c3 {
  top: 180px; right: 0;
  width: 220px;
  background: var(--forest);
  color: var(--white);
}
.hero-card .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 10px;
}
.hero-card.c3 .label { color: var(--gold); }
.hero-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 8px;
}
.hero-card.c3 h3 { color: var(--white); }
.hero-card p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.hero-card.c3 p { color: rgba(255,252,246,0.78); }
.big-number {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.hero-card.c3 .big-number { color: var(--gold); }

/* ============ TRUST BAR ============ */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 24px;
}
.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--forest);
  margin-bottom: 2px;
}
.trust-icon {
  width: 38px; height: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

/* ============ SECTION HEADERS ============ */
.section-head {
  max-width: 700px;
  margin: 0 auto 70px;
  text-align: center;
}
.section-head.left {
  text-align: left;
  margin: 0 0 60px 0;
  max-width: 640px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin-bottom: 18px;
}
.section-head h2 em {
  font-style: italic;
  color: var(--terracotta-deep);
}
.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============ SERVICE CARDS GRID ============ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 32px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.service-card:hover {
  border-color: var(--sage-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(43,58,50,0.15);
}
.service-card.featured {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.service-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--sage-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--sage-deep);
}
.service-card.featured .service-icon {
  border-color: var(--gold);
  color: var(--gold);
}
.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--forest);
}
.service-card.featured h3 { color: var(--white); }
.service-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}
.service-card.featured p { color: rgba(255,252,246,0.82); }
.service-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card.featured .service-link { color: var(--gold); }
.service-link .arrow { transition: transform .25s; }
.service-card:hover .service-link .arrow { transform: translateX(4px); }

/* ============ APPROACH / VALUES ============ */
.approach-section { background: var(--bg); }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.approach-list { list-style: none; }
.approach-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.approach-list li:first-child { border-top: 1px solid var(--line); }
.approach-list .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--terracotta);
}
.approach-list h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 6px;
}
.approach-list p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ============ STATS ============ */
.stats-section {
  background: var(--forest);
  color: var(--white);
}
.stats-section .section-head h2 { color: var(--white); }
.stats-section .section-head p { color: rgba(255,252,246,0.78); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(255,252,246,0.15);
  padding-top: 50px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,252,246,0.75);
}

/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
  background: var(--bg-alt);
  padding: 80px 24px 70px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--terracotta); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 18px;
  max-width: 780px;
}
.page-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.6;
}

/* ============ CONTENT GRID (main + sidebar) ============ */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.content-main h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--forest);
  margin: 40px 0 16px;
}
.content-main h3:first-child { margin-top: 0; }
.content-main p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 18px;
}
.content-main ul {
  list-style: none;
  margin: 20px 0;
}
.content-main ul li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}
.content-main ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 16px; height: 1px;
  background: var(--terracotta);
}
.content-main strong { color: var(--forest); }

.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.sidebar-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 14px;
}
.sidebar-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.6;
}
.sidebar-card .info-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.sidebar-card .info-row .label {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-bottom: 4px;
}
.sidebar-card .info-row .value {
  color: var(--forest);
  font-weight: 500;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.about-text h2 em { color: var(--terracotta-deep); font-style: italic; }
.about-text p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 18px;
}
.quote-block {
  background: var(--bg-alt);
  border-left: 3px solid var(--terracotta);
  padding: 40px 36px;
  border-radius: 0 4px 4px 0;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: var(--forest);
  margin-bottom: 20px;
}
.quote-block cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checklist {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
}
.checklist h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 20px;
}
.checklist .row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.checklist .row:last-child { border-bottom: none; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 24px;
  text-align: center;
}
.team-card .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-alt);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--sage-deep);
  border: 1px solid var(--line);
}
.team-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.team-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============ CAREERS / JOBS LIST ============ */
.careers-intro { background: var(--bg); }
.jobs-list { background: var(--white); }
.job {
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  transition: background .2s;
}
.job:first-child { border-top: 1px solid var(--line); }
.job:hover {
  background: var(--bg-alt);
  padding-left: 16px;
  padding-right: 16px;
}
.job h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 6px;
}
.job .meta {
  font-size: 13px;
  color: var(--ink-mute);
}
.job .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--bg-alt);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.job-type {
  font-size: 13px;
  color: var(--ink-soft);
}
.apply-btn {
  padding: 11px 22px;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.apply-btn:hover { background: var(--terracotta); color: var(--white); }

/* ============ FORMS ============ */
.form-section { background: var(--bg); }
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 50px 48px;
}
.form-container h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--forest);
  margin-bottom: 10px;
}
.form-container > p.sub {
  color: var(--ink-soft);
  margin-bottom: 32px;
  font-size: 15px;
}
.required-note {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.required-note .req { color: var(--terracotta); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--terracotta); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.file input[type="file"] {
  padding: 10px;
  background: var(--bg-alt);
  font-size: 14px;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.checkbox-field input[type="checkbox"] {
  margin-top: 3px;
  width: 16px; height: 16px;
  cursor: pointer;
  accent-color: var(--forest);
}
.checkbox-field label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}
.form-submit {
  margin-top: 24px;
  text-align: right;
}
.privacy-notice {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}
.privacy-notice strong {
  color: var(--forest);
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ EMPLOYEE PORTAL ============ */
.portal-hero {
  background: linear-gradient(180deg, rgba(43,58,50,0.94) 0%, rgba(43,58,50,0.98) 100%);
  color: var(--white);
  padding: 110px 24px 100px;
  position: relative;
  overflow: hidden;
}
.portal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,157,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,157,74,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.portal-hero .wrap { position: relative; }
.portal-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.portal-hero p {
  font-size: 17px;
  color: rgba(255,252,246,0.78);
  max-width: 580px;
  line-height: 1.6;
}
.portal-card {
  max-width: 480px;
  background: var(--white);
  border-radius: 6px;
  padding: 48px 44px;
  margin: -50px auto 90px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4);
  position: relative;
  z-index: 10;
}
.portal-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 6px;
}
.portal-card > p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 30px;
}
.portal-provider {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.portal-provider .ico {
  width: 32px; height: 32px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.portal-provider .text {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.portal-provider .text strong {
  display: block;
  color: var(--forest);
  font-size: 13px;
  margin-bottom: 2px;
}
.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-btn {
  width: 100%;
  padding: 16px;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.portal-btn:hover { background: var(--terracotta); color: var(--white); }
.portal-btn.secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.portal-btn.secondary:hover { background: var(--forest); color: var(--white); }
.portal-help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info {
  background: var(--forest);
  color: var(--white);
  padding: 48px 44px;
  border-radius: 6px;
}
.contact-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info > p {
  color: rgba(255,252,246,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,252,246,0.12);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  padding-top: 2px;
}
.contact-row .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,252,246,0.6);
  margin-bottom: 4px;
}
.contact-row .value {
  font-size: 16px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
}
.contact-row .value a { color: var(--white); border-bottom: 1px solid rgba(200,157,74,0.5); }
.contact-row .value a:hover { color: var(--gold); }

.crisis-banner {
  background: var(--terracotta);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 6px;
  margin-bottom: 24px;
}
.crisis-banner strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.crisis-banner p {
  font-size: 14px;
  color: rgba(255,252,246,0.95);
  line-height: 1.5;
}
.crisis-banner a {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--forest);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ============ FOOTER ============ */
footer {
  background: var(--forest);
  color: rgba(255,252,246,0.72);
  padding: 70px 24px 30px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,252,246,0.12);
}
.footer-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-about {
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
  color: rgba(255,252,246,0.65);
}
footer h5 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
  color: rgba(255,252,246,0.72);
  font-size: 14px;
}
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,252,246,0.5);
}
.footer-bottom .compliance {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom .compliance span {
  padding: 4px 10px;
  border: 1px solid rgba(255,252,246,0.2);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ 404 ============ */
.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.notfound .code {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 140px;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.04em;
}
.notfound h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  color: var(--forest);
  margin: 16px 0;
}
.notfound p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 30px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 400px; }
  .services-grid,
  .services-grid.two { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .content-grid { grid-template-columns: 1fr; gap: 50px; }
  .sidebar-card { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .job { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
}
@media (max-width: 640px) {
  section { padding: 60px 20px; }
  .nav { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-toggle { display: block; }
  .services-grid,
  .services-grid.two { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-container { padding: 32px 24px; }
  .hero-visual { display: none; }
  .portal-card { padding: 32px 24px; margin: -30px 16px 60px; }
  .security-banner { font-size: 11px; }
  .security-banner .wrap { flex-direction: column; gap: 6px; text-align: center; }
  .notfound .code { font-size: 96px; }
  .notfound h1 { font-size: 30px; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p.lead, .hero-cta {
  animation: fadeUp .7s ease-out backwards;
}
.hero p.lead { animation-delay: .15s; }
.hero-cta { animation-delay: .3s; }
.hero-card { animation: fadeUp .9s ease-out backwards; }
.hero-card.c1 { animation-delay: .4s; }
.hero-card.c2 { animation-delay: .55s; }
.hero-card.c3 { animation-delay: .7s; }
