/* ============================================================
   Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --gold: #A8924A;
  --gold-dark: #8e7a3c;
  --dark: #2C2C2C;
  --off-white: #F5F4F2;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --radius: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
  --transition: 0.3s ease;

  --max-width: 1200px;
  --section-padding: 80px 24px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   Typography Scale
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

small { font-size: 0.85rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary,
.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(168, 146, 74, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

/* Pages without a hero image keep a solid nav at all scroll positions,
   otherwise the white nav links sit on a light background. */
.site-nav.scrolled,
.site-nav.nav-solid {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

/* Sized to match the HW logo (48px) rather than the default button padding,
   which made it the heaviest element in the bar. */
.nav-cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 0.85rem;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  transition: color var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold);
}

.nav-mobile .btn-primary {
  font-size: 1rem;
}

/* ============================================================
   Image Placeholders
   ============================================================ */
.img-placeholder {
  background: #d0ccc4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: inherit;
}

.img-placeholder span {
  font-family: monospace;
  font-size: 0.85rem;
  color: #7a7672;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.fade-up,
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
  transform: translateY(0);
}

.fade-up.is-visible,
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   Hero (shared)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Full-bleed sections must not take the global section padding — .hero-content
     supplies its own, and inheriting both stacked 160px onto the hero and
     pushed the enquiry form below the fold. */
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .img-placeholder {
  min-height: 100vh;
  border-radius: 0;
}

/* ── Hero slideshow ──────────────────────────────────────────
   Slides are stacked and cross-faded by toggling .is-active from JS.
   Only the active slide is painted, so the fade stays cheap. */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A slow Ken Burns drift stops the stills feeling static. */
.hero-slide.is-active img {
  animation: hero-drift 9s ease-out forwards;
}

@keyframes hero-drift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active img { animation: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Symmetric block padding, so the hero content is optically centred in the
   viewport rather than sitting low. The top value also has to clear the fixed
   nav (~96px), which overlays the hero transparently. */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 108px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* The enquiry form is the tallest thing in the hero and decides whether the
   whole block fits above the fold. Compact it here only — the contact page
   runs the same markup with room to breathe, so it keeps the roomier scale. */
.hero-form-card .form-group {
  margin-bottom: 11px;
}

.hero-form-card .form-group textarea {
  min-height: 76px;
}

.hero-form-card .form-group input,
.hero-form-card .form-group select,
.hero-form-card .form-group textarea {
  padding: 10px 14px;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text .hero-subtext {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
}

/* Hero word reveal animation */
.hero-text .section-label {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.6s ease forwards 0.2s;
}

.hero-text h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.6s ease forwards 0.4s;
}

.hero-text .hero-subtext {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.6s ease forwards 0.6s;
}

.hero-text .btn-primary {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.6s ease forwards 0.8s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Enquiry Form Card (Hero)
   ============================================================ */
.hero-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.7s ease forwards 0.5s;
}

.hero-form-card h3 {
  margin-bottom: 14px;
  color: var(--text);
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid #e0ddd8;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 146, 74, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

/* ============================================================
   Section Shared
   ============================================================ */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.025rem;
  margin-top: 16px;
}

/* ============================================================
   About Section
   ============================================================ */
.about-section {
  background: var(--off-white);
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-label { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); }

.about-image {
  border-radius: 12px;
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow);
}

/* ── Real photos ─────────────────────────────────────────────
   Every <picture> fills its container and crops rather than
   distorts. width/height on the <img> keep the aspect ratio
   reserved during load, so nothing shifts. */
.about-image picture,
.card-image picture,
.cta-bg picture,
.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-image img,
.card-image img,
.cta-bg img,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item img {
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   Cards / Services Grid
   ============================================================ */
.services-section {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  height: 220px;
  overflow: hidden;
  border-radius: 0;
}

.card-image .img-placeholder {
  min-height: 220px;
  border-radius: 0;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.card-link:hover {
  color: var(--gold-dark);
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.cta-banner .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner .cta-bg .img-placeholder {
  min-height: 100%;
  border-radius: 0;
}

.cta-banner .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-banner .cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.025rem;
}

/* Gold strip CTA (service pages) */
.cta-strip {
  background: var(--gold);
  padding: 48px 24px;
  text-align: center;
}

.cta-strip h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 22px;
}

.cta-strip .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}

.cta-strip .btn-ghost:hover {
  background: var(--white);
  color: var(--gold);
}

/* ============================================================
   Page Hero Banner (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0; /* see .hero — .hero-content brings its own padding */
}

.page-hero .hero-bg .img-placeholder {
  min-height: 60vh;
  border-radius: 0;
}

.hero-bg picture,
.hero-bg > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-content {
  display: block;
  padding: 100px 24px 60px;
}

.page-hero .hero-text h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero .hero-text .hero-subtext {
  max-width: 560px;
}

/* ============================================================
   Intro Section (inner pages)
   ============================================================ */
.intro-section {
  background: var(--off-white);
}

.intro-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 { margin-bottom: 20px; }
.intro-content p { color: var(--text-muted); font-size: 1.025rem; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 40px;
  border: 1.5px solid #d4d0c8;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.gallery-item.hidden {
  display: none;
}

/* Pages whose photos are predominantly portrait — the bathrooms, where almost
   every shot is taken in a small room — use taller tiles so the grid crops
   far less of each image. */
.gallery-grid--tall .gallery-item {
  aspect-ratio: 3 / 4;
}

.gallery-item .img-placeholder {
  min-height: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform var(--transition);
}

.gallery-item:hover .img-placeholder {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168, 146, 74, 0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(168, 146, 74, 0.35);
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-header {
  background: var(--off-white);
  padding: 120px 24px 60px;
  text-align: center;
}

.contact-header h1 { margin-top: 8px; }

.contact-section {
  background: var(--white);
}

.contact-grid {
  /* These two were inline styles on the element, which made them impossible
     to override at the mobile breakpoint without !important. */
  padding-top: 64px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-details h3 {
  margin-bottom: 28px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item .contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--text);
  font-size: 1rem;
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid #ece9e3;
}

.contact-form-card h3 {
  margin-bottom: 24px;
}

/* ============================================================
   Privacy Policy Page
   ============================================================ */
.policy-page {
  padding: 120px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.policy-page h1 { margin-bottom: 32px; }
.policy-page h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.3rem; }
.policy-page p { color: var(--text-muted); margin-bottom: 16px; }
.policy-page a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 32px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-left p,
.footer-left a,
.footer-left small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-left a {
  color: var(--gold);
  transition: opacity var(--transition);
}

.footer-left a:hover { opacity: 0.8; }

.footer-left small {
  font-style: italic;
  font-size: 0.775rem;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 20px 60px;
  }

  .hero-form-card {
    padding: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    height: 280px;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .page-hero {
    height: auto;
    min-height: 300px;
  }

  .page-hero .hero-content {
    padding: 100px 20px 48px;
  }
}

/* ============================================================
   Responsive — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-content {
    gap: 36px;
  }

  .about-grid {
    gap: 40px;
  }
}

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

/* ============================================================
   Utilities
   ============================================================ */
/* Referenced by the gallery headings. Without this the "…Gallery" heading
   rendered as visible text and collided with the filter buttons on mobile. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Service Page Content — features, process, why-choose, areas
   ============================================================ */
.features-section {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature {
  background: var(--off-white);
  border-radius: 10px;
  padding: 32px;
  border-left: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature p {
  color: var(--text-muted);
  margin: 0;
}

.process-section {
  background: var(--off-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}

.why-item p {
  color: var(--text-muted);
  margin: 0;
}

.areas-band {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  padding: 48px 24px;
}

.areas-band h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.areas-band p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.areas-band strong {
  color: var(--gold);
  font-weight: 500;
}

/* Visible gallery heading — the service pages show their work under a real
   heading rather than a hidden one. */
.gallery-heading {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 26px;
  }

  /* Breathing room between the gallery heading and the filter pills — they
     were nearly touching once the heading wrapped. */
  .gallery-heading {
    margin-bottom: 28px;
  }

  .gallery-filters {
    margin-top: 8px;
    margin-bottom: 28px;
  }
}

/* On phones a two-column grid left each tile around 180px wide — too small to
   read the joinery detail that sells the work. One column per row instead. */
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Service Page — styles grid, inline CTA, FAQ
   ============================================================ */
.styles-section {
  background: var(--off-white);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.style-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.style-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.style-card p {
  color: var(--text-muted);
  margin: 0;
}

.style-card .style-meta {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* A softer mid-page prompt, so the visitor isn't waiting for the gold strip
   at the very bottom to act. */
.inline-cta {
  background: var(--dark);
  padding: 56px 24px;
  text-align: center;
}

.inline-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
}

.inline-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 24px;
}

.inline-cta .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-section {
  background: var(--off-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.gallery-heading p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 14px auto 0;
}

@media (max-width: 768px) {
  .styles-grid {
    grid-template-columns: 1fr;
  }

  .style-card {
    padding: 26px;
  }

  .faq-item summary {
    padding: 18px 48px 18px 20px;
    font-size: 1rem;
  }

  .faq-item .faq-answer {
    padding: 0 20px 20px;
  }
}

/* ============================================================
   Enquiry Confirmation Banner
   ============================================================ */
.form-success {
  background: var(--gold);
  color: var(--white);
  padding: 90px 24px 18px; /* clears the fixed nav */
}

.form-success-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-success p {
  margin: 0;
  flex: 1;
}

.form-success a {
  text-decoration: underline;
}

.form-success-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.85;
}

.form-success-close:hover,
.form-success-close:focus-visible {
  opacity: 1;
}

/* With the banner showing, the hero no longer starts at the top of the
   viewport, so it must not also demand a full screen of height. */
.form-success:not([hidden]) ~ .hero {
  min-height: calc(100vh - 120px);
}

/* The nav is transparent over the hero, which would put the gold logo on the
   gold banner and white links on gold — both unreadable. Force it solid for
   as long as the banner is on screen. */
body.has-banner .site-nav {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   Mobile Layout (<= 768px)
   Kept last in the file so it wins over the earlier breakpoints.
   ============================================================ */
@media (max-width: 768px) {

  /* ── Reclaim horizontal space ─────────────────────────────
     Sections and .container each carried 24px of side padding,
     so 96px of a 412px screen went on gutters and the grids
     were squeezed. One set of gutters is enough. */
  section {
    padding: 56px 16px;
  }

  .container {
    padding: 0;
  }

  /* Height is set globally to match the logo; on a phone the label
     can afford to sit a little tighter still. */
  .nav-cta {
    padding: 0 18px;
    font-size: 0.8rem;
  }

  /* ── Contact page spacing ─────────────────────────────────
     Section padding and the grid's own padding stacked to a
     120px gap between the hero and the first heading. */
  .contact-section {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .contact-grid {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* ── Card copy: lead sentence only ────────────────────────
     Full text stays in the DOM for wider screens; only the
     continuation is dropped, so cards keep a usable shape. */
  .more {
    display: none;
  }

  /* ── Two cards across ─────────────────────────────────────
     One per row left each card taller than the screen. Paired
     with the condensed copy, four now fit in a single view. */
  .cards-grid,
  .feature-grid,
  .styles-grid,
  .process-grid,
  .why-grid,
  .gallery-grid,
  .gallery-grid--tall {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature,
  .style-card,
  .process-step {
    padding: 18px 16px;
  }

  .feature h3,
  .style-card h3,
  .process-step h3,
  .why-item h3,
  .card-body h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .feature p,
  .style-card p,
  .process-step p,
  .why-item p,
  .card-body p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .process-num {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .style-card .style-meta {
    font-size: 0.7rem;
    margin-top: 10px;
  }

  .card-body {
    padding: 16px;
  }

  .card-image,
  .card-image .img-placeholder {
    height: 140px;
    min-height: 140px;
  }

  .why-item h3 {
    padding-top: 12px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* ── Hero: image band, then the form beneath ──────────────
     A full-height hero containing the whole enquiry form left
     the background image barely visible. This mirrors the
     inner-page heroes: a shallow image with the headline over
     it, and the form as its own block below. */
  /* Scoped to .hero throughout. The inner-page banners are
     .page-hero and reuse these same child class names, so bare
     selectors here also restyled them — which pushed their
     headings to the bottom of the banner. */
  .hero {
    display: block;
    min-height: 0;
  }

  .hero > .hero-bg,
  .hero > .hero-overlay {
    height: 60vh;
    min-height: 340px;
    bottom: auto;
  }

  .hero > .hero-content {
    display: block;
    padding: 0;
    gap: 0;
  }

  .hero > .hero-content .hero-text {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 20px 28px;
  }

  .hero .hero-form-card {
    margin: 28px 20px 44px;
  }

  /* One still image rather than a slideshow — the cross-fade
     was loading four extra full-width photos over mobile data
     for an effect only briefly visible. */
  .hero-slide:not(:first-child) {
    display: none;
  }

  .hero-slide img {
    animation: none;
  }
}

/* Below ~380px two columns of body copy get uncomfortably narrow. */
@media (max-width: 380px) {
  .cards-grid,
  .feature-grid,
  .styles-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}
