:root {
  color-scheme: dark;
  --navy: #151820;
  --deep-navy: #1b222b;
  --ivory: #f8f6f1;
  --ink: #22252a;
  --muted: #4b5055;
  --gold: #f5ce95;
  font: 100%/1.55 "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ivory); background: var(--navy); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(calc(100% - 2 * clamp(1.15rem, 6vw, 6rem)), 76rem); margin-inline: auto; }

.skip { position: fixed; left: 1rem; top: 1rem; z-index: 5; transform: translateY(-180%); background: var(--deep-navy); padding: .65rem 1rem; }
.skip:focus { transform: none; }
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.panorama { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% bottom; }
.panorama.is-tracked { width: var(--image-size); height: var(--image-size); transform: translate3d(var(--image-x), var(--image-y), 0); will-change: transform; }
.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(95deg, #101218a8, #10121812 82%),
    linear-gradient(180deg, #12151c39 0%, transparent 68%, #12151c4a 100%);
}

.masthead { position: absolute; inset: 0 0 auto; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 5.2rem; border-bottom: 1px solid #ffffff55; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; white-space: nowrap; text-decoration: none; }
.brand img { display: block; border-radius: .2rem; }
.by { font-weight: 500; }
nav, .hero-actions, .quote-actions { display: flex; align-items: center; gap: .8rem 1.5rem; flex-wrap: wrap; }
nav a, .button, .text-link { font-weight: 700; }
nav a { font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-quote { border: 1px solid #ffffff8a; padding: .45rem .85rem; border-radius: .15rem; }
.header-quote:hover { background: var(--ivory); color: var(--navy); }
.text-link { text-underline-offset: .24em; }
.text-link:hover { color: var(--gold); }

.hero { display: grid; align-items: center; min-height: 100svh; padding-block: clamp(7.5rem, 15vh, 11rem) clamp(8rem, 19vh, 12rem); }
.hero h1 { font-size: clamp(3.65rem, 9vw, 8.4rem); font-weight: 800; line-height: .94; letter-spacing: -.065em; text-shadow: 0 2px 25px #0b0e1670; }
.tagline { margin-top: clamp(1.1rem, 2.6vw, 1.65rem); font-size: clamp(1.12rem, 2.2vw, 1.55rem); color: #f5e9d8; font-weight: 600; }
.hero-actions { margin-top: 1.65rem; }
.button { display: inline-block; padding: .74rem 1.05rem; border-radius: .15rem; background: var(--gold); color: #24201b; text-decoration: none; }
.button:hover { background: #ffe5bf; }

.work {
  --mural-rise: clamp(6rem, 8.5vw, 9rem);
  --mural-fade: #000 62%, #000b 69%, #0002 77%, transparent 91%;
  position: relative;
  isolation: isolate;
  background: #fff;
  color: #12191d;
}
.work-mural { position: absolute; inset: calc(-1 * var(--mural-rise)) 0 0; z-index: -1; display: flex; justify-content: space-between; pointer-events: none; }
.work-mural-side {
  position: relative;
  align-self: start;
  width: min(28vw, 34rem);
  aspect-ratio: 2 / 3;
  mask-image: linear-gradient(var(--mural-direction), var(--mural-fade)), linear-gradient(180deg, #000 88%, transparent);
  mask-composite: intersect;
}
.work-mural-side img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: inset(var(--mural-rise) 0 0); }
.work-mural-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
}
.work-digger { --mural-direction: 90deg; }
.work-digger::before {
  background-image: url(images/work-hitachi-reference.webp);
  mask: url(images/work-hitachi-canopy.webp) center / 100% 100% no-repeat;
}
.work-pergola { --mural-direction: 270deg; }
.work-pergola::before {
  background-image: url(images/work-pergola.webp);
  clip-path: polygon(0 26%, 25% 30%, 33% 26%, 54% 21%, 96.6% 7.8%, 100% 9%, 100% 100%, 0 100%);
}
.work[id] { scroll-margin-top: calc(var(--mural-rise) + 1rem); }
.work-inner { width: min(58%, 74rem); margin-inline: auto; padding-block: clamp(2.75rem, 3.7vw, 5rem); }
.work-overview {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.6fr);
  gap: clamp(1.25rem, 1.8vw, 2rem);
}
.work h2 { max-width: 7ch; font-size: clamp(3.25rem, 4.95vw, 5rem); font-weight: 800; line-height: .94; }
.work h2::after { content: ""; display: block; width: 4.5rem; height: .3rem; margin-top: 1rem; background: #db930e; }
.work-intro p { max-width: 40ch; margin-top: 1rem; font-size: clamp(1rem, 1.23vw, 1.125rem); }
.services { border-left: 1px solid #b9b7b2; padding-left: clamp(1.25rem, 1.8vw, 2rem); }
.service { display: grid; grid-template-columns: clamp(11rem, 14vw, 12.5rem) minmax(0, 1fr); align-items: start; gap: .5rem 1.25rem; padding-block: .8rem; }
.service:first-child { padding-top: 0; }
.service + .service { border-top: 1px solid #b9b7b2; }
.service h3 { display: grid; grid-template-columns: 2.7rem 1fr; align-items: center; gap: .65rem; font-size: clamp(1.25rem, 1.72vw, 1.55rem); }
.service h3 span { padding: .35rem 0 .35rem .65rem; border-left: 3px solid #db930e; }
.work svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service svg { width: 2.7rem; height: 2.7rem; padding: .46rem; color: #fff; background: #1a292f; border-radius: .4rem; }
.work-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: clamp(1.75rem, 3.5vw, 3.5rem) 0 0; padding: 1.3rem 0 0; border-top: 1px solid #b9b7b2; }
.work-values li { display: grid; grid-template-columns: 1.75rem 1fr; align-items: start; gap: .55rem; padding-inline: clamp(.55rem, 1.25vw, 1.25rem); }
.work-values li:first-child { padding-left: 0; }
.work-values li:last-child { padding-right: 0; }
.work-values li + li { border-left: 1px solid #b9b7b2; }
.work-values svg { width: 1.75rem; height: 1.75rem; }
.work-values h3 { font-size: 1rem; line-height: 1.2; }
.work-values p { margin-top: .25rem; }

.ideas { padding-block: clamp(3.25rem, 8vw, 7rem) clamp(2.75rem, 6vw, 5rem); }
.ideas-intro { margin-bottom: 1.5rem; text-shadow: 0 1px 8px #11141d; }
.ideas h2, .planning h2 { font-size: clamp(2.45rem, 5vw, 4.65rem); }
.ideas-intro p { margin-top: .6rem; }
.idea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.idea { background: var(--deep-navy); border: 1px solid #ffffff40; }
.idea img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.idea-copy { padding: clamp(1.1rem, 2.3vw, 1.65rem); }
.idea h3, .planning-steps h3 { font-size: clamp(1.2rem, 1.94vw, 1.65rem); }
.idea p, .planning-steps p { margin-top: .6rem; }
.idea p { color: #e8e1d5; }

.planning { color: var(--ink); background: var(--ivory); padding: clamp(1.5rem, 4.8vw, 4.3rem); }
.planning-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2.15rem; margin: 1.6rem 0 0; padding-left: 1.3rem; }
.planning-steps li { padding: .9rem 0 0 .25rem; border-top: 1px solid #c9c8c1; }
.planning-steps li::marker { color: #765429; font-weight: 750; }
.planning-steps p { color: var(--muted); }

.quote { display: flex; align-items: center; min-height: 56svh; padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.quote-card { width: min(100%, 38rem); padding: clamp(1.55rem, 4vw, 3.25rem); background: #1b222bf5; border: 1px solid #ffffff4a; border-top: 3px solid var(--gold); }
.quote h2 { font-size: clamp(2.55rem, 4.9vw, 4.2rem); max-width: 12ch; }
.quote p { margin-top: .9rem; color: #e9e0d2; }
.quote-actions { margin-top: 1.25rem; }

.enquiry-current { border-color: var(--gold); color: var(--gold); }
.enquiry-page {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 5.5rem);
  padding-top: clamp(7rem, 14vh, 10rem);
}
.enquiry-intro { padding-block: clamp(.25rem, 3vw, 2.5rem); text-shadow: 0 2px 12px #0b0e16; }
.enquiry-intro h1 { font-size: clamp(3.5rem, 7.7vw, 7rem); font-weight: 800; letter-spacing: -.065em; cursor: default; }
.enquiry-intro p { max-width: 30ch; margin: .95rem 0 1.25rem; font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: #f5e9d8; }
.enquiry-form { width: 100%; padding: clamp(1.1rem, 3vw, 2.65rem); background: #1b222bfa; }
.enquiry-form h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
.enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; margin-top: 1.4rem; }
.enquiry-wide { grid-column: 1 / -1; }
.enquiry-fields label { display: block; font-weight: 700; }
.enquiry-fields label span, .enquiry-help, .enquiry-status { color: #e8e1d5; font-weight: 400; }
.enquiry-fields input, .enquiry-fields select, .enquiry-fields textarea {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  margin-top: .35rem;
  padding: .55rem .7rem;
  border: 1px solid #aba9a4;
  border-radius: .15rem;
  background-color: var(--ivory);
  color: var(--ink);
  color-scheme: light;
  font: inherit;
  font-weight: 400;
}
.enquiry-fields select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2322252a' stroke-width='1.7' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
}
.enquiry-fields textarea { resize: vertical; }
.enquiry-fields input:focus-visible, .enquiry-fields select:focus-visible, .enquiry-fields textarea:focus-visible,
.enquiry-form button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
#details-hint { display: block; margin-top: .35rem; }
.enquiry-submit { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1.4rem; }
.enquiry-form button { font: inherit; font-weight: 700; cursor: pointer; }
.enquiry-submit .button { border: 0; }
.enquiry-submit .button:disabled { opacity: .75; cursor: wait; }
.enquiry-photos { min-width: 0; margin: 0; padding: .7rem 1rem 1rem; border: 1px solid #ffffff45; }
.enquiry-photos legend { padding-inline: .35rem; font-weight: 700; }
.enquiry-photos legend span, .enquiry-photos p { color: #e8e1d5; font-weight: 400; }
.enquiry-photos label { margin-top: .65rem; }
.enquiry-photos input::file-selector-button { margin-right: .6rem; padding: .32rem .55rem; border: 0; border-radius: .15rem; background: var(--gold); color: var(--ink); font: inherit; cursor: pointer; }
.enquiry-photos summary { margin-top: .75rem; cursor: pointer; }
.enquiry-photos summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.enquiry-help, .enquiry-status { overflow-wrap: anywhere; margin-top: .65rem; font-size: .925rem; }
.enquiry-status { border-left: 2px solid var(--gold); padding-left: .75rem; }
.closing { min-height: 85svh; display: flex; flex-direction: column; }
.closing.enquiry-closing { min-height: 57svh; }
.suppliers { background: #1b222bf2; border-block: 1px solid #ffffff38; }
.suppliers-inner { display: grid; grid-template-columns: minmax(9rem, .9fr) minmax(0, 3.2fr); align-items: center; gap: 1.25rem; padding-block: 1.65rem; }
.suppliers h2 { font-size: 1.1rem; letter-spacing: -.02em; }
.supplier-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.supplier-row a { display: block; padding: clamp(.18rem, .5vw, .35rem); background: white; border-radius: .14rem; }
.supplier-row a:hover { box-shadow: 0 0 0 2px var(--gold); }
.supplier-row img { display: block; width: 100%; height: auto; }
.footer-inner { margin-top: auto; padding-top: 7rem; padding-bottom: 1.25rem; }
.footer-links { display: flex; justify-content: space-between; gap: 1rem; padding-top: .7rem; border-top: 1px solid #ffffff66; font-size: .9rem; text-shadow: 0 1px 7px #0b0c0f; }
.photo-credit { margin-top: .8rem; font-size: .85rem; font-weight: 600; text-align: right; text-shadow: 0 1px 5px #080808, 0 1px 10px #080808; }

@media (max-width: 1190px) {
  .work-inner { width: min(calc(100% - 2 * clamp(1.15rem, 6vw, 6rem)), 54rem); }
  .work[id] { scroll-margin-top: 1rem; }
  .work-mural { position: relative; inset: auto; height: clamp(10rem, 27vw, 19rem); }
  .work-mural-side {
    width: 50%;
    height: 100%;
    aspect-ratio: auto;
    mask-image: linear-gradient(0deg, transparent, #000 20%), linear-gradient(var(--mural-direction), #000 90%, transparent);
  }
  .work-mural-side::before { display: none; }
  .work-mural-side img { object-position: center 60%; clip-path: none; }
  .work-inner { padding-top: .5rem; }
}
@media (max-width: 1024px) {
  nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
}
@media (max-width: 850px) {
  .enquiry-page { grid-template-columns: 1fr; max-width: 42rem; }
  .work-overview { grid-template-columns: 1fr; gap: 1.7rem; }
  .work h2 { max-width: none; }
  .services { border-left: 0; padding-left: 0; }
  .service:first-child { border-top: 1px solid #b9b7b2; padding-top: .8rem; }
  .work-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .work-values li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .work-values li:nth-child(even) { padding-right: 0; }
  .suppliers-inner { grid-template-columns: 1fr; gap: .7rem; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 4.2rem; }
  .brand { font-size: clamp(.78rem, 3.6vw, 1rem); gap: .42rem; }
  .brand img { width: 2rem; height: 2rem; }
  nav { gap: .65rem; }
  nav a { font-size: .875rem; }
  .header-quote { padding-inline: .55rem; }
  .hero { align-items: start; padding-top: clamp(7rem, 19vh, 10rem); }
  .hero h1 { font-size: clamp(2.95rem, 10vw, 5rem); }
  .tagline { max-width: 32ch; }
  .idea-grid, .planning-steps { grid-template-columns: 1fr; }
  .quote { min-height: 48svh; }
  .supplier-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header-inner { display: grid; gap: .15rem; padding-top: .5rem; }
  .brand { min-height: 2.25rem; width: fit-content; }
  .header-inner nav { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: .4rem; padding-bottom: .3rem; }
  .header-inner nav a { width: fit-content; white-space: normal; }
  .header-quote { justify-self: end; }
}
@media (max-width: 520px) {
  .enquiry-fields { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: .55rem; padding-block: .9rem; }
  .service p { padding-left: 3.35rem; }
  .work-values li { padding-inline: .45rem; gap: .45rem; }
}
