/* Generated by scripts/fetch-fonts.mjs — do not edit by hand.
   Self-hosted Cormorant Garamond + Jost, latin and latin-ext subsets. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/jost-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jost-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jost-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jost-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   The Construction Project — site stylesheet
   Values are taken verbatim from the design handoff (README.md, Design Tokens).
   Order: tokens → base → layout primitives → global furniture → page sections
          → motion/accessibility guards.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Colour */
  --ground: #23211d;
  --ground-deep: #1b1a16;
  --bone: #ede6d9;
  --ink: #221f1a;
  --bronze: #a6803f;
  --gold: #c9a24a;
  /* WhatsApp's own brand green, deliberately outside the palette: the button
     is a recognised lockup and stops reading as WhatsApp in bronze. */
  --whatsapp: #25d366;

  --hairline: rgba(237, 230, 217, 0.12);
  --hairline-strong: rgba(237, 230, 217, 0.16);
  --hairline-bold: rgba(237, 230, 217, 0.2);
  --hairline-ink: rgba(34, 31, 26, 0.18);

  --muted-45: rgba(237, 230, 217, 0.45);
  --muted-50: rgba(237, 230, 217, 0.5);
  --muted-55: rgba(237, 230, 217, 0.55);
  --muted-60: rgba(237, 230, 217, 0.6);
  --muted-85: rgba(237, 230, 217, 0.85);
  --ink-50: rgba(34, 31, 26, 0.5);
  --ink-55: rgba(34, 31, 26, 0.55);
  --ink-62: rgba(34, 31, 26, 0.62);

  /* Type */
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --shell: 1400px;
  --board: 1180px;
  --gutter: 34px;
  --section: clamp(56px, 9vh, 110px);
  --section-minor: clamp(44px, 7vh, 86px);

  /* Motion */
  --enter: cubic-bezier(0.2, 0.7, 0.2, 1);
  --reveal-duration: 1000ms;
}

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

html {
  scroll-behavior: smooth;
  /* The fixed header on Home overlays in-page anchors. */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--bone);
  text-decoration: none;
  transition: color 300ms ease;
}

a:hover {
  color: var(--gold);
}

::selection {
  background: var(--bronze);
  color: var(--bone);
}

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

/* Gold does not reach 3:1 against bone — on light sections the ring is ink. */
.band-light :focus-visible {
  outline-color: var(--ink);
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page {
  background: var(--ground);
  overflow-x: hidden;
}

/* Contact is short enough to leave a gap under the footer on tall screens —
   this pins the footer to the bottom without changing its look. */
.page--contact,
.page--short {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page--contact > main,
.page--short > main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: var(--shell);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--bone);
  color: var(--ink);
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: transform 200ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink);
}

/* ---- Type primitives --------------------------------------------------- */
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-45);
}

.eyebrow--gold {
  color: var(--gold);
}

.eyebrow--bronze {
  color: var(--bronze);
}

.h1-page {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.h2-section {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.h2-band {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: 1;
}

/* Rule that draws in from the left. */
.rule {
  display: block;
  height: 1px;
  background: var(--hairline-bold);
  transform-origin: left;
  animation: as-drawx 1400ms ease 300ms both;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 15px 28px;
  transition: background 400ms ease, color 400ms ease;
}

.btn--dark {
  background: var(--ground);
  color: var(--bone);
}

.btn--dark:hover {
  background: var(--bronze);
  color: var(--bone);
}

.btn--bronze {
  background: var(--bronze);
  color: var(--ground);
  padding: 15px 30px;
  transition: background 380ms ease, transform 380ms ease;
}

.btn--bronze:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px var(--gutter);
  background: rgba(27, 26, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: background 600ms ease, color 600ms ease, border-color 600ms ease;
}

.site-header--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px var(--gutter);
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

/* Without JS the bar can never invert, and a transparent bar with bone text
   would sit unreadably over the light sections — so it stays solid. */
html:not(.js) .site-header--home {
  background: rgba(27, 26, 22, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}

.site-header--home.is-scrolled {
  background: rgba(27, 26, 22, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}

/* Past 86vh the light Statement section begins and the bar inverts. */
.site-header--home.is-inverted {
  background: rgba(237, 230, 217, 0.94);
  color: var(--ink);
  border-bottom-color: rgba(34, 31, 26, 0.14);
}

/* The wordmark is a two-part lockup ("The Construction" / "Project"): one
   line on wide screens, stacked on narrow ones, so 24 tracked characters
   never crowd the phone number out of the bar. */
.wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.46em;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  line-height: 1.25;
  color: inherit;
  animation: as-fade 1200ms ease both;
}

.wordmark-line {
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: as-fade 1400ms ease both;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link,
.nav-phone {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.7;
}

.nav-link:hover,
.nav-phone:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-link.is-current {
  color: var(--gold);
  opacity: 1;
}

.nav-phone {
  white-space: nowrap;
}

.site-header--home .nav-phone {
  color: var(--gold);
  opacity: 1;
}

/* On the inverted (bone) bar, gold on bone is unreadable at 10px — the phone
   falls back to ink and keeps its emphasis through weight. */
.site-header--home.is-inverted .nav-phone {
  color: inherit;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-toggle:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 300ms ease, opacity 300ms ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Mobile nav -------------------------------------------------------- */
/* Only engaged when JS is running; without JS every link stays in the bar.
   The 900px breakpoint (up from 760px) buys room for the longer wordmark. */
@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ground-deep);
    border-bottom: 1px solid var(--hairline);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: transform 400ms var(--enter), opacity 300ms ease, visibility 400ms;
  }

  .js .site-header--home .site-nav {
    background: rgba(27, 26, 22, 0.97);
    backdrop-filter: blur(12px);
  }

  .js .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .site-nav li + li {
    border-top: 1px solid var(--hairline);
  }

  .js .site-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 var(--gutter);
    color: var(--bone);
  }

  .js .site-header--home.is-inverted .site-nav {
    background: rgba(237, 230, 217, 0.97);
  }

  .js .site-header--home.is-inverted .site-nav .nav-link {
    color: var(--ink);
  }

  .site-header {
    position: sticky;
  }
}

/* Stack the wordmark once a single tracked line would crowd the bar. */
@media (max-width: 620px) {
  .wordmark {
    flex-direction: column;
    gap: 0;
    letter-spacing: 0.34em;
    line-height: 1.35;
  }
}

/* Below ~430px the wordmark, phone and toggle still need to fit. */
@media (max-width: 430px) {
  .site-header {
    gap: 12px;
    padding-inline: 20px;
  }

  .header-right {
    gap: 14px;
  }

  .wordmark {
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .nav-phone {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .nav-toggle span:not(.nav-toggle-bars) {
    display: none;
  }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--ground-deep);
  padding: 24px var(--gutter);
  /* The fixed contact rail sits over the bottom-right corner; reserve its
     width so the footer's right-hand text never runs underneath it. */
  padding-right: calc(var(--gutter) + 62px);
}

/* Only the block padding differs on Home — keep the inline padding (and the
   reserved rail gutter) from the base rule. */
.site-footer--home {
  padding-block: 26px;
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-mark {
  font-size: 11px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(237, 230, 217, 0.8);
  /* The trailing letter-space would otherwise push the mark off-centre. */
  margin-right: -0.44em;
}

.footer-meta {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(237, 230, 217, 0.4);
}

.footer-meta a {
  color: inherit;
}

/* ---- Fixed contact rail ------------------------------------------------ */
.contact-rail {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 350ms ease, border-color 350ms ease, background 350ms ease;
}

.rail-btn:hover {
  transform: translateY(-3px);
}

/* The mark inherits the button's colour, so the hover/active rules keep
   working without touching the SVG. */
.rail-icon {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}

/* The official lockup: white mark on brand green. The icon inherits `color`,
   so both states are set here and the SVG needs no rule of its own. */
.rail-btn--wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.rail-btn--wa:hover {
  color: #fff;
}

.rail-btn--call {
  background: rgba(35, 33, 29, 0.9);
  border: 1px solid rgba(237, 230, 217, 0.35);
  color: var(--bone);
}

.rail-btn--call:hover {
  border-color: var(--bronze);
  color: var(--bone);
}

/* ---- Media frames ------------------------------------------------------ */
.frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.frame--bordered {
  border: 1px solid var(--hairline);
}

.frame--4x3 {
  aspect-ratio: 4 / 3;
}

.frame--3x4 {
  aspect-ratio: 3 / 4;
}

.frame--16x10 {
  aspect-ratio: 16 / 10;
}

/* Kept for the day <picture> returns with AVIF/WebP sources: it is inline by
   default, which would leave the image inside without a block box to size to. */
.frame picture,
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portraits the client still owes — a hairline frame, not a stock face. */
.frame--empty {
  display: grid;
  place-items: center;
  background: rgba(237, 230, 217, 0.04);
}

.frame--empty span {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(237, 230, 217, 0.3);
  padding: 0 20px;
  text-align: center;
}

/* ---- Project tiles (shared by Home and Projects) ----------------------- */
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.tile .frame img {
  transition: transform 600ms var(--enter);
}

.tile:is(a):hover .frame img,
.tile:is(a):focus-visible .frame img {
  transform: scale(1.02);
}

.tile-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.tile-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
}

.tile-meta {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-45);
  white-space: nowrap;
  transition: color 400ms ease;
}

.tile:is(a):hover .tile-meta,
.tile:is(a):focus-visible .tile-meta {
  color: var(--gold);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(18px, 2vw, 32px);
}

/* =========================================================================
   HOME
   ========================================================================= */

/* ---- 1a. Hero board ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ground);
  padding: 104px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
}

.hero-hairline {
  position: absolute;
  top: 96px;
  bottom: 56px;
  width: 1px;
  background: rgba(237, 230, 217, 0.14);
  animation: as-drawy 1600ms var(--enter) 200ms both;
}

.hero-hairline--left {
  left: var(--gutter);
  transform-origin: top;
}

.hero-hairline--right {
  right: var(--gutter);
  transform-origin: bottom;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-55);
  animation: as-fade 1400ms ease 300ms both;
}

/* The wordmark runs to 24 tracked characters, which cannot hold a single line
   at the handoff's 104px. It is set as a two-line lockup instead, which keeps
   the display size — and the signature tracking entrance — intact. */
.hero-h1 {
  --track-to: 0.34em;
  --track-from: 0.62em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 5vw, 78px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: var(--track-to);
  /* Matching indent keeps the trailing letter-space from pushing it off-centre. */
  text-indent: var(--track-to);
  color: var(--bone);
  animation: as-track 2000ms var(--enter) 260ms both;
}

/* Each line holds together while the tracking animates; the hero clips the
   wide opening frame rather than re-wrapping mid-animation. */
.hero-h1 span {
  display: block;
  white-space: nowrap;
}

.hero-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 22px);
  color: var(--gold);
  animation: as-fade 1600ms ease 900ms both;
}

.hero-board {
  position: relative;
  width: 100%;
  max-width: var(--board);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 2.1fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 34px);
  align-items: center;
}

.hero-callouts {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-callouts--left {
  align-items: flex-end;
  text-align: right;
}

.callout {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.callout-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.callout-text {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted-60);
  max-width: 20ch;
}

.callout-rule {
  height: 1px;
  background: rgba(237, 230, 217, 0.3);
  animation: as-drawx 1000ms ease both;
}

.hero-callouts--left .callout-rule {
  transform-origin: right;
}

.hero-callouts--right .callout-rule {
  transform-origin: left;
}

/* Staggered entrances, per the design's 1100–1800ms schedule. */
.callout--c1 { animation: as-rise 1200ms ease 1100ms both; }
.callout--c2 { animation: as-rise 1200ms ease 1300ms both; }
.callout--c3 { animation: as-rise 1200ms ease 1200ms both; }
.callout--c4 { animation: as-rise 1200ms ease 1400ms both; }
.callout--c1 .callout-rule { animation-delay: 1500ms; }
.callout--c3 .callout-rule { animation-delay: 1600ms; }
.callout--c2 .callout-rule { animation-delay: 1700ms; }
.callout--c4 .callout-rule { animation-delay: 1800ms; }

.hero-figure {
  position: relative;
  animation: as-fade 1400ms ease 700ms both;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  inset: 0;
  animation: as-zoom 2600ms var(--enter) 700ms both;
  /* Parallax uses `translate` so it never fights the zoom `transform`. */
  translate: 0 var(--parallax, 0px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 12px;
  bottom: 4px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 22px;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 0;
}

.hero-dot::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(237, 230, 217, 0.35);
  transition: background 600ms ease;
}

.hero-dot[aria-current='true']::before {
  background: var(--gold);
}

.hero-dimension {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.hero-dimension span:not(.hero-dimension-rule) {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-50);
}

.hero-dimension-rule {
  flex: 1;
  height: 1px;
  background: rgba(237, 230, 217, 0.22);
  transform-origin: left;
  animation: as-drawx 1400ms ease 1400ms both;
}

.hero-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: as-fade 1600ms ease 1900ms both;
}

.hero-cue-label {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-45);
}

.hero-cue-bar {
  width: 1px;
  height: 46px;
  background: var(--bronze);
  animation: as-cue 2400ms ease-in-out infinite;
}

/* At phone widths 16 characters at 0.34em would run past the gutter, so the
   tracking tightens as the type shrinks — measured to fit down to 320px. */
@media (max-width: 520px) {
  .hero-h1 {
    --track-to: 0.2em;
    --track-from: 0.42em;
    font-size: clamp(18px, 5.6vw, 30px);
  }
}

/* Below 900px the header is sticky and sits in the flow, so the hero stops
   reserving the 96px a fixed bar needed to overlay it — that reserve was
   reading as dead space at the top of the page on a phone. */
@media (max-width: 900px) {
  .hero {
    padding-top: clamp(24px, 4vh, 40px);
  }

  .hero-hairline {
    top: clamp(24px, 4vh, 40px);
  }
}

/* The three-column board is unreadable on a phone; the image leads and the
   four annotations collapse into a single ruled block beneath it. */
@media (max-width: 720px) {
  .hero {
    gap: 28px;
    /* A full-screen hero that is mostly empty costs a phone user a screenful
       of scrolling, so the board sizes to its content here. */
    min-height: auto;
  }

  .hero-board {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .hero-figure {
    order: -1;
    margin-bottom: 24px;
  }

  /* One tile, not four: each annotation is a row of label beside note, and the
     row rules replace the drawn hairlines. */
  .hero-callouts {
    display: block;
    text-align: left;
  }

  .callout {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 2px 14px;
    align-items: baseline;
    border-top: 1px solid var(--hairline-strong);
    padding: 10px 0;
  }

  .hero-callouts--right .callout:last-child {
    border-bottom: 1px solid var(--hairline-strong);
  }

  .callout-text {
    max-width: none;
  }

  .callout-rule {
    display: none;
  }
}

/* ---- 1b. Statement ----------------------------------------------------- */
.band-light {
  background: var(--bone);
  color: var(--ink);
}

/* Buttons carry their own colours — excluding them here keeps the dark button
   from inheriting ink text and disappearing into its own background. */
.band-light a:not(.btn) {
  color: var(--ink);
}

/* Gold on bone fails contrast at these sizes; bronze is the light-section
   equivalent of the gold hover used on dark. */
.band-light a:not(.btn):hover {
  color: var(--bronze);
}

.statement {
  padding: var(--section) var(--gutter);
}

.statement .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}

.statement-lead {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(23px, 2.9vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  max-width: 26ch;
  text-wrap: pretty;
}

/* The statement is now a display headline plus a supporting paragraph: the
   second runs at body size so the block does not become six lines of 46px. */
.statement-support {
  grid-column: 1 / -1;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.8;
  color: var(--ink-62);
  max-width: 58ch;
  text-wrap: pretty;
  /* Pulls the paragraph up under its headline, clear of the grid's row gap. */
  margin-top: calc(clamp(28px, 4vw, 72px) * -0.5);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--hairline-ink);
  padding-top: 14px;
}

.stat-number {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
  color: var(--bronze);
  /* Digits are tabular so the count-up cannot reflow the row. */
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ---- 1c. Selected projects --------------------------------------------- */
.selected {
  padding: 0 var(--gutter) var(--section);
}

.selected .shell {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-strong);
}

.section-head--ink {
  border-bottom-color: var(--hairline-ink);
}

.section-head-note {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-45);
}

.link-underlined {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-55);
  border-bottom: 1px solid rgba(34, 31, 26, 0.3);
  padding-bottom: 4px;
  white-space: nowrap;
}

.selected .tiles {
  gap: clamp(18px, 2vw, 30px);
}

.selected .tile-meta {
  color: var(--ink-50);
}

.selected .tile:hover .tile-meta {
  color: var(--bronze);
}

/* ---- 1d. Services marquee ---------------------------------------------- */
.marquee-band {
  background: var(--ground-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: as-marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.marquee-word {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 300;
  color: var(--bone);
}

.marquee-sep {
  color: var(--bronze);
}

/* ---- 1e. Testimonials -------------------------------------------------- */
.testimonials {
  background: var(--ground);
  padding: var(--section) var(--gutter);
}

.testimonials .shell {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.rail {
  overflow: hidden;
  width: 100%;
}

.rail-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: as-marquee 46s linear infinite;
}

.rail:hover .rail-track,
.rail:focus-within .rail-track,
.rail-track:hover {
  animation-play-state: paused;
}

/* One repetition of the testimonial set. The track holds an even number of
   these; the script adds more when a single set is narrower than the rail. */
.rail-set {
  display: flex;
  gap: 22px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(380px, 80vw);
  border: 1px solid rgba(237, 230, 217, 0.14);
  padding: 26px;
}

.quote-stars {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.quote-score {
  font-size: 10px;
  color: var(--muted-50);
  letter-spacing: 0.16em;
}

.quote-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(237, 230, 217, 0.9);
}

.quote-name {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone);
  font-style: normal;
}

.quote-project {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-45);
}

/* ---- 1f. Press wall ---------------------------------------------------- */
.press {
  background: var(--ground);
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 7vh, 90px) var(--gutter);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.press-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.press .eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
}

.record-list {
  display: flex;
  flex-direction: column;
}

.record {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--hairline-strong);
  padding: 15px 0;
}

.record:last-child {
  border-bottom: 1px solid var(--hairline-strong);
}

.record-title {
  font-size: 13px;
  color: var(--muted-85);
}

.record-year {
  font-size: 11px;
  color: var(--muted-45);
  white-space: nowrap;
}

/* ---- 1f. Site gallery -------------------------------------------------
   Auto-advancing photographs from the company's own sites, using the same
   cross-fade and progress bars as the hero board. */
.gallery-band {
  background: var(--ground);
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 7vh, 90px) var(--gutter);
}

.gallery-band .shell {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Height-capped and centred rather than full-bleed: full width at 1400px would
   be 850px tall and swallow the viewport.

   The frame is 4:3 because most site photographs are — and the images are
   `contain`, not `cover`, so a portrait shot is shown whole rather than
   cropped to a band of whatever happened to be in the middle. The mount behind
   it is a shade darker than the section, so the letterboxing reads as a slide
   mount rather than a gap. */
.gallery {
  --gallery-ratio: 4 / 3;
  position: relative;
  width: 100%;
  max-width: min(100%, calc(min(58vh, 540px) * 4 / 3));
  margin-inline: auto;
}

.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--gallery-ratio);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--ground-deep);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1500ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* With two dozen photographs the fixed 22px bars would run off the frame, so
   they share the width instead: full size when there is room, squeezed into a
   single segmented strip when there is not. */
/* Caption line beneath the frame — the same label/rule/value arrangement as
   the hero board's dimension line, so it reads as part of the same drawing.
   Hidden from assistive tech: the text is already the active image's alt. */
.gallery-caption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
}

.gallery-caption-text,
.gallery-count {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-50);
  min-width: 0;
}

.gallery-count {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.gallery-caption-rule {
  flex: 1 1 24px;
  min-width: 12px;
  height: 1px;
  background: rgba(237, 230, 217, 0.22);
}

/* A long caption at this tracking will not share a line with the counter on a
   phone, so it takes the row and the counter drops beneath it. */
@media (max-width: 620px) {
  .gallery-caption {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .gallery-caption-text {
    flex: 1 1 100%;
  }

  .gallery-caption-rule {
    flex: 1 1 24px;
  }
}

.gallery-dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  display: flex;
  gap: clamp(4px, 0.8vw, 8px);
  z-index: 3;
}

.gallery-dot {
  flex: 0 1 22px;
  width: auto;
  min-width: 4px;
}

.gallery-dot::before {
  width: 100%;
}

/* ---- 1g. CTA ----------------------------------------------------------- */
.cta {
  padding: clamp(56px, 9vh, 120px) var(--gutter);
}

.cta .shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.cta-h2 em {
  font-style: italic;
}

.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-address {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-55);
}

/* Closing band shared by Projects and Company. */
.band-close {
  padding: var(--section-minor) var(--gutter);
}

.band-close .shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

/* =========================================================================
   PROJECTS
   ========================================================================= */
.page-head {
  padding: clamp(44px, 7vh, 84px) var(--gutter) clamp(20px, 3vh, 32px);
}

.page-head .shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-head h1 {
  animation: as-fade 1200ms ease both;
}

.page-head-row .eyebrow {
  animation: as-fade 1400ms ease 200ms both;
}

.filters {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* The filter bar does nothing without JS, so it is only shown when JS runs. */
.filters {
  display: none;
}

.js .filters {
  display: flex;
}

.filter {
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-45);
  transition: color 400ms ease;
}

.filter:hover {
  color: var(--bone);
}

.filter[aria-selected='true'] {
  color: var(--gold);
}

.project-index {
  padding: 0 var(--gutter) var(--section);
}

.project-index .tile[hidden] {
  display: none;
}

/* Tiles are not links: project detail pages do not exist yet. */
.tile--static {
  cursor: default;
}

.filter-status {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-45);
}

/* =========================================================================
   COMPANY
   ========================================================================= */
.company-board {
  padding: clamp(44px, 7vh, 80px) var(--gutter) clamp(40px, 6vh, 72px);
}

.company-board .shell {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

/* The reasons list is the longer column, so it takes the wider track. */
@media (min-width: 900px) {
  .company-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
}

.company-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.company-media .lead-text {
  font-size: clamp(19px, 2vw, 28px);
}

.company-split .frame {
  animation: as-fade 1400ms ease 300ms both;
}

.lead-text {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(21px, 2.4vw, 38px);
  line-height: 1.25;
  text-wrap: pretty;
}

/* ---- Process ----------------------------------------------------------
   Reuses the Statement section's stat-block motif — hairline above, display
   numeral, letterspaced label — so a new section still reads as the same
   drawing. The bronze tick on each rule echoes the hero slide indicator. */
.process {
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 8vh, 100px) var(--gutter);
}

.process .shell {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Explicit columns rather than auto-fit: six steps auto-fitting to four
   leaves an orphan row of two, and a sequence should break evenly (3 + 3). */
.process-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

@media (min-width: 620px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border-top: 1px solid var(--hairline-strong);
  padding-top: 18px;
}

/* The drawn tick that marks each stage on the rule. */
.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--bronze);
}

.process-number {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}

.process-label {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.process-detail {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted-60);
  max-width: 40ch;
}

/* ---- Why choose us ----------------------------------------------------
   A ruled spec list: one claim per row, hairline above, so nine points read
   as a schedule rather than nine cards. */
.reasons {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--hairline-strong);
  padding: 16px 0;
}

.reason:last-child {
  border-bottom: 1px solid var(--hairline-strong);
}

.reason-label {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.reason-detail {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted-60);
}

.capabilities {
  padding: clamp(48px, 8vh, 100px) var(--gutter);
}

.capabilities .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.capabilities-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.capabilities-intro h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.capabilities-list {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.capability {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid rgba(34, 31, 26, 0.2);
  padding: 22px 0;
  transition: background 350ms ease;
}

.capability:hover {
  background: rgba(166, 128, 63, 0.1);
}

.capability:last-child {
  border-bottom: 1px solid rgba(34, 31, 26, 0.2);
}

.capability-numeral {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bronze);
}

.capability-name {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 28px);
}

.capability-detail {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-62);
}

@media (max-width: 600px) {
  .capability {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px 16px;
  }

  .capability-detail {
    grid-column: 2;
  }
}

.team {
  padding: clamp(48px, 8vh, 100px) var(--gutter);
}

.team .shell {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.team .section-head {
  border-bottom-color: rgba(237, 230, 217, 0.18);
  padding-bottom: 14px;
}

.team h2,
.capabilities-intro h2 {
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(18px, 2vw, 32px);
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-member-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-name {
  font-family: var(--display);
  font-size: 20px;
}

.team-role {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-45);
}

/* ---- Enquiry band (Company page) --------------------------------------
   The same form as Contact, closing the page where a visitor has just read
   how the work runs. Dark ground, like Contact's, so the form inherits its
   styling unchanged. */
.enquiry-band {
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 8vh, 100px) var(--gutter);
}

.enquiry-band .shell {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.enquiry-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.enquiry-aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.enquiry-aside .lead-text {
  font-size: clamp(19px, 2vw, 28px);
}

.awards {
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 8vh, 100px) var(--gutter);
}

.awards .split {
  gap: clamp(26px, 4vw, 60px);
}

.awards .record {
  padding: 14px 0;
  gap: 16px;
}

.awards .press-list {
  gap: 18px;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-board {
  flex: 1;
  padding: clamp(40px, 6vh, 76px) var(--gutter) clamp(40px, 6vh, 72px);
}

.contact-board .shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: as-rise 1100ms ease 300ms both;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(237, 230, 217, 0.18);
  padding-top: 12px;
}

.contact-detail-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-85);
}

.contact-form-wrap {
  animation: as-rise 1100ms ease 420ms both;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(21px, 2.4vw, 36px);
  line-height: 1.15;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-45);
}

.field .optional {
  text-transform: none;
  letter-spacing: 0.1em;
  color: rgba(237, 230, 217, 0.35);
}

.field input,
.field textarea {
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(237, 230, 217, 0.28);
  padding: 10px 0;
  font-family: var(--body);
  font-size: 14px;
  color: var(--bone);
  outline: none;
  transition: border-color 300ms ease;
  min-width: 0;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(237, 230, 217, 0.4);
}

/* The design removes the default outline; this is its replacement. */
.field input:focus-visible,
.field textarea:focus-visible {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 9px;
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-bottom-color: #d98b6a;
}

.field-error {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #d98b6a;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.scope {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope legend {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-45);
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(237, 230, 217, 0.8);
  border: 1px solid rgba(237, 230, 217, 0.22);
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 300ms ease, color 300ms ease;
}

.chip:hover {
  border-color: rgba(237, 230, 217, 0.45);
  color: var(--bone);
}

.chip input {
  accent-color: var(--bronze);
  margin: 0;
}

.chip:has(input:checked) {
  border-color: var(--bronze);
  color: var(--bone);
}

.chip:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Full-width so the message sits under the button rather than beside it —
   the fixed contact rail occupies the bottom-right corner. */
.form-status {
  flex: 1 0 100%;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gold);
  max-width: 42ch;
}

.form-status:empty {
  display: none;
}

.form-status--error {
  color: #d98b6a;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Shown only when the form cannot work (no backend, no JS). */
.enquiry-noscript {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-direct {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-85);
}

.btn[aria-disabled='true'],
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Honeypot — off-screen, never focusable, invisible to real users. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Capped measure so the last line cannot run under the fixed contact rail. */
.form-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted-45);
  max-width: 56ch;
}

.form-note a {
  color: var(--muted-85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes as-track {
  from { letter-spacing: var(--track-from); opacity: 0; }
  to { letter-spacing: var(--track-to); opacity: 1; }
}

@keyframes as-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes as-drawx {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes as-drawy {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes as-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes as-zoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

@keyframes as-cue {
  0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes as-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   Scroll reveal
   Un-revealed state is CSS and gated on `.js`, so content is always visible
   when JavaScript is unavailable or the observer never fires.
   ========================================================================= */
.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-revealed {
  animation: as-rise var(--reveal-duration) var(--enter) var(--reveal-delay, 0ms) both;
}

.page--projects,
.page--company {
  --reveal-duration: 900ms;
}

/* Re-run on filter change. */
.js .tile.is-refiltered {
  animation: as-rise 700ms var(--enter) both;
}

/* =========================================================================
   Reduced motion — static end-state, no movement anywhere.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
  }

  .hero-parallax {
    translate: none !important;
  }

  .tile:is(a):hover .frame img {
    transform: none;
  }

  /* Marquees stop; their content becomes a normal scrollable row and the
     duplicated set is dropped so nothing is announced twice. */
  .marquee-track,
  .rail-track {
    animation: none;
    width: auto;
  }

  .marquee-band,
  .rail {
    overflow-x: auto;
  }

  .marquee-group[aria-hidden='true'],
  .rail-set[aria-hidden='true'] {
    display: none;
  }

  .marquee-group {
    flex-wrap: wrap;
  }
}

/* ---- Print ------------------------------------------------------------- */
@media print {
  .contact-rail,
  .site-header,
  .hero-cue,
  .hero-dots {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
