/* Kestrel Air Systems
   ---------------------------------------------------------------------------
   Rebuilt, July 2026. The first version was metronomic — navy block, white
   block, navy block, identical padding, the same three-up card grid, and all
   six ranges at the same visual weight. Every heading was set in all-caps
   Saira, so nothing had hierarchy. The best content on the site was real
   engineering data and it was presented as a plain two-column table.

   This version is data-forward:

     · Numbers are the hero. Duty figures set large in Saira with tabular
       lining figures, because a specifier reads the numbers first.
     · The six ranges become a selection chart — a real volume/pressure
       envelope plot, generated from the same figures the spec tables print.
       That answers "which fan do I need" in one look, which six identical
       cards never did.
     · Headings are MIXED CASE at a semi-condensed width, which is how an
       engineering drawing is lettered. Caps survive only at 12px.
     · A blueprint steel surface breaks the navy/white alternation, so the
       page has three grounds rather than two.
   --------------------------------------------------------------------------- */

/* ---- fonts ---- */
/* din-2014 and ff-real-headline-pro are both licensed. Saira is the closest
   openly-licensed DIN-descended grotesque, and it carries a width axis — set
   to 88 for display, which is the semi-condensed lettering of a drawing sheet
   rather than the compressed poster width. IBM Plex Sans sets the text: it was
   drawn for technical documentation, which is what this is. */
@font-face { font-family: 'Saira'; font-style: normal; font-weight: 400 700; font-stretch: 75% 125%; font-display: swap; src: url('/assets/fonts/saira.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/ibm-plex-sans.woff2') format('woff2'); }
@font-face { font-family: 'Saira fallback'; src: local('Arial Narrow'), local('Helvetica Neue'), local('Arial'); ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; size-adjust: 97%; }
@font-face { font-family: 'Plex fallback'; src: local('Helvetica Neue'), local('Arial'); ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; size-adjust: 99%; }

/* ---- tokens ---- */
:root {
  --navy: #1f1f50;       /* 15.4:1 under white */
  --navy-deep: #14143a;  /* the data surface */
  --orange: #ff8f00;     /* fill only — 2.1:1 under white, 7.5:1 under navy */
  --blue: #006fab;       /* 5.4:1 on white — links and small accents */
  --slate: #475569;      /* 7.5:1 on white */
  --steel: #eaeef5;      /* blueprint: the third ground */
  --paper: #ffffff;

  --accent: var(--blue);
  --muted: var(--slate);
  --rule: #d3d9e4;

  --display: 'Saira', 'Saira fallback', 'Arial Narrow', sans-serif;
  --body: 'Plex', 'Plex fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --wrap: 1320px;
  --gutter: 20px;

  --t-display: clamp(2.7rem, 1.4rem + 5vw, 5.5rem);
  --t-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem);
  --t-h2: clamp(1.8rem, 1.4rem + 1.7vw, 2.75rem);
  --t-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --t-figure: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --t-body: 1rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;
  --t-label: 0.75rem;
  --radius: 4px;
  --pad: clamp(60px, 6vw, 116px);
}

/* Every navy surface takes the same token block, kept separate from the
   background declaration so a surface that paints itself cannot miss it. */
.on-navy, .on-deep, .site-footer, .hero, .site-header, .menu {
  --accent: var(--orange);
  --muted: #b9bed4;      /* 8.3:1 on navy */
  --rule: rgba(255, 255, 255, 0.2);
}
.on-navy, .site-header { background: var(--navy); color: var(--paper); }
.on-deep, .site-footer { background: var(--navy-deep); color: var(--paper); }
.on-steel { background: var(--steel); --rule: #c4ccdb; }

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); font-weight: 400; font-size: var(--t-body); line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Mixed case at a semi-condensed width. The old build set every heading in
   caps, which is why the page had no hierarchy — caps at 49px and caps at 25px
   read as the same level of shouting. */
h1, h2, h3, h4 {
  margin: 0; font-family: var(--display); font-weight: 600;
  font-variation-settings: 'wdth' 88; line-height: 1.08;
  letter-spacing: 0; text-wrap: balance;
}
h3, h4 { font-variation-settings: 'wdth' 92; line-height: 1.2; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy); padding: 12px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: top .15s ease; }
.skip:focus { top: 16px; }

/* ---- layout ---- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 900px) { .wrap { padding-inline: 44px; } }
.section { padding-block: var(--pad); }
.section--tight { padding-block: clamp(40px, 4vw, 68px); }
.measure { max-width: 36em; }

/* ---- type ---- */
.display { font-size: var(--t-display); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
/* The only caps on the site, and the only place the orange rule appears. */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(14px, 1.4vw, 22px); font-family: var(--body); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); flex: 0 0 auto; }
.prose { max-width: 36em; }
.prose a:not(.btn), .link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):hover, .link:hover { text-decoration-thickness: 2px; }

.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 60px); align-items: end; margin-bottom: clamp(32px, 3.6vw, 58px); }
.head > :last-child { color: var(--muted); max-width: 34em; }
.head p { margin: 0; }
@media (max-width: 840px) { .head { grid-template-columns: 1fr; align-items: start; } }

/* ---- buttons ---- */
/* The orange button carries navy text, not white — white on this orange is
   2.1:1 and is the easiest mistake to make with this palette. */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 13px 26px; background: var(--orange); color: var(--navy); border: 1px solid var(--orange); border-radius: var(--radius); font-family: var(--body); font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.btn:hover { background: var(--navy); color: var(--orange); border-color: var(--navy); }
.on-navy .btn:hover, .on-deep .btn:hover, .hero .btn:hover, .site-footer .btn:hover { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.on-navy .btn--ghost, .on-deep .btn--ghost, .hero .btn--ghost, .site-footer .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.on-navy .btn--ghost:hover, .on-deep .btn--ghost:hover, .hero .btn--ghost:hover, .site-footer .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--accent); border-bottom: 1px solid currentColor; }
.arrow-link:hover { gap: 13px; }
@media (prefers-reduced-motion: reduce) { .arrow-link:hover { gap: 8px; } }

/* ---- header ---- */
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 92; font-size: 1.4rem; }
.brand__mark { width: 28px; height: 28px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { font-size: var(--t-sm); font-weight: 500; text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current='page']:not(.btn) { border-bottom-color: var(--orange); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; background: none; border: 1px solid currentColor; border-radius: var(--radius); cursor: pointer; }
.nav-toggle > span { display: grid; gap: 4px; width: 20px; }
.nav-toggle > span > span { height: 2px; background: currentColor; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--navy-deep); color: #fff; padding: 18px var(--gutter) 46px; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 26px; }
.menu__close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: none; border: 1px solid currentColor; border-radius: var(--radius); cursor: pointer; }
.menu__nav a { display: block; padding: 14px 0; font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 90; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem); text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu__nav a:hover { color: var(--orange); }
body.menu-open { overflow: hidden; }

/* ---- hero ---- */
/* No horizontal padding of its own: the .wrap inside supplies the gutter, so
   the hero's left edge lines up with every other section on the page. */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(84vh, 780px); padding: 130px 0 clamp(48px, 5vw, 84px); color: #fff; isolation: isolate; }
.hero--short { min-height: 340px; align-items: center; padding-top: 110px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(20,20,58,.94) 0%, rgba(20,20,58,.78) 44%, rgba(20,20,58,.42) 100%),
    linear-gradient(to top, rgba(20,20,58,.78) 0%, rgba(20,20,58,.3) 50%);
}
.hero .lead { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }

/* A strip of duty figures under the hero: the four numbers a specifier is
   actually looking for, above the fold. */
.duty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 30px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.3); }
.duty div { display: grid; gap: 3px; }
.duty dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .13em; text-transform: uppercase; opacity: .84; }
.duty dd { margin: 0; font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 90; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 700px) { .duty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- selection chart ----
   A volume/pressure envelope plot, generated in build.mjs from the same
   figures the specification tables print. Both axes are logarithmic, which is
   how a fan catalogue plots them and the only way 0.1 and 90 m3/s fit on one
   sheet. Every block carries its own text label, so the fills are redundant
   rather than load-bearing. */
.chart { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0 10px; }
.chart__ylab { grid-column: 1; grid-row: 1; align-self: center; justify-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: var(--t-label); font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
/* Pressure ticks are positioned by the same log scale as the bands, so a
   reader can take a value off the plot rather than only compare blocks. */
.chart__yaxis { grid-column: 2; grid-row: 1; position: relative; width: 3.4em; }
.chart__yaxis span { position: absolute; right: 0; bottom: var(--b); transform: translateY(50%); font-size: var(--t-label); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.chart__plot {
  grid-column: 3; grid-row: 1; position: relative; height: clamp(320px, 34vw, 460px);
  border-left: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
  /* Blueprint grid: one decade per major line. */
  background-image:
    repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 33.333%),
    repeating-linear-gradient(to top, var(--rule) 0 1px, transparent 1px 25%);
  background-position: left bottom;
}
/* Five translucent blocks stack in the middle of the plot, so the fill is kept
   light enough that four overlaps still read as a tint rather than as mud. */
.chart__band {
  position: absolute; left: var(--l); width: var(--w); bottom: 0; height: var(--h);
  border: 2px solid var(--c); border-radius: 2px;
  background: color-mix(in srgb, var(--c) 7%, transparent);
  display: flex; align-items: flex-start;
}
.chart__band > span {
  margin: 6px; padding: 3px 7px; border-radius: 2px;
  background: var(--c); color: #fff;
  font-size: var(--t-label); font-weight: 600; line-height: 1.2;
  white-space: nowrap;
}
.chart__band--light > span { color: var(--navy); }
.chart__xaxis { grid-column: 3; grid-row: 2; display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--t-label); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.chart__xlab { grid-column: 3; grid-row: 3; margin-top: 6px; font-size: var(--t-label); font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.chart-note { margin-top: 22px; font-size: var(--t-sm); color: var(--muted); max-width: 40em; }
/* Below 720px an overlapping envelope plot stops being readable, so the same
   data is served as a table instead. Neither is hidden from assistive tech. */
.chart-wrap { display: block; }
@media (max-width: 720px) { .chart-wrap { display: none; } }
.chart-fallback { display: none; }
@media (max-width: 720px) { .chart-fallback { display: block; } }

/* ---- data table ---- */
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.data { width: 100%; min-width: 640px; border-collapse: collapse; }
.data caption { text-align: left; font-size: var(--t-sm); color: var(--muted); padding-bottom: 16px; }
.data th, .data td { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); vertical-align: top; }
.data thead th { font-size: var(--t-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.data tbody th { font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 92; font-size: 1.0625rem; }
.data tbody th a { text-decoration: none; }
.data tbody th a:hover { text-decoration: underline; text-underline-offset: 3px; }
.data td { font-variant-numeric: tabular-nums lining-nums; }
.data--spec { min-width: 460px; }

/* ---- figures ---- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.figures > div { padding-top: 18px; border-top: 3px solid var(--orange); }
.figures dt { font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 90; font-size: var(--t-figure); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.figures dd { margin: 10px 0 0; font-size: var(--t-sm); color: var(--muted); }
/* Five accreditations in a four-column grid orphan the fifth in an empty row. */
.figures--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.figures--5 dt { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); }
@media (max-width: 1000px) { .figures--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .figures, .figures--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- process strip ---- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--display); font-weight: 600;
  font-variation-settings: 'wdth' 90; font-size: 1.75rem; line-height: 1;
  color: var(--accent); margin-bottom: 12px; font-variant-numeric: lining-nums;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- rows ---- */
.rows > li { padding-block: clamp(22px, 2.4vw, 34px); border-top: 1px solid var(--rule); }
.rows > li:last-child { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 46px); align-items: start; }
/* Numbered variant, used where a row list is a sequence rather than a set. */
.row:has(> .row__n) { grid-template-columns: 3.6rem minmax(0, 5fr) minmax(0, 7fr); }
.row__n { font-family: var(--display); font-weight: 600; font-variation-settings: 'wdth' 90; font-size: 1.4rem; line-height: 1.15; color: var(--accent); font-variant-numeric: lining-nums; }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
  .row:has(> .row__n) { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .row:has(> .row__n) > :last-child { grid-column: 2; }
}

/* ---- pull quote ---- */
.quote { margin: 0; max-width: 40em; }
.quote p { font-family: var(--display); font-weight: 500; font-variation-settings: 'wdth' 92; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.26; }
.quote footer { margin-top: 18px; font-size: var(--t-sm); color: var(--muted); }
.quote footer span { color: var(--navy); font-weight: 600; }
.on-navy .quote footer span, .on-deep .quote footer span { color: #fff; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.card:hover { border-color: var(--orange); transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1 1 auto; }
.card__meta { margin: 0; font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.0625rem; }
.card p { margin: 0; font-size: var(--t-xs); color: var(--muted); line-height: 1.55; }
.card__cta { margin-top: auto; padding-top: 14px; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* ---- split ---- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 3.6vw, 68px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--mid { align-items: center; }
@media (max-width: 880px) { .split, .split--even { grid-template-columns: 1fr; } }
.figure img { width: 100%; border-radius: var(--radius); }
.bleed-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); }

/* ---- ticks ---- */
.ticks { display: grid; gap: 11px; }
.ticks > li { position: relative; padding-left: 28px; font-size: var(--t-sm); }
.ticks > li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
@media (max-width: 700px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ---- forms ---- */
.form { display: grid; gap: 20px; max-width: 600px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--navy); width: 100%; min-height: 50px; padding: 13px 14px; background: #fff; border: 1px solid #6b7280; border-radius: var(--radius); }
.field textarea { min-height: 150px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #a01414; }
.field .error { margin: 0; font-size: var(--t-sm); color: #8d1212; }
.on-navy .field .error, .on-deep .field .error { color: #ffb4b4; }
.field:not(.invalid) .error { display: none; }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: var(--t-sm); color: var(--muted); max-width: 36em; }

/* ---- footer ---- */
.site-footer { padding-top: clamp(52px, 5vw, 86px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 34px 28px; padding-bottom: 42px; }
.footer-grid h2 { font-family: var(--body); font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; color: var(--orange); }
.footer-grid li { padding: 4px 0; font-size: var(--t-sm); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 26px; padding-block: 22px; border-top: 1px solid var(--rule); font-size: var(--t-xs); color: var(--muted); }
.footer-legal a { text-decoration: none; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 1040px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { margin-right: 0; }
  .hero { min-height: 600px; padding-top: 110px; }
}
