:root {
  --navy-950: #06131f;
  --navy-900: #071827;
  --navy-850: #0b2134;
  --navy-800: #102a40;
  --navy-700: #173b57;
  --gold-500: #d79a16;
  --gold-400: #e6ad2f;
  --gold-300: #f3c45f;
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #0a1722;
  --muted: #64707c;
  --line: rgba(7, 24, 39, .12);
  --shadow: 0 24px 70px rgba(6, 19, 31, .12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(6, 19, 31, .90);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  flex: 0 0 auto;
}
.brand img { width: 100%; height: 100%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--gold-400);
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a:hover,
.main-nav a.active { color: #fff; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; transition: .25s ease; }

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 20%, rgba(215,154,22,.15), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(41,99,139,.18), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, #0b2234);
  color: var(--white);
  position: relative;
  padding-top: 120px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 620px; height: 620px; right: -260px; top: 80px; }
.hero::after { width: 760px; height: 760px; left: -430px; bottom: -470px; }
.hero-grid {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 64px;
  padding-bottom: 110px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-500);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.eyebrow.gold { color: var(--gold-300); }
.hero h1,
.section-heading h2,
.management-copy h2,
.followup-copy h2,
.coverage-copy h2,
.closing-card h2,
.brand-band h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hero h1 { font-size: clamp(3rem, 6vw, 6.8rem); max-width: 870px; }
.hero h1 span { color: var(--gold-400); }
.hero-subtitle {
  margin: 28px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.hero-tagline { margin: 3px 0 0; color: rgba(255,255,255,.70); font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-500); color: #111; }
.button-primary:hover { background: var(--gold-400); }
.button-ghost { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.hero-meta {
  display: flex;
  gap: 52px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta div { display: grid; gap: 4px; }
.meta-label { color: rgba(255,255,255,.48); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; font-weight: 800; }
.hero-meta strong { font-size: 1.02rem; }

.hero-visual { position: relative; }
.visual-frame { min-height: 560px; position: relative; display: grid; place-items: center; }
.visual-glow {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,154,22,.17), rgba(215,154,22,0) 68%);
  filter: blur(2px);
  animation: breathe 5s ease-in-out infinite;
}
.visual-card {
  width: min(82%, 480px);
  aspect-ratio: 1;
  border-radius: 42px;
  padding: 10px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 40px 100px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.5);
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.visual-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.house-outline {
  position: absolute;
  width: 92%;
  height: 84%;
  opacity: .16;
  z-index: 1;
}
.roof { position: absolute; top: 24%; width: 54%; height: 2px; background: #fff; transform-origin: center; }
.roof-a { left: 7%; transform: rotate(-39deg); }
.roof-b { right: 7%; transform: rotate(39deg); }
.wall { position: absolute; top: 44%; bottom: 12%; width: 2px; background: #fff; }
.wall-left { left: 17%; } .wall-right { right: 17%; }
.door-shape { position: absolute; width: 20%; height: 32%; right: 28%; bottom: 12%; border: 2px solid #fff; }
.window-shape { position: absolute; width: 18%; height: 18%; left: 28%; bottom: 36%; border: 2px solid #fff; }
.tool-orbit {
  position: absolute;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 16px 40px rgba(0,0,0,.24);
  z-index: 3;
}
.tool-orbit svg { width: 32px; fill: var(--navy-950); }
.orbit-one { right: 2%; top: 17%; animation: floatA 4.3s ease-in-out infinite; }
.orbit-two { left: 0; bottom: 15%; background: #fff; animation: floatB 5.2s ease-in-out infinite; }
.orbit-two svg { fill: var(--navy-900); }
.service-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(2,12,20,.38);
  overflow: hidden;
}
.strip-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .15em;
}
.strip-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; }
.section-heading h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.section-heading p:not(.eyebrow) { margin: 18px auto 0; max-width: 700px; color: var(--muted); }
.section-heading.center { text-align: center; }
.lead { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }

.services { background: #eef1f4; position: relative; }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7,24,39,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(7,24,39,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.services-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.service-card {
  min-height: 330px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(7,24,39,.08);
  box-shadow: 0 14px 34px rgba(7,24,39,.05);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-500);
  transition: transform .28s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(215,154,22,.28); }
.service-card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--navy-900);
}
.icon-box svg { width: 27px; fill: var(--gold-400); }
.card-number { position: absolute; right: 28px; top: 30px; color: rgba(7,24,39,.18); font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: 26px 0 12px; font-size: 1.25rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); }

.brand-band { background: var(--navy-900); color: #fff; }
.band-inner { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.brand-band h2 { font-size: clamp(2.8rem, 5vw, 5.6rem); }
.brand-band p:last-child { max-width: 360px; color: rgba(255,255,255,.64); }

.management { background: var(--white); }
.management-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.management-copy { position: sticky; top: 135px; }
.management-copy h2 { font-size: clamp(2.5rem, 5vw, 4.9rem); }
.management-copy .lead { margin-top: 24px; }
.process { display: grid; gap: 14px; }
.process-step {
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.process-step:hover { transform: translateX(8px); border-color: rgba(215,154,22,.42); background: #fff; }
.process-step > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 900;
  font-size: .8rem;
}
.process-step h3 { margin: 2px 0 6px; font-size: 1.14rem; }
.process-step p { margin: 0; color: var(--muted); }

.followup { padding-top: 0; background: var(--white); }
.followup-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #eef2f5, #f9fafb);
  border: 1px solid var(--line);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
}
.followup-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.followup-copy p:last-child { color: var(--muted); max-width: 650px; }
.followup-points { display: grid; align-content: center; }
.followup-points div { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(7,24,39,.1); }
.followup-points div:last-child { border-bottom: 0; }
.followup-points span { color: var(--gold-500); font-size: .75rem; letter-spacing: .14em; font-weight: 900; }
.followup-points strong { font-size: 1.05rem; }

.coverage { background: var(--navy-950); color: #fff; overflow: hidden; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.coverage-visual { min-height: 460px; position: relative; display: grid; place-items: center; }
.map-ring { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.ring-a { width: 390px; height: 390px; animation: pulseRing 4s ease-in-out infinite; }
.ring-b { width: 250px; height: 250px; border-color: rgba(215,154,22,.22); animation: pulseRing 4s 1s ease-in-out infinite; }
.pin { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-500); box-shadow: 0 24px 70px rgba(0,0,0,.3); z-index: 2; }
.pin svg { width: 48px; fill: var(--navy-950); }
.coverage-copy h2 { font-size: clamp(3.4rem, 8vw, 7.4rem); color: var(--gold-400); }
.coverage-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.68); font-size: 1.12rem; }
.coverage-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; max-width: 430px; }
.coverage-note span { color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.coverage-note strong { font-size: 1.15rem; }

.summary { background: #f2f4f6; }
.summary-grid { margin-top: 50px; border-top: 1px solid var(--line); }
.summary-item {
  min-height: 94px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.summary-item:hover { background: rgba(255,255,255,.7); padding-inline: 16px; }
.summary-item span { color: var(--gold-500); font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.summary-item p { margin: 0; font-weight: 650; }

.closing { background: var(--paper); }
.closing-card {
  min-height: 440px;
  padding: 58px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 70px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.closing-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  right: -80px;
  top: -120px;
}
.closing-card img { border-radius: 30px; background: #fff; }
.closing-card h2 { font-size: clamp(2.8rem, 5.6vw, 5.8rem); }
.closing-card p:not(.eyebrow) { color: rgba(255,255,255,.65); margin: 16px 0 10px; }
.closing-card strong { color: var(--gold-300); }

.site-footer { background: #03101a; color: rgba(255,255,255,.62); }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner div { display: grid; gap: 3px; }
.footer-inner strong { color: #fff; }
.footer-inner span { font-size: .9rem; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--gold-500);
  color: #0c1620;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
  z-index: 90;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Fail-open animations: content is visible by default. JavaScript only hides
   reveal elements after it has successfully loaded. This prevents a blank page
   on hosts/browsers where JavaScript is blocked or interrupted. */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(2), .process .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3), .process .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid .reveal:nth-child(4), .process .reveal:nth-child(4) { transition-delay: .24s; }
.services-grid .reveal:nth-child(5) { transition-delay: .32s; }
.services-grid .reveal:nth-child(6) { transition-delay: .40s; }

@keyframes breathe { 50% { transform: scale(1.08); opacity: .74; } }
@keyframes floatA { 50% { transform: translate(-10px, 14px) rotate(7deg); } }
@keyframes floatB { 50% { transform: translate(12px, -12px) rotate(-7deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-48%); } }
@keyframes pulseRing { 50% { transform: scale(1.06); opacity: .52; } }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; gap: 20px; }
  .hero-copy { max-width: 820px; }
  .hero-visual { margin-top: -10px; }
  .visual-frame { min-height: 500px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .management-grid { grid-template-columns: 1fr; gap: 52px; }
  .management-copy { position: static; }
  .followup-card { grid-template-columns: 1fr; gap: 30px; }
  .coverage-grid { gap: 50px; }
  .closing-card { grid-template-columns: 220px 1fr; gap: 44px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 78px 0; }
  .header-inner { min-height: 78px; }
  .brand { width: 58px; height: 58px; border-radius: 14px; }
  .menu-toggle { display: flex; z-index: 103; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 102;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 30px 60px;
    background: rgba(6,19,31,.98);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.5rem; }
  .hero { padding-top: 90px; }
  .hero-grid { min-height: auto; padding-top: 60px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-meta { gap: 24px; flex-direction: column; }
  .visual-frame { min-height: 420px; }
  .visual-card { width: min(86%, 410px); border-radius: 30px; }
  .tool-orbit { width: 58px; height: 58px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .band-inner { padding: 52px 0; flex-direction: column; align-items: flex-start; gap: 22px; }
  .followup-card { padding: 34px 24px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 20px; }
  .coverage-visual { min-height: 350px; order: 2; }
  .ring-a { width: 300px; height: 300px; }
  .ring-b { width: 190px; height: 190px; }
  .summary-item { grid-template-columns: 52px 1fr; min-height: 86px; }
  .closing-card { grid-template-columns: 1fr; padding: 34px 24px; gap: 30px; }
  .closing-card img { width: 180px; }
  .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .visual-frame { min-height: 340px; }
  .tool-orbit { width: 48px; height: 48px; }
  .tool-orbit svg { width: 24px; }
  .process-step { grid-template-columns: 45px 1fr; padding: 20px 18px; }
  .process-step > span { width: 42px; height: 42px; }
  .coverage-visual { min-height: 300px; }
  .ring-a { width: 250px; height: 250px; }
  .ring-b { width: 160px; height: 160px; }
  .pin { width: 96px; height: 96px; }
  .closing-card img { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}
