@charset "utf-8";
/* ═══════════════════════════════════════════════════════════════════════════
   Curbwise Trades Network
   1. Tokens   2. Reset   3. Type   4. Layout   5. Components
   6. Sections 7. Form    8. Motion 9. Responsive

   Exterior trades: everything from the curb to the front door. Olive and
   chalk, a geometric sans, one chamfered corner on every surface, an aggregate
   speckle, road-marking dashes as dividers, and a season chart where another
   site would put a hero photograph.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url("_lqip.css");

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* One accent: the orange of marking paint and a work vest. */
  --mark:      #fa8a5e;   /* 5.5:1 on field */
  --mark-deep: #a83206;   /* 5.4:1 on chalk */

  /* The APWA uniform color code for underground utilities. These are real
     and they mean something — see the dig-safe section. Decoration only
     everywhere else, which is why none of them ever carries text. */
  --u-white:  #ffffff;
  --u-pink:   #f26fb8;
  --u-red:    #e02b1e;
  --u-yellow: #f2c012;
  --u-orange: #f08a1d;
  --u-green:  #159a3f;
  --u-blue:   #1668c9;
  --u-purple: #8e3fc4;

  --t-display: clamp(2.6rem, 1rem + 5.6vw, 5.4rem);
  --t-h2:      clamp(1.8rem, 1.15rem + 2.3vw, 3rem);
  --t-h3:      clamp(1.14rem, 1.02rem + 0.48vw, 1.44rem);
  --t-lede:    clamp(1.06rem, 0.99rem + 0.4vw, 1.28rem);
  --t-body:    clamp(1rem, 0.97rem + 0.18vw, 1.07rem);
  --t-small:   0.79rem;
  --t-tiny:    0.69rem;

  --shell: 82rem;
  --gut:   clamp(1.2rem, 0.6rem + 2.5vw, 3.2rem);
  --sec-y: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --cut:   clamp(10px, 1.4vw, 18px);   /* the chamfer, one corner, everywhere */

  --ease: cubic-bezier(.25, .85, .3, 1);

  /* Aggregate. Turbulence pushed through a discrete alpha ramp so it breaks
     into sparse flecks rather than the fine even grain the other sites use. */
  --grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='2' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  color-scheme: dark;
}

[data-ground="field"] {
  --bg:      #2f3324;
  --raise:   #3a3f2c;
  --line:    #545a41;
  --ink:     #eef0e4;
  --mute:    #a9b09a;   /* 5.8:1 */
  --acc:     var(--mark);
  --on-acc:  #231f13;
  --err:     #ffb1a2;
  --ok:      #a6d77f;
  --grit-op: .09;
}
[data-ground="chalk"] {
  --bg:      #e9e7df;
  --raise:   #f6f5f0;
  --line:    #cbc8ba;
  --ink:     #20221a;
  --mute:    #5c6052;   /* 5.1:1 */
  --acc:     var(--mark-deep);
  --on-acc:  #fdf6f2;
  --err:     #932b05;
  --ok:      #2c5e1f;
  --grit-op: .07;
}

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

@font-face {
  font-family: "Jost"; src: url("/assets/fonts/jost.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans"; src: url("/assets/fonts/work-sans.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* scroll-padding-top, not scroll-margin on each target: the nav is fixed, so
   without it every in-page link scrolls its heading to y=0 and straight under
   an opaque bar. Measured at 69-75px across this family. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: #2f3324;
  color: #eef0e4;
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.64;
  font-feature-settings: "tnum" 1;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; }
::selection { background: var(--mark); color: #231f13; }

[hidden] { display: none !important; }

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

.u-sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: 0; left: 50%; translate: -50% -160%;
  z-index: 200; padding: .85rem 1.5rem;
  background: var(--mark); color: #231f13;
  font-family: "Jost", sans-serif; font-weight: 600; letter-spacing: .04em;
  transition: translate .25s var(--ease);
}
.skip:focus { translate: -50% 0; }

/* ── 3. Type ───────────────────────────────────────────────────────────── */
.h1, .h2, .h3, h1, h2, h3 {
  font-family: "Jost", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600; line-height: 1.03; letter-spacing: -.026em;
  text-wrap: balance;
}
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.016em; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.label {
  display: inline-block;
  font-family: "Jost", sans-serif; font-weight: 600;
  font-size: var(--t-small); letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc);
}
.label--mute { color: var(--mute); }
.lede { font-size: var(--t-lede); color: var(--mute); }
.sep { opacity: .45; padding-inline: .3em; }
/* Spanish set alongside English rather than under it. This workforce is
   bilingual and treating the Spanish as a footnote would say so — which means
   it does not get muted or italicised either. */
.es { color: var(--ink); }

.sec-head { max-width: 47rem; margin-bottom: clamp(2.3rem, 1.6rem + 2.8vw, 3.8rem); }
.sec-head .h2 { margin-top: .85rem; }
.sec-head .lede { margin-top: 1rem; max-width: 40rem; }

/* ── 4. Layout ─────────────────────────────────────────────────────────── */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gut);
  position: relative; z-index: 2;
}

section[data-ground], .foot { position: relative; background: var(--bg); color: var(--ink); }
/* flow-root so a first child's top margin cannot collapse out of a band and
   leave a strip of the body background showing between two sections. */
section[data-ground] { padding-block: var(--sec-y); display: flow-root; }
/* Where two sections share a ground, only one pays for the join. */
section[data-ground="chalk"] + section[data-ground="chalk"],
section[data-ground="field"] + section[data-ground="field"] { padding-top: 0; }

/* Aggregate, above the ground and below the content. Deliberately NOT applied
   with `section > *` — that outranks position:absolute on full-bleed media
   layers and drops them into normal flow. */
section[data-ground]::before, .foot::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grit);
  opacity: var(--grit-op);
}

/* Road marking. Long dashes with long gaps, the proportions of a lane line. */
.dash {
  height: 6px;
  background-image: linear-gradient(to right, var(--acc) 0 44px, transparent 44px 84px);
  background-size: 84px 6px; background-repeat: repeat-x;
  opacity: .8;
}

/* ── 5. Components ─────────────────────────────────────────────────────── */

/* Photography — one grade across every frame, which is what stops a set of
   stock photographs looking like a set of stock photographs. */
.ph {
  position: relative; display: block; overflow: hidden;
  background-image: var(--lqip);
  background-size: cover; background-position: center;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  isolation: isolate;
}
.ph picture { display: block; width: 100%; height: 100%; }
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) contrast(1.07) brightness(.98);
  opacity: 0; transition: opacity .6s var(--ease), scale 1.2s var(--ease);
}
.ph img.is-loaded { opacity: 1; }
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(202deg, rgba(250,138,94,.22) 0%, rgba(250,138,94,0) 52%),
    linear-gradient(0deg,   rgba(47,51,36,.44)  0%, rgba(47,51,36,0)  56%);
  mix-blend-mode: soft-light;
}
.ph--trade { aspect-ratio: 3 / 2; }
.ph--door  { aspect-ratio: 16 / 10; }
.ph--band  { aspect-ratio: 17 / 7; }
.ph--wide  { aspect-ratio: 16 / 10; }
.ph--cut   { aspect-ratio: 3 / 2; }

/* Buttons — the chamfer is drawn with a gradient rather than clip-path, so the
   focus ring survives. */
.btn {
  --pad: .82rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: var(--pad);
  font-family: "Jost", sans-serif; font-weight: 600; font-size: .94rem; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), translate .28s var(--ease);
}
.btn--lg   { --pad: 1rem 1.9rem; font-size: 1.02rem; }
.btn--full { width: 100%; }
.btn--solid {
  color: var(--on-acc); border-color: transparent;
  background-color: var(--acc);
  /* The notch is cut, not painted: a painted triangle has to match whatever is
     behind the button, and this button sits on three different surfaces. */
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.btn--solid:hover { background-color: var(--ink); color: var(--bg); }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--acc); color: var(--acc); }
.btn:active { translate: 0 1px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav::before { content: none; }
.nav.is-stuck {
  background: color-mix(in oklab, #2f3324 93%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.2rem); min-height: 70px; }
.nav__links { display: flex; gap: clamp(.9rem, 1.9vw, 1.8rem); margin-inline: auto; }
.nav__links a {
  position: relative; padding: .4rem .1rem;
  font-family: "Jost", sans-serif; font-size: .93rem; font-weight: 500;
  color: var(--mute); transition: color .28s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--acc); scale: 0 1; transform-origin: right;
  transition: scale .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-here { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-here::after { scale: 1 1; transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav .btn { --pad: .58rem 1.05rem; font-size: .85rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand__mark { width: 28px; height: 28px; color: var(--acc); flex: none; }
.brand__word {
  display: flex; flex-direction: column; line-height: 1;
  font-family: "Jost", sans-serif; font-weight: 600; font-size: 1.24rem; letter-spacing: -.02em;
}
.brand__sub {
  font-family: "Work Sans", sans-serif; font-size: .55rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-top: .34rem;
}

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav__bar {
  display: block; width: 22px; height: 2px; background: var(--ink); margin-inline: auto;
  transition: translate .25s var(--ease), rotate .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { translate: 0 3.5px; rotate: 45deg; }
.nav__toggle[aria-expanded="true"] .nav__bar:last-child  { translate: 0 -3.5px; rotate: -45deg; }

.menu {
  display: flex; flex-direction: column;
  padding: .4rem var(--gut) 1.8rem;
  background: #2f3324; border-top: 1px solid var(--line);
}
.menu a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
.menu__cta { color: var(--mark); font-weight: 600; }

/* ── 6. Sections ───────────────────────────────────────────────────────── */

/* Hero — type and a season chart. No photograph. */
.hero { padding-block: 7.5rem clamp(2.5rem, 1.8rem + 2.4vw, 4rem); }
.hero__h { font-size: var(--t-display); margin: 1rem 0 0; max-width: 18ch; }
.hero__h em { font-style: normal; color: var(--acc); }
.hero__lede { margin-top: 1.4rem; max-width: 40rem; font-size: var(--t-lede); color: var(--mute); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }

/* Season chart — the signature device. */
.season { width: 100%; margin-top: clamp(2.6rem, 2rem + 2.4vw, 4rem); }
.season caption {
  text-align: left; color: var(--mute); font-size: .88rem;
  padding-bottom: 1rem; max-width: 46rem;
}
.season th, .season td { text-align: left; padding: .85rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.season thead th {
  font-family: "Jost", sans-serif; font-weight: 600; font-size: var(--t-tiny);
  letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  border-bottom: 2px solid var(--line); padding-bottom: .5rem;
}
.season tbody th {
  font-family: "Jost", sans-serif; font-weight: 600; font-size: 1.02rem;
  color: var(--ink); width: 24%; letter-spacing: -.012em;
}
.season td { color: var(--mute); font-size: .92rem; }
.season tbody tr:hover { background: var(--raise); }

.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.months i {
  font-style: normal; font-family: "Jost", sans-serif; font-size: var(--t-tiny);
  text-align: center; color: var(--mute); letter-spacing: 0;
}
.bar {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px;
  min-width: 11rem;
}
.bar i { display: block; height: 11px; background: var(--line); }
.bar i.on { background: var(--acc); }
.bar__t { display: block; margin-top: .4rem; font-size: var(--t-tiny); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }

/* Essay */
.essay__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
.essay__body p + p { margin-top: 1.05rem; }
.essay__body p { color: var(--mute); }
.essay__body .h2 { margin: .85rem 0 1.25rem; }
.pull {
  margin: 1.8rem 0; padding: 1.1rem 0 1.1rem 1.3rem;
  border-left: 5px solid var(--acc);
  font-family: "Jost", sans-serif; font-weight: 600;
  font-size: clamp(1.2rem, 1.05rem + .85vw, 1.56rem); line-height: 1.26;
  color: var(--ink); letter-spacing: -.02em;
}

/* Trades directory */
.dir { border-top: 2px solid var(--line); }
.row {
  display: grid; grid-template-columns: 15rem minmax(0, 1fr) 13rem;
  gap: clamp(1.2rem, 2.4vw, 2.4rem); align-items: start;
  padding-block: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
  border-bottom: 1px solid var(--line);
}
.row:hover .ph img { scale: 1.04; }
.row h3 { margin-bottom: .5rem; }
.row p { color: var(--mute); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.chips li {
  padding: .24rem .6rem; border: 1px solid var(--line);
  font-family: "Jost", sans-serif; font-size: var(--t-tiny); letter-spacing: .03em;
  color: var(--mute);
}
.row__meta { font-size: .86rem; color: var(--mute); }
.row__meta b { display: block; font-family: "Jost", sans-serif; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .2rem; }
.row__meta + .row__meta { margin-top: .8rem; }

/* Full-bleed band. The attribute has to be in the selector: `section[data-ground]`
   is 0-1-1 and a bare `.band` is 0-1-0, so a plain class loses and the band
   keeps its section padding — which shows up as an orphan strip of ground
   above and below the photograph. */
.band[data-ground] { padding-block: 0; }
.band__fig { position: relative; }
.band__cap {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: clamp(1.2rem, 1rem + 2vw, 2.6rem) 0;
  background: linear-gradient(0deg, rgba(47,51,36,.97) 0%, rgba(47,51,36,.86) 42%, rgba(47,51,36,0) 100%);
}
.band__cap p { font-family: "Jost", sans-serif; font-weight: 600; font-size: clamp(1.05rem, .95rem + .7vw, 1.5rem); letter-spacing: -.018em; max-width: 34rem; }

/* Panels */
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.panel--flip .panel__fig { order: -1; }
.panel__body .h2 { margin: .85rem 0 1.15rem; }
.panel__body > p { color: var(--mute); }
.panel__body > p + p { margin-top: .9rem; }
.ticks { display: grid; gap: .66rem; margin: 1.4rem 0 1.8rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--mute); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: .7rem; height: .55rem; background: var(--acc);
  clip-path: polygon(0 0, 100% 0, 100% 100%, .28rem 100%);
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* Dig-safe: the APWA legend */
.dig__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.apwa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1rem, 3vw, 2.4rem); }
.apwa li { display: flex; align-items: center; gap: .7rem; padding-block: .62rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.apwa .sw { width: 1.1rem; height: 1.1rem; flex: none; border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); }
.apwa b { font-family: "Jost", sans-serif; font-weight: 600; color: var(--ink); }

/* Steps */
.steps { max-width: 52rem; border-top: 2px solid var(--line); }
.step { padding-block: clamp(1.3rem, 1.1rem + 1.1vw, 1.9rem); border-bottom: 1px solid var(--line); }
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--mute); }
.step__k {
  display: inline-block; margin-bottom: .55rem; padding: .16rem .66rem;
  background: var(--raise); color: var(--acc);
  font-family: "Jost", sans-serif; font-weight: 600; font-size: var(--t-tiny);
  letter-spacing: .13em; text-transform: uppercase;
}

/* Quotes */
.quotes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2.4vw, 2.8rem); }
.quote { border-top: 3px solid var(--acc); padding-top: 1.2rem; }
.quote blockquote p { font-size: 1.02rem; line-height: 1.5; }
.quote figcaption { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .18rem; }
.quote__who { font-family: "Jost", sans-serif; font-weight: 600; font-size: .92rem; }
.quote__where { font-size: .85rem; color: var(--mute); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
.faq__list { border-top: 2px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-family: "Jost", sans-serif; font-weight: 600; font-size: 1.06rem; letter-spacing: -.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; background: var(--acc);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: rotate .28s var(--ease);
}
.faq details[open] summary::after { rotate: 180deg; }
.faq summary:hover { color: var(--acc); }
.faq__a { padding-bottom: 1.35rem; padding-right: clamp(0rem, 5vw, 4rem); }
.faq__a p { color: var(--mute); }
.faq__a p + p { margin-top: .85rem; }
.faq__a a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
.contact__head .h2 { margin: .85rem 0 1.15rem; }
.contact__es { margin-top: 1rem; }
.contact__direct { margin-top: 1.9rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; }
.contact__direct a {
  font-family: "Jost", sans-serif; font-weight: 600; color: var(--acc);
  text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere;
}

/* ── 7. Form ───────────────────────────────────────────────────────────── */
/* Everything inside derives from the ground tokens. A component that hardcodes
   its own surfaces will fail contrast on whichever ground it did not expect. */
.form { background: var(--raise); border: 1px solid var(--line); padding: clamp(1.3rem, 1rem + 1.9vw, 2.3rem); }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--line); margin-bottom: 1.7rem; }
.seg__btn {
  padding: .78rem .9rem; background: none; border: 0; cursor: pointer;
  font-family: "Jost", sans-serif; font-weight: 600; font-size: .92rem;
  color: var(--mute); transition: background .28s var(--ease), color .28s var(--ease);
}
.seg__btn.is-on { background: var(--acc); color: var(--on-acc); }
.seg__btn:not(.is-on):hover { color: var(--ink); }

.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-family: "Jost", sans-serif; font-weight: 600; font-size: .86rem; }
.field .opt { font-family: "Work Sans", sans-serif; font-weight: 400; color: var(--mute); }
.field input, .field textarea {
  width: 100%; padding: .74rem .9rem;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--mute) 92%, transparent); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--acc); }
.field textarea { resize: vertical; min-height: 5.8rem; }
.field__err { font-size: .8rem; color: var(--err); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--err); }

.check { flex-direction: row; align-items: flex-start; gap: .62rem; }
.check input { width: 1.5rem; height: 1.5rem; flex: none; margin-top: .28rem; accent-color: var(--acc); }
.check label { font-family: "Work Sans", sans-serif; font-weight: 400; color: var(--mute); font-size: .9rem; line-height: 1.5; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form button[type="submit"] { margin-top: 1.6rem; }
.form__status { margin-top: .95rem; font-size: .92rem; color: var(--ok); }
.form__status:empty { margin: 0; }
.form__status.is-bad { color: var(--err); }
.form__status a { color: inherit; text-decoration: underline; }
.form__fine { margin-top: 1.05rem; font-size: .83rem; color: var(--mute); line-height: 1.55; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.foot { padding-block: clamp(3rem, 2rem + 2.6vw, 4.4rem) 2.3rem; border-top: 1px solid var(--line); }
.foot__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.4rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-inline: auto; }
.foot__nav a { font-size: .92rem; color: var(--mute); transition: color .28s var(--ease); }
.foot__nav a:hover { color: var(--ink); }
.foot__mail a {
  font-family: "Jost", sans-serif; font-weight: 600; color: var(--acc);
  text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere;
}
.foot__eeo { margin-top: 2rem; max-width: 62rem; font-size: .82rem; line-height: 1.62; color: var(--mute); }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--mute);
}

/* ── 8. Motion ─────────────────────────────────────────────────────────── */
/* Visible by default, so the page still reads if the script never runs. The
   script adds .js itself as its first statement, which is what opts in. */
.reveal { opacity: 1; translate: none; }
.js .reveal {
  opacity: 0; translate: 0 18px;
  transition: opacity .75s var(--ease), translate .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

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

/* ── 9. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .row { grid-template-columns: 12rem minmax(0, 1fr); }
  .row__meta { grid-column: 2; }
  .essay__grid, .panel, .dig__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .panel--flip .panel__fig { order: 0; }
  .panel__fig { max-width: 36rem; }
  .quotes__list { grid-template-columns: minmax(0, 1fr); }
  .season tbody th { width: 30%; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav { background: color-mix(in oklab, #2f3324 93%, transparent); backdrop-filter: blur(12px); }
  .apwa { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .row .ph { max-width: 14rem; }
  .row__meta { grid-column: auto; }
  .form__fields { grid-template-columns: minmax(0, 1fr); }
  .field--wide { grid-column: auto; }
  .foot__nav { margin-inline: 0; width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  /* The season chart cannot shrink below twelve columns; stack it into rows. */
  .season, .season tbody, .season tr, .season td, .season th, .season caption { display: block; width: auto; }
  .season tbody th { width: auto; }
  .season thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .season tbody tr { border-bottom: 2px solid var(--line); padding-block: .8rem; }
  .season tbody th { border: 0; padding: 0 0 .5rem; width: auto; }
  .season td { border: 0; padding: .25rem 0; }
  .bar { min-width: 0; }
}

@media (max-width: 420px) {
  .seg { grid-template-columns: minmax(0, 1fr); }
  .seg__btn + .seg__btn { border-top: 2px solid var(--line); }
}

@media print {
  .nav, .form, .skip, .dash { display: none !important; }
  body, section[data-ground] { background: #fff !important; color: #000 !important; }
}
