:root {
  --ink: #272727;
  --ink-dark: #272727;
  --paper: #fff;
  --white: #fff;
  --stone: #bfb5ab;
  --stone-light: #f2efeb;
  --gold: #aa9668;
  --muted: #5b544c;
  --line: #d4ccc2;
  --gutter: clamp(20px, 7.5vw, 115px);
  --nav-height: clamp(116px, 8.9vw, 150px);
  --photo-edge-shade: radial-gradient(ellipse at center, transparent 39%, #15151536 73%, #1515157e 100%);
  --sans: Avenir, 'Avenir Next', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-height) + 12px); }
html:has(.home-page) { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); letter-spacing: .025em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9b6718; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.35; text-wrap: balance; }
h1, h2 { font-size: clamp(1.65rem, 3.4vw, 3.35rem); text-transform: uppercase; letter-spacing: .16em; }
h3 { font-size: clamp(1rem, 1.9vw, 1.6rem); letter-spacing: .055em; }
p + p { margin-top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding-block: clamp(70px, 11vh, 132px); }
.section-title { text-align: center; font-size: clamp(1.35rem, 2.35vw, 1.95rem); letter-spacing: .24em; margin: 0 auto clamp(32px, 5vw, 60px); }
.section-title::after { content: ''; width: 32px; height: 1px; display: block; background: currentColor; opacity: .48; margin: 18px auto 0; }
.skip { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); background: white; padding: 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; color: #fff; background: var(--ink-dark); }
.home-page .site-header { position: fixed; inset: 0 0 auto; background: transparent; transition: background-color .35s ease, box-shadow .35s ease; }
.home-page .site-header.is-scrolled { background: var(--ink-dark); box-shadow: 0 1px 14px #0003; }
.home-page .site-header .nav { transition: min-height .35s ease; }
.home-page .site-header .brand { transition: width .35s ease; }
.home-page .site-header.is-scrolled .nav { min-height: 84px; }
.home-page .site-header.is-scrolled .brand { width: 104px; justify-self: center; }
.home-page .site-header.is-scrolled .nav-links a { text-shadow: none; }
.nav { width: 89%; max-width: 1600px; min-height: var(--nav-height); display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 10.5vw, 176px) minmax(0, 1fr); gap: clamp(32px, 5vw, 86px); align-items: center; }
.nav-links { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links a { text-decoration: none; padding-block: 12px; font-size: clamp(14px, 1.16vw, 20px); font-weight: 400; letter-spacing: .115em; text-transform: uppercase; text-shadow: 0 1px 5px #0008; }
.nav-links a:hover { color: #ead6aa; }
.brand { justify-self: center; display: block; width: 100%; padding-block: 8px; }
.brand img { width: 100%; }
.hero { min-height: 500px; height: 100vh; height: 100svh; position: relative; background: var(--ink-dark); overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to bottom, #000a, #0009 calc(var(--nav-height) * .82), #0005 calc(var(--nav-height) * 1.27), transparent calc(var(--nav-height) * 1.94)),
    linear-gradient(to top, #15151585, transparent 28%);
  pointer-events: none;
}
.slide { position: absolute; inset: 0; margin: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide.hero-side-martin img { object-position: center 44%; }
.slide:not(.hero-side-martin)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, transparent 40%, #1515154d 74%, #15151596 100%);
  pointer-events: none;
}
.slide.hero-side-martin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, #15151527 100%);
  pointer-events: none;
}
.slide.entering { z-index: 1; }
@keyframes slide-in { from { opacity: 0; } to { opacity: 1; } }
.slideshow-rotation {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: 24px;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.slideshow-rotation:focus-visible {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: .55rem .9rem;
  clip-path: none;
  color: white;
  background: var(--ink-dark);
  border: 1px solid white;
}
.intro {
  color: #faf9f6;
  background: radial-gradient(ellipse at 47% 42%, #20201f, #181817 84%);
  padding-block: clamp(30px, 2.15vw, 42px) clamp(62px, 8.8vw, 148px);
}
.intro .wrap { width: min(100% - 2 * clamp(22px, 6.4vw, 116px), 1510px); }
.intro .kicker {
  color: #e7c46f;
  text-transform: uppercase;
  font-size: clamp(.85rem, 1.55vw, 1.58rem);
  font-weight: 500;
  letter-spacing: .15em;
  margin-bottom: clamp(14px, 1.55vw, 26px);
}
.intro .kicker::after {
  content: "";
  display: block;
  width: clamp(56px, 7.3vw, 118px);
  height: clamp(3px, .42vw, 7px);
  margin-top: clamp(17px, 1.55vw, 28px);
  background: #e7c46f;
}
.intro h1 {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4.12vw, 4.3rem);
  font-weight: 550;
  letter-spacing: .014em;
  line-height: 1.08;
  text-transform: none;
  text-wrap: initial;
}
.intro h1 span { display: block; }
.intro .subhead {
  color: #f5f4f1;
  margin-top: clamp(13px, 1.15vw, 20px);
  font-size: clamp(1.06rem, 1.93vw, 2rem);
  font-weight: 400;
  letter-spacing: .075em;
  line-height: 1.38;
}
.intro-content {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  gap: clamp(38px, 5.6vw, 94px);
  margin-top: clamp(30px, 2.45vw, 44px);
}
.intro .copy {
  color: #f5f4f1;
  font-size: clamp(1.05rem, 1.85vw, 1.93rem);
  line-height: 1.34;
  letter-spacing: .025em;
}
.intro .copy p + p { margin-top: clamp(21px, 2vw, 34px); }
.intro-aside { align-self: start; }
.award-recognition {
  display: block;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  max-width: 550px;
  padding: clamp(15px, 1.45vw, 25px) clamp(19px, 2.15vw, 35px);
  background: #f7f6f1;
  color: #1b1a18;
  letter-spacing: .015em;
  line-height: 1.32;
}
.award-recognition p + p { margin-top: .38rem; }
.award-recognition:hover { transform: translateY(-2px); box-shadow: 0 10px 22px #0003; }
.award-more { display: inline-block; margin-top: .55rem; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7d6a40; }
.award-recognition:hover .award-more { text-decoration: underline; }
.award-programme { font-size: clamp(.82rem, 1.2vw, 1.23rem); }
.award-title { font-size: clamp(1rem, 1.5vw, 1.53rem); font-weight: 700; }
.award-region { font-size: clamp(.82rem, 1.12vw, 1.18rem); }
.recognition {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(14px, 2.8vw, 46px);
  margin-top: clamp(23px, 3.1vw, 50px);
  padding-inline-start: clamp(0px, 3.4vw, 57px);
}
.recognition img { width: auto; object-fit: contain; }
.recognition-logo, .recognition-book { display: block; transition: transform .2s ease; }
.recognition-logo:hover, .recognition-book:hover { transform: translateY(-3px); }
.recognition-logo img { height: clamp(74px, 8.6vw, 143px); border-radius: 7%; }
.recognition-book img { height: clamp(85px, 9.5vw, 157px); box-shadow: 0 6px 16px #0004; }
.recognition-link {
  position: relative;
  align-self: start;
  justify-self: start;
  margin-top: -.9em;
  border: 1.5px solid white;
  border-radius: 99px;
  padding: .14em .61em;
  color: white;
  white-space: nowrap;
  text-decoration: none;
  font-size: clamp(.85rem, 1.34vw, 1.38rem);
  font-style: italic;
}
.recognition-link::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -1.75em;
  width: 2.45em;
  height: 1em;
  border-bottom: 1.5px solid white;
  border-right: 1.5px solid white;
  border-bottom-right-radius: 100%;
  pointer-events: none;
}
.recognition-link::after {
  content: "";
  position: absolute;
  left: -1.82em;
  top: calc(100% + .78em);
  border-block: .18em solid transparent;
  border-right: .42em solid white;
  pointer-events: none;
}
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: .57rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: white; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.button:hover { background: #483d30; }
.button.light { background: #fff; border-color: #fff; color: var(--ink); }
.button.light:hover { background: var(--stone); }
.button.stone { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.button.stone:hover { background: white; }
.button.outline { background: transparent; color: inherit; border-color: currentColor; }
.button.outline:hover { background: #b79b6530; }
.service-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(10px, 1.5vw, 20px); }
.service-card { grid-column: span 2; aspect-ratio: 1; position: relative; color: white; text-decoration: none; overflow: hidden; background: #463d32; display: flex; flex-direction: column; justify-content: flex-end; }
.service-card:nth-child(5) { grid-column: 2 / span 2; }
.service-card img, .service-card .photo-pending { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 28%, #211c16df 88%); pointer-events: none; }
.home-page .service-card:has(img)::after {
  background: var(--photo-edge-shade), linear-gradient(transparent 28%, #211c16df 88%);
}
.service-card:hover img { transform: scale(1.035); }
.service-card-content { z-index: 1; padding: 0 clamp(11px, 1.6vw, 20px) clamp(9px, 1.15vw, 14px); }
.service-card h3 { font-size: clamp(.82rem, 1.25vw, 1.15rem); letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.card-link { display: inline-block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; margin-top: .52rem; text-decoration: underline; text-underline-offset: .24em; }
.photo-pending { display: grid; place-items: center; color: #4d4031; background: #dfd4c3; font-size: 12px; letter-spacing: .03em; }
.photo-pending span { display: inline-block; padding: .2em .55em; background: #f5eee2; color: #40372b; }
.service-card .photo-pending { align-items: start; padding-top: 15%; background: #aa987e; }
.service-card:nth-child(3n+2) .photo-pending { background: #c1ad8e; }
.service-card:nth-child(3n+3) .photo-pending { background: #9d8e7a; }
.projects { background: var(--stone); }
.project-grid, .example-grid, .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 30px); }
.project-card { color: inherit; text-decoration: none; display: block; }
.project-card .media { aspect-ratio: 1.86; background: var(--line); overflow: hidden; }
.project-card .media img, .project-card .media .photo-pending { width: 100%; height: 100%; object-fit: cover; }
.home-page .project-card .media:has(img) { position: relative; }
.home-page .project-card .media:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo-edge-shade);
  pointer-events: none;
}
.project-card .project-content { padding: 13px 0 8px; }
.project-card h3 { text-transform: uppercase; }
.project-card .location { color: #464038; margin-top: 1px; }
.centred-action { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.reviews { background: var(--ink-dark); color: white; }
.reviews .section-title { margin-bottom: 30px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.review-card { position: relative; background: #f6f1e9; color: var(--ink); border-radius: 6px; padding: 22px 20px 0; min-height: 300px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; box-shadow: 0 2px 10px #0003; transition: transform .25s ease, box-shadow .25s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #0006; }
.review-source { display: flex; align-items: center; justify-content: center; gap: 11px; }
.review-card h3 { font-size: 1.15rem; letter-spacing: .03em; }
.source-icon { flex: none; width: 34px; height: 34px; display: block; }
.source-icon svg { width: 100%; height: 100%; display: block; }
.stars { display: flex; justify-content: center; gap: 3px; font-size: 22px; line-height: 1; margin-top: 4px; }
.stars span { color: transparent; background: linear-gradient(90deg, #f4b400 var(--fill), #d6cec2 var(--fill)); -webkit-background-clip: text; background-clip: text; }
.review-score { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.review-slides { flex: 1; align-self: stretch; overflow: hidden; display: flex; align-items: center; }
.review-track { display: flex; width: 100%; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.review-track.no-anim { transition: none; }
.review-slide { flex: 0 0 100%; padding-inline: 4px; }
@media (prefers-reduced-motion: reduce) { .review-track { transition: none; } }
.review-slide blockquote { margin: 0; font-style: italic; font-size: 16px; line-height: 1.5; }
.review-slide figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; }
.review-pending { flex: 1; display: grid; align-content: center; font-style: italic; font-size: 15px; color: var(--muted); }
.review-dots { display: flex; justify-content: center; gap: 8px; padding-block: 4px 2px; }
.review-dots button { position: relative; z-index: 2; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9c1b6; }
.review-dots button[aria-current="true"] { background: var(--ink); }
.review-link { align-self: stretch; margin-top: 6px; padding-block: 13px 15px; border-top: 1px solid #d9d0c3; text-decoration: none; font-size: 14px; letter-spacing: .1em; }
.review-link::after { content: ''; position: absolute; inset: 0; }
.review-card:hover .review-link { text-decoration: underline; }
.reviews .section-title, .find h2 { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px); }
.reviews .section-title::after, .find h2::after { display: none; }
.reviews .section-title::before, .find h2::before, .reviews .section-title > span::after { content: ''; }
.title-rule { flex: 0 1 150px; height: 1px; background: var(--gold); }
.find { text-align: center; background: white; padding-block: 34px 56px; }
.find h2 { font-size: clamp(1.4rem, 2.8vw, 2.5rem); }
.find-intro { margin-top: 10px; font-style: italic; color: var(--muted); }
.platform-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px 16px; background: #f6f1e9; border-radius: 6px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.platform:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #0002; }
.platform .source-icon { width: 40px; height: 40px; }
.platform-name { font-size: 16px; letter-spacing: .04em; }
.platform-arrow { font-size: 16px; line-height: 1; }
.knowledge { background: var(--stone-light); }
.knowledge h2, .contact-block h2 { margin-bottom: 17px; }
.knowledge .button, .contact-block .button { margin-top: 20px; }
.contact-block { display: grid; place-items: center; min-height: 74vh; text-align: center; color: white; background: var(--photo-edge-shade), linear-gradient(#1717179c,#1717179c), url("assets/contact-footer.jpg") center / cover; }
.contact-block h2 { max-width: 920px; margin: 0 auto 28px; }
.contact-block .button { margin: 0; }
.site-footer { background: var(--ink-dark); color: #e3d9ca; padding-block: 28px; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.breadcrumb { display: flex; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.page-top { padding-block: clamp(42px, 6vw, 83px) 34px; }
.page-top h1 { margin-bottom: 12px; }
.page-top p { max-width: 69ch; }
.page-body { padding-bottom: clamp(48px, 7vw, 96px); }
.page-body h2 { font-size: clamp(1.45rem, 2.8vw, 2.35rem); margin: 0 0 21px; }
.example-grid { gap: 16px; }
.example-card { background: #efe5d7; border: 1px solid #dfd2bf; display: block; text-decoration: none; }
.example-card:hover { background: #e5d7c2; }
.example-card img { width: 100%; aspect-ratio: 2.25; object-fit: cover; }
.example-card .caption { padding: 14px 17px; }
.example-card h3 { font-size: clamp(1.1rem, 2vw, 1.55rem); }
.more { background: var(--stone-light); padding: clamp(15px, 2.8vw, 31px); }
.more p { margin-top: 10px; }
.more ul { columns: 2; padding-left: 17px; margin-bottom: 8px; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding-top: 7px; color: var(--muted); font-size: 13px; }
.gallery + p, .gallery + .case-text { margin-top: 22px; }
.case-text + .gallery, .example-extra { margin-top: 32px; }
.gallery .wide { grid-column: 1 / -1; }
.post-gallery { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: 14px; margin-bottom: 24px; }
.post-gallery .landscapes { display: grid; gap: 12px; }
.post-gallery .landscapes img { aspect-ratio: 2.45; object-fit: cover; }
.post-gallery .landscapes .repair img { object-fit: cover; object-position: 47% 58%; }
.post-gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 5px; }
.enquiry-strip { margin-top: 46px; padding: 20px; background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.enquiry-strip .button { flex-shrink: 0; }
.form { max-width: 760px; display: grid; gap: 17px; }
.form .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form textarea { color: var(--ink); width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #86775f; border-radius: 0; background: white; }
.form textarea { min-height: 120px; resize: vertical; }
.form .button { justify-self: start; }
.notice { border-left: 3px solid #a67e3a; background: #efe5d4; padding: 13px 16px; margin-bottom: 24px; }
.form-result { min-height: 26px; font-weight: 700; }
@media (721px <= width <= 940px) {
  .nav { width: calc(100% - 48px); grid-template-columns: minmax(0,1fr) 124px minmax(0,1fr); gap: 20px; }
  .brand { width: 119px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 11px; letter-spacing: .11em; }
}
@media (min-width: 1440px) {
  .intro .copy span { display: block; }
}
@media (max-width: 800px) {
  .intro h1 span { display: inline; }
  .intro-content { grid-template-columns: 1fr; gap: 28px; }
  .recognition { padding-inline-start: 0; }
  .recognition-link { margin-top: 0; }
}
@media (max-width: 720px) {
  :root { --nav-height: 103px; }
  .nav { width: calc(100% - 24px); height: var(--nav-height); min-height: 0; padding-block: 6px; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 0; }
  .brand { grid-column: 1 / -1; grid-row: 1; width: 95px; padding: 1px 0 4px; }
  .nav-links { justify-content: space-around; gap: 6px; }
  .nav-links a { font-size: clamp(8px, 2.1vw, 11px); letter-spacing: .10em; padding-block: 9px; }
  .hero { height: 90vh; height: 90svh; min-height: 430px; }
  .slide.hero-side-martin img { object-position: center 43%; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card:nth-child(5) { grid-column: span 2; }
  .service-card:last-child { grid-column: 2 / span 2; }
  .service-card h3 { font-size: clamp(.68rem, 2.5vw, 1rem); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card .project-content { padding: 10px 0 3px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .review-card { padding: 16px 12px 0; min-height: 290px; }
  .review-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-block { min-height: 62svh; }
  .gallery, .post-gallery { grid-template-columns: 1fr; }
  .post-gallery .landscapes img { aspect-ratio: 1.5; }
}
@media (max-width: 480px) {
  .example-grid, .form .row { grid-template-columns: 1fr; }
  .enquiry-strip { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .slide.entering { animation: slide-in 1s ease both; }
  .service-card img { transition: transform .2s ease-out; }
}
[hidden] { display: none !important; }

@media (min-width: 721px) and (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.service-card .card-link { font-size: 10px; margin-top: .3rem; }
.reviews.section { padding-bottom: clamp(40px, 5vw, 60px); }
.platform .source-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }

/* Even spacing between the main homepage sections (matches the reviews → Find us here gap). */
:root { --section-gap: clamp(34px, 3.3vw, 47px); }
.intro { padding-bottom: calc(var(--section-gap) + 12px); }
#services.section, .projects.section, .reviews.section { padding-block: var(--section-gap); }
.reviews.section { padding-bottom: var(--section-gap); }
.find { padding-top: var(--section-gap); }
#services .section-title, .projects .section-title, .reviews .section-title { margin-bottom: clamp(24px, 2.6vw, 36px); }
#services .centred-action, .projects .centred-action { margin-top: 26px; }

/* Service cards: serif titles in the bottom-left corner with a small arrow. */
.service-card-content { padding: 0 clamp(12px, 1.5vw, 20px) clamp(11px, 1.3vw, 17px); }
.service-card h3 { font-family: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: .015em; font-size: clamp(1rem, 1.55vw, 1.42rem); line-height: 1.2; color: #f6efe2; text-wrap: balance; }
.service-arrow { display: inline-block; margin-left: .25em; font-family: var(--sans); font-size: .8em; color: #d9c08c; transition: transform .25s ease; }
.service-card:hover .service-arrow { transform: translateX(5px); }
@media (max-width: 720px) { .service-card h3 { font-size: clamp(.8rem, 3.3vw, 1.05rem); } }

/* Review cards never wider than their column, so all four stay on the page. */
.review-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-card { min-width: 0; }
@media (min-width: 721px) and (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .review-grid { grid-template-columns: minmax(0, 1fr); } }

/* Larger project photos on wide screens. */
.projects .wrap { width: min(100% - 2 * clamp(20px, 4vw, 64px), 1560px); }
.project-card .media { aspect-ratio: 1.6; }

/* Find us here: icons only. */
.platform-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.8vw, 22px); }
.platform { width: clamp(64px, 6vw, 84px); height: clamp(64px, 6vw, 84px); padding: 0; justify-content: center; border-radius: 50%; }
.platform .source-icon { width: 46%; height: 46%; }

/* Review card actions: read link spans the card; leave-a-review sits above it. */
.review-actions { align-self: stretch; display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; border-top: 1px solid #d9d0c3; }
.review-actions .review-link { align-self: auto; margin-top: 0; border-top: 0; }
.review-leave { position: relative; z-index: 2; padding-block: 13px 15px; font-size: 14px; letter-spacing: .1em; color: #7d6a40; text-decoration: none; }
.review-leave:hover { text-decoration: underline; }

/* Find us here: icon badge with a short visible name underneath. */
.platform-grid { align-items: flex-start; gap: clamp(14px, 1.6vw, 22px) clamp(8px, 1.1vw, 16px); }
.platform { width: clamp(76px, 6.6vw, 96px); height: auto; padding: 0; background: none; border-radius: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.platform:hover { transform: translateY(-2px); box-shadow: none; }
.platform-badge { width: clamp(56px, 5vw, 72px); height: clamp(56px, 5vw, 72px); border-radius: 50%; background: #f6f1e9; display: grid; place-items: center; transition: box-shadow .2s ease; }
.platform:hover .platform-badge { box-shadow: 0 8px 18px #0002; }
.platform .platform-badge .source-icon { width: 50%; height: 50%; }
.platform-label { font-size: 12px; line-height: 1.25; letter-spacing: .02em; color: var(--ink); text-align: center; overflow-wrap: break-word; hyphens: manual; }
.platform:hover .platform-label { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 720px) { .platform { width: 74px; } .platform-label { font-size: 11px; letter-spacing: 0; } }

/* Subpage photo hero (Timber Frame Restoration, Lime Specialists): homepage frame, serif title, gold rule. */
.page-hero { position: relative; min-height: clamp(300px, 46vh, 500px); display: flex; align-items: flex-end; color: #f6efe2; background: #211c16; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: var(--photo-edge-shade), linear-gradient(#1515155c, #15151526 35%, #151515d9 92%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; padding-block: 0 clamp(26px, 3.6vw, 48px); }
.page-hero .breadcrumb { color: #e3d9ca; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: #f6efe2; }
.page-hero h1 { font-family: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: .01em; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.1; color: #f6efe2; }
.hero-rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 16px 0 14px; }
.page-hero p { max-width: 60ch; color: #ece4d6; font-size: clamp(15px, 1.2vw, 18px); }
.page-body.has-hero { padding-top: clamp(34px, 3.3vw, 47px); }
.timber-examples .section-title { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px); margin-bottom: clamp(24px, 2.6vw, 36px); }
.timber-examples .section-title::after { display: none; }

/* Timber example cards: titles over the photo, like the homepage service cards. */
.timber-examples .example-card { position: relative; overflow: hidden; background: #211c16; border: 0; color: #f6efe2; }
.timber-examples .example-card img { aspect-ratio: 2; transition: transform .35s ease; }
.timber-examples .example-card:hover img { transform: scale(1.03); }
.timber-examples .example-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 42%, #211c16e0 94%); pointer-events: none; }
.timber-examples .example-card .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 clamp(14px, 1.8vw, 24px) clamp(12px, 1.5vw, 20px); }
.timber-examples .example-card h3 { font-family: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif; font-weight: 400; letter-spacing: .015em; font-size: clamp(1.1rem, 1.8vw, 1.6rem); color: #f6efe2; }
.timber-examples .example-card .card-link { color: #e3d9ca; text-decoration: none; margin-top: .35rem; }
.timber-examples .example-card:hover .service-arrow { transform: translateX(5px); }
.timber-examples .more { background: var(--stone-light); border-top: 2px solid var(--gold); display: flex; flex-direction: column; justify-content: center; }
.timber-examples .more h3 { font-family: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif; font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.6rem); }
.timber-examples .enquiry-strip { border-top: 2px solid var(--gold); }

/* Subpages with a photo band: logo and menu sit over the photo, as on the homepage; solid bar once scrolled. */
html:has(.overlay-header) { scroll-padding-top: 96px; }
.overlay-header .site-header { position: fixed; inset: 0 0 auto; background: transparent; transition: background-color .35s ease, box-shadow .35s ease; }
.overlay-header .site-header.is-scrolled { background: var(--ink-dark); box-shadow: 0 1px 14px #0003; }
.overlay-header .site-header .nav { transition: min-height .35s ease; }
.overlay-header .site-header .brand { transition: width .35s ease; }
.overlay-header .site-header.is-scrolled .nav { min-height: 84px; }
.overlay-header .site-header.is-scrolled .brand { width: 104px; justify-self: center; }
.overlay-header .site-header.is-scrolled .nav-links a { text-shadow: none; }
.overlay-header .page-hero { min-height: calc(var(--nav-height) + clamp(250px, 36vh, 420px)); }
.overlay-header .page-hero::after { background: var(--photo-edge-shade), linear-gradient(to bottom, #000a, #0007 calc(var(--nav-height) * .9), #15151526 calc(var(--nav-height) * 1.7), #15151540 55%, #151515d9 94%); }
.page-hero + .page-body { padding-top: clamp(34px, 3.3vw, 47px); }

/* Examples of our work: thin gold frame inset on each card. */
.timber-examples .example-card::before { content: ''; position: absolute; inset: clamp(8px, .8vw, 12px); border: 1px solid #c9a96bcc; z-index: 1; pointer-events: none; transition: inset .3s ease, border-color .3s ease; }
.timber-examples .example-card:hover::before { inset: clamp(5px, .5vw, 8px); border-color: #d9bc7e; }
.timber-examples .example-card .caption { z-index: 2; padding: 0 clamp(24px, 2.4vw, 34px) clamp(20px, 2vw, 28px); }
.timber-examples .more { box-shadow: inset 0 0 0 clamp(8px, .8vw, 12px) var(--stone-light), inset 0 0 0 calc(clamp(8px, .8vw, 12px) + 1px) #c9a96bcc; border-top: 0; padding: clamp(26px, 3vw, 40px); }

/* Gold frame now sits outside each example card. */
.timber-examples .example-card::before { display: none; }
.timber-examples .example-card { overflow: hidden; outline: 1px solid #c9a96b; outline-offset: 5px; transition: outline-offset .3s ease, outline-color .3s ease; }
.timber-examples .example-card img { display: block; }
.timber-examples .example-card:hover { outline-offset: 3px; outline-color: #d9bc7e; }
.timber-examples .example-card .caption { padding: 0 clamp(14px, 1.8vw, 24px) clamp(12px, 1.5vw, 20px); }
.timber-examples .more { box-shadow: none; outline: 1px solid #c9a96b; outline-offset: 5px; padding: clamp(15px, 2.8vw, 31px); }
.timber-examples .example-grid { gap: clamp(22px, 2.6vw, 34px); }

/* Bigger, bolder serif titles on the subpage photo bands; taller photo band. */
.page-hero h1 { font-weight: 600; font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: 1.04; max-width: 14.5ch; }
.overlay-header .page-hero { min-height: calc(var(--nav-height) + clamp(330px, 52vh, 580px)); }

/* SME News winner badge in the intro award box. */
.award-recognition { background: transparent; padding: 0; max-width: 520px; }
.award-badge { display: block; width: 100%; height: auto; border-radius: 4px; }
.award-more { color: #d9c08c; }

/* Subpage titles and example cards: bold geometric sans (Avenir Next), as in James's reference image. */
.page-hero h1 { font-family: 'Avenir Next', Avenir, 'Century Gothic', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; letter-spacing: -.015em; line-height: 1.02; font-size: clamp(2.6rem, 5.6vw, 5rem); max-width: 13ch; }
.timber-examples .example-card h3, .timber-examples .more h3 { font-family: 'Avenir Next', Avenir, 'Century Gothic', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; letter-spacing: 0; }

/* Match James's reference: large Avenir Next title, bright white text, taller photo band on every subpage. */
.page-hero h1 { font-weight: 500; font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.022em; color: #fff; max-width: 12ch; }
.page-hero .breadcrumb { color: #fff; font-size: 14px; letter-spacing: .03em; margin-bottom: clamp(18px, 2vw, 28px); }
.page-hero .breadcrumb a { color: #fff; text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero p { color: #fff; font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(16px, 1.4vw, 21px); letter-spacing: 0; }
.hero-rule { margin: 20px 0 16px; }
.overlay-header .page-hero { min-height: calc(var(--nav-height) + clamp(400px, 62vh, 720px)); }
.page-hero-inner { padding-bottom: clamp(44px, 6vw, 96px); }

/* Photo band text sits further left at full screen. */
.page-hero .page-hero-inner { width: min(100% - 2 * clamp(20px, 4vw, 64px), 1560px); }
.page-hero p.cover-note { font-size: 13px; color: #d9d0c2; letter-spacing: .02em; max-width: 52ch; }

/* Charcoal background on every subpage, light text, gold-framed photos. */
.overlay-header main { background: #232120; color: #e9e1d3; }
.overlay-header .page-body h2, .overlay-header .page-body > h3, .overlay-header .section-title, .overlay-header .project-card h3 { color: #f6efe2; }
.overlay-header .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #e3c98f; }
.overlay-header .project-card .location { color: #c9bfae; }
.overlay-header .gallery figcaption, .overlay-header .post-gallery figcaption { color: #c9bfae; padding-top: 12px; }
.overlay-header .gallery img, .overlay-header .post-gallery img, .overlay-header .project-card .media { outline: 1px solid #c9a96b; outline-offset: 5px; }
.overlay-header .gallery, .overlay-header .post-gallery, .overlay-header .post-gallery .landscapes { gap: 26px; }
.overlay-header .notice { background: #2d2a26; color: #e9e1d3; border-left-color: #c9a96b; }
.overlay-header .enquiry-strip { background: #2f2b27; border-top: 2px solid #c9a96b; }
.overlay-header .site-footer { border-top: 1px solid #ffffff14; }
.overlay-header .more, .overlay-header .more h3, .overlay-header .review-card { color: var(--ink); }
.overlay-header .form label { color: #f1e9db; }
.overlay-header .timber-examples .example-card { outline-color: #c9a96b; }

/* Example pages: photos on the left, write-up panel on the right. */
.example-split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr); gap: clamp(26px, 3vw, 48px); align-items: start; }
.example-split.compact { grid-template-columns: minmax(0, 320px) minmax(250px, 1fr); }
.example-panel { background: #2d2a26; border-top: 2px solid #c9a96b; padding: clamp(20px, 2.2vw, 32px); color: #e9e1d3; position: sticky; top: 104px; }
.example-panel p + p { margin-top: 14px; }
.example-panel .cover-note { font-size: 13px; color: #c9bfae; }
.example-panel h2 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 10px; }
.example-panel .notice { margin: 16px 0 0; font-size: 13px; }
.example-split .gallery + p, .example-split .case-text { margin-top: 0; }
.page-body > h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .example-split, .example-split.compact { grid-template-columns: 1fr; } .example-panel { position: static; } }
.overlay-header .form .button { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.overlay-header .form .button:hover { background: #fff; }

/* Warm light stone on every subpage (charcoal version saved as .claude-ref/styles.css.charcoal-version). */
:root { --frame: #b3a385; --frame-hover: #9c8a68; }
.overlay-header main { background: var(--stone-light); color: var(--ink); }
.overlay-header .page-body h2, .overlay-header .page-body > h3, .overlay-header .section-title, .overlay-header .project-card h3 { color: var(--ink); }
.overlay-header .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #6f5c35; }
.overlay-header .project-card .location { color: var(--muted); }
.overlay-header .gallery figcaption, .overlay-header .post-gallery figcaption, .overlay-header .example-photos figcaption { color: var(--muted); padding-top: 12px; }
.overlay-header .notice { background: #ebe3d6; color: var(--ink); border-left-color: var(--frame); }
.overlay-header .form label { color: var(--ink); }
.overlay-header .form .button { background: var(--ink); border-color: var(--ink); color: #fff; }
.overlay-header .form .button:hover { background: #483d30; }
.example-panel { background: #fffcf7; color: var(--ink); border-top-color: var(--frame); box-shadow: 0 1px 0 #0000000a; }
.example-panel .cover-note { color: var(--muted); }
.overlay-header .enquiry-strip { background: var(--ink); border-top-color: var(--frame); }
.overlay-header .more { background: #fffcf7; }

/* Softer, muted frames on every photo and card, including the Over photo. */
.overlay-header .gallery img, .overlay-header .post-gallery img, .overlay-header .project-card .media, .overlay-header .example-photos > figure img { outline: 1px solid var(--frame); outline-offset: 5px; }
.overlay-header .example-photos > figure figcaption { padding-top: 12px; }
.timber-examples .example-card, .overlay-header .timber-examples .example-card { outline-color: var(--frame); }
.timber-examples .example-card:hover { outline-color: var(--frame-hover); }
.timber-examples .more { outline-color: var(--frame); }

/* Click-to-expand photos on the timber example pages. */
.example-photos img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: #111111f2; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: clamp(16px, 4vw, 56px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 80vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px #0008; }
.lightbox-caption { color: #e9e1d3; font-size: 14px; margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; background: #ffffff14; color: #fff; border: 1px solid #ffffff40; border-radius: 50%; width: 48px; height: 48px; font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background .2s ease; }
.lightbox button:hover { background: #ffffff2e; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 28px; left: 24px; color: #cfc6b8; font-size: 13px; letter-spacing: .08em; }
body.lightbox-open { overflow: hidden; }

/* Every subpage uses the homepage Projects stone (light-stone version saved as .claude-ref/styles.css.light-stone-version). */
.overlay-header main { background: var(--stone); }
.overlay-header .project-card .location, .overlay-header .gallery figcaption, .overlay-header .post-gallery figcaption, .overlay-header .example-photos figcaption { color: #3f3a33; }
.overlay-header .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #4e3f22; }
.overlay-header .notice { background: #d3cbc1; }
:root { --frame: #8f8068; --frame-hover: #6f6250; }

/* Charcoal back on every subpage, keeping the softer bronze frames and side panels
   (Projects-stone version saved as .claude-ref/styles.css.projects-stone-version). */
:root { --frame: #9e8d70; --frame-hover: #b8a684; }
.overlay-header main { background: #232120; color: #e9e1d3; }
.overlay-header .page-body h2, .overlay-header .page-body > h3, .overlay-header .section-title, .overlay-header .project-card h3 { color: #f6efe2; }
.overlay-header .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #e3c98f; }
.overlay-header .project-card .location, .overlay-header .gallery figcaption, .overlay-header .post-gallery figcaption, .overlay-header .example-photos figcaption { color: #c9bfae; }
.overlay-header .notice { background: #2d2a26; color: #e9e1d3; border-left-color: var(--frame); }
.overlay-header .form label { color: #f1e9db; }
.overlay-header .form .button { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.overlay-header .form .button:hover { background: #fff; }
.overlay-header .example-panel { background: #2d2a26; color: #e9e1d3; border-top-color: var(--frame); box-shadow: none; }
.overlay-header .example-panel .cover-note { color: #c9bfae; }
.overlay-header .enquiry-strip { background: #2f2b27; border-top-color: var(--frame); }
.overlay-header .more { background: #f6f1e9; }

/* Homepage service cards: Avenir Next to match the subpage titles. */
.service-card h3 { font-family: 'Avenir Next', Avenir, 'Century Gothic', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; letter-spacing: 0; color: #fff; }

/* Example pages you click into (Sole plate replacement etc.) stay on the Projects stone. */
.example-page main { background: var(--stone); color: var(--ink); }
.example-page .page-body h2, .example-page .page-body > h3 { color: var(--ink); }
.example-page .page-body a:not(.button) { color: #4e3f22; }
.example-page .gallery figcaption, .example-page .post-gallery figcaption, .example-page .example-photos figcaption { color: #3f3a33; }
.example-page .example-panel { background: #fffcf7; color: var(--ink); border-top-color: #8f8068; }
.example-page .example-panel .cover-note { color: var(--muted); }
.example-page .notice { background: #d3cbc1; color: var(--ink); border-left-color: #8f8068; }
.example-page .gallery img, .example-page .post-gallery img, .example-page .example-photos > figure img { outline-color: #8f8068; }
.example-page .enquiry-strip { background: var(--ink); border-top-color: #8f8068; }
.example-page.overlay-header .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #4e3f22; }

/* Intro ("Award-winning conservation & heritage specialists"): scaffold site photo behind the text with a dark charcoal tint. */
.intro { background: linear-gradient(90deg, #181817f2 0%, #181817e0 45%, #181817c4 100%), url("assets/hero-scaffold-sunny.jpg") center 45% / cover no-repeat, #181817; }

/* Intro background: lighter tint; three photo options selectable in the preview with ?intro=1, 2 or 3. */
:root { --intro-tint: linear-gradient(90deg, #181817db 0%, #181817bd 45%, #1818178c 100%); }
.intro { background: var(--intro-tint), url("assets/hero-scaffold-sunny.jpg") center 45% / cover no-repeat, #181817; }
.intro.intro-v1 { background: var(--intro-tint), url("assets/intro-bg-1.jpg") center 42% / cover no-repeat, #181817; }
.intro.intro-v2 { background: var(--intro-tint), url("assets/intro-bg-2.jpg") center 55% / cover no-repeat, #181817; }
.intro.intro-v3 { background: var(--intro-tint), url("assets/intro-bg-3.jpg") 60% 38% / cover no-repeat, #181817; }

/* Charcoal band between the homepage slideshow and the intro, carrying the company name. */
.intro-band { background: #181817; color: #e7c46f; padding-block: clamp(20px, 2.4vw, 34px); border-bottom: 1px solid #ffffff12; }
.intro-band p { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); margin: 0; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; font-size: clamp(.8rem, 1.45vw, 1.35rem); text-align: center; }
.intro-band .title-rule { flex: 0 1 140px; height: 1px; background: #e7c46f; opacity: .7; }
.intro { padding-top: clamp(40px, 4vw, 64px); }

/* Chosen intro background: photo 1 (team on the scaffold by the old brickwork). Version 2 kept as ?intro=2. */
.intro { background: var(--intro-tint), url("assets/intro-bg-1.jpg") center 42% / cover no-repeat, #181817; }

/* Plain thin charcoal band; intro photo shown at its full height on the right, blending into charcoal behind the text. */
.intro-band { padding: 0; height: clamp(12px, 1.4vw, 20px); background: #181817; border-bottom: 1px solid #ffffff12; }
.intro {
  background:
    linear-gradient(90deg, #181817 0%, #181817 38%, #181817c8 55%, #1818177a 72%, #18181747 100%),
    url("assets/intro-bg-1.jpg") right center / auto 100% no-repeat,
    #181817;
}
@media (max-width: 800px) {
  .intro { background: linear-gradient(#181817d6, #181817b3), url("assets/intro-bg-1.jpg") center top / cover no-repeat, #181817; }
}

/* Photo back behind the whole intro (text included), lighter tint; section taller so more of the photo's height shows. */
.intro {
  background: var(--intro-tint), url("assets/intro-bg-1.jpg") center 38% / cover no-repeat, #181817;
  min-height: min(100vh, 1000px);
  display: flex; align-items: center;
}
.intro > .wrap { flex: 1; }
@media (max-width: 800px) {
  .intro { background: linear-gradient(#181817cc, #181817a8), url("assets/intro-bg-1.jpg") center top / cover no-repeat, #181817; min-height: 0; }
}
.intro > .wrap { flex: 0 1 auto; width: min(100% - 2 * clamp(22px, 6.4vw, 116px), 1510px); margin-inline: auto; }

/* Deeper plain charcoal band between the slideshow and the intro; intro tint a touch darker. */
.intro-band { height: clamp(40px, 5vw, 76px); }
:root { --intro-tint: linear-gradient(90deg, #181817e6 0%, #181817cc 45%, #181817a3 100%); }

/* Two thin gold strips across the charcoal band, in the same gold as the "Keystone Building & Restoration" text. */
.intro-band {
  background:
    linear-gradient(#e7c46f, #e7c46f) left calc(50% - 7px) / 100% 2px no-repeat,
    linear-gradient(#e7c46f, #e7c46f) left calc(50% + 7px) / 100% 2px no-repeat,
    #181817;
}

/* Muted gold: strips moved to the top and bottom edges of the charcoal band; company name and its underline toned down to match. */
:root { --muted-gold: #b3a17a; }
.intro-band {
  background:
    linear-gradient(var(--muted-gold), var(--muted-gold)) left top / 100% 2px no-repeat,
    linear-gradient(var(--muted-gold), var(--muted-gold)) left bottom / 100% 2px no-repeat,
    #181817;
}
.intro .kicker { color: var(--muted-gold); }
.intro .kicker::after { background: var(--muted-gold); }

/* Top strip only on the charcoal band. */
.intro-band {
  background:
    linear-gradient(var(--muted-gold), var(--muted-gold)) left top / 100% 2px no-repeat,
    #181817;
}

/* Intro section about 30% taller. */
.intro { min-height: min(130vh, 1300px); }

/* Sit the intro text, award and book lower in the taller section. */
.intro > .wrap { position: relative; top: clamp(60px, 10vh, 130px); }
@media (max-width: 760px) { .intro > .wrap { top: 0; } }

/* Intro spread: text closer to the left edge, award and book pushed to the right; clearer type hierarchy. */
.intro > .wrap { width: min(100% - 2 * clamp(20px, 4vw, 72px), 1640px); }
.intro-content { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(38px, 6vw, 120px); }
.intro-aside { justify-self: end; width: min(100%, 470px); }
.intro h1 { font-size: clamp(2.1rem, 4.7vw, 5rem); line-height: 1.04; }
.intro .subhead { font-size: clamp(1rem, 1.55vw, 1.6rem); letter-spacing: .06em; }
.intro .copy { font-size: clamp(1rem, 1.42vw, 1.48rem); line-height: 1.5; letter-spacing: .015em; max-width: 46ch; }
.intro .copy span { display: inline; }
@media (max-width: 800px) {
  .intro-content { grid-template-columns: 1fr; }
  .intro-aside { justify-self: start; }
}

/* Heading on three lines: "and" on its own line between the two phrases. */
.intro h1 span { display: block; }
.intro h1 .h1-and { font-size: .55em; font-weight: 400; letter-spacing: .04em; margin-block: .12em .08em; }

/* "and" in the heading's own font and size, centred under the first line. */
.intro h1 { width: fit-content; max-width: 100%; }
.intro h1 .h1-and { font-size: 1em; font-weight: inherit; letter-spacing: inherit; margin-block: 0; text-align: center; }
@media (max-width: 800px) { .intro h1 .h1-and { text-align: left; } }

/* Heading on two left-aligned lines: "Award-winning conservation" / "and heritage specialists". */
.intro h1 { width: auto; }

/* Homepage "Range of services": muted-brass frame outside each card, matching the subpage frames. */
.home-page .service-grid { gap: clamp(20px, 2.2vw, 34px); padding: 7px; }
.home-page .service-card { overflow: visible; outline: 1px solid var(--muted-gold); outline-offset: 6px; transition: outline-offset .3s ease, outline-color .3s ease; }
.home-page .service-card > img, .home-page .service-card > .photo-pending { overflow: hidden; }
.home-page .service-card { clip-path: none; }
.home-page .service-card:hover { outline-offset: 3px; outline-color: #cdb98e; }
.home-page .service-card { overflow: hidden; outline-color: #a8936a; }
.home-page .service-card:hover { outline-color: #8a7552; }

/* Full-width site photo (vans and scaffolding) under Range of services: plain, thin brass line on top. */
.site-strip { border-top: 2px solid var(--muted-gold); background: #181817; line-height: 0; }
.site-strip img { display: block; width: 100%; height: clamp(320px, 52vw, 760px); object-fit: cover; object-position: center 55%; }

/* Intro: text further left, more space between the heading and the line below it. */
.intro > .wrap { width: min(100% - 2 * clamp(16px, 2.2vw, 40px), 1700px); }
.intro .subhead { margin-top: clamp(22px, 2.4vw, 40px); }
.intro-content { margin-top: clamp(38px, 3.4vw, 60px); }

/* Subcategory cards (e.g. Timber Frame Restoration examples) as the same square cards as "Range of services":
   same title font, white lettering, brass arrow and thin brass frame. Three across, then two centred. */
.sub-grid { grid-template-columns: repeat(6, 1fr); gap: clamp(20px, 2.2vw, 34px); padding: 7px; margin-bottom: clamp(40px, 5vw, 72px); }
.sub-grid .service-card, .sub-grid .service-card:nth-child(5) { grid-column: span 2; }
.sub-grid .service-card:nth-child(4) { grid-column: 2 / span 2; }
.sub-grid .service-card { overflow: hidden; outline: 1px solid #a8936a; outline-offset: 6px; transition: outline-offset .3s ease, outline-color .3s ease; }
.sub-grid .service-card:hover { outline-offset: 3px; outline-color: #c9b386; }
.sub-grid .service-card::after { background: var(--photo-edge-shade, none), linear-gradient(transparent 28%, #211c16df 88%); }
.sub-grid .service-card img { transition: transform .4s ease; }
.overlay-header .page-body .sub-grid a.service-card { color: #fff; }
@media (max-width: 800px) {
  .sub-grid { grid-template-columns: repeat(4, 1fr); }
  .sub-grid .service-card, .sub-grid .service-card:nth-child(4) { grid-column: span 2; }
  .sub-grid .service-card:last-child { grid-column: 2 / span 2; }
}

/* Timber Frame Restoration page: white background under the hero, like "Range of services" on the homepage. */
.overlay-header main:has(.timber-examples) { background: #fff; color: var(--ink); }
.overlay-header main:has(.timber-examples) .section-title,
.overlay-header main:has(.timber-examples) .page-body h2 { color: var(--ink); }
.overlay-header main:has(.timber-examples) .title-rule { background: #a8936a; }
.overlay-header main:has(.timber-examples) .more { background: #f6f1e9; color: var(--ink); outline-color: #a8936a; }
.overlay-header main:has(.timber-examples) .page-body a:not(.button):not(.service-card) { color: #6f5c35; }

/* Timber page: slim cream band listing other repairs, and the gallery button. */
.repairs-band { grid-column: 1 / -1; background: #f6f1e9; border-top: 1px solid #a8936a; border-bottom: 1px solid #a8936a; padding: clamp(16px, 1.8vw, 24px) clamp(18px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px clamp(14px, 2vw, 28px); text-align: center; color: var(--ink); }
.repairs-band .repairs-title { margin: 0; font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif; font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.12rem); letter-spacing: .02em; }
.repairs-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: clamp(.9rem, 1.1vw, 1.02rem); }
.repairs-band li { margin: 0; padding: 0; }
.repairs-band li + li::before { content: "·"; color: #a8936a; font-weight: 700; margin: 0 .7em; }
.gallery-action { margin: clamp(26px, 3vw, 40px) 0 clamp(40px, 5vw, 64px); }
.gallery-action .button { min-height: 48px; }

/* Timber photo gallery page: white, thumbnail grid that loads as you scroll, tap to enlarge. */
.overlay-header main:has(.photo-gallery-page) { background: #fff; color: var(--ink); }
.photo-gallery-page .gallery-note { text-align: center; color: #5b5349; margin: -6px 0 clamp(22px, 2.6vw, 34px); }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-bottom: clamp(30px, 4vw, 52px); }
.photo-gallery figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: #ece6dc; outline: 1px solid #a8936a; outline-offset: 4px; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.photo-gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .repairs-band ul { gap: 6px 16px; }
  .repairs-band li + li::before { content: none; }
}

/* Six squares with "Browse all photos" first: three across, two rows. */
.sub-grid .service-card:nth-child(4) { grid-column: span 2; }
@media (max-width: 800px) { .sub-grid .service-card:last-child { grid-column: span 2; } }

/* Sole plate page: larger photo viewer with visible arrows either side; starts on the Before photo. */
.example-split:has(.stepper) { grid-template-columns: minmax(0, 2.5fr) minmax(240px, 1fr); }
.gallery.js-stepper { display: block; position: relative; }
.gallery.js-stepper figure { display: none; margin: 0; }
.gallery.js-stepper figure.is-current { display: block; }
.gallery.js-stepper img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; cursor: zoom-in; }
.gallery.js-stepper figcaption { margin-top: 12px; font-weight: 600; }
.step-btn { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid #ffffffb3; background: #181817c7; color: #fff; font-size: 34px; line-height: 1; display: grid; place-items: center; padding: 0 0 4px; cursor: pointer; z-index: 2; transition: background .2s ease; }
.step-btn:hover, .step-btn:focus-visible { background: #181817; }
.step-prev { left: 14px; }
.step-next { right: 14px; }
.step-count { position: absolute; top: 14px; right: 14px; background: #181817c7; color: #fff; font-size: 13px; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; z-index: 2; }
@media (max-width: 860px) { .step-btn { width: 46px; height: 46px; font-size: 30px; } .step-prev { left: 8px; } .step-next { right: 8px; } }
@media (max-width: 860px) { .example-split:has(.stepper) { grid-template-columns: 1fr; } }

/* Timber gallery: big photo with arrows, thumbnail reel underneath. */
.reel-viewer { margin-bottom: clamp(30px, 4vw, 52px); }
.rv-stage { position: relative; background: #181817; aspect-ratio: 3 / 2; max-height: 78vh; width: 100%; outline: 1px solid #a8936a; outline-offset: 6px; }
.rv-main { width: 100%; height: 100%; object-fit: contain; display: block; }
.rv-stage .step-btn { top: 50%; }
.rv-reel-wrap { position: relative; margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.rv-reel { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; flex: 1; scrollbar-width: thin; }
.rv-thumb { flex: 0 0 auto; width: clamp(64px, 7vw, 96px); aspect-ratio: 1; padding: 0; border: 0; background: #ece6dc; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; scroll-snap-align: center; transition: opacity .2s ease, outline-color .2s ease; }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-thumb:hover { opacity: .85; }
.rv-thumb.is-current { opacity: 1; outline-color: #a8936a; }
.rv-spin { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #a8936a; background: #fff; color: var(--ink); font-size: 24px; line-height: 1; padding: 0 0 3px; cursor: pointer; }
.rv-spin:hover { background: #f6f1e9; }
@media (max-width: 700px) { .rv-stage { aspect-ratio: 4 / 5; } .rv-spin { display: none; } }
.rv-stage { max-height: 66vh; margin-inline: auto; }
@media (min-width: 701px) { .rv-stage { width: min(100%, calc(66vh * 1.5)); } }

/* Single larger photo in an extra section (e.g. Localised post repair): same frame shape as the flickable photos. */
.example-extra .example-split:not(.compact):not(:has(.stepper)) { grid-template-columns: minmax(0, 2.5fr) minmax(240px, 1fr); }
.example-extra .example-split:not(.compact):not(:has(.stepper)) .example-photos img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
@media (max-width: 860px) { .example-extra .example-split:not(.compact):not(:has(.stepper)) { grid-template-columns: 1fr; } }

/* Over working example: a bit wider than before (was 320px). */
.example-split.compact { grid-template-columns: minmax(0, 520px) minmax(250px, 1fr); }
@media (max-width: 860px) { .example-split.compact { grid-template-columns: 1fr; } }

/* Carpentry: 14 squares, three across; centre the last two. */
.carp-grid .service-card:nth-child(4) { grid-column: span 2; }
.carp-grid .service-card:nth-child(13) { grid-column: 2 / span 2; }
@media (max-width: 800px) {
  .carp-grid .service-card:nth-child(13), .carp-grid .service-card:last-child { grid-column: span 2; }
}

/* Job examples on a subcategory page (e.g. Kitchens): each job is its own block with its own flick-through. */
.jobs-page .job-example + .job-example { margin-top: clamp(44px, 5.5vw, 80px); padding-top: clamp(30px, 4vw, 52px); border-top: 1px solid #d8ccb4; }
.jobs-page .job-title { font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif; font-weight: 600; text-transform: none; letter-spacing: .01em; font-size: clamp(1.35rem, 2.2vw, 2rem); margin: 0 0 clamp(16px, 1.8vw, 24px); color: var(--ink); }
.project-more { margin: 14px 0 0; }
.project-more a { font-weight: 600; display: inline-block; padding: 8px 0; }
.jobs-page .gallery-action { margin-top: clamp(40px, 5vw, 64px); }

/* A job with a single confirmed photo: shown whole (no cropping, no arrows). */
.gallery.stepper.single figure { margin: 0; }
.gallery.stepper.single img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #181817; }
.gallery.stepper.single figcaption { margin-top: 12px; font-weight: 600; }
.gallery.stepper.single { display: block; }
.gallery.stepper.single img { aspect-ratio: 4 / 3; height: auto; max-height: none; cursor: zoom-in; }
/* One-photo galleries: no arrows, counter or reel. */
.rv-single .step-btn, .rv-single .rv-count, .rv-single .rv-reel-wrap { display: none; }

/* Adaptive photo frames: every gallery photo keeps its own proportions and is shown whole (no forced crops).
   The brass frame hugs the photo itself, portrait or landscape. */
.gallery.js-stepper figure, .gallery.stepper.single figure, .example-extra .example-split:not(.compact):not(:has(.stepper)) .example-photos figure { text-align: center; }
.gallery.js-stepper img,
.gallery.stepper.single img,
.example-extra .example-split:not(.compact):not(:has(.stepper)) .example-photos img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: min(78vh, 860px);
  aspect-ratio: auto; object-fit: contain; background: none; margin-inline: auto;
}
.gallery.js-stepper figcaption, .gallery.stepper.single figcaption { text-align: center; }
.rv-stage { aspect-ratio: auto; background: none; outline: none; max-height: none; width: 100%; display: flex; justify-content: center; align-items: center; min-height: 220px; }
.rv-main { width: auto; height: auto; max-width: 100%; max-height: min(72vh, 820px); outline: 1px solid #a8936a; outline-offset: 6px; }
@media (min-width: 701px) { .rv-stage { width: 100%; } }
@media (max-width: 700px) {
  .rv-stage { aspect-ratio: auto; }
  .gallery.js-stepper img, .gallery.stepper.single img { max-height: 72vh; }
  .rv-main { max-height: 66vh; }
}

/* Service index grids of any size: three across, any short last row centred; two across on phones. */
.sub-grid.auto-grid > .service-card { grid-column: span 2; }
.sub-grid.auto-grid.c3-2 > .service-card:nth-last-child(2) { grid-column: 2 / span 2; }
.sub-grid.auto-grid.c3-1 > .service-card:last-child { grid-column: 3 / span 2; }
@media (max-width: 800px) {
  .sub-grid.auto-grid > .service-card,
  .sub-grid.auto-grid.c3-2 > .service-card:nth-last-child(2),
  .sub-grid.auto-grid.c3-1 > .service-card:last-child { grid-column: span 2; }
  .sub-grid.auto-grid.odd > .service-card:last-child { grid-column: 2 / span 2; }
}
.jobs-note { text-align: center; margin: 10px auto 0; max-width: 46ch; }
/* Category pages with no confirmed jobs yet use the same stone background as the job pages. */
.overlay-header main:has(.jobs-page) { background: var(--stone); color: var(--ink); }
.overlay-header main:has(.jobs-page) .jobs-note { color: var(--ink); }

/* Smaller supporting photos beside a job's main slider (e.g. Lilac Cottage shelving). */
.job-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.job-aside figure { margin: 0; }
.job-aside img { display: block; width: 100%; aspect-ratio: auto; height: auto; max-height: 260px; object-fit: contain; cursor: zoom-in; outline: 1px solid #a8936a; outline-offset: 4px; background: none; }

/* Steady arrows: every flick-through keeps a fixed-height photo area, so the previous/next buttons stay put
   while each photo keeps its own proportions and brass frame (centred inside the area). */
.reel-viewer { --rv-box: min(72vh, 820px); }
.rv-stage { height: calc(var(--rv-box) + 14px); min-height: 0; }
.rv-main { max-height: var(--rv-box); }
.gallery.js-stepper { --step-box: min(70vh, 640px); }
.gallery.js-stepper figure.is-current { display: grid; grid-template-rows: calc(var(--step-box) + 12px) auto; }
.gallery.js-stepper figure.is-current > img { align-self: center; justify-self: center; max-height: var(--step-box); }
.gallery.js-stepper > .step-btn { top: calc((var(--step-box) + 12px) / 2); }
@media (max-width: 700px) {
  .reel-viewer { --rv-box: min(66vh, 120vw); }
  .gallery.js-stepper { --step-box: min(62vh, 115vw); }
}

/* "See this work by service" on project pages: one heading, the services as a row of small links. */
.project-services { margin: clamp(36px, 5vw, 60px) auto clamp(28px, 4vw, 44px); max-width: 900px; text-align: center; padding: clamp(22px, 3vw, 32px) 16px; border-top: 1px solid #d8ccb4; border-bottom: 1px solid #d8ccb4; }
.project-services .ps-title { font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin: 0 0 16px; color: var(--ink); }
.project-services .ps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.project-services .ps-list li { display: flex; align-items: center; }
.project-services .ps-list li + li::before { content: ''; width: 1px; height: 12px; background: var(--frame, #b3a385); margin: 0 14px; }
.project-services .ps-list a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #5d5446; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.project-services .ps-list a:hover, .project-services .ps-list a:focus-visible { color: var(--ink); border-bottom-color: var(--frame, #b3a385); }
@media (max-width: 600px) { .project-services .ps-list li + li::before { margin: 0 10px; } .project-services .ps-list a { font-size: 12px; letter-spacing: .08em; } }
/* Services as small outlined chips: wraps neatly on any width, readable on the light page. */
.project-services .ps-list { gap: 10px; }
.project-services .ps-list li + li::before { content: none; }
body .project-services .ps-list a, .overlay-header .project-services .ps-list a { display: inline-block; color: var(--ink); font-size: 12px; letter-spacing: .12em; padding: 8px 14px; border: 1px solid var(--frame, #b3a385); border-radius: 999px; background: #fffcf7; }
body .project-services .ps-list a:hover, body .project-services .ps-list a:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.project-services .ps-title { margin-bottom: 20px; }
.project-services .ps-list a { color: var(--ink) !important; padding: 6px 13px; font-size: 11.5px; }
.project-services .ps-list a:hover, .project-services .ps-list a:focus-visible { color: #fff !important; }

/* ===== Guides (formerly Knowledge) ===== */
:root { --slate: #262b30; --slate-2: #353b41; --serif: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif; }
.guides-page { padding-top: clamp(28px, 4vw, 48px); }
/* Featured carousel */
.feature-carousel { position: relative; background: #ece7df; margin-bottom: clamp(44px, 6vw, 72px); }
.feature-track { position: relative; }
.feature-slide { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: clamp(260px, 32vw, 380px); }
.feature-slide.is-current { display: grid; }
.feature-media { overflow: hidden; background: var(--line); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: clamp(26px, 4vw, 52px) clamp(56px, 6vw, 84px) clamp(48px, 5vw, 64px) clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.feature-tag { background: var(--slate); color: #f6efe2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; }
.feature-text h2 { font-family: var(--serif); text-transform: none; letter-spacing: .005em; font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.12; }
.feature-text p { color: #3d3833; max-width: 34em; }
.feature-text .button { margin-top: 6px; background: var(--slate); border-color: var(--slate); }
.feature-carousel .step-btn { top: 50%; width: 44px; height: 44px; font-size: 28px; border-radius: 4px; background: var(--slate); border-color: var(--slate); }
.feature-dots { position: absolute; left: 0; right: 0; bottom: -30px; display: flex; justify-content: center; gap: 10px; }
.feature-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: #c8c0b4; }
.feature-dot.is-current { background: var(--slate); }
@media (max-width: 760px) {
  .feature-slide.is-current { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 16 / 10; }
  .feature-text { padding: 24px 22px 30px; }
  .feature-carousel .step-btn { top: 28%; }
}
/* Guide cards */
.guides-list { scroll-margin-top: calc(var(--nav-height) + 20px); }
.guide-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 clamp(26px, 3vw, 38px); }
.guide-chip { border: 1px solid var(--frame, #b3a385); background: #fffcf7; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.guide-chip.is-active, .guide-chip:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.guide-card { display: flex; flex-direction: column; background: #ece7df; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #2a221a1f; }
.guide-card[hidden] { display: none; }
.guide-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-topic { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7a6a4c; }
.guide-card h3 { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: .005em; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; }
.guide-card p { font-size: 14.5px; color: #4a443d; }
.guide-read { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 13px; letter-spacing: .06em; }
/* Dark "More guides" strip with topic tiles */
.guides-more { background: var(--slate); color: #f2ece2; padding: clamp(34px, 4.5vw, 56px) 0; margin-top: clamp(48px, 6vw, 80px); scroll-margin-top: var(--nav-height); }
.guides-more-inner { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.guides-more-text { border-left: 2px solid var(--gold); padding-left: 22px; }
.guides-more-text h2 { font-family: var(--serif); text-transform: none; letter-spacing: .005em; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: #f6efe2; }
.guides-more-text p { margin-top: 10px; color: #d6cec2; font-size: 15px; }
.guides-all-link { display: inline-block; margin-top: 14px; color: #e3c98f; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-decoration: none; }
.guide-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.guide-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 18px 10px 14px; border: 1px solid #ffffff3d; border-radius: 4px; background: var(--slate-2); color: #f2ece2; text-decoration: none; min-height: 132px; transition: background .2s ease, border-color .2s ease; }
.guide-tile svg { width: 40px; height: 40px; color: #f2ece2; }
.guide-tile span { font-family: var(--serif); font-size: 15.5px; line-height: 1.2; }
.guide-tile small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #bfb5a6; }
.guide-tile:hover, .guide-tile.is-active { background: #454c53; border-color: var(--gold); }
@media (max-width: 980px) { .guides-more-inner { grid-template-columns: 1fr; } .guide-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Single guide page */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(30px, 5vw, 72px); padding-top: clamp(30px, 4vw, 52px); align-items: start; }
.guide-article { max-width: 46rem; }
.guide-article > .guide-topic { margin-bottom: 14px; }
.guide-article h2 { font-family: var(--serif); text-transform: none; letter-spacing: .005em; font-weight: 400; font-size: clamp(1.35rem, 2.1vw, 1.8rem); margin: 34px 0 12px; }
.guide-article p { font-size: 16.5px; line-height: 1.75; }
.guide-figure { margin: 26px 0; }
.guide-figure img { width: 100%; height: auto; outline: 1px solid var(--frame, #b3a385); outline-offset: 5px; }
.guide-figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.guide-see { margin-top: 16px; }
.guide-see a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--frame, #b3a385); color: #6f5c35; }
.guide-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.guide-sources h2 { margin-top: 0; font-size: 1.15rem; }
.guide-sources ul { margin: 0; padding-left: 1.1rem; font-size: 14.5px; }
.guide-sources li + li { margin-top: 6px; }
.guide-cta { margin-top: 34px; padding: 22px 24px; background: #ece7df; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; }
.guide-cta p { margin: 0; }
.guide-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.guide-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.guide-pager a:hover { border-color: var(--gold); }
.guide-pager .guide-next { text-align: right; }
.guide-pager small { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #7a6a4c; }
.guide-pager span { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.guide-nav { position: sticky; top: calc(var(--nav-height) + 16px); background: #f6f2ec; padding: 20px 20px 10px; border-top: 2px solid var(--gold); }
.guide-nav-title { margin-bottom: 12px; }
.guide-nav-title a { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.guide-nav-group { margin-bottom: 16px; }
.guide-nav-group h3 { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f5c35; margin-bottom: 6px; font-weight: 600; }
.guide-nav-group h3 svg { width: 18px; height: 18px; }
.guide-nav-group ul { list-style: none; margin: 0; padding: 0; }
.guide-nav-group li a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; text-decoration: none; color: #3d3833; }
.guide-nav-group li a:hover { color: var(--ink); border-left-color: var(--line); }
.guide-nav-group li a[aria-current="page"] { border-left-color: var(--gold); color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } .guide-nav { position: static; } .guide-pager { grid-template-columns: 1fr; } .guide-pager .guide-next { text-align: left; } }
/* Homepage Guides section */
.guides-home { background: var(--stone-light); }
.guides-home-intro { text-align: center; max-width: 40em; margin: -14px auto 30px; color: #4a443d; }
.home-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .home-guides { grid-template-columns: 1fr; } }
.guide-card .guide-topic, .guide-card p { color: inherit; }
.overlay-header .page-body a.guide-card, .overlay-header .page-body .guide-pager a, .overlay-header .page-body .guide-nav a { color: var(--ink); }
.overlay-header .page-body .guide-see a { color: #6f5c35; }
.overlay-header .guides-more a.guide-tile { color: #f2ece2; }
.overlay-header .guides-more a.guides-all-link { color: #e3c98f; }
/* Guides on charcoal subpages: keep text dark on the light panels. */
.feature-text, .feature-text h2, .guide-card, .guide-card h3, .guide-nav, .guide-cta, .guide-cta p { color: var(--ink); }
.overlay-header .feature-text h2, .overlay-header .guide-card h3 { color: var(--ink); }
.overlay-header .guide-chip.is-active, .overlay-header .guide-chip:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.overlay-header .feature-dot { background: #6d665e; }
.overlay-header .feature-dot.is-current { background: var(--gold); }
a.guide-card, a.guide-card p, a.guide-card h3, a.guide-card .guide-read, .guide-pager a, .guide-nav-group li a, .guide-nav-title a { color: var(--ink) !important; }
a.guide-card .guide-topic, .guide-pager small { color: #7a6a4c !important; }
.guide-nav-group li a { color: #3d3833 !important; }
a.guide-tile { color: #f2ece2 !important; }
a.guides-all-link { color: #e3c98f !important; }
.guide-see a { color: #6f5c35 !important; }
.overlay-header .guide-chip:not(.is-active):hover { background: #fffcf7; color: var(--ink); border-color: var(--gold); }
.overlay-header .guide-see a { color: #e3c98f !important; border-bottom-color: #e3c98f80; }
.overlay-header .guide-pager a { border-color: #ffffff2e; background: #2f2f2f; color: #f2ece2 !important; }
.overlay-header .guide-pager small { color: #cdb57f !important; }
.overlay-header .guide-figure figcaption { color: #cfc6b9; }
.overlay-header .guide-sources { border-top-color: #ffffff2e; }

/* ===== Guides v2: services-style topics, left topic tiles, photos side by side above centred titles ===== */
.guide-layout { display: grid; grid-template-columns: clamp(170px, 17vw, 220px) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); padding-top: clamp(30px, 4vw, 52px); align-items: start; }
.guide-side { position: sticky; top: calc(var(--nav-height) + 16px); display: flex; flex-direction: column; gap: 12px; }
.guide-side-all { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #e3c98f !important; }
.guide-side .guide-tiles { display: flex; flex-direction: column; gap: 10px; }
.guide-side .guide-tile { min-height: 0; padding: 14px 10px 12px; }
.guide-side .guide-tile svg { width: 32px; height: 32px; }
.guide-side .guide-tile[aria-current="page"] { background: #454c53; border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.guide-main { min-width: 0; }
.guide-block { max-width: 1000px; margin: 0 auto; scroll-margin-top: calc(var(--nav-height) + 20px); }
.guide-block + .guide-block { margin-top: clamp(48px, 6vw, 84px); padding-top: clamp(34px, 4.5vw, 58px); border-top: 1px solid #ffffff26; }
.guide-block > p, .guide-half > p, .guide-block > .guide-subtitle, .guide-sources, .guide-see { max-width: 46rem; margin-left: auto; margin-right: auto; }
.guide-block p { font-size: 16.5px; line-height: 1.75; }
.guide-title { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; margin: clamp(22px, 2.6vw, 32px) auto clamp(16px, 2vw, 24px); font-family: var(--serif); text-transform: none; letter-spacing: .005em; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.2; color: #f6efe2; }
.guide-title .title-rule { flex: 0 1 70px; height: 1px; background: var(--gold); }
h3.guide-title { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.guide-subtitle { font-family: var(--serif); text-transform: none; letter-spacing: .005em; font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-top: 28px; margin-bottom: 10px; color: #f6efe2; }
.guide-half { margin-top: clamp(40px, 5vw, 64px); }
.guide-photos { position: relative; }
.gp-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px; }
.gp-track::-webkit-scrollbar { display: none; }
.gp-track figure { flex: 0 0 calc(50% - 7px); margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; outline: 1px solid var(--frame, #9e8d70); outline-offset: 4px; background: #2d2a26; }
.gp-track img { width: 100%; height: 100%; object-fit: cover; }
.guide-photos.is-single .gp-track { justify-content: center; }
.guide-photos.is-single .gp-track figure { flex-basis: min(100%, 640px); }
.guide-photos .step-btn { top: 50%; width: 44px; height: 44px; font-size: 28px; }
.guide-photos:not(.is-flick) .step-btn { display: none; }
@media (max-width: 700px) { .gp-track figure { flex-basis: 88%; } .guide-photos[data-count="2"] .step-btn { display: grid; } }
.guide-sources { margin-top: 30px; padding-top: 16px; border-top: 1px solid #ffffff26; }
.guide-sources h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #cdb57f; font-weight: 600; }
.guide-sources ul { margin: 0; padding-left: 1.1rem; font-size: 14.5px; }
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-side { position: static; }
  .guide-side .guide-tiles { flex-direction: row; overflow-x: auto; }
  .guide-side .guide-tile { flex: 0 0 132px; }
}
/* Homepage Guides: the same stone background as the Projects section. */
.home-page .guides-home { background: var(--stone); }
.home-page .guides-home .guide-card { background: #f2efeb; }
/* Guides sit on the same stone background as the service example pages: dark text throughout. */
.guide-layout, .guide-layout p, .guide-layout li { color: var(--ink); }
.overlay-header .guide-layout .guide-title, .overlay-header .guide-layout .guide-subtitle { color: var(--ink); }
.guide-title .title-rule { background: #6f5c35; }
.guide-side-all { color: #4e3f22 !important; }
.overlay-header .guide-layout .guide-sources a, .overlay-header .guide-layout .guide-see a { color: #4e3f22 !important; border-bottom-color: #4e3f2266; }
.guide-sources, .guide-block + .guide-block { border-top-color: #00000026; }
.guide-sources h4 { color: #5d4a26; }
.gp-track figure { background: #a99f94; }
@media (max-width: 860px) { .guide-layout { grid-template-columns: clamp(150px, 22vw, 200px) minmax(0, 1fr); } .guide-side { position: sticky; } .guide-side .guide-tiles { flex-direction: column; overflow: visible; } .guide-side .guide-tile { flex: none; } }
@media (max-width: 640px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-side { position: static; }
  .guide-side .guide-tiles { flex-direction: row; overflow-x: auto; }
  .guide-side .guide-tile { flex: 0 0 132px; }
}
.guide-side, .guide-main { min-width: 0; }
@media (max-width: 640px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .guide-title .title-rule { flex-basis: 28px; } }
/* Guides on white (James, 15 Nov): index with a row of topic icon tiles; topic and guide pages on white. */
.overlay-header main:has(.guide-layout), .overlay-header main:has(.guides-index) { background: #fff; color: var(--ink); }
.overlay-header main:has(.guides-index) .section-title { color: var(--ink); }
.guides-index { padding-bottom: 10px; }
.guide-tiles-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0 auto clamp(44px, 6vw, 80px); max-width: 1200px; }
.guide-tiles-row .guide-tile { min-height: 150px; }
@media (max-width: 1000px) { .guide-tiles-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guide-tiles-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-block + .guide-block { border-top-color: #d8ccb4; }
.gp-track figure { background: #ece6dc; }

/* James, 15 Nov: intro background is a three-photo collage: the team on the scaffold large on the right (people kept in
   frame), the team by the van and the vans outside the scaffolded house stacked on the left, all under the same tint. */
.intro { position: relative; isolation: isolate; background: #181817; }
.intro-photos { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 46fr 54fr; grid-template-rows: 1fr 1fr; gap: 4px; overflow: hidden; }
.intro-photos img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.intro-photos .ip-a { grid-column: 1; grid-row: 1; object-position: 45% 55%; }
.intro-photos .ip-b { grid-column: 1; grid-row: 2; object-position: 50% 55%; }
.intro-photos .ip-big { grid-column: 2; grid-row: 1 / 3; object-position: 70% 45%; }
.intro-photos::after { content: ""; position: absolute; inset: 0; background: var(--intro-tint); }
@media (max-width: 800px) { .intro-photos::after { background: linear-gradient(#181817cc, #181817a8); } }
.intro-photos .ip-a { object-position: 50% 55%; }
.intro-photos .ip-b { object-position: 45% 55%; }

/* James, 15 Nov: intro kicker, heading, subheading and paragraphs about 30% smaller (with readable minimums on phones). */
.intro .kicker { font-size: clamp(.78rem, 1.09vw, 1.1rem); }
.intro h1 { font-size: clamp(1.6rem, 3.3vw, 3.5rem); }
.intro .subhead { font-size: clamp(.9rem, 1.09vw, 1.12rem); }
.intro .copy { font-size: clamp(.95rem, 1vw, 1.04rem); }

/* James, 15 Nov: "Award-winning" in the same sandy gold as the Keystone line; the award, Building Conservation logo and
   directory book framed like the service cards. */
.intro h1 .h1-gold { color: var(--muted-gold); font-style: normal; }
.intro .award-badge, .intro .recognition-logo img, .intro .recognition-book img {
  outline: 1px solid #a8936a; outline-offset: 6px; transition: outline-offset .3s ease, outline-color .3s ease;
}
.intro .award-recognition:hover .award-badge, .intro .recognition-logo:hover img, .intro .recognition-book:hover img { outline-offset: 3px; outline-color: #c9b386; }

/* James, 15 Nov (voice list):
   - no frame on the award (logo and book keep theirs);
   - charcoal band between the slideshow and the intro about 30% thinner;
   - "Keystone Building & Restoration" and its short rule in white;
   - intro heading in the "Range of services" title font (Avenir, medium weight, capitals, spaced);
   - sandy gold line between the Guides photo mosaic and the content below. */
.intro .award-badge { outline: none; }
.intro-band { height: clamp(28px, 3.5vw, 53px); }
.intro .kicker { color: #fff; }
.intro .kicker::after { background: #fff; }
.intro h1 { font-family: Avenir, "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(1.35rem, 2.6vw, 2.8rem); line-height: 1.18; }
main:has(.guide-layout) .page-hero, main:has(.guides-index) .page-hero { border-bottom: 3px solid var(--muted-gold); }

/* James, 15 Nov: intro heading sits higher, with more space between it and the text, award and book below. */
.intro-content { margin-top: clamp(70px, 8vw, 160px); }
.intro > .wrap { top: clamp(10px, 3vh, 40px); }
@media (max-width: 760px) { .intro-content { margin-top: 44px; } .intro > .wrap { top: 0; } }

/* James, 15 Nov: About Keystone and Listed Building Consent text in the intro; homepage guide cards framed in gold. */
.intro .copy { max-width: 62ch; }
.intro .copy p + p { margin-top: clamp(12px, 1.1vw, 18px); }
.intro .copy .copy-label { color: var(--muted-gold); text-transform: uppercase; letter-spacing: .16em; font-size: clamp(.72rem, .85vw, .86rem); font-weight: 500; margin: 0 0 clamp(10px, 1vw, 16px); }
.intro .copy .copy-label-next { margin-top: clamp(34px, 3.2vw, 54px); }
.intro .copy .copy-title { font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-weight: 500; text-transform: none; letter-spacing: .01em; font-size: clamp(1.15rem, 1.5vw, 1.55rem); line-height: 1.25; color: #fff; margin: 0 0 clamp(12px, 1.1vw, 18px); }
.intro .copy .copy-title + p { margin-top: 0; }
.home-guides .guide-card { outline: 1px solid #a8936a; outline-offset: 6px; transition: outline-offset .3s ease, outline-color .3s ease, transform .2s ease, box-shadow .2s ease; }
.home-guides .guide-card:hover { outline-offset: 3px; outline-color: #8a7552; }

/* James, 15 Nov: "About Keystone" and the consent heading share one style in stone gold; the officers label removed;
   intro paragraphs moved up; homepage Guides heading larger; homepage guide cards in the review-card stone colour. */
.intro .copy .copy-title { color: var(--muted-gold); }
.intro .copy .copy-title-next { margin-top: clamp(30px, 2.8vw, 46px); }
.intro-content { margin-top: clamp(36px, 4vw, 80px); }
.home-page .guides-home .section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.home-guides .guide-card { background: #f6f1e9; }

/* James, 15 Nov (voice):
   - intro text starts higher in the section; the award and book sit lower, level with the bottom of the text;
   - "Range of services" heading with the gold rules either side, like "What our clients say";
   - homepage Guides split: guide cards and topic tiles on the left, a gold dividing line, then the consultation,
     damp survey and site visit options (from the Consultation, Damp Survey and Site Visit email template) on the right. */
.intro { align-items: flex-start; padding-top: clamp(60px, 7vw, 120px); }
.intro > .wrap { top: 0; }
.intro-content { align-items: end; }
.intro-aside { align-self: end; }
#services .section-title { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px); }
#services .section-title::after { display: none; }
.guides-split { display: grid; grid-template-columns: minmax(0, 2.1fr) 1px minmax(0, 1fr); gap: clamp(28px, 3.6vw, 64px); align-items: stretch; width: min(100% - 2 * clamp(20px, 4vw, 72px), 1640px); }
.guides-split-rule { background: var(--muted-gold); }
.guides-split .home-guides { margin-bottom: clamp(20px, 2vw, 30px); }
.home-guide-topics { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 clamp(26px, 2.6vw, 40px); max-width: none; }
.home-guide-topics .guide-tile { min-height: 104px; padding: 14px 6px 12px; }
.home-guide-topics .guide-tile span { font-size: 14px; }
.guides-split-help .help-option { padding: clamp(14px, 1.4vw, 20px) 0; border-top: 1px solid #8a7a6033; }
.guides-split-help .help-option:last-of-type { border-bottom: 1px solid #8a7a6033; }
.guides-split-help h3 { font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: clamp(1.05rem, 1.3vw, 1.25rem); margin: 0 0 6px; color: var(--ink); text-transform: none; letter-spacing: .01em; }
.guides-split-help p { color: #3f3a34; line-height: 1.55; margin: 0; }
.guides-split-help .help-note { margin-top: clamp(16px, 1.6vw, 24px); }
.guides-split-help .guides-home-intro { margin: -14px 0 18px; text-align: center; }
@media (max-width: 1100px) {
  .guides-split { grid-template-columns: minmax(0, 1fr); }
  .guides-split-rule { height: 1px; }
  .home-guide-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-page .guides-split-help .section-title { font-size: clamp(1.25rem, 1.9vw, 1.95rem); white-space: nowrap; margin-top: clamp(6px, .8vw, 12px); }

/* James, 15 Nov: the six guide topic tiles more rounded, on the homepage and every Guides page. */
.guide-tile { border-radius: 14px; }
.project-gallery .gallery-note { text-align: center; margin: calc(-1 * clamp(10px, 1.4vw, 20px)) auto clamp(18px, 2vw, 28px); color: inherit; opacity: .8; font-size: clamp(.95rem, 1.1vw, 1.08rem); }

/* James, 15 Nov: with Structural Solutions there are eight services, shown four on top and four below, all lined up. */
.service-grid:not(.sub-grid):has(> .service-card:nth-child(8)) > .service-card:nth-child(5) { grid-column: span 2; }

/* James, 15 Nov: homepage slideshow 25% taller; award-winning section about a quarter shorter (text stays on the left,
   same size): less empty space, tighter spacing and a slightly wider text column. */
.hero { height: 125vh; height: 125svh; }
.intro { min-height: 0; padding-top: clamp(44px, 4.4vw, 70px); padding-bottom: clamp(40px, 4vw, 60px); }
.intro-content { margin-top: clamp(24px, 2.4vw, 36px); }
.intro .copy { max-width: 74ch; }
.intro .copy p + p { margin-top: clamp(8px, .8vw, 12px); }
.intro .copy .copy-title { margin-bottom: clamp(8px, .8vw, 12px); }
.intro .copy .copy-title-next { margin-top: clamp(20px, 1.8vw, 28px); }
.intro { padding-top: clamp(32px, 3vw, 50px); padding-bottom: clamp(32px, 3vw, 46px); }
.intro .kicker { margin-bottom: clamp(10px, 1.1vw, 18px); }
@media (min-width: 900px) { .intro-photos { grid-template-columns: var(--intro-split, 46%) 1fr; } }

/* James, 15 Nov: award-winning section about 15% taller, the extra going into the spacing between the writing. */
.intro { padding-top: clamp(40px, 4vw, 66px); padding-bottom: clamp(40px, 4vw, 62px); }
.intro-content { margin-top: clamp(34px, 3.8vw, 58px); }
.intro .copy p + p { margin-top: clamp(14px, 1.3vw, 20px); }
.intro .copy .copy-title { margin-bottom: clamp(14px, 1.3vw, 20px); }
.intro .copy .copy-title-next { margin-top: clamp(34px, 3.2vw, 50px); }

/* James, 15 Nov: homepage Guides section spaced like "Find us here" (shorter top/bottom and tighter gaps). */
.home-page .guides-home { padding-top: clamp(34px, 3.3vw, 47px); padding-bottom: clamp(40px, 3.9vw, 56px); }
.home-page .guides-home .section-title { margin-bottom: clamp(18px, 1.9vw, 28px); }
.home-page .guides-home .guides-home-intro { margin: -6px auto 22px; }
.home-page .guides-home .centred-action { margin-top: 20px; }
.home-page .home-guide-topics { margin-bottom: 18px; }
.home-page .guides-split-help .help-option { padding: 12px 0; }
.home-page .guides-split-help .guides-home-intro { margin: -6px 0 12px; }
.home-page .guides-split-help .help-note { margin-top: 14px; }
.home-page .guides-split-help p { line-height: 1.5; }

/* Guides handoff (15 Nov): photo captions, section anchors and the Common questions block on the Guides page. */
.guide-photos .guide-caption { font-size: .9rem; line-height: 1.4; color: #5a5249; margin-top: 8px; text-align: center; }
.guide-block [id] { scroll-margin-top: 110px; }
.common-questions { max-width: 46rem; margin: 0 auto clamp(44px, 5vw, 72px); }
.common-questions .section-title { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px); margin-bottom: 14px; }
.common-questions .section-title::after { display: none; }
.common-questions .cq-lead { text-align: center; margin: 0 auto 18px; color: #4a443d; }
.common-questions .cq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #b3a17a66; }
.common-questions .cq-list li { border-bottom: 1px solid #b3a17a66; }
.common-questions .cq-list a { display: block; padding: 14px 4px; color: #4e3f22; text-decoration: underline; text-decoration-color: #b3a17a; text-underline-offset: 4px; font-size: clamp(1rem, 1.2vw, 1.1rem); }
.common-questions .cq-list a:hover { color: #6f5c35; text-decoration-color: currentColor; }
.common-questions .cq-list a:focus-visible, .guide-block p a:focus-visible { outline: 2px solid #6f5c35; outline-offset: 3px; }
.guide-block p a { color: #6f5c35; text-underline-offset: 3px; }
.common-questions .section-title { white-space: nowrap; }
.common-questions .section-title .title-rule { flex: 0 1 90px; }
.overlay-header main .common-questions .cq-list a, main .common-questions .cq-list a { color: #3f3a34; }
.overlay-header main .common-questions .cq-list a:hover { color: #6f5c35; }
.guide-photos figure.has-caption { aspect-ratio: auto; height: auto; overflow: visible; }
.guide-photos figure.has-caption img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.overlay-header .page-body .common-questions .cq-list a:not(.button) { color: #3f3a34; text-decoration-color: #b3a17a; }
.overlay-header .page-body .common-questions .cq-list a:not(.button):hover { color: #6f5c35; }
.overlay-header .page-body .guide-block p a:not(.button) { color: #6f5c35; text-decoration: underline; text-underline-offset: 3px; }
.common-questions { scroll-margin-top: 120px; }
#common-questions .cq-list a { color: #3f3a34; }
#common-questions .cq-list a:hover { color: #6f5c35; }
.overlay-header .page-body .guide-block p a:not(.button):not(.example-card):not(.service-card):not(.project-card) { color: #6f5c35; }
/* Trustatrader 11-year member badge beside the award and book (15 Nov). */
.recognition-tat { display: block; transition: transform .2s ease; }
.recognition-tat:hover { transform: translateY(-3px); }
.recognition-tat img { height: clamp(52px, 5.6vw, 92px); width: auto; display: block; filter: drop-shadow(0 4px 10px #0005); }
.intro .recognition { grid-template-columns: auto auto auto; justify-content: start; }
.intro .recognition-link { grid-column: 1; margin-top: 0; }
.intro .recognition-tat { align-self: end; }
.intro .recognition { grid-template-columns: auto auto; }
.intro .recognition-tat { grid-column: 2; grid-row: 2; align-self: center; justify-self: start; }
.intro .recognition-link { grid-column: 1; grid-row: 2; align-self: center; }
.intro .recognition-tat img { height: clamp(58px, 5.4vw, 88px); }
/* Find us here: replace the old fixed arrow with drawn arrows to the book and the Trustatrader badge; award sits a little lower (15 Nov). */
.intro .recognition { position: relative; }
.intro .recognition-link::before, .intro .recognition-link::after { display: none; }
.intro .rec-arrows { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.intro .rec-arrows path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.intro .recognition-link { justify-self: start; }
.intro .recognition { margin-top: clamp(8px, 1.2vw, 22px); row-gap: clamp(20px, 2.2vw, 34px); }
.intro .recognition-tat { margin-left: clamp(26px, 3vw, 40px); }

/* James, 16 Nov: on phones the eight services sit two by two in four even rows (the old rule centred a lone last card). */
@media (max-width: 720px) {
  .service-grid:not(.sub-grid):has(> .service-card:nth-child(8)) > .service-card:last-child { grid-column: span 2; }
}

/* James, 17 Nov (later): every page under a service (service, sub-service, job and gallery pages) has a white background. */
.service-section.overlay-header main:has(.page-body) { background: #fff; color: var(--ink); }
.service-section.overlay-header main:has(.page-body) .section-title,
.service-section.overlay-header main:has(.page-body) .page-body h2,
.service-section.overlay-header main:has(.page-body) .page-body > h3,
.service-section.overlay-header main:has(.page-body) .job-title,
.service-section.overlay-header main:has(.page-body) .project-card h3,
.service-section.overlay-header main:has(.page-body) .ps-title { color: var(--ink); }
.service-section.overlay-header main:has(.page-body) .title-rule { background: #a8936a; }
.service-section.overlay-header main:has(.page-body) .page-body a:not(.button):not(.example-card):not(.service-card):not(.project-card):not(.more) { color: #6f5c35; }
.service-section.overlay-header main:has(.page-body) .jobs-note,
.service-section.overlay-header main:has(.page-body) .project-card .location,
.service-section.overlay-header main:has(.page-body) .gallery figcaption,
.service-section.overlay-header main:has(.page-body) .post-gallery figcaption,
.service-section.overlay-header main:has(.page-body) .example-photos figcaption { color: #3f3a33; }
.service-section.overlay-header main:has(.page-body) .notice,
.service-section.overlay-header main:has(.page-body) .example-panel { background: #f6f1e9; color: var(--ink); }
.service-section.overlay-header main:has(.page-body) .example-panel .cover-note { color: var(--muted); }

/* James, 17 Nov: sub-service cover photos are not dimmed. No edge vignette; only a short shade under the title.
   build.py also evens out each cover's brightness with a per-photo filter. */
.service-section .sub-grid .service-card::after { background: linear-gradient(transparent 28%, #211c16df 88%); }  /* same darker fade under the title as the Range of services cards, without the edge vignette */
.service-section .sub-grid .service-card h3 { text-shadow: 0 1px 3px #000c, 0 0 12px #0008; }

/* James, 17 Nov: St Nicolas Church, Hail Weston — show the top of the tower (pyramid roof and belfry) rather than the middle,
   on its project card, service cards and page header. Same photo and shape; only the visible part moves up. */
img[src*="assets/project-hail-weston-church.jpg"] { object-position: 50% 30%; }

/* James, 17 Nov: Safari did not stretch the About Us background photos to the full section height (grid rows inside an
   absolutely positioned box), leaving them short. Place the three photos directly instead; same layout, crops and tint. */
.intro-photos { display: block; }
.intro-photos img { position: absolute; height: auto; min-height: 0; }
.intro-photos .ip-a { left: 0; top: 0; width: calc((100% - 4px) * .46); height: calc(50% - 2px); }
.intro-photos .ip-b { left: 0; bottom: 0; width: calc((100% - 4px) * .46); height: calc(50% - 2px); }
.intro-photos .ip-big { right: 0; top: 0; width: calc((100% - 4px) * .54); height: 100%; }
@media (min-width: 900px) {
  .intro-photos .ip-a, .intro-photos .ip-b { width: var(--intro-split, 46%); }
  .intro-photos .ip-big { width: calc(100% - var(--intro-split, 46%) - 4px); }
}
