:root {
  --ink: #111;
  --muted: #5d656d;
  --paper: #f5f5f5;
  --white: #fff;
  --line: #d9d9d9;
  --max: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.lp-container { width: min(100% - 48px, var(--max)); margin: 0 auto; }

.lp-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(17,17,17,.08);
  backdrop-filter: blur(14px);
}
.lp-nav {
  width: min(100% - 48px, var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}
.lp-logo img { width: 118px; mix-blend-mode: multiply; }
.lp-links { display: flex; justify-content: center; gap: clamp(18px, 3vw, 38px); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.lp-button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.lp-button:hover { transform: translateY(-1px); }
.lp-button.ghost { background: rgba(255,255,255,.74); color: var(--ink); border-color: rgba(17,17,17,.22); }
.lp-button.white { background: var(--white); color: var(--ink); border-color: var(--white); }

.lp-hero {
  min-height: calc(100vh - 86px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(420px, 1.35fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--paper);
}
.lp-hero-copy {
  z-index: 2;
  align-self: center;
  max-width: 580px;
  padding: clamp(54px, 7vw, 94px) 0 clamp(54px, 7vw, 94px) max(24px, calc((100vw - var(--max)) / 2));
}
.lp-kicker,
.lp-eyebrow,
.lp-section-head p {
  margin: 0 0 18px;
  color: #30363d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lp-hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.lp-hero h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lp-hero-copy > p:not(.lp-kicker) {
  max-width: 430px;
  margin: 28px 0 0;
  color: #29313a;
  line-height: 1.65;
}
.lp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.lp-hero-media {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
}
.lp-hero-media:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245,245,245,.9) 8%, rgba(245,245,245,.12) 32%, rgba(245,245,245,0) 58%);
}
.lp-hero-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 86px);
  object-fit: cover;
  object-position: center;
}
.lead-form {
  position: absolute;
  z-index: 4;
  top: clamp(72px, 11vh, 124px);
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: min(360px, calc(100% - 48px));
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(17,17,17,.96);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.lead-form h3 { margin: 0 0 18px; font-size: 17px; text-transform: uppercase; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 12px; color: #e9edf0; font-size: 11px; font-weight: 800; }
.lead-form input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  padding: 0 10px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  font: inherit;
}
.lead-form fieldset { margin: 10px 0 16px; padding: 0; border: 0; }
.lead-form legend { margin-bottom: 8px; font-size: 11px; font-weight: 900; }
.lead-form fieldset label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.lead-form fieldset input { width: 14px; height: 14px; }
.lead-form button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.lead-form p { margin: 12px 0 0; color: #b8c0c7; font-size: 11px; line-height: 1.45; }

.impact-section { background: var(--white); padding: clamp(64px, 9vw, 122px) 0; }
.impact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(40px, 10vw, 160px); align-items: center; }
.impact-grid h2 { margin: 0; max-width: 620px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; text-transform: uppercase; }
.impact-grid p { margin: 0; color: #232a31; line-height: 1.7; font-size: 18px; }

.before-after { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; background: #111; overflow: hidden; }
.before-after article { position: relative; min-height: inherit; overflow: hidden; }
.before-after img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .5s ease; }
.before-after article:hover img { transform: scale(1.04); }
.before-after:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.34)); pointer-events: none; }
.before-after span,
.before-after p { position: absolute; z-index: 2; color: var(--white); }
.before-after span { top: 28px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.before span { left: 34px; }
.after span { right: 34px; }
.before-after p { bottom: 34px; margin: 0; font-size: 15px; line-height: 1.55; font-weight: 700; }
.before p { left: 34px; }
.after p { right: 34px; text-align: right; }
.before-after b {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: var(--white);
  transform: translate(-50%, -50%);
  font-size: 34px;
  font-weight: 500;
}

.lp-section { padding: clamp(64px, 8vw, 110px) 0; background: var(--paper); }
.lp-section-head { margin-bottom: 30px; }
.lp-section-head h2,
.lp-process h2,
.differentials h2,
.final-cta h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  text-transform: uppercase;
}
.solution-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.solution-cards article { min-width: 0; background: var(--white); border-right: 1px solid var(--line); }
.solution-cards article:last-child { border-right: 0; }
.solution-cards img { width: 100%; height: 190px; object-fit: cover; }
.solution-cards div { padding: 24px; min-height: 180px; display: grid; align-content: start; gap: 12px; }
.solution-cards h3 { margin: 0; font-size: 16px; text-transform: uppercase; }
.solution-cards p { margin: 0; color: var(--muted); line-height: 1.55; }
.solution-cards a { margin-top: 8px; font-size: 22px; }

.lp-process { padding: clamp(58px, 8vw, 96px) 0; background: var(--white); }
.process-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 42px; }
.process-line article { position: relative; min-height: 150px; padding-right: 28px; border-top: 1px solid #bfc6cc; }
.process-line article:not(:last-child):after { content: "->"; position: absolute; top: -12px; right: 24px; background: var(--white); color: #616a72; font-size: 16px; }
.process-line small { display: block; margin-top: 22px; font-weight: 800; }
.process-line strong { display: block; margin: 14px 0 10px; font-size: 14px; text-transform: uppercase; }
.process-line p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1.65 / 1; background: #111; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .55s ease, opacity .55s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); opacity: 1; }
.gallery-grid figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--white); font-weight: 900; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.45); }

.differentials { padding: clamp(54px, 7vw, 86px) 0; background: #080a0c; color: var(--white); }
.diff-grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 0; align-items: stretch; }
.diff-grid h2 { max-width: 330px; font-size: clamp(28px, 3.4vw, 42px); }
.diff-grid article { padding: 4px 18px; border-left: 1px solid rgba(255,255,255,.18); }
.diff-grid strong { display: block; font-size: 12px; text-transform: uppercase; }
.diff-grid p { margin: 10px 0 0; color: #b9c0c6; font-size: 13px; line-height: 1.55; }

.final-cta { position: relative; min-height: 380px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: #050607; }
.final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.final-cta:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.34)); }
.final-cta .lp-container { position: relative; z-index: 2; }
.final-cta h2 { margin-bottom: 26px; }

.lp-footer { padding: 54px 0 28px; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr 1.2fr; gap: 36px; }
.lp-footer p,
.lp-footer span,
.lp-footer a { color: #4c5660; line-height: 1.6; }
.lp-footer h3 { margin: 0 0 18px; font-size: 14px; }
.lp-footer a,
.lp-footer span { display: block; margin-bottom: 8px; }
.footer-socials { display: flex; gap: 14px; margin-top: 22px; }
.footer-socials a { color: var(--ink); font-weight: 800; }

@media (max-width: 1080px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-hero-copy { padding-inline: 24px; }
  .lp-hero-media { min-height: 520px; }
  .lead-form { position: relative; top: auto; right: auto; width: calc(100% - 48px); margin: -110px auto 54px; }
  .solution-cards { grid-template-columns: repeat(2, 1fr); }
  .solution-cards article:nth-child(2) { border-right: 0; }
  .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .diff-grid h2 { grid-column: 1 / -1; max-width: 640px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .lp-container,
  .lp-nav { width: min(100% - 32px, var(--max)); }
  .lp-nav { grid-template-columns: 1fr auto; min-height: 74px; }
  .lp-links { display: none; }
  .lp-nav > .lp-button { min-height: 40px; padding-inline: 13px; font-size: 10px; }
  .lp-logo img { width: 104px; }
  .lp-hero { min-height: auto; }
  .lp-hero-copy { padding: 42px 16px 28px; }
  .lp-hero h2 { font-size: clamp(38px, 12vw, 56px); }
  .lp-hero-media { min-height: 360px; }
  .lp-hero-media img { min-height: 360px; }
  .lp-hero-media:before { background: linear-gradient(180deg, var(--paper), rgba(245,245,245,0)); }
  .lead-form { width: auto; max-width: none; margin: -52px 16px 46px; padding: 22px; }
  .impact-grid { grid-template-columns: 1fr; gap: 28px; }
  .before-after { grid-template-columns: 1fr; }
  .before-after b { top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
  .solution-cards,
  .gallery-grid,
  .process-line,
  .footer-grid { grid-template-columns: 1fr; }
  .solution-cards article,
  .solution-cards article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-line article { padding-bottom: 22px; }
  .process-line article:not(:last-child):after { right: auto; left: 0; top: auto; bottom: 0; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-grid article { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0 0; }
}
