:root {
  color-scheme: light;
  --ink: #101721;
  --ink-2: #1a2532;
  --muted: #637083;
  --line: #dce4ed;
  --paper: #f4f7f8;
  --white: #ffffff;
  --night: #081018;
  --red: #c24135;
  --red-dark: #8d2a24;
  --teal: #2ca89d;
  --teal-dark: #176d68;
  --gold: #c79a39;
  --blue: #274b66;
  --shadow: 0 24px 70px rgba(16, 23, 33, 0.16);
  --radius: 8px;
  --wrap: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  color: var(--white);
}

.nav {
  width: var(--wrap);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 -3px 0 rgba(44, 168, 157, 0.72);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-link:hover,
.menu-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
}

.menu-button,
.menu-close {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.menu-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(5, 10, 15, 0.68);
  backdrop-filter: blur(12px);
}

.menu-modal[hidden] {
  display: none;
}

.menu-panel {
  width: min(500px, 100%);
  min-height: 100%;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  background: #f8fafb;
  color: var(--ink);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.24);
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-title {
  display: grid;
  gap: 4px;
}

.menu-title strong {
  font-size: 1.05rem;
}

.menu-title span {
  color: var(--muted);
  font-size: 0.86rem;
}

.menu-close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: #e9eef2;
  font-size: 1.7rem;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.menu-close:hover {
  transform: rotate(4deg);
  background: #dce4ea;
}

.menu-nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.menu-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  line-height: 1.08;
  font-weight: 900;
  transition: color 160ms ease, padding-left 160ms ease;
}

.menu-nav a:hover {
  color: var(--red-dark);
  padding-left: 8px;
}

.menu-foot {
  display: grid;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:focus-visible,
.header-link:focus-visible,
.menu-button:focus-visible,
.menu-close:focus-visible,
.menu-nav a:focus-visible {
  outline: 3px solid rgba(44, 168, 157, 0.58);
  outline-offset: 4px;
}

.button:hover {
  transform: translateY(-2px);
  background: #172331;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.button.light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero {
  min-height: 86svh;
  color: var(--white);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3, 8, 13, 0.98) 0%, rgba(3, 8, 13, 0.92) 34%, rgba(3, 8, 13, 0.66) 58%, rgba(3, 8, 13, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 10, 15, 0.86), rgba(5, 10, 15, 0.12) 52%),
    url("/assets/restoration-response-hero-generated.jpg");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, var(--paper), rgba(244,247,248,0));
  z-index: -1;
}

.hero-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 150px 0 72px;
}

.hero-copy {
  max-width: 840px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: #72ded3;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 7.6vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 100%;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2.1vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-note {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.signal-strip {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.signal-item {
  min-height: 104px;
  padding: 18px;
  background: rgba(8, 16, 24, 0.58);
  backdrop-filter: blur(12px);
}

.signal-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.98rem;
}

.signal-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.section {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
}

.section.alt {
  background: var(--white);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.section-kicker {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 30px;
}

.section-copy {
  max-width: 720px;
}

.section-image-card,
.system-art {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 33, 0.14);
  background: #0d1620;
  box-shadow: 0 24px 70px rgba(16, 23, 33, 0.16);
}

.section-image-card::after,
.system-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 15%, rgba(114, 222, 211, 0.18), transparent 36%);
}

.section-image-card img,
.system-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-image-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 16, 24, 0.68);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: start;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.impact-card {
  position: relative;
  min-height: 238px;
  padding: 24px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(15, 26, 36, 0.92), rgba(15, 26, 36, 0.74)),
    radial-gradient(circle at 18% 18%, rgba(194, 65, 53, 0.28), transparent 32%),
    #101a24;
  box-shadow: 0 22px 58px rgba(16, 23, 33, 0.16);
}

.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, var(--red), transparent 46%);
  opacity: 0.9;
}

.impact-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, var(--teal), transparent 46%);
}

.impact-card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, var(--gold), transparent 46%);
}

.impact-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(114, 222, 211, 0.34), rgba(114, 222, 211, 0.06) 48%, transparent 50%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 24px rgba(114, 222, 211, 0.12);
}

.impact-card h3,
.impact-card p,
.card-index {
  position: relative;
  z-index: 1;
}

.card-index {
  width: fit-content;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.impact-card p,
.checklist li,
.timeline p,
.small,
.footer p {
  color: var(--muted);
}

.impact-card p {
  color: rgba(255, 255, 255, 0.68);
}

#system {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 12%, rgba(44, 168, 157, 0.24), transparent 34%),
    linear-gradient(180deg, #0b141d 0%, #101a24 56%, #081018 100%);
}

#system .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

#system .split {
  margin-bottom: 18px;
  align-items: center;
}

.system-art {
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.28);
}

.system-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(114, 222, 211, 0.22), transparent 32%),
    radial-gradient(circle at 94% 88%, rgba(199, 154, 57, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.system-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 172px;
  align-content: end;
  border-bottom: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 16, 24, 0.76);
  backdrop-filter: blur(14px);
}

.system-row::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(114, 222, 211, 0.86), rgba(114, 222, 211, 0.08) 52%, transparent 54%);
  box-shadow: 0 0 24px rgba(114, 222, 211, 0.24);
}

.system-row:nth-child(2)::before,
.system-row:nth-child(5)::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(199, 154, 57, 0.88), rgba(199, 154, 57, 0.08) 52%, transparent 54%);
  box-shadow: 0 0 24px rgba(199, 154, 57, 0.24);
}

.system-row:nth-child(4)::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(194, 65, 53, 0.86), rgba(194, 65, 53, 0.08) 52%, transparent 54%);
  box-shadow: 0 0 24px rgba(194, 65, 53, 0.24);
}

.system-row strong,
.system-row span {
  position: relative;
  z-index: 1;
}

.system-row strong {
  padding: 86px 22px 8px;
  color: var(--white);
  background: transparent;
  font-size: 1rem;
}

.system-row span {
  padding: 0 22px 24px;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 900;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.cta-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 16, 24, 0.98), rgba(18, 45, 53, 0.96)),
    url("/assets/restoration-response-hero-generated.jpg");
  background-size: cover;
  background-position: center;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.74);
}

.cta-band code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffd1ca;
  font-weight: 900;
}

.page-hero {
  min-height: 58svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.94), rgba(5, 10, 15, 0.50)),
    url("/assets/restoration-response-hero-generated.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero .hero-inner {
  padding-bottom: 62px;
}

.footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #081018;
}

.footer a,
.footer strong {
  color: var(--white);
}

.small {
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  :root {
    --wrap: min(100% - 28px, 720px);
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 88svh;
    background-position: 62% center;
  }

  .hero-inner {
    padding: 126px 0 46px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 5rem);
  }

  .signal-strip,
  .problem-grid,
  .visual-split,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .system-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 62px 0;
  }

  .visual-split {
    gap: 24px;
  }

  .button {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: calc(100% - 24px);
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    width: auto;
    margin-inline: 12px;
    min-height: 74px;
    gap: 10px;
    padding-right: 0;
  }

  .header-actions {
    position: static;
    justify-self: end;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    max-width: min(220px, calc(100vw - 128px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .menu-panel {
    width: 100%;
    padding: 22px max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-inner {
    width: auto;
    margin-inline: 12px;
  }

  .hero-copy {
    max-width: min(320px, calc(100vw - 64px));
  }

  h1 {
    font-size: clamp(1.95rem, 8.3vw, 2.65rem);
    line-height: 1;
  }

  .lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .signal-item {
    min-height: auto;
  }

  .section-image-card figcaption {
    position: static;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(8, 16, 24, 0.86);
  }

  .impact-card {
    min-height: 190px;
  }

  .system-board {
    grid-template-columns: 1fr;
  }

  .system-row {
    min-height: 146px;
  }

  .system-row strong {
    padding-top: 72px;
  }
}
