/* ================================================================
   NATIVE GRID — Australian Urban Ecology & Restoration
   Clean, bespoke editorial design system
   ================================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Editorial Palette */
  --bg-page:        #FAF9F5;
  --bg-surface:     #FFFFFF;
  --bg-subtle:      #F2EFEB;
  --bg-dark:        #16281D;       /* Soft dark eucalyptus green */
  --bg-dark-soft:   #1A2F23;
  --bg-dark-card:   #1E3527;

  --text-main:      #1A241E;
  --text-muted:     #526056;
  --text-subtle:    #7C8A81;
  --text-inverse:   #F5F7F5;
  --text-inv-muted: #A6B9AC;

  --accent-ochre:   #C28828;
  --accent-ochre-d: #A6701B;
  --accent-green:   #254832;
  --accent-green-l: #3A694B;

  --border-light:   #E5E0D8;
  --border-dark:    #284232;

  /* Typography */
  --font-sans:     'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:    'Newsreader', Georgia, Cambria, 'Times New Roman', serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.45rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.375rem;
  --fs-4xl:  3.25rem;
  --fs-hero: clamp(2.25rem, 4.5vw, 3.5rem);

  /* Spacing */
  --sp-2xs: 0.25rem;
  --sp-xs:  0.5rem;
  --sp-sm:  0.75rem;
  --sp-md:  1.25rem;
  --sp-lg:  2rem;
  --sp-xl:  3.5rem;
  --sp-2xl: 5.5rem;
  --sp-3xl: 7.5rem;

  /* Structure */
  --container-max: 1360px;
  --nav-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --transition: 0.25s var(--ease-standard);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: var(--fs-base);
}

/* ── SKIP LINK ───────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-ochre);
  color: #FFFFFF;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus {
  top: var(--sp-sm);
}

/* ── LAYOUT UTILITIES ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.content-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Eyebrows & Section Headings */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: var(--sp-xs);
}

.eyebrow--light {
  color: var(--accent-ochre);
}

.section-meta {
  margin-bottom: var(--sp-xl);
}

.section-meta--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-3xl));
  line-height: 1.25;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--sp-xs);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
}

.btn--solid {
  background-color: var(--accent-green);
  color: #FFFFFF;
  border: 1px solid var(--accent-green);
}
.btn--solid:hover {
  background-color: var(--accent-green-l);
  border-color: var(--accent-green-l);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}
.btn--outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-main);
}

.btn--block {
  width: 100%;
}

/* ── HEADER & NAVIGATION (Light & Crisp on White) ─────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-name strong {
  font-weight: 700;
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav-link {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-main);
}

.nav-link--contact {
  color: var(--accent-green);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-green);
  padding-bottom: 0.2rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-xs);
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition), opacity var(--transition);
}

/* ── HERO SECTION (Clean White Background, Reduced Height) ───── */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 1.75rem);
  padding-bottom: 2.5rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(380px, 1.25fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-lead {
  max-width: 560px;
}

.hero-tagline {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: var(--sp-2xs);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: var(--sp-xs);
}

.hero-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

/* ── HERO RIGHT: HORIZONTAL PRIORITY PROGRAM CARDS (Dark Green & Expanded) ── */
.hero-programs {
  width: 100%;
  min-width: 0; /* allows flexbox overflow-x */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-programs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2px;
}

.hero-programs-title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.2;
}

.carousel-nav {
  display: flex;
  gap: var(--sp-xs);
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.carousel-btn:hover {
  background-color: var(--accent-green);
  color: #FFFFFF;
  border-color: var(--accent-green);
}

.hero-programs-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  padding-top: 2px;
  padding-left: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
  scroll-behavior: smooth;
}

.hero-programs-track::-webkit-scrollbar {
  height: 5px;
}

.hero-programs-track::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}

.program-card--hero {
  flex: 0 0 clamp(310px, 28vw, 350px);
  width: clamp(310px, 28vw, 350px);
  scroll-snap-align: start;
  background-color: #172D20;
  border: 1px solid #274533;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(18, 38, 26, 0.16);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.program-card--hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 38, 26, 0.24);
  border-color: var(--accent-ochre);
}

.program-card-media {
  position: relative;
  aspect-ratio: 16 / 8.5;
  height: 125px;
  overflow: hidden;
  background-color: #101E16;
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card--hero:hover .program-card-media img {
  transform: scale(1.04);
}

.program-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(14, 26, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.program-card-content {
  padding: 0.9rem 1.05rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9FB8A7;
  margin-bottom: 3px;
}

.program-card-heading {
  font-family: var(--font-serif);
  font-size: 1.025rem;
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.program-card-text {
  font-size: 0.8rem;
  color: #C2D6C7;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  flex-grow: 1;
}

.program-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
}

.spec-label {
  font-weight: 700;
  color: var(--accent-ochre);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}

.spec-value {
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 1px;
}

/* ── ABOUT / MISSION SECTION ─────────────────────────────────── */
.mission-section {
  background-color: var(--bg-page);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.editorial-prose {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--text-muted);
}

.editorial-prose p {
  margin-bottom: var(--sp-md);
}

.lead-paragraph {
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.6;
}


/* ── HABITAT LAYERS CALLOUT (Natural Stratification in Editorial Prose) ── */
.habitat-layers-callout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background-color: #F6F8F6;
  border-left: 3px solid var(--accent-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.habitat-layer-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.habitat-layer-row:hover,
.habitat-layer-row:focus-visible,
.habitat-layer-row.active-row {
  background-color: rgba(46, 125, 50, 0.1);
  transform: translateX(4px);
}

.habitat-layer-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-green);
  line-height: 1.4;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.habitat-layer-row.active-row .habitat-layer-num {
  color: #1B4D2E;
  transform: scale(1.15);
}

.habitat-layer-desc strong {
  color: var(--color-charcoal);
  font-weight: 600;
}

/* ── HABITAT STRATA FIGURE (Interactive Botanical Sketch, No Header) ── */
.strata-sketch-container {
  width: 100%;
}

.strata-card {
  margin: 0;
  background-color: #0F1612;
  border: 1px solid #22382B;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 26, 19, 0.22);
}

.strata-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2272 / 1884;
  background-color: #000000;
  overflow: hidden;
}

.strata-chalk-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Stratum Interactive Zones (Hover to light up each section) */
.stratum-zone {
  position: absolute;
  left: 0;
  width: 100%;
  cursor: pointer;
  z-index: 10;
  outline: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.zone-canopy {
  top: 0;
  height: 42%;
}

.zone-midstory {
  top: 42%;
  height: 38%;
}

.zone-groundcover {
  top: 80%;
  height: 20%;
}

/* Luminous soft ambient lighting on hover & active */
.zone-canopy:hover,
.zone-canopy:focus-visible,
.zone-canopy.active-zone {
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 245, 180, 0.2) 0%, rgba(255, 255, 255, 0.06) 60%, transparent 100%);
  box-shadow: inset 0 0 35px rgba(255, 245, 180, 0.12);
}

.zone-midstory:hover,
.zone-midstory:focus-visible,
.zone-midstory.active-zone {
  background: radial-gradient(ellipse at 45% 50%, rgba(255, 200, 180, 0.2) 0%, rgba(255, 255, 255, 0.06) 60%, transparent 100%);
  box-shadow: inset 0 0 35px rgba(255, 200, 180, 0.12);
}

.zone-groundcover:hover,
.zone-groundcover:focus-visible,
.zone-groundcover.active-zone {
  background: radial-gradient(ellipse at 50% 60%, rgba(200, 245, 160, 0.2) 0%, rgba(255, 255, 255, 0.06) 60%, transparent 100%);
  box-shadow: inset 0 0 35px rgba(200, 245, 160, 0.12);
}

.strata-caption {
  padding: 1.15rem 1.35rem 1.25rem;
  background-color: #0B120E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  line-height: 1.6;
  color: #B2C5B7;
  transition: background-color 0.25s ease;
}

.strata-caption strong {
  color: #FFFFFF;
  font-weight: 600;
  margin-right: 0.25rem;
  transition: color 0.25s ease;
}


/* ── METHODOLOGY & DATA SECTION ──────────────────────────────── */
.data-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.data-method-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.methodology-flow {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.flow-step {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}

.step-counter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--accent-green);
  font-weight: 700;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body h4 {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--sp-2xs);
}

.step-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Case study / provenance sidebar box */
.case-study-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.case-study-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-study-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  padding: var(--sp-lg);
}

.case-study-content h4 {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--sp-sm);
}

.case-study-content p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

.provenance-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-sm);
}

.point-row {
  display: flex;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--text-muted);
}

.point-row strong {
  color: var(--text-main);
}

.point-bullet {
  color: var(--accent-ochre);
  font-size: var(--fs-md);
  line-height: 1;
}

/* ── MAP CALLOUT SECTION ─────────────────────────────────────── */
.map-callout-section {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}

.map-callout-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.map-callout-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(22, 40, 29, 0.8) 0%, rgba(22, 40, 29, 0.98) 100%);
}

.map-callout-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.map-heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  line-height: 1.2;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: var(--sp-md);
}

.map-summary {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text-inv-muted);
  margin-bottom: var(--sp-xl);
}

.map-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--sp-lg);
}

.map-detail-card h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: var(--sp-2xs);
}

.map-detail-card p {
  font-size: var(--fs-xs);
  color: var(--text-inv-muted);
  line-height: 1.55;
}

.map-actions {
  display: flex;
}

/* ── CONTACT & ENQUIRIES SECTION ─────────────────────────────── */
.contact-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-details-side {
  padding-right: var(--sp-md);
}

.contact-intro {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--sp-xl);
}

.inquiry-types-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.inquiry-item-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--sp-2xs);
}

.inquiry-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.direct-contact-block {
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.contact-line {
  display: flex;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
}

.contact-label {
  font-weight: 700;
  color: var(--text-subtle);
  width: 70px;
  flex-shrink: 0;
}

.contact-value {
  color: var(--text-main);
  font-weight: 500;
}

.contact-value:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

/* Form Styling */
.form-container-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.form-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--sp-lg);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xs);
}

.form-field label,
.form-field legend {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.req {
  color: #C0392B;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  color: var(--text-main);
  font-size: var(--fs-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 72, 50, 0.12);
}

.checkbox-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xs);
  margin-top: var(--sp-2xs);
}

.check-item {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-green);
  cursor: pointer;
}

.form-acknowledgement {
  padding: var(--sp-sm) var(--sp-md);
  background-color: #EBF5EE;
  border: 1px solid #C3E6CB;
  color: #155724;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-wrap {
  max-width: 420px;
}

.site-footer .brand-name {
  color: #FFFFFF;
}

.site-footer .brand-name strong {
  color: #FFFFFF;
}

.footer-description {
  font-size: var(--fs-sm);
  color: var(--text-inv-muted);
  line-height: 1.6;
  margin-top: var(--sp-sm);
}

.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.footer-navigation a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-inv-muted);
  transition: color var(--transition);
}

.footer-navigation a:hover {
  color: #FFFFFF;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-lg);
  padding-top: var(--sp-lg);
  font-size: var(--fs-xs);
  color: var(--text-inv-muted);
  line-height: 1.6;
}

.footer-acknowledgement {
  max-width: 720px;
}

.footer-copyright {
  white-space: nowrap;
}

/* ── RESPONSIVE STYLES ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-programs-track {
    padding-bottom: var(--sp-md);
  }
}

@media (max-width: 960px) {
  .editorial-grid,
  .data-method-split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .contact-details-side {
    padding-right: 0;
  }

  .footer-top-row {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: var(--sp-sm);
  }
}

@media (max-width: 768px) {
  .nav-menu-wrapper {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    padding: var(--sp-lg);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav-menu-wrapper.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
  }

  .nav-toggle {
    display: flex;
  }

  .form-grid-2,
  .checkbox-options {
    grid-template-columns: 1fr;
  }

  .program-card--hero {
    flex: 0 0 280px;
    width: 280px;
  }
}

/* ================================================================
   BLOG & ARTICLE READER STYLES
   Bespoke editorial cards, filter bar, and reader modal
   ================================================================ */
.blog-section {
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.blog-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-lg);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}

.blog-header-lead {
  max-width: 680px;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

.filter-chip {
  appearance: none;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: var(--text-main);
  border-color: var(--accent-green);
  background-color: #FFFFFF;
}

.filter-chip.active {
  background-color: var(--accent-green);
  color: #FFFFFF;
  border-color: var(--accent-green);
  box-shadow: 0 2px 8px rgba(37, 72, 50, 0.2);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22, 40, 29, 0.09);
  border-color: rgba(37, 72, 50, 0.3);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0, 0, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(22, 40, 29, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.blog-card-content {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  margin-bottom: var(--sp-xs);
  flex-wrap: wrap;
}

.blog-author {
  font-weight: 600;
  color: var(--text-main);
}

.meta-dot {
  opacity: 0.4;
}

.blog-read-time {
  background-color: var(--bg-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: var(--sp-sm);
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--accent-green);
}

.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-lg);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent-green);
  cursor: pointer;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.2s ease;
}

.blog-read-btn svg {
  transition: transform 0.25s ease;
}

.blog-read-btn:hover {
  color: var(--accent-ochre-d);
  gap: 0.75rem;
}

.blog-read-btn:hover svg {
  transform: translateX(3px);
}

/* Empty state */
.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ================================================================
   ARTICLE READER MODAL
   Full editorial overlay for long-form reading
   ================================================================ */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.article-modal[hidden] {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.article-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.article-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalEnter 0.35s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--accent-green);
  color: #FFFFFF;
  border-color: var(--accent-green);
  transform: rotate(90deg);
}

.article-modal-scroll {
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 3.75rem);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Full Article Content Typography */
.article-full-header {
  margin-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--sp-lg);
}

.article-full-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-sm);
}

.article-tag-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-ochre-d);
  background-color: rgba(194, 136, 40, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.article-full-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: var(--sp-md);
}

.article-full-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-full-author {
  font-weight: 600;
  color: var(--text-main);
}

.article-full-cover-wrap {
  margin-block: var(--sp-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.article-full-cover-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-full-excerpt {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--accent-green);
  border-left: 3px solid var(--accent-ochre);
  padding-left: 1.25rem;
  margin-block: var(--sp-lg);
}

.article-prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2D3A30;
}

.article-prose h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.article-prose p {
  margin-bottom: 1.5rem;
}

.article-prose strong {
  color: var(--text-main);
  font-weight: 600;
}

.article-prose blockquote {
  border-left: 3px solid var(--accent-ochre);
  padding-left: 1.25rem;
  font-style: italic;
  margin-block: 1.75rem;
  color: var(--text-muted);
}

.article-full-footer {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.article-footer-cta {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-footer-cta-text h4 {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.article-footer-cta-text p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .blog-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-modal {
    padding: 0.5rem;
  }

  .article-modal-scroll {
    padding: 1.5rem 1.25rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }

  .article-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
