:root {
  --bg: oklch(12% .022 55);
  --bg-soft: oklch(15% .026 55);
  --panel: oklch(18% .025 52 / .78);
  --panel-solid: oklch(17% .022 52);
  --line: oklch(42% .035 55 / .32);
  --line-strong: oklch(55% .08 48 / .5);
  --text: oklch(94% .015 70);
  --muted: oklch(72% .025 70);
  --dim: oklch(58% .02 70);
  --orange: oklch(72% .19 48);
  --orange-strong: oklch(67% .22 42);
  --green: oklch(78% .18 145);
  --shadow: 0 24px 90px oklch(8% .02 40 / .48);
  --radius: 8px;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 15%, oklch(62% .18 45 / .15), transparent 28%),
    radial-gradient(circle at 78% 32%, oklch(72% .15 90 / .08), transparent 30%),
    linear-gradient(180deg, oklch(14% .026 55), var(--bg));
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
em { color: var(--orange); font-style: normal; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
p { margin: 0; }

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .28;
  pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(75% .02 70 / .08) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(75% .02 70 / .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
}
.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .12;
}
.ambient-one { left: -160px; top: 120px; background: var(--orange); }
.ambient-two { right: -180px; top: 420px; background: oklch(66% .1 120); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  padding: 0 clamp(18px, 5vw, 96px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: oklch(11% .018 55 / .78);
  backdrop-filter: blur(18px);
}
.logo, .footer-brand { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 7px;
  color: var(--orange);
  font: 700 14px/1 var(--font-mono);
  box-shadow: 0 0 28px oklch(72% .19 48 / .18);
}
.logo-copy, .footer-brand > div { display: flex; flex-direction: column; gap: 2px; }
.logo-copy b, .footer-brand b { font-size: 15px; letter-spacing: -.01em; }
.logo-copy small, .footer-brand small, .section-number, .eyebrow {
  color: var(--muted);
  font: 600 11px/1.4 var(--font-mono);
  text-transform: lowercase;
}
.desktop-nav { display: flex; gap: clamp(22px, 3vw, 46px); margin: auto; }
.desktop-nav a, .phone-link, .back-link {
  color: var(--muted);
  font: 500 12px/1 var(--font-mono);
  transition: color .2s;
}
.desktop-nav a:hover, .phone-link:hover, .back-link:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 18px; }

.button {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: oklch(20% .026 55 / .48);
  color: var(--text);
  font: 600 12px/1 var(--font-mono);
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s;
}
.button:hover { transform: translateY(-2px); border-color: var(--orange); }
.button-small { min-height: 36px; padding: 0 14px; }
.button-primary {
  color: oklch(13% .02 55);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 34px oklch(72% .19 48 / .2);
}
.button-primary:hover { background: var(--orange-strong); }
.button-ghost { background: transparent; }
.button svg, .text-link svg { width: 15px; height: 15px; }
.menu-toggle, .menu-close {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  place-items: center;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: 112px clamp(18px, 7vw, 128px) 64px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  filter: saturate(.85) contrast(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, oklch(10% .02 55 / .94), oklch(12% .02 55 / .78) 46%, oklch(12% .02 55 / .36)),
    linear-gradient(180deg, transparent 40%, var(--bg));
}
.hero-content { max-width: 780px; }
.eyebrow { margin-bottom: 22px; color: var(--orange); }
h1 {
  max-width: 850px;
  font-size: clamp(28px, 4vw, 59px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.04em;
}
.hero-content > p {
  max-width: 610px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 54px;
}
.hero-facts div, .process-step, .project-card, .service-row, .filter-button {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}
.hero-facts div { padding: 16px; border-radius: var(--radius); }
.hero-facts b { display: block; color: var(--orange); font: 700 24px/1 var(--font-mono); }
.hero-facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.terminal-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: oklch(10% .018 55 / .8);
  box-shadow: var(--shadow), 0 0 55px oklch(72% .19 48 / .12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.terminal-top {
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: oklch(18% .024 55 / .72);
}
.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.terminal-top span:nth-child(2) { background: oklch(72% .13 84); }
.terminal-top span:nth-child(3) { background: var(--green); }
.terminal-top b {
  margin-left: auto;
  color: var(--muted);
  font: 600 12px/1 var(--font-mono);
}
.terminal-body { padding: 22px; font: 500 14px/1.8 var(--font-mono); }
.terminal-body p { color: var(--text); }
.terminal-body span, .terminal-body i { color: var(--orange); font-style: normal; }
.terminal-ok { color: var(--green) !important; }

.strip {
  display: flex;
  gap: 10px;
  padding: 0 clamp(18px, 7vw, 128px) 80px;
  flex-wrap: wrap;
}
.strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--panel);
  font: 500 12px/1 var(--font-mono);
}

.section { padding: 96px clamp(18px, 7vw, 128px); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  gap: 46px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading.compact { align-items: center; }
.section-heading h2, .estimate h2 {
  margin-top: 14px;
  font-size: clamp(20px, 2.5vw, 38px);
  line-height: 1;
  letter-spacing: -.04em;
}
.section-heading p, .estimate-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--orange);
  font: 600 12px/1.2 var(--font-mono);
}

.service-list { display: grid; gap: 10px; }
.service-row {
  min-height: 110px;
  padding: 22px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 46px 1fr 120px 24px;
  gap: 18px;
  align-items: center;
  transition: transform .2s, border-color .2s;
}
.service-row:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.service-row > span, .process-step > span { color: var(--orange); font: 700 13px/1 var(--font-mono); }
.service-row h3, .process-step h3 { font-size: 13px; letter-spacing: -.03em; }
.service-row p, .process-step p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-row strong { color: var(--muted); font: 600 12px/1 var(--font-mono); }
.service-row svg, .process-step svg { color: var(--orange); }

.proof {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  padding: 0 clamp(18px, 7vw, 128px) 96px;
}
.proof-image, .project-card { border-radius: var(--radius); overflow: hidden; }
.proof-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.proof-copy { align-self: center; }

.projects { padding-top: 0; }
.project-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 300px 300px;
  gap: 14px;
}
.project-large { grid-row: 1 / 3; }
.project-card { position: relative; min-height: 280px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project-card:hover img { transform: scale(1.025); }
.project-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(10% .018 55 / .78);
  backdrop-filter: blur(14px);
}
.project-meta span { font-weight: 700; }
.project-meta b { color: var(--orange); font: 600 12px/1 var(--font-mono); }
.project-text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-text span { color: var(--orange); font: 600 12px/1 var(--font-mono); }
.project-text p { font-size: 26px; line-height: 1.18; letter-spacing: -.03em; }
.project-text b { color: var(--muted); font: 600 12px/1 var(--font-mono); }

.process { padding-top: 0; }
.process-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.process-step { min-height: 230px; padding: 22px; border-radius: var(--radius); }
.process-step svg { width: 26px; height: 26px; margin: 42px 0 28px; }

.estimate {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  padding: 0 clamp(18px, 7vw, 128px) 110px;
}
.estimate-copy {
  padding: 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.estimate-copy > p { margin: 24px 0 34px; max-width: 460px; }
.estimate-contact {
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.estimate-contact span { color: var(--muted); font: 600 11px/1 var(--font-mono); }
.estimate-contact a { font-size: 23px; font-weight: 800; }
.calculator { padding: 28px; }
.calc-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 600 12px/1 var(--font-mono);
}
.calc-top em { color: var(--orange); }
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.type-grid input { position: absolute; opacity: 0; pointer-events: none; }
.type-grid span {
  min-height: 84px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  cursor: pointer;
  font: 600 12px/1 var(--font-mono);
  transition: .2s;
}
.type-grid svg { width: 22px; height: 22px; }
.type-grid input:checked + span { color: var(--bg); background: var(--orange); border-color: var(--orange); }
.dimension-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dimension-grid label, .request-form label {
  color: var(--muted);
  font: 600 12px/1.3 var(--font-mono);
}
.dimension-grid input, .request-form input {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  color: var(--text);
  background: oklch(11% .018 55 / .82);
}
.dimension-grid input:focus, .request-form input:focus { border-color: var(--orange); }
.calc-result {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.calc-result span { color: var(--muted); font: 600 12px/1 var(--font-mono); }
.calc-result strong { color: var(--orange); font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.calc-result small { grid-column: 1 / 3; color: var(--dim); font-size: 12px; }
.button-wide { width: 100%; }
.form-status { min-height: 18px; margin: 12px 0 0; color: var(--green); font: 500 12px/1.4 var(--font-mono); }

footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 26px;
  padding: 42px clamp(18px, 7vw, 128px) 26px;
  border-top: 1px solid var(--line);
  background: oklch(9% .016 55);
}
footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
footer span { color: var(--dim); font: 600 11px/1 var(--font-mono); }
footer a, footer p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 500 11px/1 var(--font-mono);
}
.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .desktop-nav, .header-actions .button, .header-actions .phone-link { display: none; }
  .site-header { justify-content: space-between; }
  .menu-toggle { display: grid; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 920px; }
  .hero-terminal { max-width: 560px; }
  .section-heading, .estimate, .proof { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 14px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-copy b { font-size: 14px; }
  .logo-copy small { font-size: 10px; }
  .hero {
    min-height: 820px;
    padding: 104px 16px 46px;
    gap: 28px;
  }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, oklch(10% .018 55 / .9), oklch(12% .018 55 / .72)); }
  h1 { font-size: clamp(24px, 7.5vw, 34px); }
  .hero-content > p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 28px; }
  .terminal-body { font-size: 12px; padding: 16px; }
  .strip, .section, .proof, .estimate { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .section-heading { gap: 18px; margin-bottom: 28px; }
  .section-heading h2, .estimate h2 { font-size: clamp(18px, 6vw, 26px); }
  .service-row { grid-template-columns: 34px 1fr 22px; padding: 18px; }
  .service-row strong { display: none; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 380px 250px 260px; }
  .project-large { grid-row: auto; }
  .project-meta { flex-direction: column; }
  .process-line, .type-grid, .dimension-grid { grid-template-columns: 1fr; }
  .estimate { padding-bottom: 80px; }
  .calculator { padding: 18px; }
  .calc-result { grid-template-columns: 1fr; }
  .calc-result small { grid-column: auto; }
  footer { grid-template-columns: 1fr; padding: 34px 16px 22px; }
  .copyright { grid-column: auto; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 86px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-soft);
    transform: translateX(100%);
    transition: transform .25s;
    visibility: hidden;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
  .mobile-menu .menu-close { display: grid; position: absolute; top: 14px; right: 14px; }
  .mobile-menu > a:not(.phone-link) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
  }
  .mobile-menu .phone-link { margin-top: auto; color: var(--orange); font-size: 14px; }
}
