/* ============================================================
   JESSE JANEDY — PORTFOLIO / RESUME SITE
   Tokens
   ============================================================ */
:root {
  /* Brand palette — from Next Digital Production logo book */
  --ink: #04042e;            /* midnight navy — deepened from brand navy 5,2,89 */
  --charcoal: #09084866;
  --charcoal-solid: #090848; /* card surfaces on dark sections */
  --ivory: #ffffff;          /* white */
  --ivory-dim: #f2f3f8;      /* cool off-white for alternating sections */
  --cream-text: #eef0fa;     /* near-white body copy on navy */
  --gold: #F2CB05;           /* accent yellow */
  --gold-bright: #F2CB05;    /* accent yellow */
  --stone: #8b99c0;          /* muted secondary text on navy */
  --stone-dark: #1a2440;     /* muted navy — RGB 26,36,64, secondary text on white */
  --line: rgba(238, 240, 250, 0.14);
  --line-dark: rgba(4, 4, 46, 0.12);

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 12px;
  line-height: 1.1;
}
.section-head p {
  margin-top: 16px;
  color: var(--stone-dark);
  font-size: 17px;
}
.section-head.on-dark p { color: var(--cream-text); opacity: 0.8; }
.section-head.on-dark .eyebrow { color: var(--gold-bright); }

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 4, 46, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream-text);
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--gold-bright); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--ivory);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--gold-bright); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream-text);
  font-size: 26px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--cream-text);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(242, 203, 5, 0.22) 0%, rgba(242, 203, 5, 0) 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-copy .eyebrow { margin-bottom: 20px; display: block; color: var(--gold-bright); }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero-sub {
  margin-top: 24px;
  font-size: 19px;
  color: var(--stone);
  max-width: 540px;
  line-height: 1.65;
}
.hero-credentials {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hero-credentials span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--cream-text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4, 4, 46, 0.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary {
  background: var(--ivory);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost {
  border-color: var(--line);
  color: var(--cream-text);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-dark {
  background: var(--ink);
  color: var(--cream-text);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--stone-dark); }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #090848, #030320);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Ticker */
.ticker-wrap {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 40px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  border-right: 1px solid var(--line);
  color: var(--stone);
}
.ticker-item strong {
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 700;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   TWO PATHS
   ============================================================ */
/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar {
  background: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
  padding: 32px 0;
}
.trustbar .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trustbar-centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.trustbar-centered .trustbar-row {
  justify-content: center;
}
.trustbar-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-dark);
  white-space: nowrap;
}
.trustbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 34px;
}
.trustbar-row span {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--stone-dark);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.trustbar-row span:hover { opacity: 1; color: var(--ink); }
.trustbar-logo {
  height: 22px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.trustbar-logo:hover { opacity: 1; filter: grayscale(0); }
.trustbar-logo-round { height: 30px; border-radius: 50%; }

/* ============================================================
   WHY COMPANIES HIRE ME
   ============================================================ */
.why-hire {
  background: var(--ivory);
  padding: 100px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.why-card {
  background: var(--ivory);
  padding: 40px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.why-card:hover {
  background: var(--ivory-dim);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.why-card h3 {
  font-size: 21px;
  margin-top: 14px;
}
.why-card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-dark);
}

/* ============================================================
   PATHS
   ============================================================ */
/* ============================================================
   THE ECOSYSTEM
   ============================================================ */
/* ============================================================
   REEL / VIDEO
   ============================================================ */
.reel {
  background: var(--ink);
  padding: 100px 0;
}
.reel .section-head { margin-bottom: 48px; }
.reel-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
}
.reel-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 2;
}
.reel-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--ivory);
}
.reel-play-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--ink);
  margin-left: 4px;
}
.reel-player.is-playing .reel-play-btn {
  opacity: 0;
  pointer-events: none;
}
.reel-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.reel-player.is-playing::after { opacity: 0; }
.reel-caption {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecosystem {
  background: var(--ivory);
  padding: 100px 0 90px;
}
.ecosystem-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 18px;
}
.eco-stage {
  padding: 30px 22px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--ivory);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eco-stage:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 32px rgba(4, 4, 46, 0.1);
}
.eco-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.eco-stage h3 { font-size: 20px; margin-top: 12px; }
.eco-stage p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone-dark);
}
.eco-arrow {
  align-self: center;
  font-size: 22px;
  color: var(--gold);
  opacity: 0.55;
  padding-top: 10px;
}
.ecosystem-note {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}

/* ============================================================
   LEADERSHIP PULL-QUOTE
   ============================================================ */
.leadership-quote {
  background: var(--charcoal-solid);
  padding: 70px 0;
  text-align: center;
}
.leadership-quote p {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5;
  color: var(--cream-text);
}

/* ============================================================
   PATHS
   ============================================================ */
.paths {
  background: var(--ivory);
  padding: 100px 0;
}
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.path-card {
  background: var(--ivory);
  padding: 56px 44px;
  position: relative;
  transition: background 0.25s ease;
}
.path-card:hover { background: var(--ivory-dim); }
.path-card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.path-card h3 {
  font-size: 30px;
  margin-top: 18px;
  line-height: 1.15;
}
.path-card p {
  margin-top: 16px;
  color: var(--stone-dark);
  font-size: 16px;
  max-width: 380px;
}
.path-card .btn { margin-top: 28px; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.work {
  background: var(--ink);
  color: var(--cream-text);
  padding: 50px 0 110px;
}
.story-quote {
  max-width: 900px;
  margin-bottom: 64px;
}
.story-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--gold-bright);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--charcoal-solid);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.case-thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #030320;
}
.case-thumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  padding: 40px;
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.case-thumb-logo img {
  width: auto;
  height: auto;
  max-width: 55%;
  max-height: 55%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-card:hover .case-thumb-logo img { transform: scale(1.06); }
.case-body { padding: 26px 24px 30px; }
.chapter-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.case-role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.case-body h3 {
  font-size: 22px;
  margin-top: 10px;
  color: var(--cream-text);
}
.chapter-narrative {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-text);
  opacity: 0.88;
}
.chapter-stats {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chapter-stats li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
  padding-left: 14px;
  position: relative;
}
.chapter-stats li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
}
.case-metric {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-metric .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: var(--cream-text);
  letter-spacing: -0.01em;
}
.case-metric .label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.case-cser {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-cser div { margin: 0; }
.case-cser dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.case-cser dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream-text);
  opacity: 0.85;
}
.case-body a.view {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream-text);
  border-bottom: 1px solid var(--gold-bright);
  padding-bottom: 2px;
}

/* ============================================================
   GALLERY STRIP (inside case study cards)
   ============================================================ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92);
  transition: filter 0.2s ease;
}
.gallery-strip img:hover { filter: saturate(1.1); }

/* ============================================================
   CONTENT & PHOTOGRAPHY SHOWCASE
   ============================================================ */
.content-work {
  background: var(--ink);
  color: var(--cream-text);
  padding: 100px 0 50px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 640px;
}
.content-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.content-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.content-grid figure:hover img { transform: scale(1.05); }
.content-grid figure.tall { grid-row: span 2; }
.content-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream-text);
}

/* ============================================================
   CLIENT WORK / BRAND IDENTITY SHOWCASE
   ============================================================ */
.clients {
  background: var(--ivory-dim);
  padding: 90px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.client-card {
  background: var(--ivory);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(4, 4, 46, 0.12);
}
.client-card .client-logo-frame {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #fff;
}
.client-card .client-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.client-card .client-name {
  padding: 16px 12px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone-dark);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  background: var(--ivory-dim);
  padding: 100px 0;
}
.philosophy-list {
  display: flex;
  flex-direction: column;
}
.philosophy-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line-dark);
}
.philosophy-item:last-child { border-bottom: 1px solid var(--line-dark); }
.ph-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  padding-top: 3px;
}
.philosophy-item p {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  max-width: 780px;
}
.philosophy-manifesto {
  margin: 48px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
  max-width: 820px;
  text-align: center;
}
.philosophy-manifesto p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--stone-dark);
}
.philosophy-manifesto cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ============================================================
   TRACK RECORD / TIMELINE
   ============================================================ */
.record {
  background: var(--ivory);
  padding: 110px 0;
}
.record-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}
.timeline {
  border-top: 1px solid var(--line-dark);
}
.tl-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-dark);
}
.tl-years {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  padding-top: 4px;
}
.tl-content h3 {
  font-size: 24px;
}
.tl-content .tl-role {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-dark);
  margin-top: 6px;
  display: block;
}
.tl-content ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--stone-dark);
}
.tl-content li { margin-bottom: 8px; font-size: 15.5px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--ink);
  color: var(--cream-text);
  padding: 100px 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto;
}
.testimonial .rule {
  width: 60px;
  height: 2px;
  background: var(--gold-bright);
  margin: 32px auto;
}
.testimonial cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ivory);
  padding: 110px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-info p { color: var(--stone-dark); font-size: 17px; max-width: 380px; }
.contact-detail {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 15px;
}
.contact-detail a { border-bottom: 1px solid var(--gold); padding-bottom: 1px; width: fit-content; }

.contact-steps {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 14.5px;
  color: var(--stone-dark);
}
.contact-step span {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream-text);
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone-dark);
  margin-bottom: 8px;
  display: block;
}
input, select, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 8px; }
.form-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}
.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--stone);
  padding: 56px 0 32px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
  margin-bottom: 28px;
  color: var(--stone);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 320px; }
  .paths-grid { grid-template-columns: 1fr; }
  .ecosystem-flow { grid-template-columns: 1fr; gap: 14px; }
  .eco-arrow { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .record-top { flex-direction: column; align-items: flex-start; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-item { grid-template-columns: 50px 1fr; }
  .content-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }
  .content-grid figure.tall { grid-row: span 1; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 110px; }
  .path-card { padding: 40px 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .trustbar .wrap { flex-direction: column; align-items: center; gap: 14px; }
}

/* ============================================================
   CASE STUDY PAGES
   ============================================================ */
.cs-hero {
  background: var(--ink);
  color: var(--cream-text);
  padding: 160px 0 90px;
}
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-bottom: 40px;
  transition: color 0.2s ease;
}
.cs-back:hover { color: var(--gold-bright); }
.cs-hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.cs-hero-logo {
  height: 44px;
  width: auto;
  background: var(--ivory);
  padding: 8px 14px;
  border-radius: 4px;
}
.cs-hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  max-width: 820px;
}
.cs-hero .case-role {
  display: block;
  margin-top: 18px;
  font-size: 13px;
}
.cs-hero-narrative {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 700px;
}
.cs-stat-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.cs-stat-row .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--gold-bright);
}
.cs-stat-row .label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cs-section {
  background: var(--ivory);
  padding: 90px 0;
  border-bottom: 1px solid var(--line-dark);
}
.cs-section.alt { background: var(--ivory-dim); }
.cs-section .section-head { margin-bottom: 48px; }
.cs-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.cs-col span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cs-col h3 { font-size: 19px; margin-top: 10px; }
.cs-col p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--stone-dark); }

.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cs-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.35s ease;
}
.cs-gallery img:hover { transform: scale(1.02); }
.cs-gallery .wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.cs-gallery.cs-gallery-wide {
  grid-template-columns: repeat(2, 1fr);
}
.cs-gallery.cs-gallery-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cs-gallery.cs-gallery-2col {
  grid-template-columns: repeat(2, 1fr);
}
.cs-gallery.cs-gallery-2col .wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.cs-network-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cs-network-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-network-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--ivory);
  padding: 4px;
}
.cs-network-logo span {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream-text);
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.launch-card {
  background: var(--ivory);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.launch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.launch-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.launch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.launch-card:hover .launch-thumb img { transform: scale(1.05); }
.launch-body { padding: 22px 22px 26px; }
.launch-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.launch-body h3 { font-size: 18px; margin-top: 10px; }
.launch-body p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--stone-dark); }

@media (max-width: 700px) {
  .launch-grid { grid-template-columns: 1fr 1fr; }
}

.cs-cta {
  background: var(--ink);
  color: var(--cream-text);
  padding: 90px 0;
  text-align: center;
}
.cs-cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cs-cta p { margin-top: 14px; color: var(--stone); font-size: 17px; }
.cs-cta .hero-ctas { justify-content: center; margin-top: 32px; }

.cs-next {
  background: var(--ivory);
  padding: 50px 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cs-next a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.cs-infographic {
  background: var(--ivory-dim);
  padding: 90px 0;
  border-bottom: 1px solid var(--line-dark);
}
.cs-infographic img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(4, 4, 46, 0.18);
  display: block;
}

@media (max-width: 700px) {
  .cs-gallery { grid-template-columns: 1fr 1fr; }
  .cs-gallery .wide { grid-column: span 2; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CASE STUDY PAGE THEMES
   Each project gets its own palette instead of the site navy,
   so the page feels like the brand it's about.
   ============================================================ */

/* AfterBuzz TV — black, white & yellow (the network's own palette) */
body.theme-afterbuzz {
  --ink: #0a0a0a;
  --charcoal: #1a1a1a66;
  --charcoal-solid: #1a1a1a;
  --ivory: #ffffff;
  --ivory-dim: #f7f7f2;
  --cream-text: #f5f5f0;
  --gold: #a8860a;
  --gold-bright: #f5e642;
  --stone: #b8b8b8;
  --stone-dark: #3a3a3a;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(0, 0, 0, 0.12);
}
body.theme-afterbuzz header.nav { background: rgba(10, 10, 10, 0.92); }
body.theme-afterbuzz .hero-portrait,
body.theme-afterbuzz .cs-hero { background: linear-gradient(155deg, #1a1a1a, #050505); }
body.theme-afterbuzz .case-thumb { background: #050505; }

/* Bellami Hair — minimal, classy black & white, no color accent */
body.theme-bellami {
  --ink: #0d0d0d;
  --charcoal: #1c1c1c66;
  --charcoal-solid: #1c1c1c;
  --ivory: #ffffff;
  --ivory-dim: #f7f7f7;
  --cream-text: #f2f2f2;
  --gold: #6b6b6b;
  --gold-bright: #eaeaea;
  --stone: #9a9a9a;
  --stone-dark: #333333;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.1);
}
body.theme-bellami header.nav { background: rgba(13, 13, 13, 0.92); }
body.theme-bellami .hero-portrait,
body.theme-bellami .cs-hero { background: linear-gradient(155deg, #1c1c1c, #050505); }
body.theme-bellami .case-thumb { background: #050505; }
