/* Arch Stoneworks Ltd — houseextensionscalcot.co.uk
   Design language: the arch. Warm stone, bronze and charcoal; every image
   and marker echoes a rounded arch. Mobile-first, no assets beyond fonts. */

:root {
  --ink: #14181d;
  --base: #1b2027;
  --base-2: #232a33;
  --base-3: #2e3742;
  --slate: #4c5663;
  --stone: #6f7b89;
  --stone-lt: #97a2af;

  --bronze: #c5924a;
  --bronze-lt: #ddb479;
  --bronze-dk: #8a6222;

  --paper: #ffffff;
  --paper-2: #f8f6f2;
  --sand: #efe9de;
  --line: #e5dfd4;
  --line-2: #f0ece4;

  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(20, 24, 29, .06), 0 6px 16px rgba(20, 24, 29, .07);
  --shadow-lg: 0 2px 6px rgba(20, 24, 29, .07), 0 26px 54px rgba(20, 24, 29, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Colonnade — a row of arches, drawn as an SVG tile */
  --colonnade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23c5924a' stroke-opacity='.16' stroke-width='1.4'%3E%3Cpath d='M8 60V26a22 22 0 0 1 44 0v34'/%3E%3C/g%3E%3C/svg%3E");
  --colonnade-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23c5924a' stroke-opacity='.20' stroke-width='1.4'%3E%3Cpath d='M8 60V26a22 22 0 0 1 44 0v34'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--bronze-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.14; margin: 0 0 .55em;
  letter-spacing: -0.015em; font-weight: 600; color: var(--base);
}
h1 { font-size: clamp(2.05rem, 6.2vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 4.3vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 2.5vw, 1.35rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; color: var(--base); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: 62px 0; position: relative; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--paper-2); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--base); color: #c3ccd6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: #a6b1bd; }
.section--dark strong { color: #fff; }
[id] { scroll-margin-top: 86px; }

.lede { font-size: 1.07rem; color: var(--slate); max-width: 64ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.section-head { max-width: 800px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--base); color: #fff;
  padding: 10px 16px; z-index: 300;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

/* ---------- Eyebrow: a small arch, then the label ---------- */
.eyebrow {
  /* flex-start, not center: a two-line eyebrow would otherwise float the arch
     marker between the lines instead of beside the first one. */
  display: inline-flex; align-items: flex-start; gap: .65em;
  font-size: .73rem; font-weight: 600; letter-spacing: .16em; line-height: 1.5;
  text-transform: uppercase; color: var(--bronze-dk); margin: 0 0 1em;
}
.eyebrow::before {
  content: ""; width: 12px; height: 14px; flex: none;
  border: 2px solid currentColor; border-bottom: 0;
  border-radius: 6px 6px 0 0;
  margin-top: .25em;
}
.section--dark .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: var(--bronze-lt); }
.center .eyebrow { justify-content: center; }

/* ---------- Arch image frames ---------- */
.arch {
  /* Percentage radii, so the curve stays a true arch at any width. Kept shallow
     enough that it does not eat the roofline out of a photo of a building. */
  position: relative; overflow: hidden; background: var(--sand);
  border-radius: 50% 50% 5px 5px / 16% 16% 5px 5px;
}
.arch--tall { border-radius: 50% 50% 5px 5px / 34% 34% 5px 5px; }
.arch--soft { border-radius: 42% 42% 5px 5px / 14% 14% 5px 5px; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  padding: 15px 26px; border: 2px solid transparent; border-radius: 999px;
  transition: transform .18s var(--ease), background-color .18s ease,
              color .18s ease, border-color .18s ease, box-shadow .18s ease;
  cursor: pointer; text-align: center; letter-spacing: -.005em;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--bronze); color: #1d1405; border-color: var(--bronze); }
.btn--primary:hover { background: var(--bronze-lt); border-color: var(--bronze-lt); color: #1d1405; box-shadow: 0 10px 24px rgba(197, 146, 74, .34); }
.btn--dark { background: var(--base); color: #fff; border-color: var(--base); }
.btn--dark:hover { background: var(--base-3); border-color: var(--base-3); color: #fff; box-shadow: 0 10px 24px rgba(20, 24, 29, .28); }
.btn--outline { background: transparent; color: var(--base); border-color: var(--line); }
.btn--outline:hover { border-color: var(--base); color: var(--base); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { color: inherit; }
.logo__mark {
  width: 40px; height: 42px; flex: none;
  background: var(--base); color: var(--bronze);
  border-radius: 20px 20px 4px 4px;
  display: grid; place-items: center;
  transition: background-color .2s ease;
}
.logo:hover .logo__mark { background: var(--bronze-dk); color: #fff; }
.logo__mark svg { width: 20px; height: 22px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.14; }
.logo__name {
  font-family: var(--display); font-weight: 700; color: var(--base);
  font-size: 1.06rem; letter-spacing: -.02em;
}
.logo__sub {
  font-size: .6rem; font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--stone);
}

.nav { display: none; }
.nav a {
  text-decoration: none; color: var(--slate); font-weight: 500; font-size: .95rem;
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--base); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--base); font-weight: 600; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--base); color: #fff; border: 0; border-radius: 999px;
  padding: 11px 17px; font-family: var(--font); font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle:hover { background: var(--base-3); }
.nav-toggle__icon { width: 16px; height: 16px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 6px 0 18px; }
.mobile-nav.is-open { display: block; }
/* :not(.btn) — an unscoped link colour here outranks .btn--primary and leaves
   the drawer's callback button grey-on-bronze. */
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 2px; text-decoration: none; font-weight: 500; color: var(--slate);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:not(.btn)[aria-current="page"] { color: var(--bronze-dk); font-weight: 600; }
.mobile-nav a:not(.btn) .chev { width: 15px; height: 15px; color: var(--stone-lt); }
.mobile-nav .btn { width: 100%; margin-top: 18px; }
.mobile-nav .btn .chev { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(880px 460px at 84% 8%, rgba(197, 146, 74, .22), transparent 62%),
    linear-gradient(168deg, #262e38 0%, #1b2027 54%, #12161b 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--colonnade-dark); background-size: 66px 66px;
  mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 40px 52px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .38em; }
.hero h1 em { font-style: italic; color: var(--bronze-lt); }
.hero__lede { font-size: 1.07rem; color: #b0bac6; max-width: 52ch; margin-bottom: 26px; }
.hero .btn-row { margin-bottom: 26px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }
.hero__meta div { padding: 15px 22px 0 0; margin-right: 22px; }
.hero__meta dt {
  font-size: .66rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--bronze-lt); font-weight: 600; margin-bottom: 4px;
}
.hero__meta dd { margin: 0; font-size: .93rem; font-weight: 500; color: #d8e0e8; }

/* Photo panel — an arched window onto the work */
.hero__figure { margin: 0; position: relative; }
.hero__figure .arch { aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.hero__figure figcaption {
  margin-top: 12px; font-size: .78rem; color: #97a2af;
  display: flex; align-items: center; gap: .5em;
}
.hero__figure figcaption::before {
  content: ""; width: 9px; height: 11px; flex: none;
  border: 1.5px solid var(--bronze); border-bottom: 0; border-radius: 5px 5px 0 0;
}

/* ---------- Enquiry card ---------- */
.enquiry-card {
  /* Near-solid so the hero's arch pattern does not read through the fields. */
  background: rgba(23, 28, 35, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 20px;
  backdrop-filter: blur(6px);
}
.enquiry-card h2 { color: #fff; font-size: 1.28rem; margin-bottom: .3em; }
.enquiry-card .form-note { color: #97a2af; }


/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--slate); }
.field label .req { color: var(--bronze-dk); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px;
  background-color: var(--paper); width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%236f7b89' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(197, 146, 74, .25);
}
.form-note { font-size: .78rem; color: var(--stone); margin: 12px 0 0; }

/* Dark-panel form skin. Scoped through .field so it outranks the generic
   .field rules above rather than tying with them on specificity. */
.enquiry-card .field label { color: #dbe3ec; }
.enquiry-card .field label .req { color: var(--bronze-lt); }
.enquiry-card .field input, .enquiry-card .field select, .enquiry-card .field textarea {
  background-color: #fff; border-color: transparent;
}
.enquiry-card .form-note a { color: var(--bronze-lt); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fdf1ec; border: 1px solid #f0c6b4; border-left: 4px solid #c2551f;
  border-radius: 9px; padding: 14px 16px; margin-bottom: 20px; color: #7a2f0d; font-size: .92rem;
}
.form-error svg { width: 20px; height: 20px; flex: none; color: #c2551f; }
.form-error a { color: #7a2f0d; font-weight: 600; }

/* ---------- Assurance strip ---------- */
.assurance { background: var(--base); color: #b9c3ce; }
.assurance ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: rgba(255,255,255,.1);
}
.assurance li {
  margin: 0; background: var(--base); padding: 18px 4px;
  display: flex; align-items: center; gap: 11px; font-size: .9rem; font-weight: 500;
}
.assurance svg { width: 20px; height: 20px; flex: none; color: var(--bronze); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }

.svc-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 18px 22px; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .arch { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.svc-card:hover .arch img { transform: scale(1.06); }
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { color: var(--slate); font-size: .96rem; margin-bottom: 1em; }
.svc-card__list { list-style: none; margin: 0 0 20px; padding: 0; }
.svc-card__list li {
  position: relative; padding-left: 24px; font-size: .9rem;
  color: var(--slate); margin-bottom: .45em;
}
.svc-card__list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 11px; height: 13px; border: 2px solid var(--bronze);
  border-bottom: 0; border-radius: 6px 6px 0 0;
}
.svc-card__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .93rem; text-decoration: none; color: var(--bronze-dk);
}
.svc-card__link svg { width: 16px; height: 16px; transition: transform .24s var(--ease); }
.svc-card:hover .svc-card__link svg, .svc-card__link:hover svg { transform: translateX(5px); }

/* ---------- Numbered process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li {
  margin: 0; position: relative; padding: 22px 20px 22px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 42px; height: 46px; margin-bottom: 14px;
  background: var(--sand); color: var(--bronze-dk);
  border-radius: 21px 21px 4px 4px;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  transition: background-color .26s ease, color .26s ease;
}
.steps li:hover::before { background: var(--bronze); color: #1d1405; }
.steps h3 { font-size: 1.12rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--slate); font-size: .94rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 20px; }
.gallery figure { margin: 0; }
.gallery .arch { aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery figure:hover .arch img { transform: scale(1.05); }
.gallery figcaption { margin-top: 12px; font-size: .88rem; color: var(--slate); }
.gallery figcaption strong { display: block; color: var(--base); font-weight: 600; margin-bottom: 2px; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split figure { margin: 0; }
.split .arch { aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.split figure:hover .arch img { transform: scale(1.04); }

.tick-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.tick-list li {
  position: relative; padding-left: 30px; margin-bottom: .6em; color: var(--slate); font-size: .97rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath fill='none' stroke='%238a6222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4.5L4 7.5 10 1.5'/%3E%3C/svg%3E") center no-repeat;
}
.section--dark .tick-list li { color: #b9c3ce; }
.section--dark .tick-list li::before { background-color: rgba(197,146,74,.24); }

/* ---------- Coverage list ---------- */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.area-grid li {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 15px; font-size: .93rem; font-weight: 500; color: var(--slate);
  display: flex; align-items: center; gap: 10px;
  transition: border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.area-grid li:hover { border-color: var(--bronze); color: var(--base); transform: translateY(-2px); }
.area-grid li::before {
  content: ""; width: 10px; height: 12px; flex: none;
  border: 2px solid var(--bronze); border-bottom: 0; border-radius: 5px 5px 0 0;
}
.area-grid li .pc { margin-left: auto; font-size: .74rem; color: var(--stone-lt); letter-spacing: .06em; }

/* ---------- Map ---------- */
.map-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--sand); min-height: 300px;
}
.map-frame iframe { position: relative; z-index: 2; display: block; width: 100%; height: 380px; border: 0; }
.map-fallback {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  text-align: center; padding: 24px; color: var(--slate); font-size: .92rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details:hover { border-color: var(--bronze-lt); }
.faq details[open] { border-color: var(--bronze); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 19px; position: relative;
  font-weight: 600; font-size: 1rem; color: var(--base); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 19px; top: 50%; width: 12px; height: 12px;
  margin-top: -7px; border-right: 2px solid var(--bronze-dk); border-bottom: 2px solid var(--bronze-dk);
  transform: rotate(45deg); transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--bronze-dk); }
.faq__body { padding: 0 19px 18px; color: var(--slate); font-size: .96rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Contact tiles ---------- */
.contact-tiles { display: grid; gap: 14px; }
.contact-tile {
  display: flex; align-items: center; gap: 15px; text-decoration: none;
  padding: 17px 19px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink);
  transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease;
}
.contact-tile:hover { transform: translateY(-3px); border-color: var(--bronze); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-tile__icon {
  width: 42px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--sand); color: var(--bronze-dk); border-radius: 21px 21px 4px 4px;
  transition: background-color .22s ease, color .22s ease;
}
.contact-tile:hover .contact-tile__icon { background: var(--bronze); color: #1d1405; }
.contact-tile__icon svg { width: 19px; height: 19px; }
.contact-tile__label, .contact-tile__value { display: block; }
.contact-tile__label { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.contact-tile__value { font-weight: 600; font-size: 1.02rem; color: var(--base); word-break: break-word; }

.section--dark .contact-tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #fff; }
.section--dark .contact-tile:hover { border-color: var(--bronze); }
.section--dark .contact-tile__value { color: #fff; }
.section--dark .contact-tile__label { color: var(--stone-lt); }
.section--dark .contact-tile__icon { background: rgba(197,146,74,.2); color: var(--bronze-lt); }
.section--dark .contact-tile:hover .contact-tile__icon { background: var(--bronze); color: #1d1405; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(720px 380px at 88% 0%, rgba(197,146,74,.2), transparent 62%),
    linear-gradient(168deg, #262e38 0%, #1b2027 60%, #12161b 100%);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--colonnade-dark); background-size: 66px 66px;
  mask-image: linear-gradient(160deg, #000 0%, transparent 58%);
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 58%);
}
.page-banner__inner { position: relative; z-index: 2; padding-block: 40px 46px; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: #b0bac6; max-width: 60ch; margin-bottom: 0; font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { position: relative; z-index: 2; padding: 14px 0 0; font-size: .8rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .5em; color: #97a2af; }
.crumbs li + li::before { content: "/"; color: rgba(255,255,255,.3); }
.crumbs a { color: #c3ccd6; text-decoration: none; }
.crumbs a:hover { color: var(--bronze-lt); text-decoration: underline; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 500; }

/* ---------- Service detail blocks ---------- */
.svc-block { scroll-margin-top: 92px; }
.svc-block + .svc-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.svc-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.svc-block__num {
  width: 40px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--sand); color: var(--bronze-dk); border-radius: 20px 20px 4px 4px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
}
.svc-block h2 { margin: 0; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec-list div {
  display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 12px 0;
  border-bottom: 1px solid var(--line-2); font-size: .93rem;
}
.spec-list dt { font-weight: 600; color: var(--base); min-width: 170px; margin: 0; }
.spec-list dd { margin: 0; color: var(--slate); flex: 1 1 220px; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-band blockquote {
  margin: 0; max-width: 760px; font-family: var(--display); font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  line-height: 1.42; color: var(--base); font-weight: 600;
}
.quote-band cite { display: block; margin-top: 14px; font-family: var(--font); font-style: normal; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze-dk); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--base); color: #c3ccd6; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--colonnade-dark); background-size: 66px 66px;
  mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
}
.cta-band__inner { position: relative; z-index: 2; text-align: center; padding-block: 54px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #a6b1bd; max-width: 56ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #97a2af; font-size: .92rem; padding: 48px 0 0; }
.site-footer h2 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font); font-weight: 600; margin-bottom: 1.2em; }
.footer-grid { display: grid; gap: 32px; }
.site-footer a { color: #b9c3ce; text-decoration: none; }
.site-footer a:hover { color: var(--bronze-lt); text-decoration: underline; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .55em; }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__sub { color: var(--stone); }
.footer-brand .logo__mark { background: rgba(197,146,74,.16); color: var(--bronze-lt); }
.footer-brand p { margin: 16px 0 0; max-width: 40ch; }
.footer-areas { color: #7c8794; font-size: .85rem; line-height: 1.8; }
.footer-bottom {
  margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: .82rem; color: #6f7b89;
}
.footer-bottom a { color: #6f7b89; }

/* ---------- Thank you / 404 ---------- */
.centred-page { display: grid; place-items: center; text-align: center; padding: 70px 0; }
.centred-page .arch-badge {
  width: 74px; height: 80px; display: grid; place-items: center; margin: 0 auto 24px;
  background: var(--sand); color: var(--bronze-dk); border-radius: 37px 37px 6px 6px;
}
.centred-page .arch-badge svg { width: 32px; height: 32px; }
.next-steps { list-style: none; margin: 26px auto 30px; padding: 0; max-width: 520px; text-align: left; display: grid; gap: 12px; }
.next-steps li {
  margin: 0; display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px;
  font-size: .95rem; color: var(--slate);
}
.next-steps li strong { display: block; color: var(--base); margin-bottom: 2px; }
.next-steps .n {
  width: 30px; height: 33px; flex: none; display: grid; place-items: center;
  background: var(--bronze); color: #1d1405; border-radius: 15px 15px 3px 3px;
  font-family: var(--display); font-weight: 700; font-size: .85rem;
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  .assurance ul { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn--block { width: auto; }
}

@media (min-width: 720px) {
  .section { padding: 78px 0; }
  .section--tight { padding: 52px 0; }
  .hero__inner { padding-block: 56px 66px; }
  .page-banner__inner { padding-block: 52px 58px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .field--wide { grid-column: 1 / -1; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 940px) {
  body { font-size: 17.5px; }
  .nav { display: flex; gap: 28px; align-items: center; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; }
  .hero--form .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .assurance ul { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  /* minmax(0,…) — without it a nested grid's min-content width blows the
     track out and collapses the sibling column (it squashed the map). */
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; }
  .split .area-grid { grid-template-columns: repeat(2, 1fr); }
  .split--reverse figure { order: 2; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
                    gap: 46px; align-items: start; }
}

/* Mobile: lift the enquiry card directly under the H1 without moving it
   in the source order (keeps the heading first for crawlers and screen readers). */
@media (max-width: 939px) {
  .hero--form .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero--form .hero__copy { display: contents; }
  .hero--form .hero__copy > * { order: 3; }
  .hero--form .hero__copy > h1 { order: 1; }
  .hero--form .hero__copy > .eyebrow { order: 0; }
  .hero--form .enquiry-card { order: 2; margin: 22px 0 26px; }
}

/* ---------- House extension types ---------- */
.type-grid { display: grid; gap: 18px; }
.type-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 21px 21px 23px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s ease;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--bronze); }
.type-card h3 { display: flex; align-items: baseline; gap: .6em; font-size: 1.08rem; margin-bottom: .45em; }
.type-card h3::before {
  content: ""; width: 12px; height: 14px; flex: none; align-self: center;
  border: 2px solid var(--bronze); border-bottom: 0; border-radius: 6px 6px 0 0;
  transition: background-color .26s ease;
}
.type-card:hover h3::before { background: var(--bronze); }
.type-card p { margin: 0; color: var(--slate); font-size: .94rem; }

@media (min-width: 720px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .type-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
