@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #142a4a;
  --ink: var(--navy);
  --ink-soft: #2b5488;
  --paper: #f5f1e9;
  --paper-deep: #e9e0d2;
  --clay: #bb5e42;
  --clay-dark: #9d4631;
  --moss: #708269;
  --line: rgba(20, 42, 74, .14);
  --shadow: 0 18px 48px rgba(20, 42, 74, .13);
  --display: 'Libre Baskerville', Georgia, serif;
  --body: 'Manrope', 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.site-icon {
  display: inline-block;
  height: 1em;
  vertical-align: -.125em;
  width: 1em;
}

.site-icon--menu { height: 1.4rem; width: 1.4rem; }

.mobile-menu-trigger {
  min-height: 2.75rem;
  min-width: 2.75rem;
}

@media (max-width: 1023px) {
  .mobile-menu-trigger {
    align-items: center;
    display: flex;
    justify-content: center;
  }
}

body {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--body) !important;
  line-height: 1.65;
  padding-bottom: 0;
}

body::before {
  background-image: linear-gradient(rgba(20, 42, 74, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 42, 74, .025) 1px, transparent 1px);
  background-size: 28px 28px;
  content: '';
  inset: 0;
  opacity: .46;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  color: inherit;
  font-family: var(--display) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em;
}

a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(187, 94, 66, .5);
  outline-offset: 3px;
}

.bg-brand-navy { background-color: var(--ink) !important; }
.bg-brand-cream { background-color: var(--paper) !important; }
.text-brand-navy { color: var(--ink) !important; }
.text-brand-accent { color: var(--clay) !important; }
.bg-brand-accent { background-color: var(--clay) !important; }
.border-brand-accent { border-color: var(--clay) !important; }
.hover\:bg-brand-accent:hover { background-color: var(--clay-dark) !important; }
.hover\:text-brand-accent:hover { color: var(--clay) !important; }

body > .bg-brand-navy {
  background: var(--ink) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .74) !important;
  font-size: .69rem;
  letter-spacing: .045em;
  padding-block: .6rem !important;
}

#navbar {
  background: rgba(250, 248, 243, .96) !important;
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
  transition: background .24s ease, box-shadow .24s ease;
}

#navbar.is-scrolled {
  background: rgba(250, 248, 243, .98) !important;
  box-shadow: 0 10px 28px rgba(20, 42, 74, .11) !important;
}

#navbar .container { max-width: 78rem; }

#navbar .brand-logo {
  align-items: center;
  display: flex;
  height: 5.75rem;
  overflow: visible;
  width: 13.5rem;
}

#navbar .brand-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  transform: none;
  width: 100%;
}

#navbar a:not(.bg-brand-navy), #mobile-menu a {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#navbar a.bg-brand-navy {
  background: var(--ink) !important;
  border: 1px solid var(--ink);
  border-radius: 0 !important;
  font-size: .72rem;
  letter-spacing: .08em;
  padding: .82rem 1.2rem !important;
  text-transform: uppercase;
}

#navbar a.bg-brand-navy:hover { background: var(--clay) !important; border-color: var(--clay); }
#mobile-menu { background: var(--paper) !important; border-color: var(--line) !important; }

body > header.relative {
  min-height: min(47rem, calc(100vh - 5rem));
  position: relative;
}

body > header.relative > div:first-child::after {
  background: linear-gradient(106deg, rgba(12, 27, 52, .93) 5%, rgba(20, 42, 74, .72) 48%, rgba(20, 42, 74, .26) 100%);
  content: '';
  inset: 0;
  position: absolute;
}

body > header.relative > div:first-child > img {
  filter: saturate(.75) contrast(1.03);
  transform: scale(1.015);
}

body > header.relative > div:first-child > div { display: none; }

body > header.relative > .container {
  margin-inline: auto;
  max-width: 78rem;
  text-align: left !important;
}

body > header.relative h1 {
  font-size: clamp(3.5rem, 8vw, 7.4rem) !important;
  letter-spacing: -.065em !important;
  line-height: .93 !important;
  max-width: 8ch !important;
  text-shadow: none !important;
}

body > header .hero-repute {
  align-items: center;
  color: #fff !important;
  display: flex;
  font-family: var(--display) !important;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem) !important;
  gap: .8rem;
  letter-spacing: .015em;
  line-height: 1.4 !important;
  margin-top: 1.3rem !important;
}

body > header .hero-repute::before {
  background: var(--clay);
  content: '';
  height: 2px;
  width: 2.5rem;
}

body > header p {
  color: rgba(255, 255, 255, .83) !important;
  font-family: var(--body) !important;
  font-size: clamp(1rem, 1.55vw, 1.2rem) !important;
  line-height: 1.8 !important;
  margin-inline: 0 !important;
  max-width: 38rem !important;
}

body > header .inline-block {
  background: transparent !important;
  border-left: 2px solid var(--clay);
  border-radius: 0 !important;
  color: #fff !important;
  font-size: .68rem !important;
  letter-spacing: .16em !important;
  padding: .25rem 0 .25rem .75rem !important;
}

body > header a, .mobile-sticky-cta a {
  border-radius: 0 !important;
  font-size: .76rem;
  letter-spacing: .085em;
  padding: 1rem 1.35rem !important;
  text-transform: uppercase;
}

body > header a.bg-brand-accent { background: var(--clay) !important; }
body > header a.bg-brand-accent:hover { background: var(--paper) !important; color: var(--ink) !important; }

body > header + section {
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow) !important;
  max-width: 70rem !important;
}

body > header + section .bg-green-600 {
  background: var(--moss) !important;
  border-radius: 0 !important;
  font-family: var(--display);
}

body > header + section .text-yellow-400 { color: #bd873b !important; }
section { position: relative; }

#services {
  background: var(--paper) !important;
  padding-block: clamp(5rem, 10vw, 8rem) !important;
}

#services > .container { max-width: 78rem; }
#services h2, #reviews h2, #contact h2 { font-size: clamp(2.7rem, 5vw, 4.5rem) !important; }

#services h2 + .w-20, #reviews h2 + .w-20 {
  background: var(--clay) !important;
  height: 2px !important;
  width: 4rem !important;
}

#services .grid > div {
  border: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: 0 8px 28px rgba(20, 42, 74, .09) !important;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}

#services .grid > div:hover {
  box-shadow: 0 22px 44px rgba(20, 42, 74, .16) !important;
  transform: translateY(-7px);
}

#services .grid > div > div:first-child { height: 16rem !important; }
#services .grid h3 { font-size: 1.75rem !important; }
#services .grid a { border-color: var(--clay) !important; color: var(--ink) !important; letter-spacing: .04em; }

#projects {
  background: #fff !important;
  border-block: 1px solid var(--line);
  padding-block: clamp(5rem, 9vw, 8rem) !important;
}

#projects > .container { max-width: 78rem; }
#projects h2 { font-size: clamp(2.55rem, 4.5vw, 4.15rem) !important; line-height: 1.04; }
#projects blockquote { border-color: var(--clay) !important; }
#projects img { border-radius: 0 !important; box-shadow: var(--shadow) !important; }

#about {
  background: var(--ink) !important;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 8rem) !important;
}

#about::before {
  border: 1px solid rgba(255, 255, 255, .13);
  content: '';
  height: 42rem;
  position: absolute;
  right: -14rem;
  top: -18rem;
  transform: rotate(35deg);
  width: 42rem;
}

#about h2 { font-size: clamp(2.5rem, 4.5vw, 4rem) !important; }
#about .bg-brand-accent { background: var(--clay) !important; border-radius: 0 !important; }

#reviews { background: var(--paper) !important; padding-block: clamp(5rem, 9vw, 8rem) !important; }
#reviews .grid > div { border-radius: 0 !important; box-shadow: 0 9px 24px rgba(20, 42, 74, .08) !important; }
#reviews .grid > div:hover { transform: translateY(-4px); transition: transform .22s ease; }

section.py-20.bg-white:not(#projects) { background: #fff !important; }
section.py-20.bg-white:not(#projects) h2 { font-size: clamp(2.4rem, 4vw, 3.5rem) !important; }
section.py-20.bg-white:not(#projects) .border { border-color: var(--line) !important; border-radius: 0 !important; }

#contact {
  background: var(--ink) !important;
  padding-block: clamp(5rem, 9vw, 8rem) !important;
}

#contact > .container { max-width: 78rem; }
#contact .bg-white { border-radius: 0 !important; box-shadow: 20px 20px 0 rgba(187, 94, 66, .72) !important; }
#contact input, #contact select {
  background: #fcfbf7 !important;
  border-color: rgba(17, 35, 31, .2) !important;
  border-radius: 0 !important;
  font-family: var(--body) !important;
}
#contact button { background: var(--clay) !important; border-radius: 0 !important; letter-spacing: .09em; text-transform: uppercase; }
#contact button:hover { background: var(--clay-dark) !important; }

footer {
  background: #0b1930 !important;
  border-color: rgba(255, 255, 255, .1) !important;
}
footer, footer p, footer a { color: #fff !important; }
footer .font-serif { color: var(--paper) !important; }
.footer-logo { display: block; height: auto; max-width: 100%; width: 13rem; }

.mobile-sticky-cta {
  background: var(--clay) !important;
  bottom: 0;
  left: 0;
  padding-bottom: env(safe-area-inset-bottom);
  position: fixed;
  right: 0;
  z-index: 45;
}
.mobile-sticky-cta a:hover { background: var(--paper) !important; color: var(--ink) !important; }

body > nav + header.bg-brand-navy {
  background: var(--ink) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-block: clamp(5rem, 10vw, 8.5rem) !important;
}

body > nav + header.bg-brand-navy::after {
  border: 1px solid rgba(255, 255, 255, .1);
  content: '';
  height: 38rem;
  position: absolute;
  right: -13rem;
  top: -13rem;
  transform: rotate(45deg);
  width: 38rem;
}

body > nav + header.bg-brand-navy .container { position: relative; z-index: 1; }
body > nav + header.bg-brand-navy h1 { font-size: clamp(3.4rem, 7vw, 6rem) !important; line-height: .96 !important; max-width: 11ch; }
body > nav + header.bg-brand-navy p { color: rgba(255, 255, 255, .74) !important; max-width: 38rem; }

body > nav + header + section.py-20 {
  background: #fff !important;
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

body > nav + header + section h2 { font-size: clamp(2.4rem, 4vw, 3.75rem) !important; }
body > nav + header + section img { border-radius: 0 !important; box-shadow: var(--shadow) !important; }

@media (max-width: 767px) {
  body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
  body > header.relative { min-height: 43rem; }
  body > header.relative > .container { text-align: center !important; }
  body > header h1 { margin-inline: auto !important; max-width: 9ch !important; }
  body > header p { margin-inline: auto !important; }
  body > header .flex { justify-content: center; }
  body > header + section { margin-inline: 1rem !important; }
  #services .grid > div { margin-inline: auto; max-width: 31rem; }
  #contact .bg-white { box-shadow: 12px 12px 0 rgba(187, 94, 66, .72) !important; }
  .mobile-sticky-cta { display: flex !important; }
  #navbar .brand-logo { height: 4.7rem; width: 11rem; }
}

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

/* Review-led content components */
.site-wrap { max-width: 78rem; }
.eyebrow {
  color: var(--clay);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero { overflow: hidden; position: relative; }
.page-hero .site-wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 13ch; }
.page-hero p { max-width: 42rem; }

.content-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.content-section--paper { background: var(--paper); }
.content-section--white { background: #fff; }
.content-section--navy { background: var(--ink); color: #fff; }
.content-section--navy p { color: rgba(255,255,255,.78); }

.content-section h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.13; }
.content-section h3 { font-size: 1.45rem; line-height: 1.25; }
.copy-lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.75; }
.copy-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copy-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.project-feature {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.project-feature--media-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

.project-photo { margin: 0; }
.project-photo img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.project-photo--panorama img { aspect-ratio: 4 / 3; }
.project-photo figcaption {
  border-left: 2px solid var(--clay);
  color: #5d6a74;
  font-size: .76rem;
  letter-spacing: .045em;
  margin-top: 1rem;
  padding-left: .8rem;
  text-transform: uppercase;
}

.project-gallery {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery__item {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(20,42,74,.09);
  margin: 0;
  overflow: hidden;
}

.project-gallery__item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.project-gallery__item:hover img { transform: scale(1.02); }
.project-gallery__item figcaption { padding: 1.25rem 1.35rem 1.4rem; }
.project-gallery__item strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.project-gallery__item span { color: #5d6a74; display: block; font-size: .82rem; line-height: 1.55; margin-top: .4rem; }

.service-card, .evidence-card, .case-card, .question-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(20,42,74,.08);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.project-scope {
  background: var(--ink);
  color: #fff;
  max-width: 52rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.project-scope p:last-child { color: rgba(255, 255, 255, .78); }

.company-details {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
}

.company-record {
  background: var(--ink);
  box-shadow: 16px 16px 0 var(--paper-deep);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.company-particulars { margin: 0; }
.company-particulars > div {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(7rem, .55fr) minmax(0, 1fr);
  padding-block: .85rem;
}
.company-particulars > div:first-child { padding-top: 0; }
.company-particulars dt {
  color: rgba(255, 255, 255, .62);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.company-particulars dd { font-family: var(--display); margin: 0; }
.company-memberships { margin-top: 2rem; }
.company-memberships ul { columns: 2; margin-top: 1rem; }
.company-memberships .source-note { margin-top: 1.25rem; }

.service-card { display: flex; flex-direction: column; gap: .85rem; }
.service-card a, .text-link { color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-decoration: underline; text-transform: uppercase; }
.service-card a:hover, .text-link:hover { color: var(--clay); }
.service-card ul, .content-section ul { padding-left: 1.1rem; }
.service-card li, .content-section li { margin-top: .45rem; }

.proof-band { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin: -2.25rem auto 0; max-width: 70rem; padding: 1.75rem; position: relative; z-index: 2; }
.proof-band__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.proof-band__note { margin-top: 1.25rem; }
.proof-source-card { display: flex; flex-direction: column; }
.proof-source {
  align-items: center;
  display: flex;
  height: 2.5rem;
  margin-bottom: .8rem;
}
.proof-source-logo { display: block; height: auto; object-fit: contain; }
.proof-source-logo--checkatrade { max-width: 11rem; width: 100%; }
.proof-source-logo--google { height: 1.55rem; margin-right: .55rem; width: 1.55rem; }
.proof-band strong { color: var(--ink); display: block; font-family: var(--display); font-size: 1.65rem; }
.proof-band small { color: #53616b; display: block; line-height: 1.5; }
.proof-band__link { display: inline-block; margin-top: auto; padding-top: .65rem; }

.review-platforms { margin-top: -2.25rem; }

.review-excerpts-section { overflow: hidden; }
.review-excerpts__intro { max-width: 46rem; }
.review-excerpts {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.25rem);
}

.review-excerpt {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(20, 42, 74, .1);
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
}

.review-excerpt::before {
  color: var(--clay);
  content: '“';
  font-family: var(--display);
  font-size: 4.5rem;
  left: 1.35rem;
  line-height: 1;
  opacity: .24;
  position: absolute;
  top: .8rem;
}

.review-excerpt blockquote { margin: 2.5rem 0 2rem; }
.review-excerpt blockquote p {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

.review-excerpt figcaption {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: auto;
  padding-top: 1rem;
}

.review-excerpt figcaption strong {
  color: var(--ink);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-excerpt figcaption span { color: #5d6a74; font-size: .78rem; }
.review-excerpts__note { margin-top: 3.5rem; }

.quote-block { border-left: 3px solid var(--clay); color: var(--ink); font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.45; margin: 2rem 0; padding: .5rem 0 .5rem 1.25rem; }
.content-section--navy .quote-block { color: #fff; }
.source-note { color: #5d6a74; font-size: .86rem; line-height: 1.65; }
.content-section--navy .source-note { color: rgba(255,255,255,.67); }

.contact-panel { background: #fff; box-shadow: 18px 18px 0 rgba(187,94,66,.72); color: var(--ink); padding: clamp(1.75rem, 4vw, 3rem); }
.contact-panel input, .contact-panel select, .contact-panel textarea { background: #fcfbf7; border: 1px solid rgba(20,42,74,.22); border-radius: 0; padding: .85rem; width: 100%; }
.contact-panel button { background: var(--clay); border: 0; color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .09em; padding: 1rem 1.35rem; text-transform: uppercase; width: 100%; }
.contact-panel button:hover { background: var(--clay-dark); }
.contact-panel button:disabled { cursor: wait; opacity: .68; }
.contact-panel label { color: var(--ink); font-size: .78rem; font-weight: 700; }
.contact-panel label input, .contact-panel label select, .contact-panel label textarea { display: block; font-weight: 400; margin-top: .4rem; }
.field-hint, .privacy-note { color: #5d6a74; font-size: .78rem; line-height: 1.55; }
.photo-upload { border-top: 1px solid rgba(20,42,74,.14); padding-top: 1.15rem; }
.photo-upload label { display: block; }
.photo-upload label span { color: #69727b; font-weight: 400; }
.photo-upload .field-hint { margin: .35rem 0 .65rem; }
.photo-upload__status { min-height: 1.3rem; }
.contact-panel .photo-upload input[type="file"] { color: #5d6a74; cursor: pointer; font-size: .78rem; padding: .55rem; }
.contact-panel .photo-upload input[type="file"]::file-selector-button { background: var(--navy); border: 0; color: #fff; cursor: pointer; font-family: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .06em; margin-right: .75rem; padding: .65rem .8rem; text-transform: uppercase; }
.contact-panel .photo-upload input[type="file"]::file-selector-button:hover { background: var(--navy-light); }
.form-trap { display: none !important; }
.form-status { font-size: .86rem; font-weight: 700; line-height: 1.55; margin-top: 1rem; min-height: 1.35rem; }
.form-status[data-state="sending"] { color: #5d6a74; }
.form-status[data-state="success"] { color: #496b42; }
.form-status[data-state="error"] { color: #a13f2e; }
.cf-turnstile { min-height: 65px; }

body.contact-dialog-open,
body.confirmation-dialog-open { overflow: hidden; }

.contact-invitation {
  border-left: 3px solid var(--clay);
  max-width: 31rem;
  padding: .5rem 0 .5rem 2rem;
}

.contact-invitation h3 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  margin-top: .65rem;
}

.contact-invitation p:not(.eyebrow) { margin-top: 1rem; }

.contact-dialog-trigger {
  align-items: center;
  background: var(--clay);
  color: #fff;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .09em;
  margin-top: 1.5rem;
  min-height: 3.35rem;
  padding: .9rem 1.4rem;
  text-transform: uppercase;
}

.contact-dialog-trigger:hover { background: #fff; color: var(--ink); }

.contact-dialog {
  background: transparent;
  border: 0;
  color: var(--ink);
  max-height: calc(100dvh - 2rem);
  max-width: none;
  overflow: auto;
  padding: 0;
  width: min(72rem, calc(100% - 2rem));
}

.contact-dialog:not([open]) { display: none; }
.contact-dialog[open] { animation: contact-dialog-enter .28s ease-out; }

.contact-dialog::backdrop {
  backdrop-filter: blur(5px);
  background: rgba(7, 20, 38, .78);
}

.contact-dialog__shell {
  background: #fff;
  border-top: 4px solid var(--clay);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  display: grid;
  grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.28fr);
  min-height: min(45rem, calc(100dvh - 2rem));
  position: relative;
}

.contact-dialog__introduction {
  background:
    linear-gradient(rgba(20, 42, 74, .93), rgba(20, 42, 74, .93)),
    var(--contact-dialog-image, none) center / cover;
  color: rgba(255, 255, 255, .78);
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 3.75rem);
}

.contact-dialog__introduction h2 {
  color: #fff;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1.02;
  margin-top: .85rem;
}

.contact-dialog__introduction > p:not(.eyebrow) {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-top: 1.5rem;
}

.contact-dialog__alternatives {
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  gap: .75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.contact-dialog__alternatives a { color: #fff; font-weight: 700; }

.contact-dialog__close {
  align-items: center;
  background: var(--clay);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.7rem;
  height: 3.5rem;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 3.5rem;
  z-index: 2;
}

.contact-dialog__close:hover { background: var(--clay-dark); }
.contact-panel--dialog { box-shadow: none; padding: clamp(3rem, 5vw, 5rem); }

.confirmation-dialog {
  background: transparent;
  border: 0;
  color: var(--ink);
  max-height: calc(100dvh - 2rem);
  max-width: none;
  overflow: auto;
  padding: 0;
  width: min(54rem, calc(100% - 2rem));
}

.confirmation-dialog:not([open]) { display: none; }
.confirmation-dialog[open] { animation: contact-dialog-enter .28s ease-out; }

.confirmation-dialog::backdrop {
  backdrop-filter: blur(5px);
  background: rgba(7, 20, 38, .78);
}

.confirmation-dialog__shell {
  background: #fff;
  border-top: 4px solid var(--clay);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  display: grid;
  grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr);
  position: relative;
}

.confirmation-dialog__heading {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.25rem);
}

.confirmation-dialog__mark {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: var(--font-display);
  font-size: 1.45rem;
  height: 3.25rem;
  justify-content: center;
  margin-bottom: 2rem;
  width: 3.25rem;
}

.confirmation-dialog__heading h2 {
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  line-height: 1.04;
  margin-top: .75rem;
}

.confirmation-dialog__heading > p:last-child {
  line-height: 1.75;
  margin-top: 1.5rem;
}

.confirmation-dialog__preparation { padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }

.confirmation-dialog__preparation h3 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.12;
  margin-top: .6rem;
}

.confirmation-checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 !important;
}

.confirmation-checklist li {
  border-top: 1px solid rgba(20, 42, 74, .16);
  display: grid;
  gap: .3rem;
  margin: 0 !important;
  padding: 1rem 0;
}

.confirmation-checklist strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.confirmation-checklist span {
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.55;
}

.confirmation-dialog__actions {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.confirmation-dialog__done {
  background: var(--clay);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  min-height: 3.25rem;
  padding: .8rem 1.5rem;
  text-transform: uppercase;
}

.confirmation-dialog__done:hover { background: var(--clay-dark); }

.confirmation-dialog__close {
  align-items: center;
  background: var(--clay);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.7rem;
  height: 3.5rem;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 3.5rem;
  z-index: 2;
}

.confirmation-dialog__close:hover { background: var(--clay-dark); }

@keyframes contact-dialog-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .copy-grid, .copy-grid--three, .project-feature, .project-feature--media-first, .project-gallery, .proof-band__grid, .company-details, .review-excerpts { grid-template-columns: 1fr; }
  .project-feature--media-first .project-photo { order: 2; }
  .proof-band { margin-inline: 1rem; }
  .contact-panel { box-shadow: 12px 12px 0 rgba(187,94,66,.72); }
  .contact-invitation { margin-top: 2rem; padding-left: 1.35rem; }
  .contact-dialog { height: 100dvh; margin: 0; max-height: 100dvh; width: 100%; }
  .contact-dialog__shell { grid-template-columns: 1fr; min-height: 100%; }
  .contact-dialog__introduction { padding: 5.25rem 1.5rem 2.75rem; }
  .contact-dialog__introduction h2 { font-size: clamp(2.6rem, 12vw, 3.7rem); }
  .contact-dialog__alternatives { margin-top: 2rem; }
  .contact-panel--dialog { box-shadow: none; padding: 2rem 1.5rem 5.5rem; }
  .contact-dialog__close { position: fixed; }
  .confirmation-dialog { height: 100dvh; margin: 0; max-height: 100dvh; width: 100%; }
  .confirmation-dialog__shell { grid-template-columns: 1fr; min-height: 100%; }
  .confirmation-dialog__heading { padding: 5.25rem 1.5rem 2.75rem; }
  .confirmation-dialog__preparation { padding: 2rem 1.5rem 4rem; }
  .confirmation-dialog__actions { align-items: stretch; flex-direction: column; }
  .confirmation-dialog__done { width: 100%; }
  .confirmation-dialog__close { position: fixed; }
  .company-record { box-shadow: 10px 10px 0 var(--paper-deep); }
  .company-memberships ul { columns: 1; }
}

/* Homepage hero: the source-led headline needs room to read naturally. */
body > header.relative {
  display: block;
  height: auto !important;
  min-height: 0;
}

body > header.relative > .site-wrap {
  display: block;
  max-width: 78rem;
  padding-block: clamp(6rem, 10vw, 8.5rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

body > header.relative h1 {
  font-size: clamp(3.15rem, 5.6vw, 5.6rem) !important;
  line-height: 1.01 !important;
  max-width: 12ch !important;
}

@media (max-width: 767px) {
  body > header.relative > .site-wrap { padding-block: 5.5rem 7rem; }
  body > header.relative h1 { font-size: clamp(3rem, 13vw, 4.6rem) !important; }
}

/* Google Maps review attribution and rating */
.google-proof-card, .google-review-card { position: relative; }

.google-review-card {
  background: #fff;
  border: 1px solid rgba(20, 42, 74, .16);
  box-shadow: 0 14px 34px rgba(20, 42, 74, .1);
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.3rem);
}

.google-review-card::before {
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75% 100%);
  content: '';
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.google-review-card__source {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  justify-content: space-between;
  margin-bottom: .8rem;
}

.google-maps-attribution {
  color: #5e5e5e;
  font-family: Roboto, sans-serif;
  font-size: .875rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.3;
  white-space: nowrap;
}

.google-review-card__date {
  color: #697681;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.google-rating {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
}

.google-rating strong {
  color: var(--ink);
  display: inline;
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
}

.google-rating--large { margin-block: 1rem 1.15rem; }
.google-rating--large strong { font-size: clamp(2.5rem, 5vw, 3.65rem); }

.google-stars {
  color: #f9ab00;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .08em;
  line-height: 1;
}

.google-rating--large .google-stars { font-size: 1.15rem; }

.google-review-card__count {
  color: #5e5e5e;
  font-size: .86rem;
  font-weight: 600;
}

.google-review-link {
  color: #1a73e8;
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .055em;
  margin-top: 1.25rem;
  text-decoration: underline;
  text-transform: uppercase;
}

.google-review-link:hover { color: #1557b0; }
.google-review-link span { display: inline-block; margin-left: .18rem; transition: transform .2s ease; }
.google-review-link:hover span { transform: translate(.12rem, -.12rem); }

.google-proof-card .google-review-card__source { margin-bottom: .45rem; }
.google-proof-card .google-review-link { margin-top: auto; padding-top: .65rem; }

@media (max-width: 767px) {
  .google-review-card__source { align-items: flex-start; flex-direction: column; }
}

/* Visual company timeline variation */
.timeline-page { background: #fff !important; }

.timeline-hero {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: 39rem;
  overflow: hidden;
  position: relative;
}

.timeline-hero::before {
  background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  background-size: 2rem 2rem;
  content: '';
  inset: 0 50% 0 0;
  opacity: .5;
  pointer-events: none;
  position: absolute;
}

.timeline-hero__copy {
  align-self: center;
  margin-left: auto;
  max-width: 39rem;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(2rem, 5vw, 5rem) clamp(4.5rem, 8vw, 7.5rem) clamp(1.5rem, calc((100vw - 78rem) / 2), 6rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

.timeline-hero__date {
  color: rgba(255,255,255,.2);
  display: flex;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 700;
  gap: .15em;
  letter-spacing: -.08em;
  line-height: .85;
  margin-top: 1.4rem;
  white-space: nowrap;
}

.timeline-hero h1 {
  font-size: clamp(3rem, 4.3vw, 4.8rem);
  line-height: .96;
  margin-top: 1.4rem;
  max-width: 11ch;
}

.timeline-hero .copy-lede { color: rgba(255,255,255,.76); font-size: 1.08rem; margin-top: 1.8rem; max-width: 33rem; }

.timeline-hero__link {
  border-bottom: 1px solid rgba(255,255,255,.42);
  color: #fff;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  gap: 2rem;
  letter-spacing: .11em;
  margin-top: 2.4rem;
  padding-bottom: .45rem;
  text-transform: uppercase;
}

.timeline-hero__link:hover { border-color: var(--clay); color: #fff; }

.timeline-hero__media { margin: 0; min-height: 39rem; overflow: hidden; position: relative; }
.timeline-hero__media::after { background: linear-gradient(90deg, rgba(20,42,74,.38), transparent 30%); content: ''; inset: 0; position: absolute; }
.timeline-hero__media img { filter: saturate(.72) contrast(1.05); height: 100%; object-fit: cover; object-position: 58% center; position: absolute; width: 100%; }
.timeline-hero__media figcaption {
  background: rgba(11,25,48,.9);
  bottom: 0;
  color: rgba(255,255,255,.76);
  font-size: .66rem;
  letter-spacing: .08em;
  padding: .8rem 1rem;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  z-index: 1;
}

.timeline-introduction { background: #fff; padding-block: clamp(5rem, 10vw, 9rem); text-align: center; }
.timeline-introduction .site-wrap { max-width: 58rem; }
.timeline-introduction h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.05; margin-top: 1.2rem; }
.timeline-introduction h2::after { background: var(--clay); content: ''; display: block; height: 2px; margin: 2.25rem auto; width: 4rem; }
.timeline-introduction p:last-child { color: #526272; font-size: clamp(1rem, 1.7vw, 1.18rem); margin-inline: auto; max-width: 44rem; }

.timeline-section { background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; padding-block: clamp(5rem, 10vw, 9rem); }

.visual-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.visual-timeline::before {
  background: linear-gradient(to bottom, var(--clay), var(--ink) 12%, var(--ink) 88%, var(--clay));
  content: '';
  inset: 0 auto 0 50%;
  position: absolute;
  transform: translateX(-1px);
  width: 2px;
}

.timeline-milestone {
  align-items: center;
  display: grid;
  gap: clamp(4.5rem, 9vw, 8rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 clamp(6rem, 12vw, 11rem);
  padding: 0;
  position: relative;
}

.timeline-milestone:last-child { margin-bottom: 0; }
.timeline-milestone::before {
  background: var(--clay);
  border: 5px solid var(--paper);
  box-shadow: 0 0 0 1px var(--clay);
  content: '';
  height: 1.25rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 1.25rem;
  z-index: 2;
}

.timeline-milestone__content { border-top: 1px solid rgba(20,42,74,.3); padding-top: 1.4rem; }
.timeline-milestone__content time {
  color: var(--ink);
  display: block;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .9;
  margin-bottom: 1.7rem;
}

.timeline-milestone__content h3 { font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.1; margin-top: .8rem; max-width: 14ch; }
.timeline-milestone__content > p:last-child { color: #526272; margin-top: 1.25rem; max-width: 34rem; }

.timeline-milestone__media { background: var(--ink); box-shadow: var(--shadow); margin: 0; overflow: hidden; position: relative; }
.timeline-milestone__media::before {
  border: 1px solid rgba(255,255,255,.7);
  content: '';
  inset: .75rem;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.timeline-milestone__media img { aspect-ratio: 4 / 3; display: block; filter: saturate(.76); object-fit: cover; width: 100%; }
.timeline-milestone__media figcaption {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  letter-spacing: .075em;
  padding: .9rem 1rem;
  text-transform: uppercase;
}

.timeline-milestone:nth-child(odd) .timeline-milestone__content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-milestone:nth-child(odd) .timeline-milestone__content h3,
.timeline-milestone:nth-child(odd) .timeline-milestone__content > p:last-child { margin-left: auto; }
.timeline-milestone:nth-child(odd) .timeline-milestone__media { grid-column: 2; grid-row: 1; }
.timeline-milestone:nth-child(even) .timeline-milestone__content { grid-column: 2; grid-row: 1; }
.timeline-milestone:nth-child(even) .timeline-milestone__media { grid-column: 1; grid-row: 1; }
.timeline-milestone--today .timeline-milestone__content time { color: var(--clay); font-size: clamp(3.4rem, 6vw, 6.2rem); }

.timeline-closing { background: var(--ink); color: #fff; overflow: hidden; padding-block: clamp(5rem, 10vw, 8.5rem); }
.timeline-closing__grid { align-items: center; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
.timeline-closing__year { color: rgba(255,255,255,.08); font-family: var(--display); font-size: clamp(6rem, 16vw, 13rem); font-weight: 700; letter-spacing: -.09em; line-height: .8; }
.timeline-closing h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; margin-top: 1rem; max-width: 12ch; }
.timeline-closing h2 + p { color: rgba(255,255,255,.76); margin-top: 1.6rem; max-width: 37rem; }
.timeline-closing a { border-bottom: 1px solid var(--clay); color: #fff; display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .09em; margin-top: 2rem; padding-bottom: .4rem; text-transform: uppercase; }
.timeline-closing a:hover { color: var(--clay); }

@media (max-width: 767px) {
  .timeline-hero { grid-template-columns: 1fr; }
  .timeline-hero::before { inset: 0; }
  .timeline-hero__copy { max-width: none; padding: 5rem 1.5rem; }
  .timeline-hero__date { font-size: clamp(2.45rem, 13vw, 4rem); }
  .timeline-hero h1 { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .timeline-hero__media { min-height: 21rem; }

  .timeline-introduction { text-align: left; }
  .timeline-introduction h2::after { margin-left: 0; }

  .visual-timeline { padding-left: 3.35rem; }
  .visual-timeline::before { left: 1rem; }
  .timeline-milestone { gap: 2rem; grid-template-columns: 1fr; margin-bottom: 6rem; }
  .timeline-milestone::before { left: -2.35rem; top: 1.25rem; }
  .timeline-milestone:nth-child(n) .timeline-milestone__content,
  .timeline-milestone:nth-child(n) .timeline-milestone__media { grid-column: 1; text-align: left; }
  .timeline-milestone:nth-child(n) .timeline-milestone__content { grid-row: 1; }
  .timeline-milestone:nth-child(n) .timeline-milestone__media { grid-row: 2; }
  .timeline-milestone:nth-child(n) .timeline-milestone__content h3,
  .timeline-milestone:nth-child(n) .timeline-milestone__content > p:last-child { margin-left: 0; }
  .timeline-milestone__content time { font-size: clamp(3.6rem, 18vw, 5.3rem); }

  .timeline-closing__grid { grid-template-columns: 1fr; }
  .timeline-closing__year { margin-bottom: -1rem; }
}
