/* ============================================================
   NOUVEAU CARPENTRY
   Palette: hunter green + metallic silver + warm off-white
   Type:    Bodoni Moda (display) / Jost (body)
   ============================================================ */

:root {
  /* --- Brand greens --- */
  --green-900: #10201a;
  --green-800: #16281f;
  --green-700: #1e3a2f;   /* primary — from logo */
  --green-600: #285043;
  --green-500: #386757;

  /* --- Metallic silver --- */
  --silver-100: #f2f5f3;
  --silver-200: #dfe4e0;
  --silver-300: #c2c8c3;
  --silver-400: #aab0ac;
  --silver-500: #8b938d;

  /* --- Neutrals / paper --- */
  --paper:      #f6f4ef;   /* warm off-white */
  --paper-2:    #eeece5;
  --ink:        #1a1e1b;
  --ink-soft:   #4a524c;
  --ink-muted:  #79817b;
  --line:       #d9d6cd;

  /* --- Semantic --- */
  --bg: var(--paper);
  --fg: var(--ink);
  --accent: var(--green-700);

  /* --- Type --- */
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- Spacing scale (8pt) --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }

/* ------------------------------------------------------------ Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }

/* ------------------------------------------------------------ Metallic text */
.brand-name,
.stat-num,
.brand-mark {
  /* used via specific rules below */
}
.metal {
  background: linear-gradient(135deg, var(--silver-100) 0%, var(--silver-400) 38%, var(--silver-200) 58%, var(--silver-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn-lg { font-size: 0.98rem; padding: 1.05em 1.9em; }
.btn-primary { background: var(--green-700); color: var(--paper); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(26,30,27,.4); }
.btn-outline:hover { border-color: var(--green-700); color: var(--green-700); background: rgba(30,58,47,.04); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.08); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green-500); outline-offset: 3px;
}

/* ------------------------------------------------------------ Eyebrow / titles */
.eyebrow {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-2);
}
.hero .eyebrow, .cta .eyebrow { color: var(--silver-200); }
.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
}
.section-note { margin-top: var(--space-2); color: var(--ink-soft); font-size: 1.05rem; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: var(--space-2);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: var(--space-3); }
.site-header.scrolled {
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.65rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: 3px; padding-left: 2px;
}
/* On dark hero, header text is light until scrolled */
.site-header:not(.scrolled) .brand-name { color: var(--paper); }
.site-header:not(.scrolled) .brand-sub { color: var(--silver-300); }
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.82); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }
.site-header:not(.scrolled) .header-cta { color: var(--paper); border-color: rgba(255,255,255,.35); }
.site-header:not(.scrolled) .header-cta:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.nav { display: flex; gap: var(--space-3); margin-left: auto; }
.nav a {
  font-size: 0.92rem; font-weight: 400; letter-spacing: 0.03em;
  color: var(--ink-soft); position: relative; padding-block: 4px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .3s var(--ease);
}
.nav a:hover { color: var(--green-700); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: var(--space-1); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--fg); margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--paper); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--green-800);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: var(--space-4); text-align: center;
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: var(--paper); font-family: var(--font-display); font-size: 1.8rem; }
.mobile-menu .btn { font-family: var(--font-body); font-size: 1rem; }

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(4rem, 9vh, 9.5rem);
  color: var(--paper);
  overflow: hidden;
}
/* Refined, understated hero buttons — both same size so they stay balanced */
.hero-actions .btn { padding: 0.85em 1.55em; font-size: 0.92rem; }
.hero-media {
  position: absolute; inset: 0;
  background-color: var(--green-900);
  /* Poster frame of the hero film — instant first paint, and the mobile/fallback image. */
  background-image: url("images/hero-poster.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Light green cohesion tint over BOTH the video and the poster — kept subtle so the
   wardrobes stay bright and clear; the .hero-scrim handles text legibility on the left. */
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(16,32,26,.18) 0%, rgba(8,16,12,.12) 100%);
}
/* Cinematic crossfade slideshow of our own finished work */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 34%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroKen 7.5s ease-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.04); }
  to   { transform: scale(1.13); }
}
/* Green tint over the slides for brand cohesion */
.hero-slides::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(16,32,26,.30) 0%, rgba(8,16,12,.22) 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-video.ready { opacity: 1; }
/* The photo's slow drift is redundant once the video is playing */
.hero-media.has-video { animation: none; transform: none; }
.hero-grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(92deg, rgba(255,255,255,.05) 0 2px, transparent 2px 5px);
}
.hero-scrim {
  position: absolute; inset: 0;
  /* L-shaped scrim: dark clear zone on the left/bottom for text; room glows top-right */
  background:
    linear-gradient(100deg, rgba(8,16,12,.95) 0%, rgba(8,16,12,.74) 32%, rgba(8,16,12,.22) 62%, rgba(8,16,12,0) 82%),
    linear-gradient(to top, rgba(8,16,12,.80) 0%, rgba(8,16,12,.22) 34%, transparent 55%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--container); }
.hero-content .eyebrow,
.hero-title,
.hero-lead { text-shadow: 0 2px 22px rgba(8,16,12,.6), 0 1px 3px rgba(8,16,12,.45); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -0.012em;
  margin-bottom: var(--space-3);
  max-width: 740px;
  text-wrap: balance;
}
/* Italic second line slightly smaller, sitting close under the first for a connected pair */
.hero-title .serif-italic { font-size: 0.9em; display: block; margin-top: 0.06em; }
.hero-title span { display: block; }
.serif-italic { font-style: italic; font-weight: 400; color: var(--silver-200); }
.hero-lead {
  max-width: 34ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.9); font-weight: 300; line-height: 1.6;
  margin-bottom: var(--space-5); text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scroll-cue svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* Hide the scroll cue where the tall hero content would collide with it */
@media (max-width: 860px), (max-height: 820px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------ Real images fill their slots */
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ------------------------------------------------------------ Placeholder blocks */
.ph { position: relative; background: linear-gradient(135deg, var(--paper-2), #e4e1d7); overflow: hidden; }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(30,58,47,.05) 0 10px, transparent 10px 20px);
}
.ph[data-ph]::after {
  content: "▸ " attr(data-ph);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 80%; text-align: center;
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--green-600); opacity: .7; line-height: 1.4;
}

/* ------------------------------------------------------------ Intro statement */
.intro { background: var(--paper); }
.intro-grid { display: grid; gap: var(--space-4); }
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 400; line-height: 1.3; max-width: 26ch;
}
.statement em { font-style: italic; color: var(--green-600); }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.5fr 1fr; align-items: start; column-gap: var(--space-5); row-gap: var(--space-3); }
  .intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
  .statement { max-width: 22ch; }
  /* Anchor the supporting note to the statement's first line, not the column's raw top */
  .intro-meta { padding-top: 0.5rem; }
}
.intro-meta p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; margin-bottom: var(--space-2); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 500; letter-spacing: 0.03em; color: var(--green-700);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 0.9em; border-color: var(--green-700); }

/* ------------------------------------------------------------ Services */
.services { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.service-list { display: flex; flex-direction: column; gap: var(--space-5); }
.service {
  display: grid; gap: var(--space-4); align-items: center;
  padding-top: var(--space-5); border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; padding-top: 0; }
.service-media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.service-num {
  font-family: var(--font-display); font-size: 1rem; color: var(--silver-500);
  letter-spacing: 0.1em; display: block; margin-bottom: var(--space-1);
}
.service-body h3 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: var(--space-2);
}
.service-body > p { color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; margin-bottom: var(--space-3); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-tags li {
  font-size: 0.82rem; letter-spacing: 0.02em; color: var(--green-700);
  background: rgba(30,58,47,.07); border: 1px solid rgba(30,58,47,.14);
  padding: 0.4em 0.9em; border-radius: 100px;
}
@media (min-width: 820px) {
  .service { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); align-items: center; }
  .service:nth-child(even) .service-media { order: 2; }
  /* Text hugs the image side so the pair reads as one unit, not two stranded halves */
  .service-body { max-width: 30rem; }
  .service:nth-child(even) .service-body { margin-left: auto; }
}

/* ------------------------------------------------------------ About */
.about { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
/* Centred, editorial layout */
.about-inner { max-width: 880px; margin-inline: auto; text-align: center; }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.18;
  margin-bottom: var(--space-4);
}
.about-copy p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  max-width: 68ch;
  margin-inline: auto;
}
.about-copy p + p { margin-top: var(--space-3); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: var(--space-6) auto var(--space-5);
  max-width: 620px;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Craft images beneath the copy */
.about-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.about-shot { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.about-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.about-shot:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .about-gallery { grid-template-columns: 1fr; } }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600; color: var(--green-700); line-height: 1;
}
.stat-plus { color: var(--silver-500); }
.stat-label { font-size: 0.85rem; letter-spacing: 0.03em; color: var(--ink-muted); margin-top: 6px; }

/* ------------------------------------------------------------ Quote */
.quote { background: var(--green-700); color: var(--paper); text-align: center; }
.quote blockquote { max-width: 900px; margin-inline: auto; }
.quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.3;
}
.quote footer { margin-top: var(--space-3); font-size: 0.9rem; letter-spacing: 0.06em; color: var(--silver-200); text-transform: uppercase; }

/* ------------------------------------------------------------ CTA */
.cta { background: var(--green-900); color: var(--paper); text-align: center; }
.cta-inner { max-width: 720px; margin-inline: auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; margin-block: var(--space-2) var(--space-3); }
.cta-lead { color: rgba(255,255,255,.8); font-size: 1.1rem; font-weight: 300; margin-bottom: var(--space-4); max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.cta .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.35); }
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding-block: var(--space-6) var(--space-3); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-sub { color: var(--silver-400); }
.footer-brand p { margin-top: var(--space-2); max-width: 30ch; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-300); margin-bottom: var(--space-2); font-weight: 500; }
.footer-col a { display: block; padding: 4px 0; font-size: 0.95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-muted { color: rgba(255,255,255,.5); font-size: 0.9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.08); font-size: 0.82rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: var(--space-5); } }

.ph-note { color: #c9a24a; font-size: 0.85em; letter-spacing: 0; }

/* ------------------------------------------------------------ Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive header */
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue svg { animation: none; }
  /* Freeze the hero on its first frame — no crossfade, no zoom */
  .hero-slide { transition: none; }
  .hero-slide.is-active { animation: none; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   PAGE REDESIGN — shared components (green + cream)
   ============================================================ */

/* --- Buttons for dark/green surfaces --- */
.btn-cream { background: var(--paper); color: var(--green-800); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* --- Eyebrow on dark --- */
.eyebrow--light { color: var(--silver-200); }

/* --- Centred section head --- */
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head--center .section-note { margin-inline: auto; }

.center { text-align: center; }

/* ------------------------------------------------------------ Intro (centred) */
.intro { background: var(--paper); text-align: center; position: relative; overflow: hidden; padding-block: clamp(1.75rem, 3.5vw, 3rem); }
.intro-inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.intro-mark { margin-bottom: var(--space-1); opacity: .5; height: 24px; width: auto; display: block; }
.intro-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500; line-height: 1.14; margin-bottom: var(--space-2);
}
.intro-lead { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; max-width: 56ch; margin: 0 auto var(--space-2); }
.intro-note { font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--green-600); letter-spacing: .01em; margin: 0 auto var(--space-3); }
.intro .btn { padding: 0.7em 1.35em; font-size: 0.86rem; letter-spacing: 0.05em; }
.intro-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.05rem;
  margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted);
}
.intro-strip span { line-height: 1; }
.intro-strip i { color: var(--green-500); font-style: normal; line-height: 1; transform: translateY(-1px); }

/* ------------------------------------------------------------ Split panels (image + green) */
.split { display: grid; grid-template-columns: 1fr; }
.split-media { position: relative; min-height: 300px; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-panel { background: var(--green-700); color: var(--paper); display: flex; align-items: center; }
.split-panel-inner { padding: clamp(2.5rem, 5vw, 5rem); max-width: 640px; }
.split-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500; line-height: 1.14; margin: var(--space-2) 0 var(--space-3);
}
.split-text { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--space-4); }
/* Trust stats — three compact green cards on the light intro ground */
.intro-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 100%; max-width: 480px; margin: var(--space-2) auto var(--space-4);
}
.intro-stats > div {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  text-align: center; background: var(--green-700); color: var(--paper);
  border-radius: var(--radius); padding: 0.9rem 0.5rem;
}
.intro-stats .stat-num { color: var(--paper); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.intro-stats .stat-plus { color: var(--silver-300); }
.intro-stats .stat-label { color: rgba(255,255,255,.72); font-size: 0.72rem; margin-top: 0; }
@media (max-width: 480px) { .intro-stats { max-width: 300px; } }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-left .split-media { order: 0; }
  .split--media-left .split-panel { order: 1; }
  .split--media-right .split-panel { order: 0; }
  .split--media-right .split-media { order: 1; }
}

/* --- "From concept to completion" journey split --- */
.split--journey { overflow: hidden; } /* clips the horizontal slide-in */
.split--journey .split-media { min-height: 440px; }
.split--journey .split-panel-inner { max-width: 560px; padding-block: clamp(3rem, 6vw, 5.5rem); }
.split--journey .split-title { margin: var(--space-2) 0 var(--space-3); line-height: 1.02; }
.split-lead {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55;
  color: rgba(255,255,255,.9); max-width: 34ch; margin-bottom: var(--space-3);
}
.split--journey .split-text { max-width: 37ch; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.78); }
/* Numbered process steps, styled for the dark green panel */
.journey-steps { list-style: none; margin: var(--space-4) 0 var(--space-5); padding: 0; display: grid; gap: 1.35rem; }
.journey-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.14); }
.journey-steps li:first-child { padding-top: 0; border-top: 0; }
.journey-steps .js-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--silver-300); line-height: 1; }
.journey-steps h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--paper); margin: 0 0 0.3rem; }
.journey-steps p { color: rgba(255,255,255,.72); font-size: 0.94rem; line-height: 1.6; margin: 0; max-width: 44ch; }
/* Slightly shorter, narrower button for a more elegant feel */
.split--journey .btn-cream { padding: 0.72em 1.3em; font-size: 0.85rem; }
/* Slow zoom + parallax on scroll (JS sets --parY / --zoom).
   Anchored to the bottom so the foreground drawings + rule stay visible throughout. */
.split--journey .split-media img {
  object-position: center 62%;
  transform-origin: center bottom;
  transform: translateY(var(--parY, 0px)) scale(var(--zoom, 1.04));
  will-change: transform;
}
@media (min-width: 860px) { .split--journey .split-media { min-height: 560px; } }

/* Horizontal reveal — image and green panel drift gently toward each other */
.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--left.in, .reveal--right.in { transform: none; }

/* Button arrow nudge on hover */
.btn .btn-arrow { display: inline-block; margin-left: .5em; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .split--journey .split-media img { transform: none; }
  .reveal--left, .reveal--right { transform: none; }
}

/* ------------------------------------------------------------ Services cards */
.services { background: var(--paper); padding-top: clamp(2.5rem, 4vw, 3.5rem); }
/* Each service is its own deep-green panel with a large image — cream gaps between,
   no single merged container */
.services .container { max-width: 1200px; padding-inline: clamp(1.25rem, 3vw, 3rem); }
.services .section-title { color: var(--green-700); }
.services .section-head { margin-bottom: var(--space-4); }
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem); align-items: stretch;
}
.card {
  background: var(--green-800); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
}
/* Staggered reveal — soft upward fade, left to right */
.cards .card:nth-child(1) { --d: 0ms; }
.cards .card:nth-child(2) { --d: 110ms; }
.cards .card:nth-child(3) { --d: 220ms; }
.cards .card:nth-child(4) { --d: 330ms; }
/* Large full-width project image across the top of each panel */
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
/* Registered props: hover scale/lift transitions smoothly and composes with the
   JS-driven scroll parallax (--parY) + zoom (--zoom) without transform conflicts */
@property --hovSc { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --hovY  { syntax: "<length>"; inherits: false; initial-value: 0px; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform;
  transform: translateY(calc(var(--parY, 0px) + var(--hovY))) scale(calc(var(--zoom, 1) * var(--hovSc)));
  transition: --hovSc .8s var(--ease), --hovY .8s var(--ease);
}
.card:hover .card-media img { --hovSc: 1.05; --hovY: -6px; }
.card-body { padding: clamp(1.5rem, 2.4vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.6rem; color: var(--paper); min-height: 2.4em; }
.card-body p { color: rgba(238,236,229,.82); font-size: 0.98rem; line-height: 1.65; margin-bottom: var(--space-3); flex: 1; }
.card-link { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(238,236,229,.66); margin-top: auto; }
.card-link:hover { color: var(--paper); }
.card-link span { transition: transform .3s var(--ease); display: inline-block; }
.card-link:hover span { transform: translateX(4px); }
/* Reduced motion: no scroll zoom/parallax, no hover shift */
@media (prefers-reduced-motion: reduce) {
  .card-media img { transform: none; }
  .card:hover .card-media img { --hovSc: 1; --hovY: 0px; }
}
@media (max-width: 640px) {
  .services .container { padding-inline: 1rem; }
  .cards { grid-template-columns: 1fr; gap: var(--space-4); }
  .card-body h3 { min-height: 0; }
}

/* ============================================================ Brand logo (real logo) */
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark { display: block; }
.qavatar img { width: 22px; height: auto; display: block; }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: var(--space-2); }
@media (max-width: 860px) { .brand-logo { height: 34px; } }

/* ------------------------------------------------------------ Featured project (light) */
.featured { display: grid; grid-template-columns: 1fr; background: var(--paper-2); }
.featured-panel { background: var(--paper-2); color: var(--green-800); display: flex; align-items: center; }
.featured-panel-inner { padding: clamp(2.5rem, 5vw, 5rem); max-width: 640px; margin-left: auto; }
.featured .eyebrow--light { color: var(--green-600); }
.featured-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; margin: var(--space-2) 0 var(--space-3); color: var(--green-800); }
.featured-text { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--space-3); }
.featured-specs { display: grid; gap: 0.5rem; margin-bottom: var(--space-3); }
.featured-specs li { position: relative; padding-left: 1.4rem; color: var(--green-700); font-size: 0.98rem; }
.featured-specs li::before { content: "▸"; position: absolute; left: 0; color: var(--green-600); }
.featured-media { position: relative; min-height: 320px; overflow: hidden; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .featured { grid-template-columns: 1fr 1fr; } }

/* Accordion */
.accordion { border-top: 1px solid var(--line); margin-bottom: var(--space-4); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: none; border: 0; cursor: pointer; color: var(--green-800);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0; font-family: var(--font-display); font-size: 1.1rem; text-align: left;
}
.acc-ico { position: relative; width: 14px; height: 14px; flex: none; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; background: var(--green-600); transition: transform .3s var(--ease); }
.acc-ico::before { left: 0; top: 6px; width: 14px; height: 2px; }
.acc-ico::after { left: 6px; top: 0; width: 2px; height: 14px; }
.acc-item.is-open .acc-ico::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-body-inner { padding: 0 0 1.15rem; }
.acc-body p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.7; padding: 0; margin: 0; }

/* Light panel — solid green button stays visible (cream would vanish on the light bg) */
.featured .btn-cream { background: var(--green-700); color: var(--paper); }
.featured .btn-cream:hover { background: var(--green-600); transform: translateY(-2px); }

/* Refined smaller cream button */
.btn-cream--sm { padding: 0.62em 1.2em; font-size: 0.82rem; letter-spacing: 0.05em; }

/* Featured media — the accordion swaps this single image with a soft crossfade
   and a very subtle scale settle. Frame stays fixed so nothing jumps. */
.feat-slides { position: absolute; inset: 0; }
.feat-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 1.7s var(--ease);
  will-change: opacity, transform;
}
.feat-slide.is-active { opacity: 1; transform: scale(1); }

/* Mobile — image above the content and kept visible (sticky, pinned on top) while
   the user scrolls through and taps Design / Make / Install below it. */
@media (max-width: 859px) {
  .featured-media { order: -1; height: 44vh; min-height: 240px; position: sticky; top: 0; z-index: 2; }
  .featured-panel { order: 0; position: relative; z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-slide { transition: opacity .01ms; transform: none; }
  .feat-slide.is-active { transform: none; }
}

/* ------------------------------------------------------------ Work — selected-projects gallery */
.work { background: var(--paper); color: var(--ink); }
.work .eyebrow { color: var(--green-600); }
/* Stronger supporting text so it reads clearly on the cream ground */
.work .section-note { color: var(--ink-soft); font-size: 1.08rem; }

.portfolio {
  display: flex; gap: clamp(1rem, 2.4vw, 2rem);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 0 clamp(1.5rem, 6vw, 6rem) var(--space-3);
  scrollbar-width: none;               /* refined — no visible bar; drag / swipe to move */
  cursor: grab; -webkit-overflow-scrolling: touch;
}
.portfolio::-webkit-scrollbar { display: none; }
.portfolio.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.pcard { flex: 0 0 auto; width: clamp(258px, 32vw, 366px); scroll-snap-align: center; margin: 0; }

/* Fixed editorial frame — the image slowly zooms and scales inside it, never past the edge */
.pcard-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; background: var(--paper-2);
}
.pcard-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  /* --parY / --zoom are driven by the scroll-parallax script for a slow, subtle zoom.
     scale (a separate property) layers the hover lift on top without fighting the zoom. */
  transform: translateY(var(--parY, 0px)) scale(var(--zoom, 1.05));
  scale: 1; transition: scale 1.1s var(--ease);
  will-change: transform, scale;
}
.pcard:hover .pcard-media img,
.pcard:focus-within .pcard-media img { scale: 1.05; }

.pcard figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-display); font-size: 1.06rem; letter-spacing: .01em;
  text-align: center; color: var(--ink);
  transition: transform .6s var(--ease), color .6s var(--ease);
}
.pcard:hover figcaption,
.pcard:focus-within figcaption { transform: translateY(-4px); color: var(--green-700); }

/* Centred, understated CTA beneath the gallery */
.work-cta { text-align: center; margin-top: var(--space-3); }

/* Mobile — large, full-width swipeable plates with firm snap */
@media (max-width: 719px) {
  .portfolio { scroll-snap-type: x mandatory; gap: var(--space-3); padding-bottom: var(--space-2); cursor: default; }
  .pcard { width: 86vw; }
  .pcard-media { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------ Testimonials */
.testimonials { background: var(--paper-2); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-4) var(--space-3); text-align: center; display: flex; flex-direction: column; align-items: center;
}
.qavatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-700); color: var(--silver-100);
  display: grid; place-items: center; margin-bottom: var(--space-2);
}
.qcard p { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink); margin-bottom: var(--space-2); }
.qcard footer { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-top: auto; }
.testimonials .center { margin-top: var(--space-5); }
.testimonials .ph-note { margin-top: var(--space-2); font-size: 0.85rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ CTA band (light) */
.band { background: var(--paper); border-top: 1px solid var(--line); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); }
.band-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; }
.band-text p { color: var(--ink-soft); margin-top: 0.4rem; }
.band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.band-call { font-size: 0.9rem; color: var(--ink-muted); }
.band-call a { color: var(--green-700); font-weight: 500; }

/* ------------------------------------------------------------ Final CTA (full-bleed) */
.finalcta {
  position: relative; text-align: center; color: var(--paper);
  padding-block: clamp(5rem, 12vw, 9rem);
  background: var(--green-900);
  overflow: hidden;                    /* clip the slow zoom + parallax */
}
/* Background image lives on its own layer so it can zoom + parallax under the scrim.
   Slow cinematic zoom via the `scale` property; parallax via `translate` (--parY from
   the scroll script). Both are independent transform longhands, so they never fight. */
.finalcta-media {
  position: absolute; inset: -3%;      /* bleed so movement never reveals an edge */
  background: url("images/hero.jpg?v=2") center/cover no-repeat;
  translate: 0 var(--parY, 0px);
  scale: 1.05;
  animation: finalctaZoom 30s var(--ease) infinite alternate;
  will-change: scale, translate;
}
@keyframes finalctaZoom { from { scale: 1.04; } to { scale: 1.12; } }

/* Strong dark edges, a subtly brighter centre so the cabinetry reads through */
.finalcta-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 92% 78% at 50% 46%,
    rgba(8,16,12,.42) 0%, rgba(8,16,12,.6) 46%, rgba(8,16,12,.88) 100%);
}
.finalcta-inner { position: relative; z-index: 2; max-width: 640px; }
.finalcta-title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3.3rem);
  font-weight: 500; line-height: 1.14; margin: var(--space-2) 0 var(--space-3);
  text-shadow: 0 1px 34px rgba(8,16,12,.5);
}
.finalcta-title .serif-italic { display: block; }
.finalcta-lead {
  color: rgba(255,255,255,.88); font-size: 1.08rem; line-height: 1.75;
  max-width: 46ch; margin: 0 auto var(--space-4);
  text-shadow: 0 1px 26px rgba(8,16,12,.45);
}
/* Slightly smaller, more refined button */
.finalcta .btn { padding: 0.74em 1.45em; font-size: 0.85rem; }
@media (max-width: 560px) { .finalcta .btn { padding: 0.85em 1.6em; } }  /* comfortable tap target */

@media (prefers-reduced-motion: reduce) {
  .finalcta-media { animation: none; scale: 1.05; translate: 0; }
}

/* ------------------------------------------------------------ Footer additions */
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.footer-top .footer-brand .brand-name { color: var(--paper); }
.footer-top .footer-brand .brand-sub { color: var(--silver-400); }
.footer-top .footer-brand p { margin-top: var(--space-2); max-width: 32ch; font-size: 0.95rem; }
.socials { display: flex; gap: 0.6rem; margin-top: var(--space-3); }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: rgba(255,255,255,.75); transition: border-color .2s, color .2s, background-color .2s;
}
.socials a:hover { color: var(--paper); border-color: var(--paper); background: rgba(255,255,255,.08); }
.footer-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: var(--space-6); }
.footer-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: .55; transition: opacity .3s var(--ease); }
.footer-strip img:hover { opacity: 1; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: var(--space-5); } }
@media (max-width: 620px) { .footer-strip { grid-template-columns: repeat(3, 1fr); } }
