/* ============================================================
   CHRISTIAN BENJAMIN — Personal Brand Site
   Clean Authority | Black, White, Gray | DM Sans First
   ============================================================ */

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

:root {
  --bg:         #ffffff;
  --bg-alt:     #f7f7f5;
  --bg-deep:    #f0efec;
  --black:      #111111;
  --ink-2:      #555555;
  --ink-3:      #999999;
  --rule:       #e2e2e0;
  --rule-light: #efefed;
  --white:      #ffffff;
  --accent:     #c01f1f;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --transition: 0.3s ease;

  /* Legacy variable aliases — keeps HTML inline refs working */
  --black-soft:  #f7f7f5;
  --black-mid:   #eeece8;
  --black-card:  #f2f1ee;
  --white-dim:   #555555;
  --gold:        #111111;
  --gold-light:  #444444;
  --gold-dim:    #888888;
}

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

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ───────────────────────────────────────────── */
.display-xl {
  font-family: var(--sans);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-md {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section { padding: clamp(5rem, 9vw, 9rem) 0; }

.divider {
  width: 2.5rem;
  height: 1px;
  background: var(--rule);
  margin: 1.75rem 0;
}

/* ── Scroll Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.75; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ── Navigation ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  background: transparent;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* White text over hero image */
#nav .nav-logo { color: #ffffff; }
#nav .nav-logo span { color: rgba(255,255,255,0.45); }
#nav .nav-links a { color: rgba(255,255,255,0.75); }
#nav .nav-links a:hover { color: #ffffff; }
#nav .nav-cta {
  background: var(--black) !important;
  border-color: var(--black) !important;
  color: #ffffff !important;
}
#nav .nav-cta:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}
#nav .nav-hamburger span { background: #ffffff; }

/* On scroll — flip to dark on white background */
#nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
  padding: 1rem 0;
}

#nav.scrolled .nav-logo { color: var(--black); }
#nav.scrolled .nav-logo span { color: var(--ink-3); }
#nav.scrolled .nav-links a { color: var(--ink-2); }
#nav.scrolled .nav-links a:hover { color: var(--black); }
#nav.scrolled .nav-cta {
  background: var(--black) !important;
  border-color: var(--black) !important;
  color: #ffffff !important;
}
#nav.scrolled .nav-cta:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}
#nav.scrolled .nav-hamburger span { background: var(--black); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-cta {
  padding: 0.55rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient left-to-right so text is readable, photo shows on right */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,8,0.82) 0%,
    rgba(10,10,8,0.60) 25%,
    rgba(10,10,8,0.18) 50%,
    rgba(10,10,8,0.0) 65%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(7rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem) clamp(5rem, 8vw, 7rem);
  max-width: 900px;
  background: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.hero-eyebrow .label { color: rgba(255,255,255,0.55); }

.hero-headline {
  margin-bottom: 1.75rem;
  color: #ffffff;
}

.hero-headline em {
  font-style: normal;
  color: #ffffff;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons sit over dark hero image — need white treatment */
#hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
}

#hero .btn-ghost:hover {
  background: #ffffff;
  color: var(--black);
  border-color: #ffffff;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.scroll-line {
  width: 2rem;
  height: 1px;
  background: var(--rule);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Credential strip below hero */
.hero-strip {
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0 2.25rem;
  overflow: hidden;
}

.hero-strip-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-strip-names {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
}

.hero-strip-name {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.hero-strip-name:not(:last-child)::after {
  content: "·";
  margin: 0 1rem;
  color: rgba(255,255,255,0.28);
  font-weight: 400;
}

.hero-strip-name:hover { color: #ffffff; }

/* ── Manifesto / About ────────────────────────────────────── */
#manifesto {
  background: var(--bg);
  border-top: 1px solid var(--rule-light);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.manifesto-left {}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 0;
}

.quote-text strong {
  font-weight: 500;
  font-style: normal;
}

.manifesto-stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.stat-item .stat-num {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.manifesto-right p {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.manifesto-right p:last-child { margin-bottom: 0; }

/* ── Creative Domains ─────────────────────────────────────── */
#domains { background: #111111; }

/* Label, divider, headline on dark bg */
#domains .label { color: rgba(255,255,255,0.35); }
#domains .divider { background: rgba(255,255,255,0.15); }
#domains .display-lg { color: #ffffff; }

.domains-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.06);
}

.domain-card {
  background: var(--bg);
  padding: clamp(2rem, 3vw, 2.75rem);
  position: relative;
  transition: background var(--transition);
  cursor: default;
}

.domain-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.domain-card:hover { background: var(--bg-alt); }
.domain-card:hover::after { transform: scaleX(1); }

.domain-num {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
}

.domain-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--black);
  opacity: 0.7;
}

.domain-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.domain-desc {
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ── Portfolio ────────────────────────────────────────────── */
#portfolio {
  background: var(--bg);
  position: relative;
}

.portfolio-header { margin-bottom: 3.5rem; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #111;
  cursor: pointer;
  display: block;
}

.portfolio-item-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-item-photo { transform: scale(1.04); }
.portfolio-item:has(.portfolio-item-photo) .portfolio-item-bg { display: none; }

.portfolio-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-item-bg { transform: scale(1.04); }

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  transition: background var(--transition);
}

.portfolio-item:hover .portfolio-item-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.08) 100%);
}

.portfolio-item[data-project="transfer"] .portfolio-item-bg {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0d2e 50%, #0a0a12 100%);
}
.portfolio-item[data-project="sun"] .portfolio-item-bg {
  background: linear-gradient(135deg, #1a0d00 0%, #2e1a00 50%, #0a0800 100%);
}
.portfolio-item[data-project="lucis"] .portfolio-item-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
}
.portfolio-item[data-project="blkhlth"] .portfolio-item-bg {
  background: linear-gradient(135deg, #00100a 0%, #001a10 50%, #000d08 100%);
}

.portfolio-item-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.portfolio-item[data-project="transfer"] .portfolio-item-grid-lines {
  background-image:
    linear-gradient(rgba(120, 80, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 80, 255, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

.portfolio-item[data-project="sun"] .portfolio-item-grid-lines {
  background: radial-gradient(circle at 50% 50%, rgba(255,180,0,0.2) 0%, transparent 60%);
}

.portfolio-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
}

.portfolio-item-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}

.coming-soon {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  padding: 0.2em 0.6em;
  vertical-align: middle;
  margin-left: 0.5rem;
  position: relative;
  top: -2px;
}

.portfolio-item-title {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.portfolio-item-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 340px;
  transform: translateY(0.5rem);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-desc { opacity: 1; transform: translateY(0); }

.portfolio-item-arrow {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-item:hover .portfolio-item-arrow { opacity: 1; transform: translateY(0); }

/* ── Selected Work ────────────────────────────────────────── */
#work { background: var(--bg); }

.work-header { max-width: 720px; margin-bottom: 1.75rem; }

/* ── Filter chips ── */
.work-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-light);
}
.work-filter {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.work-filter:hover { color: var(--black); border-color: var(--black); }
.work-filter.is-active {
  background: var(--black); color: #fff; border-color: var(--black);
}

/* ── Tighter grid ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.work-card {
  position: relative;
  background: var(--black);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.work-card.is-hidden { display: none !important; }

.work-card__hit {
  position: absolute; inset: 0;
  background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer; z-index: 3;
}
.work-card__hit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__media.no-img {
  background: linear-gradient(135deg, #1a1a17 0%, #0e0e0c 100%);
}
.work-card__media.no-img::after {
  content: 'Coming soon';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Play button (video cards) */
.work-card__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.work-card__play::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #111;
  margin-left: 4px;
}
.work-card:hover .work-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1.08); background: #fff; }

/* Case-study pill (non-video cards) */
.work-card__pill {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.92); color: var(--black);
  padding: 0.4rem 0.7rem; border-radius: 100px;
  z-index: 2; pointer-events: none;
}

/* Meta (caption sits over the bottom of the thumbnail for compactness) */
.work-card__meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem 1.15rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  z-index: 2; pointer-events: none;
  color: #fff;
}
.work-card__cat {
  display: block;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.35rem;
}
.work-card__name {
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.2;
  color: #fff;
}
.work-card__case {
  position: absolute;
  right: 1rem; bottom: 0.95rem;
  font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 0.1rem 0;
  pointer-events: auto;
  z-index: 4;
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.work-card__case:hover { opacity: 1; border-color: #fff; }

.work-foot {
  margin-top: 2.25rem;
  font-size: 0.85rem; color: var(--ink-3);
  text-align: center;
}
.work-foot a { color: var(--black); border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.work-foot a:hover { border-color: var(--black); }

/* ── LIGHTBOX ── */
.lb {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.94);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 4rem 1.5rem 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb__close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lb__close:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.lb__stage {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lb__stage video, .lb__stage iframe {
  width: 100%; height: 100%; display: block; border: 0;
  background: #000;
}
.lb__cap {
  margin-top: 1.25rem;
  font-family: var(--sans); font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
body.lb-open { overflow: hidden; }

/* ── Marketing Credentials ────────────────────────────────── */
#marketing { background: var(--bg-alt); }

.mkt-header {
  max-width: 680px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.mkt-subhead {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.85;
  margin-top: 1.5rem;
  max-width: 600px;
}

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.mkt-item {
  padding: 1.4rem 3rem 1.4rem 0;
  border-bottom: 1px solid var(--rule-light);
  transition: padding-left 0.3s ease;
}

.mkt-item:nth-child(odd) {
  padding-right: 4rem;
  border-right: 1px solid var(--rule-light);
}

.mkt-item:hover { padding-left: 0.65rem; }

.mkt-client {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.mkt-item:hover .mkt-client { color: var(--ink-2); }

.mkt-desc {
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.mkt-closing {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.mkt-closing p {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.85;
}

.mkt-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Monday Book ──────────────────────────────────────────── */
#book { background: var(--bg); border-top: 1px solid var(--rule-light); }

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.book-visual { position: relative; }

.book-cover-wrap {
  position: relative;
  max-width: 340px;
}

.book-cover-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
}

.book-cover-wrap:has(.book-cover-photo) .book-cover { display: none; }

.book-cover-shadow {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  height: 100%;
  background: var(--rule);
  z-index: 0;
}

.book-cover {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.book-cover-inner { text-align: center; padding: 2rem; }

.book-cover-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.book-cover-sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
}

.book-cover-author {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.book-cover-decoration {
  width: 2.5rem;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 1rem auto;
}

.book-detail-tag { margin-bottom: 1rem; }
.book-detail-title { margin-bottom: 1.5rem; }

.book-detail p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.book-meta {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 1.75rem 0;
}

.book-meta-item .meta-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}

.book-meta-item .meta-value {
  font-size: 0.85rem;
  color: var(--black);
  font-weight: 400;
}

.book-preview-embed {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.book-preview-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

.book-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.btn-amazon:hover { opacity: 0.75; }

/* ── Consulting & Engagements ─────────────────────────────── */
#consulting { background: var(--bg-alt); }

.cns-header {
  max-width: 680px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.cns-subhead {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.cns-link {
  color: var(--black);
  border-bottom: 1px solid var(--rule);
  transition: border-color var(--transition);
  text-decoration: none;
}

.cns-link:hover { border-color: var(--black); }

.cns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-bottom: 2.5rem;
}

.cns-card {
  background: var(--bg);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  transition: background var(--transition);
}

.cns-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cns-card:hover { background: var(--bg-alt); }
.cns-card:hover::after { transform: scaleX(1); }

.cns-num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}

.cns-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cns-desc {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cns-list {
  list-style: none;
  border-top: 1px solid var(--rule-light);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cns-list li {
  font-size: 0.78rem;
  color: var(--ink-3);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.cns-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rule);
  font-size: 0.7rem;
}

/* Story MKTG agency bridge */
.cns-agency {
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 2rem 2.5rem;
}

.cns-agency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cns-agency-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.35rem;
}

.cns-agency-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
}

/* ── Collaboration CTA ────────────────────────────────────── */
#collab {
  background: var(--black);
  color: var(--white);
}

.collab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.collab-left .cta-headline {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.collab-left .cta-headline em {
  font-style: normal;
  color: rgba(255,255,255,0.45);
}

.collab-left p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 2.25rem;
}

.collab-left .label { color: rgba(255,255,255,0.4); }
.collab-left .divider { background: rgba(255,255,255,0.15); }

.collab-right { display: flex; flex-direction: column; gap: 0.75rem; }

.contact-field {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  color: #1a1a17;
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.95rem 1.1rem;
  outline: none;
  width: 100%;
  border-radius: 2px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-field:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.contact-field::placeholder { color: #9c968c; }

textarea.contact-field {
  min-height: 130px;
  resize: vertical;
}

/* Dropdown — custom caret, matches light fields */
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  color: #1a1a17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.75rem;
}

.contact-select:invalid { color: #9c968c; }
.contact-select option { color: #1a1a17; }

.contact-submit {
  padding: 1rem 2rem;
  background: #ffffff;
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity var(--transition);
}

.contact-submit:hover { opacity: 0.85; }

/* Collab section btn-ghost override — on dark bg */
#collab .btn-ghost {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}
#collab .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.footer-logo span { color: rgba(255,255,255,0.3); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-links a:hover { color: #ffffff; }

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: border-color var(--transition), color var(--transition);
}

.social-link:hover {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.footer-copy {
  width: 100%;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Inline form styles (book preview, Monday page) ───────── */
.mn-inline-form { margin-top: 2rem; }
.mn-inline-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

@keyframes loadingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40%           { transform: scale(1); opacity: 1; }
}

/* ── Mobile Nav ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 78%;
    max-width: 320px;
    background: #ffffff;
    border-left: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 5rem 2.5rem 3rem;
    margin: 0;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 1100;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li { width: 100%; list-style: none; }

  /* Force dark text inside the open white panel — overrides hero white state */
  .nav-links a,
  .nav-links.open a {
    display: block;
    width: 100%;
    color: var(--ink-2) !important;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 0.35rem 0;
  }
  .nav-links a:hover,
  .nav-links.open a:hover { color: var(--black) !important; }

  .nav-links .nav-cta,
  .nav-links.open .nav-cta {
    display: inline-block;
    width: auto;
    color: var(--black) !important;
    border: 1px solid var(--black) !important;
    padding: 0.7rem 1.6rem;
    margin-top: 0.75rem;
  }
}

/* ── Responsive Grids ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .work-filter { font-size: 0.66rem; padding: 0.5rem 0.85rem; }
  .work-card__play { width: 46px; height: 46px; }
  .work-card__name { font-size: 0.92rem; }
  .lb { padding: 3.5rem 1rem 1rem; }
  .lb__close { top: 0.75rem; right: 1rem; width: 38px; height: 38px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 16/11; }

  .cns-grid { grid-template-columns: 1fr; }
  .cns-agency-inner { flex-direction: column; align-items: flex-start; }
  .cns-agency-inner .btn-primary { width: 100%; justify-content: center; }

  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .mkt-actions { flex-direction: column; align-items: flex-start; }
  .mkt-actions .btn-primary,
  .mkt-actions .btn-ghost { width: 100%; justify-content: center; }

  .book-grid { grid-template-columns: 1fr; }
  .book-cover-wrap { max-width: 240px; }
  .book-cover-shadow { display: none; }

  .book-detail { display: flex; flex-direction: column; }
  .book-detail .book-detail-tag { order: 1; }
  .book-detail .divider { order: 2; }
  .book-detail .book-detail-title { order: 3; }
  .book-detail .book-actions { order: 4; }
  .book-detail .book-preview-embed { order: 5; }
  .book-detail p { order: 6; }
  .book-detail .book-meta { order: 7; }

  .collab-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .manifesto-stat-row { gap: 1.5rem; flex-wrap: wrap; }
  .domains-header { flex-direction: column; align-items: flex-start; }

  #hero { min-height: 100svh; }
  .hero-content { padding: 7rem 1.5rem 5rem; }
  .hero-bg-img { object-position: top center; }
  .hero-eyebrow { display: none; }
  .hero-strip-names { gap: 0.6rem 1.5rem; }
  .hero-strip-name { font-size: 0.85rem; }
  .hero-strip-label { display: none; }
  .hero-strip-org { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
