/* Far Horizon Group — dark editorial system ("dawn at altitude").
   Hybrid ruling 2026-07-21: multi-page structure, single deliberate dark
   theme, serif display over system sans, gold as the only accent.
   The brand board (assets/brand/fhg-brand-board.png) is art direction,
   not spec. */

:root {
  --deep: #050d16;
  --navy: #08131f;
  --panel: #0b1a29;
  --panel-2: #0e2032;
  --line: rgba(150, 178, 205, 0.13);
  --line-2: rgba(150, 178, 205, 0.24);
  --ink: #eef3f8;
  --slate: #93a8bf;
  --dim: #6f869d;
  --gold: #d4a24a;
  --gold-bright: #f0c46b;
  --gold-ink: #1a1206;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --content: 74rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--gold-ink);
  background: var(--gold-bright);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2.5rem), 48rem);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 5.4rem);
  line-height: 1.04;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

p {
  margin: 0;
}

.lede {
  max-width: 47rem;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(5, 13, 22, 0.92);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  animation: header-in 180ms ease-out;
}

@keyframes header-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-shell {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-link img {
  width: 13.5rem;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav a {
  position: relative;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.6rem;
  left: 0;
  height: 1px;
  background: var(--gold-bright);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0.65rem 1.1rem;
  color: var(--gold-ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
}

.site-nav .nav-cta:hover {
  color: var(--gold-ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  display: none;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 1.2rem;
  height: 1px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span {
  margin-block: 0.3rem;
}

.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: translateY(0.37rem) rotate(45deg); }
.nav-open .menu-toggle::after { transform: translateY(-0.37rem) rotate(-45deg); }

/* Dawn at altitude: gold glow rising from below a thin horizon line,
   sparse stars above. */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(120% 78% at 50% 108%, rgba(240, 196, 107, 0.22), rgba(212, 162, 74, 0.05) 34%, transparent 60%),
    linear-gradient(180deg, #050d16 0%, #071523 46%, #0a1c2c 74%, #0c2333 100%);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0 0 40% 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #cfe0f0, transparent),
    radial-gradient(1px 1px at 70% 18%, #bcd0e6, transparent),
    radial-gradient(1px 1px at 42% 44%, #e6eef8, transparent),
    radial-gradient(1px 1px at 86% 36%, #aac2dc, transparent),
    radial-gradient(1px 1px at 12% 58%, #cfe0f0, transparent);
  content: "";
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 24%;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 196, 107, 0.55), transparent);
  content: "";
}

.page-hero::after {
  bottom: 0;
}

.hero {
  min-height: 54rem;
  display: grid;
  align-items: center;
  padding: 10.5rem 0 6rem;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: 4rem;
}

.hero h1 {
  max-width: 14ch;
}

.hero .lede {
  margin-top: 1.8rem;
}

.button-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  min-height: 3.2rem;
  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--gold-ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button.secondary,
.button.dark {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-2);
}

.button.secondary:hover,
.button.dark:hover {
  color: var(--gold-bright);
  background: transparent;
  border-color: var(--gold);
}

.compass-stage {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.compass-stage::before,
.compass-stage::after {
  position: absolute;
  border: 1px solid rgba(212, 162, 74, 0.22);
  border-radius: 50%;
  content: "";
}

.compass-stage::before { inset: 12%; }
.compass-stage::after { inset: 26%; }

.compass-stage img {
  position: relative;
  z-index: 2;
  width: 62%;
  filter: drop-shadow(0 24px 30px rgba(2, 7, 12, 0.6));
}

.compass-label {
  position: absolute;
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.compass-label.north { top: 5%; left: 50%; transform: translateX(-50%); }
.compass-label.east { top: 50%; right: 3%; transform: translateY(-50%); }
.compass-label.south { bottom: 5%; left: 50%; transform: translateX(-50%); }
.compass-label.west { top: 50%; left: 3%; transform: translateY(-50%); }

.purpose-band {
  position: relative;
  z-index: 5;
  margin-top: -2rem;
}

.purpose-band-inner {
  padding: clamp(1.6rem, 4vw, 2.7rem);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 2rem;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.purpose-band h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.purpose-band p {
  color: var(--slate);
  font-size: 1.05rem;
}

.section {
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.section.dark {
  color: var(--ink);
  background: linear-gradient(180deg, var(--panel), var(--navy));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.slate {
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 3rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading > div:first-child {
  max-width: 48rem;
}

.section-heading .lede {
  margin-top: 1.2rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration-color: var(--gold);
  text-transform: uppercase;
}

.pillar-grid,
.product-grid,
.value-grid,
.support-grid {
  display: grid;
  gap: 1.2rem;
}

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

.pillar-card {
  min-height: 22rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: rgba(11, 26, 41, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pillar-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.pillar-card::after {
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(212, 162, 74, 0.22);
  border-radius: 50%;
  content: "";
}

.card-index {
  margin-bottom: auto;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}

.pillar-card h3 {
  max-width: 14ch;
  font-size: 1.7rem;
}

.pillar-card p {
  margin-top: 1rem;
  color: var(--slate);
}

.pillar-card a {
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration-color: rgba(212, 162, 74, 0.55);
}

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

.product-card {
  min-height: 22rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: rgba(5, 13, 22, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product-card.featured {
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 162, 74, 0.14), transparent 32%),
    var(--panel);
  border-color: var(--line-2);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-family {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status {
  padding: 0.35rem 0.65rem;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid rgba(240, 196, 107, 0.4);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status.development {
  color: var(--dim);
  border-color: var(--line-2);
}

.status.review {
  color: var(--slate);
  border-color: var(--line-2);
}

.product-card h3 {
  margin-top: 2rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.product-card p {
  margin-top: 1rem;
  color: var(--slate);
}

.product-card-footer {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-card-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-decoration-color: rgba(212, 162, 74, 0.55);
}

.product-card-footer span {
  color: var(--dim);
  font-size: 0.8rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-copy {
  padding: clamp(2rem, 6vw, 5rem);
}

.split-copy .lede { margin-top: 1.3rem; }

.detail-list {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  list-style: none;
}

.detail-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--slate);
}

.detail-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.split-art {
  min-height: 33rem;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    linear-gradient(rgba(5, 13, 22, 0.55), rgba(5, 13, 22, 0.88)),
    url("../brand/fhg-brand-board.webp") center / cover;
}

.split-art::after {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  content: "";
}

.split-art-note {
  max-width: 19rem;
  padding: 1.3rem;
  position: relative;
  z-index: 2;
  background: rgba(5, 13, 22, 0.86);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.split-art-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.split-art-note span {
  margin-top: 0.4rem;
  display: block;
  color: var(--slate);
  font-size: 0.88rem;
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  padding: 1.6rem;
  border-top: 1px solid var(--gold);
}

.value-card h3 {
  font-size: 1.35rem;
}

.value-card p {
  margin-top: 0.75rem;
  color: var(--slate);
}

.cta-wrap {
  padding: 0 0 clamp(5.5rem, 10vw, 9rem);
}

.cta-panel {
  padding: clamp(2.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 162, 74, 0.16), transparent 32%),
    linear-gradient(180deg, var(--panel), var(--navy));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cta-panel::after {
  position: absolute;
  right: -10rem;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(212, 162, 74, 0.25);
  border-radius: 50%;
  content: "";
}

.cta-panel > * {
  position: relative;
  z-index: 2;
}

.cta-panel h2 { max-width: 16ch; }
.cta-panel .lede { margin-top: 1.2rem; }

.page-hero {
  min-height: 33rem;
  padding: 12rem 0 6rem;
  display: flex;
  align-items: end;
}

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

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.page-hero .lede { margin-top: 1.5rem; }

.intro-grid,
.service-layout,
.contact-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.sticky-label {
  align-self: start;
  position: sticky;
  top: 8rem;
}

.prose {
  display: grid;
  gap: 1.4rem;
  color: var(--slate);
  font-size: 1.06rem;
}

.prose h2,
.prose h3 {
  color: var(--ink);
}

.prose h2:not(:first-child) { margin-top: 2.5rem; }
.prose h3:not(:first-child) { margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.2rem; }
.prose strong { color: var(--ink); }

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(11, 26, 41, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-card-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}

.service-card h3 { margin-top: 1.4rem; }
.service-card p { margin-top: 0.8rem; color: var(--slate); }

.service-card ul {
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.service-card li {
  padding: 0.35rem 0.65rem;
  color: var(--slate);
  background: rgba(150, 178, 205, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
}

.notice {
  padding: 1.25rem 1.4rem;
  color: #e6d3a8;
  background: rgba(212, 162, 74, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mt-md { margin-top: 1.5rem; }
.cta-top { padding-top: clamp(5.5rem, 10vw, 9rem); }
.full-viewport { min-height: 100vh; }

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

.support-card {
  padding: 1.8rem;
  background: rgba(11, 26, 41, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.support-card h3 { font-size: 1.4rem; }
.support-card p { margin-top: 0.75rem; color: var(--slate); }
.support-card a { margin-top: 1.2rem; display: inline-block; font-weight: 600; color: var(--gold-bright); text-decoration-color: rgba(212, 162, 74, 0.55); }

.contact-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: rgba(5, 13, 22, 0.6);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(212, 162, 74, 0.25);
}

.form-note,
.form-status {
  color: var(--dim);
  font-size: 0.82rem;
}

.form-status {
  min-height: 1.5rem;
  color: #8fd0ae;
  font-weight: 700;
}

.contact-aside {
  align-self: start;
  display: grid;
  gap: 1.6rem;
}

.contact-method {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.contact-method span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-method strong,
.contact-method a {
  margin-top: 0.4rem;
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.brand-board {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.site-footer {
  padding: 4rem 0 2rem;
  color: var(--dim);
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
}

.footer-brand img { width: 14rem; }
.footer-brand p { max-width: 24rem; margin-top: 1.2rem; color: var(--dim); }

.footer-column h2 {
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.footer-column a {
  color: var(--slate);
  text-decoration-color: rgba(212, 162, 74, 0.45);
}

.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a { text-decoration-color: rgba(212, 162, 74, 0.45); }

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

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

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

  .site-nav {
    position: fixed;
    inset: 5.75rem 0 auto;
    max-height: calc(100vh - 5.75rem);
    padding: 2rem 1.25rem 2.5rem;
    display: grid;
    align-content: start;
    gap: 0;
    background: rgba(5, 13, 22, 0.98);
    border-top: 1px solid var(--line-2);
    transform: translateY(-130%);
    transition: transform 200ms ease;
  }

  .nav-open .site-nav { transform: translateY(0); }

  .site-nav a {
    padding: 1rem 0.4rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 1px solid var(--gold); }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .compass-stage { width: min(80vw, 27rem); margin-inline: auto; }

  .purpose-band-inner,
  .split-panel,
  .intro-grid,
  .service-layout,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .support-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 18rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-label { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container,
  .narrow { width: min(calc(100% - 1.5rem), var(--content)); }
  .nav-shell { min-height: 5rem; }
  .brand-link img { width: 11.5rem; }
  .site-nav { inset: 5rem 0 auto; max-height: calc(100vh - 5rem); }
  .hero { padding-top: 8rem; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .page-hero { min-height: 29rem; padding-top: 9rem; }
  .purpose-band { margin-top: -1rem; }
  .purpose-band-inner { padding: 1.5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .product-grid,
  .value-grid,
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .product-card { min-height: 20rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  body { color: #10202f; background: #fff; }
  .site-header,
  .site-footer,
  .cta-wrap,
  .menu-toggle { display: none !important; }
  .hero,
  .page-hero { min-height: auto; padding: 2rem 0; color: #10202f; background: #fff; }
  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after { display: none; }
  .hero .lede,
  .page-hero .lede,
  .lede,
  .prose { color: #3d5165; }
  .prose h2,
  .prose h3,
  .prose strong { color: #10202f; }
  .section { padding: 2rem 0; }
}
