:root {
  --colour-black: #080808;
  --colour-dark: #0c0c0c;
  --colour-panel: #121212;
  --colour-white: #f4f1ea;
  --colour-muted: #a8a49b;
  --colour-gold: #c99a3d;
  --colour-gold-light: #e0b45b;
  --colour-line: rgba(244, 241, 234, 0.13);
  --colour-line-dark: rgba(20, 20, 20, 0.12);
  --container: 1500px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--colour-black);
  color: var(--colour-white);
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container-fluid {
  width: 100%;
  padding-left: clamp(1.25rem, 4vw, 5rem);
  padding-right: clamp(1.25rem, 4vw, 5rem);
}

/* =========================================================
   HEADER + LOGO — DO NOT ALTER LOGO
========================================================= */
.site-header {
  position: fixed;
  z-index: 1100;
  inset: 0 0 auto;
  width: 100%;
  padding: 1.2rem 0;
  border-bottom: 1px solid transparent;
  transition: background .45s ease, padding .45s ease, border-color .45s ease;
}
.site-header.is-scrolled {
  padding: .85rem 0;
  background: rgba(8, 8, 8, .88);
  border-color: var(--colour-line);
  backdrop-filter: blur(16px);
}
.header-inner { max-width: var(--container); margin: auto; }
.site-logo { display: flex; align-items: center; gap: .85rem; }
.logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 154, 61, 0.70);
  overflow: hidden;
}
.logo-shape { position: absolute; width: 20px; height: 32px; }
.logo-shape-white {
  border-left: 2px solid var(--colour-white);
  border-top: 2px solid var(--colour-white);
  transform: translate(-4px, -4px);
}
.logo-shape-gold {
  border-right: 2px solid var(--colour-gold);
  border-bottom: 2px solid var(--colour-gold);
  transform: translate(4px, 4px);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { display: block; font-size: 1.20rem; font-weight: 600; letter-spacing: 0.12em; }
.logo-company { display: block; margin-top: .30rem; color: var(--colour-gold); font-size: .55rem; letter-spacing: .28em; }
.nav-link-custom {
  color: rgba(244,241,234,.78);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.nav-link-custom:hover { color: var(--colour-gold); }
.header-quote-button {
  padding: .7rem 1.15rem;
  border: 1px solid rgba(201,154,61,.75);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.header-quote-button:hover { background: var(--colour-gold); color: #090909; }
.mobile-menu-button {
  width: 45px;
  height: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid var(--colour-line);
  background: transparent;
}
.mobile-menu-button span { height: 1px; display: block; background: var(--colour-white); transition: transform .3s ease, opacity .3s ease; }
.mobile-menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  padding: 1rem clamp(1.25rem,5vw,3rem) 2rem;
  background: rgba(8,8,8,.97);
  border-bottom: 1px solid var(--colour-line);
}
.mobile-menu.is-open { display: flex; flex-direction: column; }
.mobile-menu a { padding: 1rem 0; border-bottom: 1px solid var(--colour-line); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.mobile-menu-quote { color: var(--colour-gold); }

/* =========================================================
   HERO
========================================================= */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #151515;
}
.hero-image-background, .hero-background-image, .hero-overlay { position: absolute; inset: 0; }
.hero-background-image {
  background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=85');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.72) 40%, rgba(5,5,5,.25) 73%, rgba(5,5,5,.62) 100%),
    linear-gradient(0deg, rgba(5,5,5,.65), transparent 45%, rgba(5,5,5,.22));
}
.hero-container { position: relative; z-index: 2; max-width: var(--container); margin: auto; }
.hero-grid { min-height: 100svh; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.hero-content { max-width: 760px; padding-top: 5rem; }
.hero-eyebrow, .section-eyebrow, .modal-eyebrow {
  margin: 0 0 1.25rem;
  color: var(--colour-gold);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.hero-eyebrow span { color: rgba(244,241,234,.5); margin: 0 .35rem; }
.hero-title {
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
.hero-title em { color: var(--colour-gold); font-style: normal; }
.hero-description { max-width: 610px; margin: 2rem 0; color: rgba(244,241,234,.72); font-size: clamp(.95rem,1.25vw,1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.3rem;
  border: 1px solid rgba(244,241,234,.35);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: .3s ease;
}
.hero-button-primary { color: #090909; background: var(--colour-white); border-color: var(--colour-white); }
.hero-button-primary:hover { background: var(--colour-gold); border-color: var(--colour-gold); }
.hero-button-secondary:hover { color: var(--colour-gold); border-color: var(--colour-gold); }
.hero-side-detail { align-self: end; display: flex; align-items: center; gap: 1rem; margin-bottom: 7rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-side-text { color: rgba(244,241,234,.6); font-size: .58rem; letter-spacing: .3em; }
.hero-side-line { width: 1px; height: 90px; background: var(--colour-gold); }
.hero-scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.hero-scroll-text { color: rgba(244,241,234,.55); font-size: .55rem; letter-spacing: .25em; }
.hero-scroll-line { width: 1px; height: 55px; background: linear-gradient(var(--colour-gold), transparent); }

/* =========================================================
   SHARED SECTION STYLES
========================================================= */
.section-container { max-width: var(--container); margin: auto; }
.section-light { background: #f0ede5; color: #121212; }
.section-dark { background: var(--colour-dark); color: var(--colour-white); }
.about-section, .process-section { padding: clamp(6rem,10vw,10rem) 0; }
.projects-section, .contact-section { padding: clamp(6rem,9vw,9rem) 0; }
.section-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem,8vw,9rem); align-items: start; }
.section-title-dark, .section-title-light, .contact-title {
  margin: 0;
  font-size: clamp(3rem,6vw,6rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.055em;
}
.section-title-dark span, .section-title-light span, .contact-title span { color: var(--colour-gold); }
.dark-eyebrow { color: #8d6826; }
.section-lead { margin: 0 0 1.5rem; font-size: clamp(1.1rem,1.6vw,1.35rem); line-height: 1.55; }
.section-split > div:last-child > p:last-child { color: #68645d; }

/* =========================================================
   SERVICES — 3D SHOWCASE
========================================================= */
.services-experience {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(5.5rem,8vw,8rem) 0 3rem;
  background: #0a0a0a;
}
.services-experience-container { max-width: var(--container); margin: auto; }
.services-experience-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .65fr;
  gap: 4rem;
  align-items: end;
}
.services-experience-title {
  margin: 0;
  font-size: clamp(3rem,6vw,6.5rem);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.055em;
}
.services-experience-title span { color: var(--colour-gold); }
.services-experience-intro { max-width: 510px; margin: 0 0 .5rem; color: var(--colour-muted); font-size: .95rem; }
.services-showcase {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr);
  gap: clamp(1rem,3vw,4rem);
  align-items: center;
  min-height: 640px;
}
.services-visual-column { min-width: 0; }
.services-stage {
  position: relative;
  height: 610px;
  overflow: hidden;
  perspective: 1600px;
  touch-action: none;
  outline: none;
  user-select: none;
}
.services-stage:focus-visible { box-shadow: inset 0 0 0 1px rgba(201,154,61,.65); }
.services-stage-grid {
  position: absolute;
  inset: 8% 4% 8%;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 15%, transparent 75%);
}
.service-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 650px;
  height: 520px;
  transform: translate(-50%,-50%) rotateX(-7deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
  /* The 3D artwork is decorative; controls must receive the pointer. */
  pointer-events: none;
}
.service-ground {
  position: absolute;
  left: 50%;
  top: 65%;
  width: 430px;
  height: 140px;
  transform: translate(-50%,-50%) rotateX(76deg) translateZ(-160px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.95) 0%, rgba(0,0,0,.48) 38%, transparent 72%);
  filter: blur(14px);
}
.service-slab {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  height: 365px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s var(--ease);
}
.service-slab[data-position="active"] {
  z-index: 5;
  opacity: 1;
  transform: translate(-50%,-50%) translateZ(175px) rotateY(-5deg) rotateZ(-1.5deg) scale(1.07);
}
.service-slab[data-position="right"] {
  z-index: 3;
  opacity: .8;
  transform: translate(23%,-50%) translateZ(20px) rotateY(-25deg) rotateZ(7deg) scale(.88);
}
.service-slab[data-position="left"] {
  z-index: 3;
  opacity: .8;
  transform: translate(-123%,-50%) translateZ(20px) rotateY(22deg) rotateZ(-7deg) scale(.88);
}
.service-slab[data-position="far"] {
  z-index: 1;
  opacity: .28;
  filter: saturate(.55) brightness(.75);
  transform: translate(-50%,-50%) translateZ(-210px) rotateY(0deg) scale(.68);
}
.service-slab-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 40px 80px rgba(0,0,0,.62), inset 0 0 70px rgba(0,0,0,.12);
  transform: translateZ(10px);
}
.service-slab-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 20%, rgba(255,255,255,.18) 48%, transparent 55%);
  transform: translateX(-130%);
  animation: slabSheen 7s ease-in-out infinite;
}
.service-slab-face::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,.05) 19px 20px);
  mix-blend-mode: overlay;
}
.slab-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  color: rgba(20,20,20,.62);
  font-size: .58rem;
  letter-spacing: .16em;
}
.slab-name {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  color: rgba(20,20,20,.68);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.slab-tiling-face {
  background:
    radial-gradient(ellipse at 18% 12%, rgba(255,255,255,.96) 0 8%, transparent 34%),
    radial-gradient(ellipse at 76% 82%, rgba(120,115,105,.24), transparent 28%),
    linear-gradient(145deg,#f0ece2 0%,#d0c9bd 48%,#b6afa4 100%);
}
.slab-stone-face {
  background:
    radial-gradient(ellipse at 65% 30%, rgba(255,255,255,.28), transparent 23%),
    radial-gradient(ellipse at 20% 78%, rgba(0,0,0,.3), transparent 26%),
    linear-gradient(145deg,#8f8b83 0%,#5d5952 45%,#2e2d2a 100%);
}
.slab-waterproofing-face {
  background:
    radial-gradient(circle at 26% 24%, rgba(255,255,255,.35), transparent 3%),
    radial-gradient(circle at 62% 58%, rgba(255,255,255,.18), transparent 3%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.15), transparent 2%),
    linear-gradient(135deg,#273032 0%,#0c1011 55%,#323838 100%);
}
.slab-paving-face {
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.24), transparent 3%),
    radial-gradient(circle at 72% 68%, rgba(0,0,0,.16), transparent 12%),
    linear-gradient(145deg,#d0c0a8 0%,#9a8a74 48%,#665b4c 100%);
}
.service-slab-edge {
  position: absolute;
  inset: 8px -10px -10px 9px;
  z-index: -1;
  background: linear-gradient(135deg,#2c2925,#161514);
  border: 1px solid rgba(201,154,61,.2);
  transform: translateZ(-2px);
  box-shadow: 0 30px 55px rgba(0,0,0,.45);
}
@keyframes slabSheen {
  0%, 25% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}
.services-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(201,154,61,.7);
  border-radius: 50%;
  background: rgba(8,8,8,.72);
  color: var(--colour-gold);
  font-size: 1.05rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.services-arrow:hover { background: var(--colour-gold); color: #080808; }
.services-arrow:active { transform: translateY(-50%) scale(.94); }
.services-arrow-prev { left: 1rem; }
.services-arrow-next { right: 1rem; }
.services-drag-cue {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  z-index: 15;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(244,241,234,.42);
  font-size: .56rem;
  letter-spacing: .22em;
}
.services-drag-cue span { color: var(--colour-gold); font-size: .85rem; }
.service-detail-panel {
  position: relative;
  padding: 1.5rem 0 1.5rem clamp(2rem,4vw,5rem);
  border-left: 1px solid var(--colour-line);
}
.service-detail-topline { display: flex; align-items: center; gap: .8rem; color: var(--colour-gold); font-size: .62rem; letter-spacing: .2em; }
.service-detail-rule { width: 55px; height: 1px; background: var(--colour-gold); opacity: .65; }
.service-detail-panel h3 {
  margin: 1.5rem 0 .7rem;
  font-size: clamp(3rem,4.8vw,5.4rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
}
.service-detail-kicker { margin-bottom: 1.5rem; color: var(--colour-muted); font-size: .62rem; letter-spacing: .18em; }
.service-detail-panel > p:not(.service-detail-kicker) { max-width: 470px; color: var(--colour-muted); font-size: .92rem; }
.service-benefits { padding: 0; margin: 1.8rem 0; list-style: none; }
.service-benefits li { padding: .62rem 0; border-bottom: 1px solid var(--colour-line); color: rgba(244,241,234,.82); font-size: .78rem; }
.service-benefits li::before { content: "✓"; margin-right: .8rem; color: var(--colour-gold); }
.service-detail-cta, .modal-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.25rem;
  border: 0;
  background: var(--colour-gold);
  color: #0b0b0b;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.service-detail-cta:hover, .modal-quote-link:hover { background: var(--colour-gold-light); transform: translateY(-2px); }
.service-thumbnails {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--colour-line);
}
.service-thumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.1rem 1rem;
  border: 0;
  border-right: 1px solid var(--colour-line);
  background: transparent;
  color: var(--colour-white);
  text-align: left;
}
.service-thumb:last-child { border-right: 0; }
.service-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--colour-gold);
  transition: width .45s var(--ease);
}
.service-thumb.is-active::after { width: 100%; }
.service-thumb-image { width: 55px; height: 55px; flex: none; background-size: cover; background-position: center; }
.thumb-tiling { background: linear-gradient(135deg,#f3efe5,#aaa399); }
.thumb-stone { background: linear-gradient(135deg,#77736d,#292825); }
.thumb-waterproofing { background: linear-gradient(135deg,#30383a,#090a0b); }
.thumb-paving { background: linear-gradient(135deg,#c1ad91,#685d4e); }
.service-thumb-meta { display: flex; min-width: 0; flex-direction: column; }
.service-thumb-meta small { color: var(--colour-gold); font-size: .55rem; letter-spacing: .15em; }
.service-thumb-meta strong { overflow: hidden; font-size: .67rem; font-weight: 500; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   PROJECTS
========================================================= */
.projects-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.text-link { color: var(--colour-gold); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; gap: 1rem; }
.project-card { position: relative; min-height: 560px; overflow: hidden; background: #151515; }
.project-card-large { min-height: 680px; }
.project-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.project-card:hover .project-image { transform: scale(1.04); }
.project-image-1 { background-image: url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?auto=format&fit=crop&w=1500&q=85'); }
.project-image-2 { background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1200&q=85'); }
.project-image-3 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=85'); }
.project-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.75)); }
.project-caption { position: absolute; right: 1.2rem; bottom: 1.2rem; left: 1.2rem; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.project-caption span { color: var(--colour-gold); font-size: .6rem; letter-spacing: .15em; }
.project-caption strong { font-size: .8rem; font-weight: 500; letter-spacing: .05em; }

/* =========================================================
   PROCESS
========================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 5rem; border-top: 1px solid var(--colour-line-dark); }
.process-item { padding: 1.4rem 1.2rem 0 0; border-right: 1px solid var(--colour-line-dark); }
.process-item:not(:first-child) { padding-left: 1.2rem; }
.process-item:last-child { border-right: 0; }
.process-item > span { color: #8d6826; font-size: .62rem; letter-spacing: .15em; }
.process-item h3 { margin: 2rem 0 .8rem; font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; }
.process-item p { max-width: 250px; margin: 0; color: #68645d; font-size: .8rem; }

/* =========================================================
   CONTACT
========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,9vw,10rem); }
.contact-title { max-width: 700px; }
.contact-copy { max-width: 500px; margin-top: 2rem; color: var(--colour-muted); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form label { color: rgba(244,241,234,.62); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  margin-top: .45rem;
  padding: .75rem 0;
  border: 0;
  border-bottom: 1px solid var(--colour-line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--colour-white);
}
.contact-form select option { background: #111; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--colour-gold); }
.contact-submit { align-self: flex-start; padding: .95rem 1.3rem; border: 1px solid var(--colour-gold); background: transparent; color: var(--colour-gold); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-submit:hover { background: var(--colour-gold); color: #090909; }
.form-message { min-height: 1.2rem; margin: 0; color: var(--colour-gold); font-size: .75rem; }

/* =========================================================
   PREMIUM SERVICE MODALS
   Clean architectural / brochure-inspired presentation
========================================================= */

.service-modal {
  /* Keep Bootstrap service modals above the fixed homepage header.
     The header uses z-index: 1100, while Bootstrap's modal defaults
     to 1055, which was causing the header to sit over the modal. */
  z-index: 1200;

  --modal-ink: #18201e;
  --modal-muted: #66706b;
  --modal-soft: #f3f4f0;
  --modal-white: #ffffff;
  --modal-line: #e2e5df;
  --modal-accent: var(--colour-gold, #c99a3d);
}

.service-modal .modal-dialog {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 28px auto;
}

.service-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--modal-white);
  color: var(--modal-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}

/* ---------------------------------------------------------
   COMPACT MODAL HEADER
--------------------------------------------------------- */
.service-modal-header {
  min-height: 72px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--modal-line);
}

.service-modal-header-eyebrow {
  margin: 0 0 3px;
  color: var(--modal-accent);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-modal-header-service {
  margin: 0;
  color: #2c302d;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e1e4df;
  border-radius: 50%;
  background: #f2f3ef;
  color: #1c211e;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.service-modal-close:hover {
  border-color: var(--modal-accent);
  background: var(--modal-accent);
  color: #fff;
  transform: rotate(90deg);
}

/* ---------------------------------------------------------
   SCROLL AREA
--------------------------------------------------------- */
.service-modal-body {
  max-height: calc(100vh - 85px);
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--modal-accent) #eceee9;
}

.service-modal-body::-webkit-scrollbar {
  width: 7px;
}

.service-modal-body::-webkit-scrollbar-track {
  background: #eceee9;
}

.service-modal-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--modal-accent);
}

/* ---------------------------------------------------------
   INTRO — MORE BREATHING ROOM
--------------------------------------------------------- */
.service-modal-intro {
  padding: clamp(2.8rem, 5vw, 4rem) clamp(2rem, 5vw, 4.5rem) 2.6rem;
  background: #fff;
}

.service-modal-eyebrow,
.service-modal-section-label {
  margin: 0 0 .85rem;
  color: var(--modal-accent);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-modal-intro h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--modal-ink);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.service-modal-intro h2 span {
  color: var(--modal-accent);
}

.service-modal-lead {
  max-width: 690px;
  margin: 0;
  color: var(--modal-muted);
  font-size: .93rem;
  line-height: 1.75;
}

/* ---------------------------------------------------------
   FEATURE IMAGE
--------------------------------------------------------- */
.service-modal-feature {
  height: clamp(300px, 37vw, 390px);
  overflow: hidden;
  background: #ddd;
}

.service-modal-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s ease;
}

.service-modal-feature:hover img {
  transform: scale(1.015);
}

/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */
.service-modal-content {
  padding: clamp(3rem, 5vw, 4.25rem) clamp(2rem, 5vw, 4.5rem);
  background: #fff;
}

.service-modal-content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.service-modal-content h3,
.service-modal-applications h3,
.service-modal-approach h3 {
  max-width: 560px;
  margin: 0 0 1.15rem;
  color: var(--modal-ink);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.service-modal-content h3 span,
.service-modal-applications h3 span,
.service-modal-approach h3 span {
  color: var(--modal-accent);
}

.service-modal-content p {
  max-width: 650px;
  margin: 0 0 1rem;
  color: var(--modal-muted);
  font-size: .9rem;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   KEY POINTS
--------------------------------------------------------- */
.service-modal-key-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.5rem;
}

.service-modal-key-points > div {
  padding-top: .85rem;
  border-top: 1px solid var(--modal-line);
}

.service-modal-key-points span {
  display: block;
  margin-bottom: .6rem;
  color: var(--modal-accent);
  font-size: .59rem;
  letter-spacing: .14em;
}

.service-modal-key-points strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--modal-ink);
  font-size: .82rem;
  font-weight: 600;
}

.service-modal-key-points p {
  margin: 0;
  color: #777d78;
  font-size: .75rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   APPLICATIONS SECTION
--------------------------------------------------------- */
.service-modal-applications {
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
  background: var(--modal-soft);
}

.service-modal-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.service-modal-section-heading h3 {
  margin: 0;
}

.service-modal-section-heading > p {
  max-width: 310px;
  margin: 0;
  color: var(--modal-muted);
  font-size: .79rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   APPLICATION GALLERY
   Intentional composition instead of a crowded grid
--------------------------------------------------------- */
.service-application-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: 230px 230px 270px;
  gap: 12px;
}

.service-application-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
}

.service-application-large {
  grid-row: span 2;
}

.service-application-wide {
  grid-column: 1 / -1;
}

.service-application-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.service-application-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.service-application-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3.5rem 1.25rem 1.1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.68), transparent);
}

.service-application-card figcaption span {
  margin-bottom: .25rem;
  color: var(--modal-accent);
  font-size: .57rem;
  letter-spacing: .16em;
}

.service-application-card figcaption strong {
  font-size: .92rem;
  font-weight: 500;
}

/* ---------------------------------------------------------
   LIST / OPTIONS
--------------------------------------------------------- */
.service-modal-light {
  background: #fafaf7;
}

.service-modal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-modal-list li {
  position: relative;
  padding: .8rem 0 .8rem 1.05rem;
  border-bottom: 1px solid var(--modal-line);
  color: #4a504c;
  font-size: .84rem;
}

.service-modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.18rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--modal-accent);
}

.service-modal-options {
  padding: 2.4rem clamp(2rem, 5vw, 4.5rem);
  background: #fff;
  border-top: 1px solid var(--modal-line);
  border-bottom: 1px solid var(--modal-line);
}

.service-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.service-option-list span {
  padding: .6rem .85rem;
  border: 1px solid #dcdfd9;
  border-radius: 999px;
  color: #555b56;
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .11em;
}

/* ---------------------------------------------------------
   APPROACH
--------------------------------------------------------- */
.service-modal-approach {
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
  background: #f0f1ec;
}

.service-modal-approach h3 {
  margin-bottom: 2.2rem;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #d8dad4;
  border-bottom: 1px solid #d8dad4;
}

.service-process-grid > div {
  min-height: 145px;
  padding: 1.25rem;
  border-right: 1px solid #d8dad4;
}

.service-process-grid > div:last-child {
  border-right: 0;
}

.service-process-grid span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--modal-accent);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-process-grid strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--modal-ink);
  font-size: .82rem;
  font-weight: 600;
}

.service-process-grid p {
  margin: 0;
  color: #737972;
  font-size: .71rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */
.service-modal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.6rem clamp(2rem, 5vw, 4.5rem);
  background: #151716;
}

.service-modal-cta > div > p {
  margin: 0 0 .45rem;
  color: var(--modal-accent);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.service-modal-cta h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.15;
}

.service-modal-cta h3 span {
  color: var(--modal-accent);
}

.service-modal .modal-quote-link {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  flex: 0 0 auto;
  padding: .82rem 1.15rem;
  border: 1px solid var(--modal-accent);
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.service-modal .modal-quote-link span {
  color: var(--modal-accent);
  font-size: .95rem;
  transition: color .25s ease, transform .25s ease;
}

.service-modal .modal-quote-link:hover {
  background: var(--modal-accent);
  color: #151716;
}

.service-modal .modal-quote-link:hover span {
  color: #151716;
  transform: translateX(3px);
}

/* ---------------------------------------------------------
   MODAL BACKDROP
--------------------------------------------------------- */
.modal-backdrop {
  z-index: 1190;
}

.modal-backdrop.show {
  opacity: .76;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 991px) {
  .service-modal .modal-dialog {
    width: min(94%, 850px);
    margin: 18px auto;
  }

  .service-modal-header {
    padding: 15px 22px;
  }

  .service-modal-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-modal-feature {
    height: 340px;
  }

  .service-application-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px 240px;
  }

  .service-application-large {
    grid-row: span 1;
  }

  .service-application-wide {
    grid-column: 1 / -1;
  }

  .service-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-process-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .service-process-grid > div:nth-child(-n + 3) {
    border-bottom: 1px solid #d8dad4;
  }
}

@media (max-width: 767px) {
  .service-modal .modal-dialog {
    width: calc(100% - 14px);
    margin: 7px auto;
  }

  .service-modal .modal-content {
    border-radius: 16px;
  }

  .service-modal-header {
    min-height: 66px;
    padding: 13px 16px;
  }

  .service-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .service-modal-body {
    max-height: calc(100vh - 66px);
  }

  .service-modal-intro {
    padding: 2.3rem 1.2rem 2rem;
  }

  .service-modal-intro h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .service-modal-lead {
    font-size: .84rem;
  }

  .service-modal-feature {
    height: 245px;
  }

  .service-modal-content,
  .service-modal-applications,
  .service-modal-approach {
    padding: 2.4rem 1.2rem;
  }

  .service-modal-section-heading {
    display: block;
  }

  .service-modal-section-heading > p {
    margin-top: 1rem;
  }

  .service-modal-key-points {
    grid-template-columns: 1fr 1fr;
  }

  .service-application-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

  .service-application-large,
  .service-application-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .service-modal-list {
    grid-template-columns: 1fr;
  }

  .service-modal-options {
    padding: 2.1rem 1.2rem;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-process-grid > div,
  .service-process-grid > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d8dad4;
  }

  .service-process-grid > div:last-child {
    border-bottom: 0;
  }

  .service-modal-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 2.3rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .service-modal-key-points {
    grid-template-columns: 1fr;
  }

  .service-application-grid {
    grid-template-rows: repeat(5, 205px);
  }
}

/* =========================================================
   FINAL RESPONSIVE + MODAL STABILITY OVERRIDES
   Added after the original styles so these rules safely
   override desktop-first dimensions without touching the logo.
========================================================= */

/* -------------------------
   SERVICE MODAL: FIX TOP CLIPPING
-------------------------- */
.service-modal {
  overflow: hidden !important;
  padding: 0 !important;
}

.service-modal .modal-dialog {
  width: min(1080px, calc(100% - 40px));
  max-width: 1080px;
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
  margin: 20px auto;
  display: flex;
  align-items: stretch;
}

.service-modal .modal-content {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-modal-header {
  flex: 0 0 72px;
  min-height: 72px;
}

.service-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none !important;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Keep the first screen calm and clearly separated. */
.service-modal-intro {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2.25rem, 4vw, 3rem);
}

.service-modal-intro h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.service-modal-feature {
  height: clamp(280px, 31vw, 350px);
}

/* -------------------------
   TABLET
-------------------------- */
@media (max-width: 1199px) {
  .container-fluid {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }

  .services-experience {
    padding-top: 6rem;
  }

  .services-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 2rem;
  }

  .services-stage {
    height: 560px;
  }

  .service-scene {
    transform: translate(-50%, -50%) scale(.9) rotateX(-7deg) rotateY(0deg);
  }

  .service-detail-panel {
    padding-left: 2rem;
  }

  .service-detail-panel h3 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
  }

  .project-card,
  .project-card-large {
    min-height: 500px;
  }
}

/* -------------------------
   MOBILE / SMALL TABLET
-------------------------- */
@media (max-width: 991px) {
  html {
    overflow-x: hidden;
  }

  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container-fluid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header {
    padding: .9rem 0;
  }

  .site-header.is-scrolled {
    padding: .7rem 0;
  }

  .desktop-navigation {
    display: none !important;
  }

  /* -------------------------
     HERO
  -------------------------- */
  .hero-section,
  .hero-grid {
    min-height: 100svh;
  }

  .hero-grid {
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    max-width: 680px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    max-width: 650px;
    font-size: clamp(3.7rem, 14vw, 6.5rem);
  }

  .hero-description {
    max-width: 570px;
    margin: 1.5rem 0;
    font-size: .95rem;
  }

  .hero-side-detail {
    display: none;
  }

  .hero-scroll {
    bottom: 1.2rem;
  }

  /* -------------------------
     SHARED SECTIONS
  -------------------------- */
  .about-section,
  .process-section,
  .projects-section,
  .contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-split {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .section-title-dark,
  .section-title-light,
  .contact-title {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
  }

  .section-lead {
    font-size: 1.05rem;
  }

  /* -------------------------
     SERVICES
  -------------------------- */
  .services-experience {
    min-height: auto;
    padding: 5rem 0 2rem;
  }

  .services-experience-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .services-experience-title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .services-experience-intro {
    max-width: 620px;
    margin: 0;
  }

  .services-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    margin-top: 1.5rem;
  }

  .services-stage {
    height: min(76vw, 540px);
    min-height: 420px;
  }

  .service-scene {
    width: 560px;
    height: 480px;
    transform: translate(-50%, -50%) scale(.86) rotateX(-7deg) rotateY(0deg);
  }

  .services-arrow {
    width: 46px;
    height: 46px;
  }

  .services-arrow-prev { left: .65rem; }
  .services-arrow-next { right: .65rem; }

  .service-detail-panel {
    padding: 2rem 0 1rem;
    border-left: 0;
    border-top: 1px solid var(--colour-line);
  }

  .service-detail-panel h3 {
    margin-top: 1rem;
    font-size: clamp(2.7rem, 9vw, 4.5rem);
  }

  .service-detail-panel > p:not(.service-detail-kicker) {
    max-width: 650px;
  }

  .service-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
  }

  .service-thumb {
    border-bottom: 1px solid var(--colour-line);
  }

  .service-thumb:nth-child(2n) {
    border-right: 0;
  }

  /* -------------------------
     PROJECTS
  -------------------------- */
  .projects-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card,
  .project-card-large {
    min-height: 420px;
  }

  .project-card-large {
    grid-column: 1 / -1;
    min-height: 520px;
  }

  /* -------------------------
     PROCESS
  -------------------------- */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 3.5rem;
  }

  .process-item {
    min-height: 210px;
    padding: 1.4rem 1.2rem 1.5rem 0;
    border-right: 1px solid var(--colour-line-dark);
    border-bottom: 1px solid var(--colour-line-dark);
  }

  .process-item:nth-child(2n) {
    padding-left: 1.2rem;
    border-right: 0;
  }

  .process-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  /* -------------------------
     CONTACT
  -------------------------- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-copy {
    margin-top: 1.5rem;
  }

  /* -------------------------
     MODAL — TABLET
  -------------------------- */
  .service-modal .modal-dialog {
    width: min(94%, 900px);
    max-width: none;
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    margin: 14px auto;
  }

  .service-modal-header {
    flex-basis: 68px;
    min-height: 68px;
    padding: 14px 20px;
  }

  .service-modal-feature {
    height: 320px;
  }

  .service-modal-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-modal-section-heading {
    align-items: flex-start;
  }

  .service-application-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px 230px;
  }

  .service-application-large {
    grid-row: span 1;
  }

  .service-application-wide {
    grid-column: 1 / -1;
  }

  .service-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-process-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .service-process-grid > div:nth-child(-n + 3) {
    border-bottom: 1px solid #d8dad4;
  }
}

/* -------------------------
   PHONE
-------------------------- */
@media (max-width: 767px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-logo {
    gap: .65rem;
  }

  /* Logo itself remains unchanged; only its available layout space changes. */
  .logo-name {
    font-size: 1rem;
  }

  .logo-company {
    font-size: .48rem;
    letter-spacing: .2em;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .hero-eyebrow,
  .section-eyebrow {
    font-size: .58rem;
    letter-spacing: .2em;
  }

  .hero-title {
    font-size: clamp(3.35rem, 16vw, 5rem);
    line-height: .92;
  }

  .hero-description {
    max-width: 100%;
    font-size: .9rem;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }

  .hero-scroll-text {
    font-size: .48rem;
  }

  .hero-scroll-line {
    height: 38px;
  }

  .about-section,
  .process-section,
  .projects-section,
  .contact-section {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .section-title-dark,
  .section-title-light,
  .contact-title {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .section-lead {
    font-size: 1rem;
  }

  /* Services: eliminate horizontal overflow and keep the 3D artwork inside. */
  .services-experience {
    padding-top: 4.5rem;
  }

  .services-experience-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .services-experience-intro {
    font-size: .88rem;
    line-height: 1.7;
  }

  .services-stage {
    width: 100%;
    height: 430px;
    min-height: 0;
  }

  .service-scene {
    width: 470px;
    height: 420px;
    transform: translate(-50%, -50%) scale(.69) rotateX(-7deg) rotateY(0deg);
  }

  .service-slab {
    width: 270px;
    height: 365px;
  }

  .services-arrow {
    width: 42px;
    height: 42px;
    font-size: .9rem;
  }

  .services-arrow-prev { left: .35rem; }
  .services-arrow-next { right: .35rem; }

  .services-drag-cue {
    bottom: .75rem;
    font-size: .48rem;
    letter-spacing: .15em;
  }

  .service-detail-panel {
    padding: 1.75rem 0 .75rem;
  }

  .service-detail-topline {
    font-size: .55rem;
  }

  .service-detail-panel h3 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .service-detail-kicker {
    font-size: .55rem;
    line-height: 1.6;
  }

  .service-detail-panel > p:not(.service-detail-kicker) {
    font-size: .86rem;
  }

  .service-benefits {
    margin: 1.4rem 0;
  }

  .service-detail-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .service-thumbnails {
    grid-template-columns: 1fr;
  }

  .service-thumb,
  .service-thumb:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--colour-line);
  }

  .service-thumb:last-child {
    border-bottom: 0;
  }

  .service-thumb-image {
    width: 48px;
    height: 48px;
  }

  /* Projects become a simple vertical flow. */
  .project-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .project-card,
  .project-card-large {
    grid-column: auto;
    min-height: 400px;
  }

  .project-card-large {
    min-height: 440px;
  }

  /* Process becomes one clean column. */
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 2.75rem;
  }

  .process-item,
  .process-item:not(:first-child),
  .process-item:nth-child(2n) {
    min-height: auto;
    padding: 1.3rem 0 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--colour-line-dark);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .process-item h3 {
    margin-top: 1.2rem;
  }

  .process-item p {
    max-width: 100%;
  }

  /* Contact form: no cramped two-column fields on phones. */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-form {
    gap: 1.25rem;
  }

  .contact-submit {
    width: 100%;
    min-height: 48px;
  }

  /* Modal: the dialog itself fits the viewport; only the body scrolls. */
  .service-modal .modal-dialog {
    width: calc(100% - 12px);
    max-width: none;
    height: calc(100vh - 12px);
    height: calc(100dvh - 12px);
    margin: 6px auto;
  }

  .service-modal .modal-content {
    border-radius: 16px;
  }

  .service-modal-header {
    flex-basis: 62px;
    min-height: 62px;
    padding: 10px 14px;
  }

  .service-modal-header-eyebrow {
    font-size: .5rem;
  }

  .service-modal-header-service {
    font-size: .58rem;
  }

  .service-modal-close {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .service-modal-intro {
    padding: 2rem 1.15rem 1.9rem;
  }

  .service-modal-eyebrow,
  .service-modal-section-label {
    font-size: .54rem;
    letter-spacing: .19em;
  }

  .service-modal-intro h2 {
    max-width: 100%;
    margin-bottom: .85rem;
    font-size: clamp(1.85rem, 8.6vw, 2.45rem);
    line-height: 1.08;
  }

  .service-modal-lead {
    font-size: .82rem;
    line-height: 1.7;
  }

  .service-modal-feature {
    height: 230px;
  }

  .service-modal-content,
  .service-modal-applications,
  .service-modal-approach {
    padding: 2.35rem 1.15rem;
  }

  .service-modal-content-grid {
    gap: 2rem;
  }

  .service-modal-content h3,
  .service-modal-applications h3,
  .service-modal-approach h3 {
    font-size: 1.55rem;
  }

  .service-modal-content p {
    font-size: .82rem;
    line-height: 1.75;
  }

  .service-modal-key-points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-modal-section-heading {
    display: block;
    margin-bottom: 1.5rem;
  }

  .service-modal-section-heading > p {
    max-width: 100%;
    margin-top: .8rem;
    font-size: .73rem;
  }

  /* Gallery is intentionally one image per row on phones. */
  .service-application-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .service-application-large,
  .service-application-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .service-application-card {
    height: 220px;
  }

  .service-application-card figcaption {
    padding: 3rem 1rem .9rem;
  }

  .service-application-card figcaption strong {
    font-size: .82rem;
  }

  .service-modal-list {
    grid-template-columns: 1fr;
  }

  .service-modal-options {
    padding: 2rem 1.15rem;
  }

  .service-option-list {
    gap: .45rem;
  }

  .service-option-list span {
    padding: .52rem .7rem;
    font-size: .55rem;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-process-grid > div,
  .service-process-grid > div:nth-child(2) {
    min-height: auto;
    padding: 1.1rem 0;
    border-right: 0;
    border-bottom: 1px solid #d8dad4;
  }

  .service-process-grid > div:last-child {
    border-bottom: 0;
  }

  .service-process-grid span {
    margin-bottom: .8rem;
  }

  .service-modal-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 1.35rem;
    padding: 2rem 1.15rem;
  }

  .service-modal-cta h3 {
    font-size: 1.45rem;
  }

  .service-modal .modal-quote-link {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
}

/* -------------------------
   VERY SMALL PHONES
-------------------------- */
@media (max-width: 420px) {
  .container-fluid {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .site-logo {
    gap: .5rem;
  }

  .logo-name {
    font-size: .88rem;
  }

  .logo-company {
    font-size: .42rem;
    letter-spacing: .16em;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;
  }

  .hero-title {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .services-stage {
    height: 390px;
  }

  .service-scene {
    width: 430px;
    transform: translate(-50%, -50%) scale(.62) rotateX(-7deg) rotateY(0deg);
  }

  .service-modal-feature {
    height: 205px;
  }

  .service-application-card {
    height: 200px;
  }
}


/* =========================================================
   PROJECTS — PREMIUM AUTO MOVING CAROUSEL
   Final override layer for desktop, tablet and mobile.
========================================================= */
.project-carousel {
  position: relative;
  width: 100%;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.project-carousel-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .65fr);
  min-height: 680px;
  border-top: 1px solid var(--colour-line);
  border-bottom: 1px solid var(--colour-line);
  background: #101110;
}

.project-carousel-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #151515;
}

.project-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.045);
  transition: opacity .75s ease, transform 1.1s var(--ease), visibility 0s linear .75s;
}

.project-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity .75s ease, transform 5s linear, visibility 0s;
}

.project-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.project-carousel-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 25%, rgba(0,0,0,.62) 100%);
}

.project-carousel-counter {
  position: absolute;
  right: 1.6rem;
  bottom: 1.45rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: rgba(244,241,234,.82);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.project-carousel-counter span:first-child { color: var(--colour-gold); }
.project-carousel-counter i { width: 35px; height: 1px; background: rgba(244,241,234,.5); }

.project-carousel-progress {
  position: absolute;
  right: 1.6rem;
  bottom: .72rem;
  left: 1.6rem;
  z-index: 5;
  height: 2px;
  overflow: hidden;
  background: rgba(244,241,234,.25);
}

.project-carousel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--colour-gold);
}

.project-carousel-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem clamp(2rem, 4vw, 4.25rem);
  background: #101110;
}

.project-carousel-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.6rem;
  color: var(--colour-gold);
  font-size: .59rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.project-meta-line { width: 45px; height: 1px; background: var(--colour-gold); opacity: .7; }

.project-carousel-info h3 {
  max-width: 430px;
  margin: 0 0 1.15rem;
  color: var(--colour-white);
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.project-carousel-info p {
  max-width: 420px;
  margin: 0;
  color: var(--colour-muted);
  font-size: .86rem;
  line-height: 1.75;
}

.project-carousel-controls { display: flex; gap: .6rem; margin-top: 2.5rem; }

.project-carousel-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244,241,234,.22);
  background: transparent;
  color: var(--colour-white);
  font-size: 1rem;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.project-carousel-arrow:hover { border-color: var(--colour-gold); color: var(--colour-gold); transform: translateY(-2px); }
.project-carousel-arrow-primary { border-color: var(--colour-gold); background: var(--colour-gold); color: #080808; }
.project-carousel-arrow-primary:hover { background: var(--colour-gold-light); color: #080808; }

.project-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--colour-line);
}

.project-thumbnail {
  position: relative;
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: 28px 58px 1fr;
  align-items: center;
  gap: .7rem;
  padding: .85rem .75rem;
  border: 0;
  border-right: 1px solid var(--colour-line);
  background: #0d0e0d;
  color: var(--colour-white);
  text-align: left;
  transition: background .3s ease;
}

.project-thumbnail:last-child { border-right: 0; }
.project-thumbnail:hover, .project-thumbnail.is-active { background: #171817; }

.project-thumbnail::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--colour-gold);
  transition: width .35s ease;
}

.project-thumbnail.is-active::after { width: 100%; }
.project-thumbnail-number { align-self: start; padding-top: .15rem; color: var(--colour-gold); font-size: .56rem; letter-spacing: .1em; }

.project-thumbnail-image {
  width: 58px;
  height: 58px;
  background-size: cover;
  background-position: center;
  filter: saturate(.78);
  transition: filter .3s ease, transform .3s ease;
}

.project-thumbnail:hover .project-thumbnail-image,
.project-thumbnail.is-active .project-thumbnail-image { filter: saturate(1); transform: scale(1.03); }
.project-thumbnail-title { min-width: 0; color: rgba(244,241,234,.75); font-size: .59rem; font-weight: 500; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }

.project-thumb-1 { background-image: url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?auto=format&fit=crop&w=300&q=80'); }
.project-thumb-2 { background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=300&q=80'); }
.project-thumb-3 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=300&q=80'); }
.project-thumb-4 { background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=300&q=80'); }
.project-thumb-5 { background-image: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=300&q=80'); }
.project-thumb-6 { background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=300&q=80'); }

.project-carousel.is-paused .project-carousel-progress span { opacity: .55; }

@media (max-width: 1199px) {
  .project-carousel-main { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); min-height: 590px; }
  .project-carousel-visual { min-height: 590px; }
  .project-thumbnail { grid-template-columns: 24px 48px; }
  .project-thumbnail-image { width: 48px; height: 48px; }
  .project-thumbnail-title { display: none; }
}

@media (max-width: 991px) {
  .project-carousel-main { grid-template-columns: 1fr; min-height: 0; }
  .project-carousel-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .project-carousel-info { min-height: 330px; padding: 2.5rem 2rem 2.75rem; }
  .project-carousel-info h3 { font-size: clamp(2.3rem, 7vw, 4rem); }
  .project-thumbnails { display: flex; overflow-x: auto; scrollbar-width: none; }
  .project-thumbnails::-webkit-scrollbar { display: none; }
  .project-thumbnail { flex: 0 0 112px; min-height: 96px; grid-template-columns: 22px 52px; }
  .project-thumbnail-image { width: 52px; height: 52px; }
}

@media (max-width: 575px) {
  .project-carousel-visual { aspect-ratio: 4 / 3; }
  .project-carousel-counter { right: 1rem; bottom: 1.35rem; }
  .project-carousel-progress { right: 1rem; bottom: .7rem; left: 1rem; }
  .project-carousel-info { min-height: 330px; padding: 2rem 1.2rem 2.1rem; }
  .project-carousel-meta { margin-bottom: 1rem; font-size: .54rem; }
  .project-carousel-info h3 { margin-bottom: .85rem; font-size: clamp(2rem, 10vw, 3rem); }
  .project-carousel-info p { font-size: .79rem; }
  .project-carousel-controls { margin-top: 1.55rem; }
  .project-carousel-arrow { width: 44px; height: 44px; }
  .project-thumbnail { flex-basis: 94px; min-height: 88px; grid-template-columns: 18px 44px; gap: .5rem; padding: .65rem; }
  .project-thumbnail-image { width: 44px; height: 44px; }
}

/* =========================================================
   PROJECTS — FINAL DESKTOP-SAFE OVERRIDE
   The previous project rules were nested inside the 420px
   media query. Close that scope, then define the carousel
   for desktop first and progressively stack it on mobile.
========================================================= */

.project-carousel {
  position: relative;
  width: 100%;
  margin-top: 3rem;
  overflow: hidden;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.project-carousel-main {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, .78fr);
  min-height: 610px;
  border: 1px solid var(--colour-line);
  background: #101110;
}

.project-carousel-visual {
  position: relative;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  background: #171817;
}

.project-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.045);
  transition:
    opacity .75s ease,
    transform 5s linear,
    visibility 0s linear .75s;
}

.project-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity .75s ease,
    transform 5s linear,
    visibility 0s;
}

.project-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.project-carousel-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.58) 100%);
}

.project-carousel-counter {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(244,241,234,.82);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.project-carousel-counter span:first-child {
  color: var(--colour-gold);
}

.project-carousel-counter i {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(244,241,234,.48);
}

.project-carousel-progress {
  position: absolute;
  right: 1.5rem;
  bottom: .68rem;
  left: 1.5rem;
  z-index: 5;
  height: 2px;
  overflow: hidden;
  background: rgba(244,241,234,.25);
}

.project-carousel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--colour-gold);
}

.project-carousel-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem clamp(2rem, 3.2vw, 3.8rem);
  background: #101110;
}

.project-carousel-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.35rem;
  color: var(--colour-gold);
  font-size: .59rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.5;
}

.project-meta-line {
  flex: 0 0 40px;
  width: 40px;
  height: 1px;
  background: var(--colour-gold);
  opacity: .7;
}

.project-carousel-info h3 {
  max-width: 440px;
  margin: 0 0 1rem;
  color: var(--colour-white);
  font-size: clamp(2.2rem, 3.3vw, 4rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.project-carousel-info p {
  max-width: 420px;
  margin: 0;
  color: var(--colour-muted);
  font-size: .84rem;
  line-height: 1.75;
}

.project-carousel-controls {
  display: flex;
  gap: .6rem;
  margin-top: 2rem;
}

.project-carousel-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244,241,234,.22);
  background: transparent;
  color: var(--colour-white);
  font-size: 1rem;
  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.project-carousel-arrow:hover {
  border-color: var(--colour-gold);
  color: var(--colour-gold);
  transform: translateY(-2px);
}

.project-carousel-arrow-primary {
  border-color: var(--colour-gold);
  background: var(--colour-gold);
  color: #080808;
}

.project-carousel-arrow-primary:hover {
  background: var(--colour-gold-light);
  color: #080808;
}

.project-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--colour-line);
  border-top: 0;
  background: #0d0e0d;
}

.project-thumbnail {
  position: relative;
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 24px 52px minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  padding: .75rem .8rem;
  border: 0;
  border-right: 1px solid var(--colour-line);
  background: #0d0e0d;
  color: var(--colour-white);
  text-align: left;
  cursor: pointer;
  transition: background .25s ease;
}

.project-thumbnail:last-child {
  border-right: 0;
}

.project-thumbnail:hover,
.project-thumbnail.is-active {
  background: #171817;
}

.project-thumbnail::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--colour-gold);
  transition: width .35s ease;
}

.project-thumbnail.is-active::after {
  width: 100%;
}

.project-thumbnail-number {
  align-self: start;
  padding-top: .12rem;
  color: var(--colour-gold);
  font-size: .56rem;
  letter-spacing: .1em;
}

.project-thumbnail-image {
  width: 52px;
  height: 52px;
  display: block;
  background-size: cover;
  background-position: center;
  filter: saturate(.75);
  transition: filter .3s ease, transform .3s ease;
}

.project-thumbnail:hover .project-thumbnail-image,
.project-thumbnail.is-active .project-thumbnail-image {
  filter: saturate(1);
  transform: scale(1.03);
}

.project-thumbnail-title {
  min-width: 0;
  color: rgba(244,241,234,.75);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-carousel.is-paused .project-carousel-progress span {
  opacity: .55;
}

@media (max-width: 1199px) {
  .project-carousel-main {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr);
    min-height: 560px;
  }

  .project-carousel-visual {
    min-height: 560px;
  }

  .project-carousel-info {
    padding: 2.5rem 2.25rem;
  }

  .project-thumbnail {
    grid-template-columns: 22px 46px;
  }

  .project-thumbnail-image {
    width: 46px;
    height: 46px;
  }

  .project-thumbnail-title {
    display: none;
  }
}

@media (max-width: 991px) {
  .project-carousel {
    margin-top: 2.25rem;
  }

  .project-carousel-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-carousel-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-carousel-info {
    min-height: 300px;
    padding: 2.5rem 2rem 2.75rem;
  }

  .project-carousel-info h3 {
    font-size: clamp(2.4rem, 7vw, 4rem);
  }

  .project-thumbnails {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .project-thumbnail {
    flex: 0 0 112px;
    min-height: 92px;
    grid-template-columns: 22px 52px;
  }
}

@media (max-width: 575px) {
  .project-carousel-visual {
    aspect-ratio: 4 / 3;
  }

  .project-carousel-counter {
    right: 1rem;
    bottom: 1.25rem;
  }

  .project-carousel-progress {
    right: 1rem;
    bottom: .65rem;
    left: 1rem;
  }

  .project-carousel-info {
    min-height: 320px;
    padding: 2rem 1.2rem 2.1rem;
  }

  .project-carousel-meta {
    margin-bottom: 1rem;
    font-size: .54rem;
  }

  .project-carousel-info h3 {
    margin-bottom: .8rem;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .project-carousel-info p {
    font-size: .78rem;
  }

  .project-carousel-controls {
    margin-top: 1.45rem;
  }

  .project-carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .project-thumbnail {
    flex-basis: 94px;
    min-height: 86px;
    grid-template-columns: 18px 44px;
    gap: .5rem;
    padding: .6rem;
  }

  .project-thumbnail-image {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-slide,
  .project-slide.is-active,
  .project-thumbnail,
  .project-thumbnail-image,
  .project-carousel-arrow {
    transition: none !important;
  }
}

/* =========================================================
   PREMIUM FOOTER
========================================================= */
.site-footer {
  position: relative;
  background: #070807;
  border-top: 1px solid var(--colour-line);
  color: var(--colour-white);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.5fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}

.footer-brand {
  max-width: 430px;
}

.footer-logo {
  width: fit-content;
}

.footer-brand-copy {
  max-width: 390px;
  margin: 2rem 0 2.2rem;
  color: var(--colour-muted);
  font-size: .82rem;
  line-height: 1.8;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(201,154,61,.7);
  color: var(--colour-gold);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}

.footer-cta:hover {
  gap: 1rem;
  color: var(--colour-gold-light);
  border-color: var(--colour-gold-light);
}

.footer-links {
  display: grid;
  grid-template-columns: .8fr .95fr 1.35fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-label {
  margin: 0 0 1.5rem;
  color: var(--colour-gold);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.2;
}

.footer-column > a {
  margin-bottom: .78rem;
  color: rgba(244,241,234,.68);
  font-size: .72rem;
  letter-spacing: .06em;
  transition: color .25s ease, transform .25s ease;
}

.footer-column > a:hover {
  color: var(--colour-white);
  transform: translateX(3px);
}

.footer-contact-note {
  max-width: 310px;
  margin: 0 0 1.35rem;
  color: var(--colour-muted);
  font-size: .76rem;
  line-height: 1.75;
}

.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem !important;
  color: var(--colour-white) !important;
}

.footer-contact-link span {
  color: var(--colour-gold);
  transition: transform .25s ease;
}

.footer-contact-link:hover span {
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
  border-top: 1px solid var(--colour-line);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(244,241,234,.38);
  font-size: .58rem;
  letter-spacing: .08em;
}

.footer-bottom-links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: color .25s ease;
}

.footer-bottom-links a:hover {
  color: var(--colour-gold);
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2.2vw, 2rem);
  bottom: clamp(1rem, 2.2vw, 2rem);
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  padding: .65rem .95rem .65rem .72rem;
  border: 1px solid rgba(201,154,61,.62);
  border-radius: 999px;
  background: rgba(10,11,10,.94);
  color: var(--colour-white);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  border-color: var(--colour-gold);
  background: #111311;
  color: var(--colour-white);
}

.whatsapp-float-ring {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(201,154,61,.16);
  border-radius: inherit;
  pointer-events: none;
  animation: whatsappPulse 2.8s ease-out infinite;
}

.whatsapp-float-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}

.whatsapp-float-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp-float-text {
  color: rgba(244,241,234,.9);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@keyframes whatsappPulse {
  0%, 60%, 100% { transform: scale(1); opacity: .55; }
  15% { transform: scale(1.04); opacity: .2; }
}

/* =========================================================
   FOOTER RESPONSIVE
========================================================= */
@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-brand {
    max-width: 560px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
    gap: 3.25rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .footer-contact-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
    padding: 1.35rem 0;
  }

  .whatsapp-float {
    right: .9rem;
    bottom: .9rem;
    min-height: 50px;
    padding: .55rem .72rem .55rem .58rem;
  }

  .whatsapp-float-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .whatsapp-float-icon svg {
    width: 19px;
    height: 19px;
  }

  .whatsapp-float-text {
    display: none;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

  .footer-contact-column {
    grid-column: auto;
  }

  .footer-brand-copy {
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring {
    animation: none;
  }
}

/* =========================================================
   CONTACT DETAILS + FOOTER — FINAL OVERRIDE
   Business contact details:
   Phone: 0403 727 114
   Email: Hdstoneandtiles@gmail.com
   Instagram: @hd_stone_and_tiles
========================================================= */

.footer-contact-column {
  min-width: 0;
}

.footer-contact-note {
  max-width: 300px;
  margin: 0 0 1.35rem;
  color: var(--colour-muted);
  font-size: .76rem;
  line-height: 1.75;
}

.footer-contact-link {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  width: 100%;
  margin: 0 0 .82rem !important;
  color: rgba(244,241,234,.78) !important;
  font-size: .72rem !important;
  line-height: 1.5;
  letter-spacing: .04em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s ease, transform .25s ease;
}

.footer-contact-link > span:first-child {
  flex: 0 0 auto;
  color: var(--colour-gold);
  transition: transform .25s ease;
}

.footer-contact-link .footer-contact-value {
  min-width: 0;
  color: inherit;
}

.footer-contact-link:hover {
  color: var(--colour-white) !important;
  transform: translateX(3px);
}

.footer-contact-link:hover > span:first-child {
  transform: translateX(3px);
}

/* Prevent an accidentally pasted contact-details block from appearing
   as an extra horizontal row outside the footer. */
.site-footer ~ .contact-details {
  display: none !important;
}

.whatsapp-float {
  z-index: 1300;
}

@media (max-width: 767px) {
  .footer-contact-column {
    grid-column: 1 / -1;
  }

  .footer-contact-link {
    font-size: .74rem !important;
  }
}

@media (max-width: 420px) {
  .footer-contact-column {
    grid-column: auto;
  }

  .footer-contact-link {
    font-size: .72rem !important;
  }
}

/* =========================================================
   CONTACT DETAILS — FINAL PREMIUM STYLING
========================================================= */
.contact-intro {
  min-width: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin-top: clamp(2.2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--colour-line);
}

.contact-detail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--colour-line);
  color: var(--colour-white);
  text-decoration: none;
  transition: padding .3s ease, color .3s ease, background .3s ease;
}

.contact-detail:hover {
  padding-left: 10px;
  color: var(--colour-gold);
}

.contact-detail-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,154,61,.42);
  color: var(--colour-gold);
  font-size: .95rem;
  line-height: 1;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-detail-label {
  margin-bottom: .3rem;
  color: var(--colour-gold);
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.2;
}

.contact-detail-value {
  color: var(--colour-white);
  font-size: .82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-detail-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--colour-gold);
  font-size: 1rem;
  transition: transform .3s ease;
}

.contact-detail:hover .contact-detail-arrow {
  transform: translateX(5px);
}

/* =========================================================
   FOOTER CONTACT — KEEP DETAILS INSIDE FOOTER GRID
========================================================= */
.footer-contact-column {
  min-width: 0;
}

.footer-contact-note {
  max-width: 300px;
  margin: 0 0 1.25rem;
  color: var(--colour-muted);
  font-size: .75rem;
  line-height: 1.7;
}

.footer-contact-link {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  width: 100%;
  margin: 0 0 .75rem !important;
  color: rgba(244,241,234,.72) !important;
  font-size: .7rem !important;
  line-height: 1.5;
  letter-spacing: .04em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s ease, transform .25s ease;
}

.footer-contact-link > span:first-child {
  flex: 0 0 auto;
  color: var(--colour-gold);
  transition: transform .25s ease;
}

.footer-contact-value {
  min-width: 0;
}

.footer-contact-link:hover {
  color: var(--colour-white) !important;
  transform: translateX(3px);
}

.footer-contact-link:hover > span:first-child {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .contact-details {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .contact-details {
    margin-top: 2rem;
  }

  .contact-detail {
    min-height: 76px;
  }

  .contact-detail-value {
    font-size: .78rem;
  }

  .footer-contact-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .contact-detail {
    gap: .75rem;
  }

  .contact-detail-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .contact-detail-value {
    font-size: .74rem;
  }
}


/* Actual HD Stone & Tiles logo artwork */
.site-logo-image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(150px, 16vw, 245px);
  max-width: 42vw;
  text-decoration: none;
}
.site-logo-image .brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.applications-page .site-logo-image .brand-logo-image { max-height: 76px; }
@media (max-width: 575.98px) {
  .site-logo-image { width: 145px; max-width: 48vw; }
  .site-logo-image .brand-logo-image { max-height: 56px; }
}


/* Brand logo: transparent artwork on dark surfaces */
.site-logo-image {
  display: inline-flex !important;
  align-items: center;
  width: clamp(155px, 15vw, 220px);
  max-width: 38vw;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none;
  flex: 0 0 auto;
}
.site-logo-image .brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  mix-blend-mode: normal;
}
.footer-brand-logo {
  display: block;
  width: min(240px, 60vw);
  margin: 0 0 1.75rem;
}
.footer-brand-logo a { display: inline-block; }
.footer-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
footer .footer-brand-logo { position: relative; z-index: 2; }
@media (max-width: 575.98px) {
  .site-logo-image { width: 145px; max-width: 45vw; }
  .site-logo-image .brand-logo-image { max-height: 52px; }
  .footer-brand-logo { width: 190px; }
}


/* Final logo contrast and sizing refinement */
.site-logo-image {
  width: clamp(220px, 18vw, 270px) !important;
  max-width: 40vw !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  line-height: 0;
}
.site-logo-image .brand-logo-image {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.22));
}
.footer-brand-logo {
  width: min(250px, 65vw);
}
.footer-brand-logo img {
  width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .site-logo-image {
    width: clamp(155px, 42vw, 215px) !important;
    max-width: 48vw !important;
  }
  .site-logo-image .brand-logo-image { max-height: 54px; }
}


/* Header logo refinement: use a wide lockup rather than the square logo artwork */
.site-logo-image {
  width: clamp(220px, 18vw, 280px) !important;
  max-width: 38vw !important;
  height: 76px;
  display: inline-flex !important;
  align-items: center;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.site-logo-image .brand-logo-image {
  width: 100%;
  height: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (max-width: 767px) {
  .site-logo-image {
    width: clamp(170px, 42vw, 220px) !important;
    max-width: 46vw !important;
    height: 60px;
  }
  .site-logo-image .brand-logo-image { max-height: 60px; }
}

/* Clean cutout header logo without a square background */
.site-logo-image, .site-logo-image .brand-logo-image { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.site-logo-image { width: clamp(220px,18vw,280px) !important; max-width:38vw !important; height:72px; padding:0 !important; display:inline-flex !important; align-items:center; }
.site-logo-image .brand-logo-image { display:block; width:100%; height:100%; max-height:72px; object-fit:contain; object-position:left center; }
@media(max-width:767px){.site-logo-image{width:clamp(165px,42vw,220px)!important;max-width:46vw!important;height:58px}.site-logo-image .brand-logo-image{max-height:58px}}


/* Final header logo polish: larger mark, no frame or halo */
.site-logo-image,
.site-logo-image::before,
.site-logo-image::after,
.site-logo-image .brand-logo-image {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.site-logo-image {
  width: clamp(270px, 22vw, 340px) !important;
  max-width: 42vw !important;
  height: 88px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}
.site-logo-image .brand-logo-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 88px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
@media (max-width: 767px) {
  .site-logo-image {
    width: clamp(195px, 48vw, 245px) !important;
    max-width: 50vw !important;
    height: 66px !important;
  }
  .site-logo-image .brand-logo-image {
    max-height: 66px !important;
  }
}


/* Remove any visible frame/outline around the header logo */
.site-logo-image,
.site-logo-image a,
.site-logo-image img,
.site-logo-image::before,
.site-logo-image::after,
.brand-logo-image,
.applications-page .site-logo-image,
.applications-page .site-logo-image a,
.applications-page .site-logo-image img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
}


/* Header brand: larger and more balanced against the navigation */
.site-logo-image,
.site-logo-image a,
.site-logo-image img,
.site-logo-image::before,
.site-logo-image::after {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.site-logo-image {
  width: clamp(230px, 19vw, 300px) !important;
  max-width: 36vw !important;
  height: 88px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}
.site-logo-image .brand-logo-image {
  width: 100% !important;
  height: 100% !important;
  max-height: 88px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
@media (max-width: 767px) {
  .site-logo-image {
    width: clamp(190px, 46vw, 235px) !important;
    max-width: 48vw !important;
    height: 68px !important;
  }
  .site-logo-image .brand-logo-image {
    max-height: 68px !important;
  }
}

/* Explicitly remove any frame around the header logo image */
.site-logo-image, .site-logo-image a, .site-logo-image img,
.site-logo-image::before, .site-logo-image::after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Final transparent logo cutout: remove all image/container frames */
.site-logo-image, .site-logo-image a, .site-logo-image img,
.site-logo-image::before, .site-logo-image::after, .brand-logo-image {
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: transparent !important; filter: none !important;
}
.site-logo-image {
  width: clamp(235px, 20vw, 305px) !important;
  max-width: 38vw !important; height: 96px !important;
  padding: 0 !important; margin: 0 !important;
  display: inline-flex !important; align-items: center !important;
  overflow: visible !important;
}
.site-logo-image .brand-logo-image {
  display: block !important; width: 100% !important; height: 100% !important;
  max-height: 96px !important; object-fit: contain !important;
  object-position: left center !important;
}
@media (max-width: 767px) {
  .site-logo-image { width: clamp(185px, 45vw, 230px) !important;
    max-width: 48vw !important; height: 70px !important; }
  .site-logo-image .brand-logo-image { max-height: 70px !important; }
}



/* Contact section: integrated Google Map */
.contact-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(44px, 6vw, 76px);
  border: 1px solid rgba(201, 157, 83, 0.24);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.contact-map-frame {
  min-height: 430px;
  overflow: hidden;
  background: #191a1b;
  border-right: 1px solid rgba(201, 157, 83, 0.22);
}
.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(0.72) contrast(0.92) brightness(0.84);
}
.contact-map-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 58px);
}
.contact-map-details h3 {
  margin: 8px 0 28px;
  color: #f3eee5;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.contact-map-details h3 span { color: #c7a365; }
.contact-address-block { margin: 0 0 25px; }
.contact-detail-label {
  display: block;
  margin-bottom: 9px;
  color: #c7a365;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-address-block p {
  margin: 0;
  color: rgba(238, 235, 229, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}
.contact-address { color: #f3eee5 !important; }
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  padding: 13px 17px;
  border: 1px solid rgba(199, 163, 101, 0.65);
  color: #e2c58e;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.contact-map-link:hover { background: #c7a365; color: #101010; }
@media (max-width: 760px) {
  .contact-map-panel { grid-template-columns: 1fr; }
  .contact-map-frame { min-height: 300px; border-right: 0; border-bottom: 1px solid rgba(201, 157, 83, 0.22); }
  .contact-map-frame iframe { min-height: 300px; }
  .contact-map-details { padding: 28px 24px 32px; }
}

/* Refined contact layout: keep the location card aligned with the enquiry content. */
.contact-section {
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
}
.contact-grid {
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact-title {
  font-size: clamp(3.2rem, 5.6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.contact-copy { margin-top: 1.5rem; }
.contact-details { margin-top: clamp(2.5rem, 4vw, 4rem); }
.contact-form { gap: 1.2rem; }
.contact-form textarea { min-height: 100px; }
.contact-map-panel {
  width: 100%;
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border: 1px solid rgba(201, 157, 83, .2);
  background: #111110;
}
.contact-map-frame,
.contact-map-frame iframe {
  min-height: 320px;
  height: 100%;
}
.contact-map-frame { border-right: 1px solid rgba(201, 157, 83, .2); }
.contact-map-details {
  padding: clamp(2rem, 3.5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  align-items: start;
  column-gap: 2rem;
  row-gap: .75rem;
}
.contact-map-details > .section-eyebrow,
.contact-map-details > h3,
.contact-map-details > .contact-map-link { grid-column: 1 / -1; }
.contact-map-details h3 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}
.contact-address-block { margin: 0; }
.contact-address-block p { font-size: .98rem; line-height: 1.65; }
.contact-detail-label { font-size: .66rem; margin-bottom: .5rem; }
.contact-map-link { margin-top: 1rem; justify-self: start; }
@media (max-width: 900px) {
  .contact-grid { gap: 3rem; }
  .contact-title { font-size: clamp(3rem, 7vw, 4.5rem); }
  .contact-map-details { padding: 1.8rem; }
}
@media (max-width: 760px) {
  .contact-section { padding-top: 4rem; padding-bottom: 4rem; }
  .contact-map-panel { grid-template-columns: 1fr; margin-top: 2.75rem; }
  .contact-map-frame, .contact-map-frame iframe { min-height: 260px; height: 260px; }
  .contact-map-frame { border-right: 0; border-bottom: 1px solid rgba(201, 157, 83, .2); }
  .contact-map-details { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.1rem; }
  .contact-map-details > .section-eyebrow,
  .contact-map-details > h3,
  .contact-map-details > .contact-map-link { grid-column: 1; }
  .contact-map-details h3 { margin-bottom: .3rem; }
  .contact-address-block { margin: 0; }
}


/* =========================================================
   CUSTOMER REVIEWS — PREMIUM BLACK & GOLD
========================================================= */
.reviews-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--colour-line);
  border-bottom: 1px solid var(--colour-line);
  background: radial-gradient(ellipse at 82% 15%, rgba(201,154,61,.075), transparent 38%), var(--colour-black);
}
.reviews-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.reviews-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 5.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.reviews-title span { color: var(--colour-gold); }
.reviews-intro { max-width: 420px; margin: 0 0 .35rem; color: var(--colour-muted); font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.8; }
.reviews-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  align-items: stretch;
}
.google-review-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  border: 1px solid rgba(201,154,61,.34);
  background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}
.google-review-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.google-review-source { display: inline-flex; align-items: center; gap: .65rem; color: var(--colour-muted); font-size: .65rem; font-weight: 600; letter-spacing: .14em; }
.google-g-mark { display: inline-grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--colour-line); border-radius: 50%; color: #f4f1ea; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.google-review-stars { color: var(--colour-gold-light); font-size: 1.15rem; letter-spacing: .13em; white-space: nowrap; }
.google-review-quote { margin: clamp(2rem, 4vw, 3rem) 0; color: var(--colour-white); font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 400; line-height: 1.25; letter-spacing: -.035em; }
.google-review-footer { display: flex; align-items: center; gap: .85rem; padding-top: 1.2rem; border-top: 1px solid var(--colour-line); }
.google-review-avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid rgba(201,154,61,.55); border-radius: 50%; background: rgba(201,154,61,.09); color: var(--colour-gold-light); font-size: 1rem; font-weight: 600; }
.google-review-author { display: flex; flex-direction: column; gap: .08rem; }
.google-review-name { color: var(--colour-white); font-size: .9rem; font-weight: 600; }
.google-review-meta { color: var(--colour-muted); font-size: .72rem; }
.google-review-check { margin-left: auto; color: var(--colour-gold); font-size: 1.2rem; }
.reviews-invite { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 3vw, 2.8rem); border: 1px solid var(--colour-line); background: #10100f; }
.reviews-invite-kicker { color: var(--colour-gold); font-size: .65rem; font-weight: 600; letter-spacing: .15em; }
.reviews-invite h3 { max-width: 430px; margin: 1rem 0 .85rem; color: var(--colour-white); font-size: clamp(1.55rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.reviews-invite p { max-width: 430px; margin: 0 0 1.7rem; color: var(--colour-muted); font-size: .92rem; line-height: 1.75; }
.reviews-google-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 52px; padding: .85rem 1.15rem; border: 1px solid var(--colour-gold); color: var(--colour-gold-light); font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: background .25s ease, color .25s ease, transform .25s ease; }
.reviews-google-button:hover { transform: translateY(-2px); background: var(--colour-gold); color: #080808; }
.reviews-text-link { margin-top: 1rem; color: var(--colour-muted); font-size: .78rem; text-decoration: underline; text-decoration-color: rgba(201,154,61,.5); text-underline-offset: 4px; }
.reviews-text-link:hover { color: var(--colour-white); }
.google-reviews-widget-slot { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding: .85rem 1rem; border: 1px dashed rgba(201,154,61,.22); color: rgba(168,164,155,.72); font-size: .72rem; }
.google-reviews-widget-slot p { margin: 0; }
.widget-slot-indicator { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--colour-gold); opacity: .75; }
@media (max-width: 767px) {
  .reviews-section { padding: 4.5rem 0; }
  .reviews-header, .reviews-content { grid-template-columns: 1fr; }
  .reviews-header { gap: 1.25rem; margin-bottom: 2rem; }
  .reviews-content { gap: 1rem; }
  .google-review-card, .reviews-invite { padding: 1.4rem; }
  .google-reviews-widget-slot { align-items: flex-start; line-height: 1.55; }
}

/* Home link follows the existing primary navigation styling. */
.nav-home-link { white-space: nowrap; }

/* =========================================================
   SERVICES — PREMIUM INFINITE IMAGE CAROUSEL
   Overrides the previous 3D slab presentation.
========================================================= */
.services-carousel-section {
  min-height: auto;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,154,61,.055), transparent 42%), #090909;
}
.services-carousel-container { max-width: 1600px; margin: 0 auto; padding: 0 clamp(1rem, 2.5vw, 2.5rem); }
.services-carousel-header { max-width: 850px; margin: 0 auto clamp(2.25rem, 4vw, 3.5rem); text-align: center; }
.services-carousel-header .section-eyebrow { margin-bottom: 1rem; color: var(--colour-gold); font-size: .68rem; letter-spacing: .32em; }
.services-carousel-header h2 { margin: 0; color: #f4f1ea; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 5.4vw, 5.2rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.services-carousel-header h2 span { color: var(--colour-gold); }
.services-carousel-header > p:last-child { max-width: 760px; margin: 1.15rem auto 0; color: #bdb9b1; font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.65; }
.services-carousel { position: relative; }
.services-carousel-viewport { overflow: hidden; padding: .5rem 0 1.1rem; touch-action: pan-y; }
.services-carousel-track { display: flex; align-items: stretch; gap: clamp(.75rem, 1.2vw, 1.2rem); will-change: transform; }
.services-carousel-card { position: relative; flex: 0 0 clamp(250px, 23vw, 340px); height: clamp(370px, 38vw, 500px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #151412; transform: scale(.94); opacity: .76; transition: opacity .5s ease, transform .5s ease, border-color .5s ease; }
.services-carousel-card.is-centre { transform: scale(1); opacity: 1; border-color: rgba(201,154,61,.52); }
.services-carousel-card-link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.services-carousel-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.services-carousel-card:hover img { transform: scale(1.045); }
.services-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03) 24%, rgba(0,0,0,.12) 43%, rgba(0,0,0,.88) 100%); }
.services-card-copy { position: absolute; inset: auto 1.3rem 1.35rem; display: flex; flex-direction: column; align-items: flex-start; }
.services-card-copy small { margin-bottom: .55rem; color: #d9b66c; font-size: .67rem; letter-spacing: .2em; }
.services-card-copy strong { color: #f7f3ec; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 400; line-height: 1.08; }
.services-card-copy > span { margin-top: .65rem; color: rgba(245,241,233,.8); font-size: .88rem; line-height: 1.5; }
.services-card-copy em { margin-top: 1rem; color: var(--colour-gold); font-size: .72rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.services-card-copy em b { display: inline-block; margin-left: .45rem; font-size: 1rem; font-weight: 400; transition: transform .2s ease; }
.services-carousel-card:hover .services-card-copy em b { transform: translateX(4px); }
.services-carousel-arrow { position: absolute; top: 48%; z-index: 5; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(201,154,61,.8); border-radius: 50%; background: rgba(8,8,8,.92); color: var(--colour-gold); font-size: 1.25rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.services-carousel-arrow:hover { background: var(--colour-gold); color: #090909; transform: scale(1.04); }
.services-carousel-prev { left: .6rem; }
.services-carousel-next { right: .6rem; }
.services-carousel-controls { display: flex; justify-content: center; align-items: center; gap: 2rem; padding: .5rem 0 2.2rem; color: var(--colour-gold); font-size: .7rem; letter-spacing: .18em; }
.services-carousel-counter strong { font-weight: 500; }
.services-carousel-dots { display: flex; align-items: center; gap: .45rem; }
.services-carousel-dots button { width: 30px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.22); transition: width .25s ease, background .25s ease; }
.services-carousel-dots button.is-active { width: 52px; background: var(--colour-gold); }
.services-carousel-benefits { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.7rem); margin: 0 calc(-1 * clamp(1rem, 2.5vw, 2.5rem)); padding: 1.6rem clamp(1.5rem, 4vw, 4rem); border-top: 1px solid rgba(255,255,255,.09); background: linear-gradient(90deg, #11100e, #090909 50%, #11100e); }
.services-benefit { display: flex; align-items: center; gap: .7rem; min-width: 0; color: #e0dcd4; font-size: .62rem; line-height: 1.6; letter-spacing: .13em; white-space: nowrap; }
.services-benefit + .services-benefit { padding-left: clamp(.8rem, 2vw, 2rem); border-left: 1px solid rgba(201,154,61,.3); }
.services-benefit-icon { color: var(--colour-gold); font-size: 1.8rem; line-height: 1; }
.services-carousel-quote { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; margin-left: auto; padding: .95rem 1.4rem; border: 1px solid var(--colour-gold); border-radius: 3px; color: #f4f1ea; font-size: .78rem; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.services-carousel-quote span { color: var(--colour-gold); font-size: 1.1rem; }
.services-carousel-quote:hover { background: var(--colour-gold); color: #090909; }
.services-carousel-quote:hover span { color: #090909; }
@media (min-width: 1500px) { .services-carousel-card { flex-basis: 24vw; max-width: 365px; } }
@media (max-width: 900px) {
 .services-carousel-card { flex-basis: min(72vw, 340px); height: min(112vw, 470px); }
 .services-carousel-prev { left: .35rem; }
 .services-carousel-next { right: .35rem; }
 .services-carousel-benefits { flex-wrap: wrap; justify-content: center; gap: 1rem 1.3rem; }
 .services-benefit { font-size: .58rem; }
 .services-carousel-quote { margin: .5rem auto 0; }
}
@media (max-width: 560px) {
 .services-carousel-section { padding-top: 4.4rem; }
 .services-carousel-header { margin-bottom: 1.7rem; }
 .services-carousel-header h2 { font-size: clamp(2.35rem, 10vw, 3.5rem); }
 .services-carousel-header > p:last-child { font-size: .9rem; }
 .services-carousel-card { flex-basis: 78vw; height: 112vw; max-height: 470px; }
 .services-carousel-arrow { top: 42%; width: 40px; height: 40px; }
 .services-carousel-controls { padding-bottom: 1.5rem; }
 .services-carousel-benefits { margin-left: -1rem; margin-right: -1rem; padding: 1.4rem 1rem; }
 .services-benefit { flex: 1 1 40%; justify-content: center; }
 .services-benefit + .services-benefit { padding-left: .6rem; }
 .services-carousel-quote { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .services-carousel-card, .services-carousel-card img, .services-carousel-arrow, .services-card-copy em b { transition: none !important; }
}

/* SERVICES CAROUSEL — single featured service with image + customer-focused copy */
.services-carousel-section { padding-bottom: 0; }
.services-carousel-header { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.services-carousel { max-width: 1320px; margin: 0 auto; padding: 0 clamp(2.8rem, 5vw, 4.5rem); }
.services-carousel-viewport { overflow: hidden; padding: .25rem 0 .7rem; }
.services-carousel-track { display: block; position: relative; }
.services-carousel-card { display: none; width: 100%; height: clamp(390px, 40vw, 540px); flex: none; margin: 0; opacity: 1; transform: none; border-color: rgba(201,154,61,.25); }
.services-carousel-card.is-active { display: block; animation: serviceSlideReveal .55s cubic-bezier(.2,.7,.2,1) both; }
.services-carousel[data-transition="off"] .services-carousel-card.is-active { animation: none; }
@keyframes serviceSlideReveal { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.services-carousel-card-link { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); grid-template-rows: 1fr; align-items: stretch; }
.services-carousel-card img { grid-column: 1; grid-row: 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.services-card-shade { grid-column: 1; grid-row: 1; background: linear-gradient(90deg, transparent 70%, rgba(9,9,9,.15)); pointer-events: none; }
.services-card-copy { position: relative; inset: auto; grid-column: 2; grid-row: 1; align-self: center; display: flex; justify-content: center; padding: clamp(1.8rem, 4vw, 4.2rem); background: linear-gradient(145deg, #151411, #0b0b0a); min-height: 100%; }
.services-card-copy small { font-size: .72rem; margin-bottom: 1rem; }
.services-card-copy strong { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.05; max-width: 10ch; }
.services-card-copy > span { margin-top: 1.15rem; max-width: 34ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.8; color: #c9c5bd; }
.services-card-copy em { margin-top: 1.7rem; font-size: .78rem; }
.services-carousel-arrow { top: 50%; transform: translateY(-50%); cursor: pointer; }
.services-carousel-arrow:hover { transform: translateY(-50%) scale(1.05); }
.services-carousel-prev { left: .15rem; }
.services-carousel-next { right: .15rem; }
.services-carousel-controls { padding-top: .9rem; }
@media (max-width: 760px) {
  .services-carousel { padding: 0 .2rem; }
  .services-carousel-viewport { padding: .2rem 0 .6rem; }
  .services-carousel-card { height: auto; min-height: 0; }
  .services-carousel-card-link { grid-template-columns: 1fr; grid-template-rows: minmax(240px, 56vw) auto; position: relative; }
  .services-carousel-card img { grid-column: 1; grid-row: 1; height: 100%; }
  .services-card-shade { grid-column: 1; grid-row: 1; background: linear-gradient(180deg, transparent 65%, rgba(9,9,9,.2)); }
  .services-card-copy { grid-column: 1; grid-row: 2; padding: 1.5rem 1.35rem 1.8rem; min-height: 0; }
  .services-card-copy small { margin-bottom: .55rem; }
  .services-card-copy strong { font-size: clamp(1.8rem, 8vw, 2.6rem); max-width: none; }
  .services-card-copy > span { margin-top: .7rem; font-size: .96rem; line-height: 1.6; }
  .services-card-copy em { margin-top: 1rem; }
  .services-carousel-arrow { top: 27vw; width: 42px; height: 42px; transform: translateY(-50%); }
  .services-carousel-prev { left: .55rem; }
  .services-carousel-next { right: .55rem; }
  .services-carousel-arrow:hover { transform: translateY(-50%) scale(1.04); }
}
.services-carousel-card-link { position: relative; inset: auto; }

/* FINAL SERVICES CAROUSEL LAYOUT FIX: force the featured slide to fill the full viewport */
.services-carousel { display: block !important; width: 100%; max-width: 1320px; }
.services-carousel-viewport { display: block; width: 100%; }
.services-carousel-track { display: block !important; position: relative; width: 100% !important; min-width: 0; }
.services-carousel-card,
.services-carousel-card.is-active { box-sizing: border-box; width: 100% !important; max-width: none !important; min-width: 0; }
.services-carousel-card { height: clamp(430px, 38vw, 540px); }
.services-carousel-card-link { display: grid !important; width: 100% !important; height: 100%; min-width: 0; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important; grid-template-rows: minmax(0, 1fr) !important; position: relative !important; inset: auto !important; }
.services-carousel-card img { display: block; grid-column: 1 !important; grid-row: 1 !important; width: 100% !important; height: 100% !important; min-width: 0; min-height: 0; object-fit: cover; }
.services-card-shade { grid-column: 1 !important; grid-row: 1 !important; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(9,9,9,.18)); }
.services-card-copy { box-sizing: border-box; position: relative !important; inset: auto !important; grid-column: 2 !important; grid-row: 1 !important; width: 100%; min-width: 0; min-height: 100%; padding: clamp(1.6rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(145deg, #151411, #0b0b0a); }
.services-card-copy strong { display: block; max-width: 12ch; overflow-wrap: normal; word-break: normal; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.08; }
.services-card-copy > span { display: block; max-width: 34ch; }
@media (max-width: 760px) {
  .services-carousel { padding: 0 .2rem; }
  .services-carousel-card, .services-carousel-card.is-active { height: auto; min-height: 0; }
  .services-carousel-card-link { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: minmax(240px, 56vw) auto !important; height: auto; }
  .services-carousel-card img { grid-column: 1 !important; grid-row: 1 !important; height: 100% !important; }
  .services-card-shade { grid-column: 1 !important; grid-row: 1 !important; background: linear-gradient(180deg, transparent 65%, rgba(9,9,9,.2)); }
  .services-card-copy { grid-column: 1 !important; grid-row: 2 !important; min-height: 0; padding: 1.5rem 1.35rem 1.8rem; }
  .services-card-copy strong { max-width: none; font-size: clamp(1.8rem, 8vw, 2.6rem); }
}


/* Service detail modal: clean, premium and accessible */
.hd-service-modal[hidden] { display: none !important; }
.hd-service-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; }
.hd-service-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.hd-service-modal-panel { position: relative; z-index: 1; width: min(760px, 100%); max-height: min(84vh, 820px); overflow: auto; padding: clamp(28px, 5vw, 58px); color: #f4f0e8; background: linear-gradient(145deg,#191816,#090909); border: 1px solid rgba(201,154,61,.55); border-radius: 12px; box-shadow: 0 28px 100px rgba(0,0,0,.55); outline: none; }
.hd-service-modal-close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(201,154,61,.65); border-radius: 50%; background: transparent; color: #d6a63d; font-size: 28px; line-height: 1; cursor: pointer; }
.hd-service-modal-eyebrow { margin: 0 0 16px; color: #d6a63d; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.hd-service-modal-content h2 { margin: 0 44px 18px 0; color: #f6f2eb; font-size: clamp(2rem,5vw,3.3rem); line-height: 1.05; }
.hd-service-modal-lead, .hd-service-modal-close-copy { color: #c8c3ba; font-size: 1.05rem; line-height: 1.8; }
.hd-service-modal-content ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 24px; margin: 28px 0; padding: 0; list-style: none; }
.hd-service-modal-content li { position: relative; padding-left: 22px; color: #e7e1d6; line-height: 1.55; }
.hd-service-modal-content li::before { content: '✓'; position: absolute; left: 0; color: #d6a63d; }
.hd-service-modal-cta { display: inline-flex; align-items: center; gap: 20px; margin-top: 18px; padding: 14px 20px; color: #0b0b0a; background: #d6a63d; border: 1px solid #d6a63d; border-radius: 4px; font-weight: 700; text-decoration: none; }
.hd-service-modal-cta:hover { color: #0b0b0a; background: #e4bb62; }
body.service-modal-open { overflow: hidden; }
.services-carousel-card img { image-rendering: auto; backface-visibility: hidden; }
@media (max-width: 600px) { .hd-service-modal { padding: 12px; } .hd-service-modal-panel { padding: 28px 22px; max-height: 90vh; } .hd-service-modal-content ul { grid-template-columns: 1fr; } }

/* Seven-service carousel controls */
.services-carousel-dots { gap: 9px; flex-wrap: wrap; }
.services-carousel-dots button { flex: 0 0 auto; }
.services-carousel-card-link:focus-visible { outline: 2px solid var(--colour-gold, #d6a63d); outline-offset: 4px; }
