/* ============================================================
   Kaul & Associates website – Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1B3A5C;
  --navy2:  #0F2840;
  --gold:   #BFA050;
  --gold2:  #A68830;
  --light:  #F5F3EF;
  --white:  #FFFFFF;
  --text:   #1A1A1A;
  --muted:  #6B6860;
  --border: #E0DDD8;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --font:   'DM Sans', system-ui, -apple-system, sans-serif;
  --serif:  'DM Serif Display', Georgia, serif;
  --max:    1100px;
  --nav-h:  68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  background: var(--navy);
  display: flex; align-items: center;
  padding: 0 2rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 20px rgba(0,0,0,.22);
}

.nav-inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}

.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex; gap: 0; list-style: none;
}

.nav-links a {
  display: block;
  padding: .5rem 1rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: color .15s, background .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.10);
}

.nav-links a.active { color: var(--gold); }

/* hamburger – mobile only */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: .2s;
}

/* ── Hero ── */
.hero {
  padding-top: var(--nav-h);
  background-color: var(--navy2);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy2) 0%, var(--navy) 60%, #1f4a78 100%);
  background-size: 28px 28px, 100% 100%;
  color: var(--white);
  text-align: center;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.80);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ── Hero headline carousel ── */
.hero-carousel-wrap {
  min-height: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hero-carousel-wrap h1 {
  margin-bottom: 0;
  transition: opacity 0.4s ease;
}
.hero-carousel-wrap h1.is-fading { opacity: 0; }

@media (max-width: 768px) {
  .hero-carousel-wrap { min-height: 10rem; }
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  margin-left: .75rem;
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ── Page header (non-home pages) ── */
.page-header {
  padding-top: var(--nav-h);
  background-color: var(--navy2);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
  background-size: 28px 28px, 100% 100%;
  color: var(--white);
  text-align: center;
  padding-bottom: 3rem;
}

.page-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 2rem 1rem;
}

.page-header .eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .75rem;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -.01em;
}

.page-header p {
  color: rgba(255,255,255,.78);
  margin-top: .75rem;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* ── Section wrapper ── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--light); }

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: .70rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 600;
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.7;
}

.divider {
  width: 36px; height: 2px;
  background: var(--gold);
  margin: 1rem 0 2.5rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.11); transform: translateY(-2px); }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(27,58,92,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }

.card-has-img { padding: 0; overflow: hidden; }
.card-has-img .card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-has-img .card-body { padding: 1.5rem; }

.card-cs-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-cs-body { padding: 1.5rem; }

.card ul {
  margin-top: .75rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.85;
}

/* ── Stat strip ── */
.stat-strip {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.stat-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.stat-item .number {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: .85rem;
  color: rgba(255,255,255,.70);
  margin-top: .4rem;
  letter-spacing: .04em;
}

/* ── Logo grid ── */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 3rem;
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: var(--light);
  border-radius: var(--radius);
}
.logo-grid img {
  height: 42px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(50%);
  transition: filter .25s;
}
.logo-grid img:hover { filter: grayscale(0%) opacity(100%); }

/* ── Timeline ── */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 8.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6.25rem;
  top: .4rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--border) 25%, var(--border) 85%, transparent 100%);
}
.tl-item {
  position: relative;
  padding-bottom: 2.75rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  position: absolute;
  left: -8.5rem;
  width: 5rem;
  text-align: right;
  top: .05rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  line-height: 1.4;
}
.tl-dot {
  position: absolute;
  left: -2.55rem;
  top: .3rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  transition: border-color .2s;
}
.tl-dot-gold {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(191,160,80,.18);
}
.tl-tag {
  display: inline-block;
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .17rem .55rem;
  border-radius: 3px;
  margin-bottom: .38rem;
}
.tl-tag-education  { background: rgba(27,58,92,.10); color: var(--navy); }
.tl-tag-career     { background: rgba(27,58,92,.07); color: var(--navy); }
.tl-tag-founding   { background: rgba(191,160,80,.2); color: var(--gold2); }
.tl-tag-achievement{ background: rgba(27,58,92,.10); color: var(--navy); }
.tl-tag-recognition{ background: rgba(191,160,80,.22); color: var(--gold2); }
.tl-tag-academic   { background: rgba(30,90,60,.11); color: #195c35; }
.tl-tag-team       { background: rgba(30,90,60,.11); color: #195c35; }
.tl-tag-milestone  { background: rgba(27,58,92,.10); color: var(--navy); }
.tl-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: .38rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.tl-desc {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.78;
  max-width: 640px;
}
.tl-item.tl-highlight .tl-title { color: var(--navy); font-weight: 400; }
.tl-item.tl-highlight {
  background: rgba(191,160,80,.06);
  border: 1px solid rgba(191,160,80,.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  margin-bottom: 2.75rem;
  margin-left: -1.5rem;
}
.tl-item.tl-highlight .tl-dot { left: -1.05rem; }

.tl-zoom-img {
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: zoom-in;
}
.tl-zoom-img:hover {
  transform: scale(5);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  position: relative;
  z-index: 5;
}

@media (max-width: 640px) {
  .timeline { padding-left: 2.25rem; }
  .timeline::before { left: 0; }
  .tl-year { position: static; width: auto; text-align: left; font-size: .75rem; margin-bottom: .2rem; color: var(--gold2); }
  .tl-dot { left: -1.55rem; top: 1.6rem; }
  .tl-item.tl-highlight { margin-left: 0; padding-left: 1rem; }
  .tl-item.tl-highlight .tl-dot { left: -1.55rem; }
}

/* ── Pull-quote / testimonial ── */
.pull-quote-section {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
  padding: 4.5rem 2rem;
  text-align: center;
}
.pull-quote-section .opening-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--gold);
  line-height: .5;
  opacity: .7;
  display: block;
  margin-bottom: .75rem;
}
.pull-quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  color: var(--white);
  line-height: 1.65;
  font-style: italic;
  max-width: 740px;
  margin: 0 auto 1.5rem;
}
.pull-quote-section cite {
  display: block;
  font-style: normal;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.pull-quote-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Team cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.team-card .initials {
  width: 60px; height: 60px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.team-card h3 { color: var(--navy); font-size: 1rem; font-weight: 700; }

.team-card .role {
  color: var(--gold2);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: .25rem 0 .75rem;
}

.team-card p { color: var(--muted); font-size: .875rem; line-height: 1.65; }

/* ── Client table / list ── */
.client-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: .92rem;
}

.client-table th {
  background: var(--navy);
  color: var(--white);
  padding: .85rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: sticky;
  top: calc(var(--nav-h) + 0.75rem);
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

.client-table td {
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.client-table tr:last-child td { border-bottom: none; }

.client-table tr:nth-child(even) td { background: var(--light); }

.client-table th.col-sno,
.client-table td.col-sno { width: 5rem; text-align: center; vertical-align: top; }

.client-table th:nth-child(2),
.client-table td:nth-child(2) { width: 30%; }

.client-table th:last-child,
.client-table td:last-child { width: auto; white-space: normal; }

.client-table .services-header {
  display: flex;
  gap: 1.5rem;
}
.client-table .services-header span:first-child {
  width: 40%;
  flex-shrink: 0;
}

.client-table .text-muted { color: var(--muted); }

.client-org-wrap {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.client-logo {
  width: 4.125rem;
  height: 4.125rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  padding: .25rem;
}
.client-logo-fallback {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(27,58,92,.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.client-table td:nth-child(2) strong:nth-of-type(2) {
  display: inline-block;
  background: rgba(27,58,92,.1);
  color: var(--navy);
  border-radius: 4px;
  padding: .15rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: .3rem 0 .15rem;
}

.nested-table {
  width: 100%;
  border-collapse: collapse;
}
.nested-table td {
  padding: .35rem 0;
  font-size: .875rem;
  vertical-align: top;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nested-table tr:last-child td { border-bottom: none; }
.nested-table td:first-child {
  width: 40%;
  padding-right: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.nested-table td:last-child {
  white-space: normal;
}
.nested-table td { background: transparent !important; }

.tag {
  display: inline-block;
  background: rgba(27,58,92,.08);
  color: var(--navy);
  border-radius: 4px;
  padding: .2rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  margin: .15rem .15rem 0 0;
}

/* ── Culture page — journey steps ── */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.journey-step {
  padding-top: 1.5rem;
  border-top: 3px solid var(--border);
}
.journey-step.active-step { border-top-color: var(--gold); }
.journey-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold);
  opacity: .4;
  line-height: 1;
  margin-bottom: .75rem;
}
.journey-step h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.journey-step p { color: var(--muted); font-size: .88rem; line-height: 1.72; }

/* ── Culture page — example cards ── */
.example-card {
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
}
.example-card:last-child { margin-bottom: 0; }
.example-client-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
  margin-bottom: .4rem;
}
.example-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.example-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.example-story { color: var(--muted); font-size: .93rem; line-height: 1.78; }
.example-story p { margin-bottom: .8rem; }
.example-story p:last-child { margin-bottom: 0; }
.example-sidebar {}
.outcome-chips {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1rem;
}
.outcome-chip {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1rem;
}
.outcome-chip strong {
  display: block;
  font-size: .92rem;
  color: var(--navy);
  font-weight: 700;
}
.outcome-chip span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .1rem;
}
.example-pull {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-style: italic;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--white);
  line-height: 1.6;
}
.example-pull cite {
  display: block;
  font-style: normal;
  font-size: .72rem;
  color: var(--gold);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .example-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .journey-steps { grid-template-columns: 1fr; }
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item .ci-icon {
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact-item p { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.contact-item strong { color: var(--text); display: block; margin-bottom: .15rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: .85rem 2.25rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s, transform .1s;
  font-family: var(--font);
}

.btn-submit:hover { background: var(--navy2); transform: translateY(-1px); }

/* ── Mission quote ── */
.mission-block {
  background: var(--navy);
  border-left: 5px solid var(--gold);
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  border-radius: var(--radius);
  margin-top: 2.5rem;
}

.mission-block p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.7;
  font-style: italic;
}

.mission-block cite {
  display: block;
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Footer ── */
footer {
  background: var(--navy2);
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .85rem;
}

footer a { color: var(--gold); text-decoration: none; }
footer a:hover { color: var(--white); }

footer .footer-links {
  list-style: none;
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.25rem;
  margin-bottom: 1rem;
}

footer .footer-links a { color: rgba(255,255,255,.65); }
footer .footer-links a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--navy);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .contact-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .hero h1 { font-size: 1.9rem; }
  .btn-outline { margin: .75rem 0 0; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .client-table { font-size: .82rem; }
  .client-table th, .client-table td { padding: .65rem .75rem; }
}

/* ═══════════════════════════════════════════
   Documentary / Legacy Homepage
═══════════════════════════════════════════ */

/* Hero — full-viewport, dark, single statement */
.hero-legacy {
  min-height: 100svh;
  background: #0c1c2e;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(2rem, 8vw, 8rem) clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .8;
}
.hero-legacy-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero-legacy h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.25rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.hero-legacy-sub {
  color: rgba(255,255,255);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

/* Editorial opening statement */
.editorial-intro {
  padding: 7rem 2rem;
  background: var(--white);
  text-align: center;
}
.editorial-intro p {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.78rem);
  line-height: 1.65;
  color: var(--text);
  font-weight: 400;
  font-style: italic;
}

/* Story rows — photo one side, words the other */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.story-photo {
  background: #c9c4bb;
  background-size: cover;
  background-position: center;
}
.story-words {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(2.5rem, 5vw, 5.5rem);
  background: var(--white);
}
.story-words.on-light { background: var(--light); }
.story-eyebrow {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1.25rem;
}
.story-words h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.018em;
  margin-bottom: 1.5rem;
}
.story-words p {
  font-size: .97rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 1rem;
}
.story-words p:last-of-type { margin-bottom: 0; }
.story-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-block;
  margin-top: 1.5rem;
}
.story-link:hover { color: var(--gold2); }

/* Numbers — dark, editorial */
.numbers-legacy {
  padding: 6rem 2rem;
  background: var(--navy2);
}
.numbers-legacy-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 3rem 1rem;
}
.num-item { text-align: center; }
.num-item .nv {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
}
.num-item .nl {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: .7rem;
  line-height: 1.65;
}

/* Client roll — typographic */
.clients-legacy {
  padding: 6rem 2rem;
  background: var(--white);
  text-align: center;
}
.clients-legacy .section-label { margin-bottom: .75rem; }
.clients-legacy h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 3rem;
}
.client-roll {
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  line-height: 2.6;
  color: var(--muted);
  max-width: 840px;
  margin: 0 auto;
}
.client-roll span { color: var(--text); }
.client-sep {
  display: inline-block;
  margin: 0 .55rem;
  color: var(--border);
}

/* Homepage photo slots */
/* .hero-photo-home       { background-image: url('https://images.unsplash.com/photo-1496247749665-49cf5b1022e9?w=1600&q=85&fit=crop'); } */
.hero-photo-home       { background-image: url('images/Conducting\ a\ session\ Kaizen\ Award.jpg'); }
/* .story-photo-practice  { background-image: url('https://images.unsplash.com/photo-1610891015188-5369212db097?w=1000&q=80&fit=crop'); } */
.story-photo-practice  { background-image: url('images/2007\ Videocon.jpg'); }
/* .story-photo-recognition { background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?w=1000&q=80&fit=crop'); } */
.story-photo-recognition { background-image: url('images/Voith_shopfloor.png'); }
.clients-cta { margin-top: 2rem; text-align: center; }

@media (max-width: 768px) {
  .hero-legacy { padding-left: 2rem; padding-right: 2rem; }
  .story-row { grid-template-columns: 1fr; min-height: 0; }
  .story-photo { min-height: 300px; }
  .story-words { padding: 3rem 2rem; }
  .story-words p { max-width: 100%; }
  .numbers-legacy-grid { gap: 2rem; }
  .num-item .nv { font-size: 3rem; }
  .editorial-intro { padding: 4.5rem 2rem; }
}
