/* =========================================================
   Pristine Groundworks Ltd – Home
   ========================================================= */

:root {
  --gold: #A47B00;
  --navy: #350200;
  --grey: #686464;
  --white: #FFFFFF;
  --black: #000000;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 96px;
  --cta-bg: url('../img/asset-7a.webp');
  --footer-bg: #1B140F;   /* brown-black */
  --footer-fade: 320px;   /* how far the Section 7 photo shows through the footer */
  --footer-cols: 1.2fr .7fr 1.6fr 1.4fr .9fr; /* about · nav · areas · hours · social (bottom bar shares it) */
}

/* ---------- Perpendicular edges policy ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}
/* Circular assets keep their own round artwork (PNG transparency); nothing is CSS-rounded. */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

.section { padding-block: clamp(64px, 8vw, 110px); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Typography ---------- */
.h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.h2--center { text-align: center; }

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800; /* Manrope ExtraBold */
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.body { color: var(--grey); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: var(--font);
  font-weight: 600; /* Manrope Semibold */
  font-size: 16px;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--white);
  color: var(--gold);
  border-color: var(--white);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}

.header-inner {
  max-width: 1440px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* 0A */
.logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  flex-shrink: 0;
}
.logo img { width: 230px; }

/* 0B */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-list a:hover,
.nav-list a.is-active,
.dropdown-toggle:hover,
.has-dropdown:hover > .dropdown-toggle,
.has-dropdown.is-open > .dropdown-toggle { color: var(--gold); }

.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown a { display: block; padding: 10px 20px; font-size: 15px; }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown-toggle svg { transition: transform .2s ease; }
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }

/* 0C */
.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-contact__icon {
  width: 52px;
  filter: brightness(0) invert(1); /* navy line-art shown white over the hero */
}
.header-contact__links { display: flex; flex-direction: column; line-height: 1.3; }
.header-contact__phone {
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.header-contact__email {
  color: var(--white);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header-contact a:hover { color: var(--gold); }
.header-contact__phone:hover { color: var(--white); }

/* Mobile toggle */
.nav-toggle {
  flex-shrink: 0;
  display: none;
  width: 48px; height: 48px;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  padding: 13px 11px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
  color: var(--white);
}
/* explicit size: Safari can collapse width-less spans inside a flex button */
.nav-toggle span { display: block; flex: none; width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 0D */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  padding: 0;
  background: transparent;
  border: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top img { width: 100%; }

/* =========================================================
   SECTION 1 – HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: max(640px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* iOS Low Power Mode blocks autoplay and draws a big native play button; hide it so the poster shows clean */
.hero__bg::-webkit-media-controls-start-playback-button,
.hero__bg::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.hero__toggle {
  position: absolute;
  left: var(--gutter); bottom: 24px;
  z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  opacity: .75;
  transition: opacity .2s ease, background-color .2s ease;
}
.hero__toggle:hover, .hero__toggle:focus-visible { opacity: 1; background: rgba(0,0,0,.6); }
.hero__toggle .icon-play { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }
.hero__toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.7) 100%);
}
.hero__content {
  position: relative;
  max-width: 1040px;
  padding-top: var(--header-h);
  padding-bottom: 60px;
  text-align: center;
}
.hero__sub {
  color: var(--gold);
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 400;
  margin-bottom: 14px;
}
.hero__title {
  color: var(--white);
  font-size: clamp(35px, 5.2vw, 63px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__body {
  color: #FAFAFA;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 34px;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Homepage hero: left-aligned copy that wraps at the centre of the page,
   with the logo repeated large at the bottom, fading out */
.hero--home {
  min-height: max(700px, 100vh);
  --hero-logo-w: min(calc(var(--container) - 2 * var(--gutter)), calc(100vw - 2 * var(--gutter)));
}
.hero--home .hero__content {
  max-width: var(--container);
  text-align: left;
  --hero-shift: clamp(40px, 5.8vw, 83px); /* how far the copy sits below the header; scales with width */
  padding-top: calc(var(--header-h) + var(--hero-shift));
  /* keep the copy clear of the logo at the bottom */
  padding-bottom: calc(var(--hero-logo-w) / 7.36 + 150px - var(--hero-shift));
}
.hero--home .hero__title,
.hero--home .hero__body {
  /* from the content's left edge to the middle of the page */
  max-width: calc(50vw - max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)));
}
.hero--home .hero__title {
  /* Sized so the longer headline fills the same block as the original 62px version */
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 400;
  text-transform: none;
  line-height: 1.12;
}
/* Narrower screens: matched to the original headline's line count at each width */
@media (max-width: 860px) { .hero--home .hero__title { font-size: clamp(28px, 4.55vw, 40px); } }
@media (max-width: 480px) { .hero--home .hero__title { font-size: 30px; } }
@media (max-width: 360px) { .hero--home .hero__title { font-size: 28px; } }
.hero--home .hero__body { margin: 0; }
/* Copy stays in the left column; the CTA mirrors to the right edge, sitting a little lower */
.hero--home .hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.hero--home .hero__title,
.hero--home .hero__body { grid-column: 1; }
.hero--home .btn {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end; /* CTA bottom lines up with the bottom of the paragraph's last line */
}
.hero__logo {
  position: absolute;
  left: 50%; bottom: 32px; /* just above the bottom edge of the hero */
  width: var(--hero-logo-w);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .8;
  /* fades out towards the bottom of the hero */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.08) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.08) 100%);
}
@media (max-width: 860px) {
  .hero--home .hero__title,
  .hero--home .hero__body { max-width: none; }
  .hero--home .hero__content { grid-template-columns: 1fr; }
  .hero--home .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 34px; }
}

/* =========================================================
   SECTION 2 – INTRO
   ========================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.intro__media {
  position: relative;
  display: flex;
  flex-direction: column; /* photos stacked edge to edge */
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.intro__photo { width: 100%; aspect-ratio: 382 / 510; object-fit: cover; }
.intro__badge {
  position: absolute;
  right: -40px; top: 50%; /* both photos share a 3:4 ratio, so the join sits at 50% */
  width: 128px;
  transform: translateY(-50%);
}
.intro__photo--square { aspect-ratio: 1 / 1; }
.intro__badge--bottom { top: auto; bottom: -40px; transform: none; }
.intro__copy { margin-bottom: 36px; }
.intro__copy p + p { margin-top: 16px; }
.pillar__copy p + p { margin-top: 12px; }

.pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(53,2,0,.12);
}
.pillar__icon { width: 64px; margin-top: -6px; }
.pillar__title {
  color: var(--navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

/* =========================================================
   SECTION 3 – SERVICES GRID
   ========================================================= */
.services {
  background: var(--white) url('../img/asset-3bg.webp') center / cover no-repeat; /* image already faded – no overlay */
}
.services__title {
  font-size: clamp(31px, 3.2vw, 43px); /* 3px larger than the standard .h2 */
  margin-bottom: 44px;
}

.services-grid {
  --card: clamp(150px, 15vw, 210px);
  --gap: 16px;
  display: grid;
  grid-template-columns: repeat(4, var(--card));
  justify-content: center;
  gap: var(--gap);
}
.service-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .3s ease;
}
.service-card__icon {
  width: clamp(34px, 3vw, 44px);
  height: auto;
  flex-shrink: 0;
  color: var(--white);
  background: transparent;
}
/* Transparent boxes with a white double-line border (replaces the solid navy / gold fills) */
.service-card--navy,
.service-card--gold {
  /* See-through "smoked glass": a light tint and blur keep the white text readable over the photo */
  background: rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 6px double var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.service-card span { position: relative; padding-bottom: 12px; }
.service-card span::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 28px; height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width .3s ease;
}
/* Hover / keyboard focus: no fill change, just the underline growing */
.service-card:hover span::after,
.service-card:focus-visible span::after { width: 48px; }

/* 3E */
.divider {
  position: relative;
  z-index: 5;
  height: 0; /* takes no space; the CTA is pulled up to sit across the section boundary */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-inline: var(--gutter);
}
.divider__cta {
  position: relative;
  display: block;
  width: min(487px, 100%);
  transform: translateY(-50%);
  text-decoration: none;
}
.divider__cta img { width: 100%; }
/* White hover panel sized to the visible bar inside the PNG's transparent padding */
.divider__cta::before {
  content: '';
  position: absolute;
  inset: 17.5% 3.9% 12.5% 2.5%;
  background: var(--white);
  opacity: 0;
  transition: opacity .25s ease;
}
.divider__cta span {
  position: absolute;
  inset: 17.5% 3.9% 12.5% 2.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700; /* Manrope Bold */
  font-size: clamp(15px, 3.8vw, 18px);
  letter-spacing: .02em;
  transition: color .25s ease;
}
.divider__cta:hover::before,
.divider__cta:focus-visible::before { opacity: 1; }
.divider__cta:hover span,
.divider__cta:focus-visible span { color: var(--gold); }

/* =========================================================
   SECTION 4 – PORTFOLIO
   ========================================================= */
.portfolio {
  /* White wash keeps the navy line drawing behind the headline and photos readable */
  background:
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)),
    var(--white) url('../img/asset-4bg.webp?v=2') center bottom / cover no-repeat;
}
.portfolio__head { position: relative; margin-bottom: 40px; }
.portfolio__title { font-size: clamp(20px, 3.2vw, 32px); } /* 8px smaller than the standard .h2 */
.portfolio__link {
  position: absolute;
  top: 0; right: var(--gutter);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.portfolio__link:hover { color: var(--gold); }


.carousel {
  position: relative;
  padding-inline: 76px;
  max-width: 1600px;
  margin-inline: auto;
}
.carousel__track {
  --visible: 4;
  --gap: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; }
.carousel__slide a { display: block; overflow: hidden; }
.carousel__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.carousel__slide a:hover img { transform: scale(1.04); }

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--white);
  border: 0;
  transform: translateY(-50%);
  transition: background-color .2s ease;
}
.carousel__btn:hover { background: var(--black); }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

/* =========================================================
   SECTION 5 – REVIEWS
   ========================================================= */
.reviews { padding-top: 0; }

/* Map of our base: under the reviews on the homepage, before Section 7 elsewhere */
.find-us { padding-top: 0; }
.find-us__map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 1px solid #E6DFD6;
  background: #F2EEE8;
}
@media (max-width: 560px) { .find-us__map iframe { height: 280px; } }
.reviews__widget {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(53,2,0,.35);
  background: #FAFAF9;
}
.reviews__placeholder {
  color: var(--grey);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Remove the placeholder look once a widget is embedded */
.reviews__widget:has(> :not(.reviews__placeholder)) { border: 0; background: none; min-height: 0; display: block; }

/* =========================================================
   SECTION 6 – LOCATIONS
   ========================================================= */
.locations {
  background: #F7F6F4;
  padding-top: clamp(48px, 6vw, 84px); /* a little tighter than the standard section top */
}
.locations .h2 { margin-bottom: 44px; }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.locations__more { margin-top: 36px; text-align: center; }
.locations__more-title { color: var(--navy); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.locations__more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.locations__more a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(53,2,0,.15);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.locations__more a:hover { background: var(--navy); color: var(--white); }
.locations__more .locations__all { margin-top: 22px; border: 0; background: none; color: var(--navy); border-bottom: 2px solid var(--gold); padding: 0 0 2px; }
.locations__more .locations__all:hover { background: none; color: var(--gold); }
.location-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy);
}
.location-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.location-card::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(104,100,100,0); /* light grey tint on hover */
  transition: background-color .3s ease;
}
.location-card:hover::after,
.location-card:focus-visible::after { background: rgba(200,200,200,.35); }
.location-card:hover img { transform: scale(1.03); }

.location-card--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #CFC6B9 0%, #B9C3CF 100%);
  text-decoration: none;
}
.location-card--placeholder span {
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3vw, 42px);
  text-shadow: 0 1px 6px rgba(0,0,0,.15);
}

/* =========================================================
   LOCATION PAGES
   ========================================================= */
.hero--page { min-height: max(560px, 70vh); }
.hero--page .hero__title { font-size: clamp(32px, 4.4vw, 54px); }
.breadcrumb { margin-bottom: 22px; font-size: 14px; }
.breadcrumb ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { color: rgba(255,255,255,.75); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--gold); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.local { background: #F7F6F4; }
.local__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.local__areas, .local__nearby { display: flex; flex-wrap: wrap; gap: 10px; }
.local__areas li {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid rgba(53,2,0,.15);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.local__subtitle { color: var(--navy); font-size: 18px; font-weight: 700; margin: 32px 0 14px; }
.local__nearby a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}
.local__nearby a:hover, .local__nearby a:focus-visible { background: var(--black); }

.faq__item { border-top: 1px solid rgba(53,2,0,.15); }
.faq__item:last-child { border-bottom: 1px solid rgba(53,2,0,.15); }
.faq__item summary {
  position: relative;
  padding: 18px 40px 18px 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 500;
}
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { padding-bottom: 20px; }

/* =========================================================
   SERVICE PAGES (long-form article)
   ========================================================= */
.hero--service { min-height: max(520px, 64vh); }
.article { background: var(--white); }
.article__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.article__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 24px;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.toc { border-left: 2px solid rgba(53,2,0,.12); padding-left: 18px; }
.toc__title {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--grey); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s ease; }
.toc a:hover, .toc a.is-current { color: var(--gold); }
.aside-cta { background: var(--navy); color: rgba(255,255,255,.85); padding: 24px; font-size: 14px; }
.aside-cta__title { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.aside-cta .btn { display: block; text-align: center; margin: 16px 0 12px; padding: 14px 20px; }
.aside-cta__phone { color: var(--gold); font-weight: 700; text-decoration: none; }

.prose { min-width: 0; max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--grey); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 2.2em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 { color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.3; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose__intro { font-size: 19px; color: #3d3a3a; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--navy); font-weight: 700; }
.prose .checklist { list-style: none; padding-left: 0; }
.prose .checklist li { position: relative; padding-left: 32px; }
.prose .checklist li::before {
  content: '';
  position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prose caption { text-align: left; color: var(--navy); font-weight: 700; font-size: 15px; padding-bottom: 10px; }
.prose th { background: var(--navy); color: var(--white); text-align: left; font-weight: 700; padding: 12px 14px; }
.prose td { padding: 12px 14px; border-bottom: 1px solid rgba(53,2,0,.1); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #F7F6F4; }
.prose td:first-child { color: var(--navy); font-weight: 600; }
.prose__figure { margin: 2em 0; }
.prose__figure img { width: 100%; max-height: 520px; object-fit: cover; }
.prose__figure figcaption { font-size: 14px; color: var(--grey); margin-top: 8px; }
.prose .faq { margin-top: 1em; }
.prose .area-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prose .area-list li { margin: 0; padding: 16px 18px; background: #F7F6F4; border-left: 3px solid var(--gold); }
.prose .area-list a { display: block; font-size: 18px; font-weight: 700; text-decoration: none; }
.prose .area-list span { display: block; font-size: 15px; line-height: 1.5; margin-top: 4px; }
@media (max-width: 640px) { .prose .area-list { grid-template-columns: 1fr; } }
.services-here { padding: 24px 28px; background: #F7F6F4; border-left: 4px solid var(--gold); }
.services-here h3 { margin-top: 0; }
.services-here ul { margin: 12px 0 0; padding-left: 1.2em; }
.map-embed { position: relative; aspect-ratio: 16 / 9; background: #EEE; overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .map-embed__link { margin-top: .6em; font-size: 15px; }
.also-serve { margin-top: 3em; padding: 28px; background: #F7F6F4; }
.also-serve h2 { margin-top: 0; font-size: 22px; }
.also-serve ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also-serve li + li { margin-top: 0; }
.also-serve a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease;
}
.also-serve a:hover { background: var(--black); color: var(--white); }

@media (max-width: 1000px) {
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .article__aside { position: static; grid-template-columns: 1fr 1fr; max-height: none; overflow: visible; }
}
@media (max-width: 640px) {
  .article__aside { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .prose__intro { font-size: 17px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.hero--contact { min-height: max(380px, 46vh); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.contact__intro { font-size: 18px; color: #3d3a3a; margin-bottom: 28px; }
.contact__list { display: grid; gap: 20px; margin-bottom: 32px; }
.contact__list li { padding-left: 16px; border-left: 3px solid var(--gold); }
.contact__label {
  display: block;
  color: var(--grey);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact__value { color: var(--navy); font-size: 18px; font-weight: 700; font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
a.contact__value:hover { color: var(--gold); }
.contact__value--big { font-size: clamp(26px, 3vw, 34px); }
.contact__map { position: relative; min-height: 420px; display: flex; flex-direction: column; }
.contact__map iframe { flex: 1; width: 100%; min-height: 380px; border: 0; background: #EEE; }
.contact__directions { align-self: flex-start; margin-top: 12px; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.contact__directions:hover { color: var(--gold); }
.contact__areas { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.contact__areas .locations__more { margin-top: 0; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
}

/* =========================================================
   COMING SOON (holding pages: Our Work, About Us, Blog)
   ========================================================= */
.coming-soon__inner { max-width: 720px; text-align: center; }
.coming-soon__eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.coming-soon__title { color: var(--navy); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.coming-soon__body { font-size: 18px; color: #3d3a3a; margin-bottom: 32px; }
.coming-soon__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.coming-soon__link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.coming-soon__link:hover { color: var(--gold); }

/* =========================================================
   SECTION 7 – CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow-x: clip; /* the zoomed photo must not widen the page; it may still run down into the footer */
  padding-block: clamp(90px, 10vw, 140px);
}
/* The photo runs on below the banner, behind the top of the footer, so the
   footer can fade out of it (see .site-footer) */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0 0 calc(-1 * var(--footer-fade)) 0;
  z-index: -1;
  background: var(--cta-bg) center / cover no-repeat;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(27,20,15,.8));
}
.cta-banner__inner { position: relative; text-align: center; }
.cta-banner__title {
  color: var(--gold);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
}

/* =========================================================
   SECTION 8 – FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1; /* sits over the banner photo's continuation */
  /* Brown-black that starts as an 80% wash over the Section 7 photo (matching the
     banner's bottom edge) and becomes solid by the end of --footer-fade */
  background: linear-gradient(180deg, rgba(27,20,15,.8) 0, var(--footer-bg) var(--footer-fade));
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: var(--footer-cols);
  gap: 36px;
  padding-block: 72px 56px;
}
.logo--footer { padding: 0; margin-bottom: 14px; }
.logo--footer img { width: 200px; }
.footer-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links li + li { margin-top: 5px; }
/* Two flowing columns, so a long name wrapping doesn't leave gaps in the other column */
.footer-areas { columns: 2; column-gap: 20px; }
.footer-areas li + li { margin-top: 0; }
.footer-areas li { margin-bottom: 5px; break-inside: avoid; }
.footer-links a {
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--gold); }

.footer-about { margin-bottom: 18px; }
.footer-address {
  display: flex;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-address svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.footer-address address { font-style: normal; line-height: 1.6; }
.footer-address:hover { color: var(--gold); }
.footer-social-intro { margin-bottom: 14px; }
.footer-hours { color: var(--white); margin-bottom: 16px; }
.footer-hours span { color: var(--gold); font-weight: 700; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.footer-phone svg { color: var(--gold); flex-shrink: 0; width: 26px; height: 26px; }
.footer-phone small { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); }
.footer-phone:hover { color: var(--gold); }
.footer-email {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap; /* keep the address on one line */
}
/* Narrow desktops: allow the address to break after "info@" rather than overflow */
@media (max-width: 1279px) and (min-width: 1081px) {
  .footer-email { white-space: normal; }
}

.social { display: flex; gap: 12px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  transition: background-color .2s ease, border-color .2s ease;
}
.social a:hover { background: var(--gold); border-color: var(--gold); }

/* =========================================================
   SECTION 9 – BOTTOM BAR
   ========================================================= */
.bottom-bar { background: var(--black); font-size: 14px; }
.bottom-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
}
/* Desktop: share the footer's column grid so the credit lines up with "Business Hours" */
@media (min-width: 1081px) {
  .bottom-bar__inner {
    display: grid;
    grid-template-columns: var(--footer-cols);
    gap: 36px;
  }
  .bottom-bar__inner p:first-child { grid-column: 1 / -3; }
  .bottom-bar__inner p:last-child { grid-column: -3 / -1; } /* starts at the Business Hours column */
}
.bottom-bar a { color: var(--gold); text-decoration: none; }
.bottom-bar a:hover { color: var(--white); }
/* Deliberately small: the footer is the only way in to the privacy policy */
.bottom-bar a.bottom-bar__privacy {
  margin-left: 10px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bottom-bar a.bottom-bar__privacy:hover { color: var(--white); }
.bottom-bar a.bottom-bar__portal {
  margin-left: 6px;
  color: rgba(255,255,255,.22);
  display: inline-flex;
  vertical-align: middle;
  text-decoration: none;
}
.bottom-bar a.bottom-bar__portal:hover { color: var(--gold); }

/* About us page */
.about .prose { margin-inline: auto; }
.profiles { max-width: 980px; margin: clamp(48px, 6vw, 80px) auto; }
.profiles__title { color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-align: center; margin-bottom: 32px; }
.profiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.profile { background: #F7F3EE; border-top: 3px solid var(--gold); padding-bottom: 28px; }
.profile__photo {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile__photo span { font-family: 'Times New Roman', Times, serif; font-size: clamp(72px, 9vw, 110px); color: var(--gold); line-height: 1; }
.profile__role, .profile__name, .profile__bio { padding-inline: 28px; }
.profile__role { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.profile__name { color: var(--navy); font-size: 26px; font-weight: 800; margin: 4px 0 10px; }
.profile__bio { font-size: 16px; line-height: 1.7; color: #3d3a3a; }
@media (max-width: 700px) { .profiles__grid { grid-template-columns: 1fr; } }

/* Quotes from customers */
.quote { margin: 0; background: #F7F3EE; border-left: 3px solid var(--gold); padding: 26px 28px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: #3d3a3a; }
.quote blockquote::before { content: '\201C'; display: block; font-family: 'Times New Roman', Times, serif; font-size: 54px; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.quote figcaption { margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 15px; }
.quote--feature { background: var(--navy); border-left-color: var(--gold); }
.quote--feature blockquote { color: var(--white); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.quote--feature figcaption { color: var(--gold); }

.testimonials { max-width: 980px; margin: clamp(48px, 6vw, 80px) auto; }
.testimonials__title { color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 800; text-align: center; margin-bottom: 32px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* Resin specialists panel (About Us and the resin service page) */
.resin-callout {
  max-width: 980px; margin: clamp(48px, 6vw, 80px) auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  border-top: 3px solid var(--gold); padding-top: clamp(28px, 4vw, 40px);
}
.resin-callout__eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resin-callout__title { color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 6px 0 14px; }
.resin-callout__text p:not(.resin-callout__eyebrow) { font-size: 17px; line-height: 1.75; color: var(--grey); }
.resin-callout__link { display: inline-block; margin-top: 16px; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.resin-callout__link:hover { color: var(--gold); }
@media (max-width: 760px) { .resin-callout { grid-template-columns: 1fr; } }
.prose .resin-callout { max-width: none; margin: 2em 0; }
.resin-home .resin-callout { margin-block: 0; }
.resin-callout__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }

.quotes-inline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 700px) { .quotes-inline { grid-template-columns: 1fr; } }

/* Guarantees and warranties trust cards */
.guarantees { max-width: 980px; margin: clamp(48px, 6vw, 80px) auto; }
.guarantees__header { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.guarantees__title { color: var(--navy); font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 6px 0 12px; }
.guarantees__sub { font-size: 17px; line-height: 1.7; color: var(--grey); margin: 0; }
.guarantee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guarantee-card {
  background: #F7F3EE;
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  display: flex; flex-direction: column;
}
.guarantee-card__badge {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.guarantee-card__title {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.guarantee-card__desc { font-size: 15px; line-height: 1.6; color: #3d3a3a; margin: 0; }
.guarantees__note { font-size: 13px; color: #767171; text-align: center; margin-top: 20px; }
@media (max-width: 768px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

.about__company { font-size: 13px !important; color: #8a8585; margin-top: 2.4em !important; }

/* Click-to-advance photo gallery */
.gallery { margin: 1.6em 0 2.2em; }
.gallery__frame { position: relative; background: #1B140F; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.gallery__img[hidden] { display: none; }
.gallery__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0;
  background: rgba(27,20,15,.65); color: var(--white); font-size: 30px; line-height: 1;
}
.gallery__btn:hover { background: var(--gold); }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }
.gallery__count { margin-top: 10px !important; font-size: 14px; color: var(--grey); text-align: right; }

/* Blog listing */
.blog-list__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.post-card { background: #F7F3EE; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.post-card__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { color: var(--grey); font-size: 13px; margin-bottom: 8px; }
.post-card__title { font-size: 21px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 15px; line-height: 1.65; color: #3d3a3a; margin-bottom: 18px; }
.post-card__more { margin-top: auto; align-self: flex-start; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.post-card__more:hover { color: var(--gold); }

/* Blog posts */
.hero__date { color: rgba(255,255,255,.8); font-size: 14px; margin: -6px 0 22px; }
.prose figure { margin: 2em 0; }
.prose figure img { display: block; width: 100%; height: auto; }
.prose figure figcaption { margin-top: 8px; font-size: 14px; color: var(--grey); }

/* Projects & Our Work Showcase */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 36px;
  justify-content: center;
}
.project-filter-btn {
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
}
.project-filter-btn:hover, .project-filter-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.project-card {
  background: #F7F3EE;
  border-top: 3px solid var(--gold);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
}
@media (max-width: 900px) {
  .project-card { grid-template-columns: 1fr; }
}
.project-card__gallery {
  position: relative;
  background: #1B140F;
}
.project-card__gallery .gallery { margin: 0; }
.project-card__gallery .gallery__frame { height: 100%; aspect-ratio: 4 / 3; }
.project-card__body {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
}
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.project-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
}
.project-tag--service { background: var(--navy); color: var(--white); }
.project-tag--location { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.project-card__title {
  color: var(--navy);
  font-size: clamp(22px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}
.project-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #3d3a3a;
  margin: 0 0 20px;
}
.project-card__specs {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border-top: 1px solid rgba(27,20,15,0.1);
  padding-top: 16px !important;
}
.project-card__specs li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-card__specs strong {
  min-width: 120px;
  color: #635e59;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project-card__specs a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.project-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.project-card__more-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.project-card__more-link:hover { color: var(--gold); }
.project-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(27,20,15,0.85);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.15);
}

/* =========================================================
   OUR WORK: before and after sliders, galleries, case studies
   ========================================================= */
.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1B140F;
  touch-action: pan-y;
  user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.35); pointer-events: none;
}
.ba__label {
  position: absolute; top: 12px; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white); background: rgba(27,20,15,.75); pointer-events: none;
}
.ba__label--before { left: 12px; }
.ba__label--after { right: 12px; }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range:focus-visible + .ba__handle, .ba__range:focus-visible ~ .ba__handle { outline: 3px solid var(--white); outline-offset: 2px; }
.ba figcaption { margin-top: 10px; font-size: 15px; line-height: 1.55; color: #3d3a3a; }
.ba__tag { display: inline-block; margin-right: 8px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.prose .ba, .prose .work-photo { margin: 2em auto; max-width: 620px; }
.prose .ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 2em 0; }
.prose .ba-pair .ba { margin: 0; max-width: none; }
@media (max-width: 640px) { .prose .ba-pair { grid-template-columns: 1fr; } }
.work-photo img { display: block; width: 100%; height: auto; }
.work-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--grey); }

.work-section { padding-top: 0; }
.work-section + .work-section { padding-top: clamp(24px, 3vw, 40px); }
.work-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.work-head__eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.work-head__title { color: var(--navy); font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 6px 0 12px; }
.work-head p:not(.work-head__eyebrow) { font-size: 17px; line-height: 1.7; color: var(--grey); }
.work-intro { max-width: 760px; margin: 0 auto; text-align: center; font-size: 18px; line-height: 1.75; color: #3d3a3a; }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px 28px; }
.work-more { text-align: center; margin-top: 36px; }

.ba-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.ba-filter button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1px solid #E6DFD6;
}
.ba-filter button[aria-pressed="true"], .ba-filter button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
[data-ba-item][hidden] { display: none; }

.work-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.work-gallery figure { margin: 0; }
.work-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.work-gallery figcaption { margin-top: 6px; font-size: 13px; color: var(--grey); line-height: 1.45; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.project-card { background: #F7F3EE; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.project-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card__tag { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.project-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.project-card__title a { color: var(--navy); text-decoration: none; }
.project-card__title a:hover { color: var(--gold); }
.project-card__text { font-size: 15px; line-height: 1.6; color: #3d3a3a; margin-bottom: 16px; }
.project-card__more { margin-top: auto; align-self: flex-start; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }

/* Plain hero for case studies (their photos are too small to stretch full width) */
.hero--plain { min-height: max(360px, 44vh); background: var(--navy); }
.hero--plain .hero__overlay { display: none; }

/* Privacy policy page */
.hero--privacy { min-height: max(340px, 40vh); }
.privacy__body { margin-inline: auto; }
.privacy__updated { font-size: 14px; color: var(--grey); }
.privacy__body ul, .about .prose ul { list-style: disc; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .header-contact__links { display: none; }
  .header-inner { gap: 20px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: flex; }
  .header-contact { order: 2; margin-left: auto; }
  .header-contact__links { display: flex; }
  .header-contact__email { display: none; }
  .header-contact__icon { display: none; }
  .nav-toggle { order: 3; margin-left: 0; }

  .main-nav {
    position: fixed;
    top: var(--header-h); right: 0; bottom: 0;
    width: min(360px, 100%);
    background: var(--navy);
    padding: 24px;
    margin: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a, .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .dropdown {
    position: static;
    min-width: 0;
    border-top: 0;
    padding: 0 0 0 16px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }

  .site-header.menu-open { background: var(--navy); }

  .carousel__track { --visible: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 860px) {
  .local__grid { grid-template-columns: 1fr; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { justify-self: center; max-width: 420px; margin-right: 40px; }

  .services-grid { --card: 1fr; --gap: 12px; }
  .service-card { padding: 12px; font-size: 15px; gap: 10px; }

  .portfolio__link { position: static; display: table; margin: 0 auto 24px; }

  .carousel__track { --visible: 2; }
  .carousel { padding-inline: 64px; }
  .locations__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --header-h: 72px; }

  .header-inner { gap: 12px; }
  .logo { padding: 0; flex-shrink: 1; min-width: 0; }
  .logo img { width: 150px; }
  .header-contact__phone { font-size: 15px; }

  .btn { padding: 16px 28px; }

  .intro__badge { width: 92px; right: -24px; }
  .intro__media { margin-right: 24px; }

  /* Two columns on phones: navy cards first, then gold */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { aspect-ratio: auto; min-height: 136px; padding: 14px 10px; font-size: 15px; }

  .carousel { padding-inline: 0; }
  .carousel__track { --visible: 1.15; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .carousel__btn { display: none; }

  .locations__grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 48px; }
  .bottom-bar__inner { flex-direction: column; text-align: center; }

  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

/* =========================================================
   MOTION
   Everything below only runs when html has .anim (set in <head>
   unless the visitor prefers reduced motion), so without JS or
   with reduced motion the page simply shows as normal.
   Individual translate / scale / rotate properties are used so
   existing transforms (e.g. centring) are never overwritten.
   ========================================================= */
:root { --ease-out: cubic-bezier(.16, .84, .32, 1); }
/* side-sliding reveals must never create a horizontal scrollbar */
body { overflow-x: clip; }

/* ---------- Scroll progress line under the header ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), #D9B44A);
  transform-origin: 0 50%;
  scale: 0 1;
  pointer-events: none;
}

/* ---------- Hero entrance ---------- */
/* backwards, not both: a retained translate makes Safari treat the header as the
   containing block for the fixed mobile menu, which then collapses to the header's height */
.anim .site-header { animation: header-in .8s var(--ease-out) backwards; }
@keyframes header-in { from { opacity: 0; translate: 0 -24px; } }

/* Headline: hidden until main.js has split it into words, then each word rises out of a mask */
.anim .hero__title:not(.is-split) { opacity: 0; }
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.hero__title .w > span {
  display: inline-block;
  animation: word-up 1s var(--ease-out) both;
  animation-delay: calc(250ms + var(--i) * 70ms);
}
@keyframes word-up { from { translate: 0 110%; rotate: 4deg; } }

.anim .hero__body,
.anim .hero__sub,
.anim .breadcrumb { animation: fade-up 1s var(--ease-out) .75s both; }
.anim .hero__content .btn { animation: slide-in-right 1s var(--ease-out) 1s both; }
.anim .hero--page .hero__content .btn { animation-name: fade-up; }
@keyframes fade-up { from { opacity: 0; translate: 0 26px; } }
@keyframes slide-in-right { from { opacity: 0; translate: 60px 0; } }

/* Big logo opens outwards from the centre, like the lines being drawn */
.anim .hero__logo { animation: logo-open 1.6s var(--ease-out) 1.1s both; }
@keyframes logo-open {
  from { clip-path: inset(0 50% 0 50%); opacity: 0; }
  30% { opacity: .8; }
  to { clip-path: inset(0 0 0 0); }
}
.anim .hero__toggle { animation: fade-up .8s var(--ease-out) 1.6s both; }

/* Slow drift on the hero background */
.anim .hero--page .hero__bg { animation: ken-burns 18s ease-out both; }
@keyframes ken-burns { from { scale: 1.12; } }

/* ---------- Scroll reveals (classes added by main.js) ---------- */
.anim [data-reveal] {
  opacity: 0;
  transition:
    opacity .9s var(--ease-out),
    translate .9s var(--ease-out),
    scale .9s var(--ease-out),
    rotate .9s var(--ease-out),
    clip-path 1.2s var(--ease-out),
    letter-spacing 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.anim [data-reveal="up"]    { translate: 0 34px; }
.anim [data-reveal="left"]  { translate: -48px 0; }
.anim [data-reveal="right"] { translate: 48px 0; }
.anim [data-reveal="zoom"]  { scale: .9; }
.anim [data-reveal="title"] { translate: 0 24px; letter-spacing: .06em; }
.anim [data-reveal="pop"]   { scale: .3; rotate: -120deg; }
.anim [data-reveal="chip"]  { scale: .7; translate: 0 10px; }
.anim [data-reveal="wipe"]  { opacity: 1; clip-path: inset(100% 0 0 0); }
.anim [data-reveal="wipe-x"] { opacity: 1; clip-path: inset(0 100% 0 0); }

.anim [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  rotate: 0deg;
  letter-spacing: normal;
  clip-path: inset(0 0 0 0);
}
/* the tick keeps its gentle overshoot */
.anim [data-reveal="pop"].is-in { transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }

/* Photos inside a wipe also settle from a slight zoom */
.anim .intro__photo[data-reveal="wipe"] { scale: 1.08; }
.anim .intro__photo[data-reveal="wipe"].is-in { scale: 1; }

/* Section 7 photo eases back as the banner arrives */
.anim .cta-banner::after { scale: 1.1; transition: scale 2.4s var(--ease-out); }
.anim .cta-banner.is-in::after { scale: 1; }

/* ---------- Hover details ---------- */
/* Gold buttons: a soft shine sweeps across */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(164,123,0,.3), transparent); /* shows on the white hover state */
  translate: -100% 0;
  skew: -20deg;
  pointer-events: none;
}
.btn--gold:hover::after { translate: 450% 0; transition: translate .8s var(--ease-out); }

/* Service icons lift and tilt */
.service-card__icon { transition: translate .4s var(--ease-out), rotate .4s var(--ease-out); }
.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon { translate: 0 -5px; rotate: -6deg; }

/* Location tiles: image drifts a little further on hover */
.location-card img { transition: transform .5s ease, scale 1.2s var(--ease-out); }
.location-card:hover img { scale: 1.06; }

/* Footer and nav links nudge right */
.footer-links a { transition: color .2s ease, translate .3s var(--ease-out); }
.footer-links a:hover { translate: 4px 0; }

/* Social icons spin a quarter */
.social a svg { transition: rotate .4s var(--ease-out); }
.social a:hover svg { rotate: 360deg; }

/* Scroll-to-top arrow bobs while hovered */
.to-top:hover img { animation: bob .9s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -4px; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .btn--gold::after { display: none; }
}
