/* Ontario Inc. | tokens from copy/brand-kit.md */
:root {
  --bg: #0A1120;
  --surface: #111A2C;
  --surface-2: #18233A;
  --text: #EEF1F6;
  --muted: #98A3B8;
  --accent: #F26A21;
  --accent-rgb: 242, 106, 33;
  --accent-2: #8EC3E6;
  --line: #24304A;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Archivo", var(--font);
  --tshadow: 0 1px 2px rgba(5,8,16,.9), 0 3px 12px rgba(5,8,16,.7), 0 10px 44px rgba(5,8,16,.6);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-stretch: 112%; margin: 0; letter-spacing: -0.01em; }
h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; text-wrap: balance; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--split { max-width: none; display: grid; gap: 24px 64px; grid-template-columns: 1fr; align-items: end; }
.section__head--split > p { color: var(--muted); max-width: 520px; margin: 0; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.1fr 1fr; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-shadow: none;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #fff 22%));
  color: #10131c; box-shadow: 0 10px 30px rgba(var(--accent-rgb), .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(var(--accent-rgb), .38); }
.btn--ghost { color: var(--text); border-color: rgba(238,241,246,.32); background: rgba(10,17,32,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(10,17,32,.86); border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 50px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.brand__name { font: 800 21px/1 var(--font-head); font-stretch: 115%; letter-spacing: -0.01em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(238,241,246,.82); text-shadow: 0 1px 8px rgba(0,0,0,.45); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links .nav__cta-mobile, .nav__links .nav__phone-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.nav__phone:hover { color: var(--accent); }
.nav__toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(238,241,246,.25); border-radius: 12px; background: rgba(10,17,32,.45); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s ease, top .3s ease; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .nav__phone { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .brand img { height: 42px; }
  .brand__name { font-size: 19px; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; margin: 0; flex-direction: column; gap: 0;
    background: rgba(10,17,32,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { font-size: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); min-height: 44px; }
  .nav__links .nav__cta-mobile { display: block; color: var(--accent); border-bottom: 0; padding-top: 22px; font-weight: 700; }
  .nav__links .nav__phone-mobile { display: block; border-bottom: 0; padding-top: 4px; font-weight: 700; }
  .nav { background: rgba(10,17,32,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media { background: var(--bg); }
.hero__media .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  opacity: 0; transform: scale(1.0); transform-origin: 60% 55%;
  transition: opacity 1.8s ease-in-out;
}
.hero__media .slide.is-active { opacity: 1; animation: drift 9s ease-out forwards; }
.hero__media .slide.was-active { transform: scale(1.07); }
.hero__media .slide--snow { object-position: 70% 50%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero__body { position: relative; }
.reel {
  position: absolute; right: var(--gutter); bottom: 34px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.reel__label {
  margin: 0; display: inline-flex; align-items: center; gap: 12px;
  font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(238,241,246,.9);
  padding: 10px 14px; border-radius: 10px; background: rgba(8,12,22,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(238,241,246,.1);
}
.reel__num { font: 800 13px/1 var(--font-head); font-stretch: 115%; color: var(--accent); letter-spacing: .08em; }
.reel__text { transition: opacity .5s ease; }
.reel__text.is-swapping { opacity: 0; }
.reel__dots { display: flex; gap: 4px; }
.reel__dots button { width: 44px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.reel__dots i { display: block; height: 3px; border-radius: 3px; background: rgba(238,241,246,.25); position: relative; overflow: hidden; }
.reel__dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.reel__dots button.is-done i::after { transform: scaleX(1); }
.reel__dots button.is-active i::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.reel.is-paused .reel__dots button.is-active i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,17,32,.94) 0%, rgba(10,17,32,.82) 32%, rgba(10,17,32,.38) 62%, rgba(10,17,32,.12) 100%),
    linear-gradient(0deg, rgba(10,17,32,1) 0%, rgba(10,17,32,.6) 18%, rgba(10,17,32,0) 42%),
    linear-gradient(180deg, rgba(10,17,32,.7) 0%, rgba(10,17,32,0) 22%);
}
.hero__body { flex: 1; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
.hero__copy { max-width: 700px; text-shadow: var(--tshadow); position: relative; }
.hero__copy::before {
  content: ""; position: absolute; inset: -12% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(10,17,32,.5) 0%, rgba(10,17,32,.25) 50%, rgba(10,17,32,0) 76%);
}
.eyebrow { font: 700 13px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 7vw, 92px); line-height: .98; letter-spacing: -0.02em; margin-bottom: 28px; }
.hero h1 span { display: block; color: var(--accent); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(238,241,246,.9); max-width: 560px; margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.creds { border-top: 1px solid rgba(238,241,246,.12); background: rgba(10,17,32,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.creds__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.creds__list li { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: rgba(238,241,246,.84); }
.creds__list li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .6); }

/* Hero entrance */
.hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* One contract */
.contract { background: linear-gradient(180deg, var(--bg), var(--surface) 140%); }
.contract__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .contract__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.contract__text p { color: var(--muted); font-size: 18px; max-width: 540px; }
.contract__text h2 { margin-bottom: 28px; }
.contract__text strong { color: var(--text); font-weight: 700; }

.year {
  position: relative; padding: clamp(24px, 4vw, 40px); border-radius: 22px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35);
  --label: 170px;
}
.year__title { font: 600 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.year__months { display: grid; grid-template-columns: repeat(12, 1fr); margin-left: var(--label); font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 12px; }
.year__row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; row-gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.year__label { font: 600 16px/1.2 var(--font-head); font-stretch: 108%; }
.year__when { grid-column: 2; font-size: 13px; color: var(--muted); }
.year__track { position: relative; height: 14px; border-radius: 99px; background: rgba(238,241,246,.05); }
.bar { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / 12 * 100%); width: calc((var(--e) - var(--s)) / 12 * 100%); border-radius: 99px; transform-origin: left; }
.bar--jan { background: linear-gradient(90deg, #c9d2e1, var(--text)); }
.bar--snow { background: linear-gradient(90deg, #5d9ccc, var(--accent-2)); }
.bar--grounds { background: linear-gradient(90deg, #d4561a, var(--accent)); }
.year .bar { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.year.in .bar { transform: scaleX(1); }
.year.in .year__row:nth-of-type(2) .bar { transition-delay: .15s; }
.year.in .year__row:nth-of-type(3) .bar { transition-delay: .3s; }
.year.in .year__row:nth-of-type(4) .bar { transition-delay: .45s; }
.year__now {
  position: absolute; top: 74px; bottom: 26px; width: 2px; pointer-events: none;
  left: calc(clamp(24px, 4vw, 40px) + var(--label) + (100% - 2 * clamp(24px, 4vw, 40px) - var(--label)) * var(--now, .87));
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), 0));
  animation: glow 4s ease-in-out infinite; animation-delay: -1.5s;
}
@keyframes glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 560px) {
  .year { --label: 0px; }
  .year__months { margin-left: 0; }
  .year__row { grid-template-columns: 1fr; }
  .year__when { grid-column: 1; }
  .year__now { display: none; }
}

/* Services */
.services { background: var(--surface); }
.pillar { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1.15fr 1fr; gap: 72px; }
  .pillar--flip .pillar__img { order: 2; }
}
.pillar__img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.pillar:hover .pillar__img img { transform: scale(1.03); }
.pillar__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(238,241,246,.08); pointer-events: none; }
.pillar__num { font: 800 15px/1 var(--font-head); font-stretch: 115%; color: var(--accent); letter-spacing: .1em; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.pillar__num::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--line); }
.pillar--winter .pillar__num { color: var(--accent-2); }
.pillar h3 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.pillar__body > p:not(.pillar__num) { color: var(--muted); font-size: 18px; margin-bottom: 26px; max-width: 520px; }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.ticks li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pillar--winter .ticks li::before { border-color: var(--accent-2); }

.extras { border-top: 1px solid var(--line); padding-top: clamp(44px, 6vw, 64px); }
.extras__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 28px; }
.extras__head h3 { font-size: 20px; }
.extras__head p { color: var(--muted); font-size: 15px; margin: 0; }
.extras__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .extras__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.extra { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.extra img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.extra:hover img { transform: scale(1.05); }
.extra::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,32,.92) 0%, rgba(10,17,32,.2) 55%, rgba(10,17,32,0) 80%); }
.extra span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: 600 15px/1.25 var(--font-head); font-stretch: 108%; text-shadow: var(--tshadow); }

/* Facilities */
.facilities { background: var(--bg); }
.mosaic { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(180px, 22vw, 290px); gap: 16px; }
  .tile--a { grid-column: span 4; grid-row: span 2; }
  .tile--b { grid-column: span 2; }
  .tile--c { grid-column: span 2; }
  .tile--d { grid-column: span 6; }
}
@media (min-width: 1000px) {
  .tile--d { grid-column: span 6; grid-row: span 1; }
}
.tile { position: relative; border-radius: 16px; overflow: hidden; min-height: 220px; background: var(--surface); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile--d img { object-position: 50% 60%; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,32,.88) 0%, rgba(10,17,32,.15) 45%, rgba(10,17,32,0) 70%); }
.tile figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font: 600 14px/1 var(--font); letter-spacing: .06em; padding: 10px 14px; border-radius: 10px;
  background: rgba(8,12,22,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(238,241,246,.1);
}
.types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.types li { font-size: 14px; font-weight: 500; color: var(--muted); padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }

/* Site plan */
.plan { background: radial-gradient(120% 80% at 80% 30%, #0f1d36 0%, var(--bg) 60%); overflow: hidden; }
.plan__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .plan__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.plan__text h2 { margin-bottom: 24px; }
.plan__text > p { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.steps { counter-reset: s; display: grid; gap: 4px; }
.steps li {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start;
  padding: 12px 14px 12px 12px; border-radius: 12px; border: 1px solid transparent;
  transition: background-color .5s ease, border-color .5s ease;
}
.steps li::before {
  counter-increment: s; content: counter(s); grid-row: span 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font: 800 14px/1 var(--font-head); border: 1.5px solid var(--line); color: var(--muted);
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.steps b { font: 600 17px/1.3 var(--font-head); font-stretch: 108%; }
.steps span { font-size: 15px; color: var(--muted); }
.steps li.is-lit { background: rgba(238,241,246,.03); border-color: var(--line); }
.steps li.is-lit::before { background: var(--accent); border-color: var(--accent); color: #10131c; box-shadow: 0 0 18px rgba(var(--accent-rgb), .5); }

.blueprint {
  position: relative; border-radius: 22px; padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(160deg, #0f1b31, #0b1426);
  border: 1px solid #1d2b47; box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 80px rgba(142,195,230,.05);
  color: var(--accent-2);
}
.blueprint svg { width: 100%; height: auto; display: block; overflow: visible; }
.blueprint figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: right; }
.bp-line { fill: none; stroke: var(--accent-2); stroke-opacity: .55; stroke-width: 1.5; }
.bp-thin { stroke-opacity: .28; stroke-width: 1; }
.bp-dash { stroke-dasharray: 6 6; stroke-opacity: .4; }
.bp-fill { fill: rgba(142,195,230,.05); }
.hydrants circle { fill: none; stroke: var(--accent-2); stroke-opacity: .7; stroke-width: 1.5; }
.trees circle { fill: rgba(142,195,230,.06); stroke: var(--accent-2); stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 3 3; }
.plan-layer { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.plan-layer.is-active { opacity: 1; visibility: visible; }
.hl { opacity: .1; transition: opacity .7s ease; }
.hl.is-lit { opacity: .92; }
.route { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.zone { fill: rgba(var(--accent-rgb), .3); stroke: var(--accent); stroke-width: 1.5; }
.bed { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; }
.perim { fill: none; stroke: var(--accent); stroke-width: 3; }
.hyd circle { fill: rgba(var(--accent-rgb), .4); stroke: var(--accent); stroke-width: 1.5; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: rgba(238,241,246,.04); border: 1px solid var(--line); }
.tabs [role="tab"] {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 14px/1 var(--font); letter-spacing: .02em; color: var(--muted); background: transparent;
  transition: background-color .25s ease, color .25s ease;
}
.tabs [role="tab"]:hover { color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { background: var(--accent); color: #10131c; box-shadow: 0 6px 20px rgba(var(--accent-rgb), .3); }
.panel__lead { color: var(--muted); font-size: 15px; margin-bottom: 14px; min-height: 3.3em; }
.panel[hidden] { display: none; }
.plan__extra { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 560px) {
  .tabs { display: flex; }
  .tabs [role="tab"] { flex: 1; padding: 0 10px; }
  .panel__lead { min-height: 0; }
}
.marker .m-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.marker .m-dot { fill: #0b1426; stroke: var(--accent-2); stroke-opacity: .6; stroke-width: 1.5; transition: fill .5s ease, stroke .5s ease; }
.marker text { font: 800 14px var(--font-head); fill: var(--accent-2); text-anchor: middle; transition: fill .5s ease; }
.marker.is-lit .m-dot { fill: var(--accent); stroke: var(--accent); stroke-opacity: 1; }
.marker.is-lit text { fill: #10131c; }
.marker.is-lit .m-ring { animation: ping 3.2s ease-out infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.9); } }

.procedure { display: grid; gap: 1px; grid-template-columns: 1fr; margin-top: clamp(56px, 7vw, 88px); background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 640px) { .procedure { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .procedure { grid-template-columns: repeat(4, 1fr); } }
.procedure li { background: var(--surface); padding: 26px 24px; color: var(--muted); font-size: 15px; }
.procedure b { display: block; font: 800 13px/1 var(--font-head); font-stretch: 115%; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }

/* Why */
.why { background: var(--surface); }
.why__grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .why__grid { grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; } .why__intro { position: sticky; top: calc(var(--nav-h) + 40px); } }
.why__intro h2 { margin-bottom: 36px; font-size: clamp(30px, 3.4vw, 44px); }
.nowrap { white-space: nowrap; }
.why__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.why__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.why__list { display: grid; gap: 0; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.why__list li { padding: 30px 0; border-top: 1px solid var(--line); }
.why__list h3 { margin-bottom: 10px; position: relative; padding-left: 22px; }
.why__list h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.why__list p { color: var(--muted); margin: 0; font-size: 16px; }

/* Coverage */
.coverage { background: var(--bg); border-top: 1px solid var(--line); }
.coverage__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .coverage__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.coverage h2 { margin-bottom: 22px; }
.coverage p { color: var(--muted); font-size: 18px; max-width: 500px; }
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.towns li { font: 600 clamp(19px, 2.2vw, 26px)/1.2 var(--font-head); font-stretch: 110%; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.towns li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.towns .towns__all { grid-column: 1 / -1; font: 500 16px/1.4 var(--font); color: var(--muted); border-bottom: 0; }
.towns .towns__all::before { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(142,195,230,.15); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; } }
.contact__intro h2 { margin-bottom: 22px; }
.contact__intro > p { color: var(--muted); font-size: 18px; max-width: 460px; margin-bottom: 36px; }
.contact__facts { margin: 0; display: grid; gap: 0; }
.contact__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact__facts dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.contact__facts a { text-decoration: none; }
.contact__facts a:hover { color: var(--accent); }

.form-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 100px rgba(0,0,0,.4); }
#assess { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
#assess label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(238,241,246,.86); }
#assess input:not([type="checkbox"]), #assess select, #assess textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  background: rgba(10,17,32,.6); border: 1px solid var(--line); color: var(--text);
  font: 500 16px/1.4 var(--font); transition: border-color .2s ease, box-shadow .2s ease;
}
#assess select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
#assess select option { background: var(--surface); color: var(--text); }
#assess textarea { resize: vertical; min-height: 110px; }
#assess input:focus, #assess select:focus, #assess textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(142,195,230,.15); }
#assess ::placeholder { color: #6b7790; }
#assess .is-invalid { border-color: var(--accent) !important; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
legend { font-size: 14px; font-weight: 700; color: rgba(238,241,246,.86); margin-bottom: 10px; padding: 0; }
#assess .check { display: inline-flex; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s ease; }
.check input:checked + span { border-color: var(--accent); color: var(--text); background: rgba(var(--accent-rgb), .14); }
.check input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form-error { color: #ffb08a; font-size: 14px; margin: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form-done h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.form-done p { color: var(--muted); }
.form-done a { color: var(--text); font-weight: 700; }
.form-done:focus { outline: none; }

/* Footer */
.footer { background: #070c18; border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer__grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.footer__brand { display: flex; gap: 18px; align-items: center; }
.footer__brand img { height: 78px; width: auto; }
.footer__name { font: 800 24px/1 var(--font-head); font-stretch: 115%; margin-bottom: 8px; }
.footer__slogan { color: var(--muted); font-size: 15px; margin: 0; }
.footer__cols { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer__cols div { display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--muted); }
.footer__cols a { text-decoration: none; color: var(--text); }
.footer__cols a:hover { color: var(--accent); }
.footer__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Mobile dock */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10,17,32,.92); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .35s ease;
  }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 48px; padding: 0 14px; font-size: 15px; }
  .footer { padding-bottom: 100px; }
}

/* Phone tuning */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero__media .slide { object-position: 55% 50%; }
  .hero__media .slide--snow { object-position: 75% 50%; }
  .reel { top: calc(var(--nav-h) + 18px); bottom: auto; right: auto; left: var(--gutter); align-items: flex-start; }
  .reel__label { font-size: 11px; padding: 8px 12px; }
  .reel__dots button { width: 34px; }
  .hero__scrim {
    background:
      linear-gradient(0deg, rgba(10,17,32,1) 0%, rgba(10,17,32,.92) 48%, rgba(10,17,32,.35) 76%, rgba(10,17,32,.55) 100%);
  }
  .hero__body { align-items: flex-end; padding-bottom: 32px; padding-top: calc(var(--nav-h) + 110px); }
  .hero h1 { font-size: 40px; }
  .hero__lead { margin-bottom: 30px; }
  .hero__ctas .btn { width: 100%; }
  .creds__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 18px; padding-bottom: 18px; }
  .creds__list li { font-size: 13px; line-height: 1.3; }
  .towns { grid-template-columns: 1fr; }
  .contact__facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* Scroll entrances: visible by default, hidden only once JS is ready */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .why__list .reveal:nth-child(2n) { transition-delay: .1s; }
.js .mosaic .reveal:nth-child(2) { transition-delay: .08s; }
.js .mosaic .reveal:nth-child(3) { transition-delay: .16s; }
.js .mosaic .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__copy > * { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .year .bar { transform: none; }
}
