@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #faf9f6;
  --sand: #f1eee8;
  --ink: #22231f;
  --muted: #615f58;
  --line: #d8d4cb;
  --clay: #875632;
  --tan: #e5c9a8;
  --dark: #262720;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(64px, 9vw, 124px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 Manrope, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--clay); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .42em; letter-spacing: -.055em; line-height: 1.08; }
h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.3vw, 4rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; }
h1 em, h2 em { color: var(--accent, var(--clay)); font-family: Georgia, serif; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; background: var(--paper); }
.skip-link:not(:focus) { clip-path: inset(50%); }
.eyebrow { display: inline-block; margin-bottom: 1rem; color: var(--accent, var(--clay)); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lead, .muted { color: var(--muted); }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8em 1.45em;
  border: 1px solid transparent;
  color: inherit;
  font: 800 .8rem/1.5 Manrope, system-ui, sans-serif;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:not(:disabled):hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--clay); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: white; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--tan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Shared navigation */
.topbar { background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .055em; }
.topbar-inner { display: flex; justify-content: space-between; gap: 10px; padding-block: 8px; }
.topbar a { color: var(--tan); text-decoration: none; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 24px #22231f12; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 81px; gap: 20px; }
.brand img { width: clamp(140px, 14vw, 195px); }
#primary-nav, .nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-list, .sub-list { margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding-block: .65em; color: var(--ink); font-size: .84rem; font-weight: 800; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--clay); text-decoration: underline; }
.has-sub { position: relative; }
.has-sub > a::after { content: "⌄" / ""; margin-left: .4em; }
.sub-list { position: absolute; top: 100%; left: -16px; min-width: 205px; padding: 8px 16px; background: var(--paper); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list { opacity: 1; visibility: visible; transform: none; }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 10px; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s; }
.menu-toggle span { top: 20px; }
.menu-toggle span::before { left: 0; top: -6px; }
.menu-toggle span::after { left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Full-width images and editorial sections */
.hero, .page-hero {
  --accent: var(--tan);
  --muted: #f6efe6;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  background: var(--dark);
  color: white;
  padding-block: clamp(64px, 8vw, 110px);
}
.hero { min-height: clamp(560px, 76svh, 780px); }
.page-hero { min-height: clamp(330px, 43vw, 500px); }
.hero > img, .page-hero > img, .hero::before, .page-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > img, .page-hero > img { z-index: -2; object-fit: cover; }
.hero::before, .page-hero::before {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #171713a6, #17171326), linear-gradient(0deg, #171713b8, #17171326 85%);
}
.hero h1 { font-size: clamp(3rem, 7.6vw, 7rem); max-width: 18ch; line-height: .99; }
.page-hero h1 { max-width: 21ch; }
.hero .lead, .page-hero p { max-width: 56ch; color: var(--muted); }
.hero .eyebrow::before { display: inline-block; width: 30px; margin-right: 12px; border-top: 1px solid; vertical-align: middle; content: ""; }
.hero .btn-ghost { color: white; }
.hero .btn-ghost:hover { background: white; color: var(--ink); }
.breadcrumb { font-size: .8rem; }
.breadcrumb a { color: inherit; }
.ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem clamp(18px, 3vw, 48px); margin: 0; padding: 16px var(--gutter); list-style: none; background: var(--clay); color: white; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ticker li::before { content: "✦" / ""; margin-right: .9em; color: var(--tan); }
.section { padding-block: var(--section-space); }
.section-sand { background: var(--sand); }
.section-dark { --accent: var(--tan); --muted: #d1cec3; --line: #54554b; background: var(--dark); color: var(--paper); }
.section-dark p { color: var(--muted); }
.section-head { max-width: 48rem; margin-bottom: clamp(25px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 104px); align-items: center; }
.split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.commercial-split { display: grid; grid-template-columns: 1fr 1fr; }
.commercial-split > img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.commercial-split > div { align-self: center; padding: clamp(32px, 6vw, 92px) var(--gutter); max-width: 44rem; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; list-style: none; padding: 18px 0 0; margin: 1.6rem 0; border-top: 1px solid var(--line); font-size: .88rem; }
.chips li::before { content: "↗" / ""; margin-right: .55em; color: var(--accent, var(--clay)); }

/* Services, projects and process */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2.2vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.card > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: scale .55s ease; }
.card:hover > img, .card:focus-within > img { scale: 1.035; }
.card-body { position: relative; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; background: inherit; }
.card-body p { color: var(--muted); font-size: .9rem; }
.card-link { margin-top: auto; font-weight: 800; font-size: .84rem; }
.card-link::after { content: " ↗" / ""; display: inline-block; padding-left: .35em; transition: transform .2s; }
.card-link:hover::after { transform: translate(2px, -2px); }
.project-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
.project-grid .card { background: var(--dark); color: var(--paper); border: 0; }
.project-grid .card:nth-child(even) { margin-top: clamp(20px, 5vw, 76px); }
.project-more { margin: 28px 0 0; }
.project-grid .card p { color: #dfdcd2; }
.project-grid .card-link, .project-grid .eyebrow { color: var(--tan); }

.trust-section { padding-top: 0; }
.trust-section .wrap { padding-top: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.feature { border-top: 1px solid var(--line); padding: 20px 0 0; }
.feature img { width: 38px; margin-bottom: 16px; }
.trust-section .feature img { width: 48px; height: 48px; object-fit: contain; object-position: left center; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding: 22px 20px 20px 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 24px; color: var(--clay); font: italic 1.25rem Georgia, serif; }
.steps strong { display: block; margin-bottom: .35em; font-size: 1.1rem; }
.steps span { display: block; color: var(--muted); font-size: .9rem; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 24px; margin-bottom: .55em; }
.tick-list li::before { position: absolute; left: 0; content: "✓" / ""; color: var(--accent, var(--clay)); }
.def-list { margin: 0; }
.def-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.def-list dt { font-weight: 800; }
.def-list dd { margin: .25em 0 0; color: var(--muted); }
.faq, .article { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p, .faq details ul { margin: .8em 0 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: clamp(14px, 2vw, 28px); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figure { margin: 0; }
.gallery figcaption, .article .meta { color: var(--muted); font-size: .9rem; margin-top: .5em; }

.quote-band { --accent: #f5deca; background: var(--clay); color: white; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; }
.cta-band h2 { max-width: 19ch; }
.cta-band p { margin-bottom: 0; }
.error-page { text-align: center; }
.error-page .btn-row { justify-content: center; }

/* Enquiries */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.enquiry-form, .info-card { min-width: 0; padding: clamp(20px, 4vw, 44px); background: var(--sand); }
.contact-grid h2 { font-size: clamp(1.45rem, 3vw, 2.5rem); margin-bottom: .75em; }
.enquiry-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form label { display: block; margin-bottom: 4px; font-weight: 800; font-size: .86rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: .65em .75em; border: 1px solid #92877a; border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form input:focus-visible, .enquiry-form select:focus-visible, .enquiry-form textarea:focus-visible { outline-color: var(--clay); outline-offset: 1px; }
.enquiry-form button { margin-top: 16px; cursor: pointer; }
.enquiry-form button:disabled { opacity: .52; cursor: not-allowed; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { margin: 12px 0 0; font-weight: 800; }
.info-card { margin-bottom: 18px; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours td { padding: .5em 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }

/* Footer and mobile call link */
.site-footer { background: var(--ink); color: #d1cec3; padding: 64px 0 24px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .8fr; gap: 32px; }
.footer-logo { width: 185px; padding: 10px; margin-bottom: 16px; background: var(--paper); }
.site-footer h2 { color: var(--tan); font-size: .73rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a[href^="mailto:"] { white-space: nowrap; }
.site-footer a:hover, .topbar a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid #54554b; margin-top: 36px; padding-top: 18px; font-size: .78rem; }
.mobile-call { display: none; }

@media (max-width: 1020px) {
  .grid-4, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 80px; }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: block; }
  #primary-nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 110px); overflow: auto; padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  #primary-nav.is-open { display: block; }
  .nav-list { display: block; margin-bottom: 12px; }
  .nav-list a { padding-block: 9px; }
  .sub-list { position: static; transform: none; border: 0; border-left: 1px solid var(--line); visibility: visible; opacity: 1; padding-block: 0; }
  .has-sub > a::after { content: none; }
  .commercial-split > img { min-height: 360px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner span:first-child { display: none; }
  .hero { min-height: 545px; }
  .hero::before, .page-hero::before { background: linear-gradient(0deg, #171713dd, #17171345); }
  .grid-2, .grid-3, .grid-4, .split, .commercial-split, .cta-band, .contact-grid aside { grid-template-columns: 1fr; }
  .project-grid .card:nth-child(even) { margin-top: 0; }
  .commercial-split > img { min-height: 0; aspect-ratio: 4 / 3; }
  .commercial-split > div { padding-block: 46px; }
  .cta-band .btn { justify-self: start; }
  .enquiry-form fieldset { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-call {
    display: flex;
    position: fixed;
    z-index: 9;
    bottom: calc(10px + env(safe-area-inset-bottom));
    inset-inline: 12px;
    justify-content: center;
    padding: 12px;
    background: var(--ink);
    border: 1px solid #82745f;
    color: white;
    box-shadow: 0 5px 22px #22231f33;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
  }
  html { scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .enquiry-form { margin-inline: calc(10px - var(--gutter)); padding-inline: 0; background: transparent; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-head, .card, .gallery figure {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .card:focus-within { animation: none; }
    @keyframes reveal {
      from { opacity: .65; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:not(:disabled):hover, .card-link:hover::after { transform: none; }
  .card:hover > img, .card:focus-within > img { scale: 1; }
}
