:root {
  /* Palette: taken from the client's logo (royal blue + lavender), with brass as the accent */
  --brand-blue: #003d9a; /* logo blue: headlines, primary buttons */
  --navy: #0a2352; /* dark sections */
  --navy-deep: #06173a; /* footer, overlays */
  --lavender: #8b91c5; /* logo lavender: secondary marks */
  --limestone: #eef0f4; /* page background, a cool stone */
  --limestone-deep: #e1e5ee;
  --brass: #b9832a;
  --brass-ink: #8a5f17; /* brass dark enough for text on light backgrounds */
  --brass-light: #e0b866; /* brass for text on navy */
  --graphite: #1d2433;
  --graphite-soft: #4a5368;
  --mist: #b4bcd0;
  --render: #ffffff;

  /* Type: Libre Caslon for headings (established, crafted), Public Sans for reading and UI */
  --font: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --text-sm: 0.9375rem;
  --text-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --text-hero: clamp(2.4rem, 1.3rem + 4vw, 4.6rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-section: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --container: 76rem;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);

  /* Shape and motion: radius varies by role */
  --radius-sm: 3px;
  --radius-md: 10px;
  --shadow-lift: 0 18px 40px -24px rgb(6 23 58 / 0.55);
  --duration-fast: 160ms;
  --duration-normal: 320ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--limestone);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3,
.service-row-name, .service-card-name, .cta-title, .aside-heading, .footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
}
h1, h2, h3, .service-row-name, .service-card-name { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

.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: var(--space-2);
  top: -4rem;
  z-index: 100;
  padding: var(--space-1) var(--space-2);
  background: var(--navy);
  color: var(--render);
}
.skip-link:focus { top: var(--space-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0.7em 1.4em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 650;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: var(--brass-light); }
.btn-navy { background: var(--brand-blue); color: var(--render); }
.btn-navy:hover { background: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--render); }
.btn-light { background: var(--limestone); color: var(--navy-deep); }
.btn-light:hover { background: var(--render); }

.text-link {
  color: var(--brass-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.text-link:hover { color: var(--navy); }

/* Sections */
.section { padding-block: var(--space-section); }
.section-dark { background: var(--navy); color: var(--limestone); }
.section-tint { background: var(--limestone-deep); }

.section-head { max-width: 44rem; margin-bottom: var(--space-5); }
.section-head-split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-intro { margin-top: var(--space-3); font-size: var(--text-lg); line-height: 1.45; max-width: 38em; }
.section-dark .section-intro { color: var(--mist); }

.prose { max-width: 40rem; }
.prose p { margin-bottom: 1.2em; }

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

/* Header, navigation, call-to-action band and footer */

.topbar {
  background: var(--navy-deep);
  color: var(--mist);
  font-size: 0.8125rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.45rem;
}
.topbar p { margin: 0; }
.topbar a { color: var(--limestone); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep {
  display: inline-block;
  width: 1px; height: 0.9em;
  margin-inline: 0.9em;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(238 240 244 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--limestone-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 4.5rem;
}

.brand { display: inline-flex; text-decoration: none; margin-right: auto; border-radius: var(--radius-sm); }
.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-mark { width: auto; height: 48px; }
.logo-word { width: auto; height: 19px; }
@media (max-width: 420px) {
  .logo { gap: 0.5rem; }
  .logo-mark { height: 36px; }
  .logo-word { height: 14px; }
  .nav-toggle { padding: 0 0.8rem; }
  .nav-toggle-label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Navigation */
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 560;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav-list a:hover { background: var(--limestone-deep); }
.nav-list a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }

.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 0.25rem; }
.sub-toggle {
  display: grid;
  place-items: center;
  width: 1.75rem; height: 1.75rem;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.sub-toggle svg { transition: transform var(--duration-fast); }
.sub-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 16rem;
  padding: 0.5rem;
  background: var(--render);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--duration-fast), transform var(--duration-fast), visibility var(--duration-fast);
}
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.sub-toggle[aria-expanded='true'] + .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a { padding: 0.6rem 0.75rem; }

.nav-toggle { display: none; }
.nav-call-mobile { display: none; }

@media (max-width: 960px) {
  .topbar-inner p:first-child { display: none; }
}
@media (max-width: 600px) {
  .topbar { display: none; }
}
@media (max-width: 960px) {
  .header-call { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--navy);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.1rem; height: 2px;
    background: currentColor;
    transition: transform var(--duration-fast);
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    padding: var(--space-2) var(--gutter) var(--space-4);
    background: var(--limestone);
    border-bottom: 1px solid var(--limestone-deep);
    box-shadow: var(--shadow-lift);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 0.9rem 0; font-size: var(--text-lg); border-bottom: 1px solid var(--limestone-deep); border-radius: 0; }
  .nav-list a[aria-current='page'] { box-shadow: none; color: var(--brass-ink); }

  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 2.75rem; height: 2.75rem; }
  .sub {
    position: static;
    flex-basis: 100%;
    display: none;
    padding: 0 0 0 var(--space-2);
    background: none;
    box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .sub-toggle[aria-expanded='true'] + .sub { display: block; }
  .sub a { font-size: var(--text-base); }

  .nav-call-mobile { display: block; margin-top: var(--space-3); }
  .nav-call-mobile .btn { width: 100%; padding: 0.9rem 1.2rem; border-bottom: 0; border-radius: var(--radius-sm); font-size: var(--text-base); }
}

/* Call-to-action band */
.cta-band {
  position: relative;
  background: var(--brass);
  color: var(--navy-deep);
  overflow: hidden;
}
.cta-band::before {
  /* survey grid: a quiet nod to the plans in the hero */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(6 23 58 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(6 23 58 / 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-5);
}
.cta-title {
  font-size: var(--text-xl);
  font-weight: 700;
  max-width: 18ch;
}
.cta-text { margin-top: var(--space-2); max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.cta-phone {
  font-size: var(--text-xl);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cta-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.cta-band .btn-light { background: var(--navy-deep); color: var(--limestone); }
.cta-band .btn-light:hover { background: var(--navy); }
@media (min-width: 960px) {
  .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .cta-actions { justify-content: flex-end; }
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--mist);
  font-size: var(--text-sm);
  padding-top: var(--space-5);
}
.site-footer a { color: var(--limestone); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-4); }
.footer-brand p { margin-top: var(--space-2); max-width: 30em; }
.footer-licence { font-size: 0.8125rem; opacity: 0.8; }
.footer-heading {
  margin-bottom: var(--space-2);
  color: var(--limestone);
  font-size: var(--text-base);
  font-weight: 700;
}
.site-footer li + li { margin-top: 0.4rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem var(--space-2); margin: 0; }
.hours dd { margin: 0; white-space: nowrap; }
.socials { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.socials li + li { margin-top: 0; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-5);
  padding-block: var(--space-3);
  background: linear-gradient(rgb(180 188 208 / 0.2), rgb(180 188 208 / 0.2)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  font-size: 0.8125rem;
}
.footer-base p { margin: 0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* Home page: hero with plan sheet, reasons, service rows, process steps, project tiles */

.hero { padding-block: var(--space-4) var(--space-section); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-5); align-items: center; }
.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
}
.hero-lead { margin-top: var(--space-3); font-size: var(--text-lg); line-height: 1.45; max-width: 32em; color: var(--graphite-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero-note { margin-top: var(--space-3); font-size: 0.8125rem; color: var(--graphite-soft); }

.hero-visual { position: relative; padding-bottom: 18%; }
.hero-photo { margin: 0 0 0 12%; border-radius: var(--radius-md); overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }

/* The plan sheet: the one bold element on the site */
.floorplan {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  padding: 1.1rem 1.1rem 0.6rem;
  background: rgb(6 23 58 / 0.94);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  overflow: visible;
}
.plan-line {
  fill: none;
  stroke: var(--brass-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: plan-draw 1.1s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
}
.plan-walls .plan-line { stroke-width: 4; }
.plan-details .plan-line { stroke-width: 1.5; }
.plan-labels text, .plan-dimension text {
  fill: var(--mist);
  font-family: var(--font);
  font-size: 12px;
  opacity: 0;
  animation: plan-fade 0.6s ease-out 1.7s forwards;
}
.plan-dimension path { fill: none; stroke: var(--mist); stroke-width: 1; opacity: 0; animation: plan-fade 0.6s ease-out 1.7s forwards; }
.plan-dimension text { font-size: 10px; }

@keyframes plan-draw { to { stroke-dashoffset: 0; } }
@keyframes plan-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .plan-line { stroke-dashoffset: 0; animation: none; }
  .plan-labels text, .plan-dimension text, .plan-dimension path { opacity: 1; animation: none; }
}

@media (min-width: 960px) {
  .hero { padding-top: var(--space-5); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-visual { padding-bottom: 14%; }
  .floorplan { left: -8%; width: 72%; }
}

/* Reasons */
.reasons-grid { display: grid; gap: var(--space-4); }
.reasons-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 16ch;
  color: var(--navy);
}
.reasons-list { display: grid; gap: var(--space-4); }
.reasons-list li { padding-top: var(--space-2); border-top: 2px solid var(--navy); }
.reasons-list h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; }
.reasons-list p { color: var(--graphite-soft); }
@media (min-width: 960px) {
  .reasons-grid { grid-template-columns: 1fr 2fr; }
  .reasons-list { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

/* Service rows */
.service-rows { border-bottom: 1px solid rgb(180 188 208 / 0.25); }
.service-row a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-1) var(--space-3);
  align-items: center;
  padding-block: var(--space-3);
  border-top: 1px solid rgb(180 188 208 / 0.25);
  text-decoration: none;
}
.service-row-media { grid-row: span 2; border-radius: var(--radius-sm); overflow: hidden; }
.service-row-media img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--duration-normal) var(--ease-out-expo); }
.service-row-name {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--duration-fast);
}
.service-row-text { color: var(--mist); }
.service-row a:hover .service-row-name,
.service-row a:focus-visible .service-row-name { color: var(--brass-light); }
.service-row a:hover img { transform: scale(1.06); }
@media (min-width: 960px) {
  .service-row a { grid-template-columns: 180px 1.1fr 1fr; gap: var(--space-4); }
  .service-row-media { grid-row: auto; }
}

/* Process steps: a real sequence, so it is numbered */
.steps { counter-reset: step; display: grid; gap: var(--space-4) var(--space-3); }
.step { counter-increment: step; position: relative; padding-top: var(--space-4); }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brass-ink);
}
.step::after {
  content: '';
  position: absolute;
  top: 0.75rem; left: 1.75rem; right: 0;
  height: 1px;
  background: var(--mist);
}
.step-title { font-size: var(--text-lg); margin-bottom: 0.5rem; color: var(--navy); }
.step p { color: var(--graphite-soft); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Project tiles */
.project-tiles { display: grid; gap: var(--space-2); }
.project-tile { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.project-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-4) var(--space-2) var(--space-2);
  background: linear-gradient(transparent, rgb(6 23 58 / 0.85));
  color: var(--limestone);
  font-size: var(--text-sm);
  font-weight: 560;
}
@media (min-width: 720px) {
  .project-tiles { grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: minmax(14rem, auto); }
  .project-tile img { aspect-ratio: auto; position: absolute; inset: 0; }
  .tile-tall { grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
}

/* Inner pages: services, about, projects, contact */

.page-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.page-title-dark { color: var(--navy); max-width: 18ch; }
.page-intro { padding-block: var(--space-5) var(--space-4); }

/* Photo hero for service pages */
.page-hero { position: relative; display: grid; min-height: clamp(20rem, 40vw, 30rem); color: var(--render); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(6 23 58 / 0.88) 0%, rgb(6 23 58 / 0.55) 55%, rgb(6 23 58 / 0.15) 100%);
}
.page-hero-copy { position: relative; align-self: end; padding-block: var(--space-5); }
.page-tagline { margin-top: var(--space-2); font-size: var(--text-lg); color: var(--limestone); }

/* Service layout */
.service-layout { display: grid; gap: var(--space-5); padding-block: var(--space-5) var(--space-section); }
.service-body > p:first-child { font-size: var(--text-lg); line-height: 1.5; color: var(--navy); }
.block-heading {
  margin: var(--space-5) 0 var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}
.check-list li { position: relative; padding: 0.6rem 0 0.6rem 2rem; border-bottom: 1px solid var(--limestone-deep); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem; top: 1.05rem;
  width: 0.9rem; height: 0.5rem;
  border-left: 2.5px solid var(--brass);
  border-bottom: 2.5px solid var(--brass);
  transform: rotate(-45deg);
}
.quote-box {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--render);
  border-left: 4px solid var(--brass);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.quote-box .block-heading { margin-top: 0; }
.quote-box .btn { margin-top: var(--space-3); }

.faqs { border-top: 1px solid var(--mist); }
.faq { border-bottom: 1px solid var(--mist); }
.faq summary {
  position: relative;
  padding: var(--space-2) 2.5rem var(--space-2) 0;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brass-ink);
  transition: transform var(--duration-fast);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding-bottom: var(--space-2); color: var(--graphite-soft); }

.service-aside { display: grid; gap: var(--space-3); align-content: start; }
.aside-card {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  padding: var(--space-4) var(--space-3);
  background: var(--navy);
  color: var(--limestone);
  border-radius: var(--radius-md);
}
.aside-card .text-link { color: var(--brass-light); }
.aside-heading { font-size: var(--text-lg); font-weight: 700; }
.other-services { padding: var(--space-3); border: 1px solid var(--mist); border-radius: var(--radius-md); }
.other-services ul { margin-top: var(--space-2); }
.other-services a { display: block; padding: 0.45rem 0; font-weight: 560; text-decoration: none; }
.other-services a:hover { color: var(--brass-ink); text-decoration: underline; }

@media (min-width: 960px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--space-5) 5rem; }
  .service-aside { position: sticky; top: 7rem; }
}

/* Services index */
.service-cards { display: grid; gap: var(--space-3); padding-bottom: var(--space-section); }
.service-card {
  display: grid;
  background: var(--render);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--duration-normal);
}
.service-card:hover { box-shadow: var(--shadow-lift); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card-body { display: grid; gap: 0.5rem; padding: var(--space-3); color: var(--graphite-soft); }
.service-card-name { font-size: var(--text-lg); font-weight: 700; color: var(--navy); }
.service-card:hover .service-card-name { color: var(--brass-ink); }
@media (min-width: 720px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-card-feature { grid-column: span 2; grid-template-columns: 1.4fr 1fr; align-items: center; }
  .service-card-feature img { height: 100%; aspect-ratio: auto; }
  .service-card-feature .service-card-name { font-size: var(--text-xl); }
}
@media (min-width: 1080px) {
  .service-cards { grid-template-columns: repeat(4, 1fr); }
  .service-card-feature { grid-column: span 4; }
}

/* About */
.about-hero { display: grid; gap: var(--space-4); padding-block: var(--space-5) var(--space-4); align-items: end; }
.about-hero-photo { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.about-hero-photo img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.story-grid { display: grid; gap: var(--space-3); }
.values { display: grid; gap: var(--space-4); }
.values li { padding-top: var(--space-2); border-top: 2px solid var(--brass); }
.values h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; color: var(--render); }
.values p { color: var(--mist); }
@media (min-width: 960px) {
  .about-hero { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .story-grid { grid-template-columns: 1fr 2fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
}

/* Projects gallery */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-4); }
.filter {
  min-height: 2.5rem;
  padding: 0 1.1rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.filter:hover { background: var(--limestone-deep); }
.filter[aria-pressed='true'] { background: var(--navy); color: var(--render); }
.gallery { display: grid; gap: var(--space-3) var(--space-2); padding-bottom: var(--space-section); }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-md); overflow: hidden; }
.gallery-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--duration-normal) var(--ease-out-expo); }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-item figcaption { margin-top: 0.6rem; font-size: var(--text-sm); font-weight: 560; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.lightbox {
  max-width: min(92vw, 72rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--navy-deep);
  color: var(--limestone);
}
.lightbox::backdrop { background: rgb(6 23 58 / 0.85); }
.lightbox-img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox-caption { margin: 0; padding: var(--space-2) var(--space-3); padding-right: 7rem; }
.lightbox-close { position: absolute; right: var(--space-2); bottom: 0.6rem; }
.lightbox-close {
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1.5px solid var(--limestone);
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* Contact */
.contact-layout { display: grid; gap: var(--space-5); padding-bottom: var(--space-section); }
.enquiry-form { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-3); background: var(--render); border-radius: var(--radius-md); }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: var(--space-3); }
.field label { font-weight: 620; font-size: var(--text-sm); }
.optional { font-weight: 400; color: var(--graphite-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  background: var(--limestone);
  color: var(--graphite);
  font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(185 131 42 / 0.35); }
.field [aria-invalid='true'] { border-color: #a3341f; }
.honeypot { position: absolute; left: -9999px; }
.enquiry-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-error { color: #a3341f; }
.form-status.is-success { color: var(--navy); }
.contact-details { display: grid; gap: var(--space-4); align-content: start; }
.contact-details .aside-heading { margin-bottom: 0.4rem; color: var(--navy); }
.contact-big {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.contact-big:hover { color: var(--brass-ink); }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 5rem; }
  .enquiry-form { padding: var(--space-5) var(--space-4); }
}
