/* Sidekick Solutions — brand v1 "the steady hand"
   Palette, type and components. Tokens first, then components. */

/* ----------------------------------------------------------------- tokens */
:root {
  /* brand v1 */
  --pine:        #1F3A2E;
  --pine-light:  #2C4A3C;   /* illustration: near ridges */
  --pine-deep:   #16291F;   /* footer / hero base, darker tint of Pine */
  --gold:        #D98B28;   /* accent: sun, rules, one CTA per screen */
  /* Okanagan Gold is 4.51:1 on Pine — the brand pack restricts it to large
     text and headings. This lighter tint carries the small tracked labels
     and gold links on dark at 6.1:1. */
  --gold-on-dark: #E4AC65;
  /* Brand v1 specifies Gold Deep #9A5B16, verified at 5.4:1 on WHITE. On River
     Rock (#E9E6E1) that drops to 4.35:1, under AA for body text. Darkened two
     steps along the same hue to clear AA on both light surfaces. */
  --gold-deep:   #915615;   /* 4.76:1 on River Rock · 5.20:1 on River Warm · 5.92:1 on white */
  --river:       #E9E6E1;   /* light background, and text on Pine */
  --river-warm:  #F2F0EC;   /* lifted light surface */
  --charcoal:    #1F2937;   /* body text on light */
  --sage:        #7A8F73;   /* illustration only — never text */
  --fog:         #C5CEC2;   /* illustration: far ridges */

  /* derived text colours */
  --ink:         var(--charcoal);
  --ink-muted:   #4A5560;             /* 7.3:1 on River Rock */
  --on-pine:     var(--river);
  --on-pine-mut: #B9C5BC;             /* 6.6:1 on Pine */

  /* type */
  --display: "Montserrat", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.9vw, 4.2rem);
  --step-5:  clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);

  /* space */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --wrap: 1180px;
  --band: clamp(3.5rem, 2rem + 7vw, 7rem);

  --radius: 6px;
  --rule: 1px solid color-mix(in srgb, var(--charcoal) 16%, transparent);
  --rule-pine: 1px solid color-mix(in srgb, var(--river) 22%, transparent);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--river);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------ focus/skip */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-pine :focus-visible { outline-color: var(--gold); }
/* fixed, not absolute: an absolute skip link sits above the viewport once the
   page is scrolled, so it can be focused without ever becoming visible */
.skip {
  position: fixed; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--gold); color: #1a1205; font-weight: 700;
  padding: .7rem 1.1rem; border-radius: var(--radius);
  font-family: var(--display); font-size: var(--step--1);
  transition: top .15s;
}
.skip:focus { top: .6rem; }

/* --------------------------------------------------------------- helpers */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 62ch; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.band { padding-block: var(--band); }
.on-pine { background: var(--pine); color: var(--on-pine); }
.on-pine h1, .on-pine h2, .on-pine h3 { color: var(--river); }
.on-light { background: var(--river); color: var(--ink); }
.on-light-warm { background: var(--river-warm); color: var(--ink); }

/* small tracked label — Montserrat 600, +0.28em */
.label {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(.68rem, .64rem + .12vw, .76rem);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.on-pine .label { color: var(--gold-on-dark); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-muted); max-width: 54ch; }
.on-pine .lede { color: var(--on-pine-mut); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 62ch; }

/* gold rule — the brand's horizon line */
.rule-gold { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--display); font-weight: 700; font-size: var(--step-0);
  letter-spacing: -0.005em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .16s, border-color .16s, color .16s, transform .16s;
}
.btn-gold { background: var(--gold); color: #1a1205; border-color: var(--gold); }
.btn-gold:hover { background: #c57c20; border-color: #c57c20; }
.btn-ghost { background: transparent; color: var(--river); border-color: color-mix(in srgb, var(--river) 40%, transparent); }
.btn-ghost:hover { border-color: var(--river); background: color-mix(in srgb, var(--river) 10%, transparent); }
.btn-ink { background: var(--pine); color: var(--river); border-color: var(--pine); }
.btn-ink:hover { background: var(--pine-light); border-color: var(--pine-light); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Standalone text link with a gold underline. The underline is a pseudo
   element rather than a border so the hit area can reach 44px without
   pushing the rule away from the text. */
.tlink {
  position: relative;
  font-family: var(--display); font-weight: 700; text-decoration: none;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .55rem 0;
  transition: color .16s;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .42rem; height: 2px;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
  transition: background-color .16s;
}
.tlink:hover::after { background: var(--gold); }
.tlink .arr { transition: transform .16s; }
.tlink:hover .arr { transform: translateX(3px); }
.on-pine .tlink { color: var(--gold-on-dark); }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--pine);
  border-bottom: 1px solid color-mix(in srgb, var(--river) 14%, transparent);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand { display: flex; align-items: center; text-decoration: none; padding: .4rem 0; min-height: 44px; }
.brand .logo { width: auto; height: 34px; }
@media (max-width: 420px) { .brand .logo { height: 28px; } }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .02em; text-decoration: none; color: var(--on-pine);
  padding: .65rem .8rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; min-height: 44px;
  transition: background-color .15s, color .15s;
}
.nav a:hover { background: color-mix(in srgb, var(--river) 10%, transparent); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .nav-cta { margin-left: .5rem; min-height: 44px; padding: .6rem 1.15rem; font-size: var(--step--1); }

.burger {
  display: none; width: 46px; height: 46px; padding: 11px 10px;
  background: transparent; border: 1px solid color-mix(in srgb, var(--river) 30%, transparent);
  border-radius: var(--radius); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--river); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--pine-deep);
    border-bottom: 3px solid var(--gold);
    padding: .5rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .95rem .2rem; border-bottom: var(--rule-pine); border-radius: 0; }
  .nav .nav-cta { margin: .9rem 0 0; border-bottom: 0; justify-content: center; }
}

/* anchors clear the sticky header */
[id] { scroll-margin-top: 84px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--pine); color: var(--on-pine); overflow: hidden; }
.hero-inner { padding-top: clamp(3rem, 1.5rem + 6vw, 6rem); padding-bottom: clamp(10rem, 6rem + 16vw, 17rem); position: relative; z-index: 2; }
.hero h1 {
  font-size: var(--step-5);
  letter-spacing: -0.025em;
  max-width: 17ch;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }
/* the hero lede is the second thing read — keep it near full strength */
.hero .lede { max-width: 50ch; margin-bottom: 2.2rem; font-size: var(--step-1); color: #D6DFD8; }
.hero .btn-row { margin-bottom: 0; }

/* three proof points, separated by rules — not cards */
.proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  max-width: 760px;
}
.proof li { border-top: 2px solid var(--gold); padding-top: .85rem; }
.proof strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: var(--step-1); color: var(--river); line-height: 1.15; margin-bottom: .25rem;
}
.proof span { font-size: var(--step--1); color: var(--on-pine-mut); line-height: 1.45; }
@media (max-width: 620px) {
  .proof { grid-template-columns: 1fr; gap: 1.1rem; max-width: 34ch; }
}

/* the ridgeline device — one per layout, at the base of the hero.
   Ridges stretch to any width; the sun is separate so it stays a circle. */
.ridge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: clamp(170px, 11vw + 110px, 300px);
  pointer-events: none;
}
.ridge svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ridge-sun {
  position: absolute;
  right: clamp(8%, 14vw, 22%);
  bottom: 42%;
  width: clamp(76px, 9vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
}

/* section headers — label, heading, lede */
.sec-head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.sec-head h2 { font-size: var(--step-3); max-width: 18ch; }
.sec-head .lede { margin-top: 1rem; }
.sec-head--tight h2 { max-width: 16ch; }
.sec-head--bare { margin-bottom: 2rem; }
.more { margin-top: clamp(2rem, 1rem + 2vw, 2.8rem); }

/* a plain angular edge used for other section transitions */
.edge { display: block; width: 100%; height: clamp(38px, 4vw, 70px); }

/* ------------------------------------------------- editorial work listing */
.worklist { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.workrow {
  display: grid; gap: clamp(1.4rem, 1rem + 2vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  border-top: var(--rule); padding-top: clamp(1.6rem, 1rem + 1.5vw, 2.6rem);
}
/* reversed rows swap the column widths too, so the screenshot column is
   always the wider one and every row's image is the same size */
.workrow:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.workrow:nth-child(even) .workrow-media { order: -1; }
.workrow-idx {
  font-family: var(--display); font-weight: 800; font-size: var(--step--1);
  color: var(--gold-deep); letter-spacing: .12em; margin-bottom: .7rem; display: block;
}
.workrow h3 { font-size: var(--step-3); margin-bottom: .9rem; letter-spacing: -0.02em; }
.workrow p { color: var(--ink-muted); max-width: 46ch; }
.workrow p + p { margin-top: .85rem; }
.workrow-media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--charcoal) 14%, transparent);
  box-shadow: 0 14px 34px -22px rgba(31, 58, 46, .5);
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: 1.2rem 0; }
.tags li {
  font-family: var(--display); font-weight: 600; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--pine); background: color-mix(in srgb, var(--pine) 9%, transparent);
  padding: .35rem .6rem; border-radius: 3px;
}
.workrow-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.1rem; }
.demo-note {
  font-size: var(--step--1); color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: .45rem;
}
.demo-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: none; }
@media (max-width: 800px) {
  .workrow { grid-template-columns: 1fr; }
  .workrow:nth-child(even) .workrow-media { order: 0; }
  .workrow-media { order: -1; }
}

/* --------------------------------------------- inner-page masthead + bits */
.band--page { padding-block: clamp(2.8rem, 1.6rem + 4vw, 5rem) clamp(3rem, 1.8rem + 4.5vw, 5.5rem); }
.page-h1 {
  font-size: var(--step-4);
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 1.3rem;
}
.band--page .lede { max-width: 56ch; color: #D6DFD8; }
.worklist--top > .workrow:first-child { border-top: 0; padding-top: 0; }

/* the services list on /what-i-build/ */
.svclist { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.svc {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.2rem, .8rem + 2vw, 2.8rem);
  border-top: var(--rule);
  padding-top: clamp(1.6rem, 1rem + 1.5vw, 2.4rem);
}
.svclist > .svc:first-child { border-top: 0; padding-top: 0; }
.svc-idx {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--gold);
}
.svc h3 { font-size: var(--step-2); margin-bottom: .9rem; }
.svc-list { padding-top: .3rem; }
@media (max-width: 900px) {
  .svc { grid-template-columns: auto minmax(0, 1fr); }
  .svc-list { grid-column: 2; }
}
@media (max-width: 560px) {
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc-list { grid-column: 1; }
}

/* the three figures on /about/ */
.stats { display: grid; gap: 1.4rem; }
.stats li { border-top: 3px solid var(--gold); padding-top: .9rem; }
.stats strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1;
  color: var(--pine); margin-bottom: .3rem;
}
.stats span { color: var(--ink-muted); font-size: var(--step--1); line-height: 1.5; }

.split--phones { align-items: center; }

/* ------------------------------------------------------- statement band */
.statement { text-align: center; }
.statement .rule-gold { margin-inline: auto; }
.statement q {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.025em;
  max-width: 20ch; margin: 0 auto 1.4rem; quotes: none;
}
.statement p { max-width: 52ch; margin-inline: auto; color: var(--on-pine-mut); font-size: var(--step-1); }

/* ------------------------------------------------- numbered editorial list */
.joblist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 1rem + 2.5vw, 3.2rem); }
.joblist > li { border-top: 3px solid var(--pine); padding-top: 1.3rem; }
.joblist h3 { font-size: var(--step-2); margin-bottom: .7rem; }
.joblist p { color: var(--ink-muted); }
.on-pine .joblist > li { border-top-color: var(--gold); }
.on-pine .joblist p { color: var(--on-pine-mut); }
@media (max-width: 800px) { .joblist { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- the steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 1rem + 2vw, 2.6rem); counter-reset: s; }
.steps > li { counter-increment: s; }
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--gold);
  margin-bottom: .5rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.steps p { color: var(--on-pine-mut); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- split / feature */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 1rem + 4vw, 4.5rem); align-items: start;
}
/* minmax(0,1fr), not 1fr: a plain 1fr track has an automatic minimum of
   min-content, so a flex row inside it widens the page instead of shrinking */
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.ticks { display: grid; gap: .85rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; line-height: 1.55; }
.ticks li::before {
  content: ""; margin-top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------------- phones */
.phones { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-end; }
.phones img {
  /* flex:1 1 0 + min-width:0 lets the pair shrink below their natural width
     instead of pushing the page wider than the viewport at 390px */
  flex: 1 1 0; min-width: 0;
  width: auto; max-width: 230px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--charcoal) 16%, transparent);
  box-shadow: 0 18px 40px -26px rgba(31, 58, 46, .55);
}
.phones img:nth-child(2) { margin-bottom: clamp(1rem, 4vw, 2.6rem); }

/* -------------------------------------------------------------------- FAQ */
.faq { max-width: 760px; }
.faq details { border-top: var(--rule); }
.faq details:last-of-type { border-bottom: var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: var(--step-1);
  line-height: 1.3; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--gold-deep); }
.faq .answer { padding: 0 0 1.4rem; color: var(--ink-muted); max-width: 62ch; }
.faq .answer p + p { margin-top: .9rem; }

/* ------------------------------------------------------------------ form */
.form-wrap { max-width: 680px; }

/* the Netlify honeypot: off-screen rather than display:none, which some bots
   skip. tabindex="-1" keeps it out of the tab order. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

fieldset { border: 0; padding: 0; margin: 0 0 clamp(2rem, 1.2rem + 2vw, 3rem); }
legend {
  font-family: var(--display); font-weight: 800;
  font-size: var(--step-2); letter-spacing: -0.015em;
  padding: 0 0 .5rem; margin-bottom: 1.4rem; width: 100%;
  border-bottom: 2px solid var(--gold);
}
.field { margin-bottom: 1.5rem; }
.field > label, .grp-label {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: var(--step-0); line-height: 1.4; margin-bottom: .45rem;
}
.req { color: var(--gold-deep); }
.hint {
  display: block; font-size: var(--step--1); color: var(--ink-muted);
  line-height: 1.5; margin-bottom: .6rem;
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: var(--body); font-size: var(--step-0);
  color: var(--ink); background: #FFFFFF;
  border: 1.5px solid color-mix(in srgb, var(--charcoal) 26%, transparent);
  border-radius: var(--radius); padding: .75rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%),
                    linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input:hover, select:hover, textarea:hover {
  border-color: color-mix(in srgb, var(--charcoal) 44%, transparent);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent);
}
input:user-invalid, textarea:user-invalid { border-color: #B91C1C; }

.choices { display: grid; gap: .55rem; }
.choice {
  display: flex; align-items: center; gap: .7rem;
  min-height: 48px; padding: .6rem .9rem; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--charcoal) 20%, transparent);
  border-radius: var(--radius); background: #FFFFFF;
  font-size: var(--step-0); line-height: 1.4;
  transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--pine); }
.choice input[type="radio"] { width: 20px; height: 20px; accent-color: var(--pine); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 7%, #FFFFFF); }

.form-wrap .btn { width: 100%; margin-top: .5rem; }
.send-note {
  margin-top: 1rem; font-size: var(--step--1); color: var(--ink-muted); line-height: 1.6;
}
.send-note a { color: var(--gold-deep); text-underline-offset: 3px; }

/* long-form copy (privacy) */
.prose--doc { max-width: 68ch; }
.prose--doc h2 {
  font-size: var(--step-2); margin: 2.4rem 0 .8rem; letter-spacing: -0.015em;
}
.prose--doc h2:first-child { margin-top: 0; }
.prose--doc p { margin-bottom: 1rem; color: var(--ink-muted); }
.prose--doc a { color: var(--gold-deep); text-underline-offset: 3px; }

/* ------------------------------------------------------------------- CTA */
.cta { text-align: center; position: relative; }
.cta .rule-gold { margin-inline: auto; }
.cta--page .page-h1 { margin-inline: auto; }
.cta--page .lede { margin-inline: auto; margin-bottom: 1rem; max-width: 52ch; }
.cta--page .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta h2 { font-size: var(--step-4); letter-spacing: -0.025em; max-width: 18ch; margin: 0 auto 1.2rem; }
.cta p { max-width: 54ch; margin: 0 auto 2rem; color: var(--on-pine-mut); font-size: var(--step-1); }
.cta .btn-row { justify-content: center; }
.cta .after { margin-top: 1.4rem; font-size: var(--step--1); color: var(--on-pine-mut); }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--pine-deep); color: var(--on-pine-mut); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 2rem; }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 1rem + 3vw, 3.5rem);
}
.foot-brand .flogo { width: 150px; height: auto; margin-bottom: 1.1rem; }
.foot-brand p { max-width: 38ch; font-size: var(--step--1); line-height: 1.6; }
.site-foot h3 {
  font-family: var(--display); font-weight: 600; font-size: .74rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-on-dark);
  margin-bottom: 1rem;
}
.site-foot nav { display: grid; gap: .1rem; }
.site-foot nav a, .site-foot .fcontact a, .site-foot .fcontact span {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--step--1); color: var(--on-pine-mut); text-decoration: none;
}
.site-foot nav a:hover, .site-foot .fcontact a:hover { color: var(--river); text-decoration: underline; text-underline-offset: 3px; }
.fcontact { display: grid; gap: .1rem; }
.foot-base {
  margin-top: clamp(2rem, 1rem + 2vw, 3rem); padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--river) 14%, transparent);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; line-height: 1.6;
}
.foot-base p { max-width: 70ch; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
