*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0F1F3D;
  --blue:    #2A4A7F;
  --gold:    #C9A84C;
  --gold-lt: #E8D08A;
  --gold-text: #87691D;
  --white:   #F8F9FB;
  --grey:    #8A9BB0;
  --grey-lt: #D4DCE8;
  --ink:     #1C2B45;
  --mid:     #4A5E78;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SKIP LINK (visible only when a keyboard user tabs to it) ── */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;              /* parked off-screen until focused */
  z-index: 200;             /* above the fixed nav, which is z-index 100 */
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }   /* slides into view when it receives keyboard focus */
main:focus { outline: none; }     /* main is only focused by the skip link, so no ring is needed */

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,31,61,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
}
.nav-logo .wordmark span { color: var(--gold); }
.nav-logo .sub {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,0.05) 79px, rgba(201,168,76,0.05) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(201,168,76,0.05) 79px, rgba(201,168,76,0.05) 80px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(42,74,127,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  padding: 140px 60px 100px 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-ghost {
  color: var(--grey-lt);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,220,232,0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

.hero-stats {
  margin-top: 72px;
  display: flex;
  gap: 48px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 6px;
}

/* Hero Right — Mark */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 80px;
}

.hero-mark-wrap {
  position: relative;
}

.hero-mark-ring {
  position: absolute;
  inset: -40px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero-mark-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── INTRO BAND ── */
.intro-band {
  background: var(--gold);
  padding: 0 80px;
  overflow: hidden;
}
.intro-band-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 80px;
}
.marquee-text {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  flex-shrink: 0;
}
.marquee-item {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--navy);
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

.marquee-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION BASE ── */
section { padding: 100px 80px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 64px;
}

/* ── SERVICES ── */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-lt);
  border: 1px solid var(--grey-lt);
}

.service-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  transition: background 0.25s;
  cursor: default;
}
.service-card:hover { background: #F0F3F8; }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold-text);
  margin-bottom: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-detail li {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-detail li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 1px;
}

.service-card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}
.service-card:hover .service-card-accent { height: 100%; }

/* ── WHY VÉO ── */
#about { background: var(--navy); }

#about .eyebrow { color: var(--gold); }
#about h2.section-title { color: var(--white); }
#about .section-lead { color: var(--grey); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  background: rgba(42,74,127,0.3);
  border: 1px solid rgba(201,168,76,0.15);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  padding: 32px 0;
  border-bottom: 1px solid rgba(212,220,232,0.15);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.pillar:last-child { border-bottom: none; }

.pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.pillar p {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.75;
}

/* ── RESULTS / NUMBERS ── */
#results {
  background: var(--white);
  border-top: 1px solid var(--grey-lt);
  border-bottom: 1px solid var(--grey-lt);
  padding: 0;
}

.results-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--grey-lt);
}

.result-item {
  padding: 64px 40px;
  border-right: 1px solid var(--grey-lt);
  position: relative;
}
.result-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.result-item:hover::after { transform: scaleX(1); }

.result-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.result-num span { color: var(--gold-text); }

.result-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.5;
}

/* ── PROCESS ── */
#process { background: #EDF0F5; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: var(--grey-lt);
}

.process-step {
  padding: 0 24px 48px;
  position: relative;
  text-align: center;
}

.step-dot {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.step-dot span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
}

.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CLIENTS / SECTORS ── */
#sectors { background: var(--white); }

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

#sectors .section-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;   /* left column narrower than the right */
  gap: 0 80px;                          /* no row gap, 80px gap between columns */
  align-items: center;                   /* both columns start at the top instead of stretching */
}

#sectors .section-lead { margin-bottom: 0; }

.sector-card {
  border: 1px solid var(--grey-lt);
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sector-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 32px rgba(15,31,61,0.08);
}

.sector-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sector-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.sector-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── TESTIMONIAL ── */
#testimonials {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,0.04) 79px, rgba(201,168,76,0.04) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(201,168,76,0.04) 79px, rgba(201,168,76,0.04) 80px);
}

.testimonial-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 40px;
  display: block;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 48px;
}

.testimonial-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.testimonial-author-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.testimonial-author-role {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ── TEAM ── */
#team { background: var(--white); }

.avatar-mark {
  position: absolute;
  bottom: 20px; left: 24px;
}

.team-info {
  padding: 28px 32px;
  border-top: 2px solid var(--gold);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
  font-weight: 500;
}

.team-bio {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

.team-creds {
  margin-top: 16px;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cred {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--mid);
  background: #EDF0F5;
  padding: 4px 8px;
}

/* ── TEAM: photo left, details right ── */
.team-profile {
  display: grid;
  grid-template-columns: 5fr 6fr;   /* photo column a little narrower than the text column */
  gap: 72px;
  align-items: center;              /* keeps the photo vertically centred against the text */
}

.team-photo {
  position: relative;
  margin-right: 22px;               /* leaves room for the gold frame that sticks out on the right */
  margin-bottom: 22px;              /* ...and on the bottom */
}
.team-photo::before {               /* the gold outline, shifted 22px right and down */
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold);
}
.team-photo img {
  position: relative;               /* sits on top of the frame */
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;             /* if it ever gets cropped, keep the face */
}

.team-person {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid var(--gold);
}
.team-person .team-name { font-size: 28px; }
.team-person .team-role { margin-bottom: 18px; color: var(--gold-text); }
.team-person .team-bio  { font-size: 15px; line-height: 1.85; font-weight: 400; }
.team-text .section-lead { margin-bottom: 0; }   /* the divider below provides the spacing */
.team-person .team-creds { margin: 20px 0 28px; padding: 0; list-style: none; }
.team-person .cred { font-size: 11px; padding: 5px 10px; color: var(--mid); }

/* Tablet and phone: stack the photo above the text */
@media (max-width: 900px) {
  .team-profile { grid-template-columns: 1fr; gap: 40px; }
  .team-photo { max-width: 400px; margin-right: 14px; margin-bottom: 14px; }
  .team-photo::before { inset: 14px -14px -14px 14px; }
}

/* ── CONTACT / CTA ── */
#contact {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

#contact .eyebrow { color: var(--gold); }
#contact h2.section-title { color: var(--white); }
#contact .section-lead { color: var(--grey); margin-bottom: 40px; }

.contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-item-value {
  font-size: 13px;
  color: var(--grey-lt);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,220,232,0.2);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,155,176,0.5); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  color: var(--grey);
  background-color: rgba(15,31,61,0.8);
  cursor: pointer;
}
.form-group select option { background: var(--navy); }

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* Message shown under the button after the form is submitted */
.form-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gold-lt);
}
.form-status:empty { display: none; }   /* while there's no message, take up no space */

/* ── FOOTER ── */
footer {
  background: #07111F;
  padding: 60px 80px 40px;
  border-top: 1px solid rgba(212,220,232,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(212,220,232,0.1);
  margin-bottom: 40px;
}

.footer-brand .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand .wordmark span { color: var(--gold); }

.footer-brand .tagline {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(248,249,251,0.65);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h2 {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--grey);
  text-transform: uppercase;
}

.footer-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
    display: none;              /* hidden on desktop: the media query below shows it on small screen */
    flex-direction: column;     /* stack the 3 lines vertically */
    gap: 5px;                   /* space between lines */
    background: none;
    border: none;
    padding: 10px;              /* bigger tap area for fingers */
    cursor: pointer;
}
.nav-toggle span{
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;   /* smooth animation into an X */ 
}
.nav-toggle:focus-visible { outline: 2px solid var(--gold); }   /* vissible focus keyboard users */

/* When open (JS adds .open): the top and bottom lines rotate into an X, the middle fades out.
   7px = line height (2px) + gap (5px), the distance each outer line must travel to meet the middle. */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  /* .nav-links { display: none; } */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column; /* stack links vertically */
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(15, 31, 61, 0.99);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    max-height: calc(100vh - 72px);     /* never taller than screen */
    overflow-y: auto;                   /* ...and scroll inside if a phone is held sideways */

    /* Closed state: invisible, slightly raised, and not clickable */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  /* Open state (JS adds .open) */
  .nav-links.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Each link becomes a full-width row with a thin divider */
  .nav-links li a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(212, 220, 232, 0.08);
  }

  /* The gold "Speak with Us" button: full width, with space above it */
  .nav-links .nav-cta {
    margin-top: 16px;
    padding: 14px 22px;
    text-align: center;
    border-bottom: none;
  }

  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 120px 24px 80px; }
  section { padding: 72px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-mark { display: none; }
  .results-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  #sectors .section-inner { display: block; }                        /* undo the 2-column layout */
  #sectors .section-lead { margin-bottom: 40px; }                    /* restore space between text and cards */
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 32px; }

  /* The yellow marquee strip had 80px side padding, which is too much on small screens */
  .intro-ban { padding: 0 24px; }

  /* In the About section the gap stayed at 80px after stacking into 1 column */
  .about-grid { gap: 48px }

  /* Hero stats and buttons: let them wrap onto a new line instead of overflowing */
  .hero-stats { margin-top: 56px; flex-wrap: wrap; gap: 32px 40px} /* row gap 32px, column gap 40px */
  .hero-actions { flex-wrap: wrap; }

  /* Results: 2 columns here, so tighter padding and a smaller number */
  .result-item { padding: 44px 24px; }
  .result-num { font-size: 40px; }
  /* Items 1 and 2 are the top row, so they get a bottom border to separate them from row 2 */
  .result-item:nth-child(-n+2) { border-bottom: 1px solid var(--grey-lt); }

  /* The line joining the 4 process circles was built for 4 columns, so hide it when they re-stack */
  .process-steps::before { display: none; }
}

/* ── PHONES (600px and below) ── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  section { padding: 56px 20px; }              /* less vertical and side space per section */
  .intro-band { padding: 0 20px; }

  /* HERO */
  .hero-left { padding: 104px 20px 56px; }     /* 104px top clears the 72px fixed nav */
  .hero-eyebrow { letter-spacing: 0.22em; }    /* tighter letter spacing so the label fits on one line */
  .hero-body { margin-bottom: 36px; }
  .hero-actions { gap: 16px 24px; }
  .btn-primary { padding: 14px 24px; }
  .hero-stats { margin-top: 48px; gap: 24px 32px; }
  .stat-num { font-size: 30px; }

  /* RESULTS: stack into 1 column. This is the one that was overflowing. */
  .results-inner { grid-template-columns: 1fr; }
  .result-item { padding: 32px 20px; }
  .result-num { font-size: 36px; }
  /* In 1 column, items 1-3 need a bottom border (item 4 is last and doesn't) */
  .result-item:nth-child(-n+3) { border-bottom: 1px solid var(--grey-lt); }

  /* CARDS: less inner padding so text gets more room */
  .service-card { padding: 36px 24px; }
  .sector-card { padding: 28px 22px; gap: 18px; }
  .team-info { padding: 24px; }

  /* PROCESS: one step per row */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 0 0 36px; }

  /* TESTIMONIAL: 26px quote text is too big for a phone */
  .testimonial-text { font-size: 20px; margin-bottom: 32px; }
  .quote-mark { font-size: 64px; margin-bottom: 28px; }

  /* CONTACT FORM */
  .contact-grid { gap: 40px; }
  /* iPhones auto-zoom the page when you tap an input smaller than 16px. This stops that. */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
  .btn-submit { width: 100%; align-self: stretch; }   /* full-width button is easier to tap */

  /* FOOTER */
  footer { padding: 40px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }          /* 4 columns -> 1 */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-legal { line-height: 1.8; }
}

/* ── LEGAL SLIDE-OVER PANEL ── */
.legal-panel {
  /* A <dialog> is centred by default. These lines pin it to the right edge, full height. */
  position: fixed;
  inset: 0 0 0 auto;              /* top right bottom left: stuck to the right side */
  margin: 0;
  width: min(560px, 100vw);       /* 560px on desktop, the full screen on phones */
  max-width: none;
  height: 100dvh;                 /* dvh = real visible height on phones (ignores the address bar) */
  max-height: none;
  padding: 0;
  border: none;
  border-left: 3px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;               /* only .legal-body scrolls, so the header stays put */
}
.legal-panel[open] {
  display: flex;                  /* stack header, tabs and body vertically */
  flex-direction: column;
  animation: legal-slide 0.35s ease;
}
.legal-panel::backdrop { background: rgba(7, 17, 31, 0.66); }   /* the dimmed page behind */
.legal-panel[open]::backdrop { animation: legal-fade 0.35s ease; }
@keyframes legal-slide { from { transform: translateX(100%); } to { transform: none; } }
@keyframes legal-fade  { from { opacity: 0; } to { opacity: 1; } }

html.legal-open { overflow: hidden; }   /* stops the page behind from scrolling while the panel is open */

/* Header: navy band, same as the hero and footer */
.legal-head {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 24px;
  background: var(--navy);
}
.legal-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.legal-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.2;
  color: var(--white);
}
.legal-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;                    /* 44px = comfortable tap size */
  height: 44px;
  background: none;
  border: 1px solid rgba(248, 249, 251, 0.25);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.legal-close:hover { border-color: var(--gold); color: var(--gold); }
.legal-close:focus-visible,
.legal-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.legal-body:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* The three document buttons */
.legal-tabs {
  flex: none;
  display: flex;
  gap: 24px;
  padding: 0 28px;
  border-bottom: 1px solid var(--grey-lt);
  background: var(--white);
}
.legal-tabs button {
  padding: 16px 0 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.legal-tabs button:hover { color: var(--navy); }
.legal-tabs button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--gold); }

/* Scrolling text area */
.legal-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px 48px;
  overscroll-behavior: contain;   /* scrolling past the end doesn't scroll the page behind */
}
.legal-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-lt);
}
.legal-doc { counter-reset: clause; }   /* start numbering the clauses from 1 in each document */
.legal-doc h3 {
  counter-increment: clause;
  margin: 28px 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
}
.legal-doc h3::before {
  content: counter(clause) ".";
  margin-right: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--gold-text);        /* the darker gold, readable on a light background */
}
.legal-doc p:not(.legal-meta) {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mid);
}

/* Bulleted lists and links inside the legal documents */
.legal-doc ul { margin: 10px 0 0; padding-left: 20px; }
.legal-doc li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 4px;
}
.legal-doc li::marker { color: var(--gold-text, #87691D); }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.legal-doc a:hover { color: var(--gold-text, #87691D); }

@media (max-width: 600px) {
  .legal-head { padding: 22px 20px 20px; }
  .legal-head h2 { font-size: 24px; }
  .legal-tabs { padding: 0 20px; gap: 18px; }
  .legal-body { padding: 24px 20px 40px; }
}

/* ── REDUCED MOTION ── */
/* For visitors whose device is set to "reduce motion" (vestibular disorders, motion sickness, etc.) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }       /* page jumps instead of gliding when you follow a link */
  .hero-mark-ring { animation: none; }  /* the slowly rotating ring in the hero stops */
  .marquee-text { animation: none; }    /* the scrolling strip stops */
  .reveal { opacity: 1; transform: none; transition: none; }   /* sections appear in place, no fade or slide */
  .legal-panel[open], .legal-panel[open]::backdrop { animation: none; }
}
