:root {
  --ink: #0b0b0c;
  --ink-soft: #141416;
  --panel: #1a1a1d;
  --line: #343438;
  --paper: #f3f0e9;
  --muted: #b7b3ab;
  --orange: #f36b21;
  --orange-bright: #ff8340;
  --white: #fffdf8;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .23;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--orange);
  color: #090909;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(11,11,12,.9);
  backdrop-filter: blur(18px);
}

.build-notice {
  border-bottom: 1px solid rgba(243,107,33,.35);
  background: #21130d;
}

.build-notice .shell {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-block: 9px;
  color: #ddd6ce;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.build-notice strong {
  color: var(--orange-bright);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}

.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  color: var(--orange);
  transform: rotate(-3deg);
  font-size: 12px;
  letter-spacing: -.04em;
}

.brand-copy { display: grid; gap: 3px; }
.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  color: #d8d5cf;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible { color: var(--orange-bright); }

.nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--orange);
  color: var(--white);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: var(--orange);
  color: #0b0b0c;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url('/assets/retrofit-panel-hero.webp');
  background-size: cover;
  background-position: 62% center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7,7,8,.98) 0%, rgba(7,7,8,.92) 37%, rgba(7,7,8,.28) 68%, rgba(7,7,8,.24) 100%),
    linear-gradient(0deg, rgba(7,7,8,.82), transparent 34%);
}

.hero-copy {
  max-width: 650px;
  padding-block: 100px 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.045em;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.4rem, 7.5vw, 7.4rem);
  text-transform: uppercase;
}

h2 { font-size: clamp(2.35rem, 5vw, 4.7rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

.hero .lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: #d2cec6;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  background: var(--orange);
  color: #0b0b0c;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}

.button:hover,
.button:focus-visible { background: var(--orange-bright); }

.button.secondary {
  border-color: #67666a;
  background: rgba(13,13,14,.7);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--orange);
  color: var(--orange-bright);
}

.hero-note {
  margin: 24px 0 0;
  color: #aaa69f;
  font-size: 13px;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--orange);
  color: #0b0b0c;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  padding: 22px 26px;
  border-left: 1px solid rgba(0,0,0,.22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.proof-item:last-child { border-right: 1px solid rgba(0,0,0,.22); }

.section { padding-block: clamp(76px, 9vw, 126px); }
.section.tight { padding-block: 72px; }
.section.alt { background: var(--ink-soft); }
.section.paper {
  background: var(--paper);
  color: #111113;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.paper .section-heading p,
.paper .muted { color: #555158; }

.grid-2,
.grid-3,
.process-grid,
.use-grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3,
.process-grid { grid-template-columns: repeat(3, 1fr); }
.use-grid { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #121214;
  overflow: hidden;
}

.card::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border: 1px solid #2e2e31;
  content: "";
  transform: rotate(45deg);
}

.card-kicker {
  margin: 0 0 34px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.card p {
  margin: 16px 0 22px;
  color: var(--muted);
}

.text-link {
  color: var(--orange-bright);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.use-card {
  min-height: 170px;
  padding: 24px;
  border-top: 3px solid var(--orange);
  background: #1d1d20;
}

.use-card span {
  display: block;
  margin-bottom: 30px;
  color: #737076;
  font-size: 12px;
  font-weight: 900;
}

.use-card strong {
  display: block;
  max-width: 190px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.process-card {
  padding: 30px;
  border: 1px solid #cbc6bd;
  background: #fffdf8;
}

.process-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  background: #111113;
  color: var(--orange-bright);
  font-size: 13px;
  font-weight: 950;
}

.process-card p { margin: 14px 0 0; color: #57535a; }

.callout {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 46px;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid #3a3a3e;
  background:
    linear-gradient(135deg, rgba(243,107,33,.15), transparent 38%),
    #151517;
  box-shadow: var(--shadow);
}

.callout p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
}

.price {
  padding-left: 42px;
  border-left: 1px solid #4b4b50;
}

.price small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.price strong {
  color: var(--orange-bright);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.price p { margin-top: 10px; font-size: 13px; }

.page-hero {
  padding-block: clamp(90px, 12vw, 150px) clamp(74px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 20%, rgba(243,107,33,.16), transparent 27%),
    linear-gradient(140deg, #0b0b0c 55%, #18181b);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.page-hero .lead {
  max-width: 730px;
  margin: 25px 0 0;
  color: #c8c4bd;
  font-size: 1.17rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(42px, 6vw, 78px);
}

.page-hero-grid h1 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
}

.eva-page-hero {
  padding-block: clamp(72px, 9vw, 112px);
}

.hero-figure {
  margin: 0;
  border: 1px solid #46464b;
  background: #111113;
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 13px 15px;
  border-top: 1px solid #36363a;
  color: #9f9ba3;
  font-size: 12px;
  line-height: 1.45;
}

.breadcrumb {
  margin-bottom: 26px;
  color: #8d8991;
  font-size: 13px;
}

.breadcrumb a { color: #c7c3bc; }

.feature-list,
.check-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid #303034;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "◆";
  font-size: 10px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.measure-box {
  padding: 34px;
  border: 1px solid var(--line);
  background: #161618;
}

.measure-box h3 { margin-bottom: 15px; }
.measure-box p { color: var(--muted); }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #151517;
}

.faq-list summary {
  padding: 21px 56px 21px 22px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.form-wrap {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(36px, 7vw, 84px);
}

.form-intro p { color: var(--muted); }

.contact-direct {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-direct small {
  display: block;
  color: #8f8b92;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-direct a {
  color: var(--orange-bright);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.quote-form {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #3b3b40;
  background: #151517;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }

label {
  display: block;
  margin-bottom: 8px;
  color: #e8e4dd;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #48484d;
  border-radius: 0;
  outline: none;
  background: #0d0d0f;
  color: var(--white);
}

input,
select { height: 50px; padding: 0 14px; }
textarea { min-height: 140px; padding: 14px; resize: vertical; }

input:focus,
select:focus,
textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,107,33,.16); }

.form-note,
.form-status {
  margin: 15px 0 0;
  color: #aaa69f;
  font-size: 13px;
}

.form-status { min-height: 22px; color: var(--orange-bright); }

.legal-note {
  padding: 20px 22px;
  border-left: 3px solid var(--orange);
  background: rgba(243,107,33,.08);
  color: #c6c2ba;
  font-size: 14px;
}

.site-footer {
  padding-block: 54px 34px;
  border-top: 1px solid var(--line);
  background: #080809;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr .8fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #969299;
}

.footer-links strong {
  display: block;
  margin-bottom: 14px;
  color: #ddd9d2;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: #a7a3aa;
  text-decoration: none;
}

.footer-links a:hover { color: var(--orange-bright); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #252528;
  color: #77747a;
  font-size: 12px;
}

@media (max-width: 920px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 650px; }
  .hero::before { background-position: 67% center; opacity: .72; }
  .hero::after {
    background: linear-gradient(90deg, rgba(7,7,8,.98), rgba(7,7,8,.75) 70%, rgba(7,7,8,.45));
  }
  .hero-copy { max-width: 600px; }
  .grid-3,
  .process-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .form-wrap,
  .callout,
  .page-hero-grid { grid-template-columns: 1fr; }
  .price { padding: 28px 0 0; border: 0; border-top: 1px solid #4b4b50; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .build-notice .shell { font-size: 13px; }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .nav { gap: 0; }
  .nav .nav-cta { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 610px; }
  .hero::before { background-position: 72% center; }
  .hero::after { background: rgba(7,7,8,.75); }
  .hero-copy { padding-block: 85px; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .actions { display: grid; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border: 0; border-bottom: 1px solid rgba(0,0,0,.22); }
  .use-grid,
  .grid-2,
  .field-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
