/* ═══════════════════════════════════════════════════════════════════
   KDV Decision Analysis LLC — Main Stylesheet
   Color palette derived from logo: crimson red, steel blue, sky blue,
   warm gray, near-black, off-white
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --red:       #B22234;
  --red-dark:  #8B1A27;
  --red-light: #D94455;
  --blue:      #4A6FA5;
  --blue-dark: #344E78;
  --blue-light:#6EB4D4;
  --taupe:     #8C7B6E;
  --offwhite:  #F7F5F2;
  --cream:     #EDE9E3;
  --ink:       #1A1A1A;
  --ink-mid:   #3D3D3D;
  --ink-soft:  #6B6B6B;
  --white:     #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', Helvetica, sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(26,26,26,0.08);
  --shadow:    0 6px 24px rgba(26,26,26,0.12);
  --shadow-lg: 0 16px 48px rgba(26,26,26,0.16);

  --transition: 0.25s ease;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── ADA: Focus Styles (visible, high-contrast) ── */
:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Skip Link (ADA) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 1rem;
}

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 84px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition);
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.nav-logo-sister {
  padding-left: 1.25rem;
  border-left: 1px solid var(--taupe);
  box-sizing: content-box;
}

/* Footer text logo (separate from nav image logo) */
.logo-kdv {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover {
  color: var(--red);
  background: var(--cream);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 0.5rem 1.1rem !important;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink-mid);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--ink-mid);
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

/* ════════════════════════════════════════════
   HERO / SPLASH
   ════════════════════════════════════════════ */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--blue-dark) 0%,
    var(--blue) 45%,
    var(--blue-dark) 100%
  );
  color: var(--white);
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

/* Decorative background texture */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(110,180,212,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    #9A9EA6 0%, #9A9EA6 16%,
    #8B6057 16%, #8B6057 33%,
    #6EB4D4 33%, #6EB4D4 50%,
    #4A6FA5 50%, #4A6FA5 67%,
    #344E78 67%, #344E78 83%,
    #B22234 83%, #B22234 100%
  );
}

.chain-band {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(
    90deg,
    rgba(154,158,166,0.06) 0%,
    rgba(139,96,87,0.06) 33%,
    rgba(110,180,212,0.06) 66%,
    rgba(178,34,52,0.06) 100%
  );
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s 0.3s ease both;
}

.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

.stat-link {
  text-decoration: none;
  display: block;
  text-align: center;
  border-radius: var(--radius);
  padding: 0.25rem 0.5rem;
  transition: background var(--transition);
}
.stat-link:hover {
  background: rgba(255,255,255,0.1);
}
.stat-link:hover .stat-label {
  color: rgba(255,255,255,0.9);
}
.stat-link .stat-num {
  text-decoration: none;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* ════════════════════════════════════════════
   SERVICE AREA CARDS
   ════════════════════════════════════════════ */
.services-section {
  background: var(--ink);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.services-section .section-label {
  color: var(--blue-light);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: rgba(255,255,255,0.04);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(255,255,255,0.08); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

.service-card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-light);
  text-decoration: none;
  transition: color var(--transition), letter-spacing var(--transition);
}
.service-card-link:hover {
  color: var(--white);
  letter-spacing: 0.09em;
}

@media (max-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 560px) {
  .service-cards { grid-template-columns: 1fr; }
  .service-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .service-card:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════
   SHARED SECTION STYLES
   ════════════════════════════════════════════ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-header.light .section-label { color: var(--blue-light); }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-header.light h2 { color: var(--white); }

.section-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   OUR WORK
   ════════════════════════════════════════════ */
.our-work {
  background: var(--offwhite);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.work-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  border-color: transparent;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(178,34,52,0.12);
  color: var(--red);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  align-self: flex-start;
}
.featured .card-tag {
  background: rgba(110,180,212,0.25);
  color: var(--blue-light);
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.featured h3 { color: var(--white); }

.card-client {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.featured .card-client { color: rgba(255,255,255,0.65); }

.card-desc {
  font-size: 0.97rem;
  color: var(--ink-mid);
  line-height: 1.65;
  flex: 1;
}
.featured .card-desc { color: rgba(255,255,255,0.85); }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.card-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  background: var(--cream);
  border-radius: 100px;
  color: var(--ink-mid);
}
.featured .card-tags li {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.card-outcomes {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.outcome-label {
  font-weight: 700;
  color: var(--blue-light);
  margin-right: 0.35rem;
}

.client-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.client-list li {
  font-size: 0.9rem;
  color: var(--ink-mid);
  padding-left: 1rem;
  position: relative;
}
.client-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ════════════════════════════════════════════
   OUR TEAM
   ════════════════════════════════════════════ */
.our-team {
  background: linear-gradient(
    160deg,
    var(--blue-dark) 0%,
    var(--blue) 60%,
    var(--blue-dark) 100%
  );
  color: var(--white);
}
.our-team .section-intro { color: rgba(255,255,255,0.75); }

.team-grid {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  width: 160px;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110,180,212,0.3) 0%, rgba(255,255,255,0.1) 100%);
  border: 3px solid rgba(110,180,212,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-initials {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.05em;
  user-select: none;
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.team-member-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  margin: 0;
}

.team-learn-more {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 640px) {
  .team-grid {
    gap: 2rem;
  }
  .team-member {
    width: 130px;
  }
  .team-photo {
    width: 110px;
    height: 110px;
  }
}

/* ════════════════════════════════════════════
   LEARN MORE
   ════════════════════════════════════════════ */
.learn-more {
  background: var(--cream);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.learn-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.learn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.learn-icon {
  color: var(--blue);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}

.learn-card p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.services-list li {
  font-size: 0.93rem;
  color: var(--ink-mid);
  line-height: 1.55;
  padding-left: 0.75rem;
  border-left: 3px solid var(--red);
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
.services-list li strong {
  color: var(--ink);
  font-weight: 700;
}

.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: steps;
  flex: 1;
}
.approach-list li {
  counter-increment: steps;
  font-size: 0.93rem;
  color: var(--ink-mid);
  line-height: 1.55;
  padding-left: 2.25rem;
  position: relative;
}
.approach-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.contact-card {
  border-top: 4px solid var(--red);
}

.contact-block {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-field-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-width: 60px;
  padding-top: 1px;
}

.contact-row a, .contact-row span {
  font-size: 0.93rem;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 400;
}
.contact-row a:hover { color: var(--red); text-decoration: underline; }
.contact-row span { color: var(--ink-mid); }

.contact-btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-kdv {
  font-size: 2rem;
  color: var(--red);
}

.footer-tagline {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.footer-desc {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-links a {
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-links a.footer-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.4rem;
}
.footer-links a.footer-cta:hover { background: var(--red-dark); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom small {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .work-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav ul { flex-direction: column; }
  .stat-divider { display: none; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-toggle { display: flex; align-items: center; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--red);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 0.75rem 1rem; }
  .nav-logo-img { height: 52px; }
  .nav-brand { gap: 0.6rem; }
  .nav-logo-sister { padding-left: 0.6rem; }
  .site-nav { min-height: 80px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .work-grid, .learn-grid { grid-template-columns: 1fr; }
  .comp-list { gap: 0.5rem 1.25rem; }
}

/* ════════════════════════════════════════════
   HIGH CONTRAST / REDUCED MOTION (ADA)
   ════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
