:root {
  --ink: #071126;
  --ink-2: #14213d;
  --muted: #687386;
  --line: #d9deea;
  --paper: #f8f8f6;
  --panel: #ffffff;
  --mist: #eef2f8;
  --teal: #00215f;
  --teal-dark: #000b2f;
  --amber: #ffb21c;
  --amber-soft: #fff1cf;
  --clay: #556070;
  --success: #1f8a5b;
  --danger: #b64335;
  --shadow: 0 24px 70px rgba(7, 17, 38, 0.14);
  --radius: 8px;
  --header-height: 76px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(7, 17, 38, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 17, 38, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

::selection {
  background: var(--amber-soft);
  color: var(--ink);
}

.site-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 222, 234, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 42px rgba(7, 17, 38, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(176px, 19.2vw, 288px);
  height: auto;
  border-radius: 6px;
}

.footer-logo {
  width: clamp(120px, 14vw, 170px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 178, 28, 0.32);
  border-radius: var(--radius);
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.header-cta {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(0, 33, 95, 0.22);
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  border-color: rgba(255, 178, 28, 0.72);
  background: var(--amber-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.15;
}

main {
  position: relative;
}

section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 38px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 56px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(248, 248, 246, 0.72), rgba(248, 248, 246, 0.44) 48%, rgba(248, 248, 246, 0.58)),
    linear-gradient(180deg, rgba(248, 248, 246, 0.42), rgba(248, 248, 246, 0.76)),
    url("assets/pexels-residential-home-construction-renovation.jpg") center / cover;
  content: "";
  opacity: 1;
  filter: saturate(1.05) contrast(1.08);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 178, 28, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(248, 248, 246, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248, 248, 246, 0.18) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow .lucide {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 7.2vw, 7.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.02rem, 1.3vw, 1.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-lede {
  max-width: 620px;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}

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

.btn {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 33, 95, 0.22);
}

.btn-primary:hover {
  background: var(--amber);
  color: var(--teal-dark);
  box-shadow: 0 22px 48px rgba(255, 178, 28, 0.3);
}

.btn-secondary {
  border-color: rgba(16, 24, 32, 0.15);
  background: var(--panel);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--amber-soft);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 38px 0 0;
}

.hero-metrics div {
  min-height: 106px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics dt {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
}

.image-frame {
  position: absolute;
  inset: 0 0 70px 54px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.24)),
    linear-gradient(90deg, rgba(0, 33, 95, 0.28), transparent 46%);
  content: "";
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18%;
  z-index: 2;
  width: 2px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.86);
  animation: scanLine 5.8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  z-index: 4;
  right: clamp(0px, 2vw, 28px);
  bottom: 0;
  width: min(430px, calc(100% - 20px));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.report-card {
  padding: 18px;
}

.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-topline strong {
  color: var(--teal-dark);
}

.score-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 55%, transparent 56%),
    conic-gradient(var(--success) 0 var(--score-progress, 0%), rgba(31, 138, 91, 0.13) var(--score-progress, 0%) 100%);
  filter: drop-shadow(0 14px 22px rgba(31, 138, 91, 0.16));
  transform: scale(0.92);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.score-ring.is-scored {
  transform: scale(1);
}

.score-ring.is-scored::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(31, 138, 91, 0.22);
  border-radius: 50%;
  content: "";
  animation: scorePulse 1600ms ease-out 1;
}

.score-ring span {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  transform: translateY(1px);
}

.score-block p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.score-block strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.js-enabled .score-block p,
.js-enabled .score-block strong {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-enabled .score-block.is-scored p,
.js-enabled .score-block.is-scored strong {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .score-block.is-scored strong {
  transition-delay: 130ms;
}

.risk-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.risk-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 700;
}

.risk-list .lucide {
  flex: 0 0 auto;
  color: var(--amber);
}

.problem-band,
.process-section,
.why-section,
.services-section,
.proof-section {
  padding: clamp(68px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.problem-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 17, 38, 0.2), rgba(7, 17, 38, 0.2)),
    url("assets/pexels-home-renovation-room.jpg") center / cover,
    var(--ink);
  color: #ffffff;
}

.problem-band::before,
.intel-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.62), rgba(16, 24, 32, 0.58)),
    linear-gradient(90deg, rgba(0, 33, 95, 0.34), rgba(7, 17, 38, 0.18) 54%, rgba(255, 178, 28, 0.12));
  content: "";
  pointer-events: none;
}

.problem-band::after,
.intel-section::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 16% 22%, rgba(197, 139, 36, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  content: "";
  pointer-events: none;
}

.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.98) contrast(1.08);
  transform: scale(1.04);
}

.problem-band > *,
.intel-section > * {
  position: relative;
  z-index: 3;
}

.problem-band .eyebrow,
.problem-band h2,
.problem-band h3 {
  color: #ffffff;
}

.problem-band p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 960px;
  margin: 0 auto clamp(32px, 6vw, 66px);
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 1.06rem;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 14px;
  max-width: 1340px;
  margin: 0 auto;
}

.risk-card,
.why-card,
.service-card,
.testimonial,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(16, 24, 32, 0.06);
}

.risk-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow: none;
  backdrop-filter: blur(9px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.risk-card::after,
.why-card::after,
.service-card::after,
.testimonial::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.14), transparent 58% 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition: opacity 240ms ease, transform 620ms ease;
}

.risk-card:hover,
.why-card:hover,
.service-card:hover,
.testimonial:hover {
  transform: translateY(-5px);
}

.js-enabled .risk-card.section-reveal.in-view:hover,
.js-enabled .why-card.section-reveal.in-view:hover,
.js-enabled .service-card.section-reveal.in-view:hover,
.js-enabled .testimonial.section-reveal.in-view:hover {
  transform: translateY(-5px) scale(1);
}

.risk-card:hover {
  border-color: rgba(197, 139, 36, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
}

.risk-card:hover::after,
.why-card:hover::after,
.service-card:hover::after,
.testimonial:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.risk-card .lucide {
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  color: var(--amber);
}

.risk-card h3,
.why-card h3,
.service-card h3 {
  margin-bottom: 12px;
}

.risk-card p,
.why-card p,
.service-card p {
  font-size: 0.94rem;
}

.problem-note {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: clamp(26px, 4vw, 46px) auto 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(10px);
}

.problem-note strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.35;
}

.split-section,
.audience-section,
.intel-section,
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding: clamp(72px, 10vw, 138px) clamp(18px, 5vw, 72px);
}

.split-section {
  background: var(--paper);
}

.split-media,
.audience-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.split-media img,
.audience-image img {
  width: 100%;
  height: clamp(420px, 50vw, 680px);
  object-fit: cover;
}

.split-copy,
.intel-copy,
.audience-content,
.cta-copy {
  max-width: 680px;
}

.split-copy p,
.intel-copy p,
.audience-content > p,
.cta-copy p {
  margin-top: 22px;
  font-size: 1.06rem;
}

.statement-box {
  margin-top: 30px;
  padding: 24px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--mist);
}

.statement-box p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.statement-box strong {
  color: var(--teal-dark);
  font-size: 1.05rem;
  line-height: 1.45;
}

.process-section {
  background: #f3f7f6;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  min-height: 300px;
  padding: 26px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.process-step:nth-child(2) {
  margin-top: 28px;
}

.process-step:nth-child(3) {
  margin-top: 56px;
}

.process-step:nth-child(4) {
  margin-top: 84px;
}

.process-step span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 34px;
  border: 1px solid rgba(0, 33, 95, 0.2);
  border-radius: 50%;
  background: var(--panel);
  color: var(--teal-dark);
  font-weight: 800;
}

.process-step p {
  margin-top: 14px;
  font-size: 0.94rem;
}

.process-step:hover {
  border-color: rgba(0, 33, 95, 0.26);
  box-shadow: 0 24px 54px rgba(7, 17, 38, 0.12);
  transform: translateY(-7px);
}

.js-enabled .process-step.section-reveal.in-view:hover {
  transform: translateY(-7px) scale(1);
}

.intel-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 17, 38, 0.2), rgba(7, 17, 38, 0.2)),
    url("assets/pexels-brick-house-extension-renovation.jpg") center / cover,
    var(--ink);
  color: #ffffff;
}

.intel-section::before {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.72), rgba(16, 24, 32, 0.52)),
    linear-gradient(135deg, rgba(0, 33, 95, 0.38), rgba(7, 17, 38, 0.12) 52%, rgba(255, 178, 28, 0.16));
}

.intel-section h2,
.intel-section .eyebrow {
  color: #ffffff;
}

.intel-section p {
  color: rgba(255, 255, 255, 0.76);
}

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

.intel-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.js-enabled .intel-grid span {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.js-enabled .intel-grid.in-view span {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--item-delay, 0ms);
}

.intel-grid span:hover {
  border-color: rgba(197, 139, 36, 0.44);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.js-enabled .intel-grid.in-view span:hover {
  transform: translateY(-3px);
}

.intel-grid .lucide {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto;
}

.why-card {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  min-height: 260px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.why-card:nth-child(4),
.why-card:nth-child(5) {
  grid-column: span 3;
}

.why-card:hover,
.service-card:hover,
.testimonial:hover {
  border-color: rgba(0, 33, 95, 0.24);
  box-shadow: 0 22px 48px rgba(16, 24, 32, 0.1);
}

.why-card .lucide {
  width: 32px;
  height: 32px;
  margin-bottom: 34px;
  color: var(--teal);
}

.services-section {
  background: #eef2f1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 424px;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card.featured {
  border-color: rgba(0, 33, 95, 0.34);
  background:
    linear-gradient(180deg, rgba(238, 242, 248, 0.86), #ffffff 46%),
    var(--panel);
  box-shadow: 0 28px 72px rgba(0, 33, 95, 0.16);
  transform: translateY(-14px);
}

.js-enabled .service-card.featured.section-reveal.in-view {
  transform: translateY(-14px) scale(1);
}

.js-enabled .service-card.featured.section-reveal.in-view:hover {
  transform: translateY(-19px) scale(1);
}

.service-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  display: block;
  margin: 30px 0 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
}

.text-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--amber);
}

.audience-section {
  background: var(--paper);
}

.audience-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.audience-list article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.audience-list article > .lucide {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--amber);
}

.audience-list h3 {
  margin-bottom: 8px;
}

.audience-list p {
  font-size: 0.95rem;
}

.proof-section {
  background: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.testimonial {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  margin: 0;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stars {
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.testimonial figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.cta-section {
  position: relative;
  overflow: hidden;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(0, 11, 47, 0.72), rgba(0, 11, 47, 0.48)),
    linear-gradient(180deg, rgba(0, 11, 47, 0.34), rgba(0, 11, 47, 0.58)),
    url("assets/pexels-contact-home-project.jpg") center / cover;
  color: #ffffff;
}

.cta-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 178, 28, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  content: "";
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2,
.cta-section .eyebrow {
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.cta-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.cta-points .lucide {
  color: var(--amber);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-form label > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form label > span .lucide {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(7, 17, 38, 0.48);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(197, 139, 36, 0.18);
}

.full-width {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(217, 222, 234, 0.82);
  background: var(--panel);
}

.footer-brand {
  justify-self: start;
}

.footer-tagline {
  justify-self: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-meta p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.35;
  white-space: nowrap;
}

.footer-meta a {
  color: var(--teal-dark);
}

.footer-meta a:hover {
  color: var(--amber);
}

.section-reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .section-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .section-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateX(-40px);
    opacity: 0.2;
  }
  45%,
  55% {
    opacity: 0.9;
  }
  50% {
    transform: translateX(410px);
  }
}

@keyframes scorePulse {
  0% {
    opacity: 0.85;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .image-frame {
    inset: 0 0 70px 0;
  }

  .risk-grid,
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-card,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: span 1;
  }

  .process-track,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    margin-top: 0;
  }

  .service-card.featured {
    transform: none;
  }

  .js-enabled .service-card.featured.section-reveal.in-view,
  .js-enabled .service-card.featured.section-reveal.in-view:hover {
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 901px) and (max-height: 920px) {
  .hero {
    min-height: calc(100svh - var(--header-height) - 38px);
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 5.6rem);
    line-height: 0.94;
  }

  .hero-lede {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-metrics {
    margin-top: 26px;
  }

  .hero-metrics div {
    min-height: 92px;
    padding: 14px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .image-frame {
    inset: 0 0 54px 42px;
  }

  .floating-card {
    width: min(400px, calc(100% - 20px));
  }

  .report-card {
    padding: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-logo {
    width: min(200px, 56vw);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    min-height: 46px;
    padding: 14px;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: var(--mist);
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-metrics,
  .split-section,
  .audience-section,
  .intel-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 12px 16px;
  }

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

  h1 {
    font-size: clamp(2.72rem, 12vw, 3.55rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.05rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    min-width: 0;
  }

  .hero-actions .btn span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-metrics,
  .risk-grid,
  .why-grid,
  .process-track,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
    min-height: calc(100svh - var(--header-height) - 32px);
    padding: 28px 16px 34px;
    background: var(--ink);
  }

  .hero::after {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.16), rgba(16, 24, 32, 0.72)),
      linear-gradient(90deg, rgba(0, 33, 95, 0.56), rgba(7, 17, 38, 0.12));
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .hero-lede {
    color: #ffffff;
  }

  .hero .eyebrow .lucide {
    color: var(--amber);
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
  }

  .image-frame {
    inset: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .floating-card {
    display: none;
  }

  .hero-metrics {
    display: none;
  }

  .scan-line {
    opacity: 0.35;
  }

  .report-topline,
  .score-block {
    grid-template-columns: 1fr;
  }

  .report-topline {
    display: grid;
  }

  .score-ring {
    width: 86px;
    height: 86px;
  }

  .risk-card,
  .why-card,
  .process-step,
  .service-card,
  .testimonial {
    min-height: auto;
  }

  .intel-grid {
    grid-template-columns: 1fr;
  }

  .split-media img,
  .audience-image img {
    height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-tagline,
  .footer-meta {
    justify-self: center;
    text-align: center;
    justify-items: center;
  }

  .footer-meta p {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js-enabled .section-reveal {
    opacity: 1;
    transform: none;
  }
}
