:root {
  --ink: #09121d;
  --muted: #465463;
  --green: #0b58a6;
  --green-dark: #073c78;
  --tint: #f1f6fb;
  --line: #d8e2ed;
  --white: #ffffff;
  --shell: 1440px;
  --shadow: 0 20px 46px rgba(15, 55, 96, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("/assets/roofing-construction-watermark.png") center 82px / clamp(720px, 100vw, 1920px) auto no-repeat;
  opacity: .12;
  filter: saturate(.6) contrast(.92);
}

.site-header,
body > main,
.site-footer {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

body > main,
.site-footer {
  position: relative;
  z-index: 1;
}

body > main {
  background: var(--white);
  box-shadow: 0 0 70px rgba(15, 55, 96, .045);
}

body.nav-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { text-wrap: pretty; }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); letter-spacing: -0.045em; }

.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 78px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(216,226,237,.72);
  transition: box-shadow .25s ease;
}

.site-header.scrolled { box-shadow: 0 8px 28px rgba(7,16,22,.08); }
.header-inner { height: 100%; display: flex; align-items: center; }
.brand { display: flex; align-items: center; width: 146px; height: 100%; flex: 0 0 auto; }
.brand img { width: 140px; height: auto; }

.primary-nav {
  height: 100%;
  margin-left: clamp(34px, 4.5vw, 72px);
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 32px);
}

.primary-nav > a,
.nav-dropdown-trigger {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 650;
}

.primary-nav > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--green);
  transform: translateX(-50%) scaleX(0);
  transition: transform .22s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after,
.primary-nav > a.active::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger:focus-visible::after,
.nav-dropdown-trigger.active::after { transform: translateX(-50%) scaleX(1); }

.nav-dropdown { position: relative; height: 100%; display: flex; align-items: stretch; }

.nav-dropdown-trigger {
  padding: 0;
  grid-template-columns: max-content 14px;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: inherit;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  z-index: 60;
  top: calc(100% - 1px);
  left: -22px;
  width: 270px;
  padding: 10px;
  display: grid;
  gap: 2px;
  color: var(--ink);
  background: rgba(255,255,255,.99);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 44px rgba(7,16,22,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav .nav-submenu a {
  min-height: 44px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  transition: color .18s ease, background .18s ease;
}

.primary-nav .nav-submenu a::after { display: none; }
.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a:focus-visible,
.primary-nav .nav-submenu a.active { color: var(--green); background: var(--tint); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.phone-link svg { width: 18px; height: 18px; fill: var(--green); }

.button {
  min-height: 46px;
  width: fit-content;
  max-width: 100%;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.button-outline { color: var(--green); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: #fff; }
.button-small { min-height: 42px; padding-inline: 20px; font-size: 15px; }

.button svg, .text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.button:hover svg, .text-link:hover svg { transform: translateX(4px); }

.button:focus-visible,
.text-link:focus-visible,
.primary-nav a:focus-visible,
.nav-dropdown-trigger:focus-visible,
.phone-link:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11,88,166,.22);
  outline-offset: 4px;
}

.menu-toggle { display: none; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 1.55px;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero { position: relative; max-width: 1440px; min-height: 520px; margin-inline: auto; overflow: hidden; background: #fff; }

.home-hero .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #edf2f7;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 29%, rgba(255,255,255,.99) 35%, rgba(255,255,255,.93) 41%, rgba(255,255,255,.7) 49%, rgba(255,255,255,.38) 56%, rgba(255,255,255,.12) 65%, transparent 76%),
    linear-gradient(180deg, rgba(255,255,255,.04) 70%, rgba(255,255,255,.18));
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; min-height: 520px; display: flex; align-items: center; }
.hero-copy { width: 48%; padding: 42px 0; }

.home-hero h1 {
  margin-bottom: 19px;
  font-size: clamp(52px, 5.1vw, 72px);
  font-weight: 880;
  line-height: .96;
}

h1 span, h2 span, h3 span { color: var(--green); }
.hero-text { max-width: 470px; margin: 0 0 23px; color: #313d43; font-size: 15px; line-height: 1.52; }
.home-hero .button { min-width: 190px; }

.service-area { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; color: #3d484d; font-size: 15px; }
.service-area svg { width: 16px; height: 16px; flex: 0 0 auto; fill: var(--green); stroke: var(--green); }

.script-note {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: clamp(96px, 15vw, 230px);
  width: 158px;
  color: rgba(7,16,22,.82);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 22px;
  line-height: 1.12;
  text-align: center;
  transform: rotate(-6deg);
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

.script-note::after {
  content: "";
  width: 82px;
  height: 18px;
  margin: 5px auto 0;
  display: block;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 70% 50%;
  transform: rotate(-8deg);
}

.section { padding: 82px 0; }

.section-tint {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.72), transparent 34%),
    var(--tint);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

h2 { margin-bottom: 0; font-size: clamp(34px, 3.2vw, 47px); font-weight: 850; line-height: 1.02; }

.section-intro > p,
.split-copy > p,
.section-lede { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.media-frame { overflow: hidden; background: #d9dfdc; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.service-card .media-frame { height: 188px; }

.service-card:hover .media-frame img,
.work-card:hover .media-frame img,
.linked-card:hover .media-frame img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }

.service-card h3,
.work-card h3,
.feature-card h3 { margin: 15px 0 5px; font-size: 20px; font-weight: 790; line-height: 1.15; }

.service-card p,
.work-card p,
.feature-card p { margin: 0; color: #2c383e; font-size: 15px; line-height: 1.5; }

.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; color: var(--green); font-size: 15px; font-weight: 780; }

.work-heading { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 52px; align-items: end; margin-bottom: 28px; }
.work-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.work-heading .text-link { margin-bottom: 3px; white-space: nowrap; }
.work-heading .gallery-home-button { min-height: 44px; padding-inline: 20px; white-space: nowrap; }
.work-card .media-frame { height: 208px; }
.work-card h3 { font-size: 16px; }
.work-card p { color: #687278; }

.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 84px; align-items: start; }
.faq-intro { position: sticky; top: 118px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro p { margin: 0 0 24px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.02em;
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 31px;
  right: 5px;
  width: 16px;
  height: 2px;
  background: var(--green);
  transition: transform .2s ease;
}

.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-answer { overflow: hidden; }
.faq-answer p { max-width: 670px; margin: -4px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.contact-band {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(243,246,250,.06) 0%, rgba(243,246,250,.18) 35%, rgba(243,246,250,.94) 57%, #f3f6fa 72%),
    url("cta-background.webp");
  background-position: center, center;
  background-size: cover;
}

.contact-band::after {
  content: "Serving\A Covina & Beyond";
  white-space: pre;
  position: absolute;
  right: 40px;
  bottom: 42px;
  width: 170px;
  color: rgba(7,60,120,.62);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 19px;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-6deg);
}

.contact-shell { position: relative; z-index: 2; min-height: 360px; }
.contact-copy { width: 48%; margin-left: auto; padding: 54px 130px 52px 0; }
.contact-copy h2 { margin-bottom: 17px; }
.contact-copy > p { max-width: 450px; margin: 0 0 21px; color: #344047; font-size: 15px; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.contact-phone { font-size: 15px; }

.gallery-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(65,135,207,.32), transparent 34%),
    linear-gradient(135deg, #061a31, #0b4f92 64%, #073c78);
}

.gallery-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255,255,255,.025), 0 0 0 128px rgba(255,255,255,.018);
}

.gallery-hero-grid { min-height: 540px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: center; }
.gallery-hero-copy { position: relative; z-index: 2; padding: 62px 0; }
.gallery-hero-copy .eyebrow { color: #afd2f6; }
.gallery-hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(52px, 5.4vw, 76px); font-weight: 880; line-height: .94; }
.gallery-hero h1 span { color: #afd2f6; }
.gallery-hero-copy > p:not(.eyebrow) { max-width: 505px; margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.58; }

.home-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.46);
  font-size: 15px;
  font-weight: 750;
  transition: color .2s ease, border-color .2s ease;
}

.home-link svg, .social-project-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-link:hover, .home-link:focus-visible { color: #afd2f6; border-color: #afd2f6; }

.gallery-hero-photo { position: relative; z-index: 2; min-width: 0; margin: 54px 0; aspect-ratio: 1.28 / 1; box-shadow: 0 28px 70px rgba(4,22,43,.34); }
.gallery-hero-photo::before { content: ""; position: absolute; z-index: -1; top: -18px; right: -18px; width: 46%; height: 38%; border: 1px solid rgba(175,210,246,.58); }
.gallery-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-hero-photo span { position: absolute; right: 18px; bottom: 18px; padding: 9px 13px; color: var(--ink); background: rgba(255,255,255,.94); font-size: 15px; font-weight: 750; }

.gallery-section { background: linear-gradient(180deg, #fff 0%, #f5f8fb 100%); }
.gallery-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 42px; }
.gallery-intro > p { max-width: 475px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.project-gallery { columns: 3 300px; column-gap: 22px; }

.gallery-card {
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  break-inside: avoid;
  background: #dbe3ec;
  box-shadow: 0 10px 32px rgba(7,16,22,.07);
}

.gallery-card::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(180deg, transparent, rgba(4,22,43,.9)); pointer-events: none; }
.gallery-card img { width: 100%; height: auto; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.gallery-card:hover img { transform: scale(1.035); filter: saturate(1.05) contrast(1.025); }
.gallery-card-crop-low { height: 520px; }
.gallery-card-crop-low img { height: 100%; object-fit: cover; object-position: center bottom; }

.gallery-card figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 58px 22px 20px; color: #fff; }
.gallery-card figcaption span { display: block; margin-bottom: 6px; color: #afd2f6; font-size: 15px; font-weight: 820; letter-spacing: 1.15px; line-height: 1.25; text-transform: uppercase; }
.gallery-card figcaption strong { display: block; font-size: 21px; line-height: 1.15; }
.gallery-card figcaption small { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.4; }

.project-follow { padding: 70px 0; color: #fff; background: #091929; }
.project-follow-inner { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: end; }
.project-follow .eyebrow { color: #afd2f6; }
.project-follow h2 { color: #fff; }
.project-follow h2 span { color: #afd2f6; }
.social-project-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.social-project-links a { min-height: 46px; padding: 0 17px; display: inline-flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 15px; font-weight: 740; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.social-project-links a:hover, .social-project-links a:focus-visible { color: var(--green-dark); background: #afd2f6; border-color: #afd2f6; }

.page-hero { position: relative; min-height: 475px; display: grid; align-items: center; overflow: hidden; background: #e8eef5; }
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 33%, rgba(255,255,255,.24) 62%, rgba(255,255,255,.04)); }
.page-hero.dark::after { background: linear-gradient(90deg, rgba(5,27,54,.94), rgba(5,27,54,.68) 44%, rgba(5,27,54,.08) 77%); }
.page-hero-content { position: relative; z-index: 2; max-width: 585px; padding: 70px 0; }
.page-hero h1 { margin: 0 0 19px; font-size: clamp(48px, 5.2vw, 74px); font-weight: 880; line-height: .95; }
.page-hero p:not(.eyebrow) { max-width: 560px; margin: 0 0 25px; color: #354147; font-size: 16px; line-height: 1.55; }
.page-hero.dark h1, .page-hero.dark p:not(.eyebrow) { color: #fff; }
.page-hero.dark h1 span { color: #afd2f6; }
.page-hero.dark .eyebrow { color: #afd2f6; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 82px; align-items: center; }
.split-layout.align-start { align-items: start; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p + p { margin-top: 15px; }
.split-media { min-height: 420px; overflow: hidden; }
.split-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { min-height: 170px; padding: 28px; background: #fff; }
.fact strong { display: block; margin-bottom: 7px; color: var(--green); font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.fact span { color: var(--muted); font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { padding: 30px; border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #b9cde1; box-shadow: var(--shadow); }
.feature-number { display: block; margin-bottom: 25px; color: var(--green); font-size: 15px; font-weight: 850; letter-spacing: 1.5px; }

.service-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.linked-card { display: block; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.linked-card .media-frame { height: 220px; margin-bottom: 18px; }
.linked-card h2, .linked-card h3 { margin: 0 0 7px; font-size: 24px; line-height: 1.1; }
.linked-card p { margin: 0; color: var(--muted); font-size: 15px; }
.linked-card .text-link { margin-top: 15px; }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-list article { padding: 27px 30px 27px 0; border-bottom: 1px solid var(--line); }
.service-list article:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.service-list h3 { margin-bottom: 7px; font-size: 20px; }
.service-list p { margin: 0; color: var(--muted); font-size: 15px; }

.check-list { margin: 24px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: #2c393e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--green); font-weight: 900; }

.service-detail-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 27px 26px 0 0; }
.process-step + .process-step { padding-left: 26px; border-left: 1px solid var(--line); }
.process-step strong { display: block; margin-bottom: 24px; color: var(--green); font-size: 15px; letter-spacing: 1.4px; }
.process-step h3 { margin-bottom: 7px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 15px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { min-height: 290px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.testimonial-card .quote-mark { color: var(--green); font-family: Georgia, serif; font-size: 54px; line-height: .7; }
.testimonial-card blockquote { margin: 25px 0 28px; color: #1f2b30; font-family: Georgia, serif; font-size: 19px; line-height: 1.5; }
.testimonial-card footer { margin-top: auto; color: var(--green); font-size: 15px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }

.review-invite { padding: 42px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: #fff; background: var(--green); }
.review-invite h2 { color: #fff; font-size: 34px; }
.review-invite p { margin: 10px 0 0; color: rgba(255,255,255,.8); }
.review-invite .button { border-color: #fff; color: var(--green); background: #fff; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-details { border-top: 1px solid var(--line); }
.contact-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-row span { display: block; margin-bottom: 6px; color: var(--green); font-size: 15px; font-weight: 850; letter-spacing: 1.35px; text-transform: uppercase; }
.contact-row a, .contact-row strong { font-size: 18px; font-weight: 750; }
.contact-row p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours td:last-child { text-align: right; font-weight: 700; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.area-cloud span { padding: 8px 12px; border: 1px solid var(--line); color: #435057; background: #fff; font-size: 15px; }

.cta-strip { padding: 48px 0; color: #fff; background: var(--green); }
.cta-strip-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-strip h2 { color: #fff; font-size: 37px; }
.cta-strip p { margin: 10px 0 0; color: rgba(255,255,255,.78); }
.cta-strip .button { color: var(--green); border-color: #fff; background: #fff; }
.cta-strip .button:hover { color: #fff; background: transparent; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 112px; display: grid; grid-template-columns: 150px 1fr 1.2fr; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { width: 132px; height: auto; }
.footer-inner > p, .footer-meta { margin: 0; color: #657076; font-size: 15px; }
.footer-inner > p { text-align: center; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; white-space: nowrap; }
.footer-meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(11, 88, 166, .34); text-underline-offset: 3px; transition: color .18s ease, text-decoration-color .18s ease; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: var(--green); text-decoration-color: currentColor; }
.footer-meta i { width: 1px; height: 12px; background: #aab5c0; }

.inline-link { color: var(--green); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(11, 88, 166, .32); text-underline-offset: 3px; transition: text-decoration-color .18s ease; }
.inline-link:hover, .inline-link:focus-visible { text-decoration-color: currentColor; }

.reveal { opacity: 1; transform: none; animation: reveal-rise .65s both cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.card-grid .reveal:nth-child(2), .feature-grid .reveal:nth-child(2), .testimonial-grid .reveal:nth-child(2) { transition-delay: .08s; }
.card-grid .reveal:nth-child(3), .feature-grid .reveal:nth-child(3), .testimonial-grid .reveal:nth-child(3) { transition-delay: .16s; }

@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1440px) {
  body::before { display: none; }
}

@media (max-width: 1180px) {
  .contact-copy { padding-right: 0; }
  .contact-band::after { display: none; }
}

@media (max-width: 1080px) {
  .shell { width: min(100% - 48px, 950px); }
  .primary-nav { margin-left: 34px; gap: 25px; }
  .header-actions .phone-link { display: none; }
  .home-hero h1 { font-size: clamp(48px, 5.8vw, 62px); }
  .script-note { right: 96px; }
  .work-heading { gap: 28px; }
}

@media (max-width: 940px) {
  .menu-toggle { width: 42px; height: 42px; margin-left: auto; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: #edf3f9; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--green); transition: transform .2s ease, opacity .2s ease; }
  .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); }
  .primary-nav { position: fixed; top: 78px; left: 0; right: 0; height: calc(100vh - 78px); margin: 0; padding: 28px 24px 50px; display: grid; align-content: start; gap: 2px; overflow-y: auto; color: var(--ink); background: #fff; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav > a, .nav-dropdown-trigger { min-height: 52px; justify-content: start; font-size: 19px; }
  .primary-nav > a::after, .nav-dropdown-trigger::after { display: none; }
  .nav-dropdown { height: auto; display: grid; grid-template-columns: 1fr; }
  .nav-dropdown-trigger { width: 100%; grid-template-columns: 1fr auto; justify-items: start; text-align: left; }
  .nav-dropdown-trigger svg { width: 18px; height: 18px; justify-self: end; }
  .nav-submenu { position: static; width: 100%; max-height: 0; padding: 0 0 0 14px; gap: 1px; overflow: hidden; color: var(--ink); border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: max-height .25s ease, padding .25s ease; }
  .nav-dropdown.open .nav-submenu { max-height: 260px; padding-top: 4px; padding-bottom: 12px; }
  .primary-nav .nav-submenu a { min-height: 45px; padding: 9px 13px; font-size: 16px; }
  .header-actions { margin-left: 10px; }
  .header-actions .button-small { min-height: 42px; padding-inline: 16px; font-size: 15px; }
  .footer-inner { min-height: 185px; padding: 28px 0; grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .footer-inner > p { order: 3; }
  .footer-meta { flex-wrap: wrap; justify-content: center; white-space: normal; text-align: center; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .shell { width: min(100% - 40px, 680px); }
  .site-header, .header-inner { height: 68px; }
  .brand { width: 118px; }
  .brand img { width: 114px; }
  .menu-toggle { width: 42px; height: 42px; margin-left: auto; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: #edf3f9; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--green); transition: transform .2s ease, opacity .2s ease; }
  .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); }
  .primary-nav { position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); margin: 0; padding: 28px 24px; display: grid; align-content: start; gap: 2px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { min-height: 52px; justify-content: start; font-size: 19px; }
  .primary-nav a::after { display: none; }
  .header-actions { margin-left: 10px; }
  .header-actions .button-small { min-height: 42px; padding-inline: 16px; font-size: 15px; }

  .home-hero { min-height: 785px; display: flex; flex-direction: column; }
  .home-hero .hero-inner { min-height: 0; align-items: flex-start; }
  .hero-copy { width: 100%; padding: 52px 0 34px; }
  .home-hero .hero-media { inset: auto 0 0; height: 360px; object-position: 68% center; }
  .hero-wash { z-index: 1; background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(255,255,255,.98) 57%, rgba(255,255,255,.28) 75%, transparent 91%); }
  .script-note { top: auto; right: 24px; bottom: 235px; width: 130px; color: rgba(7,16,22,.78); font-size: 17px; }
  .home-hero h1 { max-width: 630px; font-size: clamp(43px, 10.2vw, 62px); }
  .hero-text { max-width: 610px; font-size: 15px; }

  .section { padding: 64px 0; }
  .section-intro, .work-heading, .split-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .card-grid, .service-hub-grid, .feature-grid, .testimonial-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-card .media-frame, .work-card .media-frame, .linked-card .media-frame { height: auto; aspect-ratio: 2 / 1; }
  .work-heading .text-link { width: fit-content; }
  .work-heading .gallery-home-button { width: fit-content; }
  .facts-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-step:nth-child(n+3) { padding-top: 32px; margin-top: 28px; border-top: 1px solid var(--line); }
  .service-list { grid-template-columns: 1fr; }
  .service-list article:nth-child(even) { padding-left: 0; border-left: 0; }

  .contact-band { min-height: 650px; padding-top: 300px; background-image: linear-gradient(180deg, rgba(243,246,250,0) 30%, #f3f6fa 52%), url("cta-background.webp"); background-position: center, 17% center; }
  .contact-shell { min-height: 350px; }
  .contact-copy { width: 100%; margin: 0; padding: 58px 0 60px; }
  .contact-band::after { display: none; }

  .page-hero { min-height: 580px; align-items: end; }
  .page-hero-photo { height: 100%; object-position: 68% center; }
  .page-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,.9) 56%, rgba(255,255,255,.99) 68%, #fff 100%); }
  .page-hero.dark::after { background: linear-gradient(180deg, rgba(5,27,54,.14), rgba(5,27,54,.72) 49%, rgba(5,27,54,.97) 68%, #051b36 100%); }
  .page-hero-content { max-width: none; padding: 300px 0 46px; }
  .page-hero h1 { font-size: clamp(44px, 10vw, 62px); }
  .split-layout .split-media { order: -1; }
  .review-invite, .cta-strip-inner { grid-template-columns: 1fr; }
  .review-invite .button, .cta-strip-inner .button { justify-self: start; width: fit-content; min-width: 170px; }

  .gallery-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .gallery-hero-copy { padding: 58px 0 40px; }
  .gallery-hero-copy > p:not(.eyebrow) { max-width: 620px; }
  .gallery-hero-photo { width: 100%; margin: 0 0 46px; aspect-ratio: 1.5 / 1; }
  .gallery-hero-photo::before { top: -12px; right: -12px; }
  .gallery-intro, .project-follow-inner { grid-template-columns: 1fr; gap: 26px; }
  .gallery-intro { margin-bottom: 32px; }
  .social-project-links { justify-content: flex-start; }

}

@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .header-actions .button-small { display: none; }
  .home-hero { min-height: 760px; }
  .hero-copy { padding-top: 43px; }
  .home-hero .hero-media { height: 330px; }
  .script-note { bottom: 218px; }
  .button { min-height: 48px; }
  .section { padding: 56px 0; }
  h2 { font-size: clamp(32px, 9.2vw, 41px); }
  .facts-grid, .process-grid { grid-template-columns: 1fr; }
  .fact { min-height: 135px; }
  .process-step + .process-step { padding: 24px 0 0; margin-top: 24px; border-top: 1px solid var(--line); border-left: 0; }
  .contact-band { min-height: 620px; padding-top: 280px; }
  .page-hero { min-height: 555px; }
  .page-hero-content { padding-bottom: 38px; }
  .review-invite { padding: 30px 24px; }
  .testimonial-card { min-height: 250px; }
  .gallery-hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .gallery-hero-photo { aspect-ratio: 1.16 / 1; }
  .gallery-hero-photo span { right: 12px; bottom: 12px; }
  .gallery-card-crop-low { height: 460px; }
  .project-follow { padding: 58px 0; }
  .social-project-links { display: grid; grid-template-columns: 1fr; }
  .social-project-links a { justify-content: space-between; }
}

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