@font-face { font-family: Archivo; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --white: #fff;
  --dust: #f9f9f9;
  --ink: #000;
  --brand: #002601;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(3.5rem, 7vw, 6rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 Archivo, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, .huge-phone, .wordmark { font-weight: 700; font-stretch: 110%; letter-spacing: -.015em; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--white); padding: .5rem 1rem; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: .75rem var(--pad); }
.brand { margin-right: auto; }
.brand img { height: 4.5rem; width: auto; }
.top ul { display: flex; gap: 2rem; font-weight: 600; }
.top nav a { text-decoration: none; padding-block: .5rem; border-bottom: 3px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-color: var(--brand); }
.call, .button { display: inline-block; background: var(--brand); color: var(--white); border: 0; border-radius: 99px; padding: .85rem 1.6rem; font: 700 1rem/1.2 Archivo, system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; }
.call:hover, .button:hover { background: var(--ink); }
.button:disabled { opacity: .6; cursor: wait; }
.menu { display: none; }
@media (max-width: 62rem) {
  .brand img { height: 3.75rem; }
  .top nav { width: 100%; }
  .top ul { flex-direction: column; gap: 0; font-size: 1.5rem; }
  .top nav a { display: block; }
  .call { font-size: .9rem; padding: .6rem .9rem; }
}

/* home intro: the log corridor, pulling in and out of focus */
.intro { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(34rem, calc(100svh - 6rem)); background: #000; color: var(--white); overflow: hidden; }
/* collapse the menu from the first paint when scripts can open it again */
@media (max-width: 62rem) and (scripting: enabled) {
  .menu { display: block; order: 2; background: none; border: 0; font: 700 1rem Archivo, sans-serif; color: inherit; padding: .5rem; cursor: pointer; }
  .top nav { order: 3; width: 100%; }
  .top nav:not(.open) { display: none; }
}
.slides { position: absolute; inset: 0; z-index: -1; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slides img + img { opacity: 0; animation: focus 14s ease-in-out infinite; }
@keyframes focus { 0%, 35% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.intro-text { margin: auto 0; padding: 3rem var(--pad); text-align: center; }
.intro h1 { font-size: clamp(2.4rem, 5.5vw, 4.75rem); line-height: 1.05; margin: 0; }
.intro h1 span { display: block; }
.motto { max-width: none; margin: 1rem 0 2rem; font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.75rem; align-items: center; max-width: none; margin: 0; font-weight: 700; }
.intro .button { background: var(--white); color: var(--brand); }
.intro .button:hover { background: #e2e2e2; }
.intro :focus-visible { outline-color: var(--white); }
.intro-row { display: grid; gap: .5rem 3rem; padding: 1.5rem var(--pad) 2rem; border-top: 1px solid rgb(255 255 255 / .35); }
.intro-row p { margin: 0; }
.area { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
@media (min-width: 62rem) { .intro-row { grid-template-columns: 1fr 1fr; align-items: center; } .intro-row p + p { justify-self: end; } }

/* services: a wall of panels */
.panels { display: grid; gap: 4px; }
.panel a { position: relative; display: block; height: 100%; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 24rem; height: 100%; padding: 1.5rem; background: linear-gradient(transparent 20%, rgb(0 38 1 / .88) 75%); }
.panel strong { font-size: 1.6rem; font-weight: 800; font-stretch: 115%; line-height: 1.1; margin-bottom: .6rem; }
.panel-body > span { max-width: 34rem; font-size: 1rem; }
@media (min-width: 40rem) { .panels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) and (hover: hover) {
  .panels { display: flex; height: clamp(32rem, 76vh, 46rem); }
  .panel { flex: 1 1 0; min-width: 0; transition: flex-grow .5s cubic-bezier(.3, .7, .2, 1); }
  .panel.open { flex-grow: 6; }
  .panel-body { min-height: 0; padding: 1.75rem 0; align-items: center; background: rgb(0 38 1 / .45); }
  .panel strong { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; font-size: 1.45rem; white-space: nowrap; }
  .panel-body > span { display: none; }
  .panel.open .panel-body { align-items: flex-start; padding: 2rem; background: linear-gradient(transparent 40%, rgb(0 38 1 / .9) 82%); }
  .panel.open strong { writing-mode: horizontal-tb; transform: none; font-size: 2.25rem; margin-bottom: .75rem; white-space: normal; }
  .panel.open .panel-body > span { display: block; width: min(34rem, 100%); }
}

/* why: workbench photo fading into brand green, reasons beneath */
.why { background: var(--brand); color: var(--white); padding-bottom: var(--space); }
.why-photo { position: relative; }
.why-photo img { width: 100%; height: clamp(18rem, 36vw, 34rem); object-fit: cover; object-position: 40% 30%; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, var(--brand)); }
.why-photo h2 { position: absolute; z-index: 1; inset: auto var(--pad) 0; margin: 0; text-align: center; }
.reasons { display: grid; gap: 1px; margin: 2.5rem var(--pad) 0; background: rgb(255 255 255 / .22); border-block: 1px solid rgb(255 255 255 / .22); }
.reasons li { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 0; background: var(--brand); font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.reasons svg { flex: none; width: 3.25rem; height: 3.25rem; padding: .75rem; border-radius: 50%; background: var(--white); fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 40rem) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reasons li { padding: 1.75rem 1.5rem; }
}
@media (min-width: 62rem) {
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .reasons li { flex-direction: column; text-align: center; padding: 2.5rem 2rem; }
  .reasons span { max-width: 18rem; text-wrap: balance; }
}
.quote :focus-visible { outline-color: currentColor; }

/* project reel */
.work { padding-block: var(--space); }
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-inline: var(--pad); margin-bottom: 2rem; font-weight: 700; }
.work-head h2 { margin: 0; }
.reel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 1.25rem; scrollbar-color: var(--ink) var(--dust); }
.reel li { flex: none; scroll-snap-align: start; }
.reel img { height: clamp(18rem, 58vh, 32rem); width: auto; max-width: 85vw; object-fit: cover; }

/* single testimonial */
.word { background: var(--dust); padding: var(--space) var(--pad); }
.word blockquote { margin: 0 0 2rem; }
.word blockquote p { max-width: 40ch; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.35; }
.word > p { display: flex; flex-wrap: wrap; gap: 1rem 2rem; max-width: none; margin: 0; }

/* quote and form */
.quote { background: var(--brand); color: var(--white); padding: var(--space) var(--pad); }
.huge-phone { font-size: clamp(1.9rem, 3.5vw, 3rem); max-width: none; margin-bottom: .6em; }
.huge-phone a { text-decoration: none; white-space: nowrap; }
.huge-phone a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.quote-grid, .contact { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 52rem) { .quote-grid, .contact { grid-template-columns: 1fr 1fr; } }
.lead { font-size: 1.5rem; font-weight: 700; }
.enquiry { display: grid; gap: .25rem; }
.enquiry label { font-weight: 700; margin-top: 1.25rem; }
.enquiry input, .enquiry textarea { width: 100%; font: 400 1.125rem/1.5 Archivo, system-ui, sans-serif; color: inherit; background: transparent; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; padding: .5rem 0; }
.enquiry input:focus, .enquiry textarea:focus { outline: 0; border-bottom-color: var(--brand); box-shadow: 0 4px 0 var(--brand); }
.enquiry textarea { resize: vertical; }
.enquiry .button { justify-self: start; margin-top: 1.75rem; }
.quote .button:hover { background: var(--white); color: var(--ink); }
.trap { position: absolute; left: -999rem; }
.status { margin: .5rem 0 0; font-weight: 700; }
.status:empty { display: none; }
.result { display: none; font-weight: 700; }
.result:target { display: block; }

/* inner pages */
.title { padding: clamp(2rem, 7vw, 6rem) var(--pad) 2.5rem; border-bottom: 6px solid var(--brand); }
.title h1 { max-width: 16ch; margin: 0; }
.title p { margin: 1.25rem 0 0; font-size: 1.35rem; font-weight: 600; }

.row { display: grid; background: var(--white); }
.row:nth-of-type(even) { background: var(--dust); }
.row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row div { align-self: center; padding: clamp(2rem, 5vw, 5rem) var(--pad); }
.row h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); }
.row p { font-size: 1.15rem; }
@media (min-width: 56rem) {
  .row { grid-template-columns: 7fr 5fr; }
  .row:nth-of-type(odd) { grid-template-columns: 5fr 7fr; }
  .row:nth-of-type(odd) img { order: 2; }
}

/* justified rows: each photo's share of a row follows its shape (--r) */
.gallery { --h: 18rem; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 0; }
.gallery li { flex: var(--r) 1 calc(var(--r) * var(--h)); height: var(--h); }
.gallery::after { content: ""; flex-grow: 10; }
.gallery a { display: block; height: 100%; overflow: hidden; }
.gallery a:focus-visible { outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 40rem) { .gallery { --h: 13rem; } }
.viewer { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 1rem; border: 0; background: var(--brand); color: var(--white); }
.viewer[open] { display: grid; grid-template: minmax(0, 1fr) auto / repeat(3, 1fr); gap: 1rem; }
.viewer img { grid-column: 1 / -1; width: 100%; height: 100%; object-fit: contain; }
.viewer button { background: none; color: var(--white); border: 2px solid var(--white); border-radius: 99px; padding: .75rem; font: 700 1rem Archivo, sans-serif; cursor: pointer; }
.viewer button:hover { background: var(--white); color: var(--brand); }

.reviews { padding: 0 var(--pad) var(--space); }
.review { display: grid; gap: 1rem 4rem; margin: 0; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 2px solid #e2e2e2; }
.review figcaption { display: flex; flex-direction: column; font-size: 1.2rem; }
.review h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.review blockquote { margin: 0; font-size: 1.2rem; }
.stars { color: var(--brand); letter-spacing: .12em; }
@media (min-width: 52rem) { .review { grid-template-columns: 1fr 3fr; } }

.contact-call { padding: 3rem var(--pad) 0; }
.contact-call h2 { font-size: 1.6rem; }
.contact { padding: 0 var(--pad) var(--space); }
.contact img { margin-top: 2rem; width: 100%; }
.contact h2 { font-size: 2.25rem; margin: 0; }
.social { display: flex; gap: 1.5rem; font-weight: 700; }
.prose { padding: 2.5rem var(--pad) var(--space); }
.prose > * { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }

/* footer */
.foot { padding: var(--space) var(--pad) 2rem; overflow: hidden; }
.foot-top { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); font-weight: 600; }
.foot-line { font-size: 1.35rem; line-height: 1.3; max-width: 24ch; }
.foot li { padding-block: .2rem; }
.wordmark { font-size: clamp(3rem, 7vw, 6rem); color: var(--brand); line-height: 1; margin: 2.5rem 0 1rem; max-width: none; }
.small { font-size: .875rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img + img { animation: none; }
  .panel, .gallery img { transition: none; }
}

/* brand header: white logo and text on green */
.top { background: var(--brand); color: var(--white); }
.top nav a:hover, .top nav a[aria-current] { border-color: var(--white); }
.top :focus-visible { outline-color: var(--white); }
.call, .quote .button { background: var(--white); color: var(--brand); }
.call:hover, .quote .button:hover { background: #e2e2e2; color: var(--brand); }
.quote .enquiry input:focus, .quote .enquiry textarea:focus { border-bottom-color: var(--white); box-shadow: 0 4px 0 var(--white); }

/* gallery viewer: solid white buttons */
.viewer button { background: var(--white); color: var(--brand); border-color: var(--white); }
.viewer button:hover { background: #e2e2e2; color: var(--brand); border-color: #e2e2e2; }

.intro h1 .where { font-size: .5em; font-weight: 600; margin-top: .35em; }
.foot a { overflow-wrap: anywhere; }

/* service pages */
.title p { max-width: 60ch; }
.detail { display: grid; gap: 2rem 5rem; padding: var(--space) var(--pad); }
.detail ul { font-weight: 600; font-size: 1.15rem; }
.detail li { padding: .6em 0; border-bottom: 1px solid #e2e2e2; }
@media (min-width: 52rem) { .detail { grid-template-columns: 1fr 1fr; } }
.shots { padding: 0 var(--pad) var(--space); }
.shots ul { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); margin-bottom: 1.5rem; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.said { background: var(--dust); padding: var(--space) var(--pad); }
.said figure { margin: 0 0 2rem; font-size: 1.2rem; }
.said blockquote { margin: 0; }
.said figcaption { font-weight: 700; }
.others { padding: var(--space) var(--pad); }
.others ul { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-weight: 600; }
