/* ============================================================
   getSHIFT Marketing Studio — Main Stylesheet
   Version: 2.0 | June 2026 — Light/Dark Mode
   Font: Poppins | Accent: #719e2f
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,600&display=swap');

/* ── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colours — never change */
  --green:       #719e2f;
  --dark-green:  #354401;
  --light-green: #bdd753;
  --font:        'Poppins', sans-serif;
  --nav-h:       80px;
  --max:         1180px;

  /* Dark mode tokens (default) */
  --bg:          #0a0a0a;
  --black:       #0a0a0a;
  --white:       #fefffa;
  --surface:     #1a1a1a;
  --surface2:    #111111;
  --gray:        rgba(254,255,250,0.45);
  --border:      rgba(254,255,250,0.07);
  --border-g:    rgba(113,158,47,0.25);
  --text:        #fefffa;
  --text-muted:  rgba(254,255,250,0.45);
  --text-faint:  rgba(254,255,250,0.25);
  --h-em:        rgba(254,255,250,0.38);
  --nav-bg:      rgba(10,10,10,0.97);
  --nav-border:  rgba(113,158,47,0.15);
  --footer-bg:   #050505;
  --footer-border: rgba(113,158,47,0.08);
}

/* ── LIGHT MODE TOKENS ─────────────────────────────────────── */
body.light-mode {
  --bg:          #fefffa;
  --black:       #fefffa;
  --white:       #212221;
  --surface:     #f0f0eb;
  --surface2:    #e8e8e3;
  --gray:        rgba(33,34,33,0.6);
  --border:      rgba(33,34,33,0.08);
  --border-g:    rgba(113,158,47,0.2);
  --text:        #212221;
  --text-muted:  rgba(33,34,33,0.55);
  --text-faint:  rgba(33,34,33,0.3);
  --h-em:        rgba(33,34,33,0.35);
  --nav-bg:      rgba(254,255,250,0.97);
  --nav-border:  rgba(113,158,47,0.2);
  --footer-bg:   #f0f0eb;
  --footer-border: rgba(113,158,47,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .35s, color .35s;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.t-eyebrow {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}
.t-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}

.t-h1 {
  font-size: clamp(3rem, 7.2vw, 7.5rem);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.03em;
}
.t-h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.02em;
}
.t-h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.t-h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.t-h1 em, .t-h2 em, .t-h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--h-em);
}
.t-accent { color: var(--green); }
.t-body {
  font-size: .92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.82;
  transition: color .35s;
}
.t-tag {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 3rem; }
section { padding: 6rem 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 3rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(113,158,47,.25), transparent);
  transition: background .35s;
}
body.light-mode .divider {
  background: linear-gradient(to right, transparent, rgba(113,158,47,.3), transparent);
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--nav-border);
}

/* Logo */
.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo svg { display: block; }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.green { color: var(--green); }
.nav-links a.green:hover { color: var(--light-green); }

/* CTA button */
.nav-cta {
  border: 1px solid var(--green) !important;
  color: var(--green) !important;
  padding: .46rem 1.3rem !important;
  transition: all .25s !important;
}
.nav-cta:hover {
  background: var(--green) !important;
  color: #0a0a0a !important;
}
body.light-mode .nav-cta {
  border-color: #354401 !important;
  color: #354401 !important;
  background: transparent !important;
}
body.light-mode .nav-cta:hover {
  background: #719e2f !important;
  border-color: #719e2f !important;
  color: #212221 !important;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  background: rgba(10,10,10,.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(113,158,47,.2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s;
  pointer-events: none;
  z-index: 300;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Keep dropdown open when hovering over it */
.nav-dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.nav-dropdown a {
  display: block !important;
  padding: .75rem 1.2rem !important;
  border-bottom: 1px solid rgba(254,255,250,.04);
  font-size: .65rem !important;
  letter-spacing: .12em !important;
  color: rgba(254,255,250,.5) !important;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover {
  background: rgba(113,158,47,.08);
  color: var(--white) !important;
}
.drop-arrow {
  font-size: .5rem;
  opacity: .5;
  transition: transform .2s;
  display: inline-block;
}
.nav-links > li:hover .drop-arrow { transform: rotate(180deg); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all .3s;
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  z-index: 199;
  display: flex;
  flex-direction: column;
  padding: 2rem 3rem;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(254,255,250,.6);
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .mob-sub {
  font-size: .82rem;
  font-weight: 400;
  color: rgba(254,255,250,.35);
  padding: .4rem 1rem;
  border-bottom: 1px solid rgba(254,255,254,.04);
}
.nav-mobile .mob-sub:hover { color: var(--green); }
.nav-mobile .mob-cta {
  margin-top: 1rem;
  background: var(--green);
  color: var(--black) !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem !important;
  border: none !important;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 2.2rem;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all .25s;
  white-space: nowrap;
}
.btn-fill { background: #719e2f; color: #0a0a0a; font-weight: 600; }
.btn-fill:hover { background: #354401; color: #fefffa; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
body.light-mode .btn-fill { background: #354401; color: #fefffa; font-weight: 600; }
body.light-mode .btn-fill:hover { background: #719e2f; color: #212221; }
body.light-mode .btn-outline {
  border-color: #354401;
  color: #354401;
  background: transparent;
  font-weight: 500;
}
body.light-mode .btn-outline:hover {
  background: #719e2f;
  border-color: #719e2f;
  color: #212221;
}
.btn-outline-green {
  background: transparent;
  border: 1px solid rgba(254,255,250,0.6);
  color: rgba(254,255,250,0.85);
  font-weight: 500;
  transition: all .25s;
}
.btn-outline-green:hover {
  background: #719e2f;
  border-color: #719e2f;
  color: #212221;
}
body.light-mode .btn-outline-green {
  border-color: #354401;
  color: #354401;
  background: transparent;
}
body.light-mode .btn-outline-green:hover {
  background: #719e2f;
  border-color: #719e2f;
  color: #212221;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 5rem) 3rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-sm {
  min-height: 65vh;
  padding: calc(var(--nav-h) + 4rem) 3rem 4rem;
}
.hero-bg-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 75% 35%, rgba(113,158,47,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(254,255,250,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254,255,250,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-sub {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.82;
  margin-top: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(254,255,250,.2);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100%{opacity:.2} 50%{opacity:1} }

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: background .35s, border-color .35s;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.mq-item {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  padding: 0 1.2rem;
  line-height: 1;
}
.mq-outline {
  -webkit-text-stroke: 1px rgba(254,255,250,.12);
  color: transparent;
  transition: -webkit-text-stroke-color .35s;
}
body.light-mode .mq-outline {
  -webkit-text-stroke-color: rgba(33,34,33,.15);
}
.mq-green { color: var(--green); }
.mq-sep {
  color: var(--green);
  padding: 0 .4rem;
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 4rem);
  align-self: center;
}

/* ── SCROLL TEXT STRIP ───────────────────────────────────────── */
.scroll-strip {
  overflow: hidden;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.scroll-strip-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}
.strip-item {
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 2rem;
  color: var(--border);
  white-space: nowrap;
  transition: color .35s;
}
body.light-mode .strip-item { color: rgba(33,34,33,.12); }
.strip-item strong { color: rgba(113,158,47,.45); }

/* ── SERVICE CARDS ───────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3.5rem;
}
.svc-card {
  background: var(--surface);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
/* Dark mode: subtle — only top green line */
.svc-card:hover { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
.svc-card:hover::after { transform: scaleX(1); }
/* Light mode: #bdd753 fill */
body.light-mode .svc-card { background: #fefffa; border: 1px solid rgba(33,34,33,.1); }
body.light-mode .svc-card::after { background: var(--dark-green); }
body.light-mode .svc-card:hover { background: var(--light-green); border-color: var(--light-green); }
body.light-mode .svc-card:hover .svc-num { color: rgba(33,34,33,.07); }
body.light-mode .svc-card:hover .svc-name { color: #212221; }
body.light-mode .svc-card:hover .svc-desc { color: rgba(33,34,33,.7); }
body.light-mode .svc-card:hover .svc-tag { color: var(--dark-green); }
body.light-mode .svc-card:hover .svc-link { color: var(--dark-green); }
.svc-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(254,255,250,.04);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: block;
  transition: color .3s;
}
body.light-mode .svc-num { color: rgba(33,34,33,.06); }
.svc-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .7rem;
  line-height: 1.2;
  transition: color .3s;
}
.svc-desc {
  font-size: .8rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
  transition: color .3s;
}
.svc-link {
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s;
}
.svc-link:hover { gap: .7rem; }

/* ── SHIFT FRAMEWORK ─────────────────────────────────────────── */
.shift-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3.5rem;
}
.shift-item {
  border-left: 1px solid var(--border);
  padding: 2.2rem 1.4rem;
  transition: border-color .3s, background .3s;
}
.shift-item:last-child { border-right: 1px solid var(--border); }
/* Dark mode hover: subtle green tint only */
.shift-item:hover { border-left-color: var(--green); background: transparent; }
/* Light mode hover: #bdd753 fill */
body.light-mode .shift-item:hover { background: var(--light-green); border-left-color: var(--dark-green); }
body.light-mode .shift-item:hover .shift-letter { -webkit-text-stroke-color: var(--dark-green); }
body.light-mode .shift-item:hover .shift-word { color: #212221; }
body.light-mode .shift-item:hover .shift-desc { color: rgba(33,34,33,.7); }
.shift-letter {
  font-size: 4.5rem;
  font-weight: 800;
  -webkit-text-stroke: 1px rgba(113,158,47,.25);
  color: transparent;
  transition: -webkit-text-stroke-color .3s;
  display: block;
  margin-bottom: .8rem;
  line-height: 1;
  letter-spacing: -.04em;
}
.shift-item:hover .shift-letter { -webkit-text-stroke-color: var(--green); }
body.light-mode .shift-letter { -webkit-text-stroke-color: rgba(113,158,47,.3); }
.shift-word {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .7rem;
  display: block;
  transition: color .3s;
}
.shift-desc {
  font-size: .78rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color .3s;
}

/* ── PROCESS STEPS ───────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
}
.process-step {
  border-left: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.process-step:last-child { border-right: 1px solid var(--border); }
.ps-num {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(254,255,250,.04);
  line-height: 1;
  margin-bottom: 1.2rem;
  transition: color .3s;
}
body.light-mode .ps-num { color: rgba(33,34,33,.05); }
.ps-label {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .7rem;
  display: block;
}
.ps-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .9rem;
  line-height: 1.25;
}
.ps-desc {
  font-size: .82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  transition: color .3s;
}

/* ── STATS FRAME ─────────────────────────────────────────────── */
.stats-frame {
  border: 1px solid rgba(113,158,47,.18);
  padding: 2.8rem;
  position: relative;
  transition: border-color .35s;
}
.stats-frame::before {
  content: 'getSHIFT';
  position: absolute;
  top: -.55rem;
  left: 1.8rem;
  background: var(--bg);
  font-size: .6rem;
  letter-spacing: .22em;
  color: var(--green);
  padding: 0 .45rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: background .35s;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat { border-top: 1px solid rgba(113,158,47,.12); padding-top: .9rem; }
.stat-n {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .35s;
}
body.light-mode .stat-n { color: var(--dark-green); }
.stat-l {
  font-size: .62rem;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: .25rem;
  transition: color .35s;
}

/* ── PORTFOLIO / WORK ────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.wcard {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  cursor: pointer;
  transition: background .35s;
}
.wcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background .5s;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}
.wcard:hover .wcard-placeholder {
  background: linear-gradient(135deg, #1a280a 0%, #243510 100%);
}
.wcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .5s, transform .6s;
  position: absolute;
  inset: 0;
}
.wcard:hover img { filter: grayscale(0%); transform: scale(1.04); }
.wcard-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}
.wcard:hover .wcard-overlay { opacity: 1; }
.wcard-cat {
  font-size: .55rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .35rem;
}
.wcard-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
}
.wcard-ico {
  font-size: 2.2rem;
  opacity: .08;
  margin-bottom: .8rem;
  transition: opacity .5s;
}
.wcard:hover .wcard-ico { opacity: .15; }
.wcard-label {
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(254,255,250,.18);
  transition: color .5s;
}
.wcard:hover .wcard-label { color: rgba(113,158,47,.5); }
.wcard-link {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(254,255,250,.25);
  margin-top: .3rem;
}

/* FILTER BUTTONS */
.filter-row { display: flex; gap: .4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.fbtn {
  padding: .38rem .95rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-faint);
  font-family: var(--font);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
/* Dark: active = green */
.fbtn.on, .fbtn:hover {
  background: #719e2f;
  border-color: #719e2f;
  color: #212221;
}
body.light-mode .fbtn {
  border-color: #354401;
  color: #354401;
  background: transparent;
}
body.light-mode .fbtn.on,
body.light-mode .fbtn:hover {
  background: #719e2f;
  border-color: #719e2f;
  color: #212221;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 3.5rem;
}
.tcard {
  background: var(--bg);
  padding: 3rem;
  transition: background .3s;
}
.tcard:hover { background: #0f0f0f; }
body.light-mode .tcard { background: #fefffa; border: 1px solid rgba(33,34,33,.08); }
body.light-mode .tcard:hover { background: #f5f5f0; }
.tcard-qm {
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(113,158,47,.18);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: .8rem;
  transition: color .35s;
}
body.light-mode .tcard-qm { color: rgba(113,158,47,.3); }
.tcard-qt {
  font-size: .88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.8rem;
  transition: color .35s;
}
.tcard-author {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  display: block;
  transition: color .35s;
}
.tcard-role {
  font-size: .65rem;
  font-weight: 300;
  color: var(--green);
  margin-top: .2rem;
  display: block;
  transition: color .35s;
}
body.light-mode .tcard-role { color: var(--dark-green); }

/* ── BIG CTA ─────────────────────────────────────────────────── */
.cta-block {
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem;
  text-align: center;
}
.cta-bg-text {
  position: absolute;
  font-size: clamp(7rem, 20vw, 18rem);
  font-weight: 800;
  letter-spacing: -.05em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(254,255,250,.025);
  color: transparent;
  line-height: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

/* ── SOLUTIONS PAGE ──────────────────────────────────────────── */
.sol-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.sol-card {
  padding: 3.5rem 3rem;
  transition: background .3s;
  border-top: 2px solid transparent;
  cursor: pointer;
}
.sol-card.primary { border-top-color: var(--green); }
.sol-card.secondary { border-top-color: rgba(113,158,47,.3); }
.sol-card:hover { background: rgba(113,158,47,.04) !important; }
.sol-card-label {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
  display: block;
}
.sol-card-title {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.sol-card-desc {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(254,255,250,.42);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.sol-card-tags {
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(254,255,250,.22);
  margin-bottom: 1.8rem;
  line-height: 1.8;
}
.new-badge {
  display: inline-block;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--black);
  padding: .22rem .65rem;
  margin-left: .7rem;
  vertical-align: middle;
}

/* ── SERVICE DETAIL LIST ─────────────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}
.service-item {
  background: var(--surface);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
  border-left: 2px solid transparent;
  transition: all .3s;
}
.service-item:hover { background: #141414; border-left-color: var(--green); }
body.light-mode .service-item { background: #fefffa; border-bottom: 1px solid rgba(33,34,33,.06); }
body.light-mode .service-item:hover { background: #f5f5f0; border-left-color: var(--dark-green); }
.si-num {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .8rem;
  display: block;
}
.si-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.si-desc {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(254,255,250,.42);
  line-height: 1.8;
}

/* ── CASE STUDIES ────────────────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}
.case-card {
  background: var(--surface);
  padding: 2rem 1.8rem;
  transition: background .3s;
}
.case-card:hover { background: #171717; }
body.light-mode .case-card { background: #fefffa; border: 1px solid rgba(33,34,33,.08); }
body.light-mode .case-card:hover { background: #f5f5f0; }
.case-label {
  font-size: .55rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .7rem;
  display: block;
}
body.light-mode .case-label { color: var(--dark-green); }
.case-title {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: .8rem;
  line-height: 1.25;
  transition: color .35s;
}
.case-desc {
  font-size: .78rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  transition: color .35s;
}

/* ── TEAM ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.team-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background .3s;
}
.team-card:hover { background: #202020; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(113,158,47,.1);
  border: 1px solid rgba(113,158,47,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 1.4rem;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.tm-name { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.tm-role {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}
.tm-bio {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(254,255,250,.42);
  line-height: 1.75;
}

/* ── CONTACT FORM ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.form-box {
  background: #0f0f0f;
  padding: 3rem;
  border: 1px solid var(--border);
  transition: background .35s, border-color .35s;
}
body.light-mode .form-box { background: #f5f5f0; border-color: rgba(33,34,33,.1); }
.form-box-label {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.8rem;
  display: block;
}
.form-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: .8rem 0;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color .25s, color .35s;
  display: block;
  margin-bottom: 1.2rem;
}
.form-field:focus { border-bottom-color: var(--green); }
.form-field::placeholder { color: var(--text-faint); }
body.light-mode .form-field option { background: #fefffa; color: #212221; }
.form-field option { background: #0f0f0f; color: var(--white); }
.contact-steps { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.contact-step { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .8rem; }
.contact-step-num {
  font-size: .62rem;
  font-weight: 600;
  color: var(--green);
  min-width: 20px;
  padding-top: .1rem;
  flex-shrink: 0;
}
.contact-step-text {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(254,255,250,.32);
  line-height: 1.65;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}
.contact-detail-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(113,158,47,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: var(--green);
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(254,255,250,.48);
}

/* ── AI STUDIO ───────────────────────────────────────────────── */
.ai-hero {
  background: #030803;
  min-height: 100vh;
}
.ai-bg-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(113,158,47,.08) 0%, transparent 68%);
  pointer-events: none;
}
.ai-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113,158,47,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113,158,47,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 4rem 3rem 2rem;
  transition: background .35s, border-color .35s;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.footer-tagline {
  font-size: .8rem;
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 210px;
  margin-top: .8rem;
  transition: color .35s;
}
.footer-col-title {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .9rem;
  display: block;
  transition: color .35s;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  font-size: .8rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
body.light-mode .footer-links a:hover { color: var(--dark-green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-copy {
  font-size: .65rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: .06em;
  transition: color .35s;
}
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color .2s;
}
.footer-social a:hover { color: var(--green); }
body.light-mode .footer-social a:hover { color: var(--dark-green); }

/* ── CLIENT LOGO STRIP ───────────────────────────────────────── */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Each logo wrapped in a styled card */
.logo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: .85rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.25);
}
.logo-card img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
}
/* Fallback text logo card */
.logo-card-text {
  font-size: .78rem;
  font-weight: 700;
  color: #222;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
}
.logo-strip-text {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(254,255,250,.18);
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* ── SURFACE BACKGROUNDS ─────────────────────────────────────── */
.bg-black   { background: var(--bg); transition: background .35s; }
.bg-surface { background: var(--surface); transition: background .35s; }
.bg-dark    { background: var(--surface2); transition: background .35s; }
.bg-ai      { background: #030803; }
body.light-mode .bg-black { background: #fefffa; }
body.light-mode .bg-surface { background: #f0f0eb; }
body.light-mode .bg-dark { background: #e8e8e3; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.text-green { color: var(--green); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.sticky-top { position: sticky; top: 6rem; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
/* ── TABLET ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid          { grid-template-columns: 1fr 1fr; }
  .shift-grid        { grid-template-columns: 1fr 1fr; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .sol-2col          { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .services-list .service-item { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Layout */
  section { padding: 3.5rem 0; }
  .container, .section-inner { padding: 0 1.2rem; }
  .hero  { padding: calc(var(--nav-h) + 3rem) 1.2rem 3rem; min-height: 90vh; }
  .hero-sm { padding: calc(var(--nav-h) + 2.5rem) 1.2rem 2.5rem; min-height: 50vh; }

  /* Typography */
  .t-h1  { font-size: clamp(2.2rem, 9vw, 3.5rem); line-height: .96; }
  .t-h2  { font-size: clamp(1.7rem, 7vw, 2.8rem); }
  .t-h3  { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .t-h4  { font-size: 1rem; }
  .hero-sub { font-size: .88rem; margin-top: 1.2rem; }
  .t-eyebrow { font-size: .58rem; }

  /* Nav */
  .nav-links     { display: none !important; }
  .nav-hamburger { display: flex !important; }
  nav { padding: 0 1.2rem; }
  .nav-logo img { height: 32px; }

  /* Grids — all single column on mobile */
  .grid-2        { grid-template-columns: 1fr !important; gap: 2rem; }
  .grid-3        { grid-template-columns: 1fr !important; }
  .grid-4        { grid-template-columns: 1fr 1fr !important; }
  .svc-grid      { grid-template-columns: 1fr !important; }
  .shift-grid    { grid-template-columns: 1fr 1fr !important; }
  .process-grid  { grid-template-columns: 1fr !important; }
  .t-grid        { grid-template-columns: 1fr !important; }
  .team-grid     { grid-template-columns: 1fr !important; }
  .case-grid     { grid-template-columns: 1fr !important; }
  .work-grid     { grid-template-columns: 1fr !important; }
  .sol-2col      { grid-template-columns: 1fr !important; }
  .service-item  { grid-template-columns: 1fr !important; gap: .8rem; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }

  /* AI Studio video grid — single column */
  #aiShowcaseGrid,
  #aiShowcaseExtra { grid-template-columns: 1fr !important; }

  /* Solutions page big ghost text — hide on mobile */
  .hero-sm > div[style*="font-size:clamp(7rem"] { display: none !important; }

  /* Services list */
  .services-list .service-item {
    grid-template-columns: 1fr !important;
    gap: .8rem;
    padding: 1.5rem 1.2rem;
  }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  footer         { padding: 3rem 1.2rem 1.5rem; }

  /* Buttons */
  .hero-actions  { flex-direction: column; gap: .8rem; }
  .btn           { width: 100% !important; justify-content: center; font-size: .68rem; padding: .8rem 1.5rem; }

  /* CTA block */
  .cta-block     { padding: 4rem 1.2rem; }
  .cta-bg-text   { font-size: clamp(5rem, 25vw, 10rem); }

  /* Stats frame */
  .stats-frame   { padding: 1.8rem 1.2rem; }

  /* Logo strip */
  .logo-strip    { gap: .8rem; }
  .logo-card     { min-width: 90px; height: 58px; padding: .6rem 1rem; }
  .logo-card img { height: 32px; }

  /* Marquee — smaller on mobile */
  .mq-item       { font-size: clamp(2.5rem, 10vw, 4.5rem); padding: 0 .6rem; }

  /* Work cards */
  .wcard         { aspect-ratio: 16/9; }
  .wcard-overlay { opacity: 1 !important; }

  /* Testimonials */
  .tcard         { padding: 1.8rem 1.2rem; }

  /* Contact */
  .contact-grid  { grid-template-columns: 1fr !important; gap: 2rem; }
  .form-box      { padding: 1.8rem 1.2rem; }

  /* Section inner padding override for inline style sections */
  [style*="padding:4rem 3rem"],
  [style*="padding: 4rem 3rem"] { padding: 3rem 1.2rem !important; }
  [style*="padding:6rem 3rem"],
  [style*="padding: 6rem 3rem"] { padding: 3.5rem 1.2rem !important; }

  /* Inline grid overrides */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns:repeat(5"],
  [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* AI Hero */
  .ai-hero { min-height: 80vh !important; }

  /* Scroll indicator — hide on mobile */
  .scroll-indicator { display: none; }

  /* Why section 5-col grid */
  [style*="repeat(5,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}

/* ── SMALL MOBILE ────────────────────────────────────────── */
@media (max-width: 480px) {
  .t-h1       { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .t-h2       { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .work-grid  { grid-template-columns: 1fr !important; }
  .grid-4     { grid-template-columns: 1fr !important; }
  .shift-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mq-item    { font-size: clamp(2rem, 9vw, 3.5rem); padding: 0 .4rem; }
  .logo-card  { min-width: 80px; height: 52px; padding: .5rem .8rem; }
  .logo-card img { height: 28px; }

  /* AI video grid — always single column on small screens */
  #aiShowcaseGrid,
  #aiShowcaseExtra { grid-template-columns: 1fr !important; }

  /* Inline repeat grids — force single column */
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(5"],
  [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
  }

  /* Section padding */
  section { padding: 2.5rem 0; }
  .hero  { padding: calc(var(--nav-h) + 2rem) 1rem 2rem; }
  .hero-sm { padding: calc(var(--nav-h) + 1.5rem) 1rem 2rem; }
  .container, .section-inner { padding: 0 1rem; }
  footer { padding: 2.5rem 1rem 1.5rem; }
  nav    { padding: 0 1rem; }
  .nav-logo img { height: 28px; }
}


/* ══ LIGHT/DARK TOGGLE BUTTON ══════════════════════════════════ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  outline: none;
  flex-shrink: 0;
  letter-spacing: 0;
  /* Dark mode: white button, dark D */
  background: #fefffa;
  color: #212221;
  box-shadow: 0 0 0 3px rgba(254,255,250,.18), 0 4px 14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.9);
}
.theme-toggle:hover {
  box-shadow: 0 0 0 5px rgba(254,255,250,.26), 0 6px 20px rgba(0,0,0,.65);
  transform: scale(1.06);
}
/* Light mode: dark grey button, white L */
body.light-mode .theme-toggle {
  background: #212221;
  color: #fefffa;
  box-shadow: 0 0 0 3px rgba(33,34,33,.15), 0 4px 14px rgba(33,34,33,.35), inset 0 1px 0 rgba(255,255,255,.1);
}
body.light-mode .theme-toggle:hover {
  box-shadow: 0 0 0 5px rgba(33,34,33,.22), 0 6px 20px rgba(33,34,33,.45);
}

/* ══ LIGHT MODE — MISC OVERRIDES ════════════════════════════════ */
body.light-mode .nav-dropdown {
  background: rgba(254,255,250,.98);
  border-color: rgba(113,158,47,.2);
}
body.light-mode .nav-dropdown a {
  color: rgba(33,34,33,.5) !important;
  border-bottom-color: rgba(33,34,33,.05);
}
body.light-mode .nav-dropdown a:hover {
  background: rgba(53,68,1,.06);
  color: #212221 !important;
}
body.light-mode .nav-links a { color: rgba(33,34,33,.55); }
body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active { color: #212221; }
body.light-mode .nav-links a.green { color: var(--green); }
body.light-mode .nav-mobile {
  background: rgba(254,255,250,.98);
}
body.light-mode .nav-mobile a { color: rgba(33,34,33,.6); border-bottom-color: rgba(33,34,33,.08); }
body.light-mode .nav-mobile a:hover { color: #212221; }
body.light-mode .nav-mobile .mob-sub { color: rgba(33,34,33,.38); }
body.light-mode .nav-mobile .mob-sub:hover { color: var(--dark-green); }
body.light-mode .nav-mobile .mob-cta { background: var(--dark-green); color: #fefffa !important; }
body.light-mode .nav-hamburger span { background: #212221; }

/* Light mode — AI Studio page stays dark (it's a creative page) */
body.light-mode .ai-hero,
body.light-mode .bg-ai { background: #030803 !important; }

/* Light mode — CTA section */
body.light-mode .cta-block { background: #fefffa; }
body.light-mode .cta-bg-text { -webkit-text-stroke-color: rgba(33,34,33,.04); }

/* Light mode — t-eyebrow stays green */
body.light-mode .t-eyebrow { color: var(--green); }
body.light-mode .t-eyebrow::before { background: var(--green); }

/* Light mode — scrollbar */
body.light-mode ::-webkit-scrollbar-thumb { background: var(--dark-green); }

/* Light mode — sol-card */
body.light-mode .sol-card { background: #fefffa; }
body.light-mode .sol-card:hover { background: rgba(113,158,47,.06) !important; }
body.light-mode .sol-card-desc { color: rgba(33,34,33,.45); }
body.light-mode .sol-card-tags { color: rgba(33,34,33,.25); }

/* Light mode — logo strip borders */
body.light-mode .logo-strip { border-color: rgba(33,34,33,.1); }

/* Light mode — team card */
body.light-mode .team-card { background: #fefffa; border: 1px solid rgba(33,34,33,.08); }
body.light-mode .team-card:hover { background: #f5f5f0; }
body.light-mode .tm-bio { color: rgba(33,34,33,.5); }

/* Light mode — contact detail */
body.light-mode .contact-detail-icon { border-color: rgba(113,158,47,.25); }
body.light-mode .contact-detail-text { color: rgba(33,34,33,.55); }
body.light-mode .contact-step-text { color: rgba(33,34,33,.4); }
body.light-mode .contact-steps { border-top-color: rgba(33,34,33,.08); }

/* Light mode — wcard placeholder */
body.light-mode .wcard-placeholder {
  background: linear-gradient(135deg, #e8e8e3 0%, #f0f0eb 100%) !important;
}
body.light-mode .wcard:hover .wcard-placeholder {
  background: linear-gradient(135deg, #d8e8c8 0%, #e0f0d0 100%) !important;
}
body.light-mode .wcard-label { color: rgba(33,34,33,.2); }
body.light-mode .wcard:hover .wcard-label { color: rgba(53,68,1,.5); }
body.light-mode .work-grid { background: rgba(33,34,33,.08); }

/* Light mode — si-desc */
body.light-mode .si-desc { color: rgba(33,34,33,.5); }
body.light-mode .si-title { color: #212221; }
body.light-mode .si-num { color: var(--dark-green); }

/* Light mode — hero grid */
body.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(33,34,33,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,34,33,.025) 1px, transparent 1px);
}
body.light-mode .hero-bg-grad {
  background: radial-gradient(ellipse 55% 50% at 75% 35%, rgba(113,158,47,.08) 0%, transparent 70%);
}

/* Light mode — scroll-strip */
body.light-mode .scroll-strip { border-color: rgba(33,34,33,.1); }

/* Light mode — process step border */
body.light-mode .process-step { border-left-color: rgba(33,34,33,.08); }
body.light-mode .process-step:last-child { border-right-color: rgba(33,34,33,.08); }
body.light-mode .ps-title { color: #212221; }

/* Light mode — grid backgrounds */
body.light-mode .svc-grid { background: rgba(33,34,33,.08); }
body.light-mode .t-grid { background: rgba(33,34,33,.08); }
body.light-mode .grid-3 { background: rgba(33,34,33,.08); }
body.light-mode .shift-grid { background: transparent; }
body.light-mode .shift-item { border-color: rgba(33,34,33,.08); }
body.light-mode .shift-item:last-child { border-right-color: rgba(33,34,33,.08); }
body.light-mode .services-list { background: rgba(33,34,33,.06); }
body.light-mode .case-grid { background: rgba(33,34,33,.08); }

/* Light mode — new-badge */
body.light-mode .new-badge { background: var(--dark-green); }

/* Light mode — stats border */
body.light-mode .stat { border-top-color: rgba(113,158,47,.15); }
body.light-mode .stats-frame::before { background: #f0f0eb; }

/* ── MODE TOGGLE BUTTON ─────────────────────────────────────── */
.mode-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  outline: none;
  flex-shrink: 0;
  /* Dark mode — white button, dark D */
  background: #fefffa;
  color: #212221;
  box-shadow: 0 0 0 3px rgba(254,255,250,.18), 0 4px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.9);
}
.mode-toggle-btn:hover {
  box-shadow: 0 0 0 5px rgba(254,255,250,.28), 0 6px 22px rgba(0,0,0,.75);
  transform: scale(1.06);
}
body.light-mode .mode-toggle-btn {
  /* Light mode — dark grey button, white L */
  background: #212221;
  color: #fefffa;
  box-shadow: 0 0 0 3px rgba(33,34,33,.15), 0 4px 14px rgba(33,34,33,.3), inset 0 1px 0 rgba(255,255,255,.1);
}
body.light-mode .mode-toggle-btn:hover {
  box-shadow: 0 0 0 5px rgba(33,34,33,.2), 0 6px 20px rgba(33,34,33,.4);
  transform: scale(1.06);
}

/* ── FOOTER LIGHT MODE ──────────────────────────────────────── */
body.light-mode footer {
  background: #f0f0eb;
  border-top: 1px solid rgba(113,158,47,.15);
}
body.light-mode .footer-col-title { color: rgba(33,34,33,.3); }
body.light-mode .footer-links a { color: rgba(33,34,33,.45); }
body.light-mode .footer-links a:hover { color: #354401; }
body.light-mode .footer-tagline { color: rgba(33,34,33,.45); }
body.light-mode .footer-copy { color: rgba(33,34,33,.3); }
body.light-mode .footer-social a { color: rgba(33,34,33,.35); }
body.light-mode .footer-social a:hover { color: #354401; }
body.light-mode .footer-bottom { border-top: 1px solid rgba(33,34,33,.08); }

/* ── LIGHT MODE — section background overrides ─────────────── */
body.light-mode .bg-black  { background: var(--bg) !important; }
body.light-mode .bg-dark   { background: var(--surface) !important; }
body.light-mode .bg-surface { background: var(--surface) !important; }
body.light-mode .bg-ai     { background: var(--surface) !important; }
body.light-mode .hero-sm   { background: var(--bg) !important; }

/* AI hero in light mode — use surface bg not pure black */
body.light-mode .ai-hero   { background: var(--surface) !important; }
body.light-mode .ai-bg-grad { opacity: 0.08 !important; }
body.light-mode .ai-grid   { opacity: 0.03 !important; }

/* Sol cards in light mode */
body.light-mode .sol-card  { color: var(--text) !important; }
body.light-mode .sol-card-title { color: var(--text) !important; }
body.light-mode .sol-card-desc  { color: var(--text-muted) !important; }
body.light-mode .sol-card-tags  { color: var(--text-faint) !important; }
body.light-mode .sol-card-label { color: var(--green) !important; }
body.light-mode .sol-card .btn-outline {
  border-color: #354401 !important;
  color: #354401 !important;
  background: transparent !important;
}
body.light-mode .sol-card .btn-outline:hover {
  background: #719e2f !important;
  border-color: #719e2f !important;
  color: #212221 !important;
}
body.light-mode .sol-card .btn-outline-green {
  border-color: #354401 !important;
  color: #354401 !important;
  background: transparent !important;
}
body.light-mode .sol-card .btn-outline-green:hover {
  background: #719e2f !important;
  border-color: #719e2f !important;
  color: #212221 !important;
}

/* Cta block light */
body.light-mode .cta-block { background: var(--bg) !important; }
body.light-mode .cta-bg-text {
  -webkit-text-stroke-color: rgba(33,34,33,.04) !important;
}

/* AI advantage / why section light */
body.light-mode [style*="background:var(--bg)"] { color: var(--text); }
body.light-mode [style*="color:rgba(254,255,250"] { color: var(--text-muted) !important; }

/* Video cards in light mode */
body.light-mode #aiShowcaseGrid > div,
body.light-mode #aiShowcaseExtra > div {
  background: var(--surface) !important;
  border-color: rgba(113,158,47,.15) !important;
}

/* Marquee wrap in light mode */  
body.light-mode .marquee-wrap { background: var(--bg) !important; }

/* ── NAV LOGO — light mode uses green logo ──────────────────── */
body.light-mode .nav-logo img {
  content: url('/assets/img/logo-green.png');
  filter: none;
  opacity: 1;
}
body.light-mode .footer-top img {
  content: url('/assets/img/logo-green.png');
  filter: none;
  opacity: 0.85;
}
