/* ==========================================================================
   COPPERLINE — Brand & Digital Studio
   Design system stylesheet. No build step, plain CSS, mobile-first.
   Written with maximum-compatibility properties (no `inset`, no logical
   shorthands, no standalone translate/rotate) so it renders identically
   in older embedded/webview engines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PALETTE — CSS custom properties
   -------------------------------------------------------------------------- */
:root {
  /* Base neutrals */
  --ink:        #0D1210; /* deep green-cast near-black — primary dark background */
  --ink-2:      #151D19; /* raised surfaces / cards on dark sections */
  --ink-3:      #222D27; /* hairlines, borders and dividers on dark */

  /* Warm lights */
  --cream:      #F4EFE4; /* warm off-white — light section backgrounds (never pure white) */
  --cream-2:    #EAE2D1; /* cards, wells and alternate rows on cream sections */
  --cream-3:    #DDD2BC; /* hairlines and borders on light sections */

  /* Brand */
  --pine:       #1F5B45; /* PRIMARY — deep trustworthy green: links, brand blocks, section tints */
  --pine-soft:  #2E7A5D; /* pine hover / active state, chart fills */
  --pine-deep:  #143C2E; /* dark pine — panels, quote blocks on cream */

  /* Accent */
  --copper:     #D08A4C; /* ACCENT — CTAs, highlights, counters. Use sparingly. */
  --copper-hi:  #E3A264; /* copper hover state and small glows */

  /* Text */
  --text-hi:    #F1ECDF; /* high-contrast text on dark */
  --text-lo:    #A7B2A8; /* muted text on dark */
  --text-ink:   #17201B; /* body text on cream */
  --text-ink-lo:#5A645B; /* muted text on cream */

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
  --step-3:  clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-4:  clamp(2.8rem, 2rem + 3.6vw, 5rem);
  --step-hero: clamp(3rem, 1.4rem + 8vw, 7.75rem); /* oversized hero headline */

  /* Rhythm */
  --space-s: clamp(1rem, 2vw, 1.5rem);
  --space-m: clamp(2rem, 4vw, 3.5rem);
  --space-l: clamp(4rem, 8vw, 8rem);
  --space-xl: clamp(6rem, 12vw, 12rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 24px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 88px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-hi);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul[class], ol[class] { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: #D08A4C; color: #0D1210; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--step-hero); font-variation-settings: "opsz" 120; }
h2 { font-size: var(--step-3); font-variation-settings: "opsz" 80; }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); line-height: 1.25; }

p { max-width: 62ch; }
strong { font-weight: 640; }
em { font-family: var(--font-display); font-style: italic; }

:focus-visible { outline: 2px solid #D08A4C; outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container,
.container--wide,
.container--narrow {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container { max-width: calc(1280px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1520px + 2 * var(--gutter)); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-top: var(--space-l); padding-bottom: var(--space-l); position: relative; }
.section--xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* Light + tinted section themes */
.theme-cream { background: var(--cream); color: var(--text-ink); }
.theme-cream h1, .theme-cream h2, .theme-cream h3, .theme-cream h4 { color: var(--text-ink); }
.theme-cream .muted { color: var(--text-ink-lo); }
.theme-pine { background: var(--pine-deep); color: var(--text-hi); }
.muted { color: var(--text-lo); }

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: var(--step--1); font-weight: 620;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; margin-right: 0.75rem; }
.theme-cream .eyebrow { color: var(--pine); }

.section-head { margin-bottom: var(--space-m); }
.section-head p { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; }
.section-head--split { display: grid; grid-gap: 1.5rem; gap: 1.5rem; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
}

.grid { display: grid; grid-gap: clamp(1.25rem, 2.5vw, 2rem); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Offset editorial two-column band */
.band { display: grid; grid-gap: var(--space-m); gap: var(--space-m); align-items: center; }
@media (min-width: 900px) {
  .band { grid-template-columns: repeat(12, 1fr); }
  .band > .band-media { grid-column: 1 / 7; }
  .band > .band-copy { grid-column: 8 / 13; }
  .band--flip > .band-media { grid-column: 7 / 13; grid-row: 1; }
  .band--flip > .band-copy { grid-column: 1 / 6; grid-row: 1; }
}

.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--copper); font-weight: 560; }
.theme-cream .prose a { color: var(--pine); }
.prose a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   4. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center;
  padding: 1rem 1.9rem; border-radius: 999px;
  font-weight: 620; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 1em; height: 1em; margin-left: 0.7rem; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--copper); color: var(--ink); }
.btn--primary:hover { background: var(--copper-hi); }
.btn--ghost { border: 1px solid var(--ink-3); color: var(--text-hi); }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper); }
.theme-cream .btn--ghost { border-color: var(--cream-3); color: var(--text-ink); }
.theme-cream .btn--ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn--pine { background: var(--pine); color: var(--text-hi); }
.btn--pine:hover { background: var(--pine-soft); }

/* Animated underline link */
.link-line {
  position: relative; display: inline-flex; align-items: center;
  font-weight: 620; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper); padding-bottom: 4px;
}
.link-line svg { margin-left: 0.5rem; }
.theme-cream .link-line { color: var(--pine); }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   5. NAVIGATION  (#ez-nav)
   -------------------------------------------------------------------------- */
#ez-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: auto;
  width: 100%;
  z-index: 100;
  height: 88px; /* static fallback */
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform 0.45s var(--ease-out), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
#ez-nav.is-scrolled {
  background: rgba(13, 18, 16, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--ink-3);
}
#ez-nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  width: 100%;
  max-width: calc(1520px + 2 * var(--gutter));
  margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: inline-flex; align-items: center; position: relative; z-index: 130; }
.nav-brand img { height: 44px; width: auto; }

.nav-links { display: none; }
.nav-cta { display: none; }

@media (min-width: 980px) {
  .nav-links { display: flex; align-items: center; }
  .nav-links li { margin-left: clamp(1.25rem, 2.4vw, 2.5rem); }
  .nav-links li:first-child { margin-left: 0; }
  .nav-links a {
    position: relative; display: inline-block;
    padding-top: 10px; padding-bottom: 12px; /* breathing room above & below the link text */
    font-size: 0.92rem; font-weight: 540; letter-spacing: 0.02em;
    color: var(--text-lo); transition: color 0.3s;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px;
    background: var(--copper); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease-out);
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-hi); }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { display: inline-flex; padding: 0.75rem 1.5rem; }
}

/* Hamburger — morphs into an X when open (aria-expanded="true") */
.nav-toggle {
  display: inline-flex; flex-direction: column;
  padding: 12px; position: relative; z-index: 130;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--text-hi);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 980px) { .nav-toggle { display: none; } }

/* Mobile menu overlay — explicit offsets (no `inset`), full viewport, scrollable */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 120;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 108px var(--gutter) 3rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: block; }
.mobile-menu li + li { margin-top: 0.4rem; }
.mobile-menu a.mm-link {
  font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 1.15; color: var(--text-hi); display: inline-block;
  transition: color 0.3s, transform 0.4s var(--ease-out);
}
.mobile-menu a.mm-link:hover { color: var(--copper); transform: translateX(10px); }
.mobile-menu .mm-foot { margin-top: 2.5rem; color: var(--text-lo); font-size: var(--step--1); }
.mobile-menu .mm-foot a { color: var(--copper); }
body.menu-locked { overflow: hidden; }

/* While the menu is open: keep the nav (and its X toggle) above the overlay,
   visible, and stripped of its scrolled backdrop so only the X reads. */
body.menu-locked #ez-nav {
  z-index: 140;
  transform: none !important;
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;   /* fallback */
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + var(--space-m));
  padding-bottom: var(--space-l);
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 112%; object-fit: cover; opacity: 0.34; }
.hero-veil {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,18,16,0.35) 0%, rgba(13,18,16,0.72) 62%, #0D1210 100%);
}
#hero-canvas { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; pointer-events: none; }

.hero-content { position: relative; }
.hero h1 { max-width: 12ch; }
.hero h1 .accent { color: var(--copper); font-style: italic; font-weight: 480; }
.hero-sub { margin-top: 1.75rem; font-size: var(--step-1); line-height: 1.5; color: var(--text-lo); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; margin-top: 2.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem; }
.hero-ctas .btn { margin-left: 0.5rem; margin-bottom: 0.5rem; }
.hero-meta { margin-top: var(--space-m); display: flex; flex-wrap: wrap; color: var(--text-lo); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-meta span { margin-right: 2.5rem; margin-bottom: 0.5rem; }

/* Inner-page hero */
.page-hero { padding-top: calc(var(--nav-h) + var(--space-l)); padding-bottom: var(--space-m); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero .lede { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.55; color: var(--text-lo); max-width: 56ch; }
.theme-cream.page-hero .lede { color: var(--text-ink-lo); }

/* --------------------------------------------------------------------------
   7. MARQUEE / TICKER
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3);
  padding-top: 1.4rem; padding-bottom: 1.4rem;
}
.marquee-track { display: flex; width: -moz-max-content; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; white-space: nowrap;
  margin-right: 4rem;
  font-family: var(--font-display); font-size: var(--step-1); color: var(--text-lo); font-weight: 480;
}
.marquee-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); margin-left: 4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  transform-style: preserve-3d;
}
.card:hover { border-color: rgba(208, 138, 76, 0.45); }
.theme-cream .card { background: var(--cream-2); border-color: var(--cream-3); }
.card h3 { margin-top: 1rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--text-lo); }
.theme-cream .card p { color: var(--text-ink-lo); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31, 91, 69, 0.25); color: var(--copper);
}
.theme-cream .card-icon { background: rgba(31, 91, 69, 0.12); color: var(--pine); }
.card-icon svg { width: 26px; height: 26px; }

/* Image-led cards (services preview, work grid) */
.media-card { display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--ink-2); border: 1px solid var(--ink-3); transform-style: preserve-3d; }
.media-card figure { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.media-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out), filter 0.5s; }
.media-card figure::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 60, 46, 0.55) 100%);
  opacity: 0; transition: opacity 0.5s;
}
.media-card:hover figure img { transform: scale(1.06); }
.media-card:hover figure::after { opacity: 1; }
.media-card .media-body { padding: 1.5rem 1.6rem 1.75rem; }
.media-card .media-tag { font-size: 0.72rem; font-weight: 640; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.media-card h3 { font-size: var(--step-1); margin-top: 0.5rem; margin-bottom: 0.4rem; }
.media-card p { font-size: 0.95rem; color: var(--text-lo); }
.theme-cream .media-card { background: var(--cream-2); border-color: var(--cream-3); }
.theme-cream .media-card p { color: var(--text-ink-lo); }

/* Fallback for engines without aspect-ratio support */
@supports not (aspect-ratio: 1 / 1) {
  .media-card figure { height: 280px; }
  .team-card figure { height: 380px; }
}

/* Scroll image reveal — JS animates clip-path from inset(0 0 100% 0) */
.img-reveal { overflow: hidden; border-radius: var(--radius-lg); position: relative; }
.img-reveal img { width: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   9. PROCESS STEPS
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; border-top: 1px solid var(--ink-3); }
.theme-cream .steps { border-color: var(--cream-3); }
.step {
  display: grid; grid-gap: 0.75rem; gap: 0.75rem;
  padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--ink-3); align-items: start;
}
.theme-cream .step { border-color: var(--cream-3); }
.step-num {
  font-family: var(--font-display); font-size: var(--step-3); font-weight: 380;
  color: var(--copper); font-variation-settings: "opsz" 100; line-height: 1;
}
.theme-cream .step-num { color: var(--pine); }
.step p { color: var(--text-lo); font-size: 0.98rem; }
.theme-cream .step p { color: var(--text-ink-lo); }
@media (min-width: 900px) {
  .step { grid-template-columns: 110px 1fr 1.4fr; grid-gap: 2.5rem; gap: 2.5rem; }
}

/* --------------------------------------------------------------------------
   10. STATS BAND
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-gap: 2rem; gap: 2rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 2px solid var(--copper); padding-left: 1.4rem; }
.stat-value {
  font-family: var(--font-display); font-size: var(--step-4); line-height: 1;
  font-weight: 480; font-variation-settings: "opsz" 110; color: var(--text-hi);
}
.theme-pine .stat-value, .theme-pine .stat p { color: var(--text-hi); }
.stat p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--text-lo); }
.theme-pine .stat p { color: rgba(241, 236, 223, 0.72); }

/* --------------------------------------------------------------------------
   11. TESTIMONIALS (Swiper — custom look)
   -------------------------------------------------------------------------- */
.testimonial-slide { padding-bottom: 0.5rem; }
.testimonial {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.testimonial blockquote {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3;
  font-weight: 440; font-variation-settings: "opsz" 60;
}
.testimonial blockquote::before { content: "\201C"; color: var(--copper); }
.testimonial blockquote::after { content: "\201D"; color: var(--copper); }
.testimonial-person { display: flex; align-items: center; margin-top: 1.75rem; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin-right: 1rem; }
.testimonial-person .t-name { font-weight: 640; font-size: 0.95rem; }
.testimonial-person .t-role { font-size: 0.85rem; color: var(--text-lo); }

.swiper-controls { display: flex; align-items: center; margin-top: 2rem; }
.swiper-pagination-custom { position: static; display: flex; width: auto; margin-left: 1.5rem; margin-right: 1.5rem; }
.swiper-pagination-custom .swiper-pagination-bullet {
  width: 26px; height: 3px; border-radius: 2px; background: var(--ink-3); opacity: 1;
  margin-left: 0.25rem; margin-right: 0.25rem; transition: background 0.3s;
}
.swiper-pagination-custom .swiper-pagination-bullet-active { background: var(--copper); }
.swiper-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hi); transition: border-color 0.3s, color 0.3s;
}
.swiper-btn:hover { border-color: var(--copper); color: var(--copper); }
.swiper-btn svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   12. TEAM
   -------------------------------------------------------------------------- */
.team-card figure { aspect-ratio: 3 / 4; }
.team-card figure img { filter: saturate(0.9); }
.team-card .t-role { color: var(--copper); font-size: 0.8rem; font-weight: 620; letter-spacing: 0.16em; text-transform: uppercase; }
.theme-cream .team-card .t-role { color: var(--pine); }
.team-card .t-bio { margin-top: 0.6rem; }

/* --------------------------------------------------------------------------
   13. FAQ (styled <details>)
   -------------------------------------------------------------------------- */
.faq { display: grid; border-top: 1px solid var(--ink-3); }
.theme-cream .faq { border-color: var(--cream-3); }
.faq-item { border-bottom: 1px solid var(--ink-3); }
.theme-cream .faq-item { border-color: var(--cream-3); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 520; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.35rem; top: 50%;
  margin-top: -0.85rem;
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; color: var(--copper);
  transition: transform 0.35s var(--ease-out);
}
.theme-cream .faq-item summary::after { color: var(--pine); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding-bottom: 1.75rem; color: var(--text-lo); max-width: 68ch; }
.theme-cream .faq-body { color: var(--text-ink-lo); }
.faq-body p + p { margin-top: 0.8em; }

/* --------------------------------------------------------------------------
   14. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--pine-deep); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; top: -40%; left: -40%; right: -40%; bottom: -40%;
  background: radial-gradient(closest-side, rgba(208, 138, 76, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: var(--step-3); max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-banner p { margin: 1.25rem auto 2rem; color: rgba(241, 236, 223, 0.78); max-width: 52ch; }
.cta-banner .btn, .cta-banner a { position: relative; }

/* --------------------------------------------------------------------------
   15. FOOTER  (#ez-footer)
   -------------------------------------------------------------------------- */
#ez-footer { background: #0A0E0C; border-top: 1px solid var(--ink-3); padding-top: var(--space-l); padding-bottom: 2rem; }
.footer-grid { display: grid; grid-gap: 2.5rem; gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; grid-gap: 3rem; gap: 3rem; } }
.footer-brand img { height: 42px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--text-lo); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 1.25rem; font-weight: 640; }
.footer-col ul li + li { margin-top: 0.7rem; }
.footer-col a { color: var(--text-hi); font-size: 0.95rem; opacity: 0.85; transition: color 0.3s, opacity 0.3s; }
.footer-col a:hover { color: var(--copper); opacity: 1; }
.footer-col address { font-style: normal; color: var(--text-lo); font-size: 0.95rem; line-height: 1.8; }
.footer-col address a { color: var(--text-hi); }
.footer-bottom {
  margin-top: var(--space-m); padding-top: 1.5rem; border-top: 1px solid var(--ink-3);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--text-lo);
}
.footer-bottom ul { display: flex; }
.footer-bottom ul li + li { margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--copper); }

/* --------------------------------------------------------------------------
   16. CONTACT
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-gap: var(--space-m); gap: var(--space-m); }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1.25fr 1fr; grid-gap: 4rem; gap: 4rem; align-items: start; } }
.form-grid { display: grid; grid-gap: 1.4rem; gap: 1.4rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.8rem; font-weight: 620; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--text-hi);
  font: inherit; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--copper); }
.field textarea { min-height: 160px; resize: vertical; }
.info-block { border: 1px solid var(--ink-3); border-radius: var(--radius-lg); padding: 1.75rem; background: var(--ink-2); }
.info-block + .info-block { margin-top: 1.25rem; }
.info-block h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.info-block p, .info-block address { font-style: normal; color: var(--text-lo); font-size: 0.95rem; line-height: 1.8; }
.info-block a { color: var(--copper); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-3); }
.map-embed img { width: 100%; object-fit: cover; }

.form-note { font-size: 0.85rem; color: var(--text-lo); }
.form-success { display: none; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: rgba(46, 122, 93, 0.18); border: 1px solid var(--pine-soft); color: var(--text-hi); }
.form-success.is-visible { display: block; }

/* --------------------------------------------------------------------------
   17. CASE STUDY — pinned gallery
   -------------------------------------------------------------------------- */
.cs-meta { display: flex; flex-wrap: wrap; margin-top: 2rem; font-size: var(--step--1); }
.cs-meta > div { margin-right: 2.5rem; margin-bottom: 1rem; }
.cs-meta dt { letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-lo); font-size: 0.72rem; margin-bottom: 0.3rem; }
.cs-meta dd { font-weight: 560; }
.cs-pin-wrap { display: grid; grid-gap: var(--space-m); gap: var(--space-m); }
@media (min-width: 980px) {
  .cs-pin-wrap { grid-template-columns: 1fr 1fr; grid-gap: 4rem; gap: 4rem; align-items: start; }
  .cs-pin-media { position: -webkit-sticky; position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.cs-pin-media .img-reveal + .img-reveal { margin-top: 1.5rem; }
.cs-pin-copy .cs-phase {
  padding-top: clamp(2rem, 5vh, 4rem); padding-bottom: clamp(2rem, 5vh, 4rem);
  border-bottom: 1px solid var(--ink-3);
}
.cs-pin-copy .cs-phase:last-child { border-bottom: 0; }
.cs-phase h3 { margin-bottom: 0.9rem; }
.cs-phase p { color: var(--text-lo); }

/* Work filter pills (visual only) */
.filter-row { display: flex; flex-wrap: wrap; margin-bottom: var(--space-m); }
.filter-pill {
  padding: 0.55rem 1.2rem; border-radius: 999px; border: 1px solid var(--ink-3);
  margin-right: 0.6rem; margin-bottom: 0.6rem;
  font-size: 0.85rem; font-weight: 560; color: var(--text-lo); transition: all 0.3s;
}
.filter-pill:hover, .filter-pill.is-active { border-color: var(--copper); color: var(--copper); }

/* --------------------------------------------------------------------------
   18. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.legal h3 { font-size: var(--step-1); margin: 1.75rem 0 0.75rem; }
.legal p, .legal li { color: var(--text-lo); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-top: 0.75rem; margin-bottom: 0.75rem; }
.legal ul li + li { margin-top: 0.5rem; }
.legal p + p { margin-top: 0.9em; }
.legal-updated { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }

/* --------------------------------------------------------------------------
   19. CUSTOM CURSOR (desktop, pointer:fine only — enabled via JS)
   JS centers the elements with negative margins; GSAP drives x/y transform.
   -------------------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%; display: none;
}
.cursor-dot { width: 8px; height: 8px; margin-left: -4px; margin-top: -4px; background: var(--copper); }
.cursor-ring {
  width: 42px; height: 42px; margin-left: -21px; margin-top: -21px;
  border: 1px solid rgba(208, 138, 76, 0.55);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), margin 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; }
body.has-cursor .cursor-ring.is-active {
  width: 72px; height: 72px; margin-left: -36px; margin-top: -36px;
  background: rgba(208, 138, 76, 0.12);
}

/* --------------------------------------------------------------------------
   20. DECORATIVE / MISC
   -------------------------------------------------------------------------- */
.rule { border: 0; height: 1px; background: var(--ink-3); }
.theme-cream .rule { background: var(--cream-3); }
.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 200;
  background: var(--copper); color: var(--ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 620;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   21. MOTION SAFETY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
