/* ==========================================================================
   Lehem Interiors — public site (v4)
   Light, editorial, predominantly white with warm neutral tones.
   Single brand typeface: Montserrat.
   ========================================================================== */

:root {
  /* ---- brand ---------------------------------------------------------- */
  --navy:       #06073f;
  --navy-soft:  #12144f;
  --green:      #a8d05a;
  --green-deep: #8ab63f;
  /* #a8d05a only reaches ~1.9:1 on white, so small text on light surfaces
     uses this deeper tone instead. The pure brand green is reserved for
     fills, graphics, and text sitting on navy. */
  --green-ink:  #6d8f2c;

  /* ---- surfaces ------------------------------------------------------- */
  --bg:      #ffffff;
  --bg-alt:  #f6f7f3;
  --bg-tint: #eceee6;
  --bg-ink:  var(--navy);

  /* ---- type ----------------------------------------------------------- */
  --ink:       #06073f;
  --ink-soft:  #414363;
  --ink-muted: #6b6d8a;
  --ink-faint: #9698b2;
  --on-dark:       #ffffff;
  --on-dark-muted: rgba(255,255,255,.74);

  /* ---- accent aliases (kept so existing rules resolve) ----------------- */
  --accent:      var(--green);
  --accent-deep: var(--green-deep);
  --accent-tint: #f0f6e4;

  /* ---- hairlines ------------------------------------------------------ */
  --line:         rgba(6,7,63,.12);
  --line-strong:  rgba(6,7,63,.26);
  --line-on-dark: rgba(255,255,255,.24);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1200px;
  --wide: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;

  --ease: cubic-bezier(.22,.8,.28,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 300;               /* Montserrat Light — body copy */
  line-height: 1.85;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

p { margin: 0 0 1.4em; color: var(--ink-muted); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; margin: 0; color: var(--ink); }  /* Montserrat Bold — headers */

.display {
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 22px;
}

.sec-title {
  font-size: clamp(1.45rem, 3.1vw, 2.15rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.sec-title span { color: var(--green-ink); }
.sec-title.tight { margin-bottom: 24px; }

/* Subtitles / eyebrows — Montserrat Italic */
.kicker {
  display: inline-block;
  font-size: .74rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin: 0 0 16px;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section    { padding: clamp(60px, 8vw, 116px) 0; }
.section-sm { padding: clamp(40px, 5vw, 68px) 0; }
.section-alt{ background: var(--bg-alt); }
.rule { border: none; border-top: 1px solid var(--line); margin: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.btn-light { border-color: var(--line-on-dark); color: #fff; }
.btn-light:hover { background: var(--green); border-color: var(--green); color: var(--navy); }

/* ==========================================================================
   Header — transparent over the hero video, solid white once scrolled
   ========================================================================== */
.site-header {
  --hdr-pad: 22px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: var(--hdr-pad) 0;
  overflow: visible;
  transition: background-color .35s, padding .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header > .container-wide { display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 2vw, 22px); }

/* over-hero (transparent) state */
.site-header.is-over-hero { background: transparent; }
.site-header.is-over-hero .main-nav > a,
.site-header.is-over-hero .has-dropdown > a { color: #fff; }
.site-header.is-over-hero .nav-toggle { color: #fff; }


/* scrolled (solid) state */
.site-header.is-scrolled {
  --hdr-pad: 13px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .main-nav > a,
.site-header.is-scrolled .has-dropdown > a { color: var(--ink); }
.site-header.is-scrolled .nav-toggle { color: var(--ink); }


.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; transition: height .35s; }
.site-header.is-scrolled .brand img { height: 38px; }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav > a, .has-dropdown > a {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s, opacity .2s;
}



.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; z-index: 210; line-height: 1; }

.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown .caret { font-size: .5rem; transition: transform .2s; }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 216px; margin-top: 0; padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  display: none; z-index: 205;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu { display: block; }

/* invisible bridge: without it the 14px gap swallowed the pointer and the
   menu closed before it could be clicked */
.has-dropdown::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%;
  height: 22px; display: none;
}
.has-dropdown:hover::after { display: block; }
.dropdown-menu { top: calc(100% + 22px); }
.dropdown-menu a {
  display: block; padding: 10px 22px;
  font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}
.dropdown-menu a:hover { color: var(--navy); background: var(--accent-tint); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0;
    background: #fff;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 20px; padding: 40px; overflow-y: auto;
    transform: translateY(-100%); opacity: 0;
    transition: transform .35s, opacity .35s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .site-header.is-over-hero .main-nav.is-open > a,
  .site-header.is-over-hero .main-nav.is-open .has-dropdown > a { color: var(--ink); }
  .main-nav > a, .has-dropdown > a { font-size: .92rem; }
  .dropdown-menu {
    position: static; transform: none; display: block;
    border: none; box-shadow: none; margin: 6px 0 0; padding: 0; text-align: center; min-width: 0;
  }
  .dropdown-menu a { padding: 5px 0; }
  .has-dropdown { text-align: center; }
  .has-dropdown .caret { display: none; }
}

/* ==========================================================================
   HERO VIDEO — first thing on the homepage, full viewport
   ========================================================================== */
.hero-video {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #111;
  text-align: center;
}
.hero-video .hv-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-video .hv-media video,
.hero-video .hv-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* YouTube/Vimeo iframes can't object-fit, so oversize and centre them */
.hero-video .hv-media iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;            /* 16:9 */
  min-height: 100svh; min-width: 177.78svh; /* cover both ways */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero-video .hv-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,12,.52) 0%, rgba(12,12,12,.30) 34%, rgba(12,12,12,.62) 100%);
  z-index: 1;
}
.hero-video .hv-inner {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 30px) var(--gutter) 150px;
  max-width: 1000px;
}
.hero-video .hv-eyebrow {
  display: block;
  font-size: .7rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 26px;
}
.hero-video h1 {
  font-size: clamp(2.1rem, 6.6vw, 5rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 26px;
}
.hero-video h1 .hv-dot { color: var(--accent); }
.hero-video .hv-sub {
  color: var(--on-dark-muted);
  max-width: 56ch; margin: 0 auto 34px;
  font-size: 1rem;
}
.hero-video .hv-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* sound toggle for self-hosted video */
.hv-sound {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: 118px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: rgba(0,0,0,.28);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: background-color .2s, border-color .2s;
}
.hv-sound:hover { background: rgba(0,0,0,.5); border-color: #fff; }

/* scroll cue — the visual bridge into the rest of the page */
.hv-cue {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-dark-muted);
  font-size: .62rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
}
.hv-cue i {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  animation: cueDrop 2.1s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: scaleY(.45); transform-origin: top; opacity: .5; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}
.hv-cue:hover { color: #fff; }

@media (max-width: 700px) {
  .hero-video .hv-inner { padding-bottom: 130px; }
  .hv-sound { bottom: 104px; }
}

/* ==========================================================================
   AWARDS RIBBON — HTML/CSS so it stays crisp; swaps to official art if present
   ========================================================================== */
.ribbon {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--bg-ink);
  color: #fff;
  padding: 12px 22px;
  text-align: left;
}
.ribbon .laurel { width: 24px; height: 30px; flex: 0 0 auto; stroke: var(--green); fill: none; stroke-width: 1.3; }
.ribbon .r-body { display: flex; flex-direction: column; line-height: 1.35; }
.ribbon .r-win {
  font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--green);
}
.ribbon .r-title { font-size: .78rem; font-weight: 400; letter-spacing: .04em; color: #fff; }
.ribbon .r-org   { font-size: .64rem; font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.ribbon img { max-height: 54px; width: auto; }
.ribbon.is-image { background: transparent; padding: 0; }

/* ribbon docked into the hero */
.hv-ribbon {
  position: absolute; z-index: 3;
  left: var(--gutter); bottom: 34px;
}
.hv-ribbon .ribbon { background: rgba(18,18,18,.72); backdrop-filter: blur(4px); }
@media (max-width: 860px) {
  .hv-ribbon { left: 50%; transform: translateX(-50%); bottom: 96px; }
  .hv-cue { display: none; }
}

/* slim full-width recognition strip */
.recognition {
  background: var(--bg-ink);
  padding: 26px var(--gutter);
}
.recognition .rec-inner {
  max-width: var(--wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.recognition .rec-label {
  font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.recognition .ribbon { background: transparent; padding: 0; }
.recognition a.rec-link {
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid rgba(168,208,90,.45);
  padding-bottom: 3px;
}
.recognition a.rec-link:hover { color: #fff; border-color: #fff; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.stat b {
  display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--navy); letter-spacing: .04em; line-height: 1.2;
}
.stat span { font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-faint); }

/* ==========================================================================
   Split (text + image)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-wide { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .split-wide { grid-template-columns: 1fr; } }

.framed-media { position: relative; }
.framed-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.framed-media.landscape img { aspect-ratio: 4/3; }
.media-tag {
  position: absolute; right: 0; bottom: 0;
  background: #fff; color: var(--ink);
  font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 14px 24px;
}

/* ==========================================================================
   Media cards — caption BELOW the image (cleaner on white)
   ========================================================================== */
.media-card { display: block; }
.media-card .media-frame {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-tint);
}
.media-card .media-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.media-card:hover .media-frame img { transform: scale(1.045); }
.media-card .card-caption { padding: 20px 0 0; }
.media-card .card-meta {
  display: block;
  font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 8px;
}
.media-card .card-meta em { font-style: normal; }
.media-card h3 {
  font-size: 1.06rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); line-height: 1.4;
  transition: color .2s;
}
.media-card:hover h3 { color: var(--green-ink); }
.media-card .loc { font-size: .82rem; color: var(--ink-faint); margin-top: 5px; }
.media-card.is-post h3 { text-transform: none; letter-spacing: .01em; font-size: 1.14rem; }
.media-card.is-post .card-meta { color: var(--ink-faint); }

.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.4vw, 34px); }
@media (max-width: 980px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; } }

.placeholder-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/40px 40px,
    var(--bg-tint);
}
.placeholder-cover span { font-size: 2.2rem; font-weight: 200; color: var(--green-deep); letter-spacing: .1em; }

.dots { display: flex; gap: 9px; justify-content: center; margin-top: 36px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: 1px solid var(--green-deep); background: transparent; cursor: pointer;
}
.dots button.active { background: var(--green); }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
@media (max-width: 900px) { .svc-teaser { grid-template-columns: 1fr; } }
.svc-item { position: relative; padding-bottom: 46px; border-top: 1px solid var(--line); padding-top: 28px; }
.svc-item svg { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.2; margin-bottom: 20px; }
.svc-item h3 { font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink); }
.svc-item p { font-size: .92rem; }
.svc-item .ghost-num {
  position: absolute; right: 0; bottom: 0;
  font-size: 3rem; font-weight: 200; line-height: 1;
  color: var(--bg-tint);
}

.svc-card { position: relative; }
.svc-card .media-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-tint); }
.svc-card .media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.svc-card:hover .media-frame img { transform: scale(1.05); }
.svc-card .svc-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(255,255,255,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 34px;
  opacity: 0; transition: opacity .35s;
}
.svc-card:hover .svc-overlay, .svc-card:focus-within .svc-overlay { opacity: 1; }
.svc-card .svc-overlay svg { width: 42px; height: 42px; stroke: var(--accent); fill: none; stroke-width: 1.2; margin-bottom: 18px; }
.svc-card .svc-overlay h3 { font-size: .84rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.svc-card .svc-overlay p { font-size: .9rem; margin-bottom: 22px; }
.svc-card .svc-bar {
  padding: 18px 0 0; text-align: center;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}

/* ==========================================================================
   Filter chips
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter-chip {
  padding: 9px 22px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); font-family: inherit;
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 34px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .team-grid { grid-template-columns: 1fr; } }
.team-card .photo { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-tint); margin-bottom: 18px; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: .86rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; }
.team-card .role { font-size: .8rem; color: var(--green-ink); letter-spacing: .06em; }

/* ==========================================================================
   Awards list
   ========================================================================== */
.award-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.award-row h3 { font-size: 1rem; font-weight: 400; letter-spacing: .02em; margin-bottom: 6px; line-height: 1.5; }
.award-org { color: var(--green-ink); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; }
.award-year { color: var(--ink-faint); font-size: .84rem; white-space: nowrap; }

/* ==========================================================================
   Promo / testimonial band
   ========================================================================== */
.promo-band { background: var(--bg-alt); }
.promo-band .promo-inner {
  max-width: var(--wide); margin: 0 auto; padding: clamp(52px, 6vw, 88px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 900px) { .promo-band .promo-inner { grid-template-columns: 1fr; } }
.promo-video-side { display: flex; align-items: center; gap: 22px; }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; padding-left: 4px; text-decoration: none;
  transition: transform .25s, background-color .25s;
}
.play-btn:hover { background: var(--green); color: var(--navy); transform: scale(1.05); }
.promo-video-side .label { font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #fff; }

.testimonial-panel { }
.testimonial-panel h2 { font-size: 1.05rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px;color:#fff; }
.testimonial-panel .rule { margin-bottom: 24px; }
.testimonial-slide blockquote {
  margin: 0 0 24px; font-size: 1.04rem; font-weight: 300; font-style: italic;
  color:#fff; line-height: 1.8;
}
.testimonial-who { display: flex; align-items: center; gap: 14px; }
.testimonial-who img, .testimonial-who .avatar-fallback {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
}
.testimonial-who .avatar-fallback {
  background: var(--accent-tint); color: var(--green-ink);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 400;
}
.testimonial-who b { display: block; font-weight: 500; font-size: .9rem; color: #fff }
.testimonial-who span { font-size: .8rem; color: var(--ink-faint); }
.testimonial-panel .dots { justify-content: flex-start; margin-top: 24px; }

/* ==========================================================================
   Icon strip
   ========================================================================== */
.icon-strip {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(26px, 6vw, 80px);
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.icon-strip svg { width: 40px; height: 40px; stroke: var(--ink-faint); fill: none; stroke-width: 1; }

/* ==========================================================================
   PROJECT DETAIL — editorial
   ========================================================================== */
.project-hero { position: relative; height: clamp(52vh, 66vh, 78vh); overflow: hidden; background: var(--bg-tint); }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero .ph-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.42) 0%, rgba(12,12,12,.12) 45%, rgba(12,12,12,.55) 100%); z-index: 1; }
.project-hero .ph-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: var(--wide); margin: 0 auto;
  padding: 0 var(--gutter) clamp(34px, 5vw, 60px);
}
.project-hero .ph-copy .kicker { color: rgba(255,255,255,.8); }
.project-hero .ph-copy h1 { color: #fff; }

/* meta bar: client / location / year / scope */
.project-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.project-meta dt {
  font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 7px;
}
.project-meta dd { margin: 0; font-size: .95rem; color: var(--ink); font-weight: 400; }

/* the editorial lead paragraph */
.project-lead { padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); }
.project-lead .lede { max-width: 75ch; }
.project-lead .lede-quote {
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 200; line-height: 1.5; letter-spacing: .01em;
  color: var(--ink); max-width: 30ch;
}

/* alternating story blocks: Vision / Approach / Challenges / Outcome */
.story-block { padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.story-block .sb-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .story-block .sb-grid { grid-template-columns: 1fr; gap: 14px; } }
.story-block h2 {
  font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--green-ink); margin: 0; padding-top: 6px;
}
.story-block p { color: var(--ink-soft); font-size: 1rem; }
.story-block p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Interior page header (light)
   ========================================================================== */
.page-header {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) 0 clamp(28px, 4vw, 52px);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-header .sec-title { margin-bottom: 14px; }
.page-header p { max-width: 56ch; margin-bottom: 0; }

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.gallery-grid { columns: 3 300px; column-gap: 18px; }
.gallery-grid figure { margin: 0 0 18px; break-inside: avoid; }
.gallery-grid img { width: 100%; cursor: zoom-in; transition: opacity .3s; }
.gallery-grid img:hover { opacity: .86; }
/* --- Lightbox: zoomable, pannable viewer -------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(255,255,255,.985);
  display: none; flex-direction: column;
}
.lightbox.is-open { display: flex; }

.lb-bar {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.lb-btn {
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: inherit; font-size: .82rem; font-weight: 500; line-height: 1;
  cursor: pointer; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.lb-btn:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.lb-btn.lightbox-close { font-size: 1.4rem; }
.lb-zoom, .lb-count {
  min-width: 62px; text-align: center;
  font-size: .74rem; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-muted); font-variant-numeric: tabular-nums;
}
.lb-sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.lightbox:not(.has-nav) [data-lb="prev"],
.lightbox:not(.has-nav) [data-lb="next"],
.lightbox:not(.has-nav) .lb-count { display: none; }

/* the scrolling stage — this is what makes a zoomed image scrollable */
.lb-stage {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  padding: 16px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-alt);
}
/* margin:auto centres the image while it fits, and stops the top/left being
   clipped once it grows larger than the stage */
.lb-stage img {
  margin: auto;
  max-width: none; max-height: none;
  display: block;
  box-shadow: 0 20px 60px rgba(6,7,63,.14);
  user-select: none; -webkit-user-drag: none;
}
.lb-stage.is-zoomed { cursor: grab; }
.lb-stage.is-dragging { cursor: grabbing; }
.lb-stage.is-dragging img { pointer-events: none; }

.lb-tip {
  flex: 0 0 auto; margin: 0;
  padding: 10px var(--gutter);
  text-align: center;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  background: #fff;
}
@media (max-width: 620px) {
  .lb-bar { flex-wrap: wrap; gap: 4px; padding: 10px 12px; }
  .lb-sep { display: none; }
  .lb-tip { display: none; }
}

.detail-hero-media { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--bg-tint); margin-bottom: 48px; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 100%;text-align: justify; }
.post-body p { color: var(--ink-soft); font-size: 1.02rem; }
.post-body img { margin: 30px 0; }
.post-body h2, .post-body h3 { margin: 1.6em 0 .6em; }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 28px; }
.field label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink); padding: 11px 2px; border-radius: 0;
  font-family: inherit; font-size: .95rem; font-weight: 300;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 1; }

.alert { padding: 15px 20px; margin-bottom: 26px; font-size: .92rem; }
.alert-success { background: var(--accent-tint); border: 1px solid var(--green-deep); color: #4d6b1c; }
.alert-error { background: #fdf1f0; border: 1px solid #d98d86; color: #a4453c; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: clamp(32px, 5vw, 68px); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.col-label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 24px; }
.contact-line { margin-bottom: 16px; font-size: .95rem; color: var(--ink-muted); }
.contact-line b { color: var(--ink); font-weight: 500; }
.contact-line a:hover { color: var(--green-ink); }
.map-wrap { height: 440px; width: 100%; background: var(--bg-tint); }
.leaflet-container { background: var(--bg-tint); font-family: var(--font); }
.map-wrap .leaflet-tile { filter: grayscale(1) contrast(.92) brightness(1.06); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #fff; color: var(--ink); border-radius: 1px; }
.leaflet-control-attribution { background: rgba(255,255,255,.85) !important; color: var(--ink-faint) !important; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band { padding: clamp(60px, 9vw, 112px) 0; background: var(--bg-alt); text-align: center; }
.cta-band .sec-title { margin-bottom: 28px; }

/* ==========================================================================
   Footer — one dark anchor at the very bottom
   ========================================================================== */
.site-footer { background: var(--bg-ink); color: #fff; }
.footer-top {
  max-width: var(--wide); margin: 0 auto; padding: clamp(48px, 6vw, 76px) var(--gutter) 44px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 60px);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 {
  font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.footer-top p, .footer-top a, .footer-top span { font-size: .92rem; color: rgba(255,255,255,.9); }
.footer-top a:hover { color: #fff; }
.footer-top .f-brand img { height: 46px; margin-bottom: 20px; }
.footer-line { margin-bottom: 11px; }

.footer-bottom {
  max-width: var(--wide); margin: 0 auto;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.85);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .64rem; font-weight: 500; letter-spacing: .02em;
  transition: border-color .2s, color .2s, background-color .2s;
}
.social-row a:hover { border-color: var(--green); color: var(--navy); background: var(--green); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff;
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  opacity: 0; pointer-events: none; transition: opacity .3s, border-color .2s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--green); background: var(--green); color: var(--navy); }

/* Utility */
.center { text-align: center; }
.empty-note { color: var(--ink-faint); font-style: italic; padding: 18px 0; }
.mt-40 { margin-top: 40px; }
.grid-rules { display: none !important; }   /* dark-theme device, retired in v4 */

/* ==========================================================================
   MOTION SYSTEM
   Everything below is opt-in via a class, and every animation is disabled
   wholesale under prefers-reduced-motion at the end of this block.
   ========================================================================== */

/* --- scroll reveal -------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

/* staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: .20s; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: .28s; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: .36s; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: .44s; }
[data-stagger].is-in > *:nth-child(n+7) { transition-delay: .5s; }

/* --- animated underline on section titles --------------------------------- */
.sec-title { position: relative; }
.sec-title.has-underline::after {
  content: '';
  position: absolute; left: 0; bottom: -14px;
  width: 0; height: 3px; background: var(--green);
  transition: width 1s var(--ease) .25s;
}
.sec-title.has-underline.is-in::after { width: 68px; }

/* --- nav: sliding green underline ----------------------------------------- */
.main-nav > a, .has-dropdown > a { position: relative; }
.main-nav > a::after, .has-dropdown > a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform .38s var(--ease);
}
.main-nav > a:hover::after, .has-dropdown > a:hover::after,
.main-nav > a.active::after, .has-dropdown > a.active::after {
  transform: scaleX(1); transform-origin: left;
}
@media (max-width: 1020px) { .main-nav > a::after, .has-dropdown > a::after { display: none; } }

/* --- buttons: green wipe -------------------------------------------------- */
.btn { position: relative; overflow: hidden; z-index: 0; }
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--green);
  transform: translateY(101%);
  transition: transform .42s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--navy); border-color: var(--green); background: transparent; }
.btn-solid:hover { color: var(--navy); }

/* --- cards lift ----------------------------------------------------------- */
.media-card .media-frame { position: relative; }
.media-card .media-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,63,0) 45%, rgba(6,7,63,.55) 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.media-card:hover .media-frame::after { opacity: 1; }
.media-card .card-caption { transition: transform .45s var(--ease); }
.media-card:hover .card-caption { transform: translateY(-4px); }

/* a small green "view" chip that slides in on hover */
.media-card .view-chip {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: var(--green); color: var(--navy);
  font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.media-card:hover .view-chip { opacity: 1; transform: none; }

/* --- stat count-up -------------------------------------------------------- */
.stat b { font-variant-numeric: tabular-nums; }

/* --- service cards -------------------------------------------------------- */
.svc-item { transition: transform .45s var(--ease); }
.svc-item:hover { transform: translateY(-6px); }
.svc-item svg { transition: transform .5s var(--ease); }
.svc-item:hover svg { transform: translateY(-4px) scale(1.06); }
.svc-item .ghost-num { transition: color .45s var(--ease); }
.svc-item:hover .ghost-num { color: var(--accent-tint); }

/* ==========================================================================
   HERO — project-driven slider
   Slide 1 keeps the brand line; the rest are pulled from the portfolio.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #23252e;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero-slide .hs-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide .hs-media img,
.hero-slide .hs-media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero-slide.is-active .hs-media img,
.hero-slide.is-active .hs-media video { animation: heroKen 8s var(--ease) forwards; }
@keyframes heroKen { from { transform: scale(1.06); } to { transform: scale(1.16); } }

.hero-slide .hs-media iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100svh; min-width: 177.78svh;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero-slide .hs-scrim {
  position: absolute; inset: 0;
  /* Lightened: the navy now only does enough work to keep white type legible,
     letting the project photography carry the frame. */
  background:
    linear-gradient(90deg, rgba(6,7,63,.58) 0%, rgba(6,7,63,.26) 46%, rgba(6,7,63,.06) 100%),
    linear-gradient(180deg, rgba(10,10,26,.30) 0%, rgba(10,10,26,0) 38%, rgba(10,10,26,.55) 100%);
  z-index: 1;
}
.hero-slide .hs-copy {
  position: relative; z-index: 2;
  max-width: var(--wide); margin: 0 auto; width: 100%;
  padding: calc(var(--header-h) + 20px) var(--gutter) 170px;
}
.hero-slide .hs-copy > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-slide.is-active .hs-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hs-copy > *:nth-child(1) { transition-delay: .28s; }
.hero-slide.is-active .hs-copy > *:nth-child(2) { transition-delay: .40s; }
.hero-slide.is-active .hs-copy > *:nth-child(3) { transition-delay: .52s; }
.hero-slide.is-active .hs-copy > *:nth-child(4) { transition-delay: .64s; }

.hero-slide .hs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--green); margin-bottom: 22px;
}
.hero-slide .hs-eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--green); }
.hero-slide h1, .hero-slide .hs-title {
  font-size: clamp(2rem, 6vw, 4.6rem);
  font-weight: 700; line-height: 1.08; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; margin: 0 0 22px;
  max-width: 17ch;
}
.hero-slide .hv-dot { color: var(--green); }
.hero-slide .hs-sub { color: var(--on-dark-muted); max-width: 48ch; margin: 0 0 30px; }
.hero-slide .hs-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* interactive project rail along the bottom */
.hero-rail {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  max-width: var(--wide); margin: 0 auto;
  padding: 0 var(--gutter) 30px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-tabs { display: flex; gap: 10px; flex-wrap: wrap; display:none; }
.hero-tab {
  position: relative;
  background: transparent; border: none; cursor: pointer;
  padding: 14px 0 12px; min-width: 116px;
  text-align: left; color: rgba(255,255,255,.6);
  font-family: inherit; font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  border-top: 2px solid rgba(255,255,255,.22);
  transition: color .3s var(--ease);
}
.hero-tab:hover { color: #fff; }
.hero-tab.active { color: #fff; }
.hero-tab::after {
  content: ''; position: absolute; top: -2px; left: 0;
  height: 2px; width: 0; background: var(--green);
}
.hero-tab.active::after { animation: railFill var(--hero-delay, 7s) linear forwards; }
@keyframes railFill { from { width: 0; } to { width: 100%; } }
.hero-tab .t-num { display: block; color: var(--green); margin-bottom: 5px; font-size: .6rem; }

.hero-arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.hero-arrow:hover { background: var(--green); border-color: var(--green); color: var(--navy); }

.hero-cue {
  position: absolute; left: var(--gutter); bottom: 128px; z-index: 5;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.65);
  font-size: .58rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
}
.hero-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, var(--green), transparent); animation: cueDrop 2.1s ease-in-out infinite; }
@keyframes cueDrop {
  0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .5; }
  50%     { transform: scaleY(1);  transform-origin: top; opacity: 1; }
}
.hero-cue:hover { color: #fff; }

.hero-ribbon { position: absolute; right: var(--gutter); bottom: 128px; z-index: 5; }
.hero-ribbon .ribbon { background: rgba(6,7,63,.72); backdrop-filter: blur(5px); }

@media (max-width: 960px) {
  .hero-cue, .hero-ribbon { display: none; }
  .hero-rail { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 22px; }
  .hero-tabs { gap: 6px; }
  .hero-tab { min-width: 0; flex: 1; font-size: .58rem; letter-spacing: .1em; padding: 10px 0 8px; }
  .hero-tab .t-num { display: none; }
  .hero-arrows { align-self: flex-end; }
}

/* ==========================================================================
   ABOUT COLLAGE — animated, parallaxing image cluster
   ========================================================================== */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, clamp(34px, 4.6vw, 62px));
  gap: clamp(8px, 1.1vw, 16px);
}
.collage figure {
  position: relative; margin: 0; overflow: hidden;
  background: var(--bg-tint);
  opacity: 0; transform: translateY(34px) scale(.96);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.collage.is-in figure { opacity: 1; transform: none; }
.collage.is-in figure:nth-child(1) { transition-delay: .05s; }
.collage.is-in figure:nth-child(2) { transition-delay: .18s; }
.collage.is-in figure:nth-child(3) { transition-delay: .31s; }
.collage.is-in figure:nth-child(4) { transition-delay: .44s; }
.collage figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.collage figure:hover img { transform: scale(1.07); }
.collage figure::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(6,7,63,.34);
  opacity: 0; transition: opacity .45s var(--ease);
}
.collage figure:hover::after { opacity: 1; }

.collage .c-1 { grid-column: 1 / 4; grid-row: 1 / 5; }
.collage .c-2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.collage .c-3 { grid-column: 4 / 7; grid-row: 3 / 6; }
.collage .c-4 { grid-column: 1 / 4; grid-row: 5 / 7; }

/* floating brand accents */
.collage .c-badge {
  position: absolute; z-index: 3;
  right: -14px; top: 38%;
  background: var(--green); color: var(--navy);
  padding: 16px 20px; text-align: center;
  box-shadow: 0 14px 34px rgba(6,7,63,.18);
  opacity: 0; transform: scale(.7) rotate(-8deg);
  transition: opacity .7s var(--ease) .55s, transform .7s var(--ease) .55s;
}
.collage.is-in .c-badge { opacity: 1; transform: none; }
.collage .c-badge b { display: block; font-size: 1.35rem; font-weight: 500; line-height: 1; }
.collage .c-badge span { font-size: .56rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.collage .c-badge, .collage .c-1, .collage .c-3 { will-change: transform; }

.collage .c-outline {
  position: absolute; z-index: 0;
  left: -18px; bottom: -18px;
  width: 38%; height: 34%;
  border: 2px solid var(--green);
  border-right: none; border-top: none;
  opacity: 0; transition: opacity .8s var(--ease) .5s;
}
.collage.is-in .c-outline { opacity: .8; }

@media (max-width: 620px) {
  .collage { grid-template-rows: repeat(6, 46px); }
  .collage .c-badge { right: 4px; padding: 12px 15px; }
}

/* ==========================================================================
   Reduced motion — turn the whole system off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > *, .collage figure, .collage .c-badge, .collage .c-outline,
  .hero-slide .hs-copy > * {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
    transition: none !important;
  }
  .hero-slide.is-active .hs-media img,
  .hero-slide.is-active .hs-media video,
  .hero-tab.active::after,
  .hero-cue i { animation: none !important; }
  .sec-title.has-underline::after { width: 68px; transition: none; }
  .btn::before { display: none; }
}

/* ==========================================================================
   CLIENT / PARTNER LOGO MARQUEE
   ========================================================================== */
.clients { overflow: hidden; }
.clients-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 26px; text-align: center;
}
.clients-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.clients-track {
  display: flex; align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: max-content;
  animation: clientScroll 42s linear infinite;
}
@keyframes clientScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* track is duplicated, so -50% = seamless */
}
.clients-viewport:hover .clients-track { animation-play-state: paused; }
.client-logo { flex: 0 0 auto; }
.client-logo img {
  height: auto; 
  width: 160px;
  opacity: 1;
  filter: grayscale(0);
  transition: opacity .35s var(--ease), filter .35s var(--ease), transform .35s var(--ease);
}
.client-logo:hover img { opacity: 1; filter: none; transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .clients-viewport { mask-image: none; -webkit-mask-image: none; }
}

/* section-level bottom-up entrance */
.section[data-reveal], .section-sm[data-reveal], .cta-band[data-reveal] { will-change: opacity, transform; }

/* dropdown toggle button injected by motion.js */
.has-dropdown { display: inline-flex; align-items: center; gap: 4px; }
.dd-toggle {
  background: none; border: none; padding: 2px 4px; margin: 0;
  color: inherit; cursor: pointer; line-height: 1;
  font-size: .55rem; opacity: .8;
  transition: transform .25s var(--ease), opacity .2s;
}
.dd-toggle:hover { opacity: 1; }
.has-dropdown.is-open .dd-toggle { transform: rotate(180deg); }
.has-dropdown .caret { display: none; }          /* superseded by .dd-toggle */
.site-header.is-over-hero .dd-toggle { color: #fff; }
.site-header.is-scrolled .dd-toggle { color: var(--ink); }
@media (max-width: 1020px) {
  .has-dropdown { flex-direction: column; gap: 0; }
  .dd-toggle { display: none; }                   /* menus are always open on mobile */
}

/* ==========================================================================
   FOOTER — quick links + real brand icons
   ========================================================================== */
.footer-top { grid-template-columns: 1.4fr .9fr 1.1fr; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-ribbon { margin-top: 22px; }
.footer-ribbon .ribbon { background: rgba(255,255,255,.07); }

.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
@media (max-width: 860px) { .quick-links { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 520px) { .quick-links { grid-template-columns: 1fr 1fr; } }
.quick-links a {
  display: inline-block; position: relative;
  padding: 5px 0 5px 15px;
  font-size: .9rem; color: rgba(255,255,255,.9);
  transition: color .28s var(--ease), transform .28s var(--ease);
}
.quick-links a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px; background: var(--green);
  transform: translateY(-50%) scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.quick-links a:hover { color: var(--green); transform: translateX(4px); }
.quick-links a:hover::before { transform: translateY(-50%) scaleX(1); }

.social-row { margin-top: 26px; }
.social-row a { width: 38px; height: 38px; }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.social-row a:hover svg { fill: var(--navy); }

/* ==========================================================================
   TEAM cards — hover reveals the bio
   ========================================================================== */
.team-card .photo { position: relative; }
.team-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(6,7,63,.9);
  color: #fff;
  display: flex; align-items: center;
  padding: 26px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.team-card:hover .team-overlay,
.team-card:focus-within .team-overlay { opacity: 1; transform: none; }
.team-overlay p { color: rgba(255,255,255,.92); font-size: .88rem; line-height: 1.7; margin: 0; }
.team-card { transition: transform .4s var(--ease); }

/* ==========================================================================
   MORE MOTION
   ========================================================================== */

/* thin green scroll-progress bar pinned to the top of the viewport */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 300; pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  transition: width .08s linear;
}

/* word-by-word heading reveal (applied to [data-split] by motion.js) */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%);
  transition: transform .8s var(--ease);
}
.is-in .split-word > i { transform: none; }
.is-in .split-word:nth-child(1) > i { transition-delay: .02s; }
.is-in .split-word:nth-child(2) > i { transition-delay: .10s; }
.is-in .split-word:nth-child(3) > i { transition-delay: .18s; }
.is-in .split-word:nth-child(4) > i { transition-delay: .26s; }
.is-in .split-word:nth-child(n+5) > i { transition-delay: .34s; }

/* gentle 3D tilt toward the pointer */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* parallax drift on any element tagged data-parallax */
[data-parallax] { will-change: transform; }

/* Page entrance. Deliberately a CSS animation rather than a JS-applied class:
   an animation always runs to its final state, so the page can never be left
   invisible if the JavaScript fails to load. */
body { animation: pageIn .55s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .split-word > i { transform: none !important; transition: none !important; }
  .scroll-progress { display: none; }
  body { animation: none !important; opacity: 1 !important; }
  [data-tilt] { transform: none !important; }
}

/* ==========================================================================
   AWARD RIBBON — a real item in the menu row.
   It was position:fixed before, which floated it over the nav and covered
   the last menu item. As a flex child it reserves its own width, so the
   navigation simply lays out beside it and nothing is ever hidden.
   ========================================================================== */
.award-rail {
  flex: 0 0 auto;
  position: relative;
  align-self: stretch;
  width: clamp(40px, 3.4vw, 54px);
  margin: calc(var(--hdr-pad) * -1) 0;   /* cancel the header padding so the
                                            ribbon hangs from the very top */
  line-height: 0;
  z-index: 2;
  transition: width .35s var(--ease);
}
.award-rail img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(6,7,63,.22));
  transition: transform .35s var(--ease);
}
.award-rail:hover img { transform: translateY(5px); }

/* keep the nav clear of the ribbon and let it breathe at mid widths */
.main-nav { margin-right: clamp(10px, 1.6vw, 26px); }

@media (max-width: 1240px) {
  .main-nav { gap: clamp(10px, 1.4vw, 20px); }
  .main-nav > a, .has-dropdown > a { font-size: .68rem; letter-spacing: .12em; }
}
@media (max-width: 1020px) {
  /* nav becomes a full-screen overlay here, so the ribbon just sits beside
     the hamburger */
  .award-rail { width: 34px; margin-right: 12px; }
  .main-nav { margin-right: 0; }
  body.nav-open .award-rail { opacity: 0; pointer-events: none; }
}
@media (max-width: 480px) { .award-rail { width: 28px; } }
@media print { .award-rail { display: none; } }

/* ==========================================================================
   PROJECT PAGE — Plans / Design / Create tabs + video tour
   ========================================================================== */
.pg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.pg-tab {
  padding: 11px 24px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: inherit; font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); cursor: pointer;
  transition: all .25s var(--ease);
}
.pg-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.pg-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-panel { display: none; }
.pg-panel.active { display: block; animation: pgIn .5s var(--ease) both; }
@keyframes pgIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pg-sub {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-ink); margin: 30px 0 16px;
}
.pg-sub:first-child { margin-top: 0; }

/* floor plans sit on a light card so line drawings read clearly */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.plan-grid figure { margin: 0; background: var(--bg-alt); border: 1px solid var(--line); padding: 14px; }
.plan-grid img { width: 100%; cursor: zoom-in; }
.plan-grid figcaption {
  margin-top: 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); text-align: center;
}

.video-tour { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.video-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   SERVICE DETAIL PAGE
   ========================================================================== */
.svc-hero-icon {
  width: 56px; height: 56px;
  stroke: var(--green-deep); fill: none; stroke-width: 1.2;
  margin-bottom: 26px;
}
.svc-body { margin-top: 22px; }
.svc-body h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; margin: 1.6em 0 .5em; }
.svc-body h3 { font-size: 1rem; font-weight: 700; letter-spacing: .04em; margin: 1.4em 0 .4em; }
.svc-body ul, .svc-body ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--ink-muted); }
.svc-body li { margin-bottom: .45em; }
.svc-body li::marker { color: var(--green-deep); }

/* "other services" pill row */
.svc-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.svc-mini-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.svc-mini-item svg { width: 28px; height: 28px; flex: 0 0 auto; stroke: var(--green-deep); fill: none; stroke-width: 1.3; }
.svc-mini-item span {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.svc-mini-item:hover { border-color: var(--green); transform: translateY(-3px); background: var(--accent-tint); }

/* the services grid cards are links now */
a.svc-card { display: block; color: inherit; }

/* ==========================================================================
   PROJECT MEDIA — stage tabs with Exterior / Interior / Landscape sub-tabs
   ========================================================================== */
.pg-count {
  display: inline-block; margin-left: 7px;
  font-size: .62rem; font-weight: 700;
  opacity: .55;
}
.pg-blurb {
  font-size: .9rem; font-style: italic; color: var(--ink-faint);
  margin: -14px 0 22px;
}
.sp-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sp-tab {
  padding: 8px 18px;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit; font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); cursor: pointer;
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.sp-tab:hover { color: var(--ink); background: var(--bg-alt); }
.sp-tab.active {
  background: var(--accent-tint);
  border-color: var(--green);
  color: var(--navy);
}
.sp-tab.active .pg-count { opacity: .8; }

/* hidden by the space filter */
.gallery-grid figure.is-filtered,
.plan-grid figure.is-filtered { display: none; }

/* a stage with no photos yet: tab stays visible but reads as pending */
.pg-tab.is-empty { color: var(--ink-faint); border-style: dashed; }
.pg-tab.is-empty:hover { color: var(--ink-muted); }
.pg-tab.is-empty.active { background: var(--ink-faint); border-color: var(--ink-faint); border-style: solid; color: #fff; }
.pg-tab.is-empty .pg-count { opacity: .4; }
.pg-empty {
  padding: 46px 0;
  text-align: center;
  font-style: italic;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  background: var(--bg-alt);
}

/* ==========================================================================
   PROMO VIDEO POPUP
   The image lightbox was rebuilt as a column layout (toolbar + scrolling
   stage) for zoom/pan. The promo video shares the .lightbox class but has
   completely different contents, so it inherited that layout and rendered
   top-left at its natural size. These rules give it its own centred layout.
   ========================================================================== */
#promoLightbox {
  background: rgba(6, 7, 63, .94);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
#promoLightbox > div {
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  max-height: 84vh;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  background: #000;
}
#promoLightbox iframe { display: block; width: 100%; height: 100%; border: 0; }
#promoLightbox .lightbox-close {
  position: absolute;
  top: clamp(10px, 2vw, 22px);
  right: clamp(10px, 2vw, 26px);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
  z-index: 2;
}
#promoLightbox .lightbox-close:hover {
  background: var(--green); border-color: var(--green); color: var(--navy);
}

/* ==========================================================================
   CONTACT FORM RESULT
   A full-width panel above the form, so the confirmation cannot be missed.
   ========================================================================== */
.form-result {
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 22px);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.form-result .fr-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; line-height: 1;
}
.form-result h2 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700; letter-spacing: .04em;
  margin: 0 0 8px;
}
.form-result p { margin: 0 0 6px; }
.form-result p:last-child { margin-bottom: 0; }
.form-result a { text-decoration: underline; }

.form-result.is-success { border-color: var(--green); background: var(--accent-tint); }
.form-result.is-success .fr-icon { background: var(--green); color: var(--navy); }
.form-result.is-success h2 { color: var(--navy); }

.form-result.is-error { border-color: #d98d86; background: #fdf1f0; }
.form-result.is-error .fr-icon { background: #c0392b; color: #fff; }
.form-result.is-error h2 { color: #a4453c; }

@media (max-width: 620px) {
  .form-result { flex-direction: column; gap: 12px; }
}
