@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-neutral-900: #2d2b2b;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
h6 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
p { margin: 0; }
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 28%, transparent); }

.grayscale { filter: grayscale(1) contrast(1.08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 0;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }

.field > label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.input {
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--color-accent);
  z-index: 20;
  width: 0%;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
  border-bottom: 2px solid var(--color-divider);
}
.nav-brand {
  margin-right: auto;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-stretch: 110%;
  -webkit-text-stroke: 0.45px currentColor;
  paint-order: stroke fill;
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.nav a { color: inherit; font-size: 16px; }
.nav a:not(.btn) { font-weight: 800; }
.nav .btn-primary {
  justify-content: flex-start;
  color: var(--color-bg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  border-bottom: 2px solid var(--color-divider);
  min-height: min(88vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: a-burns 14s ease-out both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32,30,29,0.92) 0%, rgba(32,30,29,0.55) 45%, rgba(32,30,29,0.25) 100%);
}
.hero-copy {
  position: relative;
  padding: var(--space-8) var(--space-6);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-copy h6 {
  color: #fff;
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.rule {
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  animation: a-wipe 1s 0.1s ease-out both;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.rise { display: block; overflow: hidden; }
.rise span {
  display: block;
  animation: a-rise 900ms cubic-bezier(.2,.8,.2,1) both;
}
.rise:nth-child(2) span { animation-delay: 120ms; }
.rise:nth-child(3) span { animation-delay: 240ms; color: var(--color-accent); }
.hero-copy p {
  max-width: 44ch;
  font-size: 18px;
  font-weight: 600;
  text-wrap: pretty;
  animation: a-rise 900ms 360ms cubic-bezier(.2,.8,.2,1) both;
}
.hero .btn-primary {
  justify-content: flex-start;
  color: var(--color-bg);
  padding: var(--space-4) var(--space-6);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marquee-wrap {
  border-bottom: 2px solid var(--color-divider);
  overflow: hidden;
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-2) 0;
}
.marquee {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: a-marquee 26s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}
.marquee i {
  display: inline-block;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
}

.services {
  border-bottom: 2px solid var(--color-divider);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.services-col,
.job,
.step,
.quote-copy,
.quote form { min-width: 0; }
.services-col {
  display: flex;
  flex-direction: column;
}
.services-col + .services-col { border-left: 2px solid var(--color-divider); }
.services-copy {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.services h6 { color: var(--color-accent); }
.services h2 {
  font-size: clamp(40px, 5vw, 84px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.services h2.title-restripe {
  white-space: nowrap;
  font-size: clamp(28px, 8.4vw, 84px);
}
.services p { font-size: 17px; max-width: 38ch; text-wrap: pretty; }
.line-list { display: grid; margin-top: var(--space-2); }
.line-list div {
  padding: var(--space-3) 0;
  border-top: 2px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
}
.line-list div:last-child { border-bottom: 2px solid var(--color-divider); }
.line-list .n { color: var(--color-accent); }
.media {
  height: 300px;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}
.media:hover img { transform: scale(1.08); }

.run {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.run h6 { color: inherit; }
.run .line-list div { border-color: var(--color-bg); }
.run .line-list .n { color: inherit; }
.run-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-6);
}
.run-stat strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.run-stat span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 24ch;
}

.work { border-bottom: 2px solid var(--color-divider); }
.work-head {
  padding: var(--space-8) var(--space-6) var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: end;
}
.work-head h2 {
  font-size: clamp(36px, 5vw, 80px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.work-head p { max-width: 40ch; font-size: 17px; text-wrap: pretty; }
.compare {
  position: relative;
  border-top: 2px solid var(--color-divider);
  height: clamp(300px, 50vw, 620px);
  overflow: hidden;
}
.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-layer { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 0 0 50%); }
.compare-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  background: var(--color-accent);
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag {
  position: absolute;
  top: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  pointer-events: none;
}
.tag-before { left: var(--space-3); background: var(--color-text); color: var(--color-bg); }
.tag-after { right: var(--space-3); background: var(--color-accent); color: var(--color-bg); }
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  touch-action: none;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 2px solid var(--color-divider);
}
.job {
  padding: var(--space-4) var(--space-6);
  border-right: 2px solid var(--color-divider);
  display: grid;
  gap: var(--space-1);
}
.job:last-child { border-right: 0; }
.job-big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}
.job-name { font-weight: 600; }
.job-scope { font-size: 13px; }

.approach {
  border-bottom: 2px solid var(--color-divider);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  padding: var(--space-6);
  border-right: 2px solid var(--color-divider);
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.step:last-child { border-right: 0; }
.step-n {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.step-n.accent { color: var(--color-accent); }
.step strong { font-weight: 600; }
.step p { font-size: 14px; }

.quote {
  background: var(--color-accent);
  color: var(--color-bg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.quote-copy {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote h2 {
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.quote-copy p { font-size: 17px; max-width: 38ch; text-wrap: pretty; }
.quote-meta {
  margin-top: auto;
  display: grid;
  gap: var(--space-1);
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.quote form {
  padding: var(--space-8) var(--space-6);
  display: grid;
  gap: var(--space-4);
  border-left: 2px solid var(--color-bg);
}
#formFields { display: grid; gap: var(--space-4); }
.quote label { color: var(--color-bg); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}
.quote .btn {
  justify-content: flex-start;
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-4) var(--space-6);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 0;
}
.quote .btn:hover { background: var(--color-neutral-900); color: var(--color-bg); }
.form-error {
  font-weight: 600;
  font-size: 14px;
  background: var(--color-text);
  color: #fff;
  padding: var(--space-3) var(--space-4);
}
.success h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.success p { margin: 8px 0 0; font-size: 17px; }

.site-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.site-foot strong { font-family: var(--font-heading); font-weight: 800; }

@keyframes a-rise { from { transform: translateY(120%); } to { transform: translateY(0); } }
@keyframes a-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes a-burns { from { transform: scale(1.18) translateX(1%); } to { transform: scale(1) translateX(0); } }
@keyframes a-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  nav.nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
  }
  .nav-brand { font-size: 24px; }
  .nav-links { gap: 12px; width: 100%; justify-content: space-between; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
  .nav-links a[href="#quote"] { flex: 1; justify-content: center; }
  .hero { min-height: 72vh; }
  .hero h1 { font-size: clamp(38px, 12vw, 64px); }
  .hero-copy h6 {
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.35;
  }
  .hero-copy, .services-copy, .run, .work-head, .job, .step, .quote-copy, .quote form, .site-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-copy { padding-bottom: 24px; }
  .hero-copy p { font-size: 16px; }
  .hero .btn-primary, .quote .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .services h2.title-restripe {
    font-size: clamp(32px, 10vw, 52px);
  }
  .services h2 { font-size: clamp(36px, 10vw, 64px); }
  .services p, .run p, .work-head p { font-size: 16px; }
  .line-list div {
    font-size: 12px;
    gap: 12px;
    align-items: baseline;
  }
  .line-list div span:first-child { min-width: 0; text-wrap: pretty; }
  .services-col + .services-col,
  .step,
  .job { border-right: 0; border-left: 0; }
  .services-col:first-child { border-bottom: 2px solid var(--color-divider); }
  .step:not(:last-child),
  .job:not(:last-child) { border-bottom: 2px solid var(--color-divider); }
  .quote {
    grid-template-columns: 1fr;
  }
  .quote form { border-left: 0; border-top: 2px solid var(--color-bg); }
  .quote h2 { font-size: clamp(38px, 12vw, 72px); }
  .quote-grid { grid-template-columns: 1fr; }
  .services .media { height: 200px; }
  .compare { height: min(58vw, 420px); min-height: 240px; }
  .compare-handle { font-size: 11px; padding: 8px 10px; }
  .run-stat { align-items: flex-start; }
  .run-stat strong { font-size: 32px; }
  .work-head, .jobs, .approach { grid-template-columns: 1fr; }
  .input, textarea.input { font-size: 16px; }
  .site-foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 400px) {
  .hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .services h2.title-restripe { font-size: clamp(28px, 10.5vw, 40px); }
}
