/* ============================================================
   Royal Niger Emerging Technologies — Stylesheet
   Design: Industrial Luxury | Deep Navy × Gold × Teal
   Fonts: Cormorant Garamond (display) + Barlow (body)
============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --deep:    #070D1A;
  --navy:    #0A1828;
  --blue:    #0D2244;
  --blue-md: #1A3C6E;
  --teal:    #00A896;
  --teal-lt: #00C9B5;
  --gold:    #C9A84C;
  --gold-lt: #E0C060;
  --light:   #E8EDF4;
  --muted:   #8A9AB5;
  --border:  #1A2A44;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-cond:    'Barlow Condensed', system-ui, sans-serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --radius: 4px;
  --radius-md: 8px;

  --section-py: clamp(4rem, 8vw, 7rem);
  --container:  1200px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--deep);
  color: var(--light);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Sections wrapper — flex column enables CSS order-based reordering */
.sections-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-lt); }

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

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--deep);
}
.btn--gold:hover {
  background: var(--gold-lt);
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(232,237,244,0.35);
}
.btn--outline:hover {
  background: rgba(232,237,244,0.08);
  color: var(--light);
  border-color: var(--light);
}
.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn--ghost:hover {
  background: var(--teal);
  color: var(--deep);
}
.btn--full { width: 100%; justify-content: center; }

/* ── Check List ───────────────────────────────────────────── */
.check-list {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.check-list li::before {
  content: '—';
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-weight: 700;
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding-block: var(--section-py); position: relative; }

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,13,26,0.96);
  backdrop-filter: blur(12px);
  border-color: var(--border);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter var(--transition);
}
.nav-logo:hover img { filter: brightness(1.3); }

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

.nav-link {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}
.nav-link:hover {
  color: var(--light);
  background: rgba(255,255,255,0.05);
}
.nav-link--cta {
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.4rem 1rem;
  margin-left: 0.5rem;
}
.nav-link--cta:hover {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 10rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-color: #0A1828; /* fallback if no image set */
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(7,13,26,0.92) 0%, rgba(7,13,26,0.55) 55%, rgba(7,13,26,0.35) 100%),
    linear-gradient(to bottom, rgba(7,13,26,0.5) 0%, rgba(7,13,26,0.25) 50%, rgba(7,13,26,0.7) 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,60,110,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,60,110,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-top: 10rem;
  padding-bottom: 6rem;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--teal);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--light);
  max-width: 12ch;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.hero__scroll-indicator span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--navy); border-top: 1px solid var(--border); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about__sub {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--light);
  margin-bottom: 2rem;
  line-height: 1.4;
}
.about__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.about__stat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-card {
  background: var(--blue);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background var(--transition);
}
.stat-card:hover { background: var(--blue-md); }
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.stat-plus {
  font-size: 1.5rem;
  margin-left: 2px;
  color: var(--teal);
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   SERVICES / BUSINESS LINES
============================================================ */
.services {
  background: var(--deep);
  border-top: 1px solid var(--border);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
}

.service-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--transition);
  cursor: default;
}
.service-card:hover { background: var(--blue); }

.service-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  transition: color var(--transition);
}
.service-card:hover .service-card__number { color: rgba(201,168,76,0.3); }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--light);
  line-height: 1.2;
  font-style: italic;
}
.service-card__tagline {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  transition: color var(--transition), gap var(--transition);
}
.service-card__btn:hover { color: var(--teal-lt); gap: 0.8rem; }
.service-card__btn .arrow { transition: transform var(--transition); }
.service-card__btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   MODAL
============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.open {
  pointer-events: all;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,13,26,0.75);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 95vw);
  height: 100svh;
  overflow-y: auto;
  background: var(--navy);
  border-left: 1px solid var(--border);
  padding: 3rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal.open .modal__panel { transform: translateX(0); }

.modal__panel--project {
  padding: 0 0 3rem;
  gap: 0;
}
.modal__project-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__project-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}
.modal__panel--project .modal__label,
.modal__panel--project .modal__title,
.modal__panel--project .modal__project-meta,
.modal__panel--project .modal__desc {
  padding-inline: 2.5rem;
}
.modal__panel--project .modal__label { margin-top: 2rem; }

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--blue);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 3;
}
.modal__close:hover { background: var(--blue-md); color: var(--light); }

.modal__label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.modal__label::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--gold); }

.modal__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--light);
  font-style: italic;
  line-height: 1.2;
}
.modal__tagline {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}
.modal__desc { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.modal__caps-title {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal__list li {
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.modal__list li::before { content: '→'; color: var(--teal); flex-shrink: 0; }
.modal__footer {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  line-height: 1.75;
}
.modal__cta { margin-top: auto; }

.modal__project-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 0.5rem;
}

/* ============================================================
   PILLARS
============================================================ */
.pillars {
  background: var(--navy);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.pillars__image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 600px;
}
.pillars__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: brightness(0.85) contrast(1.05);
}
.pillars__image-accent {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 60%;
  height: 40%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0.4;
}
.pillars__sub { color: var(--muted); margin-bottom: 0.5rem; }
.pillars__closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--light);
  margin-top: 1rem;
}

/* Values row */
.values {
  background: var(--deep);
  padding-block: 4rem;
  border-top: 1px solid var(--border);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.value-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--transition);
}
.value-card:hover { background: var(--blue); }
.value-card__icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.value-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--light);
  font-style: italic;
}
.value-card__desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   LEADERSHIP
============================================================ */
.leadership {
  background: var(--navy);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.leadership__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.leadership__body {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.leadership__sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.25rem; }
.leadership__footer {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
  font-style: italic;
}
.leadership__image-wrap {
  aspect-ratio: 3/4;
  max-height: 550px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.leadership__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.6s ease;
}
.leadership__image-wrap:hover img { transform: scale(1.03); }

/* ============================================================
   WORKSHOP
============================================================ */
.workshop {
  background: var(--deep);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.workshop__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.workshop__image-col {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.workshop__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease;
}
.workshop__image-col:hover img { transform: scale(1.03); }
.workshop__footer {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ============================================================
   COMMITMENT
============================================================ */
.commitment {
  background: var(--blue);
  border-top: 1px solid var(--border);
  background-image: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0,168,150,0.08) 0%, transparent 60%);
}
.commitment__inner {
  max-width: 780px;
}
.commitment__headline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.commitment__sub {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.commitment__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.commitment__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.commitment__list li::before { content: '◆'; color: var(--teal); font-size: 0.5rem; flex-shrink: 0; margin-top: 0.35rem; }

.commitment__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--light);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-top: 2rem;
}

/* ============================================================
   PROJECTS
============================================================ */
.projects {
  background: var(--navy);
  border-top: 1px solid var(--border);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.project-card {
  background: var(--blue);
  cursor: pointer;
  overflow: hidden;
  transition: background var(--transition);
}
.project-card:hover { background: var(--blue-md); }
.project-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}
.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(1) grayscale(20%);
}
.project-card:hover .project-card__img img {
  transform: scale(1.06);
  filter: brightness(1) grayscale(0%);
}
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,13,26,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__view {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
}
.project-card__body { padding: 1rem 1.25rem; }
.project-card__client {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.2rem;
}
.project-card__meta { font-size: 0.78rem; color: var(--muted); }

/* Highlights */
.highlights {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.highlights__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--light);
  margin-bottom: 1.5rem;
}
.highlights__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.6rem 2rem;
}
.highlights__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26,42,68,0.5);
}
.highlights__list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   CONTACT
============================================================ */
.contact {
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
}
.contact__detail:hover { color: var(--teal); }
.contact__detail-icon { color: var(--teal); font-size: 1rem; width: 1.25rem; }

.contact__offices {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.office h4 {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.office p { font-size: 0.88rem; color: var(--muted); }

/* Form */
.contact-form {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--blue);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--blue-md);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.6; }

.form-status {
  font-size: 0.88rem;
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.3s ease;
}
.form-status.success {
  padding: 0.75rem 1rem;
  background: rgba(0,168,150,0.1);
  border: 1px solid rgba(0,168,150,0.3);
  color: var(--teal);
}
.form-status.error {
  padding: 0.75rem 1rem;
  background: rgba(200,50,50,0.1);
  border: 1px solid rgba(200,50,50,0.3);
  color: #f77;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #040911;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer__tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.5;
  max-width: 26ch;
}
.footer__nav h4,
.footer__services h4,
.footer__contact h4 {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__nav ul,
.footer__services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__nav a,
.footer__services a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer__nav a:hover,
.footer__services a:hover { color: var(--light); }
.footer__contact p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer__contact a { color: var(--muted); transition: color var(--transition); }
.footer__contact a:hover { color: var(--teal); }
.footer__bottom {
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.7;
}
.footer__bottom a { color: var(--muted); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--teal); }

/* ============================================================
   RESPONSIVE — Full Mobile Optimisation
   Breakpoints: 1024px | 768px | 600px | 480px | 380px
============================================================ */

/* ── 1024px — Tablet Landscape ───────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about__grid  { gap: clamp(1.5rem, 4vw, 3rem); }
  .pillars__grid { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
  .leadership__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .workshop__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact__grid { gap: 3rem; }
}

/* ── 768px — Tablet Portrait / Large Mobile ───────────────── */
@media (max-width: 768px) {
  :root { --section-py: clamp(2.5rem, 7vw, 4.5rem); }

  /* Nav */
  .nav-toggle {
    display: flex;
    z-index: 1001; /* above drawer */
    position: relative;
  }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 85vw);
    height: 100svh;
    background: var(--navy);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link {
    font-size: 1rem;
    padding: 0.85rem 0;
    width: 100%;
    min-height: 44px; /* touch target */
    display: flex;
    align-items: center;
  }
  .nav-link--cta { margin-left: 0; margin-top: 1rem; }

  /* Hero */
  .hero { padding-bottom: 6rem; overflow-x: hidden; }
  .hero__content {
    padding-top: 6rem;
    padding-bottom: 3rem;
    padding-inline: 1.25rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  .hero__headline {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero__sub {
    font-size: 0.95rem;
    max-width: 100%;
    word-break: break-word;
  }
  .hero__eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    max-width: 100%;
    flex-wrap: wrap;
    word-break: break-word;
  }
  .hero__eyebrow::before { display: none; }
  .hero__ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }
  .hero__scroll-indicator { display: none; }

  /* Grids → single column */
  .about__grid,
  .pillars__grid,
  .leadership__grid,
  .workshop__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* About */
  .about__stat-panel { order: -1; }
  .about__sub { font-size: 1.2rem; }
  .about__ctas { flex-wrap: wrap; }

  /* Stats */
  .stat-card { padding: 1.5rem 1.25rem; }
  .stat-number { font-size: 2.4rem; }

  /* Pillars */
  .pillars__image-col { order: -1; }
  .pillars__image-wrap { aspect-ratio: 16/9; max-height: 280px; }
  .pillars__image-accent { display: none; } /* decorative — hide on mobile */

  /* Leadership — show image stacked, don't hide */
  .leadership__image-col { display: block; }
  .leadership__image-wrap { aspect-ratio: 16/9; max-height: 260px; }

  /* Workshop — show image stacked */
  .workshop__image-col { display: block; }
  .workshop__image-col { aspect-ratio: 16/9; max-height: 260px; }

  /* Values */
  .values__grid { grid-template-columns: 1fr; gap: 1px; }
  .value-card { padding: 1.75rem 1.5rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 1.75rem 1.5rem; }
  .service-card__number { font-size: 2rem; }

  /* Commitment */
  .commitment__inner { max-width: 100%; }
  .commitment__quote {
    font-size: 1.1rem;
    padding-left: 1rem;
    border-left-width: 2px;
  }

  /* Contact */
  .contact__form-wrap { padding: 0; }
  .contact-form { padding: 1.75rem 1.25rem; }
  .contact__offices { gap: 1rem; }

  /* Modals */
  .modal { justify-content: center; align-items: flex-end; }
  .modal__panel {
    width: 100vw;
    height: 90svh;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 2rem 1.25rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .modal.open .modal__panel { transform: translateY(0); }
  .modal__panel--project { padding: 0 0 2rem; }
  .modal__panel--project .modal__label,
  .modal__panel--project .modal__title,
  .modal__panel--project .modal__project-meta,
  .modal__panel--project .modal__desc { padding-inline: 1.25rem; }
  .modal__title { font-size: 1.6rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__services { display: none; }
  .footer__bottom { text-align: center; font-size: 0.78rem; }

  /* Section label */
  .section-label { letter-spacing: 0.15em; font-size: 0.7rem; }

  /* Buttons — proper touch targets */
  .btn { min-height: 44px; padding: 0.65rem 1.5rem; }
}

/* ── 600px — Small Tablets ────────────────────────────────── */
@media (max-width: 600px) {
  /* Projects grid */
  .projects__grid { grid-template-columns: 1fr 1fr; }

  /* Highlights */
  .highlights__list { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { text-align: center; }
  .footer__tagline { margin-inline: auto; }
  .footer__nav { text-align: center; }
  .footer__nav ul { align-items: center; }
  .footer__contact { text-align: center; }
}

/* ── 480px — Mobile Phones ────────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-py: clamp(2rem, 6vw, 3.5rem); }

  /* Hero */
  .hero__headline { font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.15; }
  .hero__eyebrow { letter-spacing: 0.08em; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Services — single column */
  .services__grid { grid-template-columns: 1fr; }

  /* Projects — single column */
  .projects__grid { grid-template-columns: 1fr; }

  /* Stats — tighter */
  .about__stat-panel { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .stat-card { padding: 1.25rem 1rem; }

  /* Section headline */
  .section-headline { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 1rem; }

  /* Value cards */
  .values__grid { grid-template-columns: 1fr; }

  /* Commitment */
  .commitment__headline { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .commitment__quote { font-size: 1rem; }

  /* Contact form */
  .contact-form { padding: 1.25rem 1rem; }

  /* Modals */
  .modal__panel { height: 92svh; padding: 1.5rem 1rem; }
  .modal__panel--project .modal__label,
  .modal__panel--project .modal__title,
  .modal__panel--project .modal__project-meta,
  .modal__panel--project .modal__desc { padding-inline: 1rem; }
  .modal__title { font-size: 1.4rem; }
  .modal__project-meta { flex-direction: column; gap: 0.35rem; }

  /* Footer */
  .footer__grid { gap: 1.75rem; }
  .footer__bottom { font-size: 0.72rem; }

  /* Highlights list */
  .highlights__list { grid-template-columns: 1fr; }

  /* Buttons */
  .btn { font-size: 0.8rem; letter-spacing: 0.08em; }

  /* Section label */
  .section-label { letter-spacing: 0.1em; }
}

/* ── 380px — Small Phones (iPhone SE etc) ─────────────────── */
@media (max-width: 380px) {
  html { font-size: 15px; }

  .hero__headline { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .stat-number { font-size: 1.8rem; }
  .service-card { padding: 1.5rem 1.25rem; }
  .contact-form { padding: 1rem 0.85rem; }
  .modal__panel { padding: 1.25rem 0.85rem; }
  .modal__panel--project .modal__label,
  .modal__panel--project .modal__title,
  .modal__panel--project .modal__project-meta,
  .modal__panel--project .modal__desc { padding-inline: 0.85rem; }
  .container { padding-inline: 1rem; }
  .section-headline { font-size: clamp(1.4rem, 6vw, 1.8rem); }
}


/* ── Video Embed ──────────────────────────────────────────── */
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #000;
  margin-top: 1.5rem;
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-embed-placeholder {
  background: var(--blue);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}
.custom-section__video { width: 100%; }
