/*
Theme Name: Ordium Engineering
Theme URI: https://ordium.com.ng
Author: Ordium Engineering Limited
Author URI: https://ordium.com.ng
Description: Custom WordPress theme for Ordium Engineering Limited — civil, structural and infrastructure engineering consultancy based in Port Harcourt, Nigeria.
Version: 1.2.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ordium
*/

/* ---------- Design tokens ---------- */
:root {
  --radius: 0.125rem;

  --background: #ffffff;
  --foreground: #2a3544;

  --card: #ffffff;
  --card-foreground: #2a3544;
  --popover: #ffffff;
  --popover-foreground: #2a3544;

  --primary: #0F2747;
  --primary-foreground: #ffffff;
  --primary-deep: #0a1f3a;
  --primary-light: #1a4680;

  --secondary: #5a6772;
  --secondary-foreground: #ffffff;

  --muted: #f7f8f9;
  --muted-foreground: #5a6772;

  --accent: #d4af37;
  --accent-foreground: #0F2747;

  --surface: #f7f8f9;

  --destructive: #c9372d;
  --destructive-foreground: #ffffff;

  --border: #e8eaec;
  --input: #e8eaec;
  --ring: #1a4680;

  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

* {
  border-color: var(--border);
}

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

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

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

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

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

/* ---------- Layout primitives ---------- */
.shell {
  width: 100%;
  margin-inline: auto;
  max-width: 82rem;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .shell {
    padding-inline: 3rem;
  }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 7.5rem;
  }
}

.rule-top {
  border-top: 1px solid var(--border);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

.eyebrow.text-primary-foreground\/60,
.text-primary-foreground .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow.text-primary-foreground\/60::before,
.text-primary-foreground .eyebrow::before {
  background: rgba(255, 255, 255, 0.5);
}

.display-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.display-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 46rem;
}

.prose-body {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.prose-body p {
  margin-block: 1.25rem;
}

.prose-body h2 {
  font-size: 1.6rem;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}

.prose-body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose-body ul {
  margin-block: 1.25rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.prose-body li {
  margin-block: 0.4rem;
}

.prose-body strong {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Controls ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.875rem;
  padding-inline: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  cursor: pointer;
  text-align: center;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.btn-outline {
  border-color: var(--border);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.btn-ondark {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--primary-foreground);
  background: transparent;
}

.btn-ondark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-foreground);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #c4a132;
  border-color: #c4a132;
}

.field {
  width: 100%;
  min-height: 2.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: border-color 180ms ease, box-shadow 180ms ease;
  font-family: var(--font-sans);
}

.field::placeholder {
  color: var(--muted-foreground);
}

.field:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26, 70, 128, 0.16);
}

textarea.field {
  min-height: 8rem;
  resize: vertical;
}

.label-sm {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

/* ---------- Surfaces ---------- */
.card-flat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 220ms ease, transform 220ms ease;
}

.card-flat:hover {
  border-color: rgba(15, 45, 82, 0.35);
}

.hairline-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ---------- Utilities ---------- */
.bg-background { background-color: var(--background); }
.bg-surface { background-color: var(--surface); }
.bg-primary { background-color: var(--primary); }
.bg-primary-deep { background-color: var(--primary-deep); }
.bg-muted { background-color: var(--muted); }
.bg-accent\/5 { background-color: rgba(212, 175, 55, 0.05); }

.text-foreground { color: var(--foreground); }
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-accent { color: var(--accent); }

.border-border { border-color: var(--border); }
.border-primary-foreground\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-accent\/30 { border-color: rgba(212, 175, 55, 0.3); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.font-display { font-family: var(--font-display); }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-\[0\.12em\] { letter-spacing: 0.12em; }
.tracking-\[0\.14em\] { letter-spacing: 0.14em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }

.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-46rem { max-width: 46rem; }
.mx-auto { margin-inline: auto; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-11 { margin-top: 2.75rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }

.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.py-2 { padding-block: 0.5rem; }
.py-3\.5 { padding-block: 0.875rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 1.25rem; }
.py-6 { padding-block: 1.5rem; }
.py-16 { padding-block: 4rem; }

.px-0 { padding-inline: 0; }
.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }

.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }

.pt-6 { padding-top: 1.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-28 { padding-top: 7rem; }

.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-10 { gap: 2.5rem; }
.gap-11 { gap: 2.75rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }
.gap-px { gap: 1px; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.size-full { width: 100%; height: 100%; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.h-px { height: 1px; }
.min-h-10 { min-height: 2.5rem; }
.min-h-11 { min-height: 2.75rem; }
.min-w-11 { min-width: 2.75rem; }

.aspect-16\/9 { aspect-ratio: 16 / 9; }
.aspect-4\/3 { aspect-ratio: 4 / 3; }
.aspect-16\/10 { aspect-ratio: 16 / 10; }

.object-cover { object-fit: cover; }

.overflow-hidden { overflow: hidden; }

.rounded-sm { border-radius: calc(var(--radius) - 1px); }

.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.shrink-0 { flex-shrink: 0; }

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; }
.transition-transform { transition-property: transform; transition-duration: 700ms; }
.duration-700 { transition-duration: 700ms; }

.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary-light:hover { color: var(--primary-light); }
.hover\:scale-\[1\.03\]:hover { transform: scale(1.03); }
.group:hover .group-hover\:scale-\[1\.03\] { transform: scale(1.03); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

.relative { position: relative; }
.isolate { isolation: isolate; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { inset: 0; }
.-z-10 { z-index: -10; }
.z-50 { z-index: 50; }

.backdrop-blur-sm { backdrop-filter: blur(8px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
  left: 1rem;
  top: 0.75rem;
  z-index: 50;
  border-radius: var(--radius);
  background: var(--primary);
  padding: 0.5rem 1rem;
  color: var(--primary-foreground);
  font-size: 0.875rem;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo img {
  height: 42px;
  width: auto;
}

@media (min-width: 640px) {
  .site-header__inner {
    height: 88px;
  }
  .site-logo img {
    height: 48px;
  }
}

@media (min-width: 1024px) {
  .site-logo img {
    height: 52px;
  }
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.primary-nav a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 200ms ease;
}

.primary-nav a:hover,
.primary-nav a.current {
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}

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

.mobile-nav a {
  display: block;
  border-bottom: 1px solid var(--border);
  padding-block: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .primary-nav,
  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav.is-open {
    display: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 200ms ease;
}

.site-footer a:hover {
  color: var(--primary-foreground);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--primary-deep);
  color: var(--primary-foreground);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(90deg, var(--primary-deep) 8%, transparent 85%);
}

.hero__inner {
  display: flex;
  min-height: clamp(560px, 82vh, 860px);
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4rem;
  padding-top: 7rem;
}

@media (min-width: 768px) {
  .hero__inner {
    padding-bottom: 6rem;
  }
}

/* ---------- Page hero ---------- */
.page-hero {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--border);
}

/* ---------- Cards ---------- */
.project-card img,
.insight-card img,
.service-card img {
  transition: transform 700ms ease;
}

.project-card:hover img,
.insight-card:hover img,
.service-card:hover img {
  transform: scale(1.03);
}

/* ---------- Status badges ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: calc(var(--radius) - 1px);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge--delivered,
.status-badge--co-delivered {
  background: rgba(15, 45, 82, 0.1);
  color: var(--primary);
}

.status-badge--capability {
  background: var(--muted);
  color: var(--muted-foreground);
}

/* ---------- Forms ---------- */
.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* ---------- Grids ---------- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:pb-24 { padding-bottom: 6rem; }
  .md\:py-24 { padding-block: 6rem; }
}

@media (min-width: 1024px) {
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:items-end { align-items: flex-end; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:p-8 { padding: 2rem; }
}

/* ---------- WordPress defaults ---------- */
.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =======================================================================
   Fix pass: utility classes referenced in templates but never defined.
   (These are remnants of the original React/Tailwind build — this theme
   has no Tailwind compiler, so any class not explicitly defined here or
   above simply does nothing. Audited against every .php template.)
   ======================================================================= */

.gap-4  { gap: 1rem; }
.gap-x-10 { column-gap: 2.5rem; }
.gap-x-12 { column-gap: 3rem; }
.gap-y-10 { row-gap: 2.5rem; }
.gap-y-16 { row-gap: 4rem; }

.max-w-sm { max-width: 24rem; }
.not-italic { font-style: normal; }
.pt-8 { padding-top: 2rem; }

.lg\:col-span-5 { }
.lg\:order-1 { }
.lg\:order-2 { }
@media (min-width: 1024px) {
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}

.md\:flex-row { }
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
}

.text-primary-foreground\/70 { color: rgba(255, 255, 255, 0.70); }
.text-primary-foreground\/75 { color: rgba(255, 255, 255, 0.75); }

/* Named replacements for the old Tailwind arbitrary-value classes
   (text-[1.05rem] etc.) — bracket syntax needs a JIT compiler this
   theme doesn't have, so those rules were silently inert. Every
   PHP template has been updated to use these instead. */
.text-card-title    { font-size: 1.05rem; }
.text-card-title-lg { font-size: 1.1rem; }
.text-card-title-xl { font-size: 1.35rem; }
.text-detail-heading { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* =======================================================================
   Fix pass: page banner system for inner pages.
   Previously .page-hero was a flat, imageless strip on every inner page.
   This mirrors the working homepage .hero pattern (image + scrim +
   light text) at a shorter height suited to secondary pages.
   ======================================================================= */

.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--primary-deep);
  color: var(--primary-foreground);
  border-bottom: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(100deg, var(--primary-deep) 15%, rgba(10, 31, 58, 0.55) 85%);
}

.page-hero .shell {
  min-height: clamp(280px, 38vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero h1 {
  color: var(--primary-foreground);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.8);
}

/* .text-muted-foreground is designed for light body sections; the one
   place it's used inside a hero (insight meta line) needs to stay
   legible against the new photo background. */
.page-hero .text-muted-foreground {
  color: rgba(255, 255, 255, 0.7);
}
