:root {
  --ink: #0b2340;
  --blue: #0969b5;
  --blue-dark: #075695;
  --mint: #bdebdc;
  --mint-soft: #edf9f5;
  --coral: #f15f49;
  --white: #ffffff;
  --line: #cfdae3;
  --muted: #42556a;
  --error: #a52620;
  --success: #176b4d;
  --max: 1320px;
  --shadow: 0 14px 38px rgba(11, 35, 64, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand span:last-child { letter-spacing: 0.12em; }

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle svg { width: 24px; height: 24px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 700;
}
.site-nav a:hover { color: var(--blue); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 620px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px max(48px, calc((100vw - var(--max)) / 2)) 72px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 4.3vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero p {
  max-width: 600px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.button.secondary { background: var(--white); color: var(--blue); }
.button.secondary:hover { background: var(--mint-soft); }

.hero-media { position: relative; min-height: 620px; background: var(--mint-soft); }
.hero-media img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: center; }
.route-art { position: absolute; left: -96px; bottom: 32px; width: 178px; height: 178px; color: var(--mint); pointer-events: none; }
.route-art circle { fill: var(--coral); }

.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-title { margin: 0 0 40px; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; }
.section-lede { max-width: 720px; margin: -20px 0 40px; color: var(--muted); font-size: 1.12rem; }

.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.project-item { position: relative; padding: 36px 40px 36px 0; }
.project-item + .project-item { border-left: 1px solid var(--line); padding-left: 40px; }
.project-number { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; background: var(--mint-soft); color: var(--blue); font-weight: 800; }
.project-item h3 { margin: 0 0 10px; font-size: 1.35rem; }
.project-item p { margin: 0; color: var(--muted); }

.method { background: var(--ink); color: var(--white); }
.method .section-title { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.step { position: relative; padding-top: 74px; }
.step::before { content: attr(data-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 900; }
.step::after { content: ""; position: absolute; top: 25px; left: 68px; right: 0; height: 1px; background: rgba(255,255,255,.32); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: #d6e1eb; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.split-copy h2 { margin: 0 0 24px; font-size: clamp(2rem, 3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; }
.split-copy p { color: var(--muted); }
.plain-list { padding: 0; margin: 28px 0 0; list-style: none; }
.plain-list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

.conviction { background: var(--mint-soft); }
.conviction-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.conviction-mark { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 2rem; }
.conviction blockquote { margin: 0; font-size: clamp(1.8rem, 3.2vw, 3.8rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 700; }
.conviction cite { display: block; margin-top: 22px; color: var(--muted); font-style: normal; font-size: 1rem; }

.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 72px; align-items: start; }
.contact-details { padding: 28px 0; border-block: 1px solid var(--line); }
.contact-details a { min-height: 44px; display: flex; align-items: center; font-weight: 800; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full, .form-feedback, .contact-form .button { grid-column: 1 / -1; }
label { font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #8797a8;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; }
.consent input { width: 22px; min-height: 22px; margin: 3px 0 0; }
.error-text { min-height: 22px; margin: 0; color: var(--error); font-weight: 700; font-size: 0.875rem; }
.consent + .error-text { grid-column: 1 / -1; margin-top: -12px; }
.form-feedback { display: none; padding: 14px 18px; border-left: 4px solid var(--success); background: #eaf7f1; color: #0c543b; font-weight: 700; }
.form-feedback.is-visible { display: block; }
.form-feedback.is-error { border-color: var(--error); background: #fff1f0; color: var(--error); }

.site-footer { padding: 44px 0 24px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 44px; align-items: start; }
.footer-title { margin: 0 0 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.demo-note { margin: 0; color: #cbd7e2; font-size: .9rem; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); color: #cbd7e2; font-size: .9rem; }

@media (max-width: 980px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 40px; }
  .hero-media, .hero-media img { min-height: 460px; }
  .route-art { left: auto; right: 24px; top: -78px; bottom: auto; }
  .project-list { grid-template-columns: 1fr; }
  .project-item + .project-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .conviction-grid { grid-template-columns: 1fr; gap: 42px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav[hidden] { display: none; }
  .site-nav a { border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; }
  .hero-copy { padding: 58px 20px 48px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-media, .hero-media img { min-height: 340px; }
  .section { padding: 68px 0; }
  .section-title { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full, .form-feedback, .contact-form .button, .consent, .consent + .error-text { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: .9rem; }
  .hero-copy { padding-inline: 16px; }
  .hero-media, .hero-media img { min-height: 300px; }
  .project-item { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
