/* ===================================================================
   TEXIMASS — Cinematic dark theme
   Palette: near-black + golden spotlight (from hero video) + forest green
   Type: Fraunces (display serif) + Inter (UI/body)
   =================================================================== */

:root {
  --bg:          #0a0c0a;
  --bg-2:        #0d100d;
  --surface:     #121712;
  --surface-2:   #182018;
  --line:        rgba(228, 226, 213, 0.10);

  --green-deep:  #0f3d22;
  --green:       #1f7a43;
  --green-bright:#34c46a;

  /* brighter, high-impact accent so highlighted words really pop */
  --gold:        #ffc62b;
  --gold-soft:   #ffd85c;
  --gold-deep:   #f0a800;

  --cream:       #f4f1e8;
  --text:        #e9e7dc;
  --muted:       #9aa39a;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::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: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #1a1300; }

.container { width: min(var(--maxw), 90vw); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.accent-serif {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  color: var(--gold-soft);
  text-shadow: 0 0 32px rgba(255, 198, 43, 0.35);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.section-head--left { text-align: left; margin-inline: 0; }

/* ===================================================================
   SCROLL PROGRESS + CURSOR
   =================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 200;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
}
/* custom blend cursor removed — it disappeared over mid-tone areas.
   We use the native cursor everywhere so it's never lost. */
.cursor, .cursor-dot { display: none !important; }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem clamp(1.4rem, 5vw, 4rem);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 1.25rem;
}
.nav__logo { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); transition: height .4s var(--ease); }
.nav.is-scrolled .nav__logo { height: 44px; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
  font-size: 1rem; font-weight: 500; color: var(--text); position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__burger span { width: 26px; height: 2px; background: var(--cream); transition: .3s var(--ease); display: block; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.8rem; border-radius: 100px; cursor: pointer;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn--solid { background: var(--gold); color: #1a1300; }
.btn--solid:hover { background: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(227,176,75,0.35); }
.btn--ghost { border-color: rgba(244,241,232,0.4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(244,241,232,0.07); transform: translateY(-3px); }
.btn--lg { padding: 1.15rem 2.6rem; font-size: 1.05rem; }
.nav__cta { padding: 0.7rem 1.4rem; font-size: 0.88rem; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: rgba(8,10,8,0.97);
  backdrop-filter: blur(20px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--cream); }
.mobile-menu .btn { font-family: 'Inter', sans-serif; font-size: 1rem; margin-top: 1rem; }

/* ===================================================================
   DEPTH SYSTEM
   =================================================================== */
.scene { position: relative; }
.layer { position: absolute; inset: 0; will-change: transform; }
.depth-0 { z-index: 0; }
.depth-1 { z-index: 1; }
.depth-2 { z-index: 2; }
.depth-3 { z-index: 3; }
.depth-4 { z-index: 4; position: relative; }
.depth-5 { z-index: 5; }

/* glows / atmosphere */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform; }
.glow--gold { width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(227,176,75,0.45), transparent 65%); }
.glow--green { width: 55vw; height: 55vw; background: radial-gradient(circle, rgba(31,122,67,0.5), transparent 65%); }
.glow--tl { top: -15vw; left: -10vw; }
.glow--br { bottom: -15vw; right: -10vw; }
.glow--center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ===================================================================
   HERO
   =================================================================== */
/* tall scene gives the scroll distance for the video to scrub through */
.hero { height: 200vh; position: relative; }
.hero__pin {
  position: sticky; top: 0; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
/* Touch devices keep the cinematic pinned sections (CSS sticky = native-smooth
   on mobile), but the video AUTOPLAYS while scroll drives GPU transforms
   (zoom / content fade) instead of janky per-frame seeking. Slightly shorter
   scroll distance than desktop for a snappier feel. */
body.is-touch .hero { height: 170vh; }
body.is-touch .showcase { height: 190vh; }
.hero__bg { z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
/* frame-sequence canvas (touch) — sits under the scrim, fills the stage */
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 0%, rgba(10,12,10,0.35) 55%, rgba(10,12,10,0.9) 100%),
    linear-gradient(90deg, rgba(10,12,10,0.92) 0%, rgba(10,12,10,0.5) 45%, transparent 75%),
    linear-gradient(0deg, var(--bg) 2%, transparent 30%);
}
/* full-width flow element; inner block aligns to the same left edge as .container */
.hero__content { width: 100%; }
.hero__content-inner { width: min(var(--maxw), 90vw); margin-inline: auto; }
.hero__content-inner > * { max-width: 720px; }
.hero__title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 6.2rem); line-height: 1.0;
  letter-spacing: -0.025em; color: var(--cream); margin-bottom: 1.6rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__inner { display: block; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 2.4rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue__line { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--cream); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { top: -50%; } 100% { top: 100%; } }

/* ===================================================================
   MISSION
   =================================================================== */
.mission { padding: clamp(7rem, 16vw, 14rem) 0; overflow: hidden; }
.mission__inner { max-width: 1000px; }
.mission__statement {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.22;
  letter-spacing: -0.015em; color: var(--cream); margin-bottom: 2.6rem;
}
.mission__statement .word { display: inline-block; opacity: 0.16; transition: opacity .3s; }
.mission__body { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; max-width: 720px; }
.mission__body p { color: var(--muted); font-size: 1.08rem; flex: 1 1 380px; }
.link-arrow { color: var(--gold); font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ===================================================================
   IMPACT / STATS
   =================================================================== */
.impact { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stat { background: var(--bg-2); padding: clamp(2rem, 4vw, 3.2rem) 1.8rem; text-align: center; transition: background .4s; }
.stat:hover { background: var(--surface); }
.stat__num { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.stat__label { margin-top: .8rem; color: var(--muted); font-size: 0.95rem; }

/* ===================================================================
   SHOWCASE (pinned body video)
   =================================================================== */
.showcase { height: 220vh; position: relative; }
.showcase__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.showcase__media { position: absolute; inset: 0; z-index: 0; }
.showcase__video { width: 100%; height: 100%; object-fit: cover; }
.showcase__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,8,0.95) 0%, rgba(8,10,8,0.35) 45%, rgba(8,10,8,0.55) 100%); }
.showcase__content { position: relative; z-index: 4; width: min(var(--maxw), 90vw); margin: 0 auto; padding-bottom: clamp(4rem, 10vw, 8rem); max-width: 880px; }
.showcase__title { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--cream); margin-bottom: 1.4rem; }
.showcase__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(244,241,232,0.82); max-width: 600px; }

/* ===================================================================
   PILLARS
   =================================================================== */
.pillars { padding: clamp(6rem, 12vw, 10rem) 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.pillar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 0 0, rgba(31,122,67,0.14), transparent 60%); opacity: 0; transition: opacity .5s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(227,176,75,0.4); }
.pillar:hover::before { opacity: 1; }
.pillar__no { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: 1.4rem; }
.pillar h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--cream); margin-bottom: .9rem; line-height: 1.2; }
.pillar p { color: var(--muted); }

/* ===================================================================
   SERVICES (interactive list)
   =================================================================== */
.services { padding: clamp(6rem, 12vw, 10rem) 0; position: relative; overflow: hidden; }
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0.5rem; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .45s var(--ease), color .45s;
}
.service::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(227,176,75,0.10), transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); z-index: -1; }
.service:hover { padding-left: 1.5rem; }
.service:hover::before { transform: scaleX(1); }
.service__idx { font-family: 'Fraunces', serif; color: var(--muted); font-size: 1rem; transition: color .4s; }
.service:hover .service__idx { color: var(--gold); }
.service__main h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.1rem); color: var(--cream); line-height: 1.1; transition: transform .45s var(--ease); }
.service__main p { color: var(--muted); margin-top: .4rem; max-width: 560px; font-size: .98rem; }
.service__arrow { font-size: 1.5rem; color: var(--gold); opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .4s var(--ease); }
.service:hover .service__arrow { opacity: 1; transform: translateX(0); }

/* ===================================================================
   PROJECTS
   =================================================================== */
.projects { padding: clamp(6rem, 12vw, 10rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.projects__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.project {
  grid-column: span 2; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.8rem, 3vw, 2.6rem); min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .5s;
}
.project--lg { grid-column: span 6; min-height: 360px; }
.project__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .55; transition: opacity .5s, transform .7s var(--ease); }
.project:hover .project__img { opacity: .72; transform: scale(1.06); }
.project::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8,10,8,0.94) 0%, rgba(8,10,8,0.35) 55%, rgba(8,10,8,0.5) 100%); }
.project::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 100% at 100% 0, rgba(255,198,43,0.18), transparent 55%); opacity: 0; transition: opacity .5s; }
.project:hover { transform: translateY(-6px); border-color: rgba(255,198,43,0.4); }
.project:hover::after { opacity: 1; }
.project__tag { position: absolute; z-index: 2; top: clamp(1.5rem,3vw,2.2rem); left: clamp(1.8rem,3vw,2.6rem); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.project h3 { position: relative; z-index: 2; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--cream); margin-bottom: .6rem; line-height: 1.15; }
.project p { position: relative; z-index: 2; color: #d6d4c8; font-size: .96rem; }

/* ABOUT story image */
.story__media { width: 100%; border-radius: 20px; object-fit: cover; border: 1px solid var(--line); aspect-ratio: 4 / 5; }

/* ===================================================================
   CASE STUDY
   =================================================================== */
.casestudy { padding: clamp(7rem, 14vw, 12rem) 0; text-align: center; position: relative; overflow: hidden; }
.casestudy__inner { max-width: 820px; }
.casestudy__num { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(6rem, 22vw, 16rem); line-height: 0.9; color: var(--gold); letter-spacing: -0.04em; }
.casestudy__title { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 3rem); color: var(--cream); margin-bottom: 1.6rem; line-height: 1.1; }
.casestudy__body { color: var(--muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }
.casestudy__body strong { color: var(--cream); }

/* ===================================================================
   LEADERSHIP
   =================================================================== */
.leadership { padding: clamp(6rem, 12vw, 10rem) 0; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.leader { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(2rem, 4vw, 3rem); transition: transform .5s var(--ease), border-color .5s; }
.leader:hover { transform: translateY(-6px); border-color: rgba(227,176,75,0.4); }
.leader__monogram { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: var(--cream); font-family: 'Fraunces', serif; font-size: 1.4rem; margin-bottom: 1.6rem; }
.leader__photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin-bottom: 1.6rem; border: 2px solid rgba(255,198,43,0.35); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.leader h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.6rem; color: var(--cream); }
.leader__role { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .04em; margin-bottom: 1rem; }
.leader__bio { color: var(--muted); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq { padding: clamp(6rem, 12vw, 10rem) 0; }
.faq__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; background: none; border: 0; color: var(--cream); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500;
  text-align: left; padding: 1.6rem 3rem 1.6rem 0; position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color .3s;
}
.acc__q:hover { color: var(--gold-soft); }
.acc__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; background: var(--gold); transition: transform .4s var(--ease); }
.acc__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.acc__icon::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.acc.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__a { overflow: hidden; height: 0; }
.acc__a p { color: var(--muted); padding-bottom: 1.6rem; max-width: 620px; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact { padding: clamp(7rem, 14vw, 12rem) 0; text-align: center; position: relative; overflow: hidden; }
.contact__inner { max-width: 820px; }
.contact__title { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(2.4rem, 6.5vw, 5.2rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--cream); margin-bottom: 1.4rem; }
.contact__sub { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2.6rem; }
.contact__locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(4rem, 9vw, 7rem); text-align: left; max-width: 760px; margin-inline: auto; }
.loc { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.loc h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; font-weight: 600; }
.loc p { color: var(--text); }

/* ===================================================================
   FOOTER (expanded, multi-column, professional)
   =================================================================== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6.5rem); }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.footer__brand { max-width: 340px; }
.footer__logo { height: 58px; width: auto; display: block; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.footer__tag { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; color: var(--gold-soft); margin-bottom: 1rem; }
.footer__blurb { color: var(--muted); font-size: 0.95rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; font-weight: 600; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.footer__col a { color: var(--muted); font-size: 0.98rem; transition: color .3s, padding-left .3s; }
.footer__col a:hover { color: var(--cream); padding-left: 4px; }
.footer__contact { font-style: normal; }
.footer__contact .loc-item { margin-bottom: 1.2rem; }
.footer__contact .loc-item strong { display: block; color: var(--cream); font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.footer__contact .loc-item span, .footer__contact .loc-item a { color: var(--muted); font-size: 0.93rem; display: block; }
.footer__contact .loc-item a:hover { color: var(--gold-soft); }
.footer__bar { border-top: 1px solid var(--line); padding: 1.8rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; width: min(var(--maxw), 90vw); margin: 0 auto; }
.footer__bar p { color: var(--muted); font-size: 0.86rem; }
.footer__bar a { color: var(--gold-soft); }

/* ===================================================================
   REVEAL STATES (animated in via JS)
   =================================================================== */
.reveal-up, .reveal-card, .reveal-row { opacity: 0; }
.reveal-up { transform: translateY(34px); }
.reveal-card { transform: translateY(50px); }
.reveal-row { transform: translateY(28px); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .faq__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .footer__brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 760px) {
  .hero__scrim { background:
    linear-gradient(0deg, var(--bg) 4%, transparent 40%),
    linear-gradient(0deg, rgba(10,12,10,0.55), rgba(10,12,10,0.35)); }
  .hero__content { max-width: 100%; }
  .pillars__grid, .leaders, .contact__locations { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .project, .project--lg { grid-column: 1 / -1; }
  .service { grid-template-columns: auto 1fr; }
  .service__arrow { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .subhero__title { font-size: clamp(2.4rem, 12vw, 3.4rem) !important; }
  .article__body { font-size: 1.05rem !important; }
  .blog-grid, .values__grid, .svc-grid { grid-template-columns: 1fr !important; }
}

/* ===================================================================
   SUB-PAGE HERO (about / services / blog / contact / article / 404)
   =================================================================== */
.subhero { position: relative; padding: clamp(9rem, 18vw, 14rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.subhero .glow { z-index: 0; }
.subhero__inner { position: relative; z-index: 2; }
.subhero__eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.3rem; }
.subhero__title { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.03; letter-spacing: -0.02em; color: var(--cream); max-width: 14ch; }
.subhero__title.wide { max-width: 22ch; }
.subhero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 600px; margin-top: 1.6rem; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ===================================================================
   ABOUT — story / values / team / testimonial
   =================================================================== */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.story__tags { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.tag-pill { border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1.1rem; font-size: .85rem; color: var(--gold-soft); }
.story__lead { font-family: 'Fraunces', serif; font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.3; color: var(--cream); font-weight: 400; }
.story__body p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem,3vw,2.2rem); transition: transform .5s var(--ease), border-color .5s; }
.value:hover { transform: translateY(-6px); border-color: rgba(255,198,43,0.4); }
.value h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.5rem; color: var(--cream); margin-bottom: .7rem; }
.value p { color: var(--muted); font-size: .96rem; }
.testimonial { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial blockquote { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(1.3rem,2.6vw,2rem); line-height: 1.4; color: var(--cream); margin-bottom: 1.6rem; }
.testimonial cite { font-style: normal; color: var(--gold-soft); font-weight: 600; }
.testimonial cite span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; margin-top: .2rem; }

/* ===================================================================
   SERVICES OVERVIEW PAGE
   =================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(2rem,3.5vw,2.8rem); position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .5s; }
.svc-card::before { content:''; position:absolute; inset:0; background: radial-gradient(120% 100% at 0 0, rgba(31,122,67,0.16), transparent 60%); opacity:0; transition:opacity .5s; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(255,198,43,0.45); }
.svc-card:hover::before { opacity:1; }
.svc-card__no { font-family:'Fraunces',serif; color: var(--gold); font-size: 1rem; }
.svc-card h3 { font-family:'Fraunces',serif; font-weight:500; font-size: clamp(1.4rem,2.6vw,2rem); color: var(--cream); margin:.8rem 0 .7rem; line-height:1.15; }
.svc-card p { color: var(--muted); }
.svc-card .link-arrow { margin-top: 1.3rem; }
.svc-card--plain:hover { transform: translateY(-6px); }

/* ===================================================================
   BLOG LISTING + cards
   =================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), border-color .5s; min-height: 280px; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255,198,43,0.45); }
.post-card__media { height: 180px; background: linear-gradient(135deg, var(--green-deep), #0a0c0a); position: relative; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: .8rem; align-items: center; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-meta time { color: var(--muted); letter-spacing: .04em; }
.post-card h3 { font-family:'Fraunces',serif; font-weight:500; font-size: 1.4rem; color: var(--cream); line-height: 1.2; margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card .link-arrow { margin-top: 1.2rem; }

/* ===================================================================
   ARTICLE (service detail + blog post)
   =================================================================== */
.article { padding: clamp(2rem,5vw,4rem) 0 clamp(5rem,10vw,8rem); }
.article__cover { max-width: 980px; width: 100%; margin: 0 auto clamp(2rem,5vw,3.5rem); display: block; border-radius: 20px; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--line); }
.article__wrap { max-width: 760px; margin: 0 auto; }
.article__body { font-size: 1.14rem; line-height: 1.8; color: var(--text); }
.article__body > p { margin-bottom: 1.5rem; color: #cfcec3; }
.article__body h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--cream); margin: 2.8rem 0 1.1rem; line-height: 1.2; }
.article__body h2 + p { margin-top: 0; }
.article__body strong { color: var(--cream); font-weight: 600; }
.article__lead { font-size: 1.3rem !important; line-height: 1.6 !important; color: var(--cream) !important; margin-bottom: 2rem !important; }
.article__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.article__list li { position: relative; padding-left: 1.8rem; color: #cfcec3; }
.article__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(255,198,43,.5); }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; max-width: 760px; margin: 0 auto 2.5rem; }
.article-nav a { color: var(--muted); font-size: .9rem; transition: color .3s; }
.article-nav a:hover { color: var(--gold-soft); }

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.field label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem; color: var(--cream); font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--surface-2); }
.field textarea { resize: vertical; min-height: 150px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact-aside h3 { font-family:'Fraunces',serif; font-weight:500; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--cream); line-height: 1.2; margin-bottom: 1rem; }
.contact-aside p { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.contact-detail { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.contact-detail h4 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.contact-detail p, .contact-detail a { color: var(--text); }
.contact-detail a:hover { color: var(--gold-soft); }
.form-note { font-size: .85rem; color: var(--muted); }

/* ===================================================================
   404
   =================================================================== */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 10rem 0 6rem; }
.notfound__code { font-family: 'Fraunces', serif; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; color: var(--gold); text-shadow: 0 0 60px rgba(255,198,43,.3); }
.notfound h1 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(1.6rem,4vw,2.6rem); color: var(--cream); margin: 1rem 0; }
.notfound p { color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 860px) {
  .story, .contact-split { grid-template-columns: 1fr; }
  .values__grid, .svc-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   REDUCED MOTION — non-negotiable
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up, .reveal-card, .reveal-row { opacity: 1 !important; transform: none !important; }
  .mission__statement .word { opacity: 1 !important; }
  .hero__video, .showcase__video { transform: none; }
  .scroll-cue, .glow { display: none; }
}
