/* ==========================================================================
   Petrel Environmental Ltd — one-page site
   Direction: "Delta". Photography-led, bright, delta-water palette.
   ========================================================================== */

:root {
  --paper:     #FCFBF9;
  --paper-2:   #F3F0EA;
  --paper-3:   #EDE9E1;
  --ink:       #07243B;
  --ink-2:     #0C3450;
  --blue:      #1B62B0;
  --teal:      #2E7C8C;
  --teal-ink:  #1F5866;
  --red:       #E8323F;
  --red-ink:   #C81E2B;
  --red-hover: #A9161F;
  --sand:      #D9C9A8;
  --muted:     #45606F;
  --muted-2:   #5A7381;
  --line:      #E2DDD4;
  --line-dark: rgba(252,251,249,0.18);

  --shell: 1180px;
  --gutter: 24px;

  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Sora, Manrope, system-ui, sans-serif;

  --r: 4px;
  --r-pill: 999px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Class rules below set display on elements that are toggled with the
   [hidden] attribute, which would otherwise win over the UA stylesheet
   and leave hidden errors and hints permanently on screen. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red-ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary { background: var(--red-ink); color: #fff; }
.btn-primary:hover { background: var(--red-hover); color: #fff; }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }

.btn-quiet { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-quiet:hover { background: var(--paper-2); color: var(--ink); }

.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }

.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: flex; align-items: center; color: #fff; flex-shrink: 0; }
.logo-mark { height: 30px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 26px;
  flex-grow: 1;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: rgba(255,255,255,0.92); }
.nav a:hover { color: #fff; }
.nav a.is-current { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.site-header .btn-primary { background: #fff; color: var(--ink); }
.site-header .btn-primary:hover { background: var(--paper-2); color: var(--ink); }

/* solid state, once scrolled past the hero */
.site-header.is-stuck {
  background: rgba(252,251,249,0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header.is-stuck .logo { color: var(--blue); }
.site-header.is-stuck .nav a { color: var(--muted); }
.site-header.is-stuck .nav a:hover { color: var(--ink); }
.site-header.is-stuck .nav a.is-current { color: var(--ink); }
.site-header.is-stuck .btn-primary { background: var(--red-ink); color: #fff; }
.site-header.is-stuck .btn-primary:hover { background: var(--red-hover); }
.site-header.is-stuck .nav-toggle-bar { background: var(--ink); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease, background-color .25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,36,59,0.94) 0%, rgba(7,36,59,0.62) 40%, rgba(7,36,59,0.18) 72%, rgba(7,36,59,0.45) 100%);
}

.hero-inner {
  position: relative;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 88px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.chip-rc {
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.hero-place { color: rgba(255,255,255,0.82); font-size: 15px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  max-width: 16ch;
  margin-bottom: 22px;
}

.hero-lede {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----------------------------------------------------------------- about */

.about {
  background: var(--paper-2);
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 60px);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.about-main h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
}
.about-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 46ch;
}

.about-body p { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 66ch; }
.about-body p + p { margin-top: 18px; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  margin: clamp(38px, 5vw, 56px) 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.about-facts > div { background: var(--paper-2); padding: 20px 22px; }
.about-facts dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-ink);
  margin-bottom: 6px;
}
.about-facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ----------------------------------------------------------------- intro */

.intro { padding: clamp(60px, 8vw, 104px) 0 clamp(20px, 3vw, 36px); }
/* Single column on purpose: About sits directly above and already uses the
   heading-beside-text layout, so repeating it here would read as a template. */
.intro-inner { max-width: 78ch; }
.intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.intro p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); }

/* -------------------------------------------------------------- services */

.services { padding: clamp(36px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}

.svc {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  padding: 24px 24px 28px;
}
.svc-body h3 { font-size: 1.1rem; line-height: 1.25; }
.svc-body p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ------------------------------------------------------------------- why */

.why {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(60px, 8vw, 104px) 0;
}

/* The delta's branching waterways, the motif this direction is built on. */
.why-motif {
  position: absolute;
  right: -70px;
  top: -30px;
  width: min(640px, 58%);
  height: auto;
  color: var(--teal);
  opacity: 0.42;
  pointer-events: none;
}
.why .shell { position: relative; }
.why h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 22ch; margin-bottom: clamp(36px, 5vw, 56px); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 44px);
}
.why-item {
  border-top: 2px solid rgba(252,251,249,0.28);
  padding-top: 22px;
  transition: border-top-color .25s ease, transform .25s ease;
}
.why-item:hover { border-top-color: var(--red); transform: translateY(-4px); }

.why-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--teal);
  transition: color .25s ease, transform .25s ease;
}
.why-icon svg { width: 100%; height: 100%; display: block; }
.why-item:hover .why-icon { color: #fff; transform: translateY(-2px); }
.why-figure {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.why-item h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.why-item p { color: rgba(255,255,255,0.76); font-size: 15.5px; }

/* --------------------------------------------------------------- sectors */

.sectors { padding: clamp(60px, 8vw, 100px) 0; }
.sectors-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.sectors-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 16px; }
.sectors-head p { color: var(--muted); font-size: 16.5px; max-width: 40ch; }

.sectors-media {
  margin-top: clamp(24px, 3vw, 34px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
}
.sectors-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.sector-list { list-style: none; margin: 0; padding: 0; }
.sector-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}
.sector-list li:last-child { border-bottom: 1px solid var(--line); }
.sector-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 5px;
}

/* --------------------------------------------------------------- process */

.process { background: var(--paper-2); padding: clamp(60px, 8vw, 100px) 0; }
.process h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 22ch; margin-bottom: clamp(36px, 5vw, 54px); }

.process-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: clamp(26px, 3.5vw, 40px);
}
.process-list li {
  counter-increment: step;
  position: relative;
  transition: transform .25s ease;
}
.process-list li:hover { transform: translateY(-4px); }
.process-list li::before { transition: color .25s ease, border-bottom-color .25s ease; }
.process-list li:hover::before { border-bottom-color: var(--red-ink); }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--red-ink);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--sand);
}
.process-list h3 { font-size: 1.12rem; margin-bottom: 9px; }
.process-list p { color: var(--muted); font-size: 15.5px; }

/* --------------------------------------------------------------- contact */

.contact { padding: clamp(60px, 8vw, 104px) 0 clamp(60px, 8vw, 100px); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.contact-aside h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.contact-lede { color: var(--muted); font-size: 16.5px; margin-bottom: 34px; max-width: 42ch; }

.contact-details { margin: 0 0 28px; }
.contact-details dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-ink);
  margin-bottom: 5px;
}
.contact-details dd {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.contact-reg {
  font-size: 13.5px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: 44ch;
}

/* ------------------------------------------------------------- lead form */

.lead-form {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: clamp(26px, 3.6vw, 40px);
}

.form-progress {
  height: 3px;
  background: var(--paper-3);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 14px;
}
.form-progress-bar {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--teal);
  border-radius: var(--r-pill);
  transition: width .3s ease;
}
.form-step-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 26px;
}

.form-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step.is-active { display: block; }
.form-step legend {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 0;
  margin-bottom: 8px;
}

.field-hint { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
#branchHint { color: var(--teal-ink); font-weight: 600; }

.chip-set { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: block;
  padding: 11px 18px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip input:hover + span { border-color: var(--teal); color: var(--ink); }
.chip input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 600;
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.field { display: block; margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.req { color: var(--red-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,124,140,0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: #9AA8B1; }
.field.has-error input,
.field.has-error select { border-color: var(--red-ink); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field-error {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red-ink);
  margin-top: 6px;
}
#err-services { margin-bottom: 18px; }

.cond { display: none; }
.cond.is-on { display: block; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; gap: 12px; margin-top: 26px; }

.form-foot { font-size: 13px; color: var(--muted-2); margin-top: 16px; }

.form-status { margin-top: 18px; }
.form-status:empty { margin-top: 0; }
.form-status .msg {
  padding: 16px 18px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.55;
}
.form-status .msg-error { background: #FBE9EA; color: #8A1119; border: 1px solid #F0C3C6; }
.form-status .msg-error a { color: #8A1119; text-decoration: underline; }

.form-done { text-align: left; }
.form-done .tick {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.form-done h3 { font-size: 1.35rem; margin-bottom: 10px; }
.form-done p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.form-done .ref {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
}

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.76); padding: clamp(48px, 6vw, 76px) 0 28px; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 60px);
  padding-bottom: 44px;
}

.footer-brand { color: #fff; }
.footer-mark { height: 30px; margin-bottom: 20px; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.74); font-size: 15.5px; max-width: 38ch; }
.footer-rc { margin-top: 16px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.56); }

.footer-col h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.76); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.76); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  color: rgba(255,255,255,0.56);
}

/* ----------------------------------------------------------- responsive */

/* Arrows only where the four steps really sit on one row, so an arrow never
   points off the end of a wrapped line. */
@media (min-width: 1110px) {
  .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .process-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    right: calc(clamp(26px, 3.5vw, 40px) / -2 - 4px);
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--teal);
    border-right: 2px solid var(--teal);
    transform: rotate(45deg);
    transition: border-color .25s ease, transform .25s ease;
  }
  .process-list li:hover:not(:last-child)::after {
    border-color: var(--red-ink);
    transform: rotate(45deg) translate(2px, -2px);
  }
}

@media (max-width: 1000px) {
  .about-inner,
  .sectors-inner,
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* The header collapses earlier than the rest of the layout: five nav items
   plus a phone number and a button stop fitting well above 820px. */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    display: none;
    box-shadow: 0 18px 30px -22px rgba(7,36,59,0.5);
  }
  .nav.is-open { display: flex; }
  .nav a,
  .site-header.is-stuck .nav a {
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav a.is-current,
  .site-header.is-stuck .nav a.is-current { box-shadow: none; color: var(--red-ink); }

  .header-inner { gap: 14px; justify-content: space-between; }
  .header-actions { margin-left: auto; }

  .site-header.has-open-nav { background: var(--paper); border-bottom-color: var(--line); }
  .site-header.has-open-nav .logo { color: var(--blue); }
  .site-header.has-open-nav .nav-toggle-bar { background: var(--ink); }
  .site-header.has-open-nav .btn-primary { background: var(--red-ink); color: #fff; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }

  .hero { min-height: 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 60px; }
  .hero h1 { max-width: 100%; }

  .svc-grid { grid-template-columns: minmax(0, 1fr); }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .nav-toggle, .hero-actions, .lead-form { display: none; }
  body { color: #000; background: #fff; }
}
