@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --navy: #082b5f;
  --navy-deep: #041f49;
  --orange: #f36b16;
  --orange-ink: #a63708;
  --orange-gradient: linear-gradient(90deg, #e94113, #ff7900);
  --orange-surface-gradient: linear-gradient(90deg, #b9330d, #c64804);
  --ink: #0b2a57;
  --muted: #415573;
  --line: #dce3eb;
  --off: #f7f9fc;
  --white: #fff;
  --font-display: Montserrat, "Avenir Next", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(20px, 5.55vw, 80px);
  --section-space: clamp(55px, 6.8vw, 100px);
  --shadow: 0 14px 34px rgba(4, 31, 73, .13);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 500 1.063rem/1.52 var(--font-body); color: var(--ink); background: var(--white); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, .eyebrow, .primary-nav, .button, .learn-link { font-family: var(--font-display); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; color: var(--navy-deep); }
h1, h2 { font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.875rem, 4.1vw, 3.25rem); }
h3 { font-weight: 800; letter-spacing: -.023em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 8px 14px; background: #fff; }
.eyebrow { margin-bottom: 12px; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .14em; font-size: .71rem; font-weight: 800; }
.section, .why, .service-areas-section { padding-block: var(--section-space); }
.section-heading { max-width: 790px; margin-bottom: clamp(24px, 3.7vw, 52px); }
.section-heading > span { display: none; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 11px;
  min-height: 48px; padding: 11px 17px; border: 0; border-radius: 5px;
  text-align: center; text-transform: uppercase; font-size: .73rem; font-weight: 800; letter-spacing: .02em;
}
.button-orange { background: var(--orange-surface-gradient); color: #fff; }
.button-orange:hover { background: #a9360a; }
.learn-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--navy); font-size: .75rem; font-weight: 800; text-decoration: none;
}
.learn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header and navigation */
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner {
  position: relative; min-height: 94px; width: min(calc(100% - 2 * var(--gutter)), 1280px); margin: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 48px);
}
.brand img { width: 153px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2vw, 30px); font-size: .75rem; font-weight: 800; }
.primary-nav > a, .nav-dropdown-toggle, .nav-contact {
  display: flex; align-items: center; gap: 4px; min-height: 48px; padding: 0; border: 0;
  background: none; text-decoration: none; white-space: nowrap;
}
.primary-nav > a:hover, .nav-contact:hover, .nav-dropdown-toggle:hover, .primary-nav > a.active { color: var(--orange-ink); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -16px; width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); padding: 6px;
}
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { padding: 10px 12px; text-decoration: none; }
.nav-dropdown-menu a:hover { background: var(--off); color: var(--orange-ink); }
.header-cta { display: flex; align-items: center; gap: 15px; }
.header-phone { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 700; font-size: .91rem; text-decoration: none; }
.header-phone svg, .cta-phone svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.menu-toggle { display: none; }

/* Hero text and actions */
.hero-proof { margin-top: 18px; font-size: clamp(1rem, 1.45vw, 1.3rem); font-weight: 700; }
.hero-proof strong { color: #ff8a3f; }
.small-rule { display: block; width: 44px; height: 3px; margin-block: 17px; background: var(--orange); }
.hero-description { color: #ecf2fa; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 25px; }
.hero-work { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-weight: 700; text-underline-offset: 4px; }

/* Intro and services */
.why { background: var(--off); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); align-items: center; }
.why-section-heading { margin-bottom: 0; }
.paint-swipe-card { background: var(--orange-surface-gradient); color: #fff; border-radius: 6px; padding: clamp(23px, 3vw, 40px); }
.paint-swipe-card h3 { color: inherit; font-size: clamp(1.4rem, 2.3vw, 2.15rem); }
.paint-swipe-card p { max-width: 48ch; margin-top: 10px; line-height: 1.45; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(27px, 4vw, 57px); border-top: 1px solid var(--line); }
.benefit { padding: 23px 19px 0; border-left: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; border-left: 0; }
.benefit svg, .process-step > svg {
  display: block; width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.benefit h3, .process-step h3 { margin-top: 10px; font-size: .93rem; }
.benefit h3 br { display: none; }
.benefit p, .process-step p { margin-top: 6px; color: var(--muted); line-height: 1.45; font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 22px; }
.service-card { display: flex; flex-direction: column; grid-column: span 2; min-width: 0; border-bottom: 1px solid var(--line); }
.service-card:nth-child(-n+2) { grid-column: span 3; }
.service-image { overflow: hidden; aspect-ratio: 1.7; border-radius: 5px; background: var(--off); }
.service-card:nth-child(-n+2) .service-image { aspect-ratio: 1.9; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.service-card:hover img, .service-card:focus-within img { transform: scale(1.025); }
.service-body {
  flex: 1; display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  gap: 3px 12px; align-items: start; padding: 16px 4px 13px;
}
.service-icon {
  display: grid; place-items: center; grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-gradient);
}
.service-icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.service-body h3 { margin-top: 2px; font-size: clamp(1rem, 1.65vw, 1.45rem); }
.service-body p { color: var(--muted); }
.service-body .learn-link { grid-column: 2; justify-self: start; }

/* Project photography */
.work { background: var(--navy-deep); color: #fff; }
.work h2 { color: #fff; }
.work .eyebrow { color: #ff9c62; }
.work-grid { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.work-project { position: relative; min-width: 0; border-radius: 5px; overflow: hidden; background: var(--navy); }
.work-project:first-child { grid-row: span 2; }
.work-photo { display: block; width: 100%; height: 100%; min-height: 240px; padding: 0; border: 0; background: transparent; }
.work-photo:focus-visible { outline-offset: -5px; }
.work-project:first-child .work-photo { min-height: 496px; }
.work-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.work-photo:hover img { transform: scale(1.035); }
.work-photo::after { content: ""; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent 30%, rgba(4, 22, 50, .92)); pointer-events: none; }
.work-project figcaption { position: absolute; bottom: 0; padding: 16px 20px; display: grid; pointer-events: none; }
.work-project figcaption span { color: #ffc097; font-size: .76rem; font-weight: 700; }
.work-project figcaption strong { font: 800 clamp(.98rem, 1.45vw, 1.25rem)/1.2 var(--font-display); }

/* Process, reviews and service area */
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.process-step { position: relative; isolation: isolate; min-width: 0; border-top: 1px solid var(--line); padding: 20px 8px 0 0; }
.process-number { position: absolute; z-index: -1; right: 3px; top: 7px; color: transparent; -webkit-text-stroke: 1px #aebed3; font: 700 3.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.reviews { background: var(--off); }
.reviews-heading { max-width: 42rem; margin: 0 auto clamp(25px, 4vw, 44px); text-align: center; }
.reviews-heading > p:last-child, .areas-heading > p:last-child { color: var(--muted); margin-top: 12px; }
.review-panel { --review-gap: clamp(16px, 2vw, 28px); max-width: 1080px; margin-inline: auto; }
.review-window { overflow: hidden; }
.review-track { display: flex; gap: var(--review-gap); transition: transform .3s ease; }
.review-card {
  display: flex; flex-direction: column; flex: 0 0 calc((100% - var(--review-gap)) / 2); min-width: 0;
  border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 5px;
  background: #fff; padding: clamp(23px, 3vw, 38px);
}
.review-card blockquote { flex: 1; margin: 0 0 18px; color: var(--navy-deep); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; }
.review-card p { font-size: 1rem; font-weight: 700; color: var(--muted); }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 24px; }
.review-controls > button, .photo-controls button { min-width: 44px; min-height: 44px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: .89rem; font-weight: 700; }
.review-controls > button:hover { border-color: var(--navy); }
.review-dots { display: flex; }
.review-dots button { position: relative; width: 27px; height: 44px; border: 0; background: transparent; }
.review-dots button::after { content: ""; position: absolute; inset: 18px 9px; border-radius: 99px; background: #a8b8ce; }
.review-dots button.active::after { background: var(--orange-ink); }
.areas-heading { max-width: 690px; margin-bottom: 28px; }
.areas-panel {
  display: grid; grid-template-columns: 1.14fr 1fr minmax(105px, .42fr); align-items: center;
  gap: clamp(16px, 2.6vw, 36px); padding: clamp(17px, 3vw, 40px); border: 1px solid var(--line); border-radius: 6px;
}
.areas-copy h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.areas-copy > p { color: var(--muted); margin-top: 8px; }
.area-list-inline, .area-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.area-list-inline span, .area-list span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; background: var(--off); border: 1px solid var(--line); border-radius: 99px; font-size: .83rem; font-weight: 700; }
.area-list-inline span::before { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.northstate-map svg, .trust-badge svg { display: block; width: 100%; height: auto; }
.trust-badge { width: min(100%, 164px); justify-self: center; }

/* Estimate band and footer */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); padding-block: clamp(30px, 4.2vw, 62px); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 18px 28px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.75rem); color: #fff; }
.cta-inner p { margin-top: 7px; }
.cta-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cta-phone span { display: grid; }
.cta-phone small { font-size: .76rem; }
.cta-ribbons { z-index: -1; position: absolute; right: -92px; bottom: -116px; width: 420px; height: 180px; transform: rotate(-7deg); }
.cta-ribbons i { position: absolute; right: 0; bottom: 0; width: 100%; height: 75%; background: #fff; clip-path: ellipse(100% 95% at 100% 100%); }
.cta-ribbons i:nth-child(2) { width: 92%; height: 58%; bottom: 10px; background: #ff7600; }
.cta-ribbons i:nth-child(3) { width: 82%; height: 39%; bottom: 20px; background: #c92514; }
.site-footer { padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .85fr .75fr 1fr; gap: 26px; }
.footer-brand img { width: 153px; height: auto; }
.footer-brand p { margin: 8px 0 12px; max-width: 29ch; color: var(--muted); font-size: .94rem; }
.footer-grid h3 { margin: 9px 0; font-size: .9rem; }
.footer-grid a, .footer-grid button { display: block; padding: 4px 0; border: 0; background: none; text-align: left; text-decoration: none; font-size: .95rem; }
.footer-grid a:hover, .footer-grid button:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a { overflow-wrap: anywhere; font-weight: 700; }
.footer-contact p { margin-top: 5px; font-size: .87rem; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 20px; margin-top: 25px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom > span:last-child { display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* Dialogs and feedback */
dialog {
  width: min(660px, calc(100% - 30px)); max-height: min(90dvh, 800px); padding: 0;
  border: 0; border-radius: 8px; color: var(--ink); box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(4, 31, 73, .73); }
.modal-shell { position: relative; padding: clamp(20px, 4vw, 36px); }
.modal-shell h2 { max-width: 92%; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.modal-shell > p:not(.eyebrow) { margin-top: 9px; color: var(--muted); }
.modal-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; font-size: 1.8rem; line-height: 1; }
.modal-close:hover { background: var(--off); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 17px; }
.form-grid label { display: grid; gap: 4px; min-width: 0; font-size: .94rem; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid :is(input, textarea, select) {
  width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink);
  border: 1px solid #91a3bb; border-radius: 4px; background: #fff; font-size: 1rem;
}
.form-grid textarea { resize: vertical; }
.modal-submit { width: 100%; }
.modal-shell small { display: block; margin-top: 7px; color: var(--muted); text-align: center; }
.service-dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 19px; }
.photo-modal { width: min(1000px, calc(100% - 30px)); }
.photo-modal img { width: 100%; max-height: 69dvh; object-fit: contain; margin-top: 14px; background: var(--off); }
.toast {
  position: fixed; z-index: 5; right: 16px; bottom: 16px; max-width: min(380px, calc(100% - 32px));
  padding: 12px 17px; border-radius: 5px; color: #fff; background: var(--navy);
  opacity: 0; pointer-events: none;
}
.toast.show { opacity: 1; }
[hidden] { display: none !important; }

@media (max-width: 1190px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto auto; gap: 12px; }
  .brand img { width: 123px; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle span { display: block; height: 2px; background: var(--navy); }
  .primary-nav {
    display: none; position: absolute; z-index: 2; top: 100%; right: 0; width: min(100%, 350px);
    max-height: calc(100dvh - 76px); overflow: auto; background: #fff; border: 1px solid var(--line);
    border-radius: 0 0 6px 6px; box-shadow: var(--shadow); padding: 6px 16px;
  }
  .primary-nav.open { display: block; }
  .primary-nav > a, .nav-contact, .nav-dropdown-toggle { width: 100%; min-height: 43px; text-align: left; border-bottom: 1px solid var(--line); }
  .nav-contact { border: 0; }
  .nav-dropdown-menu { position: static; width: auto; padding: 0 0 0 12px; border: 0; box-shadow: none; }
  .cta-inner { grid-template-columns: 1fr auto; }
  .cta-phone { grid-row: 2; }
  .cta-inner > .button { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 760px) {
  .hero-proof { margin-top: 13px; }
  .small-rule { margin-block: 12px; }
  .hero-actions { margin-top: 17px; }
  .why-inner { grid-template-columns: 1fr; gap: 19px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { padding: 13px 11px 15px; }
  .benefit:nth-child(odd) { border-left: 0; padding-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 13px; }
  .service-card, .service-card:nth-child(-n+2) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; max-width: 500px; }
  .service-card .service-image, .service-card:nth-child(-n+2) .service-image { aspect-ratio: 1.6; }
  .service-body { grid-template-columns: 1fr; padding: 10px 0 5px; }
  .service-icon, .service-body .learn-link { grid-row: auto; grid-column: auto; }
  .service-icon { width: 35px; height: 35px; }
  .service-icon svg { width: 21px; height: 21px; }
  .service-body p { font-size: .95rem; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 9px; }
  .work-project:first-child { grid-column: 1 / -1; grid-row: auto; }
  .work-project:first-child .work-photo { min-height: 0; aspect-ratio: 1.26; }
  .work-photo { min-height: 170px; }
  .work-project figcaption { padding: 11px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .process-step { padding-top: 13px; }
  .process-number { top: 6px; font-size: 3rem; }
  .review-card { flex-basis: 100%; }
  .areas-panel { grid-template-columns: minmax(0, 1fr) 82px; gap: 12px; }
  .areas-copy { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 425px) {
  .header-inner { width: calc(100% - 28px); gap: 7px; }
  .brand img { width: clamp(91px, 29vw, 112px); }
  .header-cta .button { padding-inline: 9px; min-height: 44px; font-size: .62rem; gap: 5px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-phone, .cta-inner > .button { grid-row: auto; grid-column: auto; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Full-width hero and shared interior headers */
.primary-nav a[aria-current="page"], .nav-dropdown-toggle.active { color: var(--orange-ink); }
a.button { text-decoration: none; }
.section-description { max-width: 65ch; margin-top: 14px; color: var(--muted); }
.section-link { margin-top: 22px; }
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(550px, 48vw, 760px);
  overflow: hidden;
}
.hero-photo, .page-hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo { object-position: center; }
.hero::before, .page-hero-with-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 24, 58, .97), rgba(5, 33, 75, .88) 27%, rgba(7, 39, 86, .62) 48%, rgba(8, 43, 95, .18) 78%, rgba(8, 43, 95, .08));
}
.hero-inner {
  display: block;
  width: min(calc(100% - 2 * var(--gutter)), 1280px);
  margin-inline: auto;
  padding: 66px 0;
}
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.85rem, 4.45vw, 4.45rem); text-wrap: balance; }
@media (min-width: 1060px) { .hero h1 span { display: block; } }
.hero-proof, .hero-description { text-shadow: 0 1px 6px #041f49; }
.why-section-heading .learn-link { margin-top: 15px; }

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 330px;
  background: var(--navy-deep);
  color: #fff;
}
.page-hero-with-photo { min-height: clamp(420px, 38vw, 570px); }
.page-hero-photo { object-position: var(--hero-position, center); }
.page-hero-with-photo::before {
  background: linear-gradient(90deg, rgba(4, 24, 58, .96), rgba(4, 31, 73, .83) 29%, rgba(8, 43, 95, .44) 62%, rgba(8, 43, 95, .12)),
              linear-gradient(0deg, rgba(4, 31, 73, .32), transparent 55%);
}
.page-hero-content { padding-block: clamp(49px, 6vw, 90px); }
.page-hero h1 {
  max-width: 17ch;
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  line-height: 1.03;
  text-wrap: balance;
}
.page-hero .eyebrow { color: #ffb08b; }
.page-hero-content > p:last-of-type:not(.eyebrow) {
  max-width: 46ch;
  margin-top: 15px;
  color: #f2f6fc;
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
}

/* Interior page sections */
.image-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 92px); }
.image-story-reverse .story-photo { grid-column: 1; grid-row: 1; }
.story-copy p { margin-top: 16px; max-width: 59ch; color: var(--muted); }
.story-copy .learn-link { margin-top: 10px; }
.story-photo { overflow: hidden; border-radius: 6px; background: var(--off); }
.story-photo img { width: 100%; max-height: 460px; object-fit: cover; }
.anniversary-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  container-type: inline-size;
  min-width: 0;
  min-height: clamp(250px, 27vw, 364px);
  padding: clamp(23px, 4vw, 55px);
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy-deep) 20%, var(--navy) 100%);
  color: #fff;
}
.anniversary-card::before, .anniversary-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.anniversary-card::before {
  width: 54%;
  aspect-ratio: 1;
  top: -22%;
  right: -13%;
  border: 2px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .055), 0 0 0 38px rgba(255, 255, 255, .04);
}
.anniversary-card::after {
  width: 45%;
  height: 16px;
  bottom: 11%;
  right: -20%;
  transform: rotate(-38deg);
  background: var(--orange-gradient);
  box-shadow: 0 26px 0 rgba(243, 107, 22, .35);
}
.anniversary-message { display: grid; justify-items: start; gap: 13px; font-family: var(--font-display); }
.anniversary-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.anniversary-lockup { display: flex; align-items: baseline; gap: clamp(8px, 2.5cqi, 15px); }
.anniversary-lockup strong {
  color: #ff8a3f;
  font-size: clamp(4rem, 29cqi, 9.3rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .86;
}
.anniversary-lockup > span { font-size: clamp(1rem, 6.4cqi, 2.3rem); font-weight: 800; line-height: 1; text-transform: uppercase; }
.anniversary-caption { font-size: clamp(.9rem, 4cqi, 1.4rem); font-weight: 700; line-height: 1.25; }
.topic-section, .related-work { background: var(--off); border-block: 1px solid var(--line); }
.topic-section + .related-work { border-top: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.topic-grid article { padding: clamp(17px, 2.75vw, 35px); border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.topic-grid h3 { font-size: clamp(1.13rem, 1.8vw, 1.4rem); }
.topic-grid p { margin-top: 9px; color: var(--muted); }
/* Leadership profiles */
.leadership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leadership-profile { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.leadership-photo, .leadership-monogram { width: 100%; aspect-ratio: 4 / 3; }
.leadership-photo { object-fit: cover; object-position: center 37%; }
.leadership-monogram {
  display: grid; place-items: center; background: #e9eff7; color: var(--navy);
}
.leadership-monogram span {
  display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid #b6c7dd;
  border-radius: 50%; font: 800 1.6rem/1 var(--font-display);
}
.leadership-copy { padding: clamp(18px, 2.3vw, 28px); }
.leadership-copy h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.leadership-copy p { margin-top: 8px; color: var(--muted); }
.leadership-copy .leadership-role { color: var(--orange-ink); font-weight: 800; }
.field-team { max-width: 75ch; margin-top: 29px; padding-top: 21px; border-top: 1px solid var(--line); }
.field-team p { margin-top: 8px; color: var(--muted); }
@media (max-width: 640px) {
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-photo, .leadership-monogram { max-height: 270px; }
  .leadership-monogram { aspect-ratio: 2 / 1; }
}
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.overview-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.overview-card > div { padding: clamp(17px, 2.7vw, 27px); }
.overview-card h3 { font-size: clamp(1.19rem, 2.4vw, 1.8rem); }
.overview-card p { margin-top: 8px; color: var(--muted); }
.overview-card .learn-link { margin-top: 7px; }
.overview-photo { display: block; background: var(--off); }
.overview-photo img { width: 100%; aspect-ratio: 2.05; object-fit: cover; }
.overview-photo:focus-visible { outline-offset: -4px; }

/* Portfolio filters and image viewer */
.portfolio .section-heading { margin-bottom: 24px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button {
  min-height: 43px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}
.filter-button:hover { border-color: var(--navy); }
.filter-button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.project-count { margin: 12px 0 16px; color: var(--muted); font-size: .93rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-grid .work-project:first-child { grid-row: auto; }
.project-grid .work-project .work-photo { min-height: 0; aspect-ratio: 1.28; height: auto; }
.project-grid .work-project figcaption { color: #fff; }
.photo-modal .modal-shell { padding-bottom: 12px; }
.photo-modal h2 { font-size: clamp(1.1rem, 3vw, 1.75rem); }
.photo-modal img { max-height: 65dvh; }
.photo-controls { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 8px; font-size: .93rem; }
.photo-controls button:hover { border-color: var(--navy); }

/* Contact and estimates */
.contact-section { background: var(--off); }
.contact-grid, .estimate-grid { display: grid; gap: clamp(16px, 4.1vw, 62px); align-items: start; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.estimate-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr); }
.contact-details, .contact-form { padding: clamp(18px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.contact-grid h2, .estimate-grid h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
.contact-details dl { margin-block: 16px 4px; }
.contact-details dt { font-weight: 800; color: var(--navy-deep); }
.contact-details dd { margin: 1px 0 12px; overflow-wrap: anywhere; }
.contact-details a, .contact-form a { text-underline-offset: 3px; }
.contact-credentials { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: .88rem; color: var(--muted); }
.contact-form > p { margin-top: 9px; color: var(--muted); }
.estimate-website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form [role="alert"] { color: #a12819; }
.estimate-form button:disabled { opacity: .74; cursor: default; }
.general-inquiries p, .estimate-help p { margin-top: 12px; color: var(--muted); }
.general-inquiries .button { margin-top: 18px; }
.estimate-section { padding-block: clamp(30px, 4.5vw, 65px); }
.page-hero:has(+ .estimate-section) { min-height: 0; }
.page-hero:has(+ .estimate-section) .page-hero-content { padding-block: clamp(30px, 4vw, 56px); }
.estimate-form fieldset { min-width: 0; margin: 23px 0 0; padding: 0; border: 0; }
.estimate-form legend { padding: 0; color: var(--navy-deep); font: 800 1rem/1.3 var(--font-display); }
.estimate-form fieldset .form-grid { margin-block: 10px 6px; }
.estimate-form > .button { margin-top: 15px; }
.estimate-help ul { margin: 13px 0 0; padding-left: 20px; color: var(--muted); }
.estimate-help li + li { margin-top: 8px; }
.footer-brand .footer-social { display: inline-block; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { text-underline-offset: 3px; }

@media (max-width: 960px) {
  .page-hero-content { padding-block: 47px; }
}
@media (max-width: 760px) {
  .hero { align-items: end; min-height: clamp(530px, 86vh, 650px); }
  .hero-inner { padding: 36px 0 46px; }
  .hero::before, .page-hero-with-photo::before {
    background: linear-gradient(0deg, rgba(4, 24, 58, .97), rgba(4, 31, 73, .84) 45%, rgba(8, 43, 95, .39) 76%, rgba(8, 43, 95, .13)),
                linear-gradient(90deg, rgba(4, 24, 58, .22), transparent 90%);
  }
  .hero h1 { max-width: 17ch; font-size: clamp(2.24rem, 7.9vw, 3.7rem); text-wrap: pretty; }
  .page-hero { min-height: 300px; }
  .page-hero-with-photo { min-height: 405px; }
  .page-hero h1 { max-width: 20ch; }
  .image-story, .contact-grid, .estimate-grid { grid-template-columns: minmax(0, 1fr); }
  .image-story-reverse .story-photo { grid-row: auto; }
  .story-photo img { max-height: 350px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project-grid .work-project .work-photo { aspect-ratio: 1; }
}
@media (max-width: 460px) {
  .hero-actions { gap: 5px 12px; }
  .overview-grid, .topic-grid, .leadership-grid { grid-template-columns: 1fr; }
  .project-grid .work-project .work-photo { min-height: 162px; }
  .work-project figcaption strong { font-size: .84rem; }
  .work-project figcaption span { font-size: .69rem; }
}
