:root {
  --ink: #0b1d2a;
  --ink-soft: #354b59;
  --navy: #092f4a;
  --navy-deep: #061c2b;
  --blue: #2c718a;
  --sky: #dcecf2;
  --mist: #f3f7f8;
  --white: #ffffff;
  --line: rgba(11, 29, 42, 0.15);
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 26px 70px rgba(4, 25, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3.5rem, 7.3vw, 7rem); max-width: 760px; margin-bottom: 28px; }
h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); margin-bottom: 28px; }
h3 { font-size: 1.6rem; margin-bottom: 12px; }
p { color: var(--ink-soft); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.76);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--white);
  color: var(--navy-deep);
  background: var(--white);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--sky); }
.button-small { min-height: 42px; padding-inline: 18px; color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-small:hover { color: var(--navy); }
.button-dark { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-dark:hover { color: var(--navy); background: var(--sky); }
.button-full { width: 100%; color: var(--white); background: var(--navy); border-color: var(--navy); }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.text-link.light { color: var(--white); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--ink);
  border-bottom: 1px solid rgba(11,29,42,0.12);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 30px rgba(4,25,39,0.05);
  backdrop-filter: blur(12px);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { color: var(--ink); background: rgba(255,255,255,0.98); box-shadow: 0 10px 40px rgba(4,25,39,0.1); }
.nav-wrap { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 258px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.site-nav > a:not(.button):hover { opacity: 0.66; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; color: inherit; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 820px; display: grid; align-items: end; color: var(--white); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(4,25,39,0.96) 0%, rgba(4,25,39,0.79) 42%, rgba(4,25,39,0.1) 78%), linear-gradient(0deg, rgba(4,25,39,0.5), transparent 45%); }
.hero-layout { position: relative; z-index: 1; padding-top: 190px; padding-bottom: 70px; }
.hero-copy { max-width: 820px; }
.hero-lede { max-width: 660px; margin-bottom: 36px; color: rgba(255,255,255,0.82); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 16px 34px; margin: 88px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,0.28); list-style: none; }
.hero-points li { color: rgba(255,255,255,0.76); font-size: 0.86rem; }
.hero-points li::before { content: "+"; margin-right: 9px; color: var(--white); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 100px; align-items: start; }
.intro-grid h2 { max-width: 700px; }
.intro-copy { padding-top: 34px; }
.intro-copy p { margin-bottom: 30px; font-size: 1.2rem; }

.residential { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1.2fr 0.55fr; gap: 90px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 8px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 280px; display: grid; grid-template-columns: auto 1fr; gap: 30px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.45); }
.service-card.featured-card { background: var(--navy); }
.service-card.featured-card h3, .service-card.featured-card .service-number { color: var(--white); }
.service-card.featured-card p { color: rgba(255,255,255,0.7); }
.service-number { color: var(--blue); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; }
.service-card p { margin-bottom: 0; }

.process { position: relative; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.process::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background: linear-gradient(90deg, var(--navy-deep), rgba(6,28,43,0.22)), url("assets/cci-wave.png") center / cover no-repeat;
  opacity: 0.15;
}
.process-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 110px; }
.process-grid { position: relative; z-index: 1; }
.process-heading { position: sticky; top: 130px; align-self: start; }
.process-heading h2 { font-size: clamp(2.7rem, 4.5vw, 4.5rem); }
.process-heading > p:last-child { max-width: 520px; color: rgba(255,255,255,0.65); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 26px; padding: 33px 0; border-top: 1px solid rgba(255,255,255,0.18); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.steps > li > span { color: #7fb4c5; font-size: 0.76rem; font-weight: 800; }
.steps h3 { margin-bottom: 10px; color: var(--white); }
.steps p { margin-bottom: 0; color: rgba(255,255,255,0.62); }

.business { background: var(--white); }
.business-panel { display: grid; grid-template-columns: 1fr 0.95fr; box-shadow: var(--shadow); }
.business-main { padding: 72px; background: var(--sky); }
.business-main h2 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
.business-main p:not(.eyebrow) { margin-bottom: 34px; font-size: 1.08rem; }
.business-list { padding: 44px 56px; background: var(--white); }
.business-list > div { display: grid; grid-template-columns: 38px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.business-list span { grid-row: 1 / 3; color: var(--blue); font-size: 0.72rem; font-weight: 800; }
.business-list h3 { font-size: 1.35rem; }
.business-list p { margin-bottom: 0; }
.business-list .disclaimer { margin: 28px 0 0; font-size: 0.78rem; }

.service-area { background: var(--mist); }
.service-area-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: center; }
.service-area-grid > div:last-child p:not(.eyebrow) { max-width: 660px; font-size: 1.08rem; }
.area-map { position: relative; aspect-ratio: 1.1; overflow: hidden; background: var(--navy); }
.map-ring { position: absolute; border: 1px solid rgba(220,236,242,0.4); border-radius: 50%; }
.ring-one { width: 62%; aspect-ratio: 1; top: 19%; left: 19%; }
.ring-two { width: 34%; aspect-ratio: 1; top: 33%; left: 33%; }
.map-pin { position: absolute; width: 14px; height: 14px; top: calc(50% - 7px); left: calc(50% - 7px); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 10px rgba(255,255,255,0.12); }
.area-map::before, .area-map::after { content: ""; position: absolute; background: rgba(220,236,242,0.15); }
.area-map::before { width: 140%; height: 1px; top: 50%; left: -20%; transform: rotate(-24deg); }
.area-map::after { width: 1px; height: 140%; left: 50%; top: -20%; transform: rotate(20deg); }
.area-map span { position: absolute; z-index: 2; color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.area-map span:nth-of-type(1) { top: 18%; left: 14%; }
.area-map span:nth-of-type(2) { bottom: 18%; right: 13%; }
.area-map span:nth-of-type(3) { top: 29%; right: 11%; }

.consultation { color: var(--white); background: var(--navy); }
.consultation-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 100px; align-items: start; }
.consultation-copy h2 { font-size: clamp(2.7rem, 4.6vw, 4.5rem); }
.consultation-copy > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,0.68); }
.contact-options { display: grid; gap: 10px; margin-top: 50px; }
.contact-options a { color: var(--white); text-decoration: none; }
.contact-options span { display: inline-block; width: 64px; color: #8fbccc; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.consultation-form { padding: 42px; color: var(--ink); background: var(--white); box-shadow: 0 30px 70px rgba(0,0,0,0.18); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.consultation-form label, .consultation-form legend { display: block; margin-bottom: 18px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.consultation-form label span { color: #70818b; font-weight: 500; }
.consultation-form input[type="text"], .consultation-form input[type="email"], .consultation-form input[type="tel"], .consultation-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #becbd1;
  border-radius: 0;
  color: var(--ink);
  background: #fbfcfc;
  outline: none;
}
.consultation-form input:focus, .consultation-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,113,138,0.15); }
.consultation-form textarea { resize: vertical; }
.consultation-form fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice-row label { margin: 0; padding: 12px 15px; border: 1px solid var(--line); font-size: 0.76rem; font-weight: 650; letter-spacing: 0; text-transform: none; cursor: pointer; }
.choice-row input { margin-right: 7px; accent-color: var(--navy); }
.form-note { margin: 12px 0 0; color: #70818b; font-size: 0.76rem; text-align: center; }

.site-footer { padding: 70px 0 24px; color: rgba(255,255,255,0.7); background: #03131d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 60px; padding-bottom: 60px; }
.footer-grid > div { display: grid; align-content: start; gap: 7px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { align-self: start; color: var(--white); }
.footer-mark { width: 118px; height: auto; }
.footer-label { margin-bottom: 8px; color: var(--white); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.45); font-size: 0.74rem; }

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    padding: 26px 20px 30px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(4,25,39,0.14);
  }
  .site-nav.is-open { display: grid; }
  .site-nav .button { justify-self: start; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,25,39,0.95), rgba(4,25,39,0.5)), linear-gradient(0deg, rgba(4,25,39,0.62), transparent 52%); }
  .intro-grid, .section-heading, .process-grid, .business-panel, .service-area-grid, .consultation-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-copy { padding-top: 0; }
  .section-heading { align-items: start; }
  .section-heading > p { max-width: 680px; }
  .process-heading { position: static; }
  .service-area-grid { max-width: 760px; }
  .area-map { max-width: 620px; width: 100%; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.6rem); }
  h2 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 205px; }
  .site-nav { top: 72px; }
  .hero { min-height: 780px; align-items: end; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,25,39,0.98) 0%, rgba(4,25,39,0.77) 64%, rgba(4,25,39,0.3) 100%); }
  .hero-layout { padding-top: 145px; padding-bottom: 46px; }
  .hero-lede { font-size: 1.08rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-points { margin-top: 52px; flex-direction: column; gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px 24px; gap: 20px; }
  .business-main { padding: 48px 26px; }
  .business-list { padding: 26px; }
  .consultation-form { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .choice-row { flex-direction: column; }
  .choice-row label { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
