/* Powers Computing — site styles (v3: cohesively DARK, footer-grade polish throughout)
   Brand tokens from brand/brand-kit.md (binding). The whole site is the brand dark system
   (charcoal #1B1F27 -> #0D0F13); amber does the heading/accent work, body in off-white.
   No light/paper sections — sections are separated by tonal shifts, hairlines, and spacing. */

:root {
  /* Charcoal / ink (the dark field) */
  --charcoal:   #1B1F27;   /* dark surface (top) */
  --charcoal-2: #0D0F13;   /* dark surface (deepest) */
  --field:      #11141A;   /* deepest field */

  /* Elevated dark surfaces (cards / panels on the dark field) */
  --surface:    #20242E;   /* raised panel */
  --surface-2:  #252A35;   /* panel hover / brighter */
  --surface-hi: #2C313D;   /* primary-ish raised */

  /* Amber */
  --amber-core: #E09A36;   /* FILL shapes / primary button */
  --amber-lt:   #F3C163;   /* amber-as-text on dark (headings, accents, AI pair) */

  /* Text on dark */
  --paper:    #F2F1EC;     /* primary body text on dark (warm off-white) */
  --white:    #F7F7F5;
  --muted:    #B7BCC6;     /* secondary text on dark (>=4.5:1 on charcoal) */
  --muted-2:  #8A9099;     /* tertiary / meta text on dark */

  /* Hairlines on dark */
  --hairline:    rgba(243,193,99,.16);  /* warm amber-tinted hairline (footer feel) */
  --hairline-2:  rgba(255,255,255,.08); /* neutral divider */

  /* Type */
  --font-head: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.30), 0 12px 34px rgba(0,0,0,.34);
  --header-h: 64px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px); /* anchor lands below sticky header */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--paper);
  /* One continuous dark field for the whole page; sections layer tone on top of this. */
  background: var(--charcoal-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; color: var(--white); }

a { color: var(--amber-lt); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* The amber "AI" easter-egg. Visual only — aria-label hides it from screen readers. */
.ai { color: var(--amber-lt); font-weight: 800; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--amber-core); color: var(--charcoal-2); font-weight: 700;
  padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Header / sticky nav (dark, footer-grade) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  /* Solid #0D0F13 to match the footer EXACTLY (Chris: make the footer color THE color).
     Amber hairline + warm shadow mirror the footer's top edge so header + footer bookend the page. */
  background: var(--charcoal-2); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(243,193,99,.16);
  box-shadow: 0 1px 0 rgba(224,154,54,.10);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }
.brand .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; color: var(--white); }
.brand .wordmark .p, .brand .wordmark .c { color: var(--amber-lt); }

/* Primary (desktop) nav, centered between brand and actions */
.primary-nav { display: flex; gap: clamp(1rem, 2.2vw, 1.9rem); margin-inline: auto; }
.primary-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--muted); text-decoration: none; padding: .35rem 0;
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.primary-nav a:hover { color: var(--amber-lt); text-decoration: none; }
.primary-nav a.is-active { color: var(--amber-lt); border-bottom-color: var(--amber-core); }

.header-actions { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.header-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  color: var(--amber-lt); text-decoration: none;
  padding: .5rem .85rem; border: 1.5px solid rgba(243,193,99,.45); border-radius: 999px;
  white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.header-cta:hover { background: var(--amber-core); color: var(--charcoal-2); border-color: var(--amber-core); text-decoration: none; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border-radius: 10px;
  background: transparent; border: 1.5px solid var(--hairline-2); cursor: pointer;
}
.nav-toggle-bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle-bars i {
  position: absolute; left: 0; width: 18px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5px; }
.nav-toggle-bars i:nth-child(3) { top: 10px; }
.nav-open .nav-toggle-bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile dropdown nav */
.mobile-nav { display: none; }
.mobile-nav[hidden] { display: none; }

@media (max-width: 719px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .label { display: none; }
  .header-cta { padding: .5rem; }

  .mobile-nav {
    display: block; border-top: 1px solid var(--hairline-2);
    background: rgba(13,15,19,.96); backdrop-filter: saturate(140%) blur(10px);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a {
    display: block; padding: .9rem var(--gutter);
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
    color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--hairline-2);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover, .mobile-nav a.is-active { color: var(--amber-lt); }
  .mobile-nav a.is-active { background: rgba(224,154,54,.10); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .06s ease, filter .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber-core); color: var(--charcoal-2); box-shadow: 0 8px 24px rgba(224,154,54,.22); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(247,247,245,.45); }
.btn-ghost:hover { background: var(--white); color: var(--charcoal-2); border-color: var(--white); }

/* ---------- Hero (dark) ---------- */
.hero {
  /* Starts at #0D0F13 so there's NO seam under the header. Amber radial keeps depth. */
  background:
    radial-gradient(1100px 520px at 80% 30%, rgba(224,154,54,.12), transparent 62%),
    linear-gradient(165deg, var(--charcoal-2) 0%, var(--charcoal) 55%, var(--charcoal-2) 100%);
}
.hero .wrap { padding-top: clamp(3rem, 8vw, 5.5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.hero .eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-lt); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  max-width: 17ch;
}
.hero .lede {
  margin: 1.25rem 0 0; max-width: 52ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.75rem; font-size: .92rem; color: var(--muted-2); }
/* Floating amber power-button mark — transparent SVG, NO container box. */
.hero-mark { display: none; }
@media (min-width: 860px) {
  /* Let the mark bleed ~20% off the right edge so it anchors the composition
     instead of floating like clip-art. clip the overflow at the section. */
  .hero { overflow: hidden; }
  .hero .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2.5rem; }
  .hero-mark {
    display: block; width: clamp(200px, 23vw, 300px); height: auto; justify-self: end;
    margin-right: clamp(-4rem, -5vw, -6rem);
    filter: drop-shadow(0 10px 34px rgba(224,154,54,.28));
  }
}

/* ---------- Sections (consistent dark; rhythm via tone + hairlines + spacing) ---------- */
section { padding-block: clamp(3rem, 6vw, 4.75rem); position: relative; }
/* ONE color system: every section sits on the same #0D0F13 base.
   Rhythm comes from cards + hairlines + spacing, NOT tonal bands. */
.band-raised { background: var(--charcoal-2); }
/* Hairline seam between two flat sections (Pricing -> About, About -> Contact).
   Used as a standalone <hr> inside a .wrap so it respects the page gutter. */
hr.section-divider { border: 0; border-top: 1px solid var(--hairline-2); margin: 0; }

.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); color: var(--white); }
.section-head p { color: var(--muted); margin: .7rem 0 0; }
.kicker { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-lt); margin: 0 0 .6rem; }

/* ---------- Substance (old Services, re-laid-out as open scenario text) ---------- */
/* Don's de-MSP rhythm: Substance is the FLAT, OPEN-TEXT section — no surface cards,
   no icons, no hover-lift. Asymmetric 2-col scenario blocks; the 5th spans full width.
   Breathes more than the utility sections. */
.substance { background: var(--charcoal-2); padding-block: clamp(3.75rem, 8vw, 6rem); }
.substance .section-head { max-width: 52ch; }
.substance-promise {
  margin-top: 1rem; color: var(--paper);
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  border-left: 2px solid var(--amber-core); padding-left: 1.1rem;
}
.scenarios {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
@media (min-width: 720px) {
  .scenarios { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  /* The 5th block sits alone, full width, left-aligned — never centered. */
  .scenario-wide { grid-column: 1 / -1; max-width: 60ch; }
}
.scenario {
  border-left: 2px solid var(--amber-core);
  padding-left: 1.1rem;
}
.scenario h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  color: var(--white); margin-bottom: .5rem; line-height: 1.2;
}
.scenario p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- About (demoted — compact 2-col credential block) ---------- */
/* Don's most important change: NOT a feature. Capped 720px, left-aligned in the wrap,
   tightest padding on the page, reads in ~5 seconds. Tight square photo crop. */
.about { background: var(--charcoal-2); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.about .wrap { max-width: 720px; }
.about-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .about-grid { grid-template-columns: 140px 1fr; } }
.about-photo { margin: 0; }
.about-photo-img {
  display: block; width: 120px; height: 120px;
  object-fit: cover; object-position: 50% 30%;
  border-radius: 12px; border: 1px solid rgba(243,193,99,.5);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .about-photo-img { width: 140px; height: 140px; } }
.about-photo figcaption {
  margin-top: .6rem; font-size: .92rem; color: var(--muted);
  font-family: var(--font-head); font-weight: 500;
}
.about-copy .kicker { margin-bottom: .6rem; color: var(--amber-lt); }
.about-bio { color: var(--paper); margin: 0 0 1.1rem; max-width: 60ch; }
.about-facts {
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  display: grid; gap: .55rem; grid-template-columns: 1fr;
}
.about-facts li {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--white);
  border-left: 3px solid var(--amber-core); padding-left: .75rem;
}
.about-sign { color: var(--muted); font-family: var(--font-head); font-weight: 500; margin: 0; }

/* ---------- AI in the open (accented + carded — the de-MSP counterweight to Substance) ---------- */
/* Mirrors the sticky-left header pattern: the header pins beside the points, which stack
   vertically on the right. Don's accent: a subtle amber radial wash over #0D0F13 so AI
   reads as the accented/carded section against Substance's flat/open text. */
/* Mirrors the Owner section's sticky-left pattern: the header pins beside the points,
   which stack vertically on the right — a deliberate break from the header-over-3col stamp. */
.ai-open {
  /* Amber radial wash over the deepest charcoal — separates AI from Substance without a band.
     Reuses the hero's radial language at low opacity (Don). */
  background:
    radial-gradient(1000px 520px at 75% 20%, rgba(224,154,54,.08), transparent 60%),
    var(--charcoal-2);
  padding-block: clamp(3.75rem, 8vw, 6rem);
}
.ai-open .section-head h2 { color: var(--white); font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.5rem); max-width: 24ch; }
.ai-open .section-head p { color: var(--muted); max-width: 58ch; }
.ai-points { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 860px) {
  .ai-open .wrap { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
  .ai-open .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .ai-points { margin-top: 0; grid-template-columns: 1fr; gap: 1rem; }
}
.ai-point {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow); padding: 1.5rem;
}
.ai-point h3 { color: var(--amber-lt); font-size: 1.14rem; margin-bottom: .45rem; }
.ai-point p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Contact reassurance line (melded from the old name band) ---------- */
.contact-note {
  margin: 1.1rem 0 0; max-width: 64ch; color: var(--muted);
  font-size: clamp(1rem, .98rem + 0.25vw, 1.12rem);
}
.contact-note strong { color: var(--amber-lt); font-family: var(--font-head); font-weight: 700; }

/* ---------- Pricing (published rates; the honesty wedge) ---------- */
.pricing { background: var(--charcoal-2); }
/* Tighter measure on the intro, and a longer beat before the rate cards so the
   pricing block reads as its own deliberate moment, not another even-gap section. */
.pricing .section-head { max-width: 48ch; }
.pricing .section-head p { max-width: 46ch; }

/* The two house rules — featured as a paired promise band above the rates. */
.house-rules {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .house-rules { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.house-rules li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(160deg, var(--surface) 0%, var(--field) 130%);
  border: 1px solid rgba(243,193,99,.30); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.5rem;
}
.house-rules .hr-ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--amber-core); color: var(--charcoal-2);
}
.house-rules .hr-ico svg { width: 22px; height: 22px; }
.house-rules h3 { font-size: 1.1rem; color: var(--amber-lt); margin-bottom: .3rem; }
.house-rules p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Rate / plan cards — same surface/hairline language as .card and .channel.
   A longer beat + one deliberate hairline seam sets the rates apart from the house-rules above. */
.rate-cards {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 720px) { .rate-cards { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.rate-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.5rem 1.5rem;
  transition: border-color .15s ease, transform .12s ease;
}
/* Hover/active parity with .channel — light-up border, no fill, no featured card. */
.rate-card:hover { border-color: rgba(243,193,99,.5); transform: translateY(-2px); }
.rate-card:active { transform: translateY(0); }
.rate-head { margin-bottom: 1.1rem; }
.rate-head h3 { font-size: 1.2rem; color: var(--white); margin-bottom: .3rem; }
.rate-head p { margin: 0; color: var(--muted-2); font-size: .92rem; }

.rate-list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.rate-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-top: 1px solid var(--hairline-2);
}
.rate-list li:first-child { border-top: none; }
.rate-name { color: var(--paper); font-size: .98rem; }
.rate-name em { color: var(--muted-2); font-style: normal; font-size: .86rem; display: block; }
.rate-val { flex: 0 0 auto; text-align: right; white-space: nowrap; color: var(--white); font-family: var(--font-head); }
.rate-val .price { font-weight: 700; font-size: 1.45rem; color: var(--amber-lt); letter-spacing: -0.01em; }
.rate-val .rate-unit { font-weight: 500; font-size: .9rem; color: var(--muted); }

.rate-foot {
  margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--hairline-2);
  color: var(--muted); font-size: .9rem;
}
/* Inline price inside footer copy (e.g. the DIY parts-list fee) — subtle, not the big amber .price. */
.rate-foot .foot-price { color: var(--paper); font-family: var(--font-head); font-weight: 700; }

.pricing-note { margin: 1.9rem 0 0; color: var(--muted); font-size: 1rem; }
.pricing-note a { font-family: var(--font-head); font-weight: 700; }

/* ---------- The Stack (credibility band — the ACTUAL tooling, anti-MSP) ----------
   NOT a "trusted partners" wall. Marks grouped by FUNCTION with small amber labels
   so the band tells a story. Optical weight is normalized per-mark (square marks vs.
   wide wordmarks get different heights) so nothing dominates the row.

   TREATMENT: full color via <img> (Chris's pick, 2026-06-12). Official, unaltered
   marks; near-black marks use the vendor's own off-white-on-dark variant so they
   read on charcoal. Marks are never recolored into brand amber (trademark hygiene). */
.stack { background: var(--charcoal-2); }
.stack .section-head { max-width: 56ch; }
.stack .section-head p { max-width: 54ch; }

/* The render: functional groups laid out left-to-right, wrapping, with vertical
   hairline separators between groups (a clean rack, not a centered strip). */
.stack-render {
  display: flex; flex-wrap: wrap;
  gap: 1.25rem clamp(1.5rem, 4vw, 2.75rem);
  align-items: flex-start;
}
.stack-group { display: flex; flex-direction: column; gap: .9rem; }
/* Hairline between groups (skip the first) — reads as a rack of functional bays. */
.stack-group + .stack-group {
  border-left: 1px solid var(--hairline-2);
  padding-left: clamp(1.5rem, 4vw, 2.75rem);
}
.stack-group-label {
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-lt);
  margin: 0;
}
.stack-marks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.1rem, 2.5vw, 1.9rem);
  min-height: 34px; /* keep single-mark groups baseline-aligned with multi-mark ones */
}
.stack-marks li { display: flex; align-items: center; }

/* Full color via <img> (height-driven; width auto from aspect). Each mark is sized
   by VISUAL balance, not a fixed width, so no single wordmark dominates the row. */
.stack-color .markimg {
  display: block; width: auto; height: 22px;   /* Datto wordmark default */
  opacity: .94; transition: opacity .15s ease;
}
.stack-color .markimg-ms        { height: 18px; }   /* Microsoft lockup (4 squares + wordmark, ~4.7:1) */
.stack-color .markimg-amd       { height: 16px; }   /* AMD wordmark (very wide) */
.stack-color .markimg-oracle    { height: 17px; }   /* Oracle wordmark (very wide) */
.stack-color .markimg-kaseya    { height: 26px; }   /* Kaseya wordmark (white on dark, incl. descender) */
.stack-color .markimg-wide      { height: 22px; }   /* Meraki */
.stack-color .markimg-snow      { height: 30px; }   /* ServiceNow disc */
.stack-color .markimg-gw        { height: 15px; }   /* Google Workspace wordmark (very wide, ~7.8:1) */
.stack-color .markimg-pax8      { height: 27px; }   /* Pax8 lockup (white-on-dark, brand-correct) */
.stack-color .markimg-anthropic { height: 14px; }   /* Anthropic wordmark (off-white on dark, very wide ~8.9:1) */
.stack-color .markimg-nvidia    { height: 24px; }   /* NVIDIA lockup (green eye + white wordmark, dark-mode) */
.stack-color li:hover .markimg { opacity: 1; }

@media (max-width: 560px) {
  /* On the narrowest screens, drop the vertical separators so groups stack cleanly. */
  .stack-render { gap: 1.5rem; }
  .stack-group + .stack-group { border-left: 0; padding-left: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--charcoal-2); }
.contact-inner { max-width: 780px; }
.contact .kicker { margin-bottom: .6rem; }
.contact h2 { color: var(--white); font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.5rem); max-width: 22ch; }
.contact-promise { color: var(--muted); margin: 1rem 0 0; max-width: 56ch; }
.contact-channels { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.9rem; }
@media (min-width: 720px) { .contact-channels { grid-template-columns: repeat(3, 1fr); } }
.channel {
  display: flex; flex-direction: column; gap: .18rem;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--surface); padding: 1.35rem 1.4rem;
  text-decoration: none; color: var(--white); box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .12s ease;
}
.channel:hover { text-decoration: none; border-color: rgba(243,193,99,.5); transform: translateY(-2px); }
.channel:active { transform: translateY(0); }
.channel-ico { width: 30px; height: 30px; color: var(--amber-lt); margin-bottom: .55rem; }
.channel-ico svg { width: 30px; height: 30px; }
.channel-label { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.channel-sub { font-size: .9rem; color: var(--muted); }
/* Primary "Text me" card stays amber-FILLED; text inside is dark ink for legibility on amber. */
.channel-primary { background: var(--amber-core); border-color: var(--amber-core); box-shadow: 0 10px 28px rgba(224,154,54,.22); }
.channel-primary:hover { border-color: var(--amber-lt); filter: brightness(1.05); }
.channel-primary .channel-ico,
.channel-primary .channel-label { color: var(--charcoal-2); }
.channel-primary .channel-sub { color: #3A2C10; }
.contact-reach { margin: 1.5rem 0 0; max-width: 60ch; color: var(--muted); }
.contact-meta { margin: 1rem 0 0; font-size: .92rem; color: var(--muted-2); }

/* ---------- Footer (the north star) ---------- */
.site-footer { background: var(--charcoal-2); color: var(--muted); padding-block: 2.5rem; font-size: .9rem; border-top: 1px solid var(--hairline); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--paper); }
.site-footer .foot-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); font-family: var(--font-head); font-weight: 700; }
.site-footer .foot-brand img { width: 24px; height: 24px; }
.site-footer .foot-brand .p, .site-footer .foot-brand .c { color: var(--amber-lt); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--white); text-decoration: underline; }
.foot-meta { color: var(--muted); }
.foot-meta a { color: var(--amber-lt); }
.foot-legal {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline-2);
  font-size: .82rem; color: var(--muted-2);
}
.foot-legal-nav { display: flex; gap: 1.25rem; }
.foot-legal-nav a { color: var(--muted-2); text-decoration: none; }
.foot-legal-nav a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Standalone legal stub pages (dark) ---------- */
.legal-page { min-height: 60vh; }
.legal-page .wrap { padding-block: clamp(3rem, 8vw, 5rem); max-width: 720px; }
.legal-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 1rem; color: var(--white); }
.legal-page p { color: var(--muted); max-width: 60ch; }
.legal-page .back-link { display: inline-block; margin-top: 1.75rem; font-family: var(--font-head); font-weight: 600; }

/* ---------- Accessibility / motion ---------- */
:focus-visible { outline: 3px solid var(--amber-lt); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .channel, .rate-card, .primary-nav a, .nav-toggle-bars i,
  .stack-color .markimg { transition: none; }
}
