/* ==========================================================================
   Hartwell Turnkey Operations
   Direction: dawn on the water, run like an operations desk.
   Deep lake teal + dock brass. Serif voice, mono instrument readouts.
   ========================================================================== */

/* ---- tokens --------------------------------------------------------------- */
:root {
  /* anchor hue: lake teal 192deg */
  --abyss:    #05161b;
  --deep:     #0a2129;
  --slate:    #11323c;
  --slate-hi: #17404c;
  --line:     rgba(214, 235, 232, 0.13);
  --line-hi:  rgba(214, 235, 232, 0.26);
  --mist:     #9fb8b7;
  --mist-dim: #6f8a8a;
  --linen:    #eef4f1;
  --brass:    #e0a85c;
  --brass-hot:#f6c983;
  --brass-dim:rgba(224, 168, 92, 0.14);
  --sun:      #ffd9a0;
  --alert:    #e8805c;

  /* type */
  --display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino,
             "Book Antiqua", Georgia, "Noto Serif", "Times New Roman", serif;
  --text: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono",
          "Roboto Mono", Consolas, monospace;

  /* fluid scale, ~1.26 ratio, 390px -> 1280px */
  --t-xs:   clamp(0.688rem, 0.66rem + 0.14vw, 0.75rem);
  --t-sm:   clamp(0.812rem, 0.79rem + 0.12vw, 0.875rem);
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.062rem);
  --t-lg:   clamp(1.125rem, 1.05rem + 0.38vw, 1.312rem);
  --t-xl:   clamp(1.375rem, 1.2rem + 0.88vw, 1.75rem);
  --t-2xl:  clamp(1.75rem, 1.42rem + 1.65vw, 2.5rem);
  --t-3xl:  clamp(2.25rem, 1.66rem + 2.95vw, 3.75rem);
  --t-4xl:  clamp(2.4rem, 1.62rem + 3.9vw, 4.6rem);

  /* space: 4px base */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.5rem;   --s6: 2rem;     --s7: 3rem;     --s8: 4rem;
  --s9: 6rem;     --s10: 8rem;

  --r-sm: 6px; --r: 12px; --r-lg: 20px; --r-pill: 999px;
  --gut: clamp(1.25rem, 5vw, 2.5rem);
  --measure: 34rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--abyss);
}
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.62;
  color: var(--linen);
  background: var(--abyss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.021em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ---- utility -------------------------------------------------------------- */
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: var(--measure); }
.mono {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--brass-hot);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* section rhythm */
.sec { padding-block: clamp(var(--s8), 13vw, var(--s10)); position: relative; }
.sec + .sec { padding-top: 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: baseline; gap: var(--s3);
  margin-bottom: var(--s4);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px; flex: none;
  transform: translateY(-0.3em);
  background: linear-gradient(90deg, var(--brass), transparent);
}
.lede { color: var(--mist); font-size: var(--t-lg); line-height: 1.55; }

/* ---- skip link ------------------------------------------------------------ */
.skip {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 90;
  padding: var(--s2) var(--s4); background: var(--brass); color: var(--abyss);
  border-radius: var(--r-sm); font-weight: 600; transform: translateY(-250%);
  transition: transform 160ms var(--ease);
}
.skip:focus { transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
}
/* painted fallback behind the shader: dawn over water */
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 62% at 72% 52%, rgba(255, 196, 120, 0.32), transparent 62%),
    linear-gradient(180deg, #04121a 0%, #0a2b35 36%, #1d4a50 50%, #0a222a 54%, #05161b 100%);
}
#gl {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}
#gl.live { opacity: 1; }
.hero::after { /* legibility scrim, bottom-weighted */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(4, 16, 22, 0.74) 0%, rgba(4, 16, 22, 0.2) 24%,
    rgba(4, 16, 22, 0.26) 50%, rgba(5, 22, 27, 0.9) 100%);
}

/* masthead */
.mast {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--gut) 0;
}
.wordmark { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.wordmark svg { width: 2.25rem; height: 2.25rem; flex: none; }
.wordmark__txt { display: grid; line-height: 1.1; }
.wordmark__txt b {
  font-family: var(--display); font-weight: 500; font-size: var(--t-base);
  letter-spacing: 0.005em;
}
.wordmark__txt span {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brass);
}
.mast__call {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.08em;
  padding: var(--s2) var(--s4);
  border: 1px solid var(--line-hi); border-radius: var(--r-pill);
  text-decoration: none; background: rgba(5, 22, 27, 0.5);
  backdrop-filter: blur(8px);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.mast__call:hover { border-color: var(--brass); background: rgba(224, 168, 92, 0.1); }
.mast__call .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brass);
  box-shadow: 0 0 0 0 rgba(224, 168, 92, 0.55);
  animation: pulse 2.6s infinite var(--ease-out);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 168, 92, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(224, 168, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 168, 92, 0); }
}

/* hero body */
.hero__body {
  position: relative; z-index: 3;
  align-self: center;
  padding: var(--s7) var(--gut);
  max-width: 44rem;
}
.hero h1 {
  font-size: var(--t-4xl);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: var(--s5);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-hot);
}
.hero__sub {
  font-size: var(--t-lg); color: var(--linen); opacity: 0.86;
  max-width: 30rem; margin-bottom: var(--s6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* buttons */
.btn {
  --bg: var(--brass); --fg: #08181d;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 3.25rem; padding: 0 var(--s6);
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--t-base); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset,
              0 12px 30px -14px rgba(224, 168, 92, 0.75);
  transition: transform 150ms var(--ease), filter 150ms var(--ease),
              box-shadow 150ms var(--ease);
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--ghost {
  --bg: transparent; --fg: var(--linen);
  border: 1px solid var(--line-hi);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--brass); background: rgba(224, 168, 92, 0.08); }
.btn--wide { width: 100%; }

/* live elevation readout — the "operations desk" signature */
.gauge {
  position: relative; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s4);
  padding: var(--s4) var(--gut) var(--s6);
  border-top: 1px solid var(--line);
}
.gauge__item { display: grid; gap: 2px; }
.gauge__k {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--mist-dim);
}
.gauge__v {
  font-family: var(--mono); font-size: var(--t-sm); color: var(--linen);
  font-variant-numeric: tabular-nums;
}
.gauge__v b { color: var(--brass-hot); font-weight: 500; }
.gauge__scroll {
  display: none;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--mist-dim);
  align-items: center; gap: var(--s2);
}
@media (min-width: 48rem) { .gauge__scroll { display: flex; } }
.gauge__scroll i {
  width: 1px; height: 1.6rem; background: linear-gradient(var(--brass), transparent);
  animation: drip 2.2s infinite var(--ease);
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.35); opacity: 0.3; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ==========================================================================
   SCROLL REVEALS
   ========================================================================== */
[data-rise] {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-rise].in { opacity: 1; transform: none; }

/* ==========================================================================
   STAKES — the 2am problem
   ========================================================================== */
.stakes { background: linear-gradient(180deg, var(--abyss), var(--deep) 60%, var(--abyss)); }
.stakes__quote {
  font-family: var(--display);
  font-size: var(--t-3xl);
  line-height: 1.08;
  letter-spacing: -0.028em;
  max-width: 40rem;
  margin-bottom: var(--s6);
}
.stakes__quote span { color: var(--mist-dim); }
.stakes__grid {
  display: grid; gap: var(--s4);
  grid-template-columns: 1fr;
  margin-top: var(--s7);
}
@media (min-width: 40rem) { .stakes__grid { grid-template-columns: repeat(3, 1fr); } }
.fact {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s5);
  background: linear-gradient(160deg, rgba(23, 64, 76, 0.4), rgba(10, 33, 41, 0.2));
}
.fact__n {
  font-family: var(--mono); font-size: var(--t-2xl); color: var(--brass-hot);
  font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: var(--s3);
}
.fact__n sub {
  font-size: 0.38em; color: var(--mist-dim); letter-spacing: 0.14em;
  vertical-align: baseline; position: static; margin-left: 0.45rem;
}
.fact p { font-size: var(--t-sm); color: var(--mist); }

/* ==========================================================================
   656 DIAGRAM
   ========================================================================== */
.level { position: relative; }
.level__stage {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #07202a, #04141a);
  margin-top: var(--s6);
}
#shoreline { width: 100%; height: auto; aspect-ratio: 16 / 11; touch-action: pan-y; }
@media (min-width: 48rem) { #shoreline { aspect-ratio: 2 / 1; } }
.level__cap {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  padding: var(--s4) var(--s5);
  border-top: 1px solid var(--line);
  background: rgba(4, 16, 22, 0.6);
}
.key { display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mist); }
.key i { width: 1.25rem; height: 2px; border-radius: 2px; flex: none; }
.key--ghost i { background: repeating-linear-gradient(90deg, var(--mist-dim) 0 3px, transparent 3px 6px); }
.key--now i { background: var(--brass); }
.key--flat i { background: #6b5a43; height: 7px; border-radius: 2px; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc__grid { display: grid; gap: var(--s4); margin-top: var(--s7); }
@media (min-width: 56rem) { .svc__grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s8) var(--s5) var(--s6);
  background:
    radial-gradient(130% 80% at 0% 0%, rgba(23, 64, 76, 0.55), transparent 70%),
    var(--deep);
  overflow: hidden;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.card::before { /* touch/cursor sheen */
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(14rem 14rem at var(--mx, 50%) var(--my, 0%),
    rgba(224, 168, 92, 0.16), transparent 68%);
  opacity: 0; transition: opacity 320ms var(--ease);
}
.card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card--lead { border-color: rgba(224, 168, 92, 0.42); }
.card__tag {
  position: absolute; top: var(--s5); left: var(--s5);
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--brass);
  padding: 4px var(--s3); border: 1px solid rgba(224, 168, 92, 0.4);
  border-radius: var(--r-pill);
}
.card h3 { font-size: var(--t-xl); margin-bottom: var(--s2); }
.card__price {
  font-family: var(--mono); font-size: var(--t-xs); color: var(--brass-hot);
  margin-bottom: var(--s4); letter-spacing: 0.06em; text-transform: uppercase;
}
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.card li {
  display: grid; grid-template-columns: 1.1rem 1fr; gap: var(--s3);
  font-size: var(--t-sm); color: var(--mist); line-height: 1.5;
}
.card li svg { width: 1.1rem; height: 1.1rem; margin-top: 0.18rem; color: var(--brass); }
.card li b { color: var(--linen); font-weight: 600; }
.addons {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px dashed var(--line-hi);
  display: grid; gap: var(--s3);
}
.addon {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
  font-size: var(--t-sm);
}
.addon span { color: var(--mist); }
.addon i {
  flex: 1; border-bottom: 1px dotted var(--line-hi); height: 0.65em; margin-bottom: 0.1em;
}
.addon b { font-family: var(--mono); color: var(--brass-hot); font-weight: 500; white-space: nowrap; }

/* ==========================================================================
   INSPECTION REPORT (canvas phone)
   ========================================================================== */
.report { background: linear-gradient(180deg, var(--abyss), #071d24 50%, var(--abyss)); }
.report__layout { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 56rem) {
  .report__layout { grid-template-columns: 1fr 22rem; gap: var(--s9); }
}
.phone {
  position: relative; justify-self: center;
  width: min(20rem, 82vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 2.4rem;
  padding: 0.5rem;
  background: linear-gradient(160deg, #22333a, #0b1b21 55%, #1a2a31);
  box-shadow: 0 2px 1px rgba(255, 255, 255, 0.1) inset,
              0 40px 80px -30px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 2rem; overflow: hidden;
  background: #04141a;
}
#report { width: 100%; height: 100%; }
.phone__notch {
  position: absolute; top: 0.9rem; left: 50%; transform: translateX(-50%);
  width: 4.5rem; height: 1.1rem; border-radius: var(--r-pill);
  background: #04141a; z-index: 2;
}
.report__steps { display: grid; gap: var(--s5); }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.step__n {
  font-family: var(--mono); font-size: var(--t-xs); color: var(--brass);
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid rgba(224, 168, 92, 0.35); border-radius: 50%;
  flex: none;
}
.step h4 { font-family: var(--text); font-size: var(--t-base); font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 2px; }
.step p { font-size: var(--t-sm); color: var(--mist); }

/* ==========================================================================
   SEASONAL (leaf canvas)
   ========================================================================== */
.season { position: relative; overflow: hidden; }
#leaves {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 1;
}
/* give the drift room to read above and below the panel */
.season { padding-block: clamp(var(--s9), 17vw, 10rem); }
.season .season__panel { margin-top: var(--s7); }
.season > .wrap { position: relative; z-index: 1; }
.season__panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(5, 22, 27, 0.58);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding: var(--s6) var(--s5);
  margin-top: var(--s6);
}
@media (min-width: 48rem) { .season__panel { padding: var(--s7); } }

/* ==========================================================================
   TRUST / boundaries
   ========================================================================== */
.trust__grid { display: grid; gap: var(--s4); margin-top: var(--s6); }
@media (min-width: 44rem) { .trust__grid { grid-template-columns: 1fr 1fr; } }
.note {
  border-left: 2px solid var(--brass); border-radius: 0 var(--r) var(--r) 0;
  background: var(--brass-dim);
  padding: var(--s4) var(--s5);
}
.note h4 { font-family: var(--text); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: 0.01em; margin-bottom: var(--s1); }
.note p { font-size: var(--t-sm); color: var(--mist); }

/* dump-hours table */
.hours {
  width: 100%; border-collapse: collapse; margin-top: var(--s4);
  font-family: var(--mono); font-size: var(--t-xs);
}
.hours th, .hours td {
  text-align: left; padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.06em;
}
.hours th { color: var(--mist-dim); text-transform: uppercase; font-weight: 400; }
.hours td { color: var(--linen); }
.hours tr[data-closed] td { color: var(--alert); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: linear-gradient(180deg, var(--abyss), #081f27); }
.contact__card {
  border: 1px solid var(--line-hi); border-radius: var(--r-lg);
  padding: var(--s6) var(--s5);
  background: radial-gradient(120% 90% at 50% 0%, rgba(23, 64, 76, 0.5), var(--deep) 70%);
  margin-top: var(--s6);
}
@media (min-width: 48rem) { .contact__card { padding: var(--s8) var(--s7); } }
.field { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.field label {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mist);
}
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--t-base);
  color: var(--linen); background: rgba(4, 16, 22, 0.75);
  border: 1px solid var(--line-hi); border-radius: var(--r);
  padding: var(--s3) var(--s4);
  min-height: 3rem;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.field textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brass); background: rgba(4, 16, 22, 0.95); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mist-dim); }
.needs { border: 0; padding: 0; margin: 0 0 var(--s5); }
.needs legend {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mist);
  padding: 0; margin-bottom: var(--s3);
}
.needs__row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 2.75rem; padding: 0 var(--s4);
  border: 1px solid var(--line-hi); border-radius: var(--r-pill);
  background: rgba(4, 16, 22, 0.55);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--mist);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color 160ms var(--ease), background 160ms var(--ease),
              color 160ms var(--ease);
}
.chip input {
  position: absolute; opacity: 0; width: 100%; height: 100%;
  left: 0; top: 0; margin: 0; cursor: pointer;
}
.chip__box {
  width: 1rem; height: 1rem; flex: none;
  border: 1px solid var(--line-hi); border-radius: 4px;
  background: transparent center / 0.7rem 0.7rem no-repeat;
  transition: inherit;
}
.chip:hover { border-color: rgba(224, 168, 92, 0.6); color: var(--linen); }
.chip input:checked ~ .chip__box {
  background-color: var(--brass);
  border-color: var(--brass);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.2 12 13 4.5' fill='none' stroke='%2308181d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chip:has(input:checked) {
  border-color: var(--brass); background: var(--brass-dim); color: var(--linen);
}
.chip:has(input:focus-visible) { outline: 2px solid var(--brass-hot); outline-offset: 3px; }

.form__row { display: grid; gap: var(--s4); }
@media (min-width: 36rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hint { font-size: var(--t-xs); color: var(--mist-dim); margin-top: var(--s3); }
.form__hint a { padding-block: 0.4rem; display: inline-block; }
.form__status {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brass); margin-top: var(--s3);
  min-height: 1.2em;
}
.direct {
  display: grid; gap: var(--s3); margin-top: var(--s6);
  padding-top: var(--s6); border-top: 1px solid var(--line);
}
@media (min-width: 36rem) { .direct { grid-template-columns: 1fr 1fr; } }
.direct a {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; background: rgba(4, 16, 22, 0.5);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.direct a:hover { border-color: var(--brass); background: rgba(224, 168, 92, 0.07); }
.direct svg { width: 1.25rem; height: 1.25rem; color: var(--brass); flex: none; }
.direct span { display: grid; line-height: 1.3; }
.direct b { font-size: var(--t-sm); font-weight: 600; }
.direct i { font-family: var(--mono); font-size: var(--t-xs); color: var(--mist-dim);
  font-style: normal; letter-spacing: 0.06em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  border-top: 1px solid var(--line);
  padding-block: var(--s7) var(--s8);
  background: var(--abyss);
}
.foot__top { display: grid; gap: var(--s5); }
@media (min-width: 44rem) { .foot__top { grid-template-columns: 1fr auto; align-items: center; } }
.foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); }
@media (min-width: 30rem) { .foot nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); } }
.foot nav a {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist); text-decoration: none;
  padding-block: var(--s1);
}
.foot nav a:hover { color: var(--brass); }
.foot nav a { min-height: 2.25rem; display: flex; align-items: center; }
.foot__fine {
  margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line);
  font-size: var(--t-xs); color: var(--mist-dim); max-width: 46rem;
}

/* sticky mobile call bar */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 22, 27, 0.4), rgba(5, 22, 27, 0.96) 40%);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 340ms var(--ease-out);
}
.callbar.up { transform: none; }
.callbar .btn { min-height: 3rem; padding-inline: var(--s4); font-size: var(--t-sm); }
@media (min-width: 56rem) { .callbar { display: none; } }
@media (max-width: 55.99rem) { .foot { padding-bottom: calc(var(--s10) + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   PRINT PAGES (agreement / checklist)
   ========================================================================== */
.doc {
  background: var(--abyss);
  padding-block: var(--s7) var(--s9);
}
.doc__sheet {
  max-width: 50rem; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--deep);
  padding: var(--s6) var(--s5);
}
@media (min-width: 48rem) { .doc__sheet { padding: var(--s8); } }
.doc__sheet h1 { font-size: var(--t-2xl); margin-bottom: var(--s2); }
.doc__sheet h2 {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass);
  margin-top: var(--s6); margin-bottom: var(--s3);
  padding-bottom: var(--s2); border-bottom: 1px solid var(--line);
}
.doc__sheet h3 { font-family: var(--text); font-size: var(--t-base); font-weight: 600; margin-top: var(--s5); margin-bottom: var(--s2); }
.doc__sheet p, .doc__sheet li { font-size: var(--t-sm); color: var(--mist); }
.doc__sheet p + p { margin-top: var(--s3); }
.doc__sheet ul, .doc__sheet ol { padding-left: var(--s5); display: grid; gap: var(--s2); margin: var(--s3) 0; }
.doc__sheet b, .doc__sheet strong { color: var(--linen); }
.fill {
  display: inline-block; min-width: min(9rem, 100%); max-width: 100%;
  border-bottom: 1px solid var(--line-hi);
}
.sign { display: grid; gap: var(--s6); margin-top: var(--s6); }
@media (min-width: 36rem) { .sign { grid-template-columns: 1fr 1fr; } }
.sign div { border-top: 1px solid var(--line-hi); padding-top: var(--s2);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist-dim); }
.sign div span { display: block; height: 2.5rem; }
.checkbox { display: inline-block; width: 0.9rem; height: 0.9rem; border: 1px solid var(--line-hi);
  border-radius: 3px; vertical-align: -1px; margin-right: var(--s2); }
.docbar { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.docbar a, .docbar button {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 0 var(--s4); border: 1px solid var(--line-hi);
  border-radius: var(--r-pill); background: transparent; color: var(--linen);
}
.docbar a:hover, .docbar button:hover { border-color: var(--brass); color: var(--brass); }

@media print {
  :root { --linen: #111; --mist: #333; --mist-dim: #555; --brass: #8a5a14;
          --line: #ccc; --line-hi: #999; }
  html, body { background: #fff; color: #111; }
  .docbar, .callbar, #gl, #leaves, .hero__sky { display: none !important; }
  .doc { padding: 0; }
  .doc__sheet { border: 0; background: #fff; max-width: none; padding: 0; }
  .doc__sheet h2 { color: #111; }
  a { text-decoration: none; }
  .checkbox { border-color: #333; }
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .callbar { transform: none; }
}
