/* Parkinson Carpentry & Building
   Palette, type and spacing are set once here; everything below uses them.
   The page is a mist-coloured canvas carrying rounded white panels. Three shapes
   come from the logo: bold capitals, the notched orange banner and the hexagon. */

:root {
  --orange: #E96534;
  --navy: #133A5B;
  --mist: #D9DFE7;
  --white: #fff;
  --mist-light: #EEF1F5;   /* tint of --mist for cards and fields */
  --mist-deep: #C3CCD8;    /* shade of --mist for rules and inactive controls */
  --ink: #3E5873;          /* tint of --navy for body text */
  --edge: #7C93A9;         /* tint of --navy for form field edges */

  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --inset: clamp(.5rem, 1.4vw, 1.25rem);    /* gap between a rounded panel and the screen edge */
  --section: clamp(3.75rem, 8vw, 6.5rem);
  --radius: .375rem;       /* 6px: the one corner radius, used by every rounded box and photo */
  --shadow: 0 30px 60px -30px rgba(19, 58, 91, .4);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --header: 5.25rem;

  /* Honeycomb cluster for the corner of the footer. */
  --comb-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 312 284'%3E%3Cg fill='%23fff' fill-opacity='.05'%3E%3Cpath d='M52 0l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M156 0l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M260 0l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M104 90l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M208 90l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M156 180l45 26v52l-45 26-45-26v-52z'/%3E%3C/g%3E%3C/svg%3E");
  --navy-tint: rgba(217, 223, 231, .16);  /* edges and quiet controls on a navy surface */
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 { margin: 0 0 .55em; color: var(--navy); font-weight: 700; text-wrap: balance; }
h1, h2 { line-height: 1.12; letter-spacing: -.005em; text-transform: uppercase; }
h1 { font-size: clamp(2.125rem, 4.6vw, 3.625rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.625rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0 0 1.1em; text-wrap: pretty; }

/* One phrase per heading sits in the notched orange banner from the logo. */
h1 em, h2 em {
  --notch: .12em;
  display: inline-block; padding: 0 .32em; white-space: nowrap;
  font-style: normal; color: var(--white); background: var(--orange);
}
h1 em, h2 em, .btn--primary {
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 96%, #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 96%, #000) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 96%, #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 96%, #000) 100% 0 / 51% 100% no-repeat;
}

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: var(--radius); background: var(--navy); color: var(--white); font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--solid { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */

.container { width: min(100% - var(--gutter) * 2, 77.5rem); margin-inline: auto; }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* A white band the full width of the screen, alternating with the mist canvas. */
.panel { background: var(--white); }

/* Rows of photos run past the screen edge; this stops them adding a sideways scrollbar. */
main { overflow-x: clip; }

.section-head { max-width: 50rem; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.section-head h2 { margin-bottom: 0; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; }
.section-head--split > div { max-width: 46rem; }

.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  margin: 0 0 1.1rem;
  font-size: .8125rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before { content: ""; flex: none; width: .75rem; height: .85rem; background: var(--orange); clip-path: var(--hex); }

.lede { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 38rem; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark .eyebrow { color: var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.text-link { color: var(--navy); font-weight: 500; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.text-link:hover { text-decoration-color: var(--navy); }

.link-arrow { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9375rem; }

/* ---------- Hexagons ---------- */

/* The logo's honeycomb cell, used for icons, bullets and controls. */
.hex {
  flex: none; display: grid; place-items: center;
  width: 3.25rem; aspect-ratio: .866; padding: 0; border: 0;
  clip-path: var(--hex); background: var(--navy); color: var(--white);
  transition: background-color .35s var(--ease), color .35s var(--ease), rotate .7s var(--ease);
}
.hex .icon { width: 1.35rem; height: 1.35rem; transition: rotate .7s var(--ease); }
.hex--sm { width: 2.5rem; }
.hex--sm .icon { width: 1.05rem; height: 1.05rem; }
.hex--xs { width: 1.5rem; background: var(--orange); }
.hex--xs .icon { width: .7rem; height: .7rem; stroke-width: 3; }

/* On hover the cell turns a sixth of a turn while its icon stays level. */
a:hover > .hex, button.hex:hover:not(:disabled), a.hex:hover, .reason:hover .hex, .hextiles li:hover .hex, .svc.is-active .hex { background: var(--orange); rotate: 60deg; }
a:hover > .hex .icon, button.hex:hover:not(:disabled) .icon, a.hex:hover .icon, .reason:hover .hex .icon, .hextiles li:hover .hex .icon, .svc.is-active .hex .icon { rotate: -60deg; }
.hex:focus-visible { outline: 0; background: var(--orange); }

/* A honeycomb backdrop. Cells light up under the pointer and fade away (see main.js). */
.honeycomb { --cell: .05; --lit: .3; position: absolute; inset: 0; width: 100%; height: 100%; }
.honeycomb use { fill: var(--white); fill-opacity: var(--cell); transition: fill-opacity 1.6s ease-out; }
.honeycomb use:nth-child(3n) { fill-opacity: calc(var(--cell) * 1.8); }
.honeycomb use.is-lit { fill-opacity: var(--lit); transition-duration: 0s; }
@media (hover: none) {
  .honeycomb use:nth-child(13n + 5) { animation: glint 8s ease-in-out infinite; }
  .honeycomb use:nth-child(13n + 11) { animation: glint 8s 4s ease-in-out infinite; }
}
@keyframes glint { 12% { fill-opacity: var(--lit); } 30% { fill-opacity: var(--cell); } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; padding: .7rem 1.6rem;
  border: 0; cursor: pointer;
  font-family: var(--font); font-size: 1.1875rem; font-weight: 700; line-height: 1.1; letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
  color: var(--white); background: var(--navy);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { transition: translate .3s var(--ease); }
.btn:hover .icon { translate: 4px 0; }

.btn--primary { --notch: .4rem; padding-inline: 2rem; background: var(--orange); }
.btn--primary:hover { background: var(--navy); }
.on-dark .btn--primary:hover { background: var(--white); color: var(--navy); }
.btn--primary:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--navy); }
.on-dark .btn--primary:focus-visible { box-shadow: inset 0 0 0 3px var(--white); }

.btn--ghost { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { color: var(--white); background: var(--navy); }
.btn--light { color: var(--white); background: transparent; box-shadow: inset 0 0 0 2px var(--white); }
.btn--light:hover { color: var(--navy); background: var(--white); }
.btn--ghost:hover .icon, .btn--light:hover .icon { translate: none; }

.btn--sm { min-height: 2.875rem; padding-block: .5rem; padding-inline: 1.5rem; }
.btn--block { width: 100%; padding-inline: 1.25rem; }
.btn[disabled] { cursor: progress; opacity: .75; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; padding: .75rem var(--inset) 0; pointer-events: none; }
.site-header__bar {
  position: relative; max-width: 100rem; margin-inline: auto; pointer-events: auto;
  border-radius: var(--radius); color: var(--white);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy-tint);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck .site-header__bar { box-shadow: inset 0 0 0 1px var(--navy-tint), 0 16px 34px -20px rgba(19, 58, 91, .6); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - (var(--gutter) - var(--inset)) * 2, 77.5rem); min-height: 4.5rem; margin-inline: auto;
}
/* The full logo, honeycomb and all. --logo is the height of its lettering and banner; the
   honeycomb behind them is taller than the bar, so it runs off the top and bottom edges. */
.site-header__logo {
  --logo: 2.5rem;
  position: relative; flex: none; align-self: stretch; width: calc(var(--logo) * 3.616);
  overflow: hidden; overflow: visible clip;
}
.site-header__logo img {
  position: absolute; top: 50%; left: calc(var(--logo) * -.087);
  width: calc(var(--logo) * 3.736); max-width: none; height: auto;
  translate: 0 calc(-50% - var(--logo) * .06);
}
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__phone { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header__phone .hex { background: var(--white); color: var(--navy); }
.site-header__phone:hover .hex { color: var(--white); }
.site-header__number, .site-header__cta { display: none; }

.menu-toggle { width: 2.75rem; background: var(--navy-tint); cursor: pointer; }
.menu-toggle:hover, .nav-open .menu-toggle { background: var(--orange); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 1.05rem; height: 2px; background: var(--white);
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.nav-open .menu-toggle__bars { background: transparent; }
.nav-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: the navigation drops down as a rounded navy sheet under the header bar. */
.nav {
  position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
  max-height: calc(100dvh - var(--header) - 1.25rem); overflow-y: auto;
  display: flex; flex-direction: column; gap: .9rem;
  padding: .5rem 1.25rem 1.25rem;
  border-radius: var(--radius); background: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy-tint), var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-.75rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-open { overflow: hidden; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }

.nav__list > li { border-bottom: 1px solid rgba(217, 223, 231, .2); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .75rem 0; border: 0; background: none;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; text-align: left; text-decoration: none; text-transform: uppercase; color: var(--white);
}
.nav__link[aria-current] { color: var(--orange); }
.nav__toggle { cursor: default; }
.nav__toggle .icon { display: none; }
.nav__sub { padding-bottom: .75rem; }
.nav__sub a { display: flex; align-items: center; gap: .85rem; padding: .28rem 0; font-size: 1.0625rem; font-weight: 500; color: var(--white); text-decoration: none; }
.nav__sub .hex { background: var(--navy-tint); }
.nav__sub a[aria-current] .hex { background: var(--orange); }
.nav__extra { display: grid; gap: .25rem; }
.nav__phone { display: flex; align-items: center; gap: .65rem; padding: .45rem 0; font-size: 1.125rem; font-weight: 700; color: var(--white); text-decoration: none; }
.nav__phone .icon { color: var(--orange); }
.nav__extra .btn { margin-top: .6rem; }

@media (min-width: 64em) {
  :root { --header: 5.75rem; }
  .site-header__inner { min-height: 5rem; }
  .site-header__logo { --logo: 3rem; }
  .site-header__number, .site-header__cta { display: inline-flex; }
  .site-header__actions { gap: 1.25rem; }
  .menu-toggle, .nav__extra { display: none; }

  .nav { position: static; max-height: none; overflow: visible; padding: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__list { display: flex; align-items: center; gap: 2rem; }
  .nav__list > li { border: 0; }
  .nav__link {
    width: auto; gap: .3rem; padding: .5rem 0;
    font-size: .9375rem; letter-spacing: .06em;
    background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 3px no-repeat;
    transition: background-size .3s var(--ease);
  }
  .nav__link:hover, .nav__link[aria-current], .nav__group:hover .nav__toggle { background-size: 100% 3px; }
  .nav__link[aria-current] { color: var(--white); }
  .nav__toggle { cursor: pointer; }
  .nav__toggle .icon { display: block; width: 1rem; height: 1rem; stroke-width: 2.4; transition: rotate .3s var(--ease); }

  .nav__group { position: relative; }
  .nav__sub {
    position: absolute; top: calc(100% + 1rem); left: -1.25rem; min-width: 18.5rem; padding: .6rem;
    border-radius: var(--radius); background: var(--navy); box-shadow: inset 0 0 0 1px var(--navy-tint), var(--shadow);
    opacity: 0; visibility: hidden; translate: 0 6px;
    transition: opacity .25s var(--ease), translate .25s var(--ease), visibility .25s;
  }
  .nav__sub::before { content: ""; position: absolute; inset: -1.1rem 0 100% 0; }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; translate: none; }
  .nav__group:hover .nav__toggle .icon, .nav__toggle[aria-expanded="true"] .icon { rotate: 180deg; }
  .nav__sub a { padding: .5rem .75rem; border-radius: var(--radius); font-size: 1rem; transition: background-color .2s; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: rgba(255, 255, 255, .08); }
}

/* ---------- Cards and forms ---------- */

.card { padding: clamp(1.4rem, 3vw, 1.75rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.card .eyebrow { margin-bottom: .6rem; }
.card__title { margin-bottom: .9rem; text-transform: uppercase; font-size: clamp(1.375rem, 2.2vw, 1.625rem); }

.field { display: grid; gap: .25rem; margin-bottom: .7rem; }
.field-row { display: grid; gap: 0 .85rem; }
@media (min-width: 30em) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { font-size: .9375rem; font-weight: 500; color: var(--navy); }
.field__optional { font-weight: 400; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.125rem; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--mist-light); border: 1.5px solid var(--edge); border-radius: var(--radius);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.field textarea { height: 4.75rem; min-height: 4.75rem; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133A5B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}
.field input::placeholder { color: var(--ink); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background-color: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px var(--mist); }
.field__error { margin: 0; font-size: .875rem; font-weight: 500; color: #B3261E; }
.field__error:empty { display: none; }
.field.has-error input { border-color: #B3261E; }
.field--trap { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0 0 1.1rem; padding: .85rem 1rem; border-radius: var(--radius); background: #FBEDEC; color: #7A1A14; font-weight: 500; }
.form-note { margin: .9rem 0 0; font-size: .9375rem; text-align: center; }
.form-note a { color: var(--navy); font-weight: 700; }

/* ---------- Photo panels ---------- */

/* A navy band over a photo with the honeycomb on top. It fills the full width of the
   screen, square-edged: the home hero, every page heading and the closing panels. */
.photo-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.photo-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(98deg, rgba(19, 58, 91, .96), rgba(19, 58, 91, .87) 55%, rgba(19, 58, 91, .62)); }
.photo-panel .honeycomb { -webkit-mask-image: linear-gradient(90deg, #000 25%, #0000 85%); mask-image: linear-gradient(90deg, #000 25%, #0000 85%); }
.photo-panel__inner { position: relative; width: min(100% - var(--gutter) * 2, 77.5rem); margin-inline: auto; }
.on-dark .lede { color: var(--mist); }

/* The home hero and every page heading slide up beneath the floating header,
   so the menu sits over the photo. */
.hero, .page-head { margin-top: calc(var(--header) * -1); }

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

/* Copy on the left, the quote form on the right.
   On phones the form overlaps the panel's lower edge instead. */
.hero__wrap { display: grid; grid-template-rows: auto 7rem auto; }
.hero__panel { grid-area: 1 / 1 / 3 / 2; }
.hero__panel::before { background: linear-gradient(180deg, rgba(19, 58, 91, .95), rgba(19, 58, 91, .84) 60%, rgba(19, 58, 91, .5)); }
.hero__panel .honeycomb { -webkit-mask-image: none; mask-image: none; }
.hero__grid { display: contents; }
.hero__copy { grid-area: 1 / 1; position: relative; padding: calc(var(--header) + clamp(2.25rem, 6vw, 3rem)) var(--gutter) 2.5rem; }
.hero__copy h1 { margin-bottom: .5em; }
.hero__form { grid-area: 2 / 1 / 4 / 2; position: relative; margin: 0 var(--gutter) clamp(2rem, 6vw, 3rem); scroll-margin-top: calc(var(--header) + .5rem); }

.ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; font-size: .9375rem; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: .55rem; }

@media (min-width: 64em) {
  .hero__wrap { grid-template-rows: auto; }
  .hero__panel { grid-area: 1 / 1; }
  .hero__panel::before { background: linear-gradient(98deg, rgba(19, 58, 91, .96), rgba(19, 58, 91, .88) 46%, rgba(19, 58, 91, .42) 74%, rgba(19, 58, 91, .22)); }
  .hero__panel .honeycomb { -webkit-mask-image: linear-gradient(90deg, #000 35%, #0000 68%); mask-image: linear-gradient(90deg, #000 35%, #0000 68%); }
  .hero__grid {
    grid-area: 1 / 1; z-index: 1;
    display: grid; grid-template-columns: 1fr minmax(0, 29rem); align-items: center; gap: clamp(2.5rem, 5vw, 5rem);
    width: min(100% - var(--gutter) * 2, 77.5rem); margin-inline: auto;
    padding-block: calc(var(--header) + clamp(1.5rem, 2.5vw, 2.5rem)) clamp(2.25rem, 3.5vw, 3.25rem);
  }
  .hero__copy { grid-area: auto; padding: 0; }
  .hero__form { grid-area: auto; margin: 0; }
}

.js .hero__copy > *, .js .hero__form { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero__form { animation-delay: .3s; }
.js .hero__panel img { animation: settle 1.8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes settle { from { transform: scale(1.07); } }

/* ---------- Scrollers (swipe rows) ---------- */

.scroller__track, .svc-list {
  display: flex; gap: .85rem; overflow-x: auto; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
/* On desktop, photo rows carry on to the edge of the screen; review rows stop at the text column. */
@media (min-width: 64em) {
  .scroller__track { --bleed: max(var(--gutter), (100vw - 77.5rem) / 2); margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); scroll-padding-inline: var(--bleed); }
  .reviews .scroller__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}
.scroller__track::-webkit-scrollbar, .svc-list::-webkit-scrollbar { display: none; }
.scroller__track > * { flex: none; scroll-snap-align: start; }
.scroller__track.is-dragging, .svc-list.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.is-dragging a { pointer-events: none; }

.scroller__nav { display: flex; align-items: center; gap: .5rem; margin-top: 1.75rem; }
.scroller__progress { position: relative; flex: 1; height: 4px; margin-right: 1rem; border-radius: var(--radius); background: var(--mist); overflow: hidden; }
.scroller__progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: var(--radius); background: var(--navy); }
.scroller__btn { display: none; cursor: pointer; }
.scroller__btn:disabled { background: var(--mist-deep); cursor: default; }
.scroller.is-static .scroller__nav { display: none; }
@media (hover: hover) and (min-width: 48em) { .scroller__btn { display: grid; } }

/* ---------- Services (home) ---------- */

/* Photo cards. Phones swipe through them; on desktop the one you point at opens out. */
.svc { flex: 0 0 min(80vw, 22rem); scroll-snap-align: start; }
.svc__card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--navy); }
.svc__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.svc__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 58, 91, .1) 30%, rgba(19, 58, 91, .92) 78%); }
.svc__icon { position: absolute; top: 1.1rem; left: 1.1rem; background: var(--white); color: var(--navy); }
.svc__label { display: none; }
.svc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; }
.svc__title { margin-bottom: .4rem; font-size: 1.375rem; letter-spacing: .01em; text-transform: uppercase; color: var(--white); }
.svc__text { margin-bottom: .9rem; color: var(--mist); }
.svc__more { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.svc__more .icon { color: var(--orange); stroke-width: 2.4; transition: translate .3s var(--ease); }
.svc__card:hover .svc__more .icon { translate: 4px 0; }
.svc__card:hover .svc__img { scale: 1.05; }

@media (min-width: 64em) {
  .services .scroller__nav { display: none; }
  .svc-list { height: clamp(27rem, 40vw, 33rem); overflow: visible; margin: 0; padding: 0; }
  .svc { flex: 1 1 0; min-width: 0; transition: flex-grow .7s var(--ease); }
  .svc.is-active { flex-grow: 4.2; }
  .svc__card { height: 100%; aspect-ratio: auto; }
  .svc__card::after { background: linear-gradient(180deg, rgba(19, 58, 91, .3), rgba(19, 58, 91, .88) 80%); }
  .svc.is-active .svc__card::after { background: linear-gradient(180deg, rgba(19, 58, 91, 0) 30%, rgba(19, 58, 91, .92) 82%); }
  .svc.is-active .svc__icon { color: var(--white); }

  /* Closed cards show their name running up the side; the open card shows the full text. */
  .svc__label {
    position: absolute; left: 50%; bottom: 1.5rem; display: block;
    writing-mode: vertical-rl; rotate: 180deg; translate: -50% 0; white-space: nowrap;
    font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    transition: opacity .3s var(--ease);
  }
  .svc.is-active .svc__label { opacity: 0; }
  .svc__body { right: auto; width: clamp(20rem, 35vw, 31rem); padding: 2rem; opacity: 0; transition: opacity .25s var(--ease); }
  .svc.is-active .svc__body { opacity: 1; transition: opacity .5s .25s var(--ease); }
  .svc__title { font-size: 1.75rem; }
}

/* ---------- Text + image blocks ---------- */

.split { display: grid; gap: clamp(2.5rem, 6vw, 3.5rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__copy > :last-child { margin-bottom: 0; }
.split__copy .link-arrow { margin-top: .75rem; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3.5rem, 8vw, 7rem); }
  .split--flip .split__media { order: 2; }
}

/* A photo with a second one set into a honeycomb cell at its corner. */
.collage { position: relative; margin: 0 9% 2.5rem 0; }
.collage__hex { position: absolute; right: -11%; bottom: -2.5rem; width: 44%; aspect-ratio: .866; padding: .55rem; clip-path: var(--hex); background: var(--mist); }
.collage__hex img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; clip-path: var(--hex); }
.panel .collage__hex { background: var(--white); }

/* A photo that fills half the screen, right out to the edge, with the text alongside. */
.bleed { display: grid; padding-block: 0; }
.bleed__media { position: relative; min-height: 68vw; overflow: hidden; background: var(--mist-light); }
.bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__copy { padding: clamp(2.5rem, 8vw, 3.5rem) var(--gutter) var(--section); }
.bleed__copy > :last-child { margin-bottom: 0; }
.bleed__copy .link-arrow { margin-top: .75rem; }
@media (min-width: 56em) {
  .bleed { grid-template-columns: 1fr 1fr; }
  .bleed__media { min-height: 36rem; }
  .bleed__copy { align-self: center; padding: var(--section) max(var(--gutter), (100vw - 77.5rem) / 2) var(--section) clamp(4rem, 7vw, 6.5rem); }
  .bleed--flip .bleed__media { order: 2; }
  .bleed--flip .bleed__copy { padding-inline: max(var(--gutter), (100vw - 77.5rem) / 2) clamp(4rem, 7vw, 6.5rem); }
}

/* A short list shown as honeycomb cells with icons. */
.hextiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; margin-top: 2rem; color: var(--navy); font-weight: 700; line-height: 1.3; }
.hextiles li { display: flex; align-items: center; gap: .9rem; }

.hexlist { display: grid; gap: .65rem 2rem; margin: 1.75rem 0 0; color: var(--navy); font-weight: 500; }
.hexlist li { position: relative; padding-left: 1.6rem; }
.hexlist li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .8rem; background: var(--orange); clip-path: var(--hex); }
.hexlist--cols { grid-template-columns: 1fr 1fr; }
.hexlist--large { font-size: 1.1875rem; font-weight: 400; gap: 0 2.5rem; margin: 0; }
.hexlist--large li { padding-block: 1rem; border-bottom: 1px solid var(--mist-deep); }
.hexlist--large li::before { top: 1.5em; }
@media (max-width: 26em) { .hexlist--large { grid-template-columns: 1fr; } }

.services-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56em) { .services-grid { grid-template-columns: 5fr 7fr; gap: clamp(3.5rem, 8vw, 7rem); } }

/* ---------- Reasons ---------- */

.reasons-section { overflow: hidden; }
.reasons-section .honeycomb { --cell: .22; --lit: .9; -webkit-mask-image: linear-gradient(200deg, #000 5%, #0000 55%); mask-image: linear-gradient(200deg, #000 5%, #0000 55%); }
.reasons-section .container { position: relative; }
.reasons { display: grid; gap: .85rem; }
.reason { padding: 1.75rem 1.5rem 1rem; border-radius: var(--radius); background: var(--white); transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
.reason:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.reason .hex { margin-bottom: 1.25rem; }
.reason h3 { letter-spacing: .02em; text-transform: uppercase; }
@media (min-width: 40em) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68em) { .reasons { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process steps ---------- */

/* A honeycomb chain: numbered cells joined by a line that draws itself as the steps appear. */
.steps { display: grid; gap: 2.25rem; counter-reset: step; }
.step { position: relative; padding-left: 4.75rem; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3.25rem; aspect-ratio: .866;
  clip-path: var(--hex); background: var(--navy); color: var(--white); font-size: 1.375rem; font-weight: 700;
  transition: background-color .35s var(--ease);
}
.step:hover::before { background: var(--orange); }
.step::after { content: ""; position: absolute; left: calc(1.625rem - 1px); top: 4.25rem; bottom: -1.75rem; width: 2px; background: var(--edge); transform-origin: 0 0; }
.step:last-child::after { display: none; }
.step :is(h2, h3) { margin-bottom: .5rem; font-size: 1.1875rem; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
.step p { margin: 0; }
@media (min-width: 60em) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .steps--three { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 5rem 0 0; }
  .step::after { left: 4rem; right: -1.75rem; top: calc(1.875rem - 1px); bottom: auto; width: auto; height: 2px; }
}

.js .steps[data-reveal] { opacity: 1; transform: none; }
.js .steps[data-reveal] .step { opacity: 0; translate: 0 1.25rem; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .steps[data-reveal] .step::after { scale: 0; transition: scale .7s .25s var(--ease); }
.js .steps[data-reveal].is-visible .step { opacity: 1; translate: none; }
.js .steps[data-reveal].is-visible .step::after { scale: 1; }
.js .steps[data-reveal] .step:nth-child(2) { transition-delay: .2s; }
.js .steps[data-reveal] .step:nth-child(2)::after { transition-delay: .45s; }
.js .steps[data-reveal] .step:nth-child(3) { transition-delay: .4s; }
.js .steps[data-reveal] .step:nth-child(3)::after { transition-delay: .65s; }
.js .steps[data-reveal] .step:nth-child(4) { transition-delay: .6s; }

/* ---------- In progress / finished ---------- */

/* Two photos of the same job side by side, edge to edge: part-way through, then finished. */
.stages-section { padding-bottom: 0; }
.stages { position: relative; display: grid; gap: 3px; }
.stage { position: relative; overflow: hidden; background: var(--mist-light); }
.stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale 1s var(--ease); }
.stage:hover img { scale: 1.03; }
.stage figcaption {
  position: absolute; left: 1.25rem; top: 1.25rem; padding: .5rem 1rem;
  background: var(--white); color: var(--navy);
  font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.stage:last-of-type figcaption { background: var(--navy); color: var(--white); }
.stages__arrow { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 4rem; background: var(--orange); }
.stages__arrow .icon { rotate: 90deg; width: 1.6rem; height: 1.6rem; stroke-width: 2.2; }
@media (min-width: 44em) {
  .stages { grid-template-columns: 1fr 1fr; }
  .stage img { aspect-ratio: auto; height: clamp(22rem, 36vw, 34rem); }
  .stages__arrow { width: 5rem; }
  .stages__arrow .icon { rotate: none; }
}

/* ---------- Work strip ---------- */

.shot a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mist-light); }
.shot img { width: auto; height: clamp(15rem, 32vw, 25rem); max-width: none; transition: scale .8s var(--ease); -webkit-user-drag: none; }
.shot a:hover img { scale: 1.04; }

/* ---------- Reviews ---------- */

.review { flex-basis: min(84vw, 27rem); display: flex; }
@media (min-width: 64em) { .review { flex: 1 0 calc((100% - 1.7rem) / 3); } }
.review figure { display: flex; flex-direction: column; width: 100%; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius); background: var(--white); }
.panel .review figure { background: var(--mist-light); }
.review__stars { display: flex; gap: .2rem; margin-bottom: 1.1rem; color: var(--orange); }
.review__stars .icon { width: 1.15rem; height: 1.15rem; }
.review blockquote { flex: 1; color: var(--navy); font-size: 1.0625rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--mist-deep); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.review figcaption::before { content: ""; width: .7rem; height: .8rem; background: var(--orange); clip-path: var(--hex); }

/* ---------- Audiences (property maintenance) ---------- */

.audiences { display: grid; gap: .85rem; }
.audience { padding: .6rem; border-radius: var(--radius); background: var(--white); }
.audience__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.audience__body { padding: clamp(1.25rem, 3vw, 1.75rem) clamp(.9rem, 2.4vw, 1.5rem) 1rem; }
.audience .eyebrow { margin-bottom: .75rem; }
.audience h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); text-transform: uppercase; }
.audience__body > :last-child { margin-bottom: 0; }
@media (min-width: 44em) { .audiences { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56em) { .faq { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 6rem); } }
.faq__list { display: grid; gap: .6rem; }
.faq__item { border-radius: var(--radius); background: var(--white); transition: box-shadow .3s var(--ease); }
.panel .faq__item { background: var(--mist-light); }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem 1rem 1rem 1.5rem; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.faq__icon .icon { stroke-width: 2.4; }
.faq__item summary:hover .faq__icon { background: var(--orange); }
.faq__item[open] .faq__icon { background: var(--orange); rotate: 60deg; }
.faq__item[open] .faq__icon .icon { rotate: -15deg; }
.faq__answer { padding: 0 4.5rem 1.4rem 1.5rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Closing panels ---------- */

.cta .honeycomb, .quote .honeycomb { --cell: .035; }
.cta__inner { display: grid; gap: 1rem; padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta h2 { max-width: 15em; }
.cta .lede { margin-bottom: 0; }
@media (min-width: 60em) { .cta__inner { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; } .cta .actions { margin: 0; } }

.quote { scroll-margin-top: var(--header); }
.quote__grid { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 60em) { .quote__grid { grid-template-columns: 1fr minmax(0, 29rem); gap: clamp(3rem, 6vw, 5.5rem); } }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60em) { .contact { grid-template-columns: 1fr minmax(0, 32rem); gap: clamp(3rem, 7vw, 6rem); } .contact__details { position: sticky; top: calc(var(--header) + 2rem); } }

.contact-list { display: grid; gap: .6rem; margin-top: 2rem; }
.contact-list a, .contact-list__item { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--white); color: var(--navy); font-size: clamp(.9375rem, 4.3vw, 1.1875rem); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; transition: translate .3s var(--ease); }
.contact-list a:hover { translate: 4px 0; }
.contact-list .icon { width: 1.35rem; height: 1.35rem; color: var(--orange); }
.contact-list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.on-dark .contact-list a { background: rgba(255, 255, 255, .1); color: var(--white); }
.on-dark .contact-list small { color: var(--mist); }

.social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social .hex { width: 2.875rem; background: var(--navy-tint); }
.social--light .hex { background: var(--navy); }

.map iframe { display: block; width: 100%; height: clamp(20rem, 46vw, 30rem); border: 0; }

/* ---------- Inner page heading ---------- */

/* Every heading gets the same deep navy: the photo is toned down to a faint texture. */
.page-head .photo-panel > img { filter: grayscale(1) brightness(.6); }
.page-head .photo-panel::before { background: linear-gradient(98deg, rgba(19, 58, 91, .96), rgba(19, 58, 91, .88)); }
.page-head .photo-panel__inner { padding-block: calc(var(--header) + clamp(3rem, 7vw, 5rem)) clamp(3rem, 7vw, 5rem); }
.page-head h1 { margin: 0; }
.js .page-head h1 { animation: rise .9s var(--ease) both; }

.intro { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.intro .lede { max-width: none; margin: 0; }

/* ---------- Gallery ---------- */

.gallery__tools { display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.js .gallery__tools { display: flex; }
.chips { display: flex; gap: .5rem; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  min-height: 2.875rem; padding: .5rem 1.15rem; white-space: nowrap; cursor: pointer;
  border: 0; border-radius: var(--radius); background: var(--white); color: var(--navy); font-size: 1rem; font-weight: 500;
  transition: background-color .25s, color .25s;
}
.chip:hover { background: var(--mist-light); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.gallery__count { margin: 0; font-size: .9375rem; }

.gallery { columns: 2; column-gap: .75rem; }
.gallery__item { display: block; margin-bottom: .75rem; overflow: hidden; break-inside: avoid; border-radius: var(--radius); background: var(--mist-light); }
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; transition: scale .8s var(--ease); }
.gallery__item:hover img { scale: 1.05; }
.js .gallery__item:not([hidden]) { animation: rise .6s var(--ease) both; }
.gallery__more { display: flex; justify-content: center; margin-top: 2.5rem; }
.gallery__more:has([hidden]) { display: none; }
@media (min-width: 44em) { .gallery { columns: 3; column-gap: 1rem; } .gallery__item { margin-bottom: 1rem; } }
@media (min-width: 68em) { .gallery { columns: 4; } .chips { margin: 0; padding: .25rem 0; flex-wrap: wrap; overflow: visible; } }

/* ---------- Lightbox ---------- */

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--mist); color: var(--navy); overflow: hidden; }
.lightbox::backdrop { background: var(--mist); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox__figure { display: grid; gap: .9rem; justify-items: center; max-width: min(92vw, 78rem); touch-action: pan-y; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); transition: opacity .25s; }
.lightbox.is-loading .lightbox__figure img { opacity: .35; }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; max-width: 44rem; padding-inline: 1rem; font-size: .9375rem; font-weight: 500; text-align: center; }
.lightbox__count { color: var(--ink); font-variant-numeric: tabular-nums; }
.lightbox button { position: absolute; z-index: 2; cursor: pointer; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__arrow { bottom: 1rem; }
.lightbox__arrow--prev { left: 1rem; }
.lightbox__arrow--next { right: 1rem; }
@media (min-width: 56em) { .lightbox__arrow { top: 50%; bottom: auto; translate: 0 -50%; } .lightbox__figure { max-width: calc(100vw - 11rem); } .lightbox__figure img { max-height: calc(100dvh - 6.5rem); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Thank you / 404 ---------- */

.notice .steps { margin-top: 2.5rem; }
.notice .actions { margin-top: 2.5rem; }
.notice__aside { margin: 2rem 0 0; }
.notice__links { display: grid; gap: 1rem 2.5rem; justify-items: start; margin-top: 2.25rem; }
@media (min-width: 40em) { .notice__links { grid-template-columns: repeat(2, auto); justify-content: start; } }
@media (min-width: 64em) { .notice__links { grid-template-columns: repeat(3, auto); } }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section); padding-top: clamp(3.5rem, 8vw, 5.5rem); color: var(--mist);
  background: var(--navy) var(--comb-corner) no-repeat right -2rem top -2.5rem / clamp(14rem, 30vw, 21rem) auto;
}
/* A closing panel runs straight into the footer, parted by a hairline. */
main:has(> :is(.cta, .quote, .map):last-child) + .site-footer { margin-top: 0; border-top: 1px solid rgba(217, 223, 231, .2); }
.site-footer__grid { display: grid; gap: 2.75rem; }
.site-footer__brand img { width: 13.5rem; height: auto; margin-left: -.5rem; }
.site-footer__brand p { max-width: 24rem; margin: 1.25rem 0 0; }
.site-footer h2 { margin-bottom: 1.1rem; font-size: .8125rem; letter-spacing: .14em; color: var(--white); }
.site-footer__col li + li { margin-top: .15rem; }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: .7rem; padding: .35rem 0; color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__col a { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .3s; }
.site-footer__col a:hover { color: var(--white); background-size: 100% 2px; }
.site-footer__contact .icon { color: var(--orange); }
.site-footer__base { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.5rem; border-top: 1px solid rgba(217, 223, 231, .2); font-size: .875rem; }
.site-footer__base p { margin: 0; }
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.5fr 1fr .8fr 1.25fr; gap: 3rem; } .site-footer__brand { grid-column: auto; } }

/* ---------- Mobile action bar ---------- */

.action-bar {
  position: fixed; left: var(--inset); right: var(--inset); bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 34px -10px rgba(19, 58, 91, .55);
  transform: translateY(160%); transition: transform .45s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.5rem; font-size: 1.1875rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.action-bar__call { color: var(--navy); }
.action-bar__call .icon { color: var(--orange); }
.action-bar__quote { background: var(--orange); color: var(--white); }
@media (max-width: 63.99em) { .site-footer { padding-bottom: 4.5rem; } }
@media (min-width: 64em) { .action-bar { display: none; } }

/* ---------- Scroll reveals ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Photos wipe in from the side. The wipe is on the photo, not its frame: a frame clipped
   to nothing never counts as "in view", so the photo would never be revealed. */
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] img { clip-path: inset(0 100% 0 0); scale: 1.12; transition: clip-path 1.1s var(--ease), scale 1.6s var(--ease); }
.js .bleed--flip [data-reveal="wipe"] img { clip-path: inset(0 0 0 100%); }
.js [data-reveal="wipe"].is-visible img { clip-path: inset(0); scale: 1; }

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