:root {
  --ink: #172636;
  --ink-soft: #26394b;
  --muted: #607080;
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: #dfe4e7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --blue: #2f66d0;
  --blue-dark: #214f9f;
  --blue-soft: #eaf0fb;
  --amber: #e6aa37;
  --amber-soft: #fff3d7;
  --navy: #122333;
  --shadow: 0 20px 60px rgba(23, 38, 54, 0.1);
  --radius: 18px;
  --radius-small: 12px;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --body: Inter, Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-nav-open="true"] {
  overflow: hidden;
}

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

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

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

button,
summary {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.9rem, 4.6vw, 4.2rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.05rem, 3.4vw, 3.15rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-outline {
  border-color: var(--line);
  background: var(--white);
}

.button-outline:hover {
  border-color: #aab6bf;
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark:hover {
  background: var(--ink-soft);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.utility-inner {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.74rem;
}

.utility-list {
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-list li {
  position: relative;
}

.utility-list li + li::before {
  position: absolute;
  top: 50%;
  left: -0.75rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  content: "";
  background: var(--amber);
}

.utility-link {
  color: var(--white);
  font-weight: 600;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(223, 228, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.brand img {
  width: 2.7rem;
  height: 2.7rem;
}

.brand-type {
  display: grid;
  line-height: 1.02;
}

.brand-type strong {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand-type span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.nav-parent {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-radius: 0.55rem;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-parent:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-parent svg {
  width: 0.65rem;
}

.has-subnav {
  position: relative;
}

.subnav {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  width: 15.5rem;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  opacity: 0;
  visibility: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
  transform: translate(-50%, 0.35rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.subnav a {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.55rem 0.7rem;
}

.header-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  color: var(--white);
  background: var(--blue);
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 160ms ease;
}

.header-cta:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--ink);
  background: var(--white);
}

.menu-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-close {
  display: none;
}

body[data-nav-open="true"] .icon-menu {
  display: none;
}

body[data-nav-open="true"] .icon-close {
  display: block;
}

.home-hero {
  display: grid;
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  min-height: min(42rem, calc(100vh - 7rem));
  margin: clamp(1.5rem, 3vw, 2.75rem) auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(23, 38, 54, 0.08);
}

.home-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.8rem);
}

.home-hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  font-weight: 650;
}

.home-hero h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 39rem;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.home-hero-media {
  position: relative;
  min-width: 0;
  min-height: 34rem;
  overflow: hidden;
}

.home-hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(18, 35, 51, 0.18), transparent);
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-stamp {
  display: none;
}

.marquee {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin: 0 auto;
  overflow: hidden;
}

.marquee-track {
  display: block;
}

.marquee-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.marquee-group[aria-hidden="true"] {
  display: none;
}

.marquee span {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

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

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head {
  display: grid;
  margin-bottom: clamp(2.4rem, 5vw, 4.25rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.7fr);
  align-items: end;
  gap: 3rem;
}

.section-head h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.section-head > p {
  max-width: 36rem;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  min-width: 0;
  grid-column: span 4;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(23, 38, 54, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card-large {
  grid-column: span 7;
}

.service-card-small {
  grid-column: span 5;
}

.service-card::before {
  width: 100%;
  min-height: 14rem;
  content: "";
  background-position: center;
  background-size: cover;
  transition: transform 350ms ease;
}

.service-card[href*="ev-charging"]::before {
  background-image: url("/assets/hero-electrician.webp");
  background-position: 63% center;
}

.service-card[href*="/lighting/"]::before {
  background-image: url("/assets/lighting-modern.webp");
}

.service-card[href*="/residential/"]::before {
  background-image: url("/assets/hero-modern.webp");
  background-position: 62% center;
}

.service-card[href*="commercial-lighting"]::before {
  background-image: url("/assets/commercial-modern.webp");
}

.service-card[href*="fans-outlets"]::before {
  background-image: url("/assets/fans-modern.webp");
  background-position: 56% center;
}

.service-card:hover {
  border-color: #bdc8cf;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scale(1.025);
}

.service-card-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.45rem 0;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-card-number span:last-child {
  font-size: 1.1rem;
}

.service-card-content {
  padding: 1rem 1.45rem 1.65rem;
}

.service-card-content h3 {
  margin-bottom: 0.6rem;
}

.service-card-content p {
  margin: 0;
  font-size: 0.94rem;
}

.split-story,
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.split-heading {
  max-width: 12ch;
}

.story-kicker {
  max-width: 24rem;
  color: var(--blue);
  font-weight: 650;
}

.story-copy {
  max-width: 43rem;
}

.story-copy > p:first-child,
.copy .lead {
  color: var(--ink-soft);
  font-size: 1.16rem;
  line-height: 1.72;
}

.principles {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
}

.principle > strong {
  color: var(--blue);
  font-size: 0.78rem;
}

.principle h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.principle p {
  margin: 0;
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.04);
}

.process-step > span {
  display: inline-flex;
  margin-bottom: 2.5rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 620;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  content: "+";
  color: var(--blue);
  background: var(--blue-soft);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 42rem;
  padding: 0 2rem 1.3rem 0;
}

.faq-answer p {
  margin: 0;
}

.cta-band {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--amber-soft);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.footer-main {
  display: grid;
  padding-block: 4.5rem 3.5rem;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: 5rem;
}

.footer-brand .brand {
  margin-bottom: 1.2rem;
}

.footer-brand .brand-type span {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-column h2 {
  margin-bottom: 1.15rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

.page-hero,
.service-hero {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  background: var(--white);
}

.page-hero::after,
.service-hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 47%;
  content: "";
  background-position: center;
  background-size: cover;
}

.about-hero::after,
.contact-hero::after {
  background-image: url("/assets/planning-modern.webp");
}

.services-hero::after {
  background-image: url("/assets/hero-modern.webp");
  background-position: 62% center;
}

.service-hero.ev::after {
  background-image: url("/assets/hero-electrician.webp");
  background-position: 64% center;
}

.service-hero.lighting::after {
  background-image: url("/assets/lighting-modern.webp");
}

.service-hero.residential::after {
  background-image: url("/assets/hero-modern.webp");
  background-position: 62% center;
}

.service-hero.commercial::after {
  background-image: url("/assets/commercial-modern.webp");
}

.service-hero.fans::after {
  background-image: url("/assets/fans-modern.webp");
  background-position: 54% center;
}

.page-hero::before,
.service-hero::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(47% - 7rem);
  width: 9rem;
  height: 100%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.page-hero-shape {
  display: none;
}

.page-hero-inner,
.service-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  min-height: 31rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 5rem;
}

.page-hero-inner > div,
.service-hero-inner > div {
  width: 47%;
}

.page-hero-inner > p,
.service-hero-inner > p {
  width: 45%;
  max-width: 38rem;
  margin: 0;
  font-size: 1.08rem;
}

.page-hero h1,
.service-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.85rem, 4.3vw, 4rem);
}

.breadcrumb {
  position: absolute;
  z-index: 3;
  top: 2rem;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.service-number {
  display: none;
}

.copy {
  max-width: 44rem;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}

.info-card > span {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
}

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

.scope-item {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}

.scope-item > span {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
}

.scope-item h3 {
  font-size: 1.18rem;
}

.scope-item p {
  margin: 0;
  font-size: 0.9rem;
}

.prep-panel {
  display: grid;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  background: var(--blue-soft);
}

.prep-copy h2 {
  max-width: 12ch;
}

.prep-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prep;
}

.prep-list li {
  display: grid;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(47, 102, 208, 0.18);
  grid-template-columns: 2rem 1fr;
  color: var(--ink-soft);
  counter-increment: prep;
}

.prep-list li::before {
  content: "0" counter(prep);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-panel {
  position: sticky;
  top: 7rem;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.contact-panel::before {
  display: block;
  height: 13rem;
  margin: -2rem -2rem 2rem;
  content: "";
  background: url("/assets/planning-modern.webp") center / cover;
}

.contact-direct {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-direct > div {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 102, 208, 0.18);
}

.contact-direct span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-direct a,
.contact-direct strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 620;
}

.project-form {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(23, 38, 54, 0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

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

.field label,
.field-label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd3d8;
  border-radius: 0.6rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 102, 208, 0.12);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice label {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.choice input:checked + label {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.choice input:focus-visible + label {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-note,
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
}

.form-status {
  color: var(--blue-dark);
  font-weight: 600;
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 2rem;
  place-items: center;
  text-align: center;
  background: var(--paper);
}

.error-page > div {
  max-width: 40rem;
}

.error-page h1 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(5rem, 15vw, 9rem);
}

.error-page h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms !important;
}

.reveal-delay-2 {
  transition-delay: 160ms !important;
}

@media (max-width: 1020px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 7rem;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    opacity: 0;
    visibility: hidden;
    background: var(--white);
    clip-path: inset(0 0 0 100%);
    transition: opacity 180ms ease, clip-path 240ms ease, visibility 240ms ease;
  }

  body[data-nav-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
  }

  .site-nav > ul {
    display: grid;
    gap: 0;
  }

  .site-nav a,
  .nav-parent {
    width: 100%;
    min-height: 3.5rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  .has-subnav {
    width: 100%;
  }

  .subnav {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 0.5rem 1rem;
    border: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    transform: none;
  }

  .has-subnav[data-subnav-open="true"] .subnav {
    display: block;
  }

  .subnav a {
    min-height: 3rem;
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    padding: clamp(3rem, 8vw, 5rem);
  }

  .home-hero h1 {
    max-width: 14ch;
  }

  .home-hero-media {
    min-height: 30rem;
  }

  .service-card,
  .service-card-large,
  .service-card-small {
    grid-column: span 6;
  }

  .service-grid .service-card:last-child {
    grid-column: 4 / span 6;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .utility-list {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .header-inner {
    min-height: 4.35rem;
  }

  .site-nav {
    top: 6.6rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .home-hero {
    width: calc(100% - 1.5rem);
    margin-block: 0.75rem 1.5rem;
    border-radius: 1rem;
  }

  .home-hero-copy {
    padding: 3rem 1.35rem 2.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.4rem);
  }

  .home-hero-media {
    min-height: 17rem;
  }

  .button-row {
    width: 100%;
  }

  .button-row .button {
    flex: 1 1 11rem;
  }

  .marquee {
    width: calc(100% - 2rem);
  }

  .marquee-group {
    justify-content: flex-start;
  }

  .section {
    padding-block: 4rem;
  }

  .section-head,
  .split-story,
  .intro-grid,
  .prep-panel,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-head {
    margin-bottom: 2.2rem;
  }

  .section-head h2 {
    max-width: 16ch;
  }

  .service-card,
  .service-card-large,
  .service-card-small,
  .service-grid .service-card:last-child {
    grid-column: 1 / -1;
  }

  .service-card::before {
    min-height: 12rem;
  }

  .process-grid,
  .scope-grid,
  .info-list,
  .footer-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .scope-item {
    min-height: auto;
  }

  .process-step > span,
  .scope-item > span,
  .info-card > span {
    margin-bottom: 1.4rem;
  }

  .page-hero,
  .service-hero {
    min-height: auto;
    padding: 0;
  }

  .page-hero::before,
  .service-hero::before {
    display: none;
  }

  .page-hero::after,
  .service-hero::after {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 16rem;
    margin-top: 0.5rem;
  }

  .page-hero-inner,
  .service-hero-inner {
    width: calc(100% - (2 * var(--gutter)));
    min-height: auto;
    padding-block: 4rem 2.75rem;
  }

  .page-hero-inner > div,
  .service-hero-inner > div,
  .page-hero-inner > p,
  .service-hero-inner > p {
    width: 100%;
  }

  .page-hero h1,
  .service-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.2rem);
  }

  .breadcrumb {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - (2 * var(--gutter)));
    margin: 0 auto -2.5rem;
    padding-top: 1.5rem;
    flex-wrap: wrap;
  }

  .prep-panel {
    padding: 1.5rem;
  }

  .contact-panel {
    position: static;
  }

  .field-full {
    grid-column: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    padding-block: 3.5rem 2.5rem;
  }

  .footer-bottom {
    padding-block: 1.25rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .brand-type {
    display: none;
  }

  .utility-link {
    font-size: 0.7rem;
  }

  .home-hero-copy {
    padding-inline: 1.1rem;
  }

  .home-hero h1,
  .page-hero h1,
  .service-hero h1 {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
