/* DPC Construction. Brand: the black and chrome of the DPC logo, white, and a primer-grey paper.
   Type: Archivo throughout. Headlines use its expanded width (125%) in heavy caps, like the logo's
   squared letters and DPC's "ALL HOME RENOVATIONS" posts; small labels are wide-tracked caps with
   rules either side, like "── CONSTRUCTION ──" under the logo. No inline styles (the CSP blocks them). */

:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --ink-3: #1f2023;
  --steel: #8b8f96;
  --mist: #c9ccd0;
  --paper: #f2f1ee;
  --paper-2: #e4e2dd;
  --white: #ffffff;
  --text: #0b0b0c;
  --text-soft: #4f525a;
  --text-on-dark: #f4f4f5;
  --soft-on-dark: #a9adb3;
  --line: #d9d7d2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --field: #b9bbc0;
  --error: #b3261e;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9eaec 34%, #a4a8ae 50%, #c9ccd0 56%, #f4f4f5 80%, #b4b7bc 100%);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 0.8rem 1.2rem; background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------------ type */

.h1, .h2, .dpc-name, .step__letter, .svc__num, .cta__phone, .badge__big {
  font-family: var(--sans); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
}
.h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); line-height: 0.98; max-width: 18ch; text-wrap: balance; }
.h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1; text-wrap: balance; }
.lead { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--text-soft); max-width: 40em; }

.label { font-stretch: 125%; font-weight: 600; font-size: 0.74rem; line-height: 1.4; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); }
.label--ruled { display: flex; align-items: center; gap: 0.9em; }
.label--ruled::before { content: ""; flex: none; width: 2.4em; height: 1px; background: currentColor; }

.chrome-text, .dpc-name__i, .step__letter {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.link:hover { text-decoration-thickness: 2px; }
.link--arrow { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; border-bottom: 2px solid currentColor; padding-bottom: 0.2em; }
.link--arrow::after { content: "→"; transition: transform 0.2s; }
.link--arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0.7rem 1.3rem;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-stretch: 112%; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--big { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 0.92rem; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ------------------------------------------------------------------ header */

/* Solid background on purpose: a backdrop-filter here would trap the fixed menu panel inside it. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--text-on-dark); }
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--bar-h); }
.is-scrolled .site-header { box-shadow: 0 1px 0 var(--line-dark); }
.brand { display: block; flex: none; margin-right: auto; padding-block: 8px; }
.logo { height: auto; }
.logo__tag { fill: var(--mist); }
.logo--header { width: 112px; aspect-ratio: 490 / 171.7; }
.nav__list { display: flex; gap: 6px; }
.nav__list a { display: block; padding: 0.55rem 0.8rem; text-decoration: none; font-stretch: 112%; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft-on-dark); transition: color 0.2s; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--white); }
.nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--white); }
.header-phone { text-decoration: none; font-stretch: 112%; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap; }
.header-phone__label { color: var(--soft-on-dark); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 0.3em; }
.header-cta { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.8rem; }

.menu-toggle { display: none; align-items: center; gap: 10px; padding: 0.6rem 0.2rem; background: none; border: 0; cursor: pointer; font-stretch: 112%; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.2s, background-color 0.2s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; }

@media (max-width: 1000px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__bar { gap: 16px; }
  .menu {
    display: block; position: fixed; inset: var(--bar-h) 0 0 0; z-index: 49;
    background: var(--ink); color: var(--text-on-dark); overflow-y: auto; border-top: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0;
  }
  .menu-open .menu { visibility: visible; opacity: 1; transition: opacity 0.2s; }
  .menu__inner { padding-block: 28px 48px; }
  .menu__list a { display: block; padding: 0.4rem 0; text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.1; text-transform: uppercase; }
  .menu__list a[aria-current="page"] { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .menu__foot { display: grid; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
  .menu__foot a { text-decoration: none; color: var(--soft-on-dark); overflow-wrap: anywhere; }
  .menu__foot .menu__phone { color: var(--white); font-stretch: 125%; font-weight: 800; font-size: 1.6rem; }
}
@media (max-width: 420px) {
  .logo--header { width: 96px; }
  .header-cta { padding-inline: 0.75rem; }
  .menu-toggle__label { display: none; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 1; }
.hero__label { color: var(--mist); }
.hero__lead { max-width: 34em; color: var(--soft-on-dark); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* "D / P / C" stacked like the logo turned on its side, then each initial unfolds into its word:
   Design. Project. Construction. The rest of each word is already laid out and only revealed, so
   nothing on the page moves. */
/* "CONSTRUCTION." is about 10.9em wide: the size is capped so it always fits the phone's width. */
.dpc-name { margin: 1.1rem 0 1.4rem; font-size: min(4rem, calc((100vw - 2 * var(--gutter)) / 11.3)); line-height: 0.96; }
.dpc-name__row { display: block; white-space: nowrap; }
.dpc-name__i, .dpc-name__rest { display: inline-block; }
.dpc-name__rest { color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .dpc-name__i { animation: dpc-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .dpc-name__rest { animation: dpc-unfold 1s cubic-bezier(0.7, 0, 0.2, 1) 0.55s both; }
  .dpc-name__row:nth-child(2) .dpc-name__i { animation-delay: 0.08s; }
  .dpc-name__row:nth-child(3) .dpc-name__i { animation-delay: 0.16s; }
  .dpc-name__row:nth-child(2) .dpc-name__rest { animation-delay: 0.7s; }
  .dpc-name__row:nth-child(3) .dpc-name__rest { animation-delay: 0.85s; }
  .hero__lead, .hero__ctas, .hero__label { animation: rise 0.7s ease-out 1.3s both; }
}
@keyframes dpc-in { from { opacity: 0; transform: translateY(0.18em); } to { opacity: 1; transform: none; } }
@keyframes dpc-unfold {
  from { clip-path: inset(-0.2em 100% -0.2em 0); transform: translateX(-0.4em); }
  to { clip-path: inset(-0.2em -0.1em -0.2em 0); transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 901px) {
  .hero { display: grid; align-items: center; min-height: clamp(600px, calc(100svh - var(--bar-h)), 880px); }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { object-position: 64% 45%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, 0.96) 0%, rgba(11, 11, 12, 0.9) 34%, rgba(11, 11, 12, 0.45) 62%, rgba(11, 11, 12, 0.12) 100%); }
  .hero__inner { padding-block: 72px; }
  .dpc-name { font-size: clamp(3.4rem, 4.6vw, 4.6rem); }
}
@media (max-width: 900px) {
  .hero__media { position: relative; aspect-ratio: 16 / 10; max-height: 46svh; width: 100%; }
  .hero__media img { object-position: 60% 40%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 45%, rgba(11, 11, 12, 0.7) 80%, var(--ink) 100%); }
  .hero__inner { margin-top: -1.4rem; padding-bottom: 44px; }
  .hero__ctas .btn { flex: 1 1 14rem; }
}

/* ------------------------------------------------------------------ proof strip */

.proof { background: var(--ink-2); color: var(--text-on-dark); border-top: 1px solid var(--line-dark); }
.proof__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.proof__list li { display: flex; align-items: center; gap: 0.7em; font-stretch: 112%; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.proof__list li::before { content: ""; width: 7px; height: 7px; background: var(--chrome); transform: rotate(45deg); flex: none; }
.proof__list strong { font-weight: 600; }
.proof__list a { text-decoration: none; display: inline-flex; gap: 0.6em; align-items: center; }
.proof__list a:hover strong { text-decoration: underline; text-underline-offset: 0.25em; }
.stars { letter-spacing: 0.08em; }
@media (max-width: 760px) { .proof__list { grid-template-columns: 1fr 1fr; padding-block: 16px; } .proof__list li { font-size: 0.7rem; letter-spacing: 0.12em; } .proof .stars { display: none; } }

/* ------------------------------------------------------------------ sections */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark .lead, .section--dark .label { color: var(--soft-on-dark); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.section__head--split > div { display: grid; gap: 16px; }

/* ------------------------------------------------------------------ services grid (home) */

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service a { display: grid; height: 100%; background: var(--white); text-decoration: none; overflow: hidden; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service__body { display: grid; align-content: start; gap: 6px; padding: 20px 22px 24px; border-top: 3px solid var(--ink); }
.service__title { font-stretch: 125%; font-weight: 800; font-size: 1.12rem; line-height: 1.15; text-transform: uppercase; }
.service__title::after { content: "\a0→"; font-stretch: 100%; display: inline-block; transition: transform 0.2s; }
.nowrap { white-space: nowrap; }
.service__text { color: var(--text-soft); font-size: 0.98rem; line-height: 1.5; }
.service a:hover img { transform: scale(1.04); }
.service a:hover .service__title::after { transform: translateX(4px); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service a { grid-template-columns: 112px 1fr; }
  .service img { height: 100%; aspect-ratio: auto; min-height: 112px; }
  .service__body { border-top: 0; border-left: 3px solid var(--ink); padding: 14px 16px; }
  .service__title { font-size: 0.98rem; }
  .service__text { font-size: 0.92rem; }
}

/* ------------------------------------------------------------------ how we work: D / P / C */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.step { display: grid; align-content: start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.step__letter { font-size: clamp(5rem, 3rem + 7vw, 9.5rem); line-height: 0.8; margin-bottom: 8px; }
.step__title { font-stretch: 125%; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); }
/* :not() so this doesn't outrank .step__letter's transparent (chrome) text */
.step p:not(.step__letter) { color: var(--soft-on-dark); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { grid-template-columns: auto 1fr; column-gap: 20px; padding-block: 20px 8px; }
  .step__letter { grid-row: span 2; font-size: 4.6rem; margin: 0; }
  .step__title { align-self: end; }
}

/* ------------------------------------------------------------------ projects */

.projects { display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.projects--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.projects--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project { position: relative; display: flex; flex-direction: column; min-width: 0; }
.project__cover { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.project__cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.project__cover:hover img { transform: scale(1.03); }
.project__count { position: absolute; left: 0; bottom: 0; padding: 0.45rem 0.8rem; background: var(--ink); color: var(--white); font-stretch: 112%; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.project__body { display: grid; gap: 10px; padding-top: 18px; }
.project__meta { font-stretch: 112%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.project__title { font-stretch: 118%; font-weight: 800; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.15; }
.project__summary { color: var(--text-soft); }
.project__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.project__thumbs a { display: block; width: 58px; height: 58px; overflow: hidden; outline-offset: 2px; }
.project__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.project__thumbs a:hover img { opacity: 0.8; }
.project__post { font-size: 0.9rem; }
.project--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.project--lead .project__cover img { aspect-ratio: 16 / 10; }
.project--lead .project__body { padding-top: 0; }
.project--lead .project__title { font-stretch: 125%; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); text-transform: uppercase; line-height: 1.02; }
@media (max-width: 960px) {
  .projects--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--lead { grid-template-columns: 1fr; }
  .project--lead .project__body { padding-top: 6px; }
}
@media (max-width: 720px) { .projects--all, .projects--featured { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0.5rem 1rem; border: 2px solid var(--line); border-radius: 2px; background: var(--white); cursor: pointer; font-stretch: 112%; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters__count { margin: 14px 0 28px; color: var(--text-soft); font-size: 0.9rem; }
.filters__count:empty { margin-bottom: 20px; }

/* ------------------------------------------------------------------ before & after */

.ba-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.ba { display: grid; align-content: start; gap: 10px; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 8px; }
.ba__half { position: relative; overflow: hidden; background: var(--paper-2); }
.ba__half img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba__tag { position: absolute; left: 0; top: 0; z-index: 1; padding: 0.4rem 0.7rem; font-stretch: 125%; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; background: var(--ink); color: var(--white); }
.ba__half:first-child .ba__tag { background: var(--white); color: var(--ink); }
.ba__half:first-child img { filter: saturate(0.85); }
.ba__title { font-stretch: 118%; font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.ba__text { color: var(--text-soft); }
.ba__meta { font-size: 0.88rem; color: var(--text-soft); }
@media (max-width: 960px) { .ba-list { grid-template-columns: 1fr; max-width: 640px; } }

/* ------------------------------------------------------------------ on the job */

/* position: relative on each item keeps any visually-hidden text inside the phone swipe row. */
.onsite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.onsite__item { position: relative; display: grid; align-content: start; gap: 14px; }
.onsite__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-3); }
.onsite__item figcaption { color: var(--soft-on-dark); font-size: 0.98rem; }
.onsite__item strong { display: block; color: var(--white); font-stretch: 118%; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.onsite__meta { display: block; margin-top: 6px; font-stretch: 112%; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 760px) {
  .onsite { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 8px; }
  .onsite__item { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ areas and badges */

.areas__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas__grid > div:first-child { display: grid; gap: 16px; }
.areas__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.areas__list li { padding: 0.45rem 0.85rem; border: 1px solid var(--ink); font-stretch: 112%; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.badges { display: grid; gap: 16px; }
.badge { display: grid; gap: 6px; padding: 28px; background: var(--white); text-decoration: none; border-top: 3px solid var(--ink); }
.badge__big { font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); line-height: 0.9; }
.badge__big--words { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; }
.badge .stars { font-size: 1.25rem; }
.badge__text { color: var(--text-soft); }
a.badge:hover .link { text-decoration-thickness: 2px; }
.badge--dark { background: var(--ink); color: var(--white); border-top-color: var(--mist); }
.badge--dark .badge__big { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge--dark .badge__text { color: var(--soft-on-dark); }
@media (max-width: 860px) { .areas__grid { grid-template-columns: 1fr; } .badges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .badges { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ call to action (their flyer) */

.cta { position: relative; background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; padding-block: clamp(64px, 9vw, 120px); }
.cta .label { color: var(--mist); }
.cta__title { margin-bottom: 18px; }
.cta__phone { display: inline-block; font-size: clamp(2.3rem, 1.2rem + 5vw, 5rem); line-height: 1; text-decoration: none; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__email { color: var(--soft-on-dark); text-decoration: none; overflow-wrap: anywhere; }
.cta__email:hover { color: var(--white); text-decoration: underline; }
.cta .btn { margin-top: 18px; }
@media (min-width: 901px) {
  .cta__media { position: absolute; inset: 0 0 0 48%; }
  .cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 11, 12, 0.35) 40%, rgba(11, 11, 12, 0) 100%); }
}
@media (max-width: 900px) {
  .cta__media { position: relative; height: 240px; }
  .cta__media img { object-position: 50% 40%; }
  .cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 40%, var(--ink) 100%); }
  .cta__inner { padding-top: 12px; }
}

/* ------------------------------------------------------------------ inner pages */

.page-hero { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero .label { color: var(--mist); }
.page-hero .lead { color: var(--soft-on-dark); }
.page-hero--short { padding-bottom: 40px; }
.page-hero--tall { min-height: 62svh; display: grid; align-items: center; }
.page-hero .hero__ctas { margin-top: 12px; }

.jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.9rem; border: 1px solid var(--line-dark); text-decoration: none; font-stretch: 112%; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft-on-dark); }
.jump a:hover { color: var(--white); border-color: var(--white); }

.svc { padding-block: clamp(64px, 9vw, 120px); }
.svc--paper { background: var(--paper); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; padding: 0 9% 9% 0; }
.svc--flip .svc__media { padding: 0 0 9% 9%; }
.svc__media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__inset { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--white); box-shadow: 0 18px 40px rgba(11, 11, 12, 0.18); }
.svc--flip .svc__inset { right: auto; left: 0; }
.svc--paper .svc__inset { border-color: var(--paper); }
.svc__body { display: grid; gap: 18px; justify-items: start; }
.svc__num { font-size: 1rem; letter-spacing: 0.2em; color: var(--steel); font-weight: 700; }
.svc__body > p:not([class]) { color: var(--text-soft); font-size: 1.08rem; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
}

.prose { max-width: 46rem; }
.prose h2 { font-stretch: 118%; font-weight: 800; font-size: 1.3rem; margin: 2.2em 0 0.5em; }
.prose p { margin-bottom: 1em; color: var(--text-soft); }

/* ------------------------------------------------------------------ quote form */

.form-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: clamp(20px, 3vw, 40px); background: var(--paper); border-top: 4px solid var(--ink); }
.form fieldset { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { grid-column: 1 / -1; padding: 0; margin-bottom: 4px; font-stretch: 125%; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
/* the divider sits under the first group: a top border would run through the second group's legend */
.form fieldset:not(:last-of-type) { padding-bottom: 26px; border-bottom: 1px solid var(--paper-2); }
.form fieldset + fieldset { margin-top: 6px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label-text { font-weight: 600; font-size: 0.95rem; }
.hint { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.85rem;
  background: var(--white); border: 2px solid var(--field); border-radius: 2px; font-size: max(16px, 1rem);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: 0.86rem; color: var(--text-soft); }
.field__error { color: var(--error); font-size: 0.88rem; font-weight: 600; }
.field__error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; display: inline-flex; }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.95rem; border: 2px solid var(--field); border-radius: 2px; background: var(--white); font-weight: 500; font-size: 0.95rem; }
.choices input:hover + span { border-color: var(--ink); }
.choices input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choices input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__foot p { font-size: 0.86rem; color: var(--text-soft); max-width: 30em; }
.form__status { grid-column: 1 / -1; padding: 16px 18px; background: var(--white); border-left: 6px solid var(--ink); font-weight: 500; }
.form__status:focus { outline: none; }
@media (max-width: 600px) { .form, .form fieldset { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

.quote-aside { display: grid; gap: 16px; }
.quote-aside__card { display: grid; gap: 10px; padding: 26px; background: var(--ink); color: var(--text-on-dark); }
.quote-aside__card .label { color: var(--soft-on-dark); }
.quote-aside__phone { display: inline-block; font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1; text-decoration: none; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-aside__card .link { overflow-wrap: anywhere; }
.quote-aside__card--plain { background: transparent; color: var(--text); border: 1px solid var(--line); }
.quote-aside__card--plain .label { color: var(--text-soft); }
.quote-aside__card--plain p:not(.label) { color: var(--text-soft); }
.next-steps { display: grid; gap: 12px; counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding-left: 34px; color: var(--text-soft); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.78rem; }
.next-steps strong { color: var(--text); }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--ink); color: var(--soft-on-dark); font-size: 0.95rem; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: clamp(56px, 7vw, 88px) 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 24rem; }
.logo--footer { width: 170px; aspect-ratio: 490 / 171.7; }
.footer__social { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; }
.footer__social a, .footer__col a { text-decoration: none; }
.footer__social a:hover, .footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__col h2 { margin-bottom: 14px; font-stretch: 125%; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); }
.footer__col ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer__contact { display: grid; gap: 8px; align-content: start; }
.footer__contact h2 { margin-bottom: 6px; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__phone { font-stretch: 125%; font-weight: 800; font-size: 1.25rem; color: var(--white); }
/* the rule spans the text column only, not the wrap's side padding */
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 32px; font-size: 0.84rem; background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ photo viewer (main.js) */

.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 11, 12, 0.97); color: var(--white); }
.viewer::backdrop { background: rgba(11, 11, 12, 0.9); }
.viewer[open] { display: grid; place-items: center; }
.viewer__figure { display: grid; gap: 12px; justify-items: center; max-width: min(92vw, 1400px); padding: 64px 0 24px; }
.viewer__img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.viewer__caption { max-width: 60ch; text-align: center; color: var(--soft-on-dark); font-size: 0.95rem; padding-inline: 16px; }
.viewer__count { display: inline-block; margin-left: 0.6em; font-stretch: 112%; font-size: 0.75rem; letter-spacing: 0.14em; color: var(--steel); }
.viewer__btn, .viewer__close { position: absolute; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); cursor: pointer; }
.viewer__btn { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 1.8rem; line-height: 1; }
.viewer__btn:hover, .viewer__close:hover { background: rgba(255, 255, 255, 0.18); }
.viewer__btn--prev { left: 12px; }
.viewer__btn--next { right: 12px; }
.viewer__close { top: 12px; right: 12px; min-height: 44px; padding: 0.5rem 1rem; font-stretch: 112%; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.viewer__btn[hidden] { display: none; }
@media (max-width: 600px) { .viewer__btn { top: auto; bottom: 14px; margin: 0; } .viewer__figure { padding-bottom: 80px; } .viewer__img { max-height: calc(100dvh - 200px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
@media print {
  .site-header, .site-footer, .cta, .hero__ctas { display: none; }
}
.no-scroll { overflow: hidden; }
