/* =========================================================
   HOPAHOLICS HYDRAULICS LLC — "Pressure Drawing" concept
   Palette: ink #0C1820 · ink-2 #13242F · steel #8FA4B2
            paper #EEF0EA · amber #F2A30F · signal #D8452E
   Fonts:   Archivo (variable width) · IBM Plex Mono
   ========================================================= */

:root {
  /* color */
  --ink: #0C1820;
  --ink-2: #13242F;
  --ink-3: #1C3140;
  --steel: #8FA4B2;
  --steel-soft: #C9D3D8;
  --paper: #EEF0EA;
  --paper-2: #E2E6DF;
  --amber: #F2A30F;
  --amber-deep: #B36F00;
  --signal: #D8452E;
  --text: #0C1820;
  --text-muted: #44545F;
  --text-light: #EEF0EA;
  --text-light-muted: #A9B8C2;
  --line-dark: rgba(12, 24, 32, 0.16);
  --line-light: rgba(238, 240, 234, 0.14);
  --grid: rgba(143, 164, 178, 0.10);

  /* type */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.9rem, 6vw, 3rem);
  --fs-hero: clamp(2.35rem, 9vw, 5.25rem);

  /* spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;
  --gutter: 1rem;
  --container: 76rem;

  /* shape */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --shadow-1: 0 1px 0 rgba(12, 24, 32, 0.08), 0 8px 24px -12px rgba(12, 24, 32, 0.25);
  --shadow-2: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  --header-h: 64px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.6s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: var(--s-2) var(--s-4);
  font-weight: 700; text-decoration: none; border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 24, 32, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-light);
  border-bottom: 1px solid var(--line-light);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-4); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--text-light); }
.brand__mark { flex: none; }
.brand__hex { fill: none; stroke: var(--amber); stroke-width: 2.5; }
.brand__ring { fill: none; stroke: var(--text-light); stroke-width: 2; }
.brand__needle { stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.brand__text {
  display: flex; flex-direction: column;
  font-weight: 800; font-size: 1.05rem; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-variation-settings: "wdth" 120;
}
.brand__sub {
  font-family: var(--font-mono); font-weight: 400; font-size: 0.6875rem;
  letter-spacing: 0.14em; color: var(--text-light-muted); margin-top: 4px;
  font-variation-settings: normal;
}

/* burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
  background: transparent; border: 0; cursor: pointer;
}
.burger__line {
  display: block; height: 2px; width: 100%; background: var(--text-light);
  transition: transform 0.3s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0s 0.35s;
  z-index: -1;
}
.nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav__list { display: flex; flex-direction: column; padding: var(--s-4) var(--gutter) var(--s-6); }
.nav__link {
  display: block; padding: var(--s-4) 0; text-decoration: none;
  font-size: var(--fs-md); font-weight: 600; color: var(--text-light);
  border-bottom: 1px solid var(--line-light);
}
.nav__link:hover { color: var(--amber); }
.nav__link--cta { color: var(--amber); border-bottom: 0; }

/* scroll "stroke" — hydraulic cylinder progress */
.stroke { position: relative; height: 6px; background: var(--ink-2); overflow: hidden; }
.stroke__barrel {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(143,164,178,0.18) 22px 23px);
}
.stroke__rod {
  position: absolute; left: 0; top: 1px; bottom: 1px; width: 100%;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}
.stroke__rod::after { content: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--r-sm); border: 2px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #FFB728; }
.btn--ghost { color: var(--text-light); border-color: rgba(238,240,234,0.4); background: transparent; }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--block { width: 100%; }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--amber); margin-bottom: var(--s-4);
  display: flex; align-items: center; gap: var(--s-3);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.eyebrow--dark { color: var(--amber-deep); }

.section { padding: var(--s-8) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--steel { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--text-light); }
.section--paper, .section--steel {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

.section__head { max-width: 46rem; margin-bottom: var(--s-7); }
.section__title {
  font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 112;
}
.section__title--light { color: var(--text-light); }
.section__intro { margin-top: var(--s-4); font-size: var(--fs-md); color: var(--text-muted); max-width: 40rem; }
.section__intro--light { color: var(--text-light-muted); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(242,163,15,0.10), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 24px 24px, 24px 24px, auto;
  color: var(--text-light);
  padding: var(--s-7) 0 var(--s-8);
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__title {
  font-size: var(--fs-hero); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.015em; line-height: 0.95;
  font-variation-settings: "wdth" 88;
}
.hero__accent { color: var(--amber); }
.hero__lead { margin-top: var(--s-5); font-size: var(--fs-md); color: var(--text-light-muted); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__actions .btn { flex: 1 1 100%; }
.hero__lines {
  display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6);
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em;
}
.hero__lines li { padding: 6px 10px; border: 1px solid var(--line-light); color: var(--steel-soft); }

.hero__panel {
  position: relative;
  border: 1px solid rgba(143,164,178,0.3);
  background: linear-gradient(180deg, rgba(19,36,47,0.9), rgba(12,24,32,0.9));
  padding: var(--s-4);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}
.hero__panel::before, .hero__panel::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--amber);
}
.hero__panel::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.hero__panel::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.panel__head {
  display: flex; justify-content: space-between; gap: var(--s-3);
  font-size: 0.75rem; color: var(--text-light-muted); text-transform: uppercase;
  padding-bottom: var(--s-3); border-bottom: 1px dashed rgba(143,164,178,0.3); margin-bottom: var(--s-3);
}
.circuit { width: 100%; height: auto; }
.c-line, .c-sym, .c-zig, .c-rod { fill: none; stroke: var(--steel-soft); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-sym { stroke: var(--text-light); }
.c-fill { fill: var(--text-light); }
.c-zig { stroke: var(--steel); }
.c-dash { stroke-dasharray: 6 6; stroke: var(--steel); }
.c-flow { stroke: var(--amber); stroke-dasharray: 10 8; animation: flow 1.4s linear infinite; }
.c-flow--b { animation-duration: 1.8s; }
.c-piston { fill: var(--amber); animation: piston 4s var(--ease) infinite alternate; transform-box: view-box; }
.c-rod { stroke: var(--amber); stroke-width: 4; animation: piston 4s var(--ease) infinite alternate; }

@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes piston { from { transform: translateX(-14px); } to { transform: translateX(22px); } }

.gauge {
  position: absolute; right: var(--s-3); bottom: var(--s-3);
  width: 132px; padding: 8px 8px 4px;
  background: var(--ink); border: 1px solid rgba(143,164,178,0.35); border-radius: 70px 70px 6px 6px;
}
.gauge__svg { width: 100%; height: auto; }
.gauge__arc { fill: none; stroke: var(--steel); stroke-width: 6; }
.gauge__arc--hot { stroke: var(--signal); }
.gauge__ticks path { stroke: var(--text-light); stroke-width: 2; }
.gauge__num { fill: var(--text-light-muted); font-family: var(--font-mono); font-size: 13px; }
.gauge__unit { fill: var(--amber); font-family: var(--font-mono); font-size: 11px; text-anchor: middle; }
.gauge__needle {
  transform-box: view-box; transform-origin: 100px 110px;
  transform: rotate(-88deg);
  animation: needle 2.4s var(--ease) 0.3s forwards, wobble 3s ease-in-out 2.8s infinite alternate;
}
.gauge__needle path { stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.gauge__needle circle { fill: var(--text-light); }
@keyframes needle { to { transform: rotate(38deg); } }
@keyframes wobble { from { transform: rotate(38deg); } to { transform: rotate(31deg); } }

/* ---------- equipment cards ---------- */
.cards { display: grid; gap: var(--s-4); }
.card {
  position: relative;
  background: #F8F9F5;
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--ink);
  padding: var(--s-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--amber); }
.card__sym { width: 64px; height: 64px; margin-bottom: var(--s-4); }
.card__sym svg { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.card__sym .fill { fill: var(--amber); stroke: var(--ink); }
.card__num { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-deep); }
.card__title { margin-top: var(--s-2); font-size: var(--fs-lg); font-weight: 800; font-variation-settings: "wdth" 108; }
.card__text { margin-top: var(--s-3); color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.tags li {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  padding: 3px 8px; background: var(--paper-2); color: var(--text); border-radius: var(--r-sm);
}

/* ---------- industries ---------- */
.split { display: grid; gap: var(--s-7); }
.ind-list { counter-reset: ind; border-top: 2px solid var(--ink); }
.ind {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line-dark);
}
.ind__code { grid-row: span 2; font-size: var(--fs-xs); color: var(--amber-deep); padding-top: 4px; min-width: 3.5rem; }
.ind__name { font-weight: 800; font-size: var(--fs-md); font-variation-settings: "wdth" 108; }
.ind__note { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- process ---------- */
.process { display: grid; gap: var(--s-6); }
.steps { display: grid; gap: 0; border-left: 2px solid var(--ink); }
.step { position: relative; padding: 0 0 var(--s-6) var(--s-6); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -9px; top: 2px; width: 16px; height: 16px;
  background: var(--paper); border: 2px solid var(--ink); transform: rotate(45deg);
}
.step:hover::before { background: var(--amber); }
.step__n { font-size: var(--fs-xs); color: var(--amber-deep); letter-spacing: 0.12em; }
.step__title { margin-top: var(--s-1); font-size: var(--fs-lg); font-weight: 800; font-variation-settings: "wdth" 108; }
.step__text { margin-top: var(--s-2); color: var(--text-muted); max-width: 34rem; }

.checklist {
  background: var(--ink); color: var(--text-light);
  padding: var(--s-5); border-radius: var(--r-md);
  border-left: 6px solid var(--amber);
  align-self: start;
}
.checklist__title { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-variation-settings: "wdth" 115; }
.checklist__list { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.checklist__list li { position: relative; padding-left: var(--s-5); color: var(--steel-soft); }
.checklist__list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 2px; background: var(--amber);
}

/* ---------- company ---------- */
.section--ink {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blueprint { margin: var(--s-6) 0 0; border: 1px solid var(--line-light); padding: var(--s-4); background: var(--ink-2); }
.blueprint__img { width: 100%; height: auto; }
.blueprint__cap { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-light-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.facts { margin: 0; border-top: 2px solid var(--amber); }
.facts__row {
  display: grid; gap: var(--s-1);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--line-light);
}
.facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light-muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--text-light); overflow-wrap: anywhere; }

/* ---------- contact & form ---------- */
.contact-list { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.contact-list li { display: grid; gap: 2px; padding-left: var(--s-4); border-left: 3px solid var(--amber); }
.contact-list__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.contact-list a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--amber-deep); text-decoration: underline; }

.form {
  background: #F8F9F5; border: 1px solid var(--line-dark); border-top: 4px solid var(--amber);
  padding: var(--s-5); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-1);
  display: grid; gap: var(--s-4);
}
.form__row { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-1); }
.field__label { font-weight: 700; font-size: var(--fs-sm); }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field__input {
  width: 100%; min-height: 48px; padding: var(--s-3);
  font: inherit; font-size: var(--fs-base); color: var(--text);
  background: #fff; border: 1.5px solid #9AA8B1; border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,163,15,0.45); }
.field__input.is-invalid { border-color: var(--signal); }
.field__select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field__area { min-height: 132px; resize: vertical; }
.field__error { min-height: 0; font-size: var(--fs-xs); color: #B3321D; font-weight: 600; }
.field__error:empty { display: none; }

.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer; }
.check__box { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check__text a { color: var(--text); font-weight: 600; }

.form__success {
  padding: var(--s-4); background: var(--ink); color: var(--text-light);
  border-left: 6px solid var(--amber); border-radius: var(--r-sm);
}
.form__success a { color: var(--amber); overflow-wrap: anywhere; }
.form__success-title { font-weight: 800; font-size: var(--fs-md); margin-bottom: var(--s-1); color: var(--amber); }
.form.is-sent .form__row, .form.is-sent > .field, .form.is-sent .check, .form.is-sent > .btn, .form.is-sent .form__note, .form.is-sent > .field__error { display: none; }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); }
.form__mail { margin: var(--s-4) 0 var(--s-3); }
.form__success .form__mail { color: var(--ink); text-decoration: none; }
.form__alt { font-size: var(--fs-xs); color: var(--text-light-muted); }
.legal__label { color: var(--steel-soft); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #08121A; color: var(--text-light); padding: var(--s-7) 0 var(--s-6); border-top: 4px solid var(--amber); }
.footer__top { display: grid; gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line-light); }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer__nav a { text-decoration: none; color: var(--steel-soft); font-weight: 600; }
.footer__nav a:hover { color: var(--amber); }
.legal { padding-top: var(--s-5); font-size: var(--fs-xs); line-height: 1.7; color: var(--text-light-muted); }
.legal__line { overflow-wrap: anywhere; }
.legal a { color: var(--steel-soft); }
.legal a:hover { color: var(--amber); }
.legal__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px dashed var(--line-light); }
.legal__links { display: flex; gap: var(--s-5); }

/* ---------- legal pages ---------- */
.doc-hero { background: var(--ink); color: var(--text-light); padding: var(--s-7) 0 var(--s-6);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; }
.doc-hero__title { font-size: var(--fs-xl); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 95; }
.doc-hero__meta { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-light-muted); }
.doc { padding: var(--s-7) 0 var(--s-8); }
.doc__body { max-width: 46rem; }
.doc__body h2 { font-size: var(--fs-lg); font-weight: 800; margin: var(--s-6) 0 var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--ink); font-variation-settings: "wdth" 108; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body p, .doc__body li { color: var(--text-muted); }
.doc__body p + p { margin-top: var(--s-3); }
.doc__body ul { margin-top: var(--s-3); display: grid; gap: var(--s-2); }
.doc__body ul li { position: relative; padding-left: var(--s-5); }
.doc__body ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--amber-deep); }
.doc__body a { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.doc__card { margin-top: var(--s-3); padding: var(--s-4); background: #F8F9F5; border-left: 4px solid var(--amber); }
.doc__card p { color: var(--text); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--s-8) 0; }
.nf__code { font-size: clamp(5rem, 28vw, 12rem); font-weight: 800; line-height: 0.9; color: var(--ink); font-variation-settings: "wdth" 70; }
.nf__code span { color: var(--signal); }
.nf__title { margin-top: var(--s-4); font-size: var(--fs-lg); font-weight: 800; }
.nf__text { margin: var(--s-3) auto var(--s-6); max-width: 30rem; color: var(--text-muted); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  :root { --gutter: 1.25rem; }
  .hero__actions .btn { flex: 0 0 auto; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .gauge { width: 150px; }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 72px; }
  .section { padding: var(--s-9) 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; display: grid; grid-template-columns: 80px 1fr; column-gap: var(--s-5); }
  .card--wide .card__sym { grid-row: span 4; }
  .card--wide > :not(.card__sym) { grid-column: 2; }
  .facts__row { grid-template-columns: 12rem 1fr; align-items: baseline; }
  .footer__top { grid-template-columns: auto 1fr; align-items: center; }
  .footer__nav { justify-content: flex-end; }
  .process { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .hero { padding: var(--s-8) 0 var(--s-9); }
}

@media (min-width: 1024px) {
  .burger { display: none; }
  .nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; z-index: auto; transition: none;
  }
  .nav__list { flex-direction: row; align-items: center; padding: 0; gap: var(--s-5); }
  .nav__link { padding: var(--s-2) 0; border: 0; font-size: var(--fs-sm); position: relative; }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
  }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__link--cta { padding: var(--s-2) var(--s-4); border: 2px solid var(--amber); border-radius: var(--r-sm); }
  .nav__link--cta::after { content: none; }
  .nav__link--cta:hover { background: var(--amber); color: var(--ink); }

  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card--wide { grid-column: span 4; grid-template-columns: 80px 1fr 1fr; }
  .card--wide > .tags { grid-column: 3; grid-row: 1 / span 4; align-self: center; }
  .split { grid-template-columns: 1fr 1.15fr; gap: var(--s-8); align-items: start; }
  .section__head--side { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
  .split--contact { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- reduced motion ---------- */
@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; }
  .c-flow, .c-piston, .c-rod { animation: none; }
  .gauge__needle { animation: none; transform: rotate(38deg); }
  .js .reveal { opacity: 1; transform: none; }
}
