/* Zircon Exports — site stylesheet
   Design system: walnut and brass, Lexend + Source Sans 3 + IBM Plex Mono, Playfair Display for the logo tagline.
   All colour, type and spacing values come from the tokens below. */

:root {
  /* Colour: walnut and brass (UI/UX Pro Max "Luxury/Premium" palette, warmed for timber) */
  --walnut-950: #0f0d0c;
  --walnut-900: #1c1917;
  --walnut-800: #292524;
  --walnut-700: #44403c;
  --mist: #f5f3ef;
  --paper: #fafaf9;
  --cloud: #e7e5e4;
  --line: #d6d3d1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #57534e;
  --on-dark: #fafaf9;
  --on-dark-muted: #c4bcb3;
  --rule: #a16207;
  --accent: #a16207;
  --accent-700: #854d0e;
  --accent-light: #e0b04a;
  --flag: #b42318;

  /* Type: "Corporate Trust" pairing */
  --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --fs-display: clamp(2.4rem, 5vw, 4.25rem);
  --fs-h1: clamp(2.2rem, 4.2vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 3.2vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.7vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3rem);
  --fs-body: 1.125rem;
  --fs-small: 1rem;
  --fs-label: 0.78rem;
  /* Space (spacious density) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: clamp(4.5rem, 9vw, 7.5rem);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--sand { background: var(--mist); }
.section--dark { background: var(--walnut-900); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 var(--s-4);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--accent-light); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.on-dark .lead, .section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.measure { max-width: 62ch; }

.section-head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .section-head--split p { margin: 0; }
}
.section-head h2 { margin: 0; }

/* Review flag for figures awaiting company confirmation (review builds only) */
.verify {
  display: inline-block; margin-left: 0.4em; padding: 0.05em 0.45em;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; vertical-align: middle; line-height: 1.6;
  color: var(--flag); border: 1px solid currentColor; border-radius: 2px; background: #fff;
  cursor: help; white-space: nowrap;
}
.review-banner {
  position: fixed; left: var(--s-3); bottom: var(--s-3); z-index: 60; max-width: 320px;
  background: #fff4e5; color: #6b3d00; border: 1px solid #f2c48d; border-radius: var(--radius);
  font-size: 0.8rem; line-height: 1.5; padding: var(--s-2) var(--s-3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.75rem 1.4rem;
  font: 600 0.975rem/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-700); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn--ghost, .section--dark .btn--ghost { color: var(--on-dark); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { background: var(--on-dark); color: var(--walnut-900); border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; text-decoration: none; color: var(--accent);
  border-bottom: 1px solid transparent; padding-block: 0.35rem; transition: border-color 0.2s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--accent-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--walnut-950); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--on-dark); flex: none; }
.brand svg { width: 46px; height: auto; color: var(--on-dark); }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); }
/* Heritage tagline under the logo: a serif italic set against the Lexend name */
.brand__sub--since { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em; text-transform: none; color: var(--accent-light); margin-top: 1px; font-variant-numeric: lining-nums; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--s-1); }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-size: 0.95rem; font-weight: 500; text-decoration: none; color: var(--on-dark);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 1px;
  background: var(--accent-light); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.sub-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -10px;
  background: none; border: 0; color: var(--on-dark); cursor: pointer; padding: 0;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.subnav {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 2px solid var(--accent);
  padding: var(--s-2) 0; box-shadow: 0 18px 40px rgba(15, 13, 12, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.subnav a {
  display: flex; justify-content: space-between; gap: var(--s-4); padding: 0.6rem 1.1rem;
  text-decoration: none; font-size: 0.95rem;
}
.subnav a span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.subnav a:hover { background: var(--mist); color: var(--accent-700); }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; place-items: center;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--on-dark); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: var(--s-5);
    background: var(--walnut-950); padding: var(--s-5) var(--gutter) var(--s-7);
    overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0s linear 0.28s;
  }
  .nav-open .nav { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
  .nav__link { flex: 1; min-height: 56px; font-size: 1.15rem; padding: 0; }
  .nav__link::after { display: none; }
  .sub-toggle { width: 56px; height: 56px; margin: 0; }
  .subnav {
    position: static; flex-basis: 100%; min-width: 0; display: none;
    opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; padding: 0 0 var(--s-3);
  }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: none; }
  .has-sub.is-open .subnav { display: block; }
  .subnav a { color: var(--on-dark); padding: 0.7rem 0 0.7rem var(--s-4); }
  .subnav a span { color: var(--on-dark-muted); }
  .subnav a:hover { background: transparent; color: var(--accent-light); }
  .nav .btn { width: 100%; }
}
@media (max-width: 420px) { .brand__sub:not(.brand__sub--since) { display: none; } }

/* ---------- Hero slider (home) ---------- */
.hero-slider {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background: var(--walnut-950);
  height: min(90vh, 860px); min-height: 600px;
}
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 13, 12, 0.92) 0%, rgba(15, 13, 12, 0.74) 45%, rgba(15, 13, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 13, 12, 0.75) 0%, rgba(15, 13, 12, 0) 40%);
}
.slide__inner { width: 100%; padding-block: var(--s-7) calc(var(--s-8) + 3rem); }
.slide__title { font-size: var(--fs-display); max-width: 16ch; margin-bottom: var(--s-5); color: var(--on-dark); }
.slide__title em { font-style: normal; color: var(--accent-light); }
.slide .lead { max-width: 54ch; color: #e7e1d8; margin-bottom: var(--s-6); }
.slide__credit {
  position: absolute; right: var(--gutter); bottom: var(--s-4); z-index: 2;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: rgba(250, 250, 249, 0.72);
}
.slide__credit a { color: inherit; }

/* Text and image motion for the active slide */
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide__media img { animation: kenburns 9s linear both; }
  .js .slide .slide__inner > * { opacity: 0; transform: translateY(18px); }
  .js .slide.is-active .slide__inner > * {
    opacity: 1; transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .slide.is-active .slide__inner > :nth-child(2) { transition-delay: 0.12s; }
  .js .slide.is-active .slide__inner > :nth-child(3) { transition-delay: 0.24s; }
  .js .slide.is-active .slide__inner > :nth-child(4) { transition-delay: 0.36s; }
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.slider-controls {
  position: absolute; left: 0; right: 0; bottom: var(--s-6); z-index: 3; display: none;
}
.js .slider-controls { display: block; }
.slider-controls .container { display: flex; align-items: center; gap: var(--s-4); }
.slider-dots { list-style: none; display: flex; gap: var(--s-2); flex: 1; max-width: 520px; }
.slider-dots li { flex: 1; }
.slider-dot {
  display: block; width: 100%; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  position: relative; color: var(--on-dark-muted); text-align: left;
}
.slider-dot::before, .slider-dot::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: rgba(255, 255, 255, 0.28);
}
.slider-dot::after { background: var(--accent-light); transform: scaleX(0); transform-origin: left; }
.slider-dot[aria-current="true"]::after { transform: scaleX(1); }
.is-playing .slider-dot[aria-current="true"]::after { animation: progress var(--slide-duration, 7s) linear both; }
.is-paused .slider-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: rgba(15, 13, 12, 0.35);
  color: var(--on-dark); cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn .icon-play { display: none; }
.is-paused .slider-btn--toggle .icon-play { display: block; }
.is-paused .slider-btn--toggle .icon-pause { display: none; }
.slider-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark-muted); min-width: 4.5ch; }
@media (max-width: 600px) {
  .hero-slider { height: auto; min-height: 640px; }
  .slide__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .slider-count { display: none; }
  .hero-slider .slide__credit { top: var(--s-3); bottom: auto; }
}

/* Stats band below the slider */
.stats-band { background: var(--walnut-900); color: var(--on-dark); }
.stats-band .stat-strip { margin-top: 0; border-top: 0; }
.stats-band .stat { padding-block: var(--s-6); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s-8); border-top: 1px solid var(--line-dark);
}
.stat { padding: var(--s-5) var(--s-5) 0 0; }
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--line-dark); }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--on-dark); }
.stat__value small { font-size: 0.5em; margin-left: 0.15em; color: var(--accent-light); }
.stat__label { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--on-dark-muted); }
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); margin-top: var(--s-5); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--walnut-900); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.page-hero__inner { padding-block: var(--s-8) var(--s-8); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero--image { min-height: 460px; display: flex; align-items: flex-end; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 13, 12, 0.93) 0%, rgba(15, 13, 12, 0.72) 55%, rgba(15, 13, 12, 0.35) 100%);
}
.page-hero--image .page-hero__inner { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero--image .page-hero__media img { animation: kenburns 14s ease-out both; }
}

/* ---------- On-site gallery ---------- */
.site-gallery { display: grid; gap: var(--s-4); grid-template-columns: repeat(12, 1fr); }
.site-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); grid-column: span 4; background: var(--walnut-900); }
.site-shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.site-shot:hover img { transform: scale(1.05); }
.site-shot--wide { grid-column: span 8; }
.site-shot--wide img { aspect-ratio: auto; min-height: 100%; }
.site-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-6) var(--s-5) var(--s-4);
  color: var(--on-dark); font-weight: 600;
  background: linear-gradient(0deg, rgba(15, 13, 12, 0.88), rgba(15, 13, 12, 0));
}
.site-shot figcaption span { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 2px; }
@media (max-width: 860px) { .site-shot, .site-shot--wide { grid-column: span 12; } .site-shot--wide img { aspect-ratio: 16 / 10; } }

.context-shot { margin: var(--s-6) 0 0; }
.context-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

.breadcrumb { margin-bottom: var(--s-5); font-size: var(--fs-small); color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); opacity: 0.6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Split / editorial blocks ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.media-frame--tall img { aspect-ratio: 4 / 5; }
.media-frame::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%;
  border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule); z-index: -1;
}
.caption { margin-top: var(--s-3); font-size: 0.82rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.02em; }
.on-dark .caption, .section--dark .caption { color: var(--on-dark-muted); }

/* ---------- Capacity spec sheet ---------- */
.spec-sheet { border-top: 2px solid var(--ink); }
.spec-sheet__row {
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: var(--s-4); align-items: baseline;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color 0.2s var(--ease), padding 0.2s var(--ease);
}
a.spec-sheet__row:hover { background: var(--mist); padding-inline: var(--s-3); }
.spec-sheet__no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.spec-sheet__name { font-weight: 600; }
.spec-sheet__val { font-family: var(--font-mono); font-size: 0.95rem; text-align: right; }
.spec-sheet__val small { display: block; font-size: 0.75rem; color: var(--muted); }
.spec-sheet__note { margin-top: var(--s-4); font-size: 0.85rem; color: var(--muted); }

/* ---------- Product mosaic (home + overview) ---------- */
.product-mosaic {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(12, 1fr);
}
.product-tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: var(--s-5); color: var(--on-dark); text-decoration: none;
  background: var(--walnut-800);
  grid-column: span 4;
}
.product-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.6s var(--ease);
}
.product-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15, 13, 12, 0.94) 0%, rgba(15, 13, 12, 0.55) 45%, rgba(15, 13, 12, 0.08) 100%);
  transition: background-color 0.3s var(--ease);
}
.product-tile:hover img { transform: scale(1.04); }
.product-tile__no { position: absolute; top: var(--s-5); left: var(--s-5); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent-light); }
.product-tile h3 { margin: 0 0 var(--s-2); font-size: clamp(1.35rem, 2vw, 1.75rem); }
.product-tile p { margin: 0; font-size: var(--fs-small); color: #ddd6cc; max-width: 40ch; }
.product-tile__meta {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark-muted);
}
.product-tile__meta svg { width: 18px; height: 18px; color: var(--accent-light); transition: transform 0.2s var(--ease); }
.product-tile:hover .product-tile__meta svg { transform: translateX(4px); }
.product-tile--feature { grid-column: span 7; grid-row: span 2; min-height: 520px; }
.product-tile--feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-tile--half { grid-column: span 5; }
.product-tile--wide { grid-column: span 6; }
.product-tile--quarter { grid-column: span 3; min-height: 340px; }
@media (max-width: 960px) {
  .product-tile, .product-tile--half, .product-tile--wide, .product-tile--quarter { grid-column: span 6; }
  .product-tile--feature { grid-column: span 12; grid-row: auto; min-height: 420px; }
}
@media (max-width: 600px) {
  .product-tile, .product-tile--half, .product-tile--wide, .product-tile--feature { grid-column: span 12; min-height: 280px; }
}

/* ---------- Timeline (legacy) ---------- */
.timeline { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { padding: var(--s-5) var(--s-5) var(--s-5) 0; border-top: 1px solid var(--line-dark); position: relative; }
.timeline li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-light);
}
.timeline__when { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: var(--s-2); }
.timeline h3 { font-size: 1.3rem; color: var(--on-dark); }
.timeline p { font-size: var(--fs-small); margin: 0; }

/* ---------- Lists ---------- */
.check-list { list-style: none; display: grid; gap: var(--s-3); }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); margin-top: 0.2rem; }
.section--dark .check-list svg { color: var(--accent-light); }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag-list li {
  padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
  font-size: var(--fs-small); font-weight: 500;
}

.machine-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.machine-list li { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.machine-list li::before { content: ""; width: 6px; height: 6px; background: var(--rule); flex: none; }

/* ---------- Capability rows (manufacturing) ---------- */
.cap-grid { display: grid; gap: var(--s-6) var(--s-7); }
@media (min-width: 760px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cap-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.cap { border-top: 1px solid var(--line); padding-top: var(--s-5); }
.section--dark .cap { border-color: var(--line-dark); }
.cap__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: var(--s-4); }
.section--dark .cap__icon { color: var(--accent-light); }
.cap h3 { font-size: 1.3rem; }
.cap p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.section--dark .cap p { color: var(--on-dark-muted); }

/* ---------- Industries ---------- */
.industry-list { list-style: none; border-top: 1px solid var(--line); }
.industry {
  display: grid; gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .industry { grid-template-columns: 3rem 1.1fr 1.4fr 1fr; align-items: baseline; } }
.industry__no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.industry h3 { margin: 0; font-size: 1.35rem; }
.industry p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.industry__products { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-700); letter-spacing: 0.02em; }

/* ---------- Clients ---------- */
.logo-wall {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.logo-wall li {
  display: grid; place-items: center; aspect-ratio: 5 / 2.6; padding: var(--s-4);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff;
}
.logo-wall img { max-height: 64px; width: auto; filter: grayscale(1) contrast(1.05); opacity: 0.82; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.logo-wall li:hover img { filter: none; opacity: 1; }
.client-names { list-style: none; columns: 2 220px; column-gap: var(--s-6); }
.client-names li { break-inside: avoid; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.client-groups { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .client-groups { grid-template-columns: repeat(2, 1fr); } }
.client-group h3 { font-size: 1.25rem; padding-bottom: var(--s-3); border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.client-group ul { list-style: none; }
.client-group li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-top: var(--s-5); }

/* ---------- Why choose ---------- */
.reasons { display: grid; gap: var(--s-6); counter-reset: reason; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-8); } }
.reason { counter-increment: reason; display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); }
.reason::before {
  content: counter(reason, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--rule);
}
.reason h3 { font-size: 1.35rem; margin-bottom: var(--s-2); }
.reason p { margin: 0; color: var(--ink-2); }

/* ---------- People (about) ---------- */
.people { list-style: none; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.person__mono {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--walnut-800); color: var(--accent-light); font-family: var(--font-display); font-size: 1.15rem;
}
.person__name { font-weight: 600; line-height: 1.3; }
.person__role { font-size: 0.85rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.product-hero { background: var(--walnut-900); color: var(--on-dark); }
.product-hero__grid { display: grid; gap: var(--s-7); padding-block: var(--s-8); align-items: center; }
@media (min-width: 960px) { .product-hero__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.product-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.capacity-badge {
  display: inline-grid; gap: 2px; padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6);
  border-left: 3px solid var(--accent-light); background: rgba(255, 255, 255, 0.06);
}
.capacity-badge__label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.capacity-badge__value { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.spec-table caption { text-align: left; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: var(--s-3); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--ink); }
.spec-table th { width: 38%; font-weight: 600; color: var(--ink-2); }
.spec-table td { font-family: var(--font-mono); font-size: 0.9rem; }

.detail-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); } }
.detail-block + .detail-block { margin-top: var(--s-7); }
.detail-block h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

.related { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related .product-tile { min-height: 260px; grid-column: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .container { display: grid; gap: var(--s-5); padding-block: var(--s-8); align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin: 0 0 var(--s-2); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-band p { margin: 0; color: #fbf1dc; }
.cta-band .btn--ghost { color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--accent-700); border-color: #fff; }
.cta-band .btn--light { background: #fff; color: var(--accent-700); }
.cta-band .btn--light:hover { background: var(--mist); }

/* ---------- Enquiry form ---------- */
.enquiry { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .enquiry { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } }
.contact-points { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-point { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.contact-point svg { width: 22px; height: 22px; color: var(--accent-light); margin-top: 0.15rem; }
.section:not(.section--dark) .contact-point svg { color: var(--accent); }
.contact-point a { text-decoration: none; font-weight: 500; }
.contact-point a:hover { text-decoration: underline; }
.contact-point__label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }

.form { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius); border: 1px solid var(--line); }
.form h3 { margin-bottom: var(--s-2); }
.section--dark .form p, .form .muted, .form__note { color: var(--muted); }
.form a { color: var(--accent-700); }
.form__grid { display: grid; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: 0.9rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #a8a29e; border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(161, 98, 7, 0.25); }
.field [aria-invalid="true"] { border-color: var(--flag); }
.field__error { font-size: 0.85rem; color: var(--flag); min-height: 0; }
.field__error:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 0; max-width: 46ch; }
.form__status { margin-top: var(--s-4); font-size: 0.95rem; }
.form__status:empty { display: none; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- Offices (contact) ---------- */
.offices { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .offices { grid-template-columns: 1fr 1fr; } }
.office { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--walnut-800); padding: var(--s-6); border-radius: var(--radius); }
.office h3 { font-size: 1.35rem; }
.office address { font-style: normal; color: var(--ink-2); margin-bottom: var(--s-4); }
.office dl { margin: 0 0 var(--s-4); display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); font-size: var(--fs-small); }
.office dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.office dd { margin: 0; }
.office a { text-decoration: none; font-weight: 500; }
.office a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut-950); color: var(--on-dark-muted); font-size: var(--fs-small); }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-light); }
.footer__top { display: grid; gap: var(--s-7); padding-block: var(--s-8) var(--s-7); }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__brand p { max-width: 38ch; margin-top: var(--s-4); }
.site-footer h2 { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: var(--s-4); }
.footer__links { list-style: none; display: grid; gap: var(--s-1); }
.footer__links a { display: inline-block; padding: 0.3rem 0; }
.footer__contact address { font-style: normal; margin-bottom: var(--s-4); }
.footer__contact p { margin-bottom: var(--s-2); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: 0.82rem; }

/* ---------- Motion ----------
   Everything below runs only when JavaScript is on (.js) and the visitor has not asked for reduced motion.
   Without either, all content renders in its final state. */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: var(--accent-light); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* Header tightens once the page is scrolled */
.site-header { transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.site-header .container { transition: height 0.3s var(--ease); }
html.is-scrolled { --header-h: 64px; }
html.is-scrolled .site-header { box-shadow: 0 10px 30px rgba(15, 13, 12, 0.35); }
.brand svg { transition: width 0.3s var(--ease); }
html.is-scrolled .brand svg { width: 38px; }

/* Client logo marquee (home page) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { list-style: none; display: flex; flex: none; }
.marquee__group li { display: grid; place-items: center; width: 210px; height: 110px; padding: var(--s-4) var(--s-5); border-right: 1px solid var(--line); }
.marquee__group img { max-height: 58px; width: auto; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.marquee__group li:hover img { filter: none; opacity: 1; }
.marquee__controls { display: flex; justify-content: flex-end; margin-top: var(--s-3); }
.marquee__toggle { background: none; border: 0; padding: 0.5rem 0; min-height: 44px; font: 600 0.9rem var(--font-body); color: var(--accent); cursor: pointer; }
.marquee__toggle:hover { text-decoration: underline; }
.marquee__group[aria-hidden="true"], .marquee__controls { display: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Reveal variants. Delay comes from --d, which the script sets for staggered siblings. */
  .js .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.7s var(--ease-out) var(--d, 0s), transform 0.8s var(--ease-out) var(--d, 0s), clip-path 0.9s var(--ease-out) var(--d, 0s);
  }
  .js .reveal[data-anim="left"] { transform: translateX(-40px); }
  .js .reveal[data-anim="right"] { transform: translateX(40px); }
  .js .reveal[data-anim="zoom"] { transform: scale(0.94); }
  .js .reveal[data-anim="wipe"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
  .js .reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

  /* Product tiles: the image settles from a slight zoom as the tile wipes in */
  .js .product-tile.reveal img { transform: scale(1.15); transition: transform 1.4s var(--ease-out) var(--d, 0s); }
  .js .product-tile.reveal.is-visible img { transform: scale(1); }
  .js .product-tile.reveal.is-visible:hover img { transform: scale(1.04); transition-delay: 0s; transition-duration: 0.6s; }

  /* Word-by-word headline reveal */
  .js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .js .split-words .w__i { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s)); }
  .js .split-words.is-visible .w__i,
  .js .slide.is-active .split-words .w__i { transform: none; }
  .js .slide .split-words .w__i { transition-delay: calc(var(--i, 0) * 70ms + 0.15s); }

  /* Timeline: the rule draws across, then each step lights up */
  .js .timeline { position: relative; }
  .js .timeline li { border-top-color: transparent; }
  .js .timeline::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark);
    transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out);
  }
  .js .timeline.is-visible::before { transform: scaleX(1); }
  .js .timeline li::before { transform: scale(0); transition: transform 0.5s var(--ease-out) calc(var(--d, 0s) + 0.3s); }
  .js .timeline li.is-visible::before { transform: scale(1); box-shadow: 0 0 0 6px rgba(224, 176, 74, 0.2); }

  /* Parallax layers get extra room so the edges never show */
  .js [data-parallax] { will-change: transform; }
  .js .page-hero__media[data-parallax] { inset: -12% 0; }

  /* Slow-moving client marquee; pauses on hover or focus, or when the visitor presses pause */
  .js .marquee__group[aria-hidden="true"] { display: flex; }
  .js .marquee__controls { display: flex; }
  .js .marquee__track { animation: marquee 38s linear infinite; }
  .js .marquee:hover .marquee__track, .js .marquee:focus-within .marquee__track, .js .marquee.is-paused .marquee__track { animation-play-state: paused; }

  /* Buttons: a light sweep on hover */
  .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
  .btn--primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
  }
  .btn--primary:hover::after { transform: translateX(120%); }

  /* Soft cross-fade between pages in browsers that support view transitions */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.25s ease both vt-out; }
  ::view-transition-new(root) { animation: 0.35s ease both vt-in; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Reduced motion: the marquee becomes a static, wrapping logo row */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav, .cta-band, .form, .site-footer .footer__links { display: none !important; }
  .hero, .page-hero, .product-hero, .section--dark { background: none !important; color: #000 !important; }
  .hero::before, .page-hero--image::before { display: none; }
}

@media (prefers-reduced-motion: no-preference) { .js .slide__media[data-parallax] { inset: -10% 0; } }


/* Brass text on the warm grey sections uses the darker stop to keep 4.5:1 contrast */
.section--sand .eyebrow, .section--sand .link-arrow { color: var(--accent-700); }


/* Company profile download in the main menu */
.nav__link--pdf { gap: 6px; }
.nav__link--pdf svg { width: 16px; height: 16px; color: var(--accent-light); }
@media (min-width: 1081px) and (max-width: 1240px) { .nav__link { padding: 0 var(--s-2); font-size: 0.9rem; } .nav { gap: var(--s-3); } }


/* ---------- Video clips and timber photo strip ---------- */
.video-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.video-card { margin: 0; }
.video-card__frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--walnut-950); aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__toggle {
  position: absolute; right: var(--s-3); bottom: var(--s-3); width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(15, 13, 12, 0.6); color: #fff;
  transition: background-color 0.2s var(--ease);
}
.video-card__toggle:hover { background: var(--accent); border-color: var(--accent); }
.video-card__toggle svg { width: 18px; height: 18px; }
.video-card__toggle .icon-pause { display: none; }
.video-card.is-playing .video-card__toggle .icon-pause { display: block; }
.video-card.is-playing .video-card__toggle .icon-play { display: none; }
.video-card figcaption { display: grid; gap: 2px; margin-top: var(--s-3); }
.video-card figcaption strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--on-dark); }
.video-card figcaption span { color: var(--on-dark-muted); font-size: var(--fs-small); }
.video-card figcaption small, .timber-shot small { font-size: 0.75rem; color: var(--on-dark-muted); opacity: 0.85; }
.video-card figcaption a, .timber-shot a { color: inherit; }

.timber-strip { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, 1fr); margin-top: var(--s-7); }
@media (max-width: 900px) { .timber-strip { grid-template-columns: repeat(2, 1fr); } }
.timber-shot { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.timber-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s var(--ease); }
.timber-shot:hover img { transform: scale(1.05); }
.timber-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px;
  padding: var(--s-6) var(--s-4) var(--s-3); color: var(--on-dark); font-size: 0.95rem; font-weight: 600; line-height: 1.3;
  background: linear-gradient(0deg, rgba(15, 13, 12, 0.88), rgba(15, 13, 12, 0));
}
.timber-shot figcaption small { font-weight: 400; }

/* Side entrances can push past a phone's edge before they play; use a rise instead and clip any stray overflow */
main { overflow-x: clip; }
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) { .js .reveal[data-anim="left"], .js .reveal[data-anim="right"] { transform: translateY(16px); } .js .reveal.is-visible[data-anim] { transform: none; } }


/* A dismissed dropdown stays closed while it is still hovered or focused */
.has-sub.is-dismissed .subnav { opacity: 0; visibility: hidden; transform: translateY(6px); }
@media (max-width: 1080px) { .has-sub.is-dismissed .subnav { display: none; } }


/* ---------- Hero video slide ---------- */
.slide__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Warehouse, yard and processing grid ---------- */
.yard-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
.yard-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--walnut-900); }
.yard-shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.yard-shot:hover img { transform: scale(1.05); }
.yard-shot--wide { grid-column: span 2; grid-row: span 2; }
.yard-shot--wide img { aspect-ratio: auto; }
.yard-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-6) var(--s-4) var(--s-3);
  color: var(--on-dark); font-weight: 600;
  background: linear-gradient(0deg, rgba(15, 13, 12, 0.85), rgba(15, 13, 12, 0));
}
@media (max-width: 760px) {
  .yard-grid { grid-template-columns: 1fr 1fr; }
  .yard-shot--wide { grid-column: span 2; grid-row: auto; }
  .yard-shot--wide img { aspect-ratio: 16 / 10; }
}
