/* ============================================================
   NEŞET BİRLİK — Personal CV Site · v0.3
   Adaptation: lxtrendship blob + synergy + findrealestate hover-reveal
   Direction: Editorial / Luxury · Three.js blob · pinned photo album
   ============================================================ */

:root {
  /* ─── Color tokens (CV-aligned) ─────────────────────── */
  --bg:           #FFFFFF;
  --bg-soft:      #F8F9FB;
  --bg-tint:      #EEF2FF;
  --bg-elev:      #FFFFFF;

  --ink:          #0F1A2C;
  --ink-2:        #3B4458;
  --ink-3:        #6F7689;
  --ink-4:        #9AA0AE;
  --rule:         rgba(15, 26, 44, 0.08);
  --rule-strong:  rgba(15, 26, 44, 0.16);

  --accent:       #2D5BFF;
  --accent-soft:  #4A7EFF;
  --accent-deep:  #1E3A8A;

  --logo-kw-red:     #C8102E;
  --logo-bta:        #1A1A1A;
  --logo-tugem-gold: #C9A961;

  --blue:         var(--accent);
  --blue-soft:    var(--accent-soft);
  --red:          var(--logo-kw-red);
  --gold:         var(--logo-tugem-gold);

  /* ─── Type & layout ─────────────────────────────────── */
  --f-display:    'Fraunces', 'Times New Roman', Georgia, serif;
  --f-body:       'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --gutter:       clamp(20px, 4vw, 56px);
  --max-w:        1280px;

  /* ─── Motion ────────────────────────────────────────── */
  --ease:         cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power:   cubic-bezier(0.7, 0, 0.3, 1);
  --dur-fast:     200ms;
  --dur-med:      480ms;
  --dur-slow:     800ms;
  --dur-stage:    1200ms;

  /* ─── Shadows — layered, %4 opacity max ─────────────── */
  --shadow-1:     0 1px 2px rgba(15,26,44,0.04), 0 1px 1px rgba(15,26,44,0.02);
  --shadow-2:     0 4px 12px rgba(15,26,44,0.04), 0 1px 3px rgba(15,26,44,0.03);
  --shadow-3:     0 12px 32px rgba(15,26,44,0.06), 0 4px 8px rgba(15,26,44,0.04);
  --shadow-pop:   0 24px 48px rgba(15,26,44,0.08), 0 8px 16px rgba(15,26,44,0.05);
}

/* ─── Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--dur-fast) var(--ease); }
a:hover { opacity: 0.7; }
button { font-family: inherit; }
::selection { background: var(--accent); color: white; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  font-variation-settings: 'opsz' 96;
  /* Long titles wrap gracefully on narrow viewports */
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
p { margin: 0; overflow-wrap: break-word; }

/* Global guard: any text container with letter-spacing must wrap */
.section-eyebrow,
.album-final-caption,
.letter-caption,
.nav-links,
.footer-links,
.timeline-org,
.edu-uni,
.contact-card-label,
.blog-meta,
.album-year {
  overflow-wrap: break-word;
}

/* Vercel rules */
.number-val, .count, .timeline-year span, .number-note,
.number-trend, .number-bar, .number-compare, .album-year {
  font-variant-numeric: tabular-nums;
}
* { -webkit-tap-highlight-color: rgba(45, 91, 255, 0.15); }
button, a, .nav-item, .impact-card, .blog-card, .blog-featured, .edu-card { touch-action: manipulation; }
section[id] { scroll-margin-top: 80px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ─── Common ─────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.section-h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 18ch;
  font-variation-settings: 'opsz' 96;
}
.section-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

/* ─── INTERACTIVE BLOB STAGE — travels through sections ─── */
.blob-stage {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  /* JS uses transform + opacity for choreography */
  will-change: transform, opacity;
  transition: opacity var(--dur-med) var(--ease);
}
.blob-stage canvas {
  width: 100%; height: 100%;
  display: block;
}
.blob-fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}
/* Three.js fails → SVG fallback */
.blob-stage[data-fallback="true"] canvas { display: none; }
.blob-stage[data-fallback="true"] .blob-fallback { display: block; }

/* Section ordering relative to blob */
section { position: relative; z-index: 2; }
section.blob-overlay { z-index: 0; }   /* JS sets per section */

/* ─── Navigation ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav.scrolled { border-color: var(--rule); }
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
}
.nav-name { display: none; }
@media (min-width: 720px) { .nav-name { display: inline; } }

.nav-links {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}
@media (min-width: 900px) { .nav-burger { display: none; } }

/* ─── 1. HERO — orbital name (findrealestate adaptation) ─ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

/* Orbital halo around hero name */
.hero-orbital {
  position: absolute;
  top: 50%; left: 50%;
  width: min(120vh, 1200px);
  height: min(120vh, 1200px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: orbit-fade-in 1.4s var(--ease-out) 800ms forwards;
}
.orbit-1 { animation-delay: 800ms; }
.orbit-2 { inset: 12%; border-color: var(--accent-soft); animation-delay: 1000ms; }
.orbit-3 { inset: 24%; border-color: var(--accent); animation-delay: 1200ms; border-style: dashed; }

@keyframes orbit-fade-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 0.5; transform: scale(1); }
}

.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(45, 91, 255, 0.7), 0 0 4px rgba(45, 91, 255, 1);
  opacity: 0;
  animation: orbit-dot-fade 1.4s var(--ease-out) 1400ms forwards;
}
.orbit-dot-a {
  top: 50%; left: 0;
  transform: translateY(-50%);
  animation-name: orbit-circle-a;
  animation-duration: 32s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.orbit-dot-b {
  top: 50%; right: 12%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  animation-name: orbit-circle-b;
  animation-duration: 22s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background: var(--accent-soft);
}
.orbit-dot-c {
  top: 24%; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  animation-name: orbit-circle-c;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background: var(--accent);
}
@keyframes orbit-dot-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes orbit-circle-a {
  from { transform: rotate(0deg) translateX(calc(min(60vh, 600px))) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(calc(min(60vh, 600px))) rotate(-360deg); }
}
@keyframes orbit-circle-b {
  from { transform: rotate(0deg) translateX(calc(min(50vh, 520px))) rotate(0deg); }
  to   { transform: rotate(-360deg) translateX(calc(min(50vh, 520px))) rotate(360deg); }
}
@keyframes orbit-circle-c {
  from { transform: rotate(0deg) translateX(calc(min(44vh, 440px))) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(calc(min(44vh, 440px))) rotate(-360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 800ms var(--ease-out) 200ms forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(45, 91, 255, 0.5);
}
.hero-name {
  font-family: var(--f-display);
  font-size: clamp(68px, 14vw, 220px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variation-settings: 'opsz' 144;
  margin: 0 0 40px;
  color: var(--ink);
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line span { display: inline-block; }
.hero-line-italic { font-style: italic; font-weight: 300; }

.hero-lede {
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  margin: 0 0 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.hero-meta .sep { opacity: 0.5; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0;
  animation: fade-up 800ms var(--ease-out) 1600ms forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent 0%, var(--ink-3) 100%);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  animation: scroll-pulse 2.4s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%   { top: -50%; }
  100% { top: 110%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 2. Manifesto ─────────────────────────────────── */
.manifesto {
  padding: clamp(80px, 14vw, 200px) var(--gutter);
  background: transparent;
  position: relative;
}
.manifesto-inner { max-width: 980px; margin: 0 auto; }
.manifesto-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 56px;
}
.manifesto-quote {
  margin: 0 0 56px;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.manifesto-quote p { margin: 0; }
.manifesto-quote span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.manifesto-quote span.in { opacity: 1; transform: translateY(0); }
.manifesto-quote .hl {
  font-style: italic;
  color: var(--accent);
}
.manifesto-debt {
  max-width: 720px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--ink-2);
  letter-spacing: -0.003em;
  margin-bottom: 40px;
}
.manifesto-sign {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}
.sign-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--ink-3);
}

/* ─── 3. PHOTO ALBUM — BİRLİK word + first İ as photo mask ── */
.album {
  position: relative;
  height: 700vh;   /* 7× viewport for scrub timeline (9 foto + open/close) */
  z-index: 2;
}
.album-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* Aurora background canvas (active at end) */
.album-aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-stage) var(--ease-out);
}
.album-aurora.active { opacity: 1; }

/* BİRLİK word stage */
.album-stage {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.album-word {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-variation-settings: 'opsz' 144;
  /* JS controls transform scale + opacity */
  transform-origin: center center;
  will-change: transform, opacity;
  opacity: 0;
}
.album-word .letter {
  display: inline-block;
}
/* First İ — hidden during photo phase (foto pencere onun yerinde) */
.album-word .letter.first-i {
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.album-word.first-i-visible .letter.first-i {
  opacity: 1;
}
/* Second İ — initially hidden, fades in at end (kapatma anı) */
.album-word .letter.second-i {
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.album-word.second-i-visible .letter.second-i {
  opacity: 1;
}

/* Photo window — JS sets position+size (big-center → İ slot lerp) */
.photo-window {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  will-change: left, top, width, height, opacity;
  transition: opacity var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-pop);
}
.photo-window.hidden { opacity: 0; }
.photo-window-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Album frames (foto + caption) */
.album-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 500ms var(--ease), transform 800ms var(--ease-out);
  will-change: opacity, transform;
}
.album-frame.active {
  opacity: 1;
  transform: scale(1);
}
.album-photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
/* Period gradient placeholders (real foto sonra) */
.ph-engineering { background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%); }
.ph-componenta  { background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%); }
.ph-tugem       { background: linear-gradient(135deg, #FEF3C7 0%, #C9A961 100%); }
.ph-basketball  { background: linear-gradient(135deg, #FED7AA 0%, #EA580C 100%); }
.ph-committee   { background: linear-gradient(135deg, #DBEAFE 0%, #1E3A8A 100%); }
.ph-kw-alesta   { background: linear-gradient(135deg, #FECACA 0%, #C8102E 100%); }
.ph-kw-viya     { background: linear-gradient(135deg, #FCA5A5 0%, #991B1B 100%); }
.ph-bta-nj      { background: linear-gradient(135deg, #E5E7EB 0%, #1A1A1A 100%); }
.ph-now         { background: linear-gradient(135deg, #BFDBFE 0%, #2D5BFF 100%); }

/* Inline caption inside photo window (bottom-left badge) */
.album-caption-inline {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(15,26,44,0.55);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  pointer-events: none;
}
.album-year {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.album-text {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.95);
  line-height: 1.4;
}

/* Final caption (revealed after letter morph) */
.album-final-caption {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  text-align: center;
  max-width: min(560px, calc(100vw - 48px));
  line-height: 1.5;
  padding: 0 16px;
  box-sizing: border-box;
}
.album-final-caption.active { opacity: 1; }

/* Pin progress indicator */
.album-progress {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60vw);
  height: 2px;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
  z-index: 5;
}
.album-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(45, 91, 255, 0.5);
  transition: width 0.1s linear;
}

/* ─── 4. Numbers — 6 varied KPI cards (StyleSeed rule) ── */
.numbers {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--ink);
  color: var(--bg);
}
.numbers .section-eyebrow { color: rgba(255,255,255,0.55); }
.numbers .section-h2 { color: var(--bg); }
.numbers-head { max-width: var(--max-w); margin: 0 auto 80px; }

.numbers-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.number-item {
  background: var(--ink);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.number-item.in { opacity: 1; transform: translateY(0); }
.number-val {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--bg);
}
.number-val .suffix {
  font-size: 0.45em;
  font-weight: 400;
  margin-left: 4px;
  color: var(--accent-soft);
  letter-spacing: -0.02em;
}
.number-label {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--bg);
}
.number-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* KPI varyantları */
.number-trend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--accent-soft);
  font-weight: 500;
}
.number-trend .trend-arrow {
  font-size: 11px;
  color: var(--accent);
}
.number-bar {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.number-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 999px;
}
.number-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.number-compare strong { color: var(--bg); }
.number-compare .cmp-arrow { opacity: 0.4; }
.number-list {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.number-list li::before {
  content: '— ';
  color: var(--accent-soft);
}

/* ─── 5. Career Timeline ──────────────────────────── */
.career {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--bg);
}
.career-head { max-width: var(--max-w); margin: 0 auto 100px; }

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
}
.timeline-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.timeline-item.in { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  z-index: 1;
  transition: background var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.timeline-item:hover::before {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 24px rgba(45, 91, 255, 0.5);
}

.timeline-year {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.timeline-year span {
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.timeline-year small {
  font-size: 13px;
  font-style: normal;
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
.timeline-role {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-org {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.timeline-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 640px;
  letter-spacing: -0.003em;
}
.timeline-text strong { color: var(--ink); font-weight: 600; }

/* ─── 6. Impact Stories — hover reveal (findrealestate adaptation) ─ */
.impact {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--bg-soft);
}
.impact-head { max-width: var(--max-w); margin: 0 auto 80px; }
.impact-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.impact-card {
  background: var(--bg-elev);
  padding: 40px 36px;
  border-radius: 18px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out),
              border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  isolation: isolate;
}
.impact-card.in { opacity: 1; transform: translateY(0); }
.impact-card:hover {
  border-color: rgba(45, 91, 255, 0.4);
  box-shadow: 0 24px 48px -16px rgba(45, 91, 255, 0.16);
}

/* Hidden photo behind text — reveals + glows on hover */
.impact-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  border-radius: 18px;
}
.impact-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.98) 100%);
  transition: opacity var(--dur-slow) var(--ease-out);
}
.impact-card:hover .impact-photo {
  opacity: 1;
  transform: scale(1);
}
.impact-card:hover .impact-photo::after {
  opacity: 0.85;
}

/* Glow halo on hover */
.impact-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 91, 255, 0.12), transparent 60%);
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
  z-index: -2;
}
.impact-card:hover::before { opacity: 1; }

.impact-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.impact-h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.18;
}
.impact-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 22px;
  letter-spacing: -0.003em;
}
.impact-text strong { color: var(--ink); font-weight: 600; }
.impact-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--rule);
}

/* Reuse album ph-* gradient classes for impact photos */
.impact-photo.ph-committee   { background: linear-gradient(135deg, #DBEAFE 0%, #1E3A8A 100%); }
.impact-photo.ph-jury        { background: linear-gradient(135deg, #FEF3C7 0%, #C9A961 100%); }
.impact-photo.ph-trainings   { background: linear-gradient(135deg, #FED7AA 0%, #EA580C 100%); }
.impact-photo.ph-more        { background: linear-gradient(135deg, #BFDBFE 0%, #2D5BFF 100%); }
.impact-photo.ph-basketball  { background: linear-gradient(135deg, #FED7AA 0%, #EA580C 100%); }
.impact-photo.ph-tugem       { background: linear-gradient(135deg, #FEF3C7 0%, #C9A961 100%); }

/* ─── 7. Education ────────────────────────────────── */
.edu {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--bg);
}
.edu-head { max-width: var(--max-w); margin: 0 auto 80px; }
.edu-grid {
  max-width: var(--max-w);
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
}
.edu-card {
  background: var(--bg);
  padding: 36px 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out),
              background var(--dur-med) var(--ease);
}
.edu-card.in { opacity: 1; transform: translateY(0); }
.edu-card:hover { background: var(--bg-soft); }
.edu-year {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.edu-program {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.edu-uni {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.edu-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  letter-spacing: -0.003em;
}
.edu-note em { font-style: italic; color: var(--ink); }

.cert-wrap { max-width: var(--max-w); margin: 0 auto; }
.cert-head { margin-bottom: 32px; }
.cert-h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.cert-track {
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.cert-row {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  animation: cert-marquee 60s linear infinite;
}
.cert-row:hover { animation-play-state: paused; }
.cert-pill {
  flex-shrink: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
@keyframes cert-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── 8. Blog — hover reveal photo (findrealestate adaptation) ─ */
.blog {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--bg-soft);
}
.blog-head { max-width: var(--max-w); margin: 0 auto 80px; }

.blog-featured {
  max-width: var(--max-w);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  position: relative;
}
.blog-featured.in { opacity: 1; transform: translateY(0); }
@media (min-width: 900px) {
  .blog-featured { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
}
.blog-featured-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  isolation: isolate;
}
.blog-featured-img .img-placeholder {
  width: 100%; height: 100%;
  transition: transform 1.6s var(--ease-out), filter 1.6s var(--ease-out);
  filter: saturate(0.7) brightness(0.85);
}
.blog-featured:hover .img-placeholder {
  transform: scale(1.04);
  filter: saturate(1.1) brightness(1);
}

/* Glow on hover for blog cards */
.blog-card { position: relative; isolation: isolate; }
.blog-card::before, .blog-featured::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(45, 91, 255, 0.10), transparent 70%);
  opacity: 0;
  filter: blur(24px);
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.blog-card:hover::before, .blog-featured:hover::before { opacity: 1; }

.blog-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45, 91, 255, 0.08);
  margin-bottom: 22px;
}
.blog-h3 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 20px;
}
.blog-excerpt {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 22px;
  letter-spacing: -0.003em;
}
.blog-meta {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.blog-meta .sep { opacity: 0.4; }

.blog-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.blog-card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.blog-card.in { opacity: 1; transform: translateY(0); }
.blog-card-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  margin-bottom: 22px;
}
.blog-card-img .img-placeholder {
  width: 100%; height: 100%;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: saturate(0.7) brightness(0.85);
}
.blog-card:hover .img-placeholder {
  transform: scale(1.04);
  filter: saturate(1.1) brightness(1);
}
.ph-blog-featured { background: linear-gradient(135deg, #1E3A8A 0%, #2D5BFF 100%); }
.ph-blog-1 { background: linear-gradient(135deg, #2D5BFF 0%, #0F1A2C 100%); }
.ph-blog-2 { background: linear-gradient(135deg, #1A1A1A 0%, #C8102E 100%); }
.ph-blog-3 { background: linear-gradient(135deg, #C9A961 0%, #3F3216 100%); }
.ph-blog-4 { background: linear-gradient(135deg, #4A7EFF 0%, #1a3e8c 100%); }

.blog-h4 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ─── 9. Press ────────────────────────────────────── */
.press {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  background: var(--bg);
  text-align: center;
}
.press-head { margin-bottom: 64px; }
.press-head .section-h2 { margin: 0 auto; max-width: 16ch; }
.press-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}
.press-slot {
  border: 1px dashed var(--rule-strong);
  border-radius: 12px;
  padding: 32px 16px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  opacity: 0.55;
  transition: all var(--dur-med) var(--ease);
}
.press-slot:hover {
  opacity: 0.85;
  border-color: var(--ink-2);
  background: var(--bg-soft);
}
.press-note {
  max-width: 540px;
  margin: 48px auto 0;
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.press-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── 10. Contact ─────────────────────────────────── */
.contact {
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  background: var(--ink);
  color: var(--bg);
}
.contact-inner { max-width: 980px; margin: 0 auto; }
.contact .section-eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.contact-h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 28px;
  max-width: 14ch;
}
.contact-h2 em { font-style: italic; color: var(--accent-soft); }
.contact-sub {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  letter-spacing: -0.003em;
  margin-bottom: 48px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: rgba(255,255,255,0.08);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--dur-med) var(--ease);
}
.contact-cta:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
  opacity: 1;
}
.contact-cta.primary {
  background: var(--bg);
  color: var(--ink);
  border-color: transparent;
}
.contact-cta.primary:hover { background: var(--accent); color: var(--bg); }
.cta-arrow { transition: transform var(--dur-med) var(--ease); }
.contact-cta:hover .cta-arrow { transform: translateX(4px); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
}
.contact-card {
  background: rgba(255,255,255,0.03);
  padding: 28px;
}
.contact-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.contact-card-body {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bg);
  margin-bottom: 6px;
}
.contact-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.eb1a-slot {
  border: 1px dashed rgba(201, 169, 97, 0.4) !important;
  background: rgba(201, 169, 97, 0.05) !important;
}

/* ─── Footer ──────────────────────────────────────── */
.footer {
  padding: 32px var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-2);
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
}
.footer-text { font-size: 12.5px; color: var(--ink-3); }
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}

/* ─── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .album { height: auto; }
  .album-pin { position: relative; height: auto; }
  .album-frame { position: relative; opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE RESPONSIVE — telefon + tablet için optimize edilmiş
   ============================================================ */

/* ─── Mobile (< 720px) ─────────────────────────────── */
@media (max-width: 719px) {

  :root {
    --gutter: 20px;
  }

  /* Nav drawer */
  .nav { padding: 14px 20px; }
  .nav-mark { width: 28px; height: 28px; font-size: 14px; }
  .nav-brand { font-size: 15px; }
  .nav-burger { z-index: 101; position: relative; }
  .nav-burger span {
    transition: transform 320ms var(--ease), opacity 240ms var(--ease);
  }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    padding: 96px 24px 40px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: translateY(-100%);
    transition: transform 420ms var(--ease);
    z-index: 99;
    height: auto;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a {
    font-family: var(--f-display);
    font-size: 28px;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--ink);
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a:last-child { border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { transform: translateY(0); }
  body.nav-open .nav-burger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  body.nav-open .nav-burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  /* Hero */
  .hero { padding: 0 20px; align-items: center; text-align: left; }
  .hero-content { padding-top: 100px; }
  .hero-name { margin-bottom: 28px; font-size: clamp(56px, 18vw, 96px); }
  .hero-lede { font-size: 16px; line-height: 1.5; }
  .hero-meta {
    font-size: 11.5px;
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-meta .sep { display: none; }
  .hero-orbital {
    width: min(160vw, 800px);
    height: min(160vw, 800px);
    opacity: 0.28;
  }
  .hero-scroll { display: none; }
  .scroll-line { height: 36px; }

  /* Manifesto */
  .manifesto { padding: 80px 20px; }
  .manifesto-eyebrow { margin-bottom: 32px; font-size: 11px; }
  .manifesto-quote {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 32px;
    line-height: 1.22;
  }
  .manifesto-debt { font-size: 16px; line-height: 1.6; }
  .manifesto-sign { font-size: 15px; }

  /* Album — daha kısa pin scroll mobile için */
  .album { height: 480vh; }
  .album-word { font-size: clamp(72px, 18vw, 120px); }
  .album-caption-inline {
    bottom: 10px; left: 10px; right: 10px;
    padding: 8px 10px;
  }
  .album-year { font-size: 10px; }
  .album-text { font-size: 11.5px; }
  .album-final-caption {
    font-size: 11px;
    letter-spacing: 0.12em;
    bottom: 14%;
  }
  .album-progress { width: 50vw; bottom: 18px; }

  /* Section heads */
  .section-h2 { font-size: clamp(32px, 9vw, 48px); }
  .section-sub { font-size: 15px; margin-top: 16px; }

  /* Career timeline */
  .career { padding: 80px 20px; }
  .career-head { margin-bottom: 56px; }
  .timeline { padding-left: 0; }
  .timeline-item { padding-left: 44px; padding-bottom: 56px; }
  .timeline-item::before {
    width: 12px; height: 12px;
    left: 5px; top: 6px;
    border-width: 1.5px;
  }
  .timeline::before { left: 11px; }
  .timeline-year span { font-size: 28px; }
  .timeline-year small { font-size: 11.5px; }
  .timeline-role { font-size: 20px; }
  .timeline-text { font-size: 14.5px; line-height: 1.6; }

  /* Impact */
  .impact { padding: 80px 20px; }
  .impact-head { margin-bottom: 48px; }
  .impact-cards { grid-template-columns: 1fr; gap: 16px; }
  .impact-card { padding: 28px 24px; }
  .impact-h3 { font-size: 19px; }
  .impact-text { font-size: 14px; }
  /* Touch'ta hover yok — tap reveal için always-on subtle hint */
  @media (hover: none) {
    .impact-card { border-color: rgba(45, 91, 255, 0.18); }
  }

  /* Education */
  .edu { padding: 80px 20px; }
  .edu-head { margin-bottom: 48px; }
  .edu-grid {
    grid-template-columns: 1fr;
    margin-bottom: 64px;
  }
  .edu-card { padding: 28px 24px; }
  .edu-program { font-size: 19px; }
  .edu-uni { font-size: 12.5px; }
  .edu-note { font-size: 13.5px; }
  .cert-head { margin-bottom: 24px; }
  .cert-h3 { font-size: 22px; }
  .cert-pill { padding: 9px 14px; font-size: 12px; }

  /* Blog */
  .blog { padding: 80px 20px; }
  .blog-head { margin-bottom: 48px; }
  .blog-featured { margin-bottom: 48px; gap: 24px; }
  .blog-featured-img { aspect-ratio: 16 / 11; }
  .blog-h3 { font-size: clamp(22px, 6vw, 32px); }
  .blog-excerpt { font-size: 15px; }
  .blog-grid { gap: 28px; grid-template-columns: 1fr; }
  .blog-card-img { aspect-ratio: 16 / 10; }
  .blog-h4 { font-size: 19px; }
  @media (hover: none) {
    .blog-card-img .img-placeholder,
    .blog-featured-img .img-placeholder {
      filter: saturate(1.05) brightness(0.95);
    }
  }

  /* Contact */
  .contact { padding: 80px 20px; }
  .contact-h2 { font-size: clamp(32px, 10vw, 56px); margin-bottom: 20px; }
  .contact-sub { font-size: 15px; margin-bottom: 36px; }
  .contact-actions { gap: 10px; margin-bottom: 48px; }
  .contact-cta { padding: 14px 20px; font-size: 14px; width: 100%; justify-content: center; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .contact-card-body { font-size: 20px; }

  /* Footer */
  .footer { padding: 24px 20px; }
  .footer-inner { gap: 14px; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ─── Tablet (720-1023px) ────────────────────────── */
@media (min-width: 720px) and (max-width: 1023px) {
  :root { --gutter: 32px; }
  .album { height: 600vh; }
  .impact-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta .sep { opacity: 0.4; }
}

/* ─── Very small (< 380px) — last-mile fixes ────── */
@media (max-width: 379px) {
  .hero-name { font-size: 52px; letter-spacing: -0.035em; }
  .album-word { font-size: 64px; }
  .contact-cta { padding: 12px 16px; font-size: 13px; }
}
