@font-face {
  font-family: Inter;
  src: url('assets/fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcfcfd;
  --silver: #f2f3f5;
  --ink: #1c1e21;
  --secondary: #50555d;
  --line: #d7dadf;
  --focus: #3a5a7d;
  --font: -apple-system, BlinkMacSystemFont, Inter, 'Segoe UI', sans-serif;
  --inset: clamp(20px, 5.4vw, 88px);
  --section-space: clamp(64px, 8.4vw, 134px);
  --radius: clamp(14px, 1.5vw, 24px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; width: 100%; }
figure, p, h1, h2 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.wrap {
  width: min(calc(100% - 2 * var(--inset)), 1264px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 4;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  background: white;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #d7dadf;
  background: rgb(250 250 252 / 94%);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark small {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.4em;
}

.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 46px); }

.primary-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}

.primary-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.primary-nav .nav-contact {
  min-height: 36px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.primary-nav .nav-contact:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.hero {
  background: var(--silver);
  text-align: center;
}

.hero-copy { padding-block: clamp(48px, 7vw, 102px); }

h1, h2 {
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 7vw, 104px); }
h1 span { white-space: nowrap; }
h2 { font-size: clamp(37px, 5vw, 74px); }

.hero-description {
  max-width: 46ch;
  margin: clamp(16px, 2.2vw, 27px) auto 0;
  color: var(--secondary);
  font-size: clamp(16px, 1.68vw, 24px);
  line-height: 1.45;
  text-wrap: balance;
}

.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: clamp(20px, 2.5vw, 34px);
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ink);
  color: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 200ms ease;
  cursor: pointer;
}

.button-link:hover { background: #3a3e46; }

.hero-media img { object-position: center 58%; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
}

.section-grid, .process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(34px, 7vw, 115px);
}

.approach {
  --gallery-background: #252725;
  padding-block: clamp(26px, 5vw, 80px) clamp(44px, 6.2vw, 94px);
  background: var(--gallery-background);
  color: #fff;
}

.approach-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4.3vw, 64px);
}

.approach-detail { max-width: 660px; }

.approach-detail p, .contact-detail > p {
  color: var(--secondary);
  font-size: clamp(16px, 1.43vw, 20px);
  line-height: 1.62;
}

.approach-detail p { color: #dedfd9; text-wrap: pretty; }
.approach-detail p + p { margin-top: 13px; }

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.approach .text-link { border-bottom: 1px solid #888b83; }
.approach .text-link:focus-visible { outline-color: #fff; }

.text-link span { transition: transform 200ms ease; }
.text-link:hover span { transform: translate(2px, 2px); }

.approach-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  height: clamp(470px, 48vw, 760px);
  isolation: isolate;
}

.frame {
  display: block;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--radius);
  background: #d8dadc;
}

.frame img { height: 100%; object-fit: cover; }
.frame.hero-media { border-radius: 0; }
.hero-media { height: clamp(390px, 83svh, 980px); }

.collage-lead {
  grid-area: 1 / 1 / 12 / 10;
  position: relative;
  background: #474b42;
  --zoom-end: 1.16;
}

.collage-lead img { object-position: 55% center; transform-origin: 50% 57%; }

.collage-lead::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(12 14 12 / 87%), rgb(12 14 12 / 48%) 28%, transparent 62%);
  content: '';
}

.collage-caption {
  position: absolute;
  z-index: 1;
  right: 30%;
  bottom: clamp(26px, 4vw, 58px);
  left: clamp(24px, 4vw, 58px);
  text-shadow: 0 2px 18px rgb(0 0 0 / 32%);
}

.collage-caption .eyebrow { margin-bottom: 13px; color: #fff; }
.collage-caption h2 { max-width: 12ch; font-size: clamp(38px, 5.7vw, 82px); }

.collage-exterior {
  grid-area: 2 / 9 / 8 / 13;
  z-index: 1;
  box-shadow: 0 0 0 clamp(3px, 0.42vw, 7px) var(--gallery-background);
}

.collage-exterior img { object-position: 56% center; }

.collage-detail {
  grid-area: 7 / 8 / 13 / 11;
  z-index: 2;
  box-shadow: 0 0 0 clamp(3px, 0.42vw, 7px) var(--gallery-background);
  --zoom-end: 1.19;
}

.collage-detail img { object-position: 64% center; transform-origin: 64% center; }

.process { padding-block: var(--section-space); background: var(--silver); }

.process-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.process h2 { max-width: 12ch; }
.process-steps { align-self: center; }

.process-steps details { border-top: 1px solid var(--line); }
.process-steps details:last-child { border-bottom: 1px solid var(--line); }

.process-steps summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.process-steps summary::-webkit-details-marker { display: none; }

.process-steps summary::after {
  flex: 0 0 12px;
  height: 12px;
  background: linear-gradient(var(--secondary), var(--secondary)) center / 12px 1px no-repeat,
    linear-gradient(var(--secondary), var(--secondary)) center / 1px 12px no-repeat;
  content: '';
}

.process-steps details[open] summary::after { background-size: 12px 1px, 0 0; }
.process-steps summary:hover { color: var(--secondary); }
.process-steps p { max-width: 51ch; padding: 0 18px 16px 2px; color: var(--secondary); font-size: 15px; line-height: 1.6; }

.services { padding-block: var(--section-space); }
.services h2 { margin-bottom: clamp(24px, 4vw, 58px); }

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 28px);
  isolation: isolate;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(380px, 36vw, 520px);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 44px);
  background: #30302c;
  color: #fff;
}

.service-image, .service-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-card::after {
  background: linear-gradient(0deg, rgb(12 14 12 / 92%), rgb(12 14 12 / 72%) 29%, rgb(12 14 12 / 28%) 56%, transparent 83%);
  content: '';
}

.service-card .service-image { background: #30302c; }
.service-image img { object-position: center 52%; }
.service-copy { position: relative; z-index: 1; }

.service-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(35px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.service-copy p {
  max-width: 51ch;
  color: #f5f5f4;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  text-wrap: pretty;
}

.service-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-copy a:focus-visible { outline-color: #fff; }

.service-residential {
  grid-column: 1 / -1;
  min-height: clamp(440px, 46vw, 680px);
  padding-bottom: clamp(54px, 7.2vw, 108px);
  --zoom-end: 1.16;
}

.service-residential .service-copy h3 { font-size: clamp(44px, 6vw, 84px); }
.service-residential .service-copy p { max-width: 50ch; }

.service-subdivision {
  z-index: 1;
  margin-top: calc(-1 * clamp(32px, 4.5vw, 66px));
  margin-left: clamp(0px, 2.4vw, 36px);
  box-shadow: 0 0 0 clamp(3px, 0.42vw, 7px) var(--paper);
}

.service-interiors { margin-right: clamp(0px, 2.4vw, 36px); }

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(205px, 265px);
  align-items: center;
  gap: clamp(23px, 4vw, 50px);
  padding-block: clamp(32px, 4.4vw, 62px);
  border-top: 1px solid var(--line);
}

.practice-mark { display: block; width: 100%; height: auto; }

.credentials h2 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.035em;
}

.credentials p {
  max-width: 65ch;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.credentials a, .enquiry-privacy a { text-underline-offset: 3px; }

.contact {
  border-top: 1px solid #e2e4e8;
  border-bottom: 1px solid #e2e4e8;
  background: linear-gradient(135deg, #f3f4f6, #e9ebef);
}

.contact-inner { align-items: start; padding-block: clamp(54px, 6.9vw, 102px); }
.contact h2 { max-width: 13ch; }
.contact-detail > p { margin-top: 18px; }
.contact-detail address { display: grid; justify-items: start; gap: 7px; margin-top: 24px; font-style: normal; }
.contact-detail address a { min-height: 34px; padding-block: 7px; font-weight: 550; text-underline-offset: 4px; }

.contact-detail .call-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--paper);
  font-size: 14px;
  text-decoration: none;
}

.contact-detail .call-link:hover { border-color: var(--ink); }

.enquiry-privacy {
  max-width: 52ch;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.enquiry-privacy summary { width: fit-content; padding-block: 8px; cursor: pointer; }
.enquiry-privacy p { margin-top: 5px; }

.enquiry-form {
  display: grid;
  align-items: start;
  justify-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 34px);
  background: var(--paper);
}

.enquiry-form label { margin-bottom: 8px; font-size: 14px; font-weight: 600; }

.enquiry-form input:not([type='hidden']) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-bottom: 18px;
  border: 1px solid #b2b7bf;
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.enquiry-form p { color: var(--secondary); font-size: 12px; line-height: 1.55; }
.enquiry-form .button-link { justify-self: start; margin-top: 18px; }

.site-footer { padding-block: 23px 22px; }

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 15px;
}

.footer-location { color: var(--secondary); font-size: 13px; text-align: center; }

.back-top {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.back-top:hover { text-decoration: underline; text-underline-offset: 4px; }

.service-page { padding-block: clamp(42px, 6vw, 90px); }

.service-page-header {
  max-width: 920px;
  margin-bottom: clamp(24px, 4vw, 52px);
}

.service-page-header h1 { font-size: clamp(44px, 6.7vw, 92px); }
.service-page-header .text-link { margin-bottom: 20px; }
.service-page-header p {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--secondary);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.5;
  text-wrap: pretty;
}

.service-page-image { aspect-ratio: 2; }
.service-page-image img { object-position: center 54%; }

.service-page-content {
  display: grid;
  gap: clamp(28px, 4vw, 50px);
  max-width: 740px;
  margin: clamp(32px, 6vw, 88px) auto 0;
}

.service-page-content h2 { font-size: clamp(26px, 3.4vw, 40px); }
.service-page-content p {
  margin-top: 12px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.service-page-next { border-top: 1px solid var(--line); padding-top: 18px; }
.service-page-next .button-link { margin-top: 0; }

@keyframes reveal {
  from { opacity: 0.82; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes collage-zoom {
  from { transform: scale(1.015); }
  to { transform: scale(var(--zoom-end, 1.13)); }
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}

@media (prefers-reduced-motion: no-preference) {
  .is-revealed {
    animation: reveal 720ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  @supports (animation-timeline: view()) {
    .collage-photo img {
      animation: collage-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 83%;
    }

    .hero-media img {
      animation: hero-drift linear both;
      animation-timeline: view();
      animation-range: contain 50% exit 100%;
    }
  }

  @supports not (animation-timeline: view()) {
    .collage-photo.is-revealed img {
      animation: collage-zoom 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }
  }
}

@media (max-width: 820px) {
  .section-grid, .process-grid { column-gap: 30px; }
  .hero-media { height: clamp(390px, 70vw, 620px); }
  .approach-collage { height: clamp(390px, 61vw, 500px); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 71px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .wordmark { font-size: 13px; }
  .primary-nav { gap: clamp(10px, 3vw, 18px); }
  .primary-nav a { font-size: 12px; }
  .primary-nav .nav-contact { min-height: 44px; gap: 6px; padding-inline: 10px; }
  .hero-media { height: clamp(300px, 55svh, 520px); }
  h1 { font-size: clamp(36px, 9.75vw, 56px); }
  h2 { font-size: clamp(36px, 8.2vw, 48px); }
  .section-grid, .process-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .approach-collage { height: auto; grid-template-rows: auto auto; }
  .collage-lead { grid-area: 1 / 1 / 2 / 13; aspect-ratio: 1.05; }
  .collage-caption { right: 16px; bottom: 24px; left: 20px; }
  .collage-caption h2 { font-size: clamp(34px, 8vw, 49px); }
  .collage-exterior { grid-area: 2 / 1 / 3 / 9; aspect-ratio: 1.23; margin-top: 12px; }
  .collage-detail { grid-area: 2 / 8 / 3 / 13; aspect-ratio: 0.92; margin-top: -12px; }
  .approach-collage .collage-photo { align-self: start; }
  .approach-summary { align-items: start; flex-direction: column; gap: 14px; }
  .process-grid { row-gap: 32px; }
  .service-gallery, .credentials { grid-template-columns: 1fr; }
  .service-card { min-height: clamp(388px, 106vw, 480px); }
  .service-residential { padding-bottom: clamp(20px, 3vw, 44px); }
  .service-subdivision, .service-interiors { margin: 0; box-shadow: none; }
  .practice-mark { max-width: 245px; }
  .service-page-image { aspect-ratio: 1.35; }
  .contact-inner { row-gap: 32px; }
  .footer-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .footer-location { grid-row: 2; text-align: left; }
  .back-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 380px) {
  .header-inner { width: calc(100% - 24px); gap: 8px; }
  .primary-nav { gap: 7px; }
  .primary-nav .nav-contact { padding-inline: 8px; }
  .nav-contact span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
