/* ═══════════════════════════════════════════════
   JESSICA RUDNICKI | PORTFOLIO
   Bold & Editorial Design System
   ═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --black:   #0C0C0E;
  --white:   #F5F2EB;
  --accent:  #96B252;
  --accent2: #7D9A42;
  --gold:    #C9A84C;
  --mid:     #141416;
  --surface: #EDEAE0;
  --muted:   #787870;
  --border-dark: rgba(255,255,255,.07);
  --border-light: rgba(0,0,0,.08);

  --display: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
  --serif:   'Playfair Display', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1400px;
  --nav-h: 68px;
  --pad-h: 2rem;
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── NAVIGATION ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--accent), var(--gold)) 1;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .06em;
  color: var(--white);
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo span { background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247,243,236,.5);
  padding: 0 .75rem;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #16160E;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  padding: .55rem 1.35rem;
  transition: filter .2s, transform .2s cubic-bezier(.25,.46,.45,.94), box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
  will-change: transform;
}
.nav-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 18px rgba(150,178,82,.55), 0 0 40px rgba(150,178,82,.2), 0 4px 16px rgba(0,0,0,.35);
}

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all .2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--black);
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  padding: 1rem var(--pad-h) 2rem;
  z-index: 999;
  border-bottom: 1px solid var(--border-dark);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247,243,236,.6);
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color .2s;
}
.nav-mobile a:hover,
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }

/* ── HOME HERO ──────────────────────────────── */
.hero {
  min-height: 72vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2.5rem) var(--pad-h) 3rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: end;
}
.hero-content {
  min-width: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(150,178,82,.09) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(150,178,82,.35);
  background: rgba(150,178,82,.1);
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: none;
  display: none;
  width: 0;
  height: 0;
  background: transparent;
  flex-shrink: 0;
}
.hero-name {
  font-family: var(--display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: .88;
  color: var(--white);
  letter-spacing: -.005em;
  font-weight: 900;
}
.hero-name .accent { background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-divider {
  margin: 1rem 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 120px, transparent 120px);
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
  color: rgba(247,243,236,.55);
  font-style: italic;
  line-height: 1.6;
  max-width: 680px;
}
/* hero-scroll removed */
.hero-scroll-placeholder {
  display: none;
}

/* ── HERO RESUME PREVIEW ─────────────────────── */
.hero-resume {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: .5rem;
}
.resume-card {
  position: relative;
  transform: rotate(1.5deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.resume-card:hover {
  transform: rotate(0deg) translateY(-4px);
}
.resume-preview {
  width: 310px;
  display: block;
  box-shadow:
    0 4px 12px rgba(0,0,0,.5),
    0 12px 40px rgba(0,0,0,.6),
    0 24px 60px rgba(0,0,0,.35);
}
/* ── EBOOK CARD ──────────────────────────────── */
.ebook-card {
  position: relative;
  display: inline-block;
  transform: rotate(-1.5deg);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.ebook-card:hover {
  transform: rotate(0deg) translateY(-6px);
}
.ebook-glow {
  position: absolute;
  inset: -28px;
  background: radial-gradient(ellipse at center, rgba(150,178,82,.18) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity .35s ease;
}
.ebook-card:hover .ebook-glow {
  opacity: 1.8;
  background: radial-gradient(ellipse at center, rgba(150,178,82,.32) 0%, transparent 65%);
}
.ebook-preview {
  display: block;
  width: 100%;
  max-width: 260px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 8px 24px rgba(0,0,0,.5),
    0 24px 60px rgba(0,0,0,.5),
    0 40px 80px rgba(0,0,0,.3);
  transition: box-shadow .35s ease;
}
.ebook-card:hover .ebook-preview {
  box-shadow:
    0 12px 32px rgba(0,0,0,.6),
    0 32px 80px rgba(0,0,0,.55),
    0 0 60px rgba(150,178,82,.2),
    0 0 120px rgba(150,178,82,.08);
}

.resume-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(150,178,82,.5);
  background: rgba(150,178,82,.1);
  padding: .55rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .25s, border-color .25s;
}
.resume-dl-btn:hover {
  background: rgba(150,178,82,.2);
  border-color: var(--accent);
}

/* ── PAGE HERO (subpages) ───────────────────── */
.page-hero {
  min-height: 52vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 3.5rem) var(--pad-h) 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 85% 10%, rgba(150,178,82,.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .inner { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.page-hero .ph-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(150,178,82,.35);
  background: rgba(150,178,82,.1);
  margin-bottom: 1.25rem;
}
.page-hero .ph-label::before {
  content: none;
  display: none;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: .9;
  color: var(--white);
  letter-spacing: -.01em;
}
.page-hero h1 .accent { background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero .ph-sub {
  font-family: var(--serif);
  font-size: clamp(.9rem, 1.7vw, 1.2rem);
  color: rgba(247,243,236,.5);
  font-style: italic;
  margin-top: 1.5rem;
  max-width: 600px;
  line-height: 1.65;
}

/* ── SECTIONS ───────────────────────────────── */
.section {
  padding: 6rem var(--pad-h);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--dark { background: var(--black); color: var(--white); }
.section--mid  { background: var(--mid); color: var(--white); }
.section--surface { background: var(--surface); }
.section--white { background: var(--white); }

/* ── SECTION LABELS ─────────────────────────── */
.s-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(150,178,82,.35);
  background: rgba(150,178,82,.08);
  margin-bottom: 1.75rem;
}
.s-label::before {
  content: none;
  display: none;
}

/* ── HEADINGS ───────────────────────────────── */
.section-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: .95;
  letter-spacing: -.01em;
  margin-bottom: 1.75rem;
}
.section--dark .section-title,
.section--mid .section-title { color: var(--white); }

.sub-heading {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ── BODY TEXT ──────────────────────────────── */
.body-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 740px;
  margin-bottom: 3rem;
}
.section--dark .body-intro,
.section--mid .body-intro { color: rgba(247,243,236,.65); }

.body-text {
  font-size: .95rem;
  line-height: 1.8;
  color: #444;
}
.section--dark .body-text,
.section--mid .body-text { color: rgba(247,243,236,.6); }

/* ── PULL QUOTE ─────────────────────────────── */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--black);
  border-left: 4px solid var(--accent);
  padding: .5rem 0 .5rem 1.75rem;
  max-width: 820px;
  margin: 2.5rem 0;
}
.section--dark .pull-quote,
.section--mid .pull-quote { color: var(--white); }

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px), linear-gradient(135deg, #3C5A1A 0%, var(--accent) 55%, var(--gold) 100%);
  background-size: 26px 26px, auto;
  padding: 4rem var(--pad-h);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.stat-number {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -.01em;
}
.stat-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
  max-width: 130px;
}

/* ── NAV AVATAR ──────────────────────────────── */
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(150,178,82,.45);
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── ABOUT SECTION ──────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: stretch;
}
.about-left {
  display: flex;
  flex-direction: column;
}

/* Spinning accent border frame around headshot */
@keyframes photo-frame-spin {
  to { transform: rotate(360deg); }
}
@keyframes photo-frame-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(150,178,82,.12); }
  50%       { box-shadow: 0 0 36px rgba(150,178,82,.28), 0 0 60px rgba(201,168,76,.1); }
}
.about-photo-frame {
  flex: 1;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  padding: 4px;
  animation: photo-frame-glow 3.5s ease-in-out infinite;
}
.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(150,178,82,.35) 30deg,
    var(--accent) 50deg,
    var(--gold) 68deg,
    rgba(201,168,76,.25) 88deg,
    transparent 108deg,
    transparent 252deg,
    rgba(150,178,82,.3) 272deg,
    var(--accent) 292deg,
    var(--gold) 310deg,
    transparent 330deg,
    transparent 360deg
  );
  animation: photo-frame-spin 7s linear infinite;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
}
.about-monogram {
  font-family: var(--display);
  font-size: clamp(9rem, 20vw, 18rem);
  line-height: .85;
  color: var(--surface);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.about-title-block {
  margin-bottom: 2rem;
}
.about-right .about-title-block {
  margin-bottom: 2rem;
}
.about-title-block .role {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .5rem;
}
.about-title-block h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: .02em;
}
.about-right p {
  font-size: 1rem;
  line-height: 1.85;
  color: #3a3a3a;
  margin-bottom: 1.25rem;
}
.about-right p strong {
  font-weight: 700;
  color: var(--black);
}

/* ── ABOUT: PULL QUOTE ───────────────────────── */
.about-pull-quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 0 0 2.25rem;
}
.about-pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  line-height: 1.75 !important;
  color: #2a2a2a !important;
  margin-bottom: 0 !important;
}

/* ── ABOUT: PILLAR CARDS ─────────────────────── */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0;
}
.about-pillar {
  background: var(--black);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1.5rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.about-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(150,178,82,.35);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.about-pillar-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.about-pillar p {
  font-size: .82rem !important;
  line-height: 1.7 !important;
  color: rgba(247,243,236,.65) !important;
  margin-bottom: 0 !important;
}

.identity-box {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--black);
  border-left: 4px solid var(--accent);
}
.identity-box p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(247,243,236,.7) !important;
  line-height: 1.7;
  margin-bottom: 0 !important;
}
.identity-box strong {
  color: var(--white) !important;
  font-style: normal;
}

/* ── PORTFOLIO NAV CARDS ────────────────────── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nav-card {
  background: var(--mid);
  color: var(--white);
  padding: 2.5rem;
  display: block;
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.nav-card:hover { background: var(--accent); }
.nc-num {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .9rem;
  transition: color .25s;
}
.nav-card:hover .nc-num { color: rgba(255,255,255,.6); }
.nc-title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: .75rem;
  display: block;
}
.nc-desc {
  font-size: .8rem;
  color: rgba(247,243,236,.4);
  line-height: 1.55;
  max-width: 220px;
  transition: color .25s;
}
.nav-card:hover .nc-desc { color: rgba(255,255,255,.75); }

/* ── CATEGORY COLUMNS ───────────────────────── */
.col-grid {
  display: grid;
  gap: 2px;
}
.col-grid--2 { grid-template-columns: repeat(2, 1fr); }
.col-grid--3 { grid-template-columns: repeat(3, 1fr); }
.col-grid--4 { grid-template-columns: repeat(4, 1fr); }

.col-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
}
.section--dark .col-card,
.section--mid .col-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.col-card-title {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .05em;
  color: var(--accent);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.col-card li {
  font-size: .85rem;
  line-height: 1.55;
  color: #444;
  padding: .3rem 0 .3rem .9rem;
  position: relative;
}
.col-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .9rem;
  top: .22rem;
  font-weight: 600;
}
.section--dark .col-card li,
.section--mid .col-card li { color: rgba(247,243,236,.62); }

/* ── CASE STUDY ─────────────────────────────── */
.case-study {
  background: var(--mid);
  padding: 3.5rem;
  margin-top: 3rem;
  position: relative;
}
.case-study::before {
  content: 'CASE STUDY';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--accent);
  opacity: .7;
}
.case-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: .03em;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1;
}
.case-subtitle {
  font-size: .8rem;
  color: rgba(247,243,236,.35);
  letter-spacing: .08em;
  margin-bottom: 2.5rem;
  display: block;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.case-block-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.case-block li {
  font-size: .85rem;
  color: rgba(247,243,236,.6);
  padding: .25rem 0 .25rem .9rem;
  position: relative;
}
.case-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .7rem;
}
.case-block p {
  font-size: .9rem;
  color: rgba(247,243,236,.65);
  line-height: 1.65;
}
.case-result-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .5rem;
}
.case-result-item::before {
  content: '✓';
  color: var(--accent);
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .15rem;
  font-weight: 700;
}

/* ── FEATURED WORK ──────────────────────────── */
.work-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.work-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 2.5rem;
  background: var(--surface);
  overflow: hidden;
  align-items: start;
}
.work-item:nth-child(even) { background: var(--white); }
.section--dark .work-item { background: rgba(255,255,255,.04); }
.section--dark .work-item:nth-child(even) { background: rgba(255,255,255,.07); }

.wi-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .5rem;
}
.wi-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: .5rem;
}
.section--dark .wi-title { color: var(--white); }
.wi-obj {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: .35rem;
}
.wi-obj::before {
  content: 'THE CHALLENGE';
  display: block;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: .35rem;
  font-style: normal;
}
.wi-right {}
.wi-sub {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: .5rem;
  margin-top: 1.25rem;
}
.wi-sub:first-child { margin-top: 0; }
.section--dark .wi-sub { color: rgba(247,243,236,.9); }
.wi-right li {
  font-size: .85rem;
  color: #555;
  padding: .2rem 0 .2rem .9rem;
  position: relative;
}
.wi-right li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .9rem;
  top: .18rem;
  font-weight: 600;
}
.section--dark .wi-right li { color: rgba(247,243,236,.6); }
.wi-result {
  font-size: .88rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 1.25rem;
  padding: .85rem 1rem .85rem 1rem;
  background: rgba(150,178,82,.08);
  border-left: 3px solid var(--accent);
  font-style: normal;
  line-height: 1.55;
}
.wi-result::before {
  content: '→  RESULT';
  display: block;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: .35rem;
}
.section--dark .wi-result {
  color: var(--white);
  background: rgba(150,178,82,.1);
}

/* ── CLOSING / CTA ──────────────────────────── */
.closing {
  background: var(--black);
  padding: 9rem var(--pad-h);
  text-align: center;
}
.closing-inner { max-width: 860px; margin: 0 auto; }
.closing-eyebrow {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.closing-eyebrow::before,
.closing-eyebrow::after {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
}
.closing h2 {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .9;
  color: var(--white);
  margin-bottom: 2rem;
}
.closing h2 span { background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.closing-quote {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(247,243,236,.45);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: .75rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.closing-sub {
  font-size: .85rem;
  color: rgba(247,243,236,.35);
  margin-bottom: 2.5rem;
  letter-spacing: .03em;
}
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 2.25rem;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #14140A;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: .7rem;
  text-transform: uppercase;
  transition: filter .2s, transform .2s cubic-bezier(.25,.46,.45,.94), box-shadow .2s;
  will-change: transform;
  position: relative;
}
.btn:not(.btn--ghost):hover {
  filter: brightness(1.08);
  box-shadow: 0 0 20px rgba(150,178,82,.6), 0 0 50px rgba(150,178,82,.2), 0 6px 20px rgba(0,0,0,.4);
}
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(247,243,236,.2);
  color: rgba(247,243,236,.75);
}
.btn--ghost:hover {
  background: rgba(247,243,236,.06);
  border-color: rgba(247,243,236,.4);
  color: var(--white);
  box-shadow: 0 0 12px rgba(247,243,236,.08), 0 4px 12px rgba(0,0,0,.3);
}

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: #060606;
  padding: 2rem var(--pad-h);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .06em;
  color: rgba(247,243,236,.3);
}
.footer-logo span { color: var(--accent); opacity: .6; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,243,236,.25);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: .6rem;
  color: rgba(247,243,236,.15);
  letter-spacing: .06em;
}

/* ── VISION GRID (AI page) ──────────────────── */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 2rem;
}
.vision-item {
  padding: 1.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .25s, background .25s;
}
.vision-item:hover {
  border-color: var(--accent);
  background: rgba(230,51,41,.05);
}
.vi-icon {
  font-size: 1.3rem;
  margin-bottom: .75rem;
  display: block;
}
.vi-title {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--white);
  margin-bottom: .4rem;
  display: block;
}
.vi-desc {
  font-size: .8rem;
  color: rgba(247,243,236,.45);
  line-height: 1.6;
}

/* ── ANIMATIONS ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── UTILITY ────────────────────────────────── */
.accent-line {
  width: 48px; height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.mt-lg { margin-top: 4rem; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links a { padding: 0 .55rem; font-size: .6rem; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-frame { flex: none; height: 340px; }
  .stats-bar { gap: 1.5rem; }
  .career-entry { grid-template-columns: 3rem 1fr; gap: 1rem 1.25rem; }
}

/* ═══════════════════════════════════════════════
   INTERACTIONS & ANIMATIONS
   ═══════════════════════════════════════════════ */

/* ── PAGE TRANSITIONS ────────────────────────── */
html { opacity: 0; transition: opacity .32s ease; }
html.page-ready { opacity: 1; }

/* ── INTRO ANIMATION ─────────────────────────── */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  animation: intro-exit .5s ease .9s forwards;
}
.intro-overlay.done { display: none; }
@keyframes intro-exit {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}
.intro-name {
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: .88;
  color: var(--white);
  text-align: center;
  letter-spacing: -.01em;
  overflow: hidden;
}
.intro-name .intro-line {
  display: block;
  transform: translateY(110%);
  animation: intro-line-up .55s cubic-bezier(.22,1,.36,1) forwards;
}
.intro-name .intro-line:nth-child(1) { animation-delay: .05s; }
.intro-name .intro-line:nth-child(2) {
  animation-delay: .18s;
  background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes intro-line-up {
  to { transform: translateY(0); }
}

/* ── CARD HOVER REVEALS ──────────────────────── */
.col-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: default;
}
.col-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  border-color: rgba(150,178,82,.35) !important;
}
.col-card .card-reveal {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease;
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .04em;
  padding-top: 0;
  margin-top: 0;
}
.col-card:hover .card-reveal {
  max-height: 60px;
  opacity: 1;
  padding-top: .5rem;
}

/* ── HORIZONTAL SCROLL GALLERY ───────────────── */
.h-scroll-wrap {
  position: relative;
  margin: 0 calc(-1 * var(--pad-h));
  padding: 2rem var(--pad-h) 3rem;
  overflow: hidden;
}
.h-scroll-wrap::before,
.h-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.h-scroll-wrap::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.h-scroll-wrap::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.h-scroll-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding: .5rem .25rem 1rem;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
.h-scroll-track.dragging { cursor: grabbing; }
.h-scroll-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--mid);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  transition: border-color .25s, transform .25s;
}
.h-scroll-card:hover {
  border-color: rgba(150,178,82,.3);
  transform: translateY(-4px);
}
.h-scroll-card .hs-label {
  font-size: .55rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.h-scroll-card .hs-title {
  font-family: var(--display); font-size: 1.6rem;
  line-height: 1.05; color: var(--white); margin-bottom: .75rem;
}
.h-scroll-card .hs-result {
  font-size: .8rem; color: rgba(247,243,236,.5); line-height: 1.6;
}
.h-scroll-card .hs-stat {
  margin-top: 1.25rem;
  font-family: var(--display); font-size: 2.4rem;
  line-height: 1; color: var(--accent);
}
.h-scroll-hint {
  text-align: center; font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(247,243,236,.3);
  margin-top: .25rem; display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.h-scroll-hint::before,
.h-scroll-hint::after { content: ''; display: block; width: 32px; height: 1px; background: rgba(247,243,236,.15); }

/* ── TIMELINE ────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.tl-item {
  display: flex; gap: 2rem; padding: 0 0 2.5rem 2.25rem;
  position: relative;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}
.tl-item.tl-visible { opacity: 1; transform: translateX(0); }
.tl-item::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--black);
  box-shadow: 0 0 0 2px rgba(150,178,82,.3);
}
.tl-date {
  font-family: var(--display);
  font-size: .9rem; letter-spacing: .06em;
  color: rgba(247,243,236,.35); white-space: nowrap;
  min-width: 100px; padding-top: 2px;
}
.tl-content { flex: 1; }
.tl-role {
  font-family: var(--display); font-size: 1.5rem;
  color: var(--white); line-height: 1; margin-bottom: .25rem;
}
.tl-company {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.tl-desc {
  font-size: .85rem; color: rgba(247,243,236,.55); line-height: 1.65;
}

/* ── COPY EMAIL BUTTON ───────────────────────── */
.copy-email-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid rgba(150,178,82,.35);
  color: var(--accent); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 100px;
  cursor: pointer; transition: all .2s;
}
.copy-email-btn:hover { background: rgba(150,178,82,.1); border-color: var(--accent); }
.copy-email-btn.copied { background: var(--accent); color: var(--black); border-color: var(--accent); }

/* ── RESUME DOWNLOAD BUTTON ──────────────────── */
.resume-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(247,243,236,.65);
  border: 1px solid rgba(247,243,236,.18); padding: .45rem 1rem;
  border-radius: 100px; transition: all .2s; white-space: nowrap;
}
.resume-btn:hover { color: var(--white); border-color: rgba(247,243,236,.45); }

/* ── TESTIMONIAL CAROUSEL ────────────────────── */
/* ── PAGE STATS BAR (sub-pages) ──────────────────── */
.page-stats {
  background: var(--mid);
  padding: 2.5rem var(--pad-h);
  border-bottom: 1px solid var(--border-dark);
}
.page-stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.page-stat {
  text-align: center;
}
.page-stat-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  background: linear-gradient(90deg, #96B252, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.01em;
}
.page-stat-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,243,236,.45);
  margin-top: .3rem;
  max-width: 120px;
  line-height: 1.45;
  margin-left: auto;
  margin-right: auto;
}

/* ── TOOLS STACK ─────────────────────────────────── */
.tools-section {
  background: var(--black);
  padding: 5rem var(--pad-h);
  position: relative;
  overflow: hidden;
}
.tools-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 80%, rgba(150,178,82,.06) 0%, transparent 65%);
  pointer-events: none;
}
.tools-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.tools-eyebrow {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.tools-headline {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95;
  color: var(--white);
  margin-bottom: 3.5rem;
}
.tools-headline span {
  background: linear-gradient(90deg, #3d5c1a, #96B252, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stack-logos-flat {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  justify-content: center;
  align-items: center;
  padding: 3rem 0 1rem;
}
.tool-chip {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: default;
  padding: .5rem 0;
}
.tool-logo {
  height: 54px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: grayscale(1) brightness(2.5);
  opacity: .85;
  transition: filter .3s ease, opacity .3s ease;
}
.tool-chip:hover .tool-logo {
  filter: brightness(1.05);
  opacity: 1;
}
.tool-logo--lg {
  height: 74px;
}
.logo-row-break {
  width: 100%;
  height: 0;
  flex-basis: 100%;
}

/* ── RECRUITER POPUP ──────────────────────────────── */
.recruiter-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 950;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: #0a0a08;
  padding: 1.5rem 1.6rem 1.6rem;
  box-shadow: 0 12px 48px rgba(0,0,0,.65), 0 4px 16px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07);
  transform: translateX(calc(100% + 3rem));
  opacity: 0;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94), opacity .45s ease;
  pointer-events: none;
  color: #fff;
  text-align: center;
}
.recruiter-popup.popup-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.recruiter-popup.popup-out {
  transform: translateX(calc(100% + 3rem));
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.55,.06,.68,.19), opacity .35s ease;
}
.recruiter-popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s, transform .2s;
  padding: 0;
}
.recruiter-popup-close:hover {
  background: rgba(255,255,255,.28);
  transform: scale(1.1);
}
.recruiter-popup-body {
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  margin: 0;
}
.recruiter-popup-body strong {
  font-weight: 700;
  color: #fff;
}
@media (max-width: 480px) {
  .recruiter-popup {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(calc(100% + 1rem));
  }
  .recruiter-popup.popup-visible { transform: translateY(0); }
  .recruiter-popup.popup-out { transform: translateY(calc(100% + 1rem)); }
}
@keyframes callout-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
@keyframes callout-icon-shake {
  0%, 100%  { transform: rotate(0deg); }
  15%       { transform: rotate(-12deg); }
  30%       { transform: rotate(10deg); }
  45%       { transform: rotate(-8deg); }
  60%       { transform: rotate(6deg); }
  75%       { transform: rotate(-4deg); }
}
.open-to-callout {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #16160e;
  background: linear-gradient(135deg, #2a4010 0%, var(--accent) 55%, var(--gold) 100%);
  border: none;
  padding: .42rem 1.1rem .42rem .9rem;
  border-radius: 100px;
  margin-bottom: .85rem;
  animation: callout-pulse 2.5s ease-in-out infinite;
}
.open-to-callout svg {
  animation: callout-icon-shake 3s ease-in-out infinite;
  animation-delay: .5s;
  flex-shrink: 0;
}
.open-to-bar p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  color: #ffffff;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
}
.open-to-bar strong {
  font-weight: 800;
  color: #ffffff;
}

/* ── MOBILE IMPROVEMENTS ─────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-resume { display: none; }
  .resume-preview { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .page-stats-grid { gap: 2rem; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .closing-inner { padding: 3rem 1.5rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .hero-name { font-size: clamp(3.5rem, 14vw, 7rem); }
  .page-hero h1 { font-size: clamp(2.8rem, 10vw, 6rem); }
  .section { padding: 4rem var(--pad-h); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* ── COLUMN GRIDS: stack on mobile ── */
  .col-grid--2,
  .col-grid--3,
  .col-grid--4 { grid-template-columns: 1fr; gap: 1.5rem; }

  /* ── CASE STUDY GRID: stack on mobile ── */
  .case-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* ── WORK ITEMS: stack label above content ── */
  .work-item { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem; }

  /* ── INLINE 2-COL / 3-COL INTRO GRIDS ── */
  .intro-split { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .approach-split { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* ── ABOUT PILLARS: stack on mobile ── */
  .about-pillars { grid-template-columns: 1fr; gap: .75rem; }
  .about-pull-quote { padding-left: 1rem; }

  /* ── NAV CARDS: stack on mobile ── */
  .nav-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 45vh; }
  .hero { min-height: 65vh; }
  .career-dates { display: none; }
}


.testimonial-section {
  background: radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px), linear-gradient(135deg, #3C5A1A 0%, var(--accent) 55%, var(--gold) 100%);
  background-size: 26px 26px, auto;
  padding: 3.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before { display: none; }
.testimonial-section::after  { display: none; }
.testimonial-section .s-label {
  margin-bottom: 2.5rem;
  color: #1a2a08;
  border-color: rgba(0,0,0,.15);
  background: rgba(255,255,255,.45);
}
.testimonial-section .s-label::before,
.testimonial-section .s-label::after {
  display: none;
}
.testimonial-carousel {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-track {
  position: relative;
  min-height: 180px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  text-align: center;
  pointer-events: none;
}
.testimonial-slide.t-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.t-mark {
  display: none;
}
/* Styled opening quote mark */
.t-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  font-style: normal;
  color: rgba(255,255,255,.6);
  margin-bottom: .25rem;
}
.t-quote, .t-name, .t-role {
  position: relative;
  z-index: 1;
}
.t-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.9;
  margin-bottom: 1.75rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.t-name {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: #111a06;
}
.t-role {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(20,40,8,.7);
  margin-top: .3rem;
}
.t-dots {
  display: flex; gap: .55rem; justify-content: center; margin-top: 2rem;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer; padding: 0;
  transition: background .25s, transform .2s;
}
.t-dot.active {
  background: rgba(255,255,255,.9);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — EXTENDED
   ═══════════════════════════════════════════════ */

/* Stat grid: 4-col on desktop → 2-col on mobile */
.stat-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 3.5rem;
}
@media (max-width: 768px) {
  .stat-4-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Testimonial quote size on mobile */
  .t-quote { font-size: 1rem; line-height: 1.75; }
  .testimonial-track { min-height: 240px; }

  /* Phone gallery: snap scrolling on mobile */
  .phone-gallery {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    justify-content: flex-start !important;
  }
  .phone-wrap {
    scroll-snap-align: center;
  }

  /* ebook/spotlight card stacks already via intro-split, but fix gap */
  .ebook-card { max-width: 100% !important; }

  /* Section title font clamp for very small screens */
  .section-title { font-size: clamp(1.8rem, 7vw, 3rem) !important; }

  /* Closing section padding */
  .closing h2 { font-size: clamp(3.5rem, 13vw, 7rem); }

  /* Page hero stats row - wrap on mobile */
  .page-stats-grid { 
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .stat-4-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Closing h2 tighter on very small */
  .closing h2 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .closing-inner { padding: 2.5rem 1.25rem; }
  .closing-quote { font-size: .9rem; }
  .closing-sub { font-size: .82rem; }

  /* Nav logo smaller */
  .nav-logo { font-size: 1rem; }

  /* Work items narrower padding */
  .work-item { padding: 1.25rem; }

  /* Testimonial min-height expands for longer quotes */
  .testimonial-track { min-height: 300px; }
}
