/* ==========================================================================
   Pari Solutions — Core Stylesheet
   EOT Crane Engineering, Execution & Lifecycle Technology
   Semantic HTML5 + CSS3, no frameworks, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour palette — derived from the Pari Solutions mark */
  --navy-900: #0a1930;
  --navy-800: #0f2544;
  --navy-700: #16345e;
  --navy-600: #274a78;
  --navy-500: #3c6296;
  --gold-600: #876828;
  --gold-500: #c9a24d;
  --gold-400: #d9bc7a;
  --gold-100: #f6efdd;
  --grey-900: #20242b;
  --grey-700: #454b54;
  --grey-500: #6b7480;
  --grey-300: #b7bfc8;
  --grey-200: #d7dde3;
  --grey-100: #eef1f4;
  --grey-50:  #f5f7f9;
  --white:    #ffffff;
  --graphite: #262b33;

  /* Semantic roles */
  --color-bg: var(--white);
  --color-bg-alt: var(--grey-50);
  --color-bg-navy: var(--navy-800);
  --color-bg-navy-deep: var(--navy-900);
  --color-text: var(--graphite);
  --color-text-muted: var(--grey-500);
  --color-text-on-navy: #eef2f7;
  --color-text-on-navy-muted: #aab8cc;
  --color-border: var(--grey-200);
  --color-border-on-navy: rgba(238, 242, 247, 0.16);
  --color-link: var(--navy-700);
  --color-accent: var(--gold-500);
  --color-accent-deep: var(--gold-600);
  --color-focus: #1866c7;
  --color-success: #1c6e4a;
  --color-success-bg: #eaf5ef;
  --color-error: #a12b2b;
  --color-error-bg: #fbecec;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.6rem, 1.35rem + 1.1vw, 2.1rem);
  --text-4xl: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --text-5xl: clamp(2.4rem, 1.85rem + 2.6vw, 3.6rem);

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 1.25rem;
  --radius-sm: 3px;
  --radius-md: 5px;
  --border-w: 1px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;

  --shadow-sm: 0 1px 2px rgba(10, 25, 48, 0.06), 0 1px 1px rgba(10, 25, 48, 0.04);
  --shadow-md: 0 6px 20px rgba(10, 25, 48, 0.08), 0 2px 6px rgba(10, 25, 48, 0.06);
  --shadow-lg: 0 16px 40px rgba(10, 25, 48, 0.14);
}

@media (min-width: 768px) {
  :root { --container-pad: 2rem; }
}
@media (min-width: 1024px) {
  :root { --container-pad: 2.5rem; }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--color-link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:not([class]) { color: var(--navy-700); }

ul, ol { padding: 0; list-style: none; }

table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 {
  line-height: var(--leading-tight);
  font-weight: 700;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 68ch; }
p.no-max { max-width: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   3. Accessibility helpers
   -------------------------------------------------------------------------- */
.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;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 1000;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease);
}
.skip-link:focus {
  top: var(--space-4);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible { outline-offset: 3px; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-9);
}
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--color-bg-alt); }
.section--navy {
  background: var(--navy-900);
  color: var(--color-text-on-navy);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--border-top { border-top: var(--border-w) solid var(--color-border); }

.section-header {
  max-width: 760px;
  margin-bottom: var(--space-8);
}
.section-header.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-4);
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.section-title { margin-bottom: var(--space-4); }
.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}
.section--navy .section-intro { color: var(--color-text-on-navy-muted); }

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-8);
}

/* Grids */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.stack { display: flex; flex-direction: column; gap: var(--space-4); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.2;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: normal;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
  box-shadow: inset 0 -2px 0 var(--gold-500);
}
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-secondary:hover { background: var(--navy-800); color: var(--white); }

.section--navy .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.55); }
.section--navy .btn-secondary:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: transparent;
  padding-inline: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-ghost:hover { color: var(--gold-600); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: var(--text-sm); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--text-lg); }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 84px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand-logo { width: 168px; height: auto; }

.main-nav { display: none; }

.nav-list {
  display: flex;
  align-items: stretch;
  gap: var(--space-2);
}
.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-800);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--gold-600); }
.nav-link[aria-current="page"] {
  color: var(--gold-600);
  box-shadow: inset 0 -2px 0 var(--gold-500);
}

.chevron {
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--dur-fast) var(--ease);
}
.has-dropdown[data-open="true"] .chevron { transform: rotate(-135deg); margin-top: 3px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.4rem;
}
.has-dropdown[data-open="true"] .dropdown-menu { display: block; }

.dropdown-menu li + li { margin-top: 2px; }
.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}
.dropdown-menu a:hover { background: var(--grey-50); color: var(--gold-600); }
.dropdown-divider {
  margin-top: 0.5rem !important;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}
.dropdown-divider a { font-weight: 600; color: var(--navy-700); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.header-actions .btn { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  width: 20px; height: 2px;
  background: var(--navy-900);
  display: block;
  position: relative;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: block;
  position: fixed;
  top: var(--mobile-nav-top, 84px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 490;
  background: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-5) var(--container-pad) var(--space-9);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s linear var(--dur-base);
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

body.nav-open,
body.modal-open { overflow: hidden; }

.mobile-nav-list > li + li { border-top: 1px solid var(--color-border); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.25rem;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy-900);
  min-height: 44px;
}
.mobile-dropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.mobile-dropdown-panel {
  display: none;
  padding: 0 0 1rem 0.75rem;
}
.mobile-dropdown-toggle[aria-expanded="true"] + .mobile-dropdown-panel { display: block; }
.mobile-dropdown-panel a {
  display: block;
  padding: 0.7rem 0.5rem;
  color: var(--navy-700);
  font-weight: 500;
  min-height: 44px;
}
.mobile-nav-cta { margin-top: var(--space-6); }
.mobile-nav-cta .btn { width: 100%; margin-bottom: var(--space-3); }

@media (max-width: 1023.98px) {
  .header-inner { min-height: 72px; }
  .brand-logo { width: 142px; }
  .mobile-nav { top: var(--mobile-nav-top, 72px); }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy-900);
  color: var(--color-text-on-navy);
  padding-block: var(--space-10) var(--space-9);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); }
}

.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero-body {
  font-size: var(--text-lg);
  color: var(--color-text-on-navy-muted);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
  margin-bottom: var(--space-7);
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: var(--space-3);
  max-width: 760px;
  margin-bottom: var(--space-7);
}
.hero-actions .btn { width: 100%; min-height: 56px; }
@media (min-width: 640px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--gold-400);
  text-transform: uppercase;
  border-top: 1px solid var(--color-border-on-navy);
  padding-top: var(--space-5);
}

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

.page-hero {
  background: var(--navy-900);
  color: var(--color-text-on-navy);
  padding-block: var(--space-9) var(--space-8);
  border-bottom: 3px solid var(--gold-500);
}
.page-hero h1 { color: var(--white); }
.page-hero .section-intro { color: var(--color-text-on-navy-muted); max-width: 70ch; }
.page-hero .eyebrow { color: var(--gold-400); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-on-navy-muted);
  margin-bottom: var(--space-5);
  letter-spacing: 0.03em;
}
.breadcrumb a { color: var(--color-text-on-navy-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { margin-inline: 0.5em; opacity: 0.6; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--grey-300); }

.card-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}
.card-icon svg { width: 26px; height: 26px; }

.card-title { font-size: var(--text-xl); margin-bottom: 0; }
.card-text { color: var(--color-text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.card-link {
  margin-top: auto;
  padding-top: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--navy-800);
  text-decoration: none;
}
.card-link:hover { color: var(--gold-600); }
.card-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.card-link:hover svg { transform: translateX(3px); }

.entry-card { border-top: 3px solid var(--navy-800); }
.entry-card .card-icon { color: var(--gold-600); border-color: var(--gold-400); }

/* Numbered lifecycle stages */
.lifecycle-list {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 768px) {
  .lifecycle-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lifecycle-list { grid-template-columns: repeat(3, 1fr); }
}
.lifecycle-stage {
  background: var(--white);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.lifecycle-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.lifecycle-stage h3 { font-size: var(--text-lg); }
.lifecycle-stage p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Working method steps */
.method-list { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .method-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .method-list { grid-template-columns: repeat(3, 1fr); } }

.method-step {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  background: var(--white);
}
.method-step-index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--white);
  background: var(--navy-800);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.method-step h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.method-field { margin-top: var(--space-3); }
.method-field dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.method-field dd { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* Stats */
.stat-row { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat { border-left: 3px solid var(--gold-500); padding-left: var(--space-4); }
.stat-number {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy-900);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.section--navy .stat-number { color: var(--white); }
.stat-label { font-size: var(--text-sm); color: var(--color-text-muted); }
.section--navy .stat-label { color: var(--color-text-on-navy-muted); }

/* Project / case study cards */
.project-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card-head {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--grey-50);
}
.project-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.project-card-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); flex: 1; }
.project-field dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.project-field dd { font-size: var(--text-sm); color: var(--color-text); margin: 0; line-height: var(--leading-normal); }
.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-border);
}
.project-stats .stat-number { font-size: var(--text-xl); }
.project-stats .stat-label { font-size: 0.7rem; }

.disclosure-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  background: var(--grey-50);
  line-height: var(--leading-relaxed);
}
.disclosure-note strong { color: var(--navy-800); }
.section--navy .disclosure-note {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-border-on-navy);
  color: var(--color-text-on-navy-muted);
}
.section--navy .disclosure-note strong { color: var(--white); }

/* Industry cards */
.industry-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--white);
}
.industry-card .card-icon { margin-bottom: 0; flex: none; }
.industry-card h3 { font-size: var(--text-base); margin-bottom: 0.35rem; }
.industry-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy-900);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .faq-icon {
  flex: none;
  width: 24px; height: 24px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  position: relative;
}
.faq-item > summary .faq-icon::before,
.faq-item > summary .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy-800);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item > summary .faq-icon::before { width: 10px; height: 1.5px; }
.faq-item > summary .faq-icon::after { width: 1.5px; height: 10px; transition: opacity var(--dur-fast) var(--ease); }
.faq-item[open] > summary .faq-icon::after { opacity: 0; }
.faq-item[open] > summary { color: var(--gold-600); }
.faq-answer { padding: 0 var(--space-2) var(--space-5); color: var(--color-text-muted); max-width: 68ch; }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7);
}
.section--navy .form-panel { background: var(--white); color: var(--color-text); }

.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.span-2 { grid-column: 1 / -1; }

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-900);
}
.form-required { color: var(--color-error); margin-left: 0.15em; }
.form-optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: var(--text-base);
  background: var(--white);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(22, 52, 94, 0.14);
  outline: none;
}
.form-input[aria-invalid="true"], .form-select[aria-invalid="true"], .form-textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}
.form-input[aria-invalid="true"]:focus, .form-textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(161, 43, 43, 0.14);
}

.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); }
.form-error-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  font-weight: 600;
  display: none;
}
.form-error-msg:not(:empty) { display: block; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.form-check input[type="checkbox"] {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 0.15rem;
  accent-color: var(--navy-800);
}
.form-check label { font-size: var(--text-sm); color: var(--color-text-muted); line-height: var(--leading-normal); }

.form-optional-toggle {
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  background: var(--grey-50);
}
.form-optional-toggle > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.form-optional-toggle > summary::-webkit-details-marker { display: none; }
.form-optional-toggle > summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 700;
  width: 18px; height: 18px;
  border: 1.5px solid var(--navy-800);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex: none;
}
.form-optional-toggle[open] > summary::before { content: "\2212"; }
.form-optional-toggle .form-grid { margin-top: var(--space-5); }

.form-honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.form-privacy-note { font-size: var(--text-xs); color: var(--color-text-muted); }

.form-status {
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  display: none;
  align-items: flex-start;
  gap: 0.6em;
  margin-bottom: var(--space-5);
}
.form-status.is-visible { display: flex; }
.form-status[data-state="success"] { background: var(--color-success-bg); color: var(--color-success); border: 1px solid #b9ddc6; }
.form-status[data-state="error"] { background: var(--color-error-bg); color: var(--color-error); border: 1px solid #eec3c3; }
.form-status[data-state="loading"] { background: var(--grey-100); color: var(--navy-800); border: 1px solid var(--color-border); }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(15, 37, 68, 0.25);
  border-top-color: var(--navy-800);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
  flex: none;
  margin-top: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; border-top-color: rgba(15, 37, 68, 0.25); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.download-ready {
  display: none;
  border: 1px solid #b9ddc6;
  background: var(--color-success-bg);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-top: var(--space-5);
}
.download-ready.is-visible { display: block; }

/* Reusable enquiry popup used by every contact-detail CTA outside contact.html. */
.enquiry-modal[hidden] { display: none; }
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(5, 14, 28, 0.78);
  backdrop-filter: blur(3px);
}
.enquiry-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.enquiry-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-size: 1.7rem;
  line-height: 1;
}
.enquiry-modal-close:hover { background: var(--grey-50); border-color: var(--grey-300); }
.enquiry-modal-header {
  padding-right: 3.5rem;
  margin-bottom: var(--space-6);
}
.enquiry-modal-header .eyebrow { margin-bottom: var(--space-3); }
.enquiry-modal-header h2 { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
.enquiry-modal-header p:last-child { color: var(--color-text-muted); }
.enquiry-modal-form .form-textarea { min-height: 100px; }
.enquiry-modal-form .form-submit-row { margin-top: var(--space-5); }

.inline-enquiry-prompt {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: var(--space-6);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.inline-enquiry-prompt p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.two-col .inline-enquiry-prompt { margin-inline: 0; }

@media (max-width: 639.98px) {
  .enquiry-modal { place-items: end center; padding: 0; }
  .enquiry-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 0.5rem);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: var(--space-5) var(--container-pad) var(--space-7);
  }
  .enquiry-modal-header { padding-right: 3rem; }
  .enquiry-modal-header h2 { font-size: var(--text-2xl); }
}

fieldset { border: none; padding: 0; }
legend {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  padding: 0;
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   11. Technical illustration / diagram frames
   -------------------------------------------------------------------------- */
.diagram-frame {
  border: 1px solid var(--color-border-on-navy);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  padding: var(--space-5);
  position: relative;
}
.diagram-frame.on-light { border-color: var(--color-border); background: var(--grey-50); }
.diagram-caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-on-navy-muted);
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-on-navy);
  padding-top: var(--space-3);
}
.diagram-frame.on-light .diagram-caption { color: var(--color-text-muted); border-color: var(--color-border); }

/* UI placeholder panels (Technology page) */
.ui-placeholder {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ui-placeholder-bar {
  background: var(--navy-900);
  color: var(--color-text-on-navy-muted);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.ui-placeholder-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.4; }
.ui-placeholder-title { margin-left: auto; letter-spacing: 0.04em; text-transform: uppercase; }
.ui-placeholder-body { padding: var(--space-5); }
.ui-placeholder-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: var(--text-sm);
}
.ui-placeholder-row:last-child { border-bottom: none; }
.ui-placeholder-swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.ui-placeholder-bar-chart { flex: 1; height: 8px; background: var(--grey-100); border-radius: 4px; overflow: hidden; }
.ui-placeholder-bar-chart > span { display: block; height: 100%; background: var(--gold-500); }
.ui-placeholder-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  flex: none;
}
.ui-placeholder-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: 0.75rem 1.25rem;
  background: var(--grey-50);
  border-top: 1px dashed var(--color-border);
}

/* Photography placeholder (where real project photos will go) */
.photo-placeholder {
  border: 1.5px dashed var(--grey-300);
  border-radius: var(--radius-md);
  background: var(--grey-50);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-6);
  color: var(--color-text-muted);
}
.photo-placeholder svg { width: 34px; height: 34px; opacity: 0.5; margin-bottom: var(--space-2); }
.photo-placeholder strong { color: var(--navy-800); font-size: var(--text-sm); }
.photo-placeholder span { font-size: var(--text-xs); max-width: 32ch; }

/* Inline technical-diagram SVG helpers (hero visual, etc.) */
.svg-line { stroke: var(--color-text-on-navy-muted); stroke-width: 1.5; fill: none; }
.svg-line-strong { stroke: var(--white); stroke-width: 2; fill: none; }
.svg-accent { stroke: var(--gold-500); fill: none; stroke-width: 2; }
.svg-accent-fill { fill: var(--gold-500); }
.svg-hook { fill: var(--gold-500); }
.svg-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--color-text-on-navy-muted);
  letter-spacing: 0.04em;
}
.svg-label-accent {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--gold-400);
  letter-spacing: 0.04em;
  font-weight: 700;
}
.svg-dim { stroke: var(--grey-300); stroke-width: 1; fill: none; }
.svg-fill-navy { fill: var(--navy-700); }
.svg-fill-none { fill: none; }
.svg-ground { stroke: var(--color-border-on-navy); stroke-width: 1; }

/* --------------------------------------------------------------------------
   12. Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.table-technical { min-width: 560px; font-size: var(--text-sm); }
.table-technical th, .table-technical td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--color-border);
}
.table-technical thead th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.table-technical tbody tr:last-child td { border-bottom: none; }
.table-technical tbody tr:nth-child(even) { background: var(--grey-50); }

/* --------------------------------------------------------------------------
   13. Misc components
   -------------------------------------------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: var(--navy-700);
  background: var(--grey-50);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-600);
  border: 1px solid var(--gold-400);
  background: var(--gold-100);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
}

.icon-list { display: flex; flex-direction: column; gap: var(--space-4); }
.icon-list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.icon-list .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.icon-list .tick svg { width: 12px; height: 12px; }
.icon-list.outline .tick {
  background: var(--white);
  border: 1.5px solid var(--navy-800);
  color: var(--navy-800);
}
.section--navy .icon-list.outline .tick { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }

/* Numbered process steps (solution-page working process) */
.process-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--color-border); }
.process-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.process-step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-600);
  font-size: var(--text-lg);
}
.process-step h3 { font-size: var(--text-lg); margin-bottom: 0.35rem; }
.process-step p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* Technical scope definition grid */
.scope-grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
.scope-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.scope-item h3 { font-size: var(--text-base); margin-bottom: 0.4rem; }
.scope-item p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

.two-col {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
.two-col > * { min-width: 0; }
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.wide-left { grid-template-columns: 1.3fr 1fr; }
}

.two-col .diagram-frame { align-self: center; }

.callout {
  border-left: 3px solid var(--gold-500);
  background: var(--grey-50);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.callout p:last-child { margin-bottom: 0; }

.cta-band {
  background: var(--navy-900);
  color: var(--color-text-on-navy);
  padding-block: var(--space-9);
  text-align: center;
  border-top: 3px solid var(--gold-500);
}
.cta-band h2 { color: var(--white); }
.cta-band .section-intro { color: var(--color-text-on-navy-muted); max-width: 60ch; margin-inline: auto; margin-bottom: var(--space-7); }
.cta-band .btn-group { justify-content: center; }

/* Keep outlined CTAs legible on every dark surface, not only .section--navy. */
.hero .btn-secondary,
.page-hero .btn-secondary,
.cta-band .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.72);
}
.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.cta-band .btn-secondary:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.resource-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.resource-meta { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.resource-meta dt { font-weight: 700; color: var(--navy-800); display: inline; }
.resource-meta dd { display: inline; margin: 0 0 0 0.3em; }
.resource-meta div { display: flex; gap: 0.4em; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--color-text-on-navy-muted);
  padding-top: var(--space-9);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-on-navy);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand-logo {
  width: 150px;
  height: auto;
  background: var(--white);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}
.footer-tagline { font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 32ch; }
.footer-col h3 {
  color: var(--white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--color-text-on-navy-muted); font-size: var(--text-sm); text-decoration: none; }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact address { font-style: normal; font-size: var(--text-sm); display: flex; flex-direction: column; gap: 0.7rem; }
.footer-social { margin-top: var(--space-5); display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--color-border-on-navy);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { border-color: var(--gold-500); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-5);
  font-size: var(--text-xs);
}
.footer-bottom-links { display: flex; gap: var(--space-5); }
.footer-bottom a { color: var(--color-text-on-navy-muted); }
.footer-bottom a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   15. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-inline: auto; }
.max-w-prose { max-width: 68ch; }
.max-w-none { max-width: none; }
.hidden { display: none !important; }

@media (max-width: 767.98px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .show-mobile-only { display: none !important; }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer, .form-panel, .skip-link { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
