/* =============================================
   Local Hazard Network — Project Landing Page
   ANU ENGN4300 Capstone 2026
   ============================================= */

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

:root {
  /* Brand palette */
  --navy:          #0D2B45;
  --navy-deep:     #081d2e;
  --navy-mid:      #122f47;
  --teal:          #1B6B7B;
  --teal-hover:    #22808f;
  --green:         #2D7A5E;
  --green-hover:   #368a6c;
  --gold:          #E8A020;
  --gold-light:    rgba(232,160,32,0.15);
  --gold-border:   rgba(232,160,32,0.30);

  /* Backgrounds */
  --bg-dark:    #0D2B45;
  --bg-light:   #F4F5F7;

  /* Text on dark */
  --on-dark:       #FFFFFF;
  --on-dark-muted: rgba(255,255,255,0.68);
  --on-dark-faint: rgba(255,255,255,0.38);

  /* Text on light */
  --on-light:       #0D2B45;
  --on-light-muted: #4A6070;
  --on-light-faint: #8CA0B0;

  /* Borders */
  --border-dark:  rgba(255,255,255,0.09);
  --border-light: #E8EAED;

  /* Legacy compat — used in some inline styles in HTML */
  --text:         var(--on-dark);
  --text-muted:   var(--on-dark-muted);
  --text-faint:   var(--on-dark-faint);
  --bg:           var(--bg-dark);
  --bg-surface:   rgba(255,255,255,0.05);
  --bg-raised:    rgba(255,255,255,0.08);
  --bg-alt:       var(--bg-dark);
  --border:       var(--border-dark);
  --border-light-legacy: #E8EAED;
  --accent:       var(--teal);
  --accent-glow:  rgba(27,107,123,0.15);
  --accent-border:rgba(27,107,123,0.35);

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 2px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.17);
  --transition: 0.24s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--on-dark);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-hover); }

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

/* =============================================
   UTILITY
   ============================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Light sections: .section (no modifier) */
.section {
  padding: 80px 0;
  background: var(--bg-light);
  /* Cascade light-context tokens to all children */
  --text:       var(--on-light);
  --text-muted: var(--on-light-muted);
  --text-faint: var(--on-light-faint);
  --bg-surface: #FFFFFF;
  --bg-raised:  #EAECEF;
  --border:     var(--border-light);
}

/* Dark sections: .section--alt */
.section--alt {
  padding: 80px 0;
  background: var(--bg-dark);
  position: relative;
  /* Reset to dark-context tokens */
  --text:       var(--on-dark);
  --text-muted: var(--on-dark-muted);
  --text-faint: var(--on-dark-faint);
  --bg-surface: rgba(255,255,255,0.05);
  --bg-raised:  rgba(255,255,255,0.08);
  --border:     var(--border-dark);
}

.section--alt .container { position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--teal);
}

.section--alt .section-label { color: var(--gold); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(27,107,123,0.12);
  color: var(--teal);
  border: 1px solid rgba(27,107,123,0.25);
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  letter-spacing: 0.03em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar a { color: var(--on-dark-muted); }
.topbar a:hover { color: var(--gold); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,43,69,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 800;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-brand:hover { color: #FFFFFF; }

.navbar-logo {
  height: 19px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-style: normal;
  color: #FFFFFF;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  position: relative;
}

.navbar-brand .brand-icon::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.navbar-nav a {
  color: var(--on-dark-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.navbar-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: #FFFFFF;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 100px 0 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -260px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(232,160,32,0.18);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(45,122,94,0.09);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-eyebrow .badge {
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
  color: #FFFFFF;
}

.hero h1 span { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--on-dark-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-actions-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 7px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--teal-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(27,107,123,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--on-dark-muted);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.35);
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--on-dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   HERO IMAGE SPLIT
   ============================================= */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; }

.hero-image-wrap { position: relative; }

.hero-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-image-caption {
  margin-top: 10px;
  font-size: 0.73rem;
  color: var(--on-dark-faint);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   ABOUT  (light section)
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--on-light-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--navy); }

.about-highlights { display: flex; flex-direction: column; gap: 14px; }

.about-field-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  background: #FFFFFF;
}

.about-field-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.about-field-caption {
  padding: 9px 14px;
  font-size: 0.73rem;
  color: var(--on-light-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border-light);
}

.highlight-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(27,107,123,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-body h4 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.highlight-body p {
  font-size: 0.85rem;
  color: var(--on-light-muted);
  line-height: 1.5;
}

/* =============================================
   WORKSTREAMS  (dark section)
   ============================================= */
.workstreams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ws-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ws-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.30);
}

.ws-card:nth-child(1) { background: var(--teal); }
.ws-card:nth-child(2) { background: var(--green); }
.ws-card:nth-child(3) { background: var(--navy-deep); border: 1px solid rgba(255,255,255,0.08); }

.ws-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 12px;
}

.ws-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.ws-card p {
  color: rgba(255,255,255,0.76);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ws-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ws-list li::before {
  content: '→';
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Scope table heading in dark section */
.section--alt h3[style] { color: #FFFFFF !important; }

/* =============================================
   SCOPE TABLE
   ============================================= */
.scope-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.scope-table th {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.50);
  padding: 12px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.scope-table td {
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.02);
}

.scope-table td:first-child { color: #FFFFFF; font-weight: 600; }
.scope-table tbody tr:last-child td { border-bottom: none; }
.scope-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.05); }
.scope-table tbody tr:hover td { background: rgba(255,255,255,0.07); }

.scope-check { color: #34d399; font-weight: 700; }
.scope-cross  { color: #f87171; font-weight: 700; }

/* =============================================
   FIELD TEST PHOTO GALLERY
   ============================================= */
.field-photo-section { margin-top: 48px; }

.field-photo-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}

.field-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.field-photo-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.04);
}

.field-photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.field-photo-caption {
  padding: 9px 14px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* =============================================
   FOCUS AREAS  (light section)
   ============================================= */
.focus-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.area-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.area-icon { font-size: 1.8rem; margin-bottom: 12px; }

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

.area-card .area-size {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.area-card .area-unit {
  font-size: 0.75rem;
  color: var(--on-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.area-coords {
  font-size: 0.72rem;
  color: var(--on-light-faint);
  font-family: 'Courier New', monospace;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 4px 8px;
  display: inline-block;
}

/* =============================================
   HAZARDS  (inside light Focus Areas section)
   ============================================= */
.hazards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hazard-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.hazard-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hazard-emoji { font-size: 1.6rem; flex-shrink: 0; }

.hazard-item h4 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.hazard-item p {
  font-size: 0.8rem;
  color: var(--on-light-muted);
  line-height: 1.45;
}

/* Heading inside monitored hazards (light section, inline styles) */
.section:not(.section--alt) h3.section-title { color: var(--navy) !important; }

/* =============================================
   MILESTONES  (dark section)
   ============================================= */
.milestones-timeline {
  position: relative;
  padding-left: 32px;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(255,255,255,0.08) 60%);
}

.milestone {
  position: relative;
  padding-bottom: 36px;
}

.milestone:last-child { padding-bottom: 0; }

.milestone::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.18);
  z-index: 1;
}

.milestone.completed::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(232,160,32,0.5);
}

.milestone.active::before {
  background: var(--teal);
  border-color: var(--teal);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0px rgba(27,107,123,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(27,107,123,0.1); }
}

.milestone-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.milestone-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}

.milestone-tag.completed { background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-border); }
.milestone-tag.active    { background: rgba(27,107,123,0.20); color: #6dd5e3; border: 1px solid rgba(27,107,123,0.4); }
.milestone-tag.upcoming  { background: rgba(255,255,255,0.05); color: var(--on-dark-faint); border: 1px solid rgba(255,255,255,0.10); }

.milestone-week {
  font-size: 0.78rem;
  color: var(--on-dark-faint);
}

.milestone h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.milestone p {
  font-size: 0.87rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
  max-width: 620px;
}

.milestone-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.milestone-deliverables span {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 5px;
  padding: 3px 9px;
  color: var(--on-dark-faint);
}

/* =============================================
   TEAM  (light section)
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(27,107,123,0.10);
  border: 2px solid rgba(27,107,123,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.team-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.83rem;
  color: var(--on-light-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.team-email { font-size: 0.78rem; }
.team-email a { color: var(--on-light-faint); font-family: monospace; }
.team-email a:hover { color: var(--teal); }

.team-hosts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.host-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow);
}

.host-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(27,107,123,0.10);
  border: 2px solid rgba(27,107,123,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.host-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.host-title {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.host-card p {
  font-size: 0.82rem;
  color: var(--on-light-muted);
  line-height: 1.55;
}

/* =============================================
   DELIVERABLES  (dark section)
   ============================================= */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

a.deliverable-item { color: inherit; text-decoration: none; display: flex; }

.deliverable-item--primary {
  grid-column: span 3;
  background: var(--teal) !important;
  border: none !important;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition) !important;
}

.deliverable-item--primary:hover {
  background: var(--teal-hover) !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,107,123,0.40) !important;
}

.deliverable-item--primary h4 { font-size: 1rem; color: #FFFFFF !important; }
.deliverable-item--primary p  { color: rgba(255,255,255,0.75) !important; }

.deliverable-item--primary .deliverable-icon {
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.15) !important;
  border: none !important;
}

.deliverable-item--secondary { grid-column: span 2; opacity: 0.78; }
.deliverable-item--secondary:hover { opacity: 1; }

.deliverable-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), background var(--transition);
}

.deliverable-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

.deliverable-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.deliverable-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.deliverable-item p {
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  line-height: 1.4;
}

/* =============================================
   PROJECT UPDATES  (dark compact section)
   ============================================= */
.updates-section {
  padding: 56px 0 !important;
  background: var(--navy-deep) !important;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.updates-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.updates-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}

.updates-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0px rgba(52,211,153,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,0.0); }
}

.update-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-lg);
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.update-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.update-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--on-dark-faint);
}

.update-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.35;
}

.update-body {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  line-height: 1.72;
}

.update-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.update-image-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--on-dark-faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.update-image-placeholder-inner span:first-child { font-size: 1.7rem; }

.update-image-caption {
  font-size: 0.72rem;
  color: var(--on-dark-faint);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-dark);
  color: var(--on-dark-muted);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 35px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.65; }

.footer-col h4 {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: var(--on-dark-muted); font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--on-dark-faint);
}

.footer-bottom a { color: var(--on-dark-faint); }
.footer-bottom a:hover { color: var(--gold); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .workstreams-grid    { grid-template-columns: 1fr 1fr; }
  .hero-layout         { grid-template-columns: 1fr 340px; gap: 40px; }
  .hero-image-wrap img { height: 340px; }
}

@media (max-width: 900px) {
  .update-card         { grid-template-columns: 1fr; gap: 24px; }
  .update-image-placeholder { aspect-ratio: 16 / 7; }
  .hero-layout         { grid-template-columns: 1fr; }
  .hero-image-wrap     { display: none; }
  .about-grid          { grid-template-columns: 1fr; gap: 36px; }
  .workstreams-grid    { grid-template-columns: 1fr; }
  .focus-areas-grid    { grid-template-columns: repeat(2, 1fr); }
  .hazards-grid        { grid-template-columns: repeat(2, 1fr); }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid   { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid .deliverable-item--primary   { grid-column: span 1; }
  .deliverables-grid .deliverable-item--secondary { grid-column: span 1; }
  .footer-grid         { grid-template-columns: 1fr; gap: 28px; }
  .team-hosts          { grid-template-columns: 1fr; }
  .navbar-nav          { display: none; }
}

@media (max-width: 700px) {
  .field-photo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section              { padding: 56px 0; }
  .section--alt         { padding: 56px 0; }
  .hero                 { padding: 64px 0 56px; }
  .focus-areas-grid     { grid-template-columns: 1fr 1fr; }
  .hazards-grid         { grid-template-columns: 1fr; }
  .team-grid            { grid-template-columns: 1fr; }
  .deliverables-grid    { grid-template-columns: 1fr; }
  .deliverables-grid .deliverable-item--primary   { grid-column: span 1; }
  .deliverables-grid .deliverable-item--secondary { grid-column: span 1; }
  .hero-stats           { gap: 24px; }
}
