/* ====================================================
   YUSUF BAYKAL BOZKURT — premium cinematic site
   STRICT: Deep navy #050B1A × pure white. Montserrat. No italics.
   ==================================================== */

:root {
  --navy:        #050B1A;
  --ink:         #FFFFFF;
  --ink-90:      rgba(255,255,255,0.90);
  --ink-70:      rgba(255,255,255,0.70);
  --ink-50:      rgba(255,255,255,0.50);
  --ink-30:      rgba(255,255,255,0.30);
  --ink-15:      rgba(255,255,255,0.15);
  --line:        rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.22);

  --maxw: 1480px;
  --pad:  clamp(24px, 5vw, 80px);

  --silence-xl: clamp(160px, 22vh, 280px);
  --silence-lg: clamp(120px, 16vh, 200px);
  --silence-md: clamp(80px,  10vh, 140px);

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--navy);
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* never italic, ever */
em, i, .it { font-style: normal !important; }

::selection { background: var(--ink); color: var(--navy); }

/* ============ TYPE SYSTEM ============ */
.eyebrow {
  font-family: var(--font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ============ LAYOUT HELPERS ============ */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { position: relative; }

.section-pad {
  padding-top:    var(--silence-xl);
  padding-bottom: var(--silence-xl);
}
.section-pad-md {
  padding-top:    var(--silence-lg);
  padding-bottom: var(--silence-lg);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
  color: var(--ink);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav .mark {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.nav .mark span { font-weight: 300; opacity: 0.5; margin: 0 6px; }
.nav-links {
  display: flex; gap: 36px;
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { color: inherit; text-decoration: none; opacity: 0.85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* Hamburger toggle — visible only on tablet/mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.2s;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* Fullscreen overlay menu — opens when hamburger tapped */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.2,.7,.2,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.mobile-menu nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, color 0.2s;
}
.mobile-menu.open nav a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.open nav a:nth-child(7) { transition-delay: 0.40s; }
.mobile-menu nav a:hover { color: var(--ink-70); }

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu nav a { transition: none; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(56px, 9vh, 100px);
  perspective: 1200px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: calc(100%/14) calc(100%/14);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* Constellation canvas — sits above the grid lines, below the portrait
   visually but actually full-width on z-index 5 so the lines can cross
   the portrait subtly. pointer-events:none so mouse events fall through
   to the hero section (which the JS attaches its own listener to). */
.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.hero-portrait-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 50vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}
.hero-portrait-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.15) contrast(1.05) brightness(0.85);
}
.hero-portrait-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(5,11,26,0.15) 35%, transparent 60%, rgba(5,11,26,0.4) 100%),
    linear-gradient(180deg, rgba(5,11,26,0.4) 0%, transparent 30%, transparent 60%, var(--navy) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-portrait-wrap { width: 80vw; opacity: 0.4; }
}

.hero-title {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero-title h1 {
  font-weight: 900;
  font-size: clamp(64px, 13vw, 160px);
  letter-spacing: -0.05em;
  line-height: 0.84;
  margin: 0;
  /* Constrain the column on wide screens so the name sits beside the portrait, not over it */
  max-width: min(100%, 62vw);
}
.hero-title h1 .light { font-weight: 100; letter-spacing: -0.035em; }
.hero-title h1 .regular { font-weight: 400; }

.hero-meta {
  position: relative;
  z-index: 3;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: clamp(40px, 5vh, 64px) auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
@media (max-width: 720px) { .hero-meta { grid-template-columns: 1fr; } }

.hero-meta .left {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-70);
  max-width: 380px;
  line-height: 1.8;
}

.hero-meta .right {
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 480px;
  justify-self: end;
  text-align: right;
}

.scroll-ind {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-30);
  font-weight: 500;
}
.scroll-ind .line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, var(--ink-30), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 0.6; }
  50% { transform: scaleY(0.3); opacity: 1; }
}

/* ============ TICKER STRIP ============ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  /* 24s on desktop. Each segment is a self-contained flex item with its own
     padding-right matching the inner gap, so -50% translate maps exactly
     to ONE segment width. Loop is mathematically seamless, no glitch. */
  animation: ticker 24s linear infinite;
  will-change: transform;
  font-weight: 100;
  font-size: clamp(40px, 6.5vw, 104px);
  letter-spacing: -0.035em;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.ticker-seg {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;  /* trailing space equals inner gap → seamless seam */
  flex-shrink: 0;
}

.ticker-track .heavy { font-weight: 900; }
.ticker-track .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============ IDENTITIES ============ */
.identities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
@media (max-width: 1000px) { .identities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .identities-grid { grid-template-columns: 1fr; } }

.identity {
  position: relative;
  padding: 64px 36px 56px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  overflow: hidden;
  transition: background 0.6s ease;
}
.identity:last-child { border-right: none; }
.identity:hover { background: rgba(255,255,255,0.025); }

.identity .num {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--ink-30);
  font-weight: 500;
}
.identity .svg-mark {
  position: absolute;
  top: 64px; right: 36px;
  width: 64px; height: 64px;
  opacity: 0.9;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1),
              filter 0.6s cubic-bezier(.2,.7,.2,1),
              opacity 0.3s ease;
}
.identity:hover .svg-mark {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.identity h2 {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  margin: 96px 0 0;
}
.identity p {
  margin: 24px 0 0;
  color: var(--ink-70);
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.7;
  max-width: 240px;
  font-weight: 300;
}

/* ============ VALUES ============ */
.values-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: var(--silence-md);
}
@media (max-width: 800px) { .values-head { grid-template-columns: 1fr; } }

.values-head h2 {
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.055em;
  margin: 0;
}
.values-head h2 .light { font-weight: 100; }

.values-head .desc {
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--ink-70);
  max-width: 420px;
  justify-self: end;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 44px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}
.value:hover { background: rgba(255,255,255,0.03); }

.value .icon {
  width: 96px; height: 96px;
  /* Soft 2D scale + glow on hover. The previous 180° flip looked wrong for
     asymmetric icons (shield checkmark, magnifying glass, figures) because
     they read as upside-down. This is gentler and works for all six. */
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1),
              filter 0.6s cubic-bezier(.2,.7,.2,1);
}
.value:hover .icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.35));
}

.value h3 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  line-height: 0.95;
}
.value .v-body { margin-top: 32px; }
.value .v-line {
  font-size: 14px;
  color: var(--ink-70);
  letter-spacing: 0.01em;
  line-height: 1.65;
  max-width: 260px;
  font-weight: 300;
}

/* ============ STORY ============ */
.story-quote {
  font-weight: 100;
  font-size: clamp(40px, 7.5vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 1180px;
  margin: 0 auto;
  text-wrap: balance;
}
.story-quote .heavy { font-weight: 900; }
.story-quote .reg { font-weight: 400; }

.story-grid {
  margin-top: var(--silence-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 56px; } }

.story-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
}
.story-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05) brightness(0.9);
}
.story-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,11,26,0.5) 100%);
  pointer-events: none;
}

.counter-block {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 48px;
}
.counter-block .num {
  font-size: clamp(96px, 14vw, 240px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
}
.counter-block .num .plus { font-weight: 100; }
.counter-block .label {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-50);
  max-width: 140px;
  line-height: 1.6;
}

.story-body {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-70);
  max-width: 480px;
}
.story-body p + p { margin-top: 22px; }
.story-body strong { color: var(--ink); font-weight: 500; }

/* ============ TIMELINE — chapter-based vertical layout ============ */
.timeline-head {
  padding-bottom: var(--silence-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 800px) { .timeline-head { grid-template-columns: 1fr; } }
.timeline-head h2 {
  font-size: clamp(64px, 12vw, 220px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  margin: 0;
}
.timeline-head h2 .light { font-weight: 100; }
.timeline-head .sub {
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--ink-70);
  max-width: 420px;
  justify-self: end;
  line-height: 1.6;
}

/* Chapter = a year group containing 1+ events */
.tl-chapter {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.8fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 6vh, 80px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.tl-chapter:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .tl-chapter { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
}

.tl-chapter .tl-year {
  position: sticky;
  top: 80px;
  align-self: start;
  font-size: clamp(72px, 10vw, 180px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  color: var(--ink);
}
@media (max-width: 800px) {
  .tl-chapter .tl-year { position: static; font-size: clamp(64px, 14vw, 96px); }
}

.tl-events {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
@media (max-width: 800px) { .tl-events { gap: 40px; } }

.tl-event {
  position: relative;
  padding-left: 36px;
}
.tl-event::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.3s, background 0.3s;
}
.tl-event:hover::before { transform: scale(1.6); }

/* Progress index in the left margin — "07 / 18" */
.tl-event .tl-progress {
  position: absolute;
  left: 0;
  top: -22px;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--ink-30);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Tag row — city chip + role/org sub */
.tl-event .tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 14px;
}

.tl-event .tl-place {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}

.tl-event .tl-sub {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
  margin-bottom: 0;  /* override the legacy margin */
}

.tl-event h3 {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.15;
  text-wrap: balance;
}
.tl-event p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
  font-weight: 300;
}

/* ===== Featured events: hero moments get larger editorial treatment ===== */
.tl-event--featured::before {
  width: 16px; height: 16px;
  top: 16px;
  background: #FECA05;  /* Beonbrand yellow accent */
}
.tl-event--featured h3 {
  font-size: clamp(28px, 3.2vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 800;
}
.tl-event--featured p {
  font-size: 17px;
  color: var(--ink-90);
  line-height: 1.65;
}
.tl-event--featured .tl-place {
  border-color: rgba(254,202,5,0.45);
  color: var(--ink);
}

/* ===== Supporting events: tighter, smaller ===== */
.tl-event--small::before {
  width: 8px; height: 8px;
  top: 16px;
}
.tl-event--small h3 {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.tl-event--small p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 560px;
}
.tl-event--small .tl-place {
  font-size: 9px;
  padding: 4px 10px;
}
.tl-event--small .tl-sub {
  font-size: 9px;
}

/* ============ SERVICES ============ */
.services-head { padding-bottom: var(--silence-md); }
.services-head h2 {
  font-size: clamp(64px, 12vw, 220px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  margin: 0;
}
.services-head h2 .light { font-weight: 100; }

.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 64px 1.4fr 2fr 80px;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 40px 8px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.5s;
}
.service-row:hover { background: rgba(255,255,255,0.025); }

.service-row .idx { font-size: 11px; letter-spacing: 0.35em; color: var(--ink-30); font-weight: 500; }
.service-row .title {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.service-row .desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
  font-weight: 300;
  max-width: 480px;
}
.service-row .icon { width: 44px; height: 44px; justify-self: end; opacity: 0.7; transition: transform 0.6s, opacity 0.4s; }
.service-row:hover .icon { transform: rotate(90deg); opacity: 1; }

@media (max-width: 800px) {
  .service-row { grid-template-columns: 40px 1fr 44px; gap: 18px; padding: 28px 8px; }
  .service-row .desc { grid-column: 1 / -1; max-width: none; }
}

/* ============ TESTIMONIALS ============ */
.testimonials-head {
  padding-bottom: var(--silence-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
@media (max-width: 800px) { .testimonials-head { grid-template-columns: 1fr; } }
.testimonials-head h2 {
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  margin: 0;
}
.testimonials-head h2 .light { font-weight: 100; }

/* Testimonial grid — all visible */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.t-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 480px;
  position: relative;
  transition: background 0.5s;
}
.t-card:hover { background: rgba(255,255,255,0.025); }

.t-card .t-num {
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--ink-30);
  font-weight: 500;
}
.t-card .t-quote {
  font-weight: 200;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  flex: 1;
}
.t-card .t-mark {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.5;
  color: var(--ink-30);
  margin-bottom: -8px;
}
.t-card .t-author {
  display: flex; align-items: center; gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.t-card .t-author .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.t-card .t-author .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Subtle grayscale + brightness wash so the four photos feel cohesive
     even though they're from different sources with different lighting */
  filter: grayscale(0.15) contrast(1.02);
}
.t-card .t-author .meta { display: flex; flex-direction: column; gap: 4px; }
.t-card .t-author .meta .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.t-card .t-author .meta .role {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

/* ============ VIDEO GALLERY ============ */
.videos-head { padding-bottom: var(--silence-md); }
.videos-head h2 {
  font-size: clamp(64px, 12vw, 220px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  margin: 0;
}
.videos-head h2 .light { font-weight: 100; }
.videos-head .sub {
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--ink-70);
  margin-top: 28px;
  max-width: 560px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; gap: 20px; } }

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}
.video-card .thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 0.5s;
  filter: grayscale(0.4) brightness(0.7);
}
.video-card:hover .thumb { transform: scale(1.05); filter: grayscale(0) brightness(0.85); }

.video-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0.1) 0%, rgba(5,11,26,0.65) 100%);
  pointer-events: none;
}
/* hide YT info bar overlays after embed, AND hide the top/bottom title strips of unstarted embeds via mask */
.video-card.playing iframe { display: block; }

.video-card .play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
  z-index: 3;
}
.video-card:hover .play {
  background: var(--ink);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-card .play svg { width: 28px; height: 28px; margin-left: 4px; }

.video-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.video-card .meta .num {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-70);
  font-weight: 500;
}
.video-card .meta .title {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  max-width: 70%;
  text-align: right;
}

.video-card iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 4;
  display: none;
}

/* iframe chrome masks: top + bottom strips of pure navy to cover YT title + bottom buttons */
.video-card .yt-mask-top,
.video-card .yt-mask-bottom {
  position: absolute; left: 0; right: 0;
  height: 56px;
  background: #000;
  z-index: 5;
  pointer-events: none;
  display: none;
}
.video-card.playing .yt-mask-top    { display: block; top: 0; }
.video-card.playing .yt-mask-bottom { display: block; bottom: 0; }

/* close button on playing video */
.video-card .close-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  display: none;
  align-items: center; justify-content: center;
  z-index: 7;
  cursor: pointer;
  font-size: 18px;
}
.video-card.playing .close-btn { display: flex; }

/* ============ LINKEDIN FEED ============ */
.linkedin-head { padding-bottom: var(--silence-md); }
.linkedin-head h2 {
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  margin: 0;
}
.linkedin-head h2 .light { font-weight: 100; }
.linkedin-head .sub {
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--ink-70);
  margin-top: 28px;
  max-width: 560px;
}

.linkedin-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 32px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  /* min-height matches the 3-card skeleton height so the initial paint
     reserves space for what's coming and doesn't reflow when Elfsight
     swaps in real content. */
  min-height: 560px;
}

/* Footer strip — lives BELOW the widget as a sibling element so it never
   covers real posts. Branding-mask responsibility now lives in app.js (the
   MutationObserver that hides "Load More" / Elfsight credit in-place). */
.linkedin-footer {
  margin-top: 32px;
  padding: 28px clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.linkedin-footer .lk-logo {
  height: 44px;
  width: auto;
  /* Full-color logo — yellow accent shows on navy bg, no filter applied */
}
.linkedin-footer .lk-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.linkedin-footer .lk-cta .label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}
.linkedin-footer .lk-cta a {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--ink-30);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.linkedin-footer .lk-cta a:hover { border-color: var(--ink); }

/* ============ LINKEDIN — kill Elfsight branding ============ */

/* Belt-and-suspenders: hide common Elfsight branding selectors by class name.
   Elfsight ships with scrambled class names that change, so we target broad patterns
   AND a JS MutationObserver in app.js handles text-based matches as a backup. */
.linkedin-frame .eapps-widget-toolbar,
.linkedin-frame .eapps-widget-footer,
.linkedin-frame .eapps-link,
.linkedin-frame [class*="powered" i],
.linkedin-frame [class*="Powered"],
.linkedin-frame [class*="poweredBy"],
.linkedin-frame [class*="LoadMore"],
.linkedin-frame [class*="loadMore"],
.linkedin-frame [class*="load-more"],
.linkedin-frame [class*="button-load-more"],
.linkedin-frame a[href*="elfsight.com"],
.linkedin-frame a[href*="elfsight" i] {
  display: none !important;
  visibility: hidden !important;
}

/* ============ LINKEDIN SKELETON ============ */
.lk-skeleton {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.linkedin-frame[data-elfsight-state="ready"] .lk-skeleton {
  opacity: 0;
  position: absolute;
  inset: 32px;
}

.lk-skel-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 22px 24px;
  border-radius: 2px;
}

.lk-skel-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lk-skel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lk-skel-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lk-skel-line {
  height: 12px;
  border-radius: 2px;
  margin-top: 8px;
}
.lk-skel-line:first-child { margin-top: 0; }

.lk-skel-status {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-30);
  text-align: center;
  font-weight: 500;
}

/* Shimmer animation — runs only while reduced-motion is off */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.14) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  animation: lk-shimmer 1.6s ease-in-out infinite;
}
@keyframes lk-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; background: rgba(255,255,255,0.06); }
}

/* ============ AFFILIATIONS ============ */
.affiliations {
  padding: clamp(60px, 8vh, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.aff-eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
  margin-bottom: clamp(32px, 4vh, 56px);
}
.aff-track {
  display: flex; gap: 32px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  will-change: transform;
  align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .aff-track { animation: none; }
}

/* Original-color logos on the navy background, no chip, no filter.
   Each partner's identity stays exactly as designed. Logos that ship
   white-on-transparent (Govt of Canada, ILAC IC) render their white
   text on the navy; multicolor logos (Aljazeera, G20, YLA) keep
   their natural palette. */
.aff-logo {
  flex-shrink: 0;
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.3s;
}
.aff-logo:hover { opacity: 1; transform: translateY(-2px); }
.aff-logo.tall { height: 70px; }

/* ============ TOMORROW ============ */
.tomorrow .eyebrow-big {
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
  margin-bottom: 40px;
}
.tomorrow h2 {
  font-size: clamp(88px, 20vw, 360px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
  margin: 0;
}
.tomorrow h2 .light { font-weight: 100; }
.tomorrow h2 .outline {
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
  font-weight: 900;
}

.tomorrow-body {
  margin-top: var(--silence-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 800px) { .tomorrow-body { grid-template-columns: 1fr; gap: 48px; } }
.tomorrow-body .tag {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-50);
}
.tomorrow-body .desc {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  max-width: 560px;
}
.tomorrow-body .desc .heavy { font-weight: 700; }

/* Media × Systems × AI triplet */
.tri-pill {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}
.tri-pill:last-child { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.tri-label {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tri-body {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.7;
  font-weight: 300;
  max-width: 380px;
}

/* Ventures list under the studio block */
.ventures {
  margin-top: var(--silence-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .ventures { grid-template-columns: 1fr; } }
.venture {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.5s;
}
.venture:last-child { border-right: none; }
.venture:hover { background: rgba(255,255,255,0.025); }
.venture-num {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-30);
  font-weight: 500;
}
.venture-name {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.venture-desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.65;
  font-weight: 300;
}

/* ============ CONTACT / FOOTER ============ */
.contact {
  border-top: 1px solid var(--line);
  padding-top: var(--silence-lg);
  padding-bottom: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: var(--silence-md);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-grid h2 {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
  margin: 0;
}
.contact-grid h2 .light { font-weight: 100; }

.contact-grid a.email {
  display: inline-block;
  margin-top: 32px;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-30);
  padding-bottom: 6px;
  font-weight: 400;
  transition: border-color 0.3s;
}
.contact-grid a.email:hover { border-color: var(--ink); }

.contact-grid .socials { display: flex; flex-direction: column; }
.contact-grid .socials a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: padding 0.3s;
}
.contact-grid .socials a:hover { padding-left: 14px; }
.contact-grid .socials a .arrow { transition: transform 0.3s; }
.contact-grid .socials a:hover .arrow { transform: translateX(8px) translateY(-8px); }

.footer-bottom {
  margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-30);
  font-weight: 500;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.4s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.letter.in { opacity: 1; transform: translateY(0); }

/* utility */
.silence { height: var(--silence-xl); }
.silence-sm { height: var(--silence-md); }

/* ============ ACCESSIBILITY ============ */

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: fixed;
  top: -200px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--navy);
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
  outline: none;
}

/* Universal focus ring — visible on every interactive element when keyboard-focused */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #FECA05;  /* Beonbrand yellow */
  z-index: 99;
  pointer-events: none;
  transition: width 0.08s linear;
  will-change: width;
}

/* ============ ACTIVE-SECTION NAV PULSE ============ */
.nav-links a {
  position: relative;
}
.nav-links a.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FECA05;
  transform: translateY(-50%);
  animation: navDotPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes navDotPulse {
  0%, 100% { opacity: 0.45; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateY(-50%) scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a.active::before { animation: none; opacity: 0.85; }
}

/* No outlines on mouse-only interactions (covered by :focus-visible) */
:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-bottom-color: var(--ink-50);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  line-height: 1.5;
}

.contact-form .cf-submit {
  align-self: flex-start;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 18px 32px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, padding 0.3s;
}

.contact-form .cf-submit:hover {
  background: var(--ink);
  color: var(--navy);
  padding-left: 40px;
  padding-right: 40px;
}

.contact-form .cf-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
}

.contact-form .cf-status {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  min-height: 1.2em;
  margin-top: 8px;
}
.contact-form .cf-status.ok    { color: var(--ink); font-weight: 500; }
.contact-form .cf-status.err   { color: #FF8B7B; font-weight: 500; }
