/* === 01-tokens-and-base.css === */
/* ==========================================================================
   ASDIS Method — Design Tokens, Base Typography & Core Primitives
   Brand Palette:
     Deep Navy: #13293D
     Steel Blue: #6998B6
     Accessible Primary Accent: #1E5E8A
   ========================================================================== */

:root {
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EEF3F7;

  --ink-900: #13293D;
  --ink-700: #2C4254;
  --ink-500: #51687B;
  --border: #D8E2EB;
  --border-strong: #B8C7D4;

  --brand-steel: #6998B6;
  --brand-cerulean: #6998B6;
  --brand-primary: #1E5E8A;
  --brand-primary-dark: #154567;
  --brand-sky: #8FC1DF;
  --brand-droplet: #68BCE6;
  --brand-tint: #EBF3F9;
  --brand-tint-soft: #F2F8FC;

  --amber-review: #B45309;
  --amber-bg: #FFFBEB;
  --amber-border: #F59E0B;

  --pro-green: #166534;
  --pro-bg: #F0FDF4;
  --pro-border: #BBF7D0;

  --con-terra: #9A3412;
  --con-bg: #FFF7ED;
  --con-border: #FED7AA;

  --solar-gold: #D99B26;

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container-max: 1140px;
  --measure-max: 72ch;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(19, 41, 61, 0.06), 0 1px 2px rgba(19, 41, 61, 0.04);
  --shadow-md: 0 10px 28px rgba(19, 41, 61, 0.08), 0 2px 6px rgba(19, 41, 61, 0.04);
  --shadow-lg: 0 20px 44px rgba(19, 41, 61, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.03125rem;
  line-height: 1.72;
  color: var(--ink-700);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
  min-width: 0;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--brand-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
}

h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin-top: 0;
  margin-bottom: 1.05rem;
  text-align: left;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: max(2rem, env(safe-area-inset-left)) max(2rem, env(safe-area-inset-right));
}

.reading-column {
  max-width: var(--measure-max);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--brand-primary-dark);
  color: #FFFFFF;
}

.btn-hero-light {
  background-color: #FFFFFF;
  color: var(--ink-900);
}

.btn-hero-light:hover,
.btn-hero-light:focus-visible {
  background-color: #E6F0F7;
  color: var(--ink-900);
}

.btn-hero-outline {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus-visible {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}

/* Editorial Droplet Divider */
.droplet-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 340px;
  color: var(--brand-steel);
}

.droplet-divider::before,
.droplet-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}

.droplet-divider::after {
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.droplet-divider svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Subtle Reveal-on-Scroll */
.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  a {
    transition: none;
  }
}


/* === 02-header-and-droplet.css === */
/* ==========================================================================
   Sticky Glassmorphic Header, Reading Progress, A-Droplet Logo & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.reading-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-steel) 65%, var(--solar-gold) 100%);
  z-index: 1010;
  transition: width 0.08s linear;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

/* Real Cropped Logo + Subtle «A-Droplet» Optical Effect */
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  aspect-ratio: 312 / 116;
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.logo-main {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-droplet-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.site-logo:hover .logo-droplet-fx,
.site-logo:focus-visible .logo-droplet-fx,
.site-logo-wrap.is-droplet-active .logo-droplet-fx {
  opacity: 1;
  filter: brightness(1.12) drop-shadow(0 0 6px rgba(104, 188, 230, 0.78));
}

.logo-droplet-ripple {
  position: absolute;
  left: 13.78%;
  top: 37.93%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(104, 188, 230, 0.88);
  background: radial-gradient(circle, rgba(104, 188, 230, 0.42) 0%, rgba(104, 188, 230, 0) 70%);
  transform: translate(-50%, -50%) scale(0.45);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

@keyframes asdis-droplet-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42);
  }
  28% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.95);
  }
}

.site-logo:hover .logo-droplet-ripple,
.site-logo:focus-visible .logo-droplet-ripple,
.site-logo-wrap.is-droplet-active .logo-droplet-ripple {
  animation: asdis-droplet-pulse 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1;
}

/* Primary Navigation */
.main-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem 1.15rem;
  justify-content: center;
}

.nav-list li {
  margin-bottom: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-steel);
}

.nav-list a.active {
  color: var(--ink-900);
  font-weight: 600;
  border-bottom-color: var(--brand-primary);
}

/* Header Actions & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-switcher a,
.lang-switcher span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-700);
}

.lang-switcher .lang-current {
  background: var(--ink-900);
  color: #FFFFFF;
}

.lang-switcher a:hover,
.lang-switcher a:focus-visible {
  color: var(--brand-primary);
  background: #FFFFFF;
}

/* Animated 3-Bar Hamburger Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-900);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--brand-steel);
  background: var(--brand-tint-soft);
}

.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 18px;
  gap: 4px;
}

.menu-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink-900);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Tablet & Mobile Drawer Base Styles */
@media (max-width: 1024px) {
  .header-inner {
    gap: 0.75rem;
  }

  .site-logo {
    margin-right: auto;
  }

  .header-actions {
    order: 2;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 0.75rem max(1.5rem, env(safe-area-inset-left)) 1.25rem max(1.5rem, env(safe-area-inset-right));
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: flex;
    width: 100%;
    white-space: normal;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .nav-list li:last-child a {
    border-bottom-color: transparent;
  }

  .nav-list a.active {
    background: var(--brand-tint);
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
    padding-left: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress,
  .logo-droplet-fx,
  .menu-toggle,
  .menu-toggle-bars span {
    transition: none;
  }

  .logo-droplet-ripple {
    display: none;
    animation: none;
  }
}


/* === 03-heroes-and-banners.css === */
/* ==========================================================================
   Heroes, Content Sections & Photo Banners
   ========================================================================== */

.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.home-hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 2;
}

.hero-watermark {
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 42vw);
  height: auto;
  opacity: 0.085;
  pointer-events: none;
  z-index: 1;
}

.home-hero {
  background: linear-gradient(155deg, #0B1B29 0%, var(--ink-900) 55%, #1A4263 100%);
  color: #E2ECF3;
  padding: 4.5rem 0 4.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.home-hero .eyebrow {
  color: var(--brand-sky);
}

.home-hero h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.home-hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #CFDCE6;
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061018;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-hero {
  background: linear-gradient(150deg, #0B1B29 0%, var(--ink-900) 60%, #194466 100%);
  color: #D7E4EE;
  padding: 3.5rem 0 3.25rem;
  border-bottom: 3px solid var(--brand-steel);
}

.page-hero .eyebrow {
  color: var(--brand-sky);
}

.page-hero h1 {
  color: #FFFFFF;
  max-width: 24ch;
  margin-bottom: 0.75rem;
}

.page-hero-lead {
  font-size: 1.08rem;
  color: #CBD9E4;
  max-width: 68ch;
  margin-bottom: 0;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #E7F1F8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Content Sections & Surface Alternation */
.content-section {
  padding: 4.25rem 0;
}

.content-section--surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.content-section--subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: var(--ink-900);
  padding-bottom: 0.65rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

/* Photo Banners — scroll attachment by default for mobile & touch safety */
.photo-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 4.75rem 0;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) and (min-height: 541px) {
  .photo-banner {
    background-attachment: fixed;
  }
}

.photo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 41, 0.72) 0%, rgba(19, 41, 61, 0.78) 100%);
}

.photo-banner > .container {
  position: relative;
  z-index: 1;
}

.banner-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #FFFFFF;
  max-width: 28ch;
  margin: 0 auto 1.25rem;
  line-height: 1.3;
}

.banner-subquote {
  font-size: 1.12rem;
  color: #E2ECF3;
  max-width: 58ch;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.banner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.banner-logo img {
  max-height: 88px;
  width: auto;
  object-fit: contain;
}

.banner-logo--framed img {
  background: rgba(255, 255, 255, 0.94);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  max-height: 92px;
}


/* === 04-cards-quotes-and-dossiers.css === */
/* ==========================================================================
   Cards, Institutional Quotes, Figures, Dossiers, Pathways & Publications
   ========================================================================== */

/* Statistic Grids */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.45;
}

/* Structural Content Grids */
.grid-row {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin: 1.75rem 0;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-center {
  align-items: center;
}

/* Institutional Quote Cards */
.institutional-quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.75rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.65rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.institutional-quote-card blockquote {
  margin: 0;
}

.institutional-quote-card p {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-style: italic;
}

.institutional-quote-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.institutional-quote-logo img {
  max-height: 76px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
}

/* Media Figures */
.media-figure {
  margin: 1.75rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.media-figure img {
  margin-inline: auto;
  border-radius: var(--radius-sm);
}

.media-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.5;
}

.media-figure--inline {
  max-width: 520px;
  margin-inline: auto;
}

/* TOC Bar & Pills */
.toc-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.toc-bar-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 0.75rem;
}

.toc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-pills li {
  margin-bottom: 0;
}

.toc-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
}

.toc-pills a:hover,
.toc-pills a:focus-visible,
.toc-pills a.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

/* Method Dossiers */
.method-dossier {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.method-dossier-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-subtle);
}

.method-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-tint);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.method-dossier-header h2 {
  margin: 0;
}

.subblock-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Pros & Cons Grid */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pros-card,
.cons-card {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.pros-card {
  background: var(--pro-bg);
  border: 1px solid var(--pro-border);
}

.cons-card {
  background: var(--con-bg);
  border: 1px solid var(--con-border);
}

.pros-card h3,
.cons-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.pros-card h3 {
  color: var(--pro-green);
}

.cons-card h3 {
  color: var(--con-terra);
}

.pros-card ul,
.cons-card ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
  font-size: 0.94rem;
}

/* SDG Callout */
.callout-sdg {
  background: linear-gradient(135deg, var(--brand-tint) 0%, #FFFFFF 100%);
  border: 1px solid #BDD6E8;
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

/* 3-Step Scientific Process Grid */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.25rem 0;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-tint);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.process-step-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-steel);
  flex-shrink: 0;
}

.process-step-card h3 {
  margin: 0.25rem 0 0;
  color: var(--ink-900);
}

.process-step-card p {
  font-size: 0.94rem;
  color: var(--ink-700);
  margin: 0;
}

/* Oxidation Pathway Flow */
.oxidation-pathway {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin: 2rem 0;
}

.pathway-node {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-steel);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.pathway-step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.pathway-node h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.pathway-node p {
  font-size: 0.9rem;
  color: var(--ink-700);
  margin: 0;
}

.pathway-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-steel);
}

.pathway-arrow svg {
  width: 22px;
  height: 22px;
}

/* Academic Publications */
.publication-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.publication-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.publication-title {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}

.publication-authors {
  font-size: 0.92rem;
  color: var(--ink-700);
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.publication-journal {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.doi-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-tint);
  border: 1px solid #C5DCEE;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}

.doi-pill:hover,
.doi-pill:focus-visible {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

/* Partners, Research Groups & Reference Links */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.partner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.partner-card img {
  max-height: 82px;
  width: auto;
  object-fit: contain;
}

.partner-card p {
  font-weight: 600;
  color: var(--ink-900);
  margin: 0;
  text-align: center;
}

.group-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.group-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.35rem;
  background: #FFFFFF;
  flex-shrink: 0;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.reference-link-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--ink-900);
  font-size: 0.92rem;
}

.reference-link-card strong {
  display: block;
  color: var(--brand-primary);
  margin-bottom: 0.2rem;
}

.reference-link-card span {
  font-size: 0.84rem;
  color: var(--ink-500);
}

.reference-link-card:hover,
.reference-link-card:focus-visible {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}


/* === 05-tables-and-comparisons.css === */
/* ==========================================================================
   Scientific Tables, Impact Badges & SODIS vs. ASDIS Comparison Matrix
   ========================================================================== */

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.asdis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  text-align: left;
}

.asdis-table th,
.asdis-table td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.asdis-table thead th {
  background-color: var(--ink-900);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.asdis-table tbody tr:hover {
  background-color: #F4F8FB;
}

.asdis-table tbody tr:last-child td {
  border-bottom: none;
}

.table-group-row td {
  background-color: var(--bg-subtle);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-impact {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-high {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-mod {
  background: #FEF3C7;
  color: #92400E;
}

/* SODIS vs. ASDIS Comparison Matrix */
.comparison-matrix {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.94rem;
  text-align: left;
}

.comparison-matrix th,
.comparison-matrix td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-matrix tbody tr:last-child td {
  border-bottom: none;
}

.comparison-matrix thead th {
  background: var(--ink-900);
  color: #FFFFFF;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-matrix th.col-asdis,
.comparison-matrix td.col-asdis {
  background: #F2F8FC;
  border-left: 2px solid var(--brand-steel);
  font-weight: 500;
  color: var(--ink-900);
}

.comparison-matrix thead th.col-asdis {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-left: 2px solid var(--brand-steel);
}

.comparison-matrix tbody tr:hover td {
  background-color: #F7FAFC;
}

.comparison-matrix tbody tr:hover td.col-asdis {
  background-color: #E7F2FA;
}


/* === 06-missing-slots.css === */
/* ==========================================================================
   Editorial Review Placeholders — Missing Image / Chart / Content Slots
   ========================================================================== */

.missing-asset-slot {
  margin: 1.5rem 0;
  background-color: var(--amber-bg);
  border: 2px dashed var(--amber-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 200px;
}

.missing-asset-slot--tall {
  min-height: 260px;
}

.missing-asset-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.missing-asset-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--amber-review);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

.missing-asset-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.missing-asset-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-review);
  background: rgba(245, 158, 11, 0.14);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.missing-asset-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.45;
}

.missing-asset-desc {
  font-size: 0.93rem;
  color: var(--ink-700);
  margin: 0;
  line-height: 1.55;
}

.missing-asset-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(180, 83, 9, 0.32);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #78350F;
}

.missing-asset-meta code {
  font-family: var(--font-mono);
  font-size: 0.95em;
  background: rgba(180, 83, 9, 0.08);
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  overflow-wrap: anywhere;
}


/* === 07-contact-and-footer.css === */
/* ==========================================================================
   Contact Layout, Form & Deep Ocean Navy Institutional Footer (#13293D)
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.direct-email-box {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--brand-tint);
  border: 1px solid #C5DCEE;
  border-radius: var(--radius-md);
}

.direct-email-box .eyebrow {
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.direct-email-box a {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--bg-canvas);
}

.form-group textarea {
  resize: vertical;
  min-height: 128px;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #FFFFFF;
  border-color: var(--brand-primary);
}

.form-feedback {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  border: 1px solid var(--brand-primary);
  color: var(--ink-900);
  font-size: 0.93rem;
}

.form-feedback.is-visible {
  display: block;
}

/* Institutional 3-Column Footer (#13293D) */
.site-footer {
  background-color: #13293D;
  color: #CBD9E4;
  padding: 3.5rem 0 max(2.25rem, env(safe-area-inset-bottom));
  border-top: 3px solid var(--brand-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 0.85rem;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-brand-logo img {
  height: 44px;
  width: auto;
  display: block;
  background: transparent;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #B6C9D8;
  max-width: 38ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-sky);
  margin-bottom: 0.85rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-nav a {
  display: inline-block;
  padding-block: 0.22rem;
  color: #DCE7F0;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.35rem;
  font-size: 0.84rem;
  color: #93ADC0;
}


/* === 08-responsive-orientations.css === */
/* ==========================================================================
   Comprehensive Vertical (Portrait) & Horizontal (Landscape) Responsiveness
   ========================================================================== */

/* Prevent horizontal grid/flex blowout on every viewport & orientation */
main,
.header-inner > *,
.home-hero-grid > *,
.stat-grid > *,
.grid-row > *,
.institutional-quote-card > *,
.pros-cons-grid > *,
.process-steps-grid > *,
.oxidation-pathway > *,
.publication-list > *,
.partner-grid > *,
.reference-grid > *,
.contact-layout > *,
.footer-grid > *,
.group-header > * {
  min-width: 0;
}

.doi-pill,
.direct-email-box a,
.reference-link-card,
.publication-title,
.missing-asset-title,
.missing-asset-meta span {
  overflow-wrap: anywhere;
}

/* Touch & Tablet Banner Safety (never use fixed attachment on touch or small viewports) */
@media (hover: none), (max-width: 1024px) {
  .photo-banner {
    background-attachment: scroll;
  }
}

/* ==========================================================================
   Tablet Portrait & Small Desktop (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding-inline: max(1.5rem, env(safe-area-inset-left)) max(1.5rem, env(safe-area-inset-right));
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-grid .video-wrapper {
    max-width: 720px;
    margin-inline: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .toc-pills a {
    min-height: 44px;
  }
}

/* ==========================================================================
   Mobile Portrait (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .container {
    padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
  }

  .hero-watermark {
    width: 240px;
    right: -4rem;
    opacity: 0.05;
  }

  .home-hero {
    padding: 2.75rem 0 3rem;
  }

  .page-hero {
    padding: 2.25rem 0 2rem;
  }

  .content-section {
    padding: 2.75rem 0;
  }

  .photo-banner {
    padding: 3.25rem 0;
    background-attachment: scroll;
  }

  .droplet-divider {
    margin: 1.75rem auto;
  }

  .stat-grid,
  .stat-grid--2,
  .grid-2,
  .grid-3,
  .pros-cons-grid,
  .process-steps-grid,
  .oxidation-pathway,
  .partner-grid,
  .reference-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .pathway-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
    justify-self: center;
  }

  .institutional-quote-card {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1.25rem;
  }

  .institutional-quote-logo {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1rem;
    justify-content: flex-start;
  }

  .method-dossier,
  .group-card,
  .contact-info-card,
  .contact-form-card {
    padding: 1.35rem;
  }

  .group-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-group .btn,
  .contact-form-card .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Narrow Mobile Portrait (<= 390px)
   ========================================================================== */
@media (max-width: 390px) {
  .container {
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.5rem;
  }

  .site-logo-wrap {
    height: 36px;
  }

  .lang-switcher {
    padding: 2px;
    font-size: 0.72rem;
  }

  .lang-switcher a,
  .lang-switcher span {
    min-width: 30px;
    min-height: 28px;
    padding: 0.15rem 0.45rem;
  }

  .main-nav {
    max-height: calc(100dvh - 64px);
    padding: 0.65rem max(1rem, env(safe-area-inset-left)) 1rem max(1rem, env(safe-area-inset-right));
  }

  .method-dossier {
    scroll-margin-top: 80px;
    padding: 1.1rem;
  }

  .missing-asset-slot {
    padding: 1.1rem;
  }
}

/* ==========================================================================
   Mobile & Compact Tablet Landscape (orientation: landscape and max-height: 540px)
   ========================================================================== */
@media (orientation: landscape) and (max-height: 540px) {
  .site-header,
  .header-inner {
    min-height: 52px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .site-logo {
    margin-right: auto;
  }

  .site-logo-wrap {
    height: 34px;
  }

  .header-actions {
    order: 2;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
    min-width: 44px;
    min-height: 44px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 0.65rem max(1.25rem, env(safe-area-inset-left)) 0.95rem max(1.25rem, env(safe-area-inset-right));
    max-height: calc(100dvh - 52px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 1rem;
    align-items: stretch;
  }

  .nav-list a {
    display: flex;
    width: 100%;
    white-space: normal;
    min-height: 40px;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .nav-list li:last-child a {
    border-bottom-color: transparent;
  }

  .home-hero {
    padding: 1.5rem 0;
  }

  .page-hero {
    padding: 1.5rem 0 1.35rem;
  }

  .content-section {
    padding: 2.25rem 0;
  }

  .photo-banner {
    padding: 2.5rem 0;
    background-attachment: scroll;
  }

  .method-dossier {
    scroll-margin-top: 68px;
  }

  .video-wrapper,
  .home-hero-grid .video-wrapper {
    max-height: 70svh;
    max-width: none;
    width: min(100%, calc(70svh * 16 / 9));
    margin-inline: auto;
  }
}

/* ==========================================================================
   Phone & Tablet Landscape Side-by-Side Hero (min-width: 640px, max-height: 540px)
   ========================================================================== */
@media (orientation: landscape) and (min-width: 640px) and (max-height: 540px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: center;
  }

  .home-hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
  }

  .hero-cta-group .btn {
    width: auto;
  }

  .stat-grid,
  .stat-grid--2,
  .pros-cons-grid,
  .partner-grid,
  .reference-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .institutional-quote-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .institutional-quote-logo {
    border-left: 1px solid var(--border);
    border-top: none;
    padding-left: 1.25rem;
    padding-top: 0;
  }
}
