/* ==========================================================================
   Transform Render Systems & Building Services
   Clean hand-built stylesheet (rebuild of the WordPress/Elementor site)
   Palette: orange #F15922 · dark #222222 · white #FFFFFF · light grey #F2F2F2
   Fonts: Poppins (headings/buttons) · Roboto (body)
   ========================================================================== */

/* ----- Fonts (self-hosted) ----- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto/Roboto-Regular.woff2") format("woff2"),
       url("/fonts/roboto/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto/Roboto-Medium.woff2") format("woff2"),
       url("/fonts/roboto/Roboto-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/roboto/Roboto-SemiBold.woff2") format("woff2"),
       url("/fonts/roboto/Roboto-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/roboto/Roboto-Bold.woff2") format("woff2"),
       url("/fonts/roboto/Roboto-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins/Poppins-Regular.woff2") format("woff2"),
       url("/fonts/poppins/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins/Poppins-Medium.woff2") format("woff2"),
       url("/fonts/poppins/Poppins-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins/Poppins-SemiBold.woff2") format("woff2"),
       url("/fonts/poppins/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins/Poppins-Bold.woff2") format("woff2"),
       url("/fonts/poppins/Poppins-Bold.ttf") format("truetype");
}

/* ==========================================================================
   Design tokens
   Brand: orange + near-black from the logo, warm "stone" neutrals that echo
   render and plaster. Angled cuts on the hero, buttons and badges mirror the
   slanted strokes in the TR logo.
   ========================================================================== */
:root {
  --orange: #F15922;
  --orange-deep: #D4460F;
  --orange-soft: #FDEEE7;
  --ink: #141414;
  --dark: #1B1B1B;
  --char: #262626;
  --white: #FFFFFF;
  --stone: #F6F3EE;
  --stone-2: #ECE7DF;
  --line: #E6E0D7;
  --text: #3A3835;
  --muted: #6F6A63;
  --on-dark: rgba(255, 255, 255, 0.76);
  --poppins: "Poppins", sans-serif;
  --roboto: "Roboto", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --pad-y: clamp(4.5rem, 9vw, 7.5rem);
  --head-gap: clamp(2.25rem, 4vw, 3.5rem);
  --block-gap: clamp(3rem, 5vw, 4.5rem);
  --col-gap: clamp(2.5rem, 6vw, 6rem);
  --grid-gap: clamp(1rem, 2vw, 1.5rem);
  --card-pad: clamp(1.5rem, 3vw, 2.25rem);
  --stack: 1.25rem;
  --title-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.5rem);
  --body-size: 1.0625rem;
  --angle: clamp(2.5rem, 6vw, 6rem);         /* height of the slanted hero edge */
  --cut: 14px;                                /* clipped corner on buttons and badges */
  --header-offset: 7rem;

  --shadow-sm: 0 2px 10px rgba(20, 20, 20, 0.06);
  --shadow: 0 22px 44px -18px rgba(20, 20, 20, 0.22);
  --shadow-lg: 0 40px 80px -28px rgba(20, 20, 20, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* clip (not hidden) so sticky columns still work */
html, body { overflow-x: clip; }

body {
  margin: 0;
  background-color: var(--white);
  color: var(--text);
  font-family: var(--roboto);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border-style: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; margin: 0; }
::selection { background: var(--orange); color: var(--white); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: 5rem; }

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Long-form copy */
.rich-text { font-size: var(--body-size); line-height: 1.75; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin-bottom: 1.1rem; }
.rich-text ul { margin: 0 0 1.1rem; padding-left: 1.25rem; list-style: none; }
.rich-text li { position: relative; margin-bottom: 0.5rem; padding-left: 0.5rem; }
.rich-text li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}
.rich-text a {
  color: var(--orange-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(241, 89, 34, 0.4);
  transition: text-decoration-color 0.3s;
}
.rich-text a:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  border: 0;
  background-color: var(--orange);
  color: var(--white);
  font-family: var(--poppins);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background-color: var(--orange-deep); color: var(--white); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn .icon-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .icon-arrow, .link-arrow:hover .icon-arrow { transform: translateX(4px); }

/* Outline button for dark backgrounds */
.btn--ghost {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  clip-path: none;
}
.btn--ghost:hover { background-color: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--white); }
.btn--light { background-color: var(--white); color: var(--ink); }
.btn--light:hover { background-color: var(--orange); color: var(--white); }

.btn--header {
  min-height: 2.75rem;
  padding: 0.75rem 1.375rem;
  font-size: 0.875rem;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--poppins);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.3s;
}
.link-arrow svg { width: 18px; height: 18px; color: var(--orange); }
.link-arrow:hover { color: var(--orange-deep); }

/* ==========================================================================
   Section headings
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 2px;
  background: currentColor;
}
.section-head--center .eyebrow::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--poppins);
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-title span { color: var(--orange); }
.section-title--light { color: var(--white); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  max-width: 50rem;
  margin-bottom: var(--head-gap);
}
.section-head--center { align-items: center; margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split {
  max-width: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.125rem; }
.section-intro {
  max-width: 42rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 767px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

/* Tick lists (hero, contact, about, cards) */
.hero-points,
.cta-points,
.tick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}
.hero-points li,
.cta-points li,
.tick-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--poppins);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}
.hero-points li::before,
.cta-points li::before,
.tick-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--orange) var(--check) center / 13px no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.tick-list { flex-direction: column; gap: 0.875rem; color: var(--ink); }
.tick-list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 1.5rem; }
.tick-list--light { color: var(--white); }
@media (max-width: 560px) {
  .tick-list--grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Header (fixed; glass effect once the page scrolls)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 1.5rem var(--gutter);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  background-color: rgba(20, 20, 20, 0.86);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-row { display: flex; align-items: center; gap: 1.25rem; }

.site-logo { line-height: 0; }
.site-logo img { width: 170px; height: auto; transition: width 0.4s var(--ease); }
.site-header.is-scrolled .site-logo img { width: 104px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.05rem;
  font-family: var(--poppins);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--white);
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--orange); }

@media (min-width: 1025px) and (max-width: 1280px) {
  .main-nav a { padding: 0.75rem 0.7rem; font-size: 0.875rem; }
  .main-nav a::after { left: 0.7rem; right: 0.7rem; }
  .header-row { gap: 0.75rem; }
}

/* Mobile: tap-to-call + hamburger */
.hamburger-wrap { display: none; margin-left: auto; align-items: center; gap: 0.5rem; }
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.header-call svg { width: 18px; height: 18px; fill: var(--white); }

.hamburger {
  display: inline-flex;
  padding: 0.625rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}
.hamburger-box { position: relative; display: inline-block; width: 30px; height: 22px; }
.hamburger-inner { display: block; top: 50%; margin-top: -1px; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--white);
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after { content: ""; display: block; }
.hamburger-inner::before { top: -9px; width: 22px; }
.hamburger-inner::after { bottom: -9px; }

.hamburger--spin .hamburger-inner { transition-duration: 0.22s; transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spin .hamburger-inner::before { transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
.hamburger--spin .hamburger-inner::after { transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spin.is-active .hamburger-inner { transform: rotate(225deg); transition-delay: 0.12s; transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
.hamburger--spin.is-active .hamburger-inner::before { top: 0; opacity: 0; transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
.hamburger--spin.is-active .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* Fullscreen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem var(--gutter) 2rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(241, 89, 34, 0.25), transparent 55%),
    var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 2.25rem; }
.mobile-menu ul { text-align: center; }
.mobile-menu ul a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--poppins);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu ul a:hover,
.mobile-menu ul a.active { color: var(--orange); }

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100vh;
  touch-action: none;
}
body.menu-open .site-header { background-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 1024px) {
  .main-nav, .site-header .btn--header { display: none; }
  .hamburger-wrap { display: flex; }
  .site-header { padding-top: 1rem; padding-bottom: 1rem; }
  .site-logo img { width: 128px; }
  .site-header.is-scrolled .site-logo img { width: 90px; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none; }
}
@media (max-width: 767px) {
  .header-call { display: none; } /* the bottom action bar takes over */
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 10rem var(--gutter) calc(var(--pad-y) + var(--angle));
  overflow: hidden;
  background-color: var(--ink);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--angle)), 0 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-bg) center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 14, 14, 0.94) 0%, rgba(14, 14, 14, 0.74) 42%, rgba(14, 14, 14, 0.3) 100%),
    linear-gradient(0deg, rgba(14, 14, 14, 0.55) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.hero h1 {
  max-width: 18ch;
  font-family: var(--poppins);
  font-size: clamp(2.5rem, 1rem + 4.8vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  max-width: 40rem;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--on-dark);
}
.hero-lead p { margin: 0; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.hero-points { margin-top: 0.5rem; color: var(--white); }

/* Inner pages: shorter hero, content anchored to the bottom */
.hero--inner {
  min-height: clamp(34rem, 80svh, 54rem);
  justify-content: flex-end;
}
.hero--inner h1 { max-width: 20ch; font-size: clamp(2.25rem, 1rem + 4.4vw, 4.75rem); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--orange); }
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: hero-zoom 16s var(--ease) both; }
  .hero-content > * { animation: hero-rise 0.9s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: 0.08s; }
  .hero-content > :nth-child(3) { animation-delay: 0.16s; }
  .hero-content > :nth-child(4) { animation-delay: 0.24s; }
  .hero-content > :nth-child(5) { animation-delay: 0.32s; }
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .hero { padding-top: 8rem; }
  .hero::before { background-image: var(--hero-bg-mobile, var(--hero-bg)); }
  .hero::after { background: linear-gradient(180deg, rgba(14, 14, 14, 0.55) 0%, rgba(14, 14, 14, 0.82) 100%); }
  .hero-points { gap: 0.625rem 1.25rem; }
  .hero-points li { font-size: 0.875rem; }
}
@media (max-width: 480px) {
  .hero-buttons { width: 100%; }
  .hero-buttons .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Trust: stats card overlapping the hero + accreditation logos
   ========================================================================== */
.trust {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--angle) - 3rem);
  padding: 0 var(--gutter) var(--block-gap);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 4px solid var(--orange);
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem);
}
.stats li + li { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--poppins);
  font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-label {
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 767px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.logos {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--block-gap);
}
.logos-label {
  flex: none;
  margin: 0;
  font-family: var(--poppins);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.logos-label::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.625rem;
  background: var(--orange);
}
.logos-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.logo-cell { flex: 1 1 0; text-align: center; line-height: 0; }
.logo-cell img {
  width: 100%;
  max-width: 150px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.4s, opacity 0.4s;
}
.logo-cell img:hover { filter: none; opacity: 1; }
@media (max-width: 1024px) {
  .logos { flex-direction: column; align-items: center; text-align: center; }
  .logos-label::after { margin-left: auto; margin-right: auto; }
  .logos-row { flex-wrap: wrap; justify-content: center; gap: 1.5rem 1rem; width: 100%; }
  .logo-cell { flex: 0 1 calc(33.333% - 1rem); }
  .logo-cell img { height: 44px; }
}

/* Inner pages: slim logo band under the hero */
.trust-strip { padding: 2rem var(--gutter) 2.5rem; border-bottom: 1px solid var(--line); }
.trust-strip .logos { margin-top: 0; }

/* ==========================================================================
   Image compositions (about + town pages)
   ========================================================================== */
.about-media,
.media-frame {
  position: relative;
  padding: 0 1.75rem 1.75rem 0;
}
.about-media::before,
.media-frame::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%);
}
.about-media img,
.media-frame img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.media-badge {
  position: absolute;
  left: -1.25rem;
  bottom: 3.5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.5rem 1.125rem 1.25rem;
  background-color: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.media-badge-num {
  font-family: var(--poppins);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}
.media-badge-text {
  font-family: var(--poppins);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .about-media, .media-frame { padding: 0 1rem 1rem 0; }
  .media-badge { left: 1rem; bottom: 2rem; }
}

/* ==========================================================================
   Two-column sections: about, log burners, local info
   ========================================================================== */
.about,
.logburners,
.local {
  padding: var(--pad-y) var(--gutter);
}
.about .container,
.logburners .container,
.local .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
  align-items: center;
}
.about { padding-top: calc(var(--pad-y) - var(--block-gap)); }
.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack);
}
.about-text .rich-text { color: var(--text); }
.about-text .tick-list { margin: 0.5rem 0; }
.about-text .btn { margin-top: 0.75rem; }

/* Log burners: warm glow */
.logburners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 15% 55%, rgba(241, 89, 34, 0.22), transparent 70%),
    var(--dark);
}
.logburners-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--grid-gap);
}
.logburners-collage > div {
  aspect-ratio: 1;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}
.collage-1 { grid-area: 1 / 1 / 2 / 2; background-position: bottom center; }
.collage-2 { grid-area: 2 / 1 / 3 / 2; background-position: center center; }
.logburners-collage > .collage-3 {
  grid-area: 1 / 2 / 3 / 3;
  aspect-ratio: auto;
  background-position: bottom center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), calc(100% - 2.5rem) 100%, 0 100%);
}
.logburners-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack);
}
.logburners-text .rich-text { color: var(--on-dark); }
.logburners-text .tick-list { margin: 0.25rem 0 0.5rem; }

/* Local info: dark (Colne page) and light (town pages) */
.local { background-color: var(--dark); }
.local .container { align-items: start; }
.local-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.local-text .rich-text { max-width: 38rem; color: var(--on-dark); }
.local-text .rich-text a { color: var(--orange); text-decoration-color: rgba(241, 89, 34, 0.5); }
.local-text .area-links { margin-top: 0.5rem; }
.local-media {
  position: sticky;
  top: var(--header-offset);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--grid-gap);
}
.local-media > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.local-media > .btn { align-self: flex-start; }

.local--light { background-color: var(--white); }
.local--light .local-text .rich-text { color: var(--text); }
.local--light .local-text .rich-text a { color: var(--orange-deep); }

.why-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack);
  margin-top: 1rem;
  padding: var(--card-pad);
  background-color: var(--stone);
  border-left: 4px solid var(--orange);
}
.why-card-title {
  margin: 0;
  font-family: var(--poppins);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .about .container,
  .logburners .container,
  .local .container { grid-template-columns: minmax(0, 1fr); }
  .local-media { position: static; }
  .about-media, .media-frame { max-width: 36rem; }
}

/* ==========================================================================
   Services (dark)
   ========================================================================== */
.services {
  position: relative;
  overflow: hidden;
  padding: var(--pad-y) var(--gutter);
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(241, 89, 34, 0.2), transparent 70%),
    var(--ink);
}
.services .section-intro { color: var(--on-dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--char);
  color: var(--white);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-num {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.75rem 1.125rem;
  background-color: var(--orange);
  font-family: var(--poppins);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}
.service-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: var(--card-pad);
}
.service-body h3 {
  font-family: var(--poppins);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}
.service-body p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--on-dark); }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--poppins);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.service-more::after { content: "\2192"; transition: transform 0.3s var(--ease); }

@media (min-width: 1025px) {
  .service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7); }
  .service-card:hover::after { transform: scaleX(1); }
  .service-card:hover .service-more::after { transform: translateX(4px); }
  .service-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease);
  }
  .service-card:hover .service-image::before { transform: scale(1.07); }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); max-width: 36rem; margin: 0 auto; }
}

/* ==========================================================================
   Process steps (home)
   ========================================================================== */
.process {
  padding: var(--pad-y) var(--gutter);
  background-color: var(--stone);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.step {
  position: relative;
  padding: var(--card-pad);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--card-pad) + 1.75rem);
  right: calc(-1 * var(--grid-gap));
  width: var(--grid-gap);
  height: 2px;
  background: var(--orange);
}
.step-num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--poppins);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.step h3 {
  margin-bottom: 0.625rem;
  font-family: var(--poppins);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
.step p { margin: 0; color: var(--muted); }
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
}

/* ==========================================================================
   Featured work (bento grid)
   ========================================================================== */
.featured { padding: var(--pad-y) var(--gutter); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(11rem, 17vw, 15.5rem);
  grid-template-areas:
    "a a b c"
    "a a d c"
    "e f f g";
  gap: var(--grid-gap);
}
.bento-item:nth-child(1) { grid-area: a; }
.bento-item:nth-child(2) { grid-area: b; }
.bento-item:nth-child(3) { grid-area: c; }
.bento-item:nth-child(4) { grid-area: d; }
.bento-item:nth-child(5) { grid-area: e; }
.bento-item:nth-child(6) { grid-area: f; }
.bento-item:nth-child(7) { grid-area: g; }
.bento-item {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--stone-2);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.bento-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 14, 14, 0.82) 0%, rgba(14, 14, 14, 0) 55%);
  transition: opacity 0.4s;
}
.bento-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  font-family: var(--poppins);
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.bento-tag {
  padding: 0.3rem 0.6rem;
  background-color: var(--orange);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bento-item:hover img { transform: scale(1.07); }
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(10rem, 30vw, 15rem);
    grid-template-areas: "a a" "a a" "b c" "d c" "e g" "f f";
  }
}

/* ==========================================================================
   Service pages: intro + quote card, galleries
   ========================================================================== */
.page-intro { padding: var(--pad-y) var(--gutter); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23rem;
  gap: var(--col-gap);
  align-items: start;
}
.intro-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.intro-main .rich-text { max-width: 46rem; color: var(--text); margin-top: 0.5rem; }
.quote-card {
  position: sticky;
  top: var(--header-offset);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--stack);
  padding: var(--card-pad);
  border-top: 4px solid var(--orange);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(241, 89, 34, 0.28), transparent 60%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.quote-card-title {
  margin: 0;
  font-family: var(--poppins);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.quote-card > p { margin: 0; color: var(--on-dark); }
.quote-card .cta-points { grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; border: 0; }
.quote-card .btn:hover { background-color: var(--white); color: var(--ink); }
.quote-card-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--poppins);
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s;
}
.quote-card-phone svg { width: 20px; height: 20px; fill: var(--orange); }
.quote-card-phone:hover { color: var(--orange); }
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-card { position: static; max-width: 36rem; }
}

.galleries {
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
  padding: var(--pad-y) var(--gutter);
  background-color: var(--stone);
}
.galleries > .section-head { max-width: 80rem; margin-bottom: 0; }
.gallery-block { display: flex; flex-direction: column; gap: 1.5rem; }
.gallery-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--poppins);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.gallery-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Galleries: every sixth photo becomes a large feature tile */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--grid-gap);
}
.gallery-grid > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--stone-2);
}
.gallery-grid > a:nth-child(6n + 1):nth-last-child(n + 3) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
/* Images sit absolutely so a tall photo can't stretch the grid rows */
.gallery-grid > a img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-grid > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M10.5 4a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zm4.6 11.1L20 20M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 2.5rem no-repeat;
  opacity: 0;
  transition: opacity 0.4s;
}
@media (min-width: 1025px) {
  .gallery-grid > a:hover img { transform: scale(1.06); }
  .gallery-grid > a:hover::after { opacity: 1; }
}
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid > a:nth-child(6n + 1):nth-last-child(n + 3) { grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .gallery-grid > a:nth-child(6n + 1):nth-last-child(n + 3) { aspect-ratio: 4 / 3; }
}

/* Town pages: recent work */
.work { padding: var(--pad-y) var(--gutter); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.94);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; width: auto; height: auto; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--roboto);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--orange); }
.lightbox-close { top: 0.625rem; right: 1rem; }
.lightbox-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Render systems (town pages)
   ========================================================================== */
.systems {
  padding: var(--pad-y) var(--gutter);
  background-color: var(--stone);
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.system-card {
  position: relative;
  padding: var(--card-pad);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 4px;
  background: var(--orange);
  transition: width 0.45s var(--ease);
}
.system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.system-card:hover::before { width: 100%; }
.system-num {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--poppins);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--orange);
}
.system-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--poppins);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.system-card p { margin: 0; color: var(--muted); }
@media (max-width: 1024px) {
  .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .systems-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--pad-y) var(--gutter); }
.faq .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: start;
}
.faq-head {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack);
}
.faq-intro { margin: 0; max-width: 28rem; font-size: var(--body-size); line-height: 1.7; color: var(--muted); }
.faq-intro a { color: var(--orange-deep); font-weight: 600; }
.faq-intro a:hover { text-decoration: underline; }
.faq-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--line);
  background-color: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: #D6CEC2; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  list-style: none;
  font-family: var(--poppins);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::before { transform: scaleY(1); }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--stone);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  color: var(--orange);
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--orange); color: var(--white); }
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--orange-deep); font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }

.nearby {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.nearby h3 {
  font-family: var(--poppins);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
.nearby p { margin: 0; color: var(--muted); }

@media (max-width: 1024px) {
  .faq .container { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--head-gap); }
  .faq-head, .faq-list, .nearby { grid-column: 1; grid-row: auto; }
  .nearby { padding-top: 0; border-top: 0; }
}
@media (max-width: 480px) {
  .faq-item summary { padding: 1.125rem 1.25rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.25rem 1.25rem; }
}

/* Town link chips */
.area-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  background-color: var(--white);
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.area-links a:hover,
.area-links a:focus-visible { background-color: var(--orange); border-color: var(--orange); color: var(--white); }
.local:not(.local--light) .area-links a { background-color: transparent; border-color: rgba(255, 255, 255, 0.22); color: var(--white); }
.local:not(.local--light) .area-links a:hover { background-color: var(--orange); border-color: var(--orange); }

/* ==========================================================================
   Areas (home section + areas page)
   ========================================================================== */
.areas,
.areas-home {
  padding: var(--pad-y) var(--gutter);
  background-color: var(--stone);
}
.area-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.area-cards > li { display: flex; }
.area-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: var(--card-pad);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
a.area-card:hover,
a.area-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
a.area-card:hover::before,
a.area-card:focus-visible::before { transform: scaleX(1); }
.area-card-head { display: flex; align-items: center; gap: 0.625rem; }
.area-card-head svg { width: 20px; height: 20px; flex: none; fill: var(--orange); }
.area-card-name {
  font-family: var(--poppins);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}
.area-card p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.area-card-link {
  display: block;
  margin-top: auto;
  padding-top: 0.25rem;
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
/* Non-breaking space keeps the arrow on the same line as the last word */
.area-card-link::after { content: "\00a0\2192"; }
@media (max-width: 1024px) {
  .area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .area-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Contact CTA (all pages)
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding: var(--pad-y) var(--gutter);
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(241, 89, 34, 0.22), transparent 70%),
    var(--dark);
  color: var(--white);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--col-gap);
  align-items: center;
}
.cta-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack);
}
.cta-sub { margin: 0; font-size: var(--body-size); line-height: 1.75; color: var(--on-dark); }
.cta-sub a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.cta-sub a:hover { color: var(--orange); }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  transition: color 0.3s;
}
.cta-phone-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.cta-phone-icon svg { width: 22px; height: 22px; fill: var(--white); }
.cta-phone-text {
  display: flex;
  flex-direction: column;
  font-family: var(--poppins);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cta-phone-text small {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.cta-phone:hover { color: var(--orange); }

.contact-list { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
}
.contact-list a:hover { color: var(--orange); }
.contact-list svg { width: 18px; height: 18px; flex: none; fill: var(--orange); }

.cta-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.25rem;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Form card */
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-top: 4px solid var(--orange);
  background-color: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.cta-card h3 {
  font-family: var(--poppins);
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.cta-card > p { margin: 0; color: var(--muted); }

.contact-form { width: 100%; margin-top: 0.75rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem 1rem; }
.form-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--half { grid-column: auto; }
.form-field label {
  font-family: var(--poppins);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-field label span { color: var(--orange); }
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background-color: var(--stone);
  color: var(--ink);
  font-family: var(--roboto);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(241, 89, 34, 0.14);
}
.form-field ::placeholder { color: var(--muted); opacity: 0.8; }
.btn--submit { width: 100%; margin-top: 0.25rem; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
}
.form-note--success { background: #E6F4EA; color: #1E6B30; border-left: 4px solid #1E7E34; }
.form-note--error { background: #FDECEA; color: #9E2531; border-left: 4px solid #B02A37; }

@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-points { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: var(--pad-y) var(--gutter) 0;
  background-color: #0E0E0E;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--head-gap) var(--grid-gap);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.footer-brand img { width: 170px; height: auto; }
.footer-tagline { max-width: 17rem; margin: 0; font-size: 0.9375rem; line-height: 1.65; color: rgba(255, 255, 255, 0.6); }
.footer-social { display: flex; align-items: center; gap: 0.625rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s, border-color 0.3s;
}
.footer-social svg { width: auto; height: 16px; fill: var(--white); }
.footer-social a:hover { background-color: var(--orange); border-color: var(--orange); }

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--poppins);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--orange); transform: translateX(3px); }
.footer-quote { margin-top: 1.25rem; }
.footer-nav a.footer-quote { display: inline-flex; gap: 0.625rem; color: var(--white); padding: 0.85rem 1.4rem; transform: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: var(--pad-y);
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { margin: 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Mobile quick-contact bar
   ========================================================================== */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    padding-bottom: env(safe-area-inset-bottom);
    background-color: var(--ink);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s var(--ease);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    height: 3.75rem;
    font-family: var(--poppins);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
  }
  .action-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .action-bar-call svg { fill: var(--orange); }
  .action-bar-quote { background-color: var(--orange); }
  body.menu-open .action-bar { transform: translateY(110%); }
}

/* ==========================================================================
   Scroll reveal (classes added by main.js only when motion is allowed)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
