/* ============================================================
   SKL Construction & Design Ltd — site styles
   Aesthetic: grounded, builder's-yard confident.
   Roboto Slab display, Inter body. Tobacco-brown accent used
   architecturally (rules, marks, accents) rather than as background blocks.
   ============================================================ */

/* --- 1. Fonts -------------------------------------------------- */
/* Fonts are loaded via <link> in each page <head> so they fetch in parallel
   with this stylesheet (CSS @import would serialise the request). */

/* --- 2. Tokens ------------------------------------------------- */
:root {
  /* Brand palette (preserved from previous site, slightly extended) */
  --c-accent:        #9a6c29;        /* tobacco brown */
  --c-accent-soft:   #c9a674;        /* lighter tobacco for borders/hovers */
  --c-cream:         #f6ecdb;        /* page warmth */
  --c-cream-deep:    #ede0c7;        /* deeper cream for section blocks */
  --c-ink:           #1f1c18;        /* near-black, slightly warm */
  --c-ink-soft:      #4a443d;        /* body copy */
  --c-ink-mute:      #6b6258;        /* meta/captions — WCAG AA on cream */
  --c-rule:          #d8cdb8;        /* hairline rule on cream */
  --c-rule-deep:     #b9ad95;        /* stronger hairline */
  --c-paper:         #fbf6ec;        /* base page background */
  --c-white:         #ffffff;

  /* Type */
  --ff-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid) — slab serif sits wider than Fraunces, so dial back display sizes slightly */
  --fs-hero:     clamp(2.25rem, 1.5rem + 3.8vw, 4.5rem);
  --fs-display:  clamp(1.85rem, 1.35rem + 2.4vw, 3.25rem);
  --fs-h2:       clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
  --fs-h3:       clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead:     clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body:     1.0625rem;          /* 17px */
  --fs-small:    0.9375rem;          /* 15px */
  --fs-eyebrow:  0.6875rem;          /* 11px */
  --fs-numeral:  clamp(3rem, 1.8rem + 5vw, 6rem);

  /* Spacing rhythm */
  --space-section: clamp(4rem, 3rem + 5vw, 7rem);
  --space-block:   clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --container:     min(1240px, 100% - 2.5rem);
  --container-tight: min(880px, 100% - 2.5rem);
  --container-wide:  min(1440px, 100% - 2.5rem);

  /* Misc */
  --radius:        4px;
  --radius-lg:     10px;
  --transition:    280ms cubic-bezier(.2,.7,.2,1);
  --rule:          1px solid var(--c-rule);
  --rule-deep:     1px solid var(--c-rule-deep);
  --rule-accent:   1px solid var(--c-accent);
}
@media (min-width: 720px) {
  :root {
    --container:     min(1240px, 100% - 4rem);
    --container-tight: min(880px, 100% - 4rem);
    --container-wide:  min(1440px, 100% - 4rem);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink-soft);
  background: var(--c-paper);
  font-weight: 400;
  /* Hard guard against any single element pushing horizontal scroll */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Visible, accessible focus rings everywhere — keyboard users first */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--c-ink);
  color: var(--c-cream);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform var(--transition);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); color: var(--c-cream); text-decoration: none; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--transition);
}
a:hover { color: var(--c-ink); text-decoration: underline; }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-hero);     line-height: 1.02; font-weight: 700; }
h2 { font-size: var(--fs-display);  font-weight: 600; }
h3 { font-size: var(--fs-h2);       font-weight: 600; }
h4 { font-size: var(--fs-h3);       font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }

/* Emphasis in headings: colour + weight contrast, no italic.
   Builder's brand reads stronger with a punchy accent than with a delicate italic. */
h2 em, h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--c-accent);
}

::selection { background: var(--c-accent); color: var(--c-cream); }

/* --- 4. Layout primitives ------------------------------------- */
.container       { width: var(--container);       margin-inline: auto; }
.container-tight { width: var(--container-tight); margin-inline: auto; }
.container-wide  { width: var(--container-wide);  margin-inline: auto; }

main { display: block; }

section.section,
.section { padding-block: var(--space-section); }

.section--cream    { background: var(--c-cream); }
.section--paper    { background: var(--c-paper); }
.section--ink      { background: var(--c-ink); color: rgba(255,255,255,0.78); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--c-cream); }
.section--ink a   { color: var(--c-accent-soft); }
.section--ink a:hover { color: var(--c-cream); }

.split { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (min-width: 800px) {
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--6-6 { grid-template-columns: 1fr 1fr; }
}

.stack > * + * { margin-top: 1em; }
.stack-lg > * + * { margin-top: 1.6em; }

/* --- 5. Typography helpers ------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--c-accent);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-ink);
  font-weight: 400;
  max-width: 58ch;
}

.numeral {
  font-family: var(--ff-display);
  font-size: var(--fs-numeral);
  font-weight: 500;
  color: var(--c-accent);
  line-height: 0.85;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.muted { color: var(--c-ink-mute); }
.text-center { text-align: center; }
.max-content { max-width: max-content; }

/* Section heading + label combo (e.g. "Our services" with "01 / Services" mark) */
.section-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 2rem;
}
.section-mark::before {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--c-accent);
}
.section-mark__num {
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

/* --- 6. Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-cream);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-ink);
  color: var(--c-cream);
  border-color: var(--c-ink);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
  text-decoration: none;
}
.btn--ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.btn--ghost-light:hover {
  background: var(--c-cream);
  color: var(--c-ink);
  text-decoration: none;
}
.btn--link {
  padding: 0;
  background: transparent;
  color: var(--c-accent);
  border: none;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.btn--link::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform var(--transition);
  display: inline-block;
}
.btn--link:hover { color: var(--c-ink); text-decoration: none; }
.btn--link:hover::after { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* --- 7. Top utility bar + navigation -------------------------- */
.topbar {
  background: var(--c-ink);
  color: var(--c-cream);
  font-size: var(--fs-small);
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 2.5rem;
  padding-block: 0.55rem;
}
.topbar a {
  color: var(--c-cream);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
}
.topbar a:hover { color: var(--c-accent-soft); text-decoration: none; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

.nav {
  background: var(--c-paper);
  border-bottom: var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(251,246,236,0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav__brand img { height: 56px; width: auto; }
.nav__brand:hover { text-decoration: none; }
.nav__brand-text {
  display: none;
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  line-height: 1;
}
.nav__brand-text small {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 0.35rem;
}
@media (min-width: 600px) { .nav__brand-text { display: block; } }

.nav__menu {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2.2rem;
  align-items: center;
}
.nav__menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  padding-block: 0.4rem;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--c-ink); text-decoration: none; }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }

.nav__cta { display: none; }
.nav__cta .btn { padding: 0.7rem 1.2rem; font-size: 0.875rem; }

@media (min-width: 960px) {
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; }
}

/* Mobile menu toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--c-ink);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--c-ink);
}
.nav__toggle svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 960px) { .nav__toggle { display: none; } }

.mobile-menu {
  display: none;
  background: var(--c-paper);
  border-bottom: var(--rule);
  padding: 1.5rem 0 2rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: var(--rule);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.mobile-menu .btn {
  margin-top: 1.25rem;
  width: 100%;
}
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* --- 8. Hero -------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  min-height: 78dvh;
  background: var(--c-ink);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(20,16,12,0.85) 0%, rgba(20,16,12,0.55) 45%, rgba(20,16,12,0.2) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  /* Use container width (set by .container utility) so hero content lines up
     with the rest of the page rather than running edge-to-edge. */
  padding-block: clamp(3rem, 6vw, 6rem);
  color: var(--c-cream);
}
.hero__eyebrow {
  color: var(--c-accent-soft);
}
.hero__eyebrow::before { background: var(--c-accent-soft); }
.hero h1 {
  color: var(--c-cream);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  color: var(--c-accent-soft);
}
.hero__lede {
  font-size: var(--fs-lead);
  color: rgba(246,236,219,0.88);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246,236,219,0.25);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero__meta-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--c-cream);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
}

/* Compact hero used on inner pages */
.hero--inner {
  min-height: 0;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero--inner .hero__img { opacity: 0.18; }
.hero--inner .hero__overlay { background: linear-gradient(180deg, var(--c-ink) 0%, rgba(31,28,24,0.92) 100%); }
.hero--inner h1 { max-width: 22ch; font-size: clamp(2.25rem, 4vw, 3.75rem); }
.hero--inner .hero__lede { max-width: 50ch; }

/* --- 9. Page header (jumbotron alt) --------------------------- */
.page-header {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.25;
}
.page-header h1 {
  color: var(--c-cream);
  max-width: 22ch;
  margin-bottom: 0;
}
.page-header__lede {
  font-size: var(--fs-lead);
  color: rgba(246,236,219,0.82);
  max-width: 56ch;
  margin-top: 1.5rem;
}

/* --- 10. Cards ------------------------------------------------ */
.card {
  background: var(--c-paper);
  border: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--c-accent);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__num {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}
.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--c-ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card__text {
  color: var(--c-ink-soft);
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-accent);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- 11. Icon block (used in featurettes, FAQ, contact) ------ */
.icon-block {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.1rem;
  align-items: flex-start;
  padding-block: 0.5rem;
}
.icon-block + .icon-block {
  margin-top: 1.25rem;
}
.icon-block__icon {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cream-deep);
  color: var(--c-accent);
  border-radius: 50%;
}
.icon-block__icon svg { width: 18px; height: 18px; fill: currentColor; }
/* Numeric step variant — used in process lists */
.icon-block__icon--step {
  background: var(--c-accent);
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.icon-block h4 { margin: 0 0 0.4rem; font-size: 1.125rem; font-weight: 500; color: var(--c-ink); }
.icon-block p  { margin: 0; color: var(--c-ink-soft); font-size: 0.9375rem; line-height: 1.6; }
.icon-block a  { font-weight: 600; }

/* --- 12. Feature grid (the home "why us" mini-cards) --------- */
.feature-list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
@media (min-width: 720px)  { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: 2.25rem 1.75rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 720px) {
  .feature:nth-child(2n) { border-right: none; }
}
@media (min-width: 1080px) {
  .feature { border-right: var(--rule); }
  .feature:nth-child(2n) { border-right: var(--rule); }
  .feature:nth-child(3n) { border-right: none; }
}
.feature__num {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  color: var(--c-accent);
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.feature h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
}

/* --- 13. Mega CTA banner ------------------------------------- */
.cta-banner {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 820px) {
  .cta-banner { grid-template-columns: 5fr 7fr; }
}
/* Mobile: 4:3 image. Desktop: image stretches to whatever height the body
   needs — prevents body copy from being clipped on longer CTAs. */
.cta-banner__media {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}
@media (min-width: 820px) {
  .cta-banner__media { aspect-ratio: auto; min-height: 100%; }
}
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-banner__body {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* allow long words to wrap inside grid track */
}
.cta-banner__body h2 {
  color: var(--c-cream);
  margin-bottom: 1rem;
  max-width: 22ch;
}
.cta-banner__body h2 em {
  color: var(--c-accent-soft);
}
.cta-banner__body p {
  color: rgba(246,236,219,0.92);
  font-size: var(--fs-lead);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

/* --- 14. FAQ -------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: var(--rule);
}
.faq__item {
  border-bottom: var(--rule);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  background: transparent;
  border: none;
  font-family: var(--ff-display);
  font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.faq__q:hover { color: var(--c-accent); }
.faq__q-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-block;
  border: 1px solid var(--c-rule-deep);
  border-radius: 50%;
  transition: background var(--transition), border-color var(--transition);
}
.faq__q-icon::before, .faq__q-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1px;
  background: var(--c-ink);
  transform: translate(-50%, -50%);
  transition: opacity var(--transition), background var(--transition);
}
.faq__q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__q-icon { background: var(--c-accent); border-color: var(--c-accent); }
.faq__item[open] .faq__q-icon::before, .faq__item[open] .faq__q-icon::after { background: var(--c-cream); }
.faq__item[open] .faq__q-icon::after { opacity: 0; }

.faq__a {
  padding: 0 0 1.6rem;
  max-width: 70ch;
  color: var(--c-ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.faq__a a { font-weight: 600; }
details.faq__item summary { list-style: none; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* --- 15. Postcode checker ------------------------------------ */
.postcode {
  background: var(--c-cream);
  border: 1px solid var(--c-rule-deep);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.postcode__label {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.6rem;
}
.postcode__title {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.postcode__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.postcode__input {
  flex: 1 1 200px;
  padding: 0.95rem 1.1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  border: 1px solid var(--c-rule-deep);
  border-radius: var(--radius);
  background: var(--c-paper);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.postcode__input:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: -1px;
  border-color: var(--c-accent);
}
.postcode__feedback {
  margin-top: 1rem;
  min-height: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.postcode__suggestion {
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: 1px solid var(--c-rule-deep);
  border-radius: 999px;
  color: var(--c-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: all var(--transition);
}
.postcode__suggestion:hover {
  background: var(--c-accent);
  color: var(--c-cream);
  border-color: var(--c-accent);
}
.postcode__result {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  border-left: 3px solid var(--c-accent);
  background: var(--c-paper);
  color: var(--c-ink);
}
.postcode__result--ok    { border-left-color: #4a7a2c; }
.postcode__result--maybe { border-left-color: var(--c-accent); }
.postcode__result--no    { border-left-color: #a13b2c; }
.postcode__result--err   { border-left-color: var(--c-ink-mute); color: var(--c-ink-mute); }
.postcode__result strong { color: var(--c-ink); }

/* --- 16. Service detail list / "what's included" ------------- */
.included-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.75rem;
}
.included-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.included-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 1px;
  background: var(--c-accent);
}

/* --- 17. Gallery (projects page) ----------------------------- */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--c-cream-deep);
  display: block;
  text-decoration: none;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(20,16,12,0.85) 100%);
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery__item:hover .gallery__item__caption { opacity: 1; transform: translateY(0); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15,12,9,0.96);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 60ch;
  text-align: center;
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 500;
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: transparent;
  border: 1px solid var(--c-cream);
  color: var(--c-cream);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-family: var(--ff-body);
  transition: all var(--transition);
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev  { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.lightbox__next  { top: 50%; right: 1.5rem; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: var(--c-cream);
  color: var(--c-ink);
}

/* --- 18. Testimonials ---------------------------------------- */
.testimonial {
  padding: clamp(2rem, 4vw, 3rem) 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.45;
  max-width: 42ch;
  position: relative;
  margin: 0;
}
.testimonial__quote::before {
  content: "\201C";
  font-family: var(--ff-display);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--c-accent);
  position: absolute;
  left: -0.45em;
  top: 0.15em;
  font-weight: 700;
}
.testimonial__attr {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.testimonial__attr strong {
  color: var(--c-ink);
  font-weight: 700;
}

.stars { display: inline-flex; gap: 2px; color: var(--c-accent); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

/* --- Info-grid (address / hours / coverage cards) ------------ */
.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.info-card {
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color var(--transition);
}
.info-card:hover { border-color: var(--c-accent-soft); }
.info-card__icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: var(--c-cream);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.info-card__icon svg { width: 20px; height: 20px; fill: currentColor; }
.info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-family: var(--ff-body);
}
.info-card p {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.info-card a { font-weight: 600; }

/* --- Contact channels (call/email/visit) --------------------- */
.contact-channels {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .contact-channels { grid-template-columns: repeat(3, 1fr); }
}
.contact-channel {
  border: 1px solid var(--c-rule);
  background: var(--c-paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-channel:hover { border-color: var(--c-accent); }
.contact-channel__num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--c-accent);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.contact-channel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--c-ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.contact-channel p { margin: 0; color: var(--c-ink-soft); }
.contact-channel .big {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 0.85rem + 0.8vw, 1.5rem);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}
.contact-channel .big a { color: inherit; text-decoration: none; }
.contact-channel .big a:hover { color: var(--c-accent); text-decoration: underline; }

/* --- 19. Footer ---------------------------------------------- */
.footer {
  background: var(--c-ink);
  color: rgba(246,236,219,0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.35;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand img { height: 64px; width: auto; }
.footer__brand p {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: rgba(246,236,219,0.6);
  max-width: 28ch;
}
.footer__col h5 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin: 0 0 1.25rem;
}
.footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col a {
  color: var(--c-cream);
  font-size: 0.9375rem;
  text-decoration: none;
}
.footer__col a:hover { color: var(--c-accent-soft); text-decoration: none; }
.footer__col p {
  color: rgba(246,236,219,0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246,236,219,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(246,236,219,0.5);
}
@media (min-width: 600px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
.footer__bottom a {
  color: rgba(246,236,219,0.7);
  text-decoration: none;
}
.footer__bottom a:hover { color: var(--c-accent-soft); text-decoration: none; }

/* --- 20. Back-to-top ----------------------------------------- */
.btt {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px; height: 44px;
  background: var(--c-ink);
  color: var(--c-cream);
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 40;
}
.btt.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btt:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); text-decoration: none; }
.btt svg { width: 18px; height: 18px; fill: currentColor; }

/* --- 21. 404 ------------------------------------------------- */
.notfound {
  background: var(--c-ink);
  color: var(--c-cream);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.notfound__num {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 4rem + 14vw, 18rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.notfound p { color: rgba(246,236,219,0.7); margin-bottom: 2rem; }

/* --- 22. Privacy / long-form -------------------------------- */
.prose {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.prose h2 {
  margin-top: 2.5em;
  margin-bottom: 0.6em;
  font-size: 1.5rem;
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose a { font-weight: 600; }

/* --- 23. Utilities ------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.divider-accent {
  height: 1px;
  background: var(--c-accent);
  width: 60px;
  margin-block: 1.5rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--c-rule-deep);
  border-radius: 999px;
  background: var(--c-paper);
}

/* --- 24. Reveal-on-scroll (progressive, optional) ----------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* --- 25. Print ----------------------------------------------- */
@media print {
  .nav, .topbar, .footer, .btt, .cta-banner { display: none; }
  body { background: white; color: black; }
}
