/* =========================================================================
   MRSEFC — Muhsen Rafa Al-Shamri Est. for Contracting
   Stylesheet
   ---------------------------------------------------------------------
   Design language: "field blueprint" — a technical-drawing register
   built from the client's own mark (navy → sky ribbon, bronze band).
   Structure:
     1. Tokens
     2. Reset & base
     3. Layout utilities
     4. Type components
     5. Header / nav
     6. Buttons & badges
     7. Hero + blueprint grid system
     8. Cards & sections
     9. Org chart
     10. Footer
     11. Page-specific
     12. Motion & responsive
   ========================================================================= */

/* ---------------------------------------------------------------------- */
/* 1. TOKENS                                                              */
/* ---------------------------------------------------------------------- */
:root{
  /* brand core — lifted from the MRSEFC ribbon mark */
  --ink:        #0E1626;
  --navy-900:   #0B1730;
  --navy-800:   #14224A;
  --navy-700:   #1C2F5E;
  --indigo-500: #33509A;
  --sky-400:    #7C9CD6;
  --sky-300:    #A9C0E6;
  --bronze-700: #6E4520;
  --bronze-500: #8C5A2B;
  --bronze-400: #B07A3F;
  --bronze-300: #D6A468;

  --paper-0:    #F4F5F8;
  --paper-1:    #EAEDF3;
  --paper-2:    #DCE1EB;
  --line:       #C6CEDD;

  --ok-500:     #3E7D5A;
  --amber-500:  #A9761F;

  --grid-line-dark:  rgba(169, 192, 230, 0.10);
  --grid-line-light: rgba(28, 47, 94, 0.08);

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --container: 1220px;
  --radius-sm: 3px;
  --radius-md: 6px;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------------------------------------------------------------------- */
/* 2. RESET & BASE                                                        */
/* ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--paper-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font: inherit; cursor: pointer; }
:focus-visible{ outline: 2px solid var(--bronze-400); outline-offset: 3px; }

/* ---------------------------------------------------------------------- */
/* 3. LAYOUT UTILITIES                                                    */
/* ---------------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.section{ padding-block: 96px; }
.section--tight{ padding-block: 64px; }
.section--dark{ background: var(--navy-900); color: var(--paper-0); }
.section--band{ background: var(--paper-1); }
.grid{ display: grid; gap: 32px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.stack{ display: flex; flex-direction: column; }
.cluster{ display: flex; align-items: center; gap: 12px; }
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: none; }

/* ---------------------------------------------------------------------- */
/* 4. TYPE COMPONENTS                                                     */
/* ---------------------------------------------------------------------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-400);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 22px; height: 1px;
  background: var(--bronze-400);
}
.section--dark .eyebrow{ color: var(--sky-300); }
.section--dark .eyebrow::before{ background: var(--sky-300); }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: #E2E4E8;
}
.section--dark h1, .section--dark .h1{ color: var(--paper-0); }

h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 2.9vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.section--dark h2{ color: var(--paper-0); }

h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--navy-800);
}
.section--dark h3{ color: var(--paper-0); }

.lede{
  font-size: 1.14rem;
  line-height: 1.65;
  color: #ccdaf0;
  max-width: 62ch;
}
.section--dark .lede{ color: var(--sky-300); }
p.body-text{ color: #414C5E; max-width: 62ch; }
.section--dark p.body-text{ color: #C4D0E6; }

.data-label{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7690;
}
.section--dark .data-label{ color: #92A3C4; }

/* ---------------------------------------------------------------------- */
/* 5. HEADER / NAV                                                        */
/* ---------------------------------------------------------------------- */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(11, 23, 48, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(169,192,230,0.14);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{ width: 34px; height: 34px; flex: none; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-name{
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--paper-0); letter-spacing: 0.02em;
}
.brand-sub{
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--sky-300); opacity: .85;
}
.main-nav{ display: flex; gap: 6px; }
.main-nav a{
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--paper-0); opacity: .78;
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: opacity .25s var(--ease), background .25s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active{ opacity: 1; background: rgba(169,192,230,0.1); }
.header-cta{ flex: none; }
.nav-toggle{ display: none; background: none; border: 0; width: 34px; height: 26px; position: relative; }
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 2px; background: var(--paper-0);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 12px; }
.nav-toggle span:nth-child(3){ top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(12px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-12px) rotate(-45deg); }

/* ---------------------------------------------------------------------- */
/* 6. BUTTONS & BADGES                                                    */
/* ---------------------------------------------------------------------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-solid{ background: var(--bronze-400); color: var(--navy-900); border-color: var(--bronze-400); font-weight: 600; }
.btn-solid:hover{ background: var(--bronze-300); border-color: var(--bronze-300); transform: translateY(-1px); }
.btn-ghost{ background: transparent; color: var(--paper-0); border-color: rgba(244,245,248,0.35); }
.btn-ghost:hover{ border-color: var(--paper-0); background: rgba(244,245,248,0.08); }
.btn-outline-dark{ background: transparent; color: var(--navy-900); border-color: var(--navy-800); }
.btn-outline-dark:hover{ background: var(--navy-900); color: var(--paper-0); }
.btn svg{ width: 14px; height: 14px; }

.badge{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: #5B6478;
}
.badge::before{ content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.badge--active{ border-color: rgba(62,125,90,0.4); color: var(--ok-500); }
.badge--active::before{ background: var(--ok-500); }
.badge--ongoing{ border-color: rgba(169,118,31,0.45); color: var(--amber-500); }
.badge--ongoing::before{ background: var(--amber-500); }
.badge--completed{ border-color: var(--line); color: #5A6478; }
.badge--completed::before{ background: #8A93A6; }

/* ---------------------------------------------------------------------- */
/* 7. HERO + BLUEPRINT GRID SYSTEM                                        */
/* ---------------------------------------------------------------------- */
.blueprint{
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 46px 46px;
  overflow: hidden;
}
.blueprint--light{
  background-color: var(--paper-1);
  background-image:
    linear-gradient(var(--grid-line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-light) 1px, transparent 1px);
}
.crop{
  position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--bronze-400);
}
.crop--tl{ top: 28px; left: 28px; border-top: 2px solid; border-left: 2px solid; }
.crop--tr{ top: 28px; right: 28px; border-top: 2px solid; border-right: 2px solid; }
.crop--bl{ bottom: 28px; left: 28px; border-bottom: 2px solid; border-left: 2px solid; }
.crop--br{ bottom: 28px; right: 28px; border-bottom: 2px solid; border-right: 2px solid; }

.hero{
  padding-top: 190px; padding-bottom: 120px;
  position: relative;
}
.hero-grid{ display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 64px; align-items: end; }
.hero-copy .eyebrow{ margin-bottom: 22px; }
.hero-copy h1{ margin-bottom: 26px; }
.hero-actions{ display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.readout{
  border: 1px solid rgba(169,192,230,0.22);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  padding: 26px;
}
.readout-title{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky-300); margin-bottom: 18px;
  display: flex; justify-content: space-between;
}
.readout-row{
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0; border-top: 1px dashed rgba(169,192,230,0.18);
}
.readout-row:first-of-type{ border-top: none; }
.readout-row .k{ font-size: 13px; color: #A9B7D4; }
.readout-row .v{ font-family: var(--font-mono); font-size: 15px; color: var(--paper-0); }
.readout-row .v.accent{ color: var(--bronze-300); }

/* ---------------------------------------------------------------------- */
/* 8. CARDS & SECTIONS                                                    */
/* ---------------------------------------------------------------------- */
.stat-strip{
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
}
.stat-strip .grid-4{ gap: 0; }
.stat-cell{
  padding: 40px 28px;
  border-left: 1px solid var(--paper-2);
}
.stat-cell:first-child{ border-left: none; }
.stat-num{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--navy-900);
  display: flex; align-items: baseline; gap: 4px;
}
.stat-num .unit{ font-size: 1.1rem; color: var(--bronze-500); }
.stat-cap{ margin-top: 8px; font-size: 13.5px; color: #5B6478; max-width: 22ch; }

.section-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head .lede{ margin-top: 14px; }

.card{
  background: #fff; border: 1px solid var(--paper-2); border-radius: var(--radius-md);
  padding: 32px; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover{ border-color: var(--sky-400); transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14,22,38,.28); }
.card-index{ font-family: var(--font-mono); font-size: 12px; color: var(--bronze-500); letter-spacing: .06em; }
.card h3{ margin-top: 14px; margin-bottom: 14px; }
.card ul{ display: flex; flex-direction: column; gap: 9px; }
.card li{
  font-size: 14.5px; color: #4A5468; padding-left: 18px; position: relative;
}
.card li::before{
  content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 1px; background: var(--bronze-400);
}
.card-icon{ width: 40px; height: 40px; color: var(--indigo-500); margin-bottom: 18px; }

/* value / people tiles */
.tile{
  border-left: 2px solid var(--bronze-400);
  padding: 4px 0 4px 24px;
}
.tile h3{ margin-bottom: 10px; }
.tile p{ color: #444F63; font-size: 14.5px; }

/* document badges (certifications) */
.doc-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-chip{
  border: 1px solid var(--paper-2); border-radius: var(--radius-md);
  padding: 22px; background: #fff;
}
.doc-chip .data-label{ margin-bottom: 10px; }
.doc-chip h4{ font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); margin: 0 0 6px; }
.doc-chip p{ font-size: 13px; color: #5B6478; margin: 0; }

/* project cards */
.project-card{
  border: 1px solid var(--paper-2); background: #fff; border-radius: var(--radius-md);
  overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.project-card:hover{ border-color: var(--sky-400); transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14,22,38,.28); }
.project-top{ background: var(--navy-900); color: var(--paper-0); padding: 24px 26px; position: relative;
  background-image: linear-gradient(var(--grid-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 22px 22px;
}
.project-top .data-label{ color: var(--sky-300); }
.project-top h3{ color: var(--paper-0); margin-top: 8px; }
.project-loc{ font-size: 13px; color: var(--sky-300); margin-top: 6px; }
.project-body{ padding: 24px 26px; }
.project-meta{ display: flex; justify-content: space-between; margin-bottom: 16px; }
.project-scope{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.project-scope li{ font-size: 14px; color: #414C5E; padding-left: 16px; position: relative; }
.project-scope li::before{ content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 1px; background: var(--bronze-400); }
.project-dates{ display: flex; justify-content: space-between; border-top: 1px dashed var(--paper-2); padding-top: 14px; }
.project-dates .k{ font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #8A93A6; }
.project-dates .v{ font-family: var(--font-mono); font-size: 12.5px; color: var(--navy-800); }

.filter-bar{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-btn{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--paper-2); background: #fff; color: #5B6478;
  transition: all .2s var(--ease);
}
.filter-btn:hover{ border-color: var(--sky-400); color: var(--navy-900); }
.filter-btn.is-active{ background: var(--navy-900); border-color: var(--navy-900); color: var(--paper-0); }

/* timeline (company history) */
.timeline{ position: relative; padding-left: 32px; border-left: 1px solid var(--paper-2); display: flex; flex-direction: column; gap: 44px; }
.timeline-item{ position: relative; }
.timeline-item::before{
  content: ''; position: absolute; left: -37px; top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper-0); border: 2px solid var(--bronze-400);
}
.timeline-year{ font-family: var(--font-mono); font-size: 13px; color: var(--bronze-500); letter-spacing: .05em; margin-bottom: 8px; }
.timeline-item h3{ margin-bottom: 8px; }
.timeline-item p{ color: #444F63; max-width: 62ch; font-size: 15px; }

/* ---------------------------------------------------------------------- */
/* 8b. PHOTOGRAPHY SYSTEM                                                 */
/* ---------------------------------------------------------------------- */

/* generic media box: cropped photo, subtle hover zoom */
.media{ position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--paper-2); }
.media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease);
}
.media:hover img{ transform: scale(1.055); }
.media--ratio-16-10{ aspect-ratio: 16 / 10; }
.media--ratio-4-3{ aspect-ratio: 4 / 3; }
.media--ratio-1-1{ aspect-ratio: 1 / 1; }
.media--ratio-3-4{ aspect-ratio: 3 / 4; }

/* wipe-in reveal for photography (pairs with IntersectionObserver).
   Note: intentionally opacity/scale based, NOT clip-path — a clip-path
   on the observed element itself collapses its computed intersection
   rect in Chromium, so the observer never reports it as visible. */
.img-reveal{ opacity: 0; transform: scale(1.045); transition: opacity 1s var(--ease), transform 1.15s var(--ease); }
.img-reveal.is-visible{ opacity: 1; transform: none; }

/* hero full-bleed photo layer, sits behind the blueprint grid content */
.hero-photo{ position: absolute; inset: 0; z-index: 0; }
.hero-photo img{
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKen 22s ease-in-out infinite alternate;
}
.hero-photo::after{
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,23,48,.72) 0%, rgba(11,23,48,.88) 55%, rgba(11,23,48,.96) 100%),
    linear-gradient(90deg, rgba(11,23,48,.55) 0%, rgba(11,23,48,.15) 45%, rgba(11,23,48,.55) 100%);
}
.hero > .container, .hero .crop{ position: relative; z-index: 1; }
@keyframes heroKen{
  0%{ transform: scale(1.04) translate(0,0); }
  100%{ transform: scale(1.14) translate(-1%, -1.5%); }
}
@media (prefers-reduced-motion: reduce){ .hero-photo img{ animation: none; } }

/* parallax band — full-width photo strip with caption */
.parallax-band{
  position: relative; height: 440px; overflow: hidden;
}
.parallax-band img{
  position: absolute; top: 50%; left: 0; width: 100%; height: 130%;
  object-fit: cover; transform: translateY(-50%);
  will-change: transform;
}
.parallax-band .pb-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,23,48,.25) 0%, rgba(11,23,48,.35) 55%, rgba(11,23,48,.88) 100%);
}
.parallax-band .pb-caption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 28px;
  color: var(--paper-0);
}
.parallax-band .pb-caption .container{ padding-inline: 0; margin-inline: auto; max-width: var(--container); padding: 0 28px;}
.parallax-band .pb-caption h3{ color: var(--paper-0); font-size: 1.5rem; max-width: 46ch; }
@media (max-width: 640px){ .parallax-band{ height: 320px; } }

/* capability card media */
.card-media{ margin: -32px -32px 22px; }
.card-media .media{ border-radius: var(--radius-md) var(--radius-md) 0 0; }

/* project card photo header, replaces flat blueprint fill */
.project-top{
  position: relative; overflow: hidden; height: 200px;
  display: flex; align-items: flex-end; padding: 22px 26px;
}
.project-top img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.project-top::after{
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,23,48,.18) 0%, rgba(11,23,48,.55) 60%, rgba(11,23,48,.93) 100%);
}
.project-card:hover .project-top img{ transform: scale(1.09); }
.project-top .top-content{ position: relative; z-index: 1; }

/* image pair (safety section) */
.img-pair{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.img-pair .media:first-child{ align-self: end; }

@media (max-width: 640px){
  .card-media{ margin: -22px -22px 18px; }
  .img-pair{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* 9. ORG CHART                                                           */
/* ---------------------------------------------------------------------- */
.orgchart{ display: flex; flex-direction: column; gap: 0; }
.org-tier{
  display: grid; gap: 16px; padding-block: 22px; position: relative;
}
.org-tier + .org-tier{ border-top: 1px dashed var(--paper-2); }
.org-tier[data-tier="0"]{ grid-template-columns: 1fr; justify-items: center; }
.org-tier[data-tier="1"]{ grid-template-columns: repeat(3, 1fr); }
.org-tier[data-tier="2"]{ grid-template-columns: repeat(4, 1fr); }
.org-node{
  border: 1px solid var(--paper-2); background: #fff; border-radius: var(--radius-sm);
  padding: 14px 16px; text-align: center;
}
.org-node .role{ font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--navy-900); }
.org-node .reports{ font-family: var(--font-mono); font-size: 10.5px; color: #8A93A6; margin-top: 6px; letter-spacing: .03em; }
.org-node.is-lead{ background: var(--navy-900); border-color: var(--navy-900); }
.org-node.is-lead .role{ color: var(--paper-0); }
.org-node.is-lead .reports{ color: var(--sky-300); }

/* ---------------------------------------------------------------------- */
/* 10. FOOTER                                                             */
/* ---------------------------------------------------------------------- */
.site-footer{ background: var(--navy-900); color: var(--paper-0); padding-top: 80px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand{ margin-bottom: 18px; }
.footer-brand p{ color: #A9B7D4; font-size: 14px; max-width: 34ch; }
.footer-col h4{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sky-300); margin-bottom: 18px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span{ font-size: 14px; color: #C4D0E6; }
.footer-col a:hover{ color: var(--paper-0); }
.footer-bottom{
  border-top: 1px solid rgba(169,192,230,0.14);
  padding-block: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; color: #7C8BAD; letter-spacing: .02em;
}
.coord-signature::before{ content: '◎ '; color: var(--bronze-400); }

/* ---------------------------------------------------------------------- */
/* 11. PAGE-SPECIFIC                                                      */
/* ---------------------------------------------------------------------- */
.page-hero{
  padding-top: 168px; padding-bottom: 84px; position: relative;
}
.page-hero .eyebrow{ margin-bottom: 20px; }
.page-hero .lede{ margin-top: 20px; }
.breadcrumb{
  font-family: var(--font-mono); font-size: 12px; color: var(--sky-300); letter-spacing: .04em;
  margin-bottom: 26px; display: flex; gap: 8px; align-items: center;
}

.map-panel{
  border: 1px solid var(--paper-2); border-radius: var(--radius-md); overflow: hidden; background: #fff;
}
.map-visual{
  height: 340px; position: relative;
  background-color: var(--paper-1);
  background-image: linear-gradient(var(--grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-light) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-pin{
  position: absolute; top: 46%; left: 54%; transform: translate(-50%,-100%);
  display: flex; flex-direction: column; align-items: center;
}
.map-pin-dot{ width: 16px; height: 16px; border-radius: 50%; background: var(--bronze-400); border: 3px solid var(--navy-900); box-shadow: 0 0 0 6px rgba(140,90,43,0.15); }
.map-pin-line{ width: 1px; height: 46px; background: linear-gradient(var(--navy-800), transparent); }
.map-road{ position: absolute; top: 30%; left: 0; right: 0; height: 18px; background: rgba(124,156,214,0.28); transform: rotate(-3deg); }

.contact-row{ display: flex; gap: 18px; padding-block: 20px; border-top: 1px solid var(--paper-2); }
.contact-row:first-child{ border-top: none; }
.contact-row .ic{ width: 22px; height: 22px; color: var(--bronze-500); flex: none; margin-top: 2px; }
.contact-row .k{ font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8A93A6; margin-bottom: 4px; }
.contact-row .v{ font-size: 15.5px; color: var(--navy-900); }

.cta-panel{
  border-radius: var(--radius-md); padding: 64px; text-align: center;
  background: var(--navy-900); color: var(--paper-0); position: relative; overflow: hidden;
  background-image: linear-gradient(var(--grid-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-panel h2{ color: var(--paper-0); margin-bottom: 18px; }
.cta-panel p{ color: var(--sky-300); max-width: 50ch; margin-inline: auto; margin-bottom: 34px; }
.cta-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* 12. RESPONSIVE                                                         */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px){
  .main-nav, .header-cta{ display: none; }
  .nav-toggle{ display: block; }
  .site-header.nav-open .main-nav{
    display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column;
    background: var(--navy-900); padding: 14px; border-bottom: 1px solid rgba(169,192,230,0.14);
  }
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-strip .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3){ border-left: none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .doc-grid{ grid-template-columns: 1fr 1fr; }
  .org-tier[data-tier="1"], .org-tier[data-tier="2"]{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .stat-strip .grid-4{ grid-template-columns: 1fr; }
  .stat-cell{ border-left: none; border-top: 1px solid var(--paper-2); }
  .stat-cell:first-child{ border-top: none; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .footer-grid{ grid-template-columns: 1fr; }
  .doc-grid{ grid-template-columns: 1fr; }
  .org-tier[data-tier="1"], .org-tier[data-tier="2"]{ grid-template-columns: 1fr; }
  .section{ padding-block: 64px; }
  .footer-bottom{ flex-direction: column; }
  .cta-panel{ padding: 40px 24px; }
}

/* ---------------------------------------------------------------------- */
/* 9b. CEO MESSAGE                                                        */
/* ---------------------------------------------------------------------- */
.ceo-message{
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-top: 48px;
}
.ceo-photo{ flex: 0 0 300px; }
.ceo-photo img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 18px 40px -22px rgba(14,22,38,.35);
}
.ceo-text{ flex: 1; }
.ceo-text p{
  font-size: 1.08rem;
  line-height: 1.75;
  color: #414C5E;
  margin-bottom: 20px;
  max-width: 62ch;
}
.ceo-signature{
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--bronze-400);
}
.ceo-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.ceo-title{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8A93A6;
  margin-top: 4px;
}

/* ---------------------------------------------------------------------- */
/* 12. RESPONSIVE                                                         */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px){
  .main-nav, .header-cta{ display: none; }
  .nav-toggle{ display: block; }
  .site-header.nav-open .main-nav{
    display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column;
    background: var(--navy-900); padding: 14px; border-bottom: 1px solid rgba(169,192,230,0.14);
  }
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-strip .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3){ border-left: none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .doc-grid{ grid-template-columns: 1fr 1fr; }
  .org-tier[data-tier="1"], .org-tier[data-tier="2"]{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px){
  .ceo-message{ flex-direction: column; gap: 28px; }
  .ceo-photo{ flex: 0 0 auto; max-width: 240px; }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .stat-strip .grid-4{ grid-template-columns: 1fr; }
  .stat-cell{ border-left: none; border-top: 1px solid var(--paper-2); }
  .stat-cell:first-child{ border-top: none; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .footer-grid{ grid-template-columns: 1fr; }
  .doc-grid{ grid-template-columns: 1fr; }
  .org-tier[data-tier="1"], .org-tier[data-tier="2"]{ grid-template-columns: 1fr; }
  .section{ padding-block: 64px; }
  .footer-bottom{ flex-direction: column; }
  .cta-panel{ padding: 40px 24px; }
}