/* ============================================================
   Wood Grain Joinery | Site styles (immersive redesign)
   Dark espresso ground, sand and brass accents, big serif type,
   image-led sections with scroll-driven motion.
   ============================================================ */

:root {
  /* Palette */
  --bg: #150F0B;
  --bg-2: #1C1610;
  --bg-3: #241C15;
  --sand: #F2ECE1;
  --sand-deep: #E8DFCD;
  --cream: #F5EFE4;
  --cream-warm: #F0E8D9;
  --ink: #1C1610;
  --ink-soft: #2C251E;
  --brass: #AE8B5C;
  --brass-hover: #C6A06E;
  --gold: #D9B98A;
  --gold-soft: #D8C6A8;
  --mute: rgba(245, 239, 228, .64);
  --mute-2: rgba(245, 239, 228, .42);
  --line: rgba(245, 239, 228, .14);
  --line-dark: rgba(28, 22, 16, .16);
  --media-ground: #2A2119;

  /* Layout */
  --gutter: clamp(20px, 4vw, 64px);
  --content-max: 1360px;
  --header-h: 84px;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--cream); }
body {
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--brass-hover); }
h1, h2, h3, p, blockquote, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--brass); color: #FFF8EC; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
body.menu-open { overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--brass); color: var(--ink);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Keyframes ---------- */
@keyframes wg-cue { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(6px); opacity: .5; } }
@keyframes wg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--brass); }
.eyebrow--plain::before { display: none; }

.btn {
  display: inline-block;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  padding: 18px 36px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hover); color: var(--ink); }
.btn--ghost { color: var(--cream); border: 1px solid rgba(245, 239, 228, .4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--cream); padding-bottom: 8px; border-bottom: 1px solid var(--brass);
  transition: color .3s, gap .3s;
}
.text-link:hover { color: var(--gold); gap: 18px; }
.text-link--dark { color: var(--ink); }
.text-link--dark:hover { color: var(--brass); }

.display {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 0 var(--gutter);
}
/* The bar's ground lives on a pseudo-element so it can fade in; backdrop-filter itself cannot transition. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 15, 11, .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .8s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__left, .site-header__right { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-header__right { justify-content: flex-end; }
.site-header__brand img { height: 40px; width: auto; }
.site-header__link {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream);
  transition: color .3s;
}
.site-header__link:hover { color: var(--gold); }
.site-header__cta {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); background: var(--brass); padding: 12px 22px;
  transition: background-color .3s;
}
.site-header__cta:hover { background: var(--brass-hover); color: var(--ink); }
.site-header__cta-short { display: none; }

.menu-btn {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream);
}
.menu-btn__lines { width: 24px; display: flex; flex-direction: column; gap: 6px; }
.menu-btn__lines span { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.menu-btn__lines span:last-child { width: 70%; }
.menu-open .menu-btn__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn__lines span:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu__links {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: calc(var(--header-h) + 4vh) var(--gutter) 6vh;
}
.menu__link {
  display: flex; align-items: baseline; gap: 22px;
  font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 1.05; color: var(--cream);
  opacity: 0; transform: translateY(24px);
  transition: color .3s, opacity .7s var(--ease), transform .8s var(--ease);
}
.menu__link small { font-family: var(--sans); font-size: 11px; letter-spacing: .28em; color: var(--brass); }
.menu__link:hover { color: var(--gold); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .23s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .31s; }
.menu__contact { margin-top: 6vh; display: flex; flex-direction: column; gap: 10px; font-weight: 300; font-size: 14.5px; color: var(--mute); }
.menu__contact a { color: var(--cream); }
.menu__contact a:hover { color: var(--gold); }
.menu__aside { position: relative; overflow: hidden; }
.menu__aside img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.menu.is-open .menu__aside img { transform: none; }
.menu__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 35%); }
.menu__quote {
  position: absolute; left: 6%; bottom: 8vh;
  font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); font-style: italic; color: var(--gold);
}

/* ---------- Hero mosaic ---------- */
.mosaic { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; clip-path: inset(0); background: var(--bg); }
.mosaic__wall {
  position: absolute; left: 50%; top: 50%; width: 170vw; z-index: 0;
  transform: translate(-50%, -50%) rotate(-22deg);
}
.mosaic__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2.2vw; will-change: transform; }
.mosaic__tile { aspect-ratio: 3 / 4; overflow: hidden; background: var(--media-ground); }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(21, 15, 11, .25) 0%, rgba(21, 15, 11, .78) 72%),
    linear-gradient(180deg, rgba(21, 15, 11, .55) 0%, rgba(21, 15, 11, .15) 40%, rgba(21, 15, 11, .9) 88%, #1C1610 100%);
}
.mosaic::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--bg-2); z-index: 2; }
.mosaic__brand { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(340px, 62vw); z-index: 3; will-change: transform, top; }
.site-header__brand img { transition: opacity .25s; }
.site-header__brand.is-handoff img { opacity: 0; }
.mosaic__tag {
  position: absolute; left: var(--gutter); top: 44%; transform: translateY(-50%);
  max-width: 22ch; font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--mute);
}
.mosaic__title {
  position: absolute; right: var(--gutter); bottom: 7vh; text-align: right;
  font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 9.5vw, 150px); line-height: .95; letter-spacing: -.01em;
  color: var(--gold-soft);
}
.mosaic__title .line { display: block; overflow: hidden; }
.mosaic__title .line > span { display: block; }
.mosaic__title em { font-style: italic; color: var(--gold); }
.mosaic__cue {
  position: absolute; left: var(--gutter); bottom: 6vh;
  width: 46px; height: 46px; border: 1px solid rgba(245, 239, 228, .35); border-radius: 50%;
  display: grid; place-items: center; color: var(--cream);
}
.mosaic__cue svg { width: 14px; height: 14px; animation: wg-cue 2.2s var(--ease) infinite; }

/* ---------- Split intro ---------- */
.split { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.split::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--bg-2); }
.split__copy {
  min-height: 100vh; padding: clamp(90px, 11vw, 150px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
}
.split__figure { width: min(320px, 62%); aspect-ratio: 4 / 5; overflow: hidden; background: var(--media-ground); }
.split__figure img { width: 100%; height: 100%; object-fit: cover; }
.split__title { font-size: clamp(38px, 4.2vw, 66px); max-width: 15ch; }
.split__text { display: flex; flex-direction: column; gap: 18px; max-width: 46ch; font-weight: 300; font-size: 16px; line-height: 1.8; color: var(--mute); }
.split__media { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--media-ground); }
.parallax { position: relative; overflow: hidden; }
.parallax img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.no-js .parallax img, .no-gsap .parallax img { top: 0; height: 100%; }

/* ---------- Chapters (pillars) ---------- */
.chapters { position: relative; z-index: 2; }
.chapters::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--bg); z-index: 3; }
.chapter__hold { height: 75vh; pointer-events: none; }
.chapter__hold--last { height: 55vh; }
.chapter { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--bg); }
.chapter__media { position: absolute; inset: 0; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.chapter__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 15, 11, .88) 0%, rgba(21, 15, 11, .5) 50%, rgba(21, 15, 11, .3) 100%),
    linear-gradient(0deg, rgba(21, 15, 11, .92) 0%, rgba(21, 15, 11, .1) 50%);
}
.chapter__word {
  position: absolute; left: var(--gutter); top: 13vh;
  font-family: var(--serif); font-size: clamp(60px, 13vw, 220px); line-height: .9; letter-spacing: -.015em;
  color: rgba(245, 239, 228, .94); white-space: nowrap; pointer-events: none; will-change: transform;
}
.chapter__index {
  position: absolute; right: var(--gutter); top: 14vh;
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); color: var(--gold);
}
.chapter__body {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 7vh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: end;
}
.chapter__title { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; max-width: 16ch; margin-top: 16px; }
.chapter__text { margin-top: 16px; max-width: 46ch; font-weight: 300; font-size: 15.5px; line-height: 1.75; color: var(--mute); }
.chapter__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.chapter__list li { border-top: 1px solid var(--line); padding: 11px 0; font-size: 14px; font-weight: 300; color: rgba(245, 239, 228, .88); }
.chapter__list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.chapter__link { margin-top: 26px; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px;
  padding: clamp(70px, 8vw, 110px) var(--gutter);
}
.stat__num { font-family: var(--serif); font-size: clamp(64px, 7vw, 120px); line-height: 1; color: var(--gold-soft); }
.stat__num sup { font-size: .42em; color: var(--brass); vertical-align: top; margin-left: 4px; }
.stat__label { margin-top: 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); max-width: 22ch; line-height: 1.7; }

/* ---------- Horizontal work gallery ---------- */
.work { background: var(--bg); overflow: hidden; }
.work__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(80px, 10vw, 140px) var(--gutter) 24px;
}
.work__title { font-size: clamp(44px, 6vw, 96px); max-width: 12ch; margin-top: 18px; }
.work__intro { max-width: 40ch; font-weight: 300; font-size: 15.5px; line-height: 1.7; color: var(--mute); }
.work__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.work__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); will-change: transform; }
.work__item { flex: none; width: min(70vw, 640px); }
.work__item--tall { width: min(48vw, 430px); }
.work__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--media-ground); }
.work__item--tall img { aspect-ratio: 3 / 4; }
.work__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.work__cap b { font-family: var(--serif); font-size: 21px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--cream); }
.work__end { flex: none; width: min(60vw, 480px); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: var(--gutter); }
.work__end p { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; max-width: 12ch; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.process__steps { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.process__intro { margin-bottom: 40px; }
.process__title { font-size: clamp(40px, 4.6vw, 72px); max-width: 12ch; margin-top: 18px; }
.step {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line); padding: 40px 0;
  opacity: .35; transition: opacity .7s var(--ease);
}
.step.is-active, .no-js .step, .no-gsap .step { opacity: 1; }
.step__num { font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--brass); }
.step__name { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; margin-top: 12px; }
.step__text { margin-top: 16px; max-width: 42ch; font-weight: 300; font-size: 15.5px; line-height: 1.75; color: var(--mute); }
.process__visual { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--media-ground); }
.process__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.process__visual img.is-active { opacity: 1; transform: none; }
.process__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 22, 16, .45), transparent 40%); pointer-events: none; }

/* ---------- Statement (vision, mission) ---------- */
.statement { position: relative; background: var(--bg); padding: clamp(100px, 12vw, 180px) var(--gutter); overflow: hidden; }
.statement::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/images/wood-grain-texture.webp") center / cover no-repeat;
  opacity: .07; mix-blend-mode: screen; pointer-events: none;
}
.statement__grid {
  position: relative; max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(48px, 7vw, 120px);
}
.statement__mark { display: block; margin: 26px 0 6px; font-family: var(--serif); font-size: 88px; line-height: .4; color: var(--brass); }
.statement__text { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 38px); line-height: 1.38; color: var(--cream-warm); text-wrap: pretty; }

/* ---------- Reasons (sand) ---------- */
.reasons { background: var(--sand); color: var(--ink); padding: clamp(90px, 11vw, 160px) var(--gutter); }
.reasons__inner { max-width: var(--content-max); margin: 0 auto; }
.reasons__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reasons .eyebrow { color: var(--brass); }
.reasons__title { font-size: clamp(40px, 5.4vw, 84px); max-width: 13ch; margin-top: 18px; color: var(--ink); }
.reasons__title em { color: var(--brass); }
.reasons__intro { max-width: 40ch; font-weight: 300; font-size: 16px; line-height: 1.75; color: #5C5145; }
.reasons__grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: clamp(32px, 5vw, 80px);
}
.reason {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: baseline;
  padding: 26px 6px; border-top: 1px solid var(--line-dark);
  transition: background-color .3s;
}
.reasons__list .reason:last-child { border-bottom: 1px solid var(--line-dark); }
.reason:hover { background: rgba(174, 139, 92, .1); }
.reason__num { font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); color: var(--brass); line-height: 1; }
.reason__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.reasons__strip { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.reasons__strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.reasons__strip figure:nth-child(2) img { aspect-ratio: 4 / 3; }

/* ---------- Commitment ---------- */
.commitment { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.commitment__media { position: relative; min-height: 70vh; overflow: hidden; background: var(--media-ground); }
.commitment__copy {
  padding: clamp(90px, 11vw, 150px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 52px;
}
.commitment__block h2 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 42px); line-height: 1.1; margin-top: 16px; }
.commitment__block p { margin-top: 16px; max-width: 48ch; font-weight: 300; font-size: 15.5px; line-height: 1.8; color: var(--mute); }
.commitment__quote {
  margin-top: 22px; border-left: 1px solid var(--brass); padding-left: 22px;
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; color: var(--gold); max-width: 30ch;
}

/* ---------- Page hero (Services, Enquiry) ---------- */
.page-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; clip-path: inset(0); display: flex; align-items: flex-end; background: var(--bg); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 15, 11, .6) 0%, rgba(21, 15, 11, .2) 45%, rgba(21, 15, 11, .92) 100%);
}
.page-hero__inner { position: relative; width: 100%; padding: 0 var(--gutter) 9vh; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.page-hero__word { font-size: clamp(60px, 12vw, 200px); line-height: .92; color: var(--cream); }
.page-hero__lede { max-width: 40ch; font-weight: 300; font-size: 16.5px; line-height: 1.75; color: var(--mute); padding-bottom: 1.2vh; }

/* ---------- Gallery grid (Services) ---------- */
.gallery { background: var(--bg); padding: clamp(90px, 11vw, 160px) var(--gutter); }
.gallery__inner { max-width: var(--content-max); margin: 0 auto; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.gallery__title { font-size: clamp(40px, 5vw, 80px); max-width: 12ch; margin-top: 18px; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 30vw, 440px); gap: clamp(12px, 1.8vw, 26px); }
.gallery__item { position: relative; overflow: hidden; background: var(--media-ground); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--4 { grid-column: span 4; }
.gallery__item--5 { grid-column: span 5; }
.gallery__item--7 { grid-column: span 7; }
.gallery__item--8 { grid-column: span 8; }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px;
  padding: 44px 20px 18px; color: var(--cream);
  background: linear-gradient(180deg, rgba(21, 15, 11, 0) 0%, rgba(21, 15, 11, .82) 100%);
}
.gallery__cap b { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; }
.gallery__cap span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }

/* ---------- Industries ---------- */
.industries { position: relative; background: var(--bg-2); padding: clamp(90px, 11vw, 160px) var(--gutter); overflow: hidden; }
.industries__bg { position: absolute; inset: 0; pointer-events: none; }
.industries__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.8s var(--ease); }
.industries__bg img.is-active { opacity: .38; transform: none; }
.industries__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 22, 16, .9), rgba(28, 22, 16, .35)); }
.industries__inner { position: relative; max-width: var(--content-max); margin: 0 auto; }
.industries__list { margin-top: 40px; }
.industries__list li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding: 28px 4px;
}
.industries__list li:last-child { border-bottom: 1px solid var(--line); }
.industries__name { font-family: var(--serif); font-size: clamp(34px, 5vw, 84px); line-height: 1; color: var(--cream); transition: color .3s, transform .5s var(--ease); }
.industries__list li:hover .industries__name { color: var(--gold); transform: translateX(12px); }
.industries__desc { font-weight: 300; font-size: 14px; color: var(--mute); }

/* ---------- Enquiry ---------- */
.enquiry { position: relative; z-index: 2; background: var(--bg); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.enquiry__grid {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(44px, 6vw, 100px); align-items: start;
}
.contact-list { display: flex; flex-direction: column; }
.contact-list .eyebrow { margin-bottom: 30px; }
.contact-row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); padding: 24px 4px; color: var(--cream);
  transition: background-color .3s, color .3s;
}
.contact-row--last { border-bottom: 1px solid var(--line); }
a.contact-row:hover { background: rgba(174, 139, 92, .1); color: var(--gold); }
.contact-row__key { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.contact-row__value { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 500; }
.contact-media { position: relative; aspect-ratio: 4 / 5; margin-top: 44px; overflow: hidden; background: var(--media-ground); width: min(100%, 520px); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }

.enquiry-card { background: var(--bg-3); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 52px); }
.enquiry-form { display: flex; flex-direction: column; gap: 26px; }
.enquiry-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 26px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field__name { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid rgba(245, 239, 228, .3); border-radius: 0;
  padding: 10px 2px; transition: border-color .25s;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23AE8B5C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 239, 228, .38); font-weight: 300; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.enquiry-form__submit {
  margin-top: 6px; align-self: flex-start;
  font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); background: var(--brass); padding: 19px 40px;
  transition: background-color .25s;
}
.enquiry-form__submit:hover { background: var(--brass-hover); }
.enquiry-sent { display: flex; flex-direction: column; gap: 18px; min-height: 420px; justify-content: center; text-align: center; }
.enquiry-sent__mark { font-family: var(--serif); font-size: 64px; color: var(--brass); line-height: 1; }
.enquiry-sent__title { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.enquiry-sent p { margin: 0 auto; max-width: 44ch; font-weight: 300; font-size: 15.5px; line-height: 1.7; color: var(--mute); }
.enquiry-sent__reset { margin: 10px auto 0; }

/* ---------- Call to action ---------- */
.cta { position: relative; min-height: 84vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--bg); }
.cta__media { position: absolute; inset: 0; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(21, 15, 11, .45), rgba(21, 15, 11, .9) 80%); pointer-events: none; }
.cta__inner { position: relative; padding: 120px var(--gutter); display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(46px, 7.5vw, 130px); max-width: 12ch; margin-top: 18px; }
.cta .btn { margin-top: 40px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--brass); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; width: max-content; animation: wg-marquee 34s linear infinite; }
.marquee__item { white-space: nowrap; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); padding-right: 24px; }

/* ---------- Footer (sand) ---------- */
.site-footer { background: var(--sand); color: var(--ink); }
.site-footer__inner { max-width: var(--content-max); margin: 0 auto; padding: clamp(60px, 7vw, 100px) var(--gutter) 36px; }
.site-footer__top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 44px;
  padding-bottom: 52px; border-bottom: 1px solid var(--line-dark);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { width: min(300px, 100%); }
.site-footer__brand p { font-weight: 300; font-size: 14.5px; line-height: 1.7; max-width: 34ch; color: #4A4036; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__heading { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.site-footer__col a { color: var(--ink); font-weight: 300; font-size: 15px; transition: color .25s; }
.site-footer__col a:hover { color: var(--brass); }
.site-footer__line { font-weight: 300; font-size: 15px; color: #4A4036; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; }
.site-footer__copy { font-size: 11.5px; letter-spacing: .14em; color: #6F6257; }
.site-footer__tag { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .gallery__item--4, .gallery__item--5, .gallery__item--7, .gallery__item--8 { grid-column: span 6; }
  .chapter__body { grid-template-columns: 1fr; gap: 24px; }
  .chapter__list { grid-template-columns: 1fr; max-width: 420px; }
  .chapter__list li:nth-last-child(-n+2) { border-bottom: 0; }
  .chapter__list li:last-child { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .split, .process, .commitment { grid-template-columns: 1fr; }
  .split__media { position: relative; height: 62vh; }
  .split__copy { min-height: 0; }
  .process__visual { display: none; }
  .step { min-height: 0; opacity: 1; }
  .commitment__media { min-height: 52vh; order: -1; }
  .work__pin { height: auto; display: block; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 40px; -webkit-overflow-scrolling: touch; }
  .work__track { transform: none !important; }
  .work__item { scroll-snap-align: start; width: min(78vw, 520px); }
  .work__item--tall { width: min(58vw, 380px); }
  .menu { grid-template-columns: 1fr; }
  .menu__aside { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .reasons__strip { grid-template-columns: 1fr 1fr; }
  .reasons__strip figure:nth-child(3) { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .chapter__hold { height: 45vh; }
  .chapter__hold--last { height: 30vh; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header__brand { justify-self: center; }
  .site-header__brand img { height: 34px; }
  .site-header__link, .menu-btn__label { display: none; }
  .site-header__cta { padding: 10px 14px; font-size: 10px; }
  .mosaic__wall { width: 260vw; }
  .mosaic__grid { grid-template-columns: repeat(5, 1fr); gap: 3vw; }
  .mosaic__tile:nth-child(n+31) { display: none; }
  .site-header__cta-long { display: none; }
  .site-header__cta-short { display: inline; }
  .mosaic__brand { top: 30%; width: min(230px, 62vw); }
  .mosaic__tag { top: 44%; bottom: auto; transform: none; max-width: 26ch; font-size: 14px; }
  .mosaic__title { bottom: 11vh; }
  .mosaic__cue { bottom: 4vh; }
  /* Chapters flow normally on phones: a chapter is taller than the screen, so stacking would hide its text. */
  .chapters::before { display: none; }
  .chapter { position: relative; top: auto; height: auto; min-height: 100svh; }
  .chapter__hold { display: none; }
  .chapter__media { position: absolute; inset: 0; }
  .chapter__word { font-size: clamp(46px, 16vw, 92px); top: 12vh; }
  .chapter__index { top: 12vh; }
  .chapter__body { position: relative; left: auto; right: auto; bottom: auto; padding: 36vh var(--gutter) 9vh; gap: 22px; }
  .chapter__list { max-width: none; }
  .reasons__strip { display: none; }
  .contact-media { aspect-ratio: 4 / 3; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 58vw, 320px); }
  .gallery__item--4, .gallery__item--5, .gallery__item--7, .gallery__item--8 { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic__cue svg, .marquee__track { animation: none; }
  .js [data-reveal] { transition: none; }
  .gallery__item img, .industries__name, .menu__link { transition: none; }
}
