/* ═══════════════════════════════════════════════════════════════════════════
   ST. WERBURGH'S HOSPITAL — Premium Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --forest:       #064e3b;
  --forest-mid:   #0f766e;
  --forest-light: #14b8a6;
  --forest-pale:  #e6f7f5;
  --gold:         #b5891a;
  --gold-bright:  #d4a520;
  --gold-pale:    #fdf8ec;
  --ink:          #0c1c17;
  --ink-75:       rgba(12,28,23,.75);
  --muted:        #4b6b62;
  --line:         #d4e6e2;
  --surface:      #ffffff;
  --paper:        #fbfdf9;
  --hero-dark:    #031a14;

  --shadow-xs:  0 1px 3px rgba(6,78,59,.08), 0 1px 2px rgba(6,78,59,.06);
  --shadow-sm:  0 4px 12px rgba(6,78,59,.10), 0 2px 6px rgba(6,78,59,.07);
  --shadow-md:  0 12px 36px rgba(6,78,59,.14), 0 4px 12px rgba(6,78,59,.08);
  --shadow-lg:  0 24px 60px rgba(6,78,59,.18), 0 8px 24px rgba(6,78,59,.10);
  --shadow-gold: 0 8px 28px rgba(181,137,26,.25);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --max:        1160px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

::selection {
  background: var(--gold-bright);
  color: var(--ink);
}

/* ── Typography utilities ── */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--forest-light));
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ═══════════════════════════════════════════════════
   HEADER & NAV
═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-in-out),
              box-shadow 0.4s var(--ease-in-out),
              padding 0.3s var(--ease-in-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(6,78,59,.08), var(--shadow-sm);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 80px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(6,78,59,.14), var(--shadow-sm);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(6deg);
  box-shadow: 0 0 0 7px rgba(6,78,59,.18), var(--shadow-md);
}

.brand-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.3s;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.site-header:not(.scrolled) .brand-text strong,
.site-header:not(.scrolled) .brand-text small {
  color: rgba(255,255,255,.92);
}
.site-header:not(.scrolled) .brand-text small {
  color: rgba(255,255,255,.64);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: color 0.25s, background 0.25s;
}

.site-header.scrolled .nav-links a {
  color: var(--muted);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%; right: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-bright);
  transition: left 0.3s var(--ease-out-expo), right 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  left: 14px; right: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  outline: 0;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus-visible {
  color: var(--forest);
  background: var(--forest-pale);
}

/* CTA nav button */
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-gold);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-bright) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(181,137,26,.35) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s, background 0.25s;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--hero-dark);
}

.hero-parallax {
  position: absolute;
  inset: -10%;
  will-change: transform;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3,26,20,.88) 0%, rgba(3,26,20,.58) 50%, rgba(3,26,20,.18) 100%),
    linear-gradient(0deg, rgba(3,26,20,.92) 0%, rgba(3,26,20,.3) 40%, transparent 70%);
}

/* Subtle noise texture overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 160px 0 180px;
  color: #fff;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.9);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,165,32,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(212,165,32,.0); }
}

/* Hero title */
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 7.5vw, 6.2rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 900px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 36px;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out-expo),
              box-shadow 0.22s,
              background 0.22s,
              border-color 0.22s;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e00;
  box-shadow: 0 4px 16px rgba(181,137,26,.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(181,137,26,.45);
}

.button.secondary {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

.button.secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.button.full { width: 100%; }

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

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.8);
}

.hero-stat {
  flex: 1;
  padding: 22px 20px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-hint-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 56px;
  max-width: 680px;
}

.section-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   INTRO SECTION
═══════════════════════════════════════════════════ */
.intro {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-lead h2 {
  margin-top: 12px;
}

.intro-body > p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 36px;
}

.intro-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--forest-pale);
  border-left: 3px solid var(--forest-mid);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--forest);
  transition: transform 0.22s var(--ease-out-expo);
}

.pillar:hover { transform: translateX(4px); }

.pillar-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--forest-mid);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

/* ═══════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════ */
.services {
  background: linear-gradient(160deg, #f0faf8 0%, var(--paper) 60%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-color 0.35s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest-mid), var(--forest-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

/* Decorative number */
.card-num {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--line);
  line-height: 1;
  user-select: none;
  transition: color 0.35s;
}

.service-card:hover .card-num { color: rgba(6,78,59,.08); }

.service-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: var(--forest-pale);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.3s var(--ease-out-expo);
  color: var(--forest-mid);
}

.service-card:nth-child(even) .service-icon-wrap {
  background: var(--gold-pale);
  color: var(--gold);
}

.service-card:hover .service-icon-wrap {
  background: var(--forest);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.service-card:nth-child(even):hover .service-icon-wrap {
  background: var(--gold);
}

.service-icon-svg {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   HISTORY SECTION
═══════════════════════════════════════════════════ */
.history {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.history-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(20,184,166,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(181,137,26,.08) 0%, transparent 50%);
  pointer-events: none;
}

.history-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.history .section-kicker { color: var(--gold-bright); }

.history h2 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 28px;
}

.history-copy p {
  color: rgba(255,255,255,.72);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 32px;
}

.timeline-track {
  position: absolute;
  top: 18px; bottom: 18px;
  left: 7px;
  width: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
}

.timeline-track::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold-bright), var(--forest-light));
  border-radius: 2px;
  transition: height 1.5s var(--ease-out-expo);
}

.timeline.is-visible .timeline-track::after { height: 100%; }

.timeline-item {
  position: relative;
  padding: 0 0 20px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.3);
  background: var(--forest);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.timeline-dot--active {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(212,165,32,.25);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--gold-bright);
  transform: scale(1.25);
}

.timeline-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  transition: background 0.3s, transform 0.3s var(--ease-out-expo);
}

.timeline-card--active {
  background: rgba(212,165,32,.14);
  border-color: rgba(212,165,32,.3);
}

.timeline-item:hover .timeline-card {
  background: rgba(255,255,255,.13);
  transform: translateX(4px);
}

.timeline-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.timeline-card span {
  font-size: 0.92rem;
  color: rgba(255,255,255,.76);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   LEADERSHIP SECTION
═══════════════════════════════════════════════════ */
.leadership {
  background: var(--surface);
  overflow: hidden;
}

.leader-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 64px;
  align-items: center;
}

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

.leader-image-frame {
  position: absolute;
  top: 16px; left: 16px; right: -16px; bottom: -16px;
  border-radius: var(--radius-lg);
  background: var(--forest-pale);
  border: 1px solid var(--line);
  z-index: 0;
}

.leader-image-wrap picture {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.leader-image-wrap img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.leader-image-wrap:hover img { transform: scale(1.03); }

.leader-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold-bright);
  margin-bottom: 8px;
  opacity: 0.6;
}

.leader-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.1;
}

.leader-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.leader-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 32px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════
   OUTREACH SECTION
═══════════════════════════════════════════════════ */
.outreach {
  background: var(--paper);
}

.outreach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outreach .section-kicker { color: var(--gold); }

.outreach-copy h2 {
  margin-top: 12px;
  margin-bottom: 16px;
}

.outreach-copy > p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 30px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s var(--ease-out-expo), box-shadow 0.22s;
}

.check-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.check-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  flex-shrink: 0;
}

.outreach-image {
  position: relative;
}

.outreach-img-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-pale), var(--forest-pale));
  border: 1px solid var(--line);
  z-index: 0;
}

.outreach-image picture {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.outreach-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.outreach-image:hover img { transform: scale(1.03); }

/* ═══════════════════════════════════════════════════
   GALLERY SECTION
═══════════════════════════════════════════════════ */
.gallery {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 290px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s;
}

.gallery-item:hover { box-shadow: var(--shadow-lg); }

.gallery-item.wide { grid-row: span 2; }

.gallery-item picture {
  display: block;
  width: 100%; height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

.gallery-item.portrait-fit img {
  object-fit: contain;
  object-position: center top;
  background: #e8efed;
}

.gallery-item:hover img { transform: scale(1.06); }

/* Caption overlay */
.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(3,26,20,.72) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════ */
.contact {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(20,184,166,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(181,137,26,.1) 0%, transparent 55%);
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact .section-kicker { color: var(--gold-bright); }

.contact-intro h2 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 18px;
}

.contact-intro > p {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 28px;
}

.contact-social-row {
  font-size: 0.82rem;
  color: rgba(255,255,255,.48);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Contact panel */
.contact-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel-row:first-child { padding-top: 0; }
.contact-panel-row:last-of-type { border-bottom: none; padding-bottom: 22px; }

.contact-panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--forest-pale);
  color: var(--forest-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-panel-row > div { flex: 1; }

.contact-panel-row strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-panel-row a:not(.button),
.contact-panel-row span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

.contact-panel-row a:not(.button):hover { color: var(--forest-mid); }

.contact-panel .button.primary {
  margin-top: 8px;
  border-radius: var(--radius-md);
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--hero-dark);
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-top:hover {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out-expo),
              transform 0.75s var(--ease-out-expo);
}

[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(0.92); }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.32s; }
[data-delay="4"] { transition-delay: 0.48s; }
[data-delay="5"] { transition-delay: 0.6s; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero content reveals on load */
.hero-badge[data-reveal],
.hero-title[data-reveal],
.hero-copy[data-reveal],
.hero-actions[data-reveal],
.hero-stats[data-reveal] {
  animation: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .gallery-item.wide { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 80px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    display: none;
    gap: 4px;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--ink) !important;
    text-align: left;
  }

  .nav-links a::after { display: none; }

  .nav-links a:hover { background: var(--forest-pale); color: var(--forest) !important; }

  .nav-cta {
    background: var(--forest) !important;
    color: #fff !important;
    justify-content: center;
    text-align: center !important;
  }

  .site-header:not(.scrolled) .brand-text strong { color: var(--ink) !important; }
  .site-header:not(.scrolled) .brand-text small  { color: var(--muted) !important; }
  .site-header:not(.scrolled) .nav-toggle span   { background: var(--ink) !important; }
  .site-header:not(.scrolled) .nav-toggle        { border-color: var(--line) !important; background: #fff !important; }
  .site-header:not(.scrolled) { background: rgba(255,255,255,.96) !important; backdrop-filter: blur(20px); }

  .intro-layout,
  .history-layout,
  .leader-layout,
  .outreach-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }

  .hero-stat {
    flex: 1 1 45%;
    min-width: 140px;
  }

  .hero-stat-divider { display: none; }

  .scroll-hint { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .section-inner { width: calc(100% - 32px); }

  .hero-content {
    width: calc(100% - 32px);
    padding: 120px 0 160px;
  }

  .hero-stats {
    width: calc(100% - 32px);
    margin-bottom: 24px;
  }

  .hero-stat { flex: 1 1 40%; }

  .hero-title { font-size: clamp(2.1rem, 9vw, 3.2rem); }

  .button { width: 100%; justify-content: center; }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item { height: 220px; }
  .gallery-item.wide { grid-column: auto; }

  .hero-stats { gap: 0; }
}

/* ═══════════════════════════════════════════════════
   FOCUS STYLES (accessibility)
═══════════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-bright); }

/* ═══════════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════════ */
@media print {
  .site-header, .scroll-progress, .scroll-hint,
  .hero-actions, .nav-toggle { display: none; }
  .hero { min-height: auto; }
  body { font-size: 11pt; }
}
