/* ============================================================
   GARD SYSTEMS DESIGN SYSTEM — tokens + web layout vocabulary
   ------------------------------------------------------------
   Ported from the design-system artifact
   (gard-systems-design-system-019ddd9b): styles.css tokens followed
   by web.css ("Direction B", the editorial vocabulary).

   Two deliberate divergences from the upstream artifact:

   1. styles.css opens with an @import of fonts.googleapis.com. The
      site's CSP is `font-src 'self'` (see _headers), so the faces are
      vendored into /assets/fonts and imported from there. Do not
      reinstate the remote @import — it violates the CSP and the
      playbook security posture (AGENTS.md).
   2. Tap targets. The handoff records nav links at 25px, .lnk at 28px
      and footer links at 19-22px — the footer fails WCAG 2.2 SC 2.5.8
      (24x24) and the rest only just pass. The handoff asks for this to
      be fixed at design-system level rather than patched per page, so
      the block at the end of this file does that.

   THE FIVE RULES THIS FILE ENCODES
   1. A 124px mono gutter runs the whole document as its spine.
   2. No cards. Hairline rules and space separate. No box-shadow.
   3. Type carries the hierarchy. Mid-range sizes are the enemy.
   4. Colour blocks are full-bleed and structural, never accents.
   5. The shield is a large low-opacity ghost in negative space.
   ============================================================ */

@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/archivo-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/archivo-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/archivo-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/archivo-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/archivo-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/archivo-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/archivo-800-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/archivo-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-400i-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-400i-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/public-sans-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/public-sans-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/public-sans-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/public-sans-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/public-sans-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/public-sans-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  /* ── BRAND ── two colours. That is the whole brand. The shield's
     lighter half is that colour at 80% opacity, never a third token. */
  --gard-red:   #C34230;
  --gard-ink:   #231F20;

  --red-50:#FBF0EE; --red-100:#F6DDD8; --red-200:#EDBBB2; --red-300:#E0958A;
  --red-400:#D26B5B; --red-500:#C34230; --red-600:#A83526; --red-700:#8A2A1E;
  --red-800:#6B2018; --red-900:#4A1610;

  /* Warm neutral ramp, hue-matched to --gard-ink. A cool grey next to
     #C34230 reads blue and makes the red look dirty. */
  --n-0:#FFFFFF; --n-25:#FAF9F8; --n-50:#F5F3F2; --n-100:#EBE8E6;
  --n-200:#DCD8D5; --n-300:#C2BDB9; --n-400:#9C9691; --n-500:#726C68;
  --n-600:#55504D; --n-700:#3D3937; --n-800:#2C2827; --n-900:#231F20; --n-950:#171415;

  /* Status is deliberately NOT brand red: --gard-red is orange-leaning,
     --danger deeper and bluer, so "wrong" never reads as "on brand". */
  --success:#1E7A4C; --warning:#8A5808; --danger:#A31D1D; --info:#1F5C8B;

  --text-subtle:#6E6864;          /* 5.49:1 on white */
  --border-control:#8E8781;       /* 3.54:1 — control boundaries */
  --inverse-border:rgba(255,255,255,0.14);
  --inverse-text-muted:rgba(255,255,255,0.62);
  --inverse-text-subtle:rgba(255,255,255,0.55);
  --inverse-surface:#2C2827;
  --on-brand-text:#FFFFFF;
  --on-brand-border:rgba(255,255,255,0.70);

  --link:var(--gard-red); --link-hover:var(--red-700); --link-visited:var(--red-800);

  --font-display:"Archivo", system-ui, sans-serif;
  --font-body:"Public Sans", system-ui, sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, monospace;

  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700; --fw-extrabold:800;
  --lh-tight:1.12; --lh-snug:1.28; --lh-normal:1.5; --lh-relaxed:1.65;

  --r-sm:2px; --r-md:4px; --r-lg:8px; --r-pill:9999px;
  --dur-fast:120ms; --dur:200ms; --dur-slow:320ms;
  --ease:cubic-bezier(0.2, 0, 0.3, 1);

  /* ── web.css layer ── */
  --paper:#FAF8F5;                /* warm page ground — NOT --n-0 */
  --gut:124px;                    /* the spine */
  --hair:rgba(35,31,32,.13);
  --t2:#3D3937; --t3:#5A5450; --t4:#6E6864;
  --photo-grade:saturate(.9) contrast(1.05) brightness(1.02);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--gard-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: -.01em; line-height: var(--lh-snug); margin: 0; }
a { color: var(--link); text-decoration: none; }
img { max-width: 100%; }
table, .tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--gard-red); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gard-ink); color: #fff; padding: 12px 20px; z-index: 100; font-size: 14px; }
.skip-link:focus { left: 0; }

/* ── PAGE ─────────────────────────────────────────────────── */
.gard-page { background: var(--paper); color: var(--gard-ink); font-family: var(--font-body); }
.w { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4.4vw, 56px); }
.rule { border-top: 1px solid var(--gard-ink); }
.hair-rule { border-top: 1px solid var(--hair); }

/* The spine. Two- and three-column variants. */
.g  { display: grid; grid-template-columns: var(--gut) 1fr; gap: 28px; }
/* No gutter cell: the hero lede aligns to the headline, not to the spine. */
.g3 { display: grid; grid-template-columns: 1fr 336px; gap: 40px; align-items: start; }

/* Section number — always lives in the gutter. */
.n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gard-red); }
.n.q { color: var(--t4); }

/* ── MASTHEAD + NAV ───────────────────────────────────────── */
.mast { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 13px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }
.mast img { height: 19px; display: block; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--gard-ink); border-bottom: 1px solid var(--hair); }
.nl { display: flex; gap: 30px; font-size: 13.5px; font-weight: var(--fw-medium); color: var(--t2); }
.nl a { padding-bottom: 2px; border-bottom: 2px solid transparent; text-decoration: none; color: inherit; }
.nl a.on, .nl a:hover { border-bottom-color: var(--gard-red); }
.ncta { display: flex; gap: 18px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--t3); }
.ncta a.b { font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-semibold); color: #fff; background: var(--gard-red); padding: 9px 17px; border-radius: var(--r-md); text-decoration: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { padding: 70px 0 0; position: relative; overflow: hidden; }
.hero > .w { position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-size: clamp(40px, 8.1vw, 104px); font-weight: var(--fw-extrabold); line-height: .94; letter-spacing: -.042em; margin: 22px 0 clamp(24px, 3.2vw, 44px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gard-red); }

/* Typewriter caret. The cycling phrase itself is driven from chrome.js, which
   swaps the <em> for a two-cell inline-grid: an invisible sizer holding the
   longest phrase keeps the headline from reflowing as words change. */
.gard-caret {
  display: inline-block; width: .06em; min-width: 2px; height: .82em;
  margin-left: .06em; background: currentColor; vertical-align: baseline;
  animation: gardBlink 1.1s steps(1, end) infinite;
}
@keyframes gardBlink { 0%, 45% { opacity: 1 } 46%, 100% { opacity: 0 } }
.lede p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; margin: 0; max-width: 44ch; color: var(--t2); }
.acts { display: flex; gap: 26px; align-items: center; padding-top: 32px; }

/* The brand's link-button: a rule under the label, not a filled pill.
   Filled is for nav bars and form submits only. Settled decision. */
.lnk { font-size: 14px; font-weight: var(--fw-semibold); border-bottom: 2px solid var(--gard-red); padding-bottom: 3px; text-decoration: none; color: inherit; }
.lnk.q { border-bottom-color: rgba(35,31,32,.22); color: var(--t3); }

.credo { display: flex; gap: 34px; padding: 46px 0 42px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--t4); }
.credo span { display: flex; gap: 9px; align-items: center; }
.credo i { width: 5px; height: 5px; background: var(--gard-red); display: block; flex-shrink: 0; }

/* ── GHOST SHIELD ─────────────────────────────────────────────
   Crop from ONE edge only, leave the shield's flat top intact, keep it
   out of dense content and never over a second translucent fill. */
.ghost { position: absolute; pointer-events: none; z-index: 0; }
.ghost-hero    { right: -84px;  top: 0;         width: 556px; opacity: .07; }
.ghost-inverse { left: -188px;  bottom: -250px; width: 560px; opacity: .04; }
.ghost-quiet   { right: -120px; top: 40px;      width: 380px; opacity: .045; }
.ghost-band    { right: 44px;   top: -38px;     width: 290px; opacity: .13; }

/* ── FULL-BLEED COLOUR BAND ───────────────────────────────────
   On brand red, small text must be SOLID white (5.07:1, no headroom
   for alpha). Separate a label from body with weight, never opacity. */
.band { background: var(--gard-red); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.band > .w { position: relative; z-index: 1; }
.band .n { color: #fff; }
.band h2 { font-family: var(--font-display); font-size: clamp(25px, 3.5vw, 40px); font-weight: var(--fw-bold); line-height: 1.13; letter-spacing: -.028em; margin: 0 0 16px; max-width: 26ch; }
.band p { font-size: 16.5px; line-height: 1.6; color: #fff; margin: 0; max-width: 52ch; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.sec { padding: 66px 0; }
.shd { padding-bottom: 24px; }
.shd h2 { font-family: var(--font-display); font-size: clamp(25px, 3.5vw, 40px); font-weight: var(--fw-bold); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 0; max-width: 24ch; }
.shd p { font-size: 16px; color: var(--t3); margin: 14px 0 0; max-width: 46ch; line-height: 1.6; }

/* ── RULED INDEX — replaces a card grid ───────────────────── */
.idx { border-top: 1px solid var(--gard-ink); }
.row { display: grid; grid-template-columns: var(--gut) 1fr 1.05fr 34px; gap: 28px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; cursor: pointer; }
.row:hover { background: rgba(195,66,48,.035); }
.row:focus-visible { outline: 2px solid var(--gard-red); outline-offset: -2px; }
.row .i { font-family: var(--font-mono); font-size: 11px; color: var(--t4); }
.row h3 { font-family: var(--font-display); font-size: 19px; font-weight: var(--fw-semibold); letter-spacing: -.015em; margin: 0; }
.row p { font-size: 14px; color: var(--t3); margin: 0; line-height: 1.5; }
.row .a { font-family: var(--font-mono); font-size: 13px; color: var(--gard-red); text-align: right; transition: transform var(--dur) var(--ease); }
.row:hover .a { transform: translateX(3px); }

/* ── RULED 2x2 ────────────────────────────────────────────── */
.quad { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gard-ink); }
.quad > div { padding: 26px 34px 30px 0; }
.quad > div:nth-child(2n) { padding-left: 34px; border-left: 1px solid var(--hair); }
.quad > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
/* h2 as well as h3: on the Services hero the quad sits directly under the h1,
   so those four cells are h2 to keep the heading order intact. Elsewhere the
   quad follows a section h2 and its cells are h3. Same treatment either way. */
.quad h2, .quad h3 { font-family: var(--font-display); font-size: 21px; font-weight: var(--fw-bold); letter-spacing: -.018em; margin: 12px 0 7px; }
.quad p { font-size: 14.5px; line-height: 1.6; color: var(--t3); margin: 0; max-width: 40ch; }
.quad .i { font-family: var(--font-mono); font-size: 10.5px; color: var(--gard-red); }

/* ── PLANS — ruled columns ────────────────────────────────── */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gard-ink); }
.plan { padding: 30px 34px 34px 0; }
.plan + .plan { padding-left: 34px; border-left: 1px solid var(--hair); background: rgba(195,66,48,.05); }
.plan-n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--t4); margin-bottom: 16px; display: flex; justify-content: space-between; }
.plan-n b { color: var(--gard-red); font-weight: var(--fw-regular); }
/* .plan-p (the large price type) is deliberately unused on the live
   plans page — pricing comes from a quote. Kept for the system. */
.plan-p { font-family: var(--font-display); font-size: clamp(46px, 6.4vw, 78px); font-weight: var(--fw-extrabold); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.plan-u { font-family: var(--font-mono); font-size: 11px; color: var(--t4); letter-spacing: .04em; margin-top: 8px; }
.plan-d { font-size: 14.5px; line-height: 1.55; color: var(--t2); margin: 16px 0 0; max-width: 36ch; }
.plan-f { list-style: none; padding: 0; margin: 20px 0 0; }
/* Both columns list EVERY line, with an em dash where excluded. A card
   layout hides exclusions by only printing what is present. */
.plan-f li { font-size: 13.5px; padding: 7px 0; border-bottom: 1px solid rgba(35,31,32,.1); color: var(--t2); display: flex; justify-content: space-between; gap: 16px; }
.plan-f li i { font-family: var(--font-mono); font-style: normal; color: var(--gard-red); font-size: 11px; white-space: nowrap; }
.plan-f li i.off { color: var(--t4); }
.plan-note { font-size: 12.5px; line-height: 1.55; color: var(--t4); margin: 16px 0 0; max-width: 38ch; }

/* ── NUMBERED STEPS ───────────────────────────────────────── */
.steps { border-top: 1px solid var(--gard-ink); }
.step { display: grid; grid-template-columns: var(--gut) 1fr 1.05fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.step .num { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 34px); font-weight: var(--fw-extrabold); color: var(--gard-red); letter-spacing: -.03em; line-height: 1; }
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: var(--fw-semibold); margin: 0; letter-spacing: -.015em; }
.step p { font-size: 14px; color: var(--t3); margin: 0; line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--gard-ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; padding: 17px 0; font-family: var(--font-display); font-size: 17px; font-weight: var(--fw-semibold); letter-spacing: -.012em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 19px; color: var(--gard-red); font-weight: var(--fw-regular); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { font-size: 14.5px; line-height: 1.65; color: var(--t3); margin: 0 0 18px; max-width: 64ch; }

/* ── PHOTOGRAPHY ──────────────────────────────────────────────
   Hard edges. No radius, no shadow. One grade across every photo so a
   shoot spanning several locations reads as a single set. */
figure { margin: 0; }
.ph { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.bleed { position: relative; overflow: hidden; background: var(--n-100); }
.bleed figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 56px 20px; background: linear-gradient(to top, rgba(35,31,32,.82), rgba(35,31,32,0)); color: #fff; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; }
.bleed.strip { height: 340px; }
.bleed.tall { height: 520px; }
.credit { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--t4); margin-top: 7px; }
.pic { overflow: hidden; background: var(--n-100); }
.pic-hero { height: 392px; }
.pic-contact { height: 250px; background: var(--inverse-surface); margin-bottom: 22px; }

/* Photo + content pairings */
.pair-l { display: grid; grid-template-columns: 392px 1fr; gap: 34px; align-items: stretch; }
.pair-l .pic { height: 100%; min-height: 452px; }
.pair-r { display: grid; grid-template-columns: 1fr 392px; gap: 34px; align-items: start; }
.pair-r .pic { height: 100%; min-height: 400px; }

/* ── INVERSE SECTION (contact) ────────────────────────────────
   On ink, smallest usable alpha for text is .55 (5.83:1) and for a
   control boundary .42 (3.99:1). Below that it fails AA. */
.inverse { background: var(--gard-ink); color: #fff; padding: 66px 0; position: relative; overflow: hidden; }
.inverse > .w { position: relative; z-index: 1; }
.inverse h2 { font-family: var(--font-display); font-size: clamp(25px, 3.5vw, 40px); font-weight: var(--fw-bold); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 0; max-width: 22ch; }
.inverse .sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.62); margin: 14px 0 0; max-width: 44ch; }
.cwrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding-top: 38px; }
.cdet { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.72); }
.cdet dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 18px; }
.cdet dt:first-child { margin-top: 0; }
.cdet dd { margin: 2px 0 0; font-size: 15px; color: #fff; }
/* The phone and email are anchors (tel:/mailto:) rather than the design's plain
   text. They must not take the global red link colour: #C34230 on --gard-ink is
   2.6:1 and fails AA. On ink, solid white is the value that passes. */
.cdet dd a { color: #fff; text-decoration: none; }
.cdet dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── FORM — ruled, not boxed ──────────────────────────────── */
.gform { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.fld { display: flex; flex-direction: column; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 7px; }
.fld input, .fld textarea, .fld select { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.42); color: #fff; font-family: var(--font-body); font-size: 15px; padding: 8px 0; min-height: 40px; border-radius: 0; }
.fld textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-bottom-color: var(--gard-red); }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255,255,255,.5); }
.fld select option { background: var(--gard-ink); }
.submit { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 4px; }
.submit button { background: var(--gard-red); color: #fff; border: none; font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-semibold); padding: 14px 30px; border-radius: var(--r-md); cursor: pointer; min-height: 46px; }
.submit button[disabled] { opacity: .55; cursor: default; }
/* APP 5 collection notice — required beside any form collecting personal info */
.privacy { font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.55); max-width: 40ch; }
/* Form result. The handoff leaves success/error undesigned; these follow
   the inverse surface's contrast floors (white >= .55 alpha). */
.fmsg { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; margin: 0; color: #fff; padding-left: 14px; border-left: 2px solid var(--gard-red); }
.fmsg.err { border-left-color: #E0958A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── FOOTER ───────────────────────────────────────────────── */
.gfoot { background: var(--gard-ink); color: #fff; border-top: 1px solid rgba(255,255,255,.14); padding: 44px 0 0; }
.fg { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 38px; }
.gfoot img { height: 28px; margin-bottom: 15px; display: block; }
.ftag { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 30ch; margin: 0; }
.fct { font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 13px; }
.fl a { display: block; font-size: 13.5px; color: rgba(255,255,255,.68); margin-bottom: 8px; text-decoration: none; }
.fl a:hover { color: #fff; }
.fbot { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; color: rgba(255,255,255,.55); }

/* The system's links carry their own rules and underlines; a browser
   underline on top reads as a second, competing rule. */
.nl a:hover, .lnk:hover, a.row:hover, .svc-row:hover, .plan a:hover, .fbot a:hover, .fl a:hover { text-decoration: none; }
.fbot a { color: rgba(255,255,255,.55); }
.fbot a:hover { color: #fff; }
.inverse .n { color: rgba(255,255,255,.62); }

/* ── SERVICES INDEX (home) ────────────────────────────────────
   Ruled rows, pure type. Never thumbnails here — a photo in this index
   rebuilds the card grid the direction exists to avoid. */
/* Two columns, so eight names land as a clean 4 + 4. The design file says
   repeat(auto-fit, minmax(300px, 1fr)), which resolves to THREE columns inside
   the 1180px measure and leaves a ragged 3/3/2 last row; the handoff calls for
   a two-column grid twice. Following the handoff. */
.svc-idx { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-bottom: 1px solid rgba(35,31,32,.14); margin-bottom: 32px; }
.svc-row { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(35,31,32,.14); text-decoration: none; color: var(--gard-ink); }
.svc-row .i { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--t4); }
.svc-row .nm { font-family: var(--font-display); font-size: 22px; font-weight: var(--fw-extrabold); letter-spacing: -.02em; }

/* ── SERVICE DETAIL BLOCKS (services page) ────────────────── */
.svc-list { display: grid; gap: 44px; margin-top: 8px; }
.svc { border-top: 1px solid rgba(35,31,32,.14); padding-top: 32px; }
.svc h3 { font-family: var(--font-display); font-size: 26px; font-weight: var(--fw-extrabold); letter-spacing: -.02em; color: var(--gard-ink); margin: 0 0 12px; }
.svc-body > p { margin: 0; max-width: 58ch; }
.svc ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 28px; }
.svc li { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--t4); }

/* ── STAT ROW (home hero) ─────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; border-top: 1px solid rgba(35,31,32,.14); padding-top: 28px; margin-top: 56px; }
.stat .v { font-family: var(--font-display); font-size: 46px; font-weight: var(--fw-extrabold); letter-spacing: -.04em; line-height: 1; color: var(--gard-ink); font-variant-numeric: tabular-nums; }
.stat.brand .v { color: var(--gard-red); }
.stat .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t4); margin-top: 10px; line-height: 1.5; }

/* ── PROSE (terms of service) ─────────────────────────────── */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: 26px; font-weight: var(--fw-bold); letter-spacing: -.02em; margin: 40px 0 12px; }
.prose h3 { font-family: var(--font-display); font-size: 19px; font-weight: var(--fw-semibold); margin: 28px 0 10px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--t2); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gard-red); border-bottom: 1px solid rgba(195,66,48,.4); }

/* ============================================================
   RESPONSIVE
   Desktop-first editorial layout: at full size it wants 1292px
   (1180 measure + 112 gutter). Structural columns are fixed px by
   design, so each breakpoint releases them deliberately.
     1200px  the spine narrows; photo pairings tighten
      900px  the spine collapses to a stacked label; two-ups stack
      620px  single column throughout
   Do NOT add inline grid-template-columns to .row or other structural
   classes — inline declarations outrank these and break the small end.
   ============================================================ */

@media (max-width: 1200px) {
  :root { --gut: 84px; }
  .g { grid-template-columns: 1fr; gap: 8px; }
  .g3 { grid-template-columns: 1fr 260px; gap: 30px; }
  .pair-l { grid-template-columns: 300px 1fr; gap: 26px; }
  .pair-r { grid-template-columns: 1fr 300px; gap: 26px; }
  .pair-l .pic { min-height: 380px; }
  .pair-r .pic { min-height: 340px; }
  .bleed.tall { height: 420px; }
  .credo { gap: 22px; flex-wrap: wrap; }
  .cwrap { gap: 34px; }
}

@media (max-width: 900px) {
  /* The spine stops being a column and becomes a label above content.
     This is the intended degradation — the numbering survives. */
  .g3 { grid-template-columns: 1fr; gap: 10px; }
  .g3 > figure { max-width: 420px; }
  .pic-hero { height: 320px; }
  .sec { padding: 44px 0; }
  .hero { padding: 44px 0 0; }
  .band { padding: 40px 0; }
  .inverse { padding: 46px 0; }

  .pair-l, .pair-r { grid-template-columns: 1fr; gap: 22px; }
  .pair-l .pic, .pair-r .pic { min-height: 0; height: 320px; }
  .pair-l > figure { order: 2; }

  .quad { grid-template-columns: 1fr; }
  .quad > div { padding: 20px 0 22px; }
  .quad > div:nth-child(2n) { padding-left: 0; border-left: none; }
  .quad > div:nth-child(n+2) { border-top: 1px solid var(--hair); }

  .row { grid-template-columns: 1fr 34px; gap: 4px 14px; padding: 14px 0; }
  .row .i { grid-column: 1 / -1; }
  .row h3 { grid-column: 1; }
  .row .a { grid-column: 2; grid-row: 2; align-self: center; }
  .row p { grid-column: 1 / -1; }

  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step h3 { grid-column: 2; }
  .step p { grid-column: 2; margin-top: 4px; }

  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 0 30px; }
  .plan + .plan { padding-left: 0; border-left: none; border-top: 1px solid var(--hair); padding-top: 26px; }

  .cwrap { grid-template-columns: 1fr; gap: 30px; }
  .fg { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bleed.strip { height: 240px; }
  .bleed.tall { height: 320px; }
  .bleed figcaption { padding: 20px 20px 16px; }

  .svc-idx { grid-template-columns: 1fr; gap: 0; }
  .stats { margin-top: 40px; gap: 24px; }
  .stat .v { font-size: 38px; }

  /* Ghosts shrink so they stay texture rather than dominating. */
  .ghost-hero { width: 340px; right: -70px; top: 0; }
  .ghost-inverse { width: 300px; left: -120px; bottom: -150px; }
  .ghost-band { width: 190px; right: 12px; }
  .ghost-quiet { width: 240px; }
}

@media (max-width: 620px) {
  .mast { flex-wrap: wrap; gap: 6px 16px; }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nl { gap: 18px; font-size: 13px; }
  .ncta { width: 100%; justify-content: space-between; }
  .gform { grid-template-columns: 1fr; }
  .submit { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fg { grid-template-columns: 1fr; gap: 24px; }
  .fbot { flex-direction: column; gap: 6px; }
  .credo { flex-direction: column; gap: 10px; padding: 30px 0 28px; }
  .acts { flex-wrap: wrap; gap: 18px; }
  .g3 > figure { max-width: none; }
  .plan-f li { gap: 12px; }
  .pic-hero { height: 260px; }
  .pic-contact { height: 200px; }
  .svc-row .nm { font-size: 19px; }

  /* The ghost has to shrink again here. At 390px the 340px shield from the
     900px block spans almost the full measure, so its internal edge — where
     the solid half meets the 80% half — runs straight through the lede. The
     system's own rule is to keep that edge out of a text block; on a phone
     that means a much smaller shield in the margin, not a backdrop. */
  .ghost-hero { width: 190px; right: -58px; opacity: .055; }
  .ghost-inverse { width: 200px; left: -86px; bottom: -96px; }
  .ghost-band { width: 120px; right: 6px; top: -16px; }
  .ghost-quiet { width: 150px; }
}

/* ============================================================
   TAP TARGETS — WCAG 2.2 SC 2.5.8 (24x24 minimum)
   ------------------------------------------------------------
   Upstream web.css leaves nav links at 25px, .lnk at 28px and footer
   links at 19-22px, so the footer fails outright and the rest only
   just pass. The handoff asks for the fix at design-system level
   rather than per page. Padding is used rather than a pseudo-element
   overlay so stacked footer links do not get overlapping hit areas.
   The surrounding paddings are trimmed to keep the original rhythm.
   ============================================================ */
.nl a { display: inline-block; padding-top: 11px; padding-bottom: 13px; }
.nav { padding: 2px 0; }
.lnk { display: inline-block; padding-top: 9px; padding-bottom: 9px; }
.acts { padding-top: 23px; }
.fl a { padding: 6px 0; margin-bottom: 2px; }
.fbot a { display: inline-block; padding: 7px 0; }
.mast a { display: inline-block; padding: 4px 0; }
.svc-row { min-height: 44px; }
.faq summary { min-height: 44px; }
.cdet a { display: inline-block; padding: 3px 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
