:root {
  --black: #0a0a0a;
  --char: #111111;
  --panel: #171717;
  --ink: #f4efd8;
  --muted: #9c9788;
  --line: #2a2a2a;
  --yellow: #f5c400;
  --yellow-2: #ffd84d;
  --yellow-ink: #161200;
  --wa: #1f9b4c;
  --max: 1180px;
  --wide: 1360px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", sans-serif;
  --header-h: 7.4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, .wordmark-name, .wordmark-trade, .stat-n, .svc-num {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--yellow); color: var(--yellow-ink); padding: 0.5rem 0.9rem;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 2.4rem, var(--wide));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.rail {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: var(--yellow); color: var(--yellow-ink);
  padding: 0.35rem 1.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rail a { text-decoration: none; }
.rail a:hover { text-decoration: underline; }
.rail-meta, .rail-phones { display: flex; gap: 0.6rem; align-items: center; margin: 0; flex-wrap: wrap; }
.rail-email { text-transform: none; letter-spacing: 0.02em; }
.rail-dot { width: 5px; height: 5px; background: var(--yellow-ink); border-radius: 50%; }
.mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 1.4rem;
}
.wordmark { text-decoration: none; display: grid; line-height: 0.82; }
.wordmark-kicker {
  font-family: var(--text); font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 0.15rem;
}
.wordmark-name {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem); color: var(--yellow);
}
.wordmark-trade {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--ink);
}
.main-nav ul {
  display: flex; justify-content: center; gap: 0.15rem 1.35rem; flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600; color: var(--muted);
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--yellow); border-bottom-color: var(--yellow);
}
.mast-actions { display: flex; gap: 0.5rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  text-decoration: none; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.78rem;
  padding: 0.85rem 1.15rem; border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-call { background: var(--yellow); color: var(--yellow-ink); }
.btn-call:hover { background: var(--yellow-2); }
.btn-wa { background: transparent; color: var(--ink); border-color: #2e6b42; }
.btn-wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-ghost { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn-ghost:hover { background: var(--yellow); color: var(--yellow-ink); }
.btn-lg { padding: 1rem 1.4rem; font-size: 0.86rem; }
.btn:focus-visible, .main-nav a:focus-visible, .tile:focus-visible, .svc:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; background: var(--panel);
  border: 1px solid var(--line); cursor: pointer; padding: 0.55rem;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--yellow); margin: 5px 0;
}

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--black);
}
.hero-copy {
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.4rem, 4vw, 4rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(245,196,0,0.07) 0 12px, transparent 12px) 0 0 / 28px 28px,
    var(--black);
}
.kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  margin: 0 0 1.1rem;
  max-width: 12ch;
}
.hero-lead {
  max-width: 38ch; color: var(--muted); font-size: 1.12rem; margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }
.hero-media {
  position: relative; overflow: hidden; min-height: 420px; height: 100%;
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.04);
  transition: transform 1.2s ease;
}
.hero:hover .hero-media img { transform: scale(1.08); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, transparent 22%),
              linear-gradient(0deg, rgba(10,10,10,0.35), transparent 40%);
  pointer-events: none;
}
.hero-cap {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  background: var(--yellow); color: var(--yellow-ink);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; padding: 0.45rem 0.7rem;
}

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--yellow); color: var(--yellow-ink);
}
.trust article {
  padding: 1.4rem 1.5rem 1.6rem;
  border-right: 1px solid rgba(22,18,0,0.18);
}
.trust article:last-child { border-right: 0; }
.stat-n {
  display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.3rem;
}
.stat-l { font-size: 0.88rem; font-weight: 600; }

/* Sections */
.section { padding: clamp(3.2rem, 7vw, 6.5rem) 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 3rem; align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.section h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); margin: 0; }
.section-intro { color: var(--muted); margin: 0; max-width: 48ch; }

/* Services teaser */
.tease-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.7rem;
}
.tile {
  position: relative; overflow: hidden; display: block; text-decoration: none;
  min-height: 220px; background: var(--panel);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; min-height: 220px;
  transform: scale(1.03); transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(0.9);
}
.tile:hover img, .tile:focus-visible img {
  transform: scale(1.1); filter: saturate(1.05);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.82));
  pointer-events: none;
}
.tile > span {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 1.35rem;
}
.tile-lg { grid-row: 1 / span 2; min-height: 460px; }
.tile-lg img { min-height: 460px; }
.tile-lg > span { font-size: 2rem; }
.tile:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* About */
.about {
  background: var(--char);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem 3.5rem; align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.6s ease;
}
.about-photo:hover img { transform: scale(1.03); }
.about-photo figcaption {
  position: absolute; left: -0.6rem; bottom: 1.2rem;
  background: var(--yellow); color: var(--yellow-ink);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; padding: 0.5rem 0.75rem;
}
.about-copy h2 { margin: 0 0 1rem; }
.facts { margin: 1.4rem 0 1.8rem; display: grid; gap: 0.9rem; }
.facts li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 0.85rem;
}
.facts strong {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--yellow); font-size: 0.95rem;
}
.facts span { color: var(--muted); font-size: 0.98rem; }

/* Services */
.svc-list { display: grid; gap: 0; }
.svc {
  display: grid; grid-template-columns: 5.5rem 1fr 1.15fr;
  gap: 1.2rem 1.8rem; align-items: center;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-num { color: var(--yellow); font-size: 1.6rem; }
.svc h3 { margin: 0 0 0.35rem; font-size: 1.55rem; }
.svc p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.svc-media {
  overflow: hidden; height: 280px;
  outline: 1px solid transparent; outline-offset: 0;
  transition: outline-color 0.25s;
}
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 0.55s ease;
  filter: saturate(0.88);
}
.svc:hover .svc-media, .svc:focus-visible .svc-media {
  outline-color: var(--yellow);
}
.svc:hover img, .svc:focus-visible img {
  transform: scale(1.08); filter: saturate(1);
}

/* Portfolio */
.portfolio { background: var(--char); border-block: 1px solid var(--line); }
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  grid-auto-rows: 220px;
  gap: 0.65rem;
}
.shot {
  position: relative; overflow: hidden; margin: 0;
}
.shot:nth-child(1) { grid-row: span 2; }
.shot:nth-child(4) { grid-column: 2 / span 2; }
.shot:nth-child(7) { grid-row: span 2; }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.03); transition: transform 0.6s ease, filter 0.6s;
  filter: saturate(0.9);
}
.shot:hover img { transform: scale(1.1); filter: saturate(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(10,10,10,0.88));
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
}

/* Reviews */
.quotes {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.8rem; align-items: stretch;
}
.quote {
  background: var(--panel); padding: 1.6rem 1.5rem 1.8rem;
  border-top: 4px solid var(--yellow);
}
.quote:nth-child(2) { background: var(--yellow); color: var(--yellow-ink); padding-top: 2.2rem; }
.quote:nth-child(2) p { color: var(--yellow-ink); }
.quote p {
  font-size: 1.12rem; margin: 0 0 1rem; color: var(--ink);
}
.quote cite {
  font-style: normal; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.quote:nth-child(2) cite { color: var(--yellow-ink); }

/* CTA band */
.band {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.band-bg {
  position: absolute; inset: 0;
}
.band-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.1); }
.band-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.72) 55%, rgba(10,10,10,0.4));
}
.band-inner { position: relative; z-index: 1; max-width: 40rem; }
.band h2 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.band p { color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--panel); padding: 1.8rem 1.6rem;
  border-left: 6px solid var(--yellow);
}
.contact-card h2 { margin: 0 0 0.8rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { color: var(--muted); font-weight: 500; padding-right: 1.2rem; white-space: nowrap; }
.pair { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.6rem; }
.map-frame {
  display: flex; flex-direction: column;
  min-height: 420px; border: 1px solid var(--line); overflow: hidden; background: var(--panel);
}
.map-frame iframe { width: 100%; flex: 1; min-height: 420px; border: 0; filter: grayscale(0.35) contrast(1.05); }
.map-caption {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 0; padding: 0.9rem 1.1rem;
  background: #121212;
  border-top: 2px solid var(--yellow);
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.map-caption strong {
  display: block; color: var(--yellow); font-size: 0.65rem;
  letter-spacing: 0.14em; margin-bottom: 0.2rem;
}

/* Footer */
.site-footer {
  background: #070707; border-top: 1px solid var(--line);
  padding: 3rem 0 6.5rem;
}
.footer-grid {
  width: min(100% - 2.4rem, var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 2.4rem;
}
.wordmark-foot .wordmark-name { font-size: 1.8rem; display: block; }
.wordmark-foot .wordmark-trade { font-size: 1.2rem; display: block; color: var(--ink); }
.footer-brand p { color: var(--muted); max-width: 36ch; }
.footer-area { color: var(--ink) !important; font-weight: 600; }
.footer-col h2 { font-size: 0.95rem; margin: 0 0 0.8rem; color: var(--yellow); }
.footer-col a { text-decoration: none; color: var(--muted); }
.footer-col a:hover { color: var(--yellow); }
.footer-col li { margin-bottom: 0.4rem; }
.footer-base {
  width: min(100% - 2.4rem, var(--max)); margin: 2rem auto 0;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}

.dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  grid-template-columns: 1fr 1fr;
}
.dock a {
  text-align: center; padding: 0.95rem; text-decoration: none;
  padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem;
  min-height: 44px;
}
.dock-call { background: var(--yellow); color: var(--yellow-ink); }
.dock-wa { background: var(--wa); color: #fff; }

/* Legal */
.legal { background: var(--char); padding: 5rem 0 4rem; }
.legal-wrap { width: min(100% - 2.4rem, 760px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.6rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; color: var(--yellow); }
.legal p, .legal li { color: #d8d2c0; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.35rem; }
.legal a { color: var(--yellow); }
.updated { color: var(--muted); font-size: 0.9rem; }

.page-privacy .site-footer { padding-bottom: 3rem; }

#home, #about, #services, #portfolio, #reviews, #contact,
#extensions, #loft, #kitchens, #bathrooms, #renovation,
#newbuilds, #sheds, #summerhouses, #roofing, #general {
  scroll-margin-top: calc(var(--header-h, 7.4rem) + 0.4rem);
}

/* Responsive */
@media (max-width: 980px) {
  .mast { grid-template-columns: 1fr auto; }
  .main-nav {
    display: none; grid-column: 1 / -1;
    background: var(--panel); padding: 0.8rem 0.2rem 1.1rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.2rem; }
  .main-nav a { display: flex; align-items: center; padding: 0.75rem 0.4rem; min-height: 44px; }
  .nav-toggle { display: inline-block; }
  .mast-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 280px; order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--black), transparent 50%); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust article:nth-child(2) { border-right: 0; }
  .trust article:nth-child(-n+2) { border-bottom: 1px solid rgba(22,18,0,0.18); }
  .section-head, .about-grid, .contact-grid, .quotes { grid-template-columns: 1fr; }
  .tease-grid { grid-template-columns: 1fr 1fr; }
  .tile-lg { grid-row: auto; min-height: 280px; }
  .svc { grid-template-columns: 3.2rem 1fr; }
  .svc-media { grid-column: 1 / -1; height: 220px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .shot:nth-child(1), .shot:nth-child(7) { grid-row: auto; }
  .shot:nth-child(4) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dock { display: grid; }
  .site-footer,
  .page-privacy .site-footer { padding-bottom: 6.5rem; }
}
@media (max-width: 640px) {
  .rail { flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.45rem 1rem; }
  .rail-meta, .rail-phones { flex-wrap: wrap; }
  .mast { padding: 0.65rem 1rem; }
  .wordmark-name { font-size: 1.45rem; }
  .tease-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .trust article:nth-child(odd) { border-right: 1px solid rgba(22,18,0,0.18); }
  .trust article:nth-child(2) { border-right: 0; }
  .facts li { grid-template-columns: 1fr; gap: 0.2rem; }
  .hero-copy { padding: 2rem 1.1rem 2.4rem; }
  .wrap, .wrap-wide { width: min(100% - 1.8rem, var(--max)); }
  .hours-table th { white-space: normal; }
}

.img-hover { overflow: hidden; }
.img-hover img { transition: transform 0.55s ease; }
.img-hover:hover img { transform: scale(1.06); }
