@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/Atkinson-Hyperlegible-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/Atkinson-Hyperlegible-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --bg: #fbfaf7;            
  --surface: #ffffff;
  --surface-sunken: #f3f1ea;
  --border: #e7e3da;
  --border-strong: #d6d1c6;
  --text: #211f1b;
  --text-muted: #6a655d;
  --text-faint: #8b877e;
  --ink: #26241f;          
  --water: #0f7e9b;
  --water-ink: #095e73;
  --water-tint: #e1f0f4;
  --water-rule: #1389a8;
  --power: #cf611a;
  --power-ink: #a3470e;
  --power-tint: #fbeadc;
  --power-rule: #e0681a;
  --focus: #1389a8;
  --font-display: "Space Grotesk", "Futura", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Courier New", monospace;
  --radius: 12px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(60, 45, 15, 0.05);
  --maxw: 660px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 11px 16px;
  border-radius: var(--radius-sm); font-family: var(--font-display);
  font-weight: 700; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.site-header {
  background: color-mix(in srgb, var(--bg) 88%, #fff);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px 16px 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px; flex: none;
  transform: rotate(45deg); border-radius: 6px;
  background: linear-gradient(135deg, var(--power-rule) 0 50%, var(--water-rule) 50% 100%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-top: 4px;
}
.header-link {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  min-height: 40px; display: inline-flex; align-items: center; white-space: nowrap;
}
.header-link:hover { color: var(--text); text-decoration: underline; }
.main { flex: 1; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 44px 16px 56px; }
.hero { display: flex; flex-direction: column; gap: 18px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance;
}
.hero .lead { margin: 0; font-size: 18.5px; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.hero .sub { margin: 0; font-size: 16px; color: var(--text-muted); text-wrap: pretty; }
.services { display: flex; flex-wrap: wrap; gap: 9px; margin: 2px 0 4px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 6px 12px; border-radius: var(--radius-sm); white-space: nowrap;
}
.badge-icon { font-size: 14px; line-height: 1; }
.badge--water { background: var(--water-tint); color: var(--water-ink); }
.badge--power { background: var(--power-tint); color: var(--power-ink); }
.cta { margin-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; min-height: 54px;
  padding: 0 26px; border-radius: var(--radius-sm); background: var(--ink);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  text-decoration: none; transition: background .12s ease;
}
.btn-primary:hover { background: #000; }
.btn-primary .arrow { font-size: 18px; line-height: 1; }
.cta-note { margin: 4px 0 0; font-size: 16.5px; color: var(--text-muted); }
.cta-note a { color: var(--water-ink); font-weight: 700; }
.cta-note a:hover { text-decoration: underline; }
.page-404 {
  text-align: center; padding: 56px 20px 44px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.big-404 {
  font-family: var(--font-display); font-weight: 700; font-size: 84px;
  line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--power-rule), var(--water-rule));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-404 h1 { font-size: 24px; font-weight: 700; }
.page-404 p { margin: 0; color: var(--text-muted); font-size: 16.5px; max-width: 40ch; }
.site-footer {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--border); color: var(--text-faint); font-size: 13px;
}
.site-footer p { margin: 0 0 7px; line-height: 1.5; }
.site-footer a { color: var(--text-muted); }
@media (min-width: 620px) {
  .main { padding-top: 64px; }
  .hero h1 { font-size: 38px; }
  .big-404 { font-size: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition: none !important; }
}
