/* =====================================================================
   Sundy Song (sundysong.com) — Quiet Cosmic Space × Lively Creative Universe
   All motion is intentionally slow, soft, fluid, and unhurried.
   ===================================================================== */

:root {
  --cosmos-bg: #070a14;
  --cosmos-mid: #0e1427;
  --cosmos-surface: rgba(255, 255, 255, 0.045);
  --cosmos-border: rgba(212, 224, 255, 0.12);
  --cosmos-text: #eef2ff;
  --cosmos-muted: rgba(226, 232, 255, 0.66);

  --light-bg: #f6f7fb;
  --light-tinted: #eef1f7;
  --light-card: #ffffff;
  --ink: #111420;
  --ink-muted: #565d72;
  --line: rgba(17, 20, 32, 0.09);

  --accent-star: #93b8ff;
  --accent-gold: #f5d38c;
  --accent-lavender: #c7b8ff;
  --accent-coral: #ef5a5a;

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--light-bg);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* =====================================================================
   Top Sticky Glass Navigation
   ===================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(8, 11, 22, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cosmos-text);
  transition: background 0.5s var(--ease-soft), border-color 0.5s var(--ease-soft), color 0.5s var(--ease-soft);
}

.site-nav.nav-light {
  background: rgba(246, 247, 251, 0.82);
  border-bottom-color: rgba(17, 20, 32, 0.08);
  color: var(--ink);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.brand-orb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff5d6, #93b8ff 65%, #6a7cff);
  box-shadow: 0 0 12px rgba(147, 184, 255, 0.8);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  opacity: 0.88;
}

.nav-links a {
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-soft);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.35s var(--ease-soft);
}

.site-nav.nav-light .audio-pill {
  border-color: rgba(17, 20, 32, 0.14);
  background: rgba(17, 20, 32, 0.05);
}

.audio-pill:hover {
  transform: translateY(-1px);
}

.audio-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.audio-bars i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent-gold);
  animation: barWave 1.8s ease-in-out infinite;
}

.audio-bars i:nth-child(2) { height: 10px; animation-delay: 0.3s; }
.audio-bars i:nth-child(3) { height: 7px; animation-delay: 0.6s; }

.audio-pill.muted .audio-bars i {
  animation: none;
  height: 3px;
  opacity: 0.4;
}

@keyframes barWave {
  0%, 100% { transform: scaleY(0.45); opacity: 0.65; }
  50% { transform: scaleY(1.1); opacity: 1; }
}

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #0d101b;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.site-nav.nav-light .nav-cta {
  background: var(--ink);
  color: #ffffff;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* =====================================================================
   HERO — Quiet Deep Digital Space
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 74px 28px 24px;
  color: var(--cosmos-text);
  background:
    radial-gradient(ellipse 85% 60% at 50% 18%, rgba(49, 73, 148, 0.28), transparent 65%),
    radial-gradient(ellipse 65% 55% at 50% 78%, rgba(92, 68, 158, 0.16), transparent 65%),
    linear-gradient(180deg, #060912 0%, #0b1123 55%, #101831 100%);
  overflow: hidden;
}

.cosmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Drifting Nebula Blooms */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

.nebula-1 {
  width: 480px;
  height: 480px;
  top: -110px;
  left: -80px;
  background: radial-gradient(circle, rgba(96, 145, 255, 0.36), transparent 70%);
  animation: nebulaDrift 22s ease-in-out infinite alternate;
}

.nebula-2 {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 22%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.26), transparent 70%);
  animation: nebulaDrift 26s ease-in-out infinite alternate-reverse;
}

.nebula-3 {
  width: 420px;
  height: 360px;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245, 211, 140, 0.15), transparent 70%);
}

@keyframes nebulaDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(36px, 24px) scale(1.08); }
}

/* Corner Floating System Status Micro-Tags */
.status-tag {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(206, 222, 255, 0.13);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(232, 238, 255, 0.78);
  pointer-events: none;
}

.status-tl { top: 82px; left: 28px; }
.status-tr { top: 82px; right: 28px; }
.status-bl-meta { top: 118px; left: 28px; }

.status-dim {
  opacity: 0.5;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.85);
  animation: softPulse 3.6s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}

.float-slow-1 { animation: floatTag 7.5s ease-in-out infinite; }
.float-slow-2 { animation: floatTag 8.6s ease-in-out infinite 1.1s; }
.float-slow-3 { animation: floatTag 9.2s ease-in-out infinite 2.2s; }

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Main Hero Stage Grid */
.hero-stage {
  position: relative;
  z-index: 4;
  flex: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Particle Title Wrapper */
.particle-wrap {
  position: relative;
  width: min(1060px, 96vw);
  height: clamp(145px, 23vh, 230px);
  margin-top: 8px;
  z-index: 5;
  cursor: crosshair;
}

.particle-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.particle-hint {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(215, 226, 255, 0.58);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hint-spark {
  color: var(--accent-gold);
}

/* Left Editorial Note */
.hero-left-note {
  position: absolute;
  left: 8px;
  top: 52%;
  transform: translateY(-50%);
  max-width: 290px;
  z-index: 6;
}

.eyebrow-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-star);
  opacity: 0.85;
  margin-bottom: 10px;
}

.hero-quote {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.65;
  color: #f4f7ff;
  font-weight: 500;
}

.hero-sub {
  margin: 0;
  font-size: 13px;
  color: var(--cosmos-muted);
  line-height: 1.75;
}

/* Center Lively Animated 3D Sundy */
.hero-avatar-zone {
  position: relative;
  margin-top: -16px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  cursor: pointer;
}

.avatar-halo {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 174, 255, 0.24) 0%, rgba(196, 174, 255, 0.1) 45%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  animation: haloPulse 6.5s ease-in-out infinite;
}

@keyframes haloPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.72; }
  50% { transform: scale(1.07); opacity: 1; }
}

.avatar-orbit-ring {
  position: absolute;
  width: 380px;
  height: 110px;
  border: 1px solid rgba(253, 232, 184, 0.22);
  border-radius: 50%;
  transform: rotate(-11deg) translateY(72px);
  pointer-events: none;
  animation: slowSpinRing 18s ease-in-out infinite alternate;
}

@keyframes slowSpinRing {
  0% { transform: rotate(-13deg) translateY(70px) scale(0.98); }
  100% { transform: rotate(-7deg) translateY(76px) scale(1.03); }
}

.hero-avatar-tilt {
  position: relative;
  will-change: transform;
  animation: gentleFloat 5.8s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-11px); }
}

.hero-avatar-img {
  display: block;
  width: clamp(255px, 28vw, 375px);
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(3, 6, 16, 0.65));
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.6s var(--ease-soft);
}

.hero-avatar-zone:hover .hero-avatar-img {
  filter: drop-shadow(0 32px 54px rgba(108, 154, 255, 0.34));
}

.avatar-speech {
  position: absolute;
  top: 44px;
  right: -190px;
  max-width: 225px;
  padding: 9px 14px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(226, 236, 255, 0.22);
  backdrop-filter: blur(14px);
  color: #f6f8ff;
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  animation: floatTag 6.2s ease-in-out infinite;
  transition: opacity 0.45s ease, transform 0.45s var(--ease-soft);
}

/* Right Compact Dossier (Reference Image 1) */
.hero-right-dossier {
  position: absolute;
  right: 8px;
  bottom: 52px;
  padding-left: 16px;
  border-left: 1.5px solid rgba(212, 224, 255, 0.32);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  z-index: 6;
}

.dossier-row {
  display: flex;
  gap: 12px;
}

.d-key {
  width: 34px;
  color: rgba(196, 212, 255, 0.54);
  flex-shrink: 0;
}

.d-val {
  color: rgba(244, 247, 255, 0.9);
}

/* Hero Bottom Bar */
.hero-footer-bar {
  position: relative;
  z-index: 7;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), background 0.35s ease;
}

.pill-primary {
  background: #f5f7ff;
  color: #0b1020;
  box-shadow: 0 10px 28px rgba(147, 184, 255, 0.18);
}

.pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(147, 184, 255, 0.32);
}

.pill-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 236, 255, 0.22);
  color: #eef2ff;
  backdrop-filter: blur(10px);
}

.pill-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.sound-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 236, 255, 0.16);
  color: rgba(235, 241, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease-soft);
}

.sound-status-tag:hover {
  background: rgba(255, 255, 255, 0.11);
}

.sound-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 211, 140, 0.9);
  transition: opacity 0.3s ease;
}

.sound-status-tag.muted .sound-dot {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

/* =====================================================================
   SECTION 2 — 「我的奇妙世界」 Curved Fan-Arc Interactive Showcase
   ===================================================================== */
.world-section {
  position: relative;
  padding: 108px 0 88px;
  background:
    radial-gradient(circle at 50% 62%, rgba(167, 192, 255, 0.18), transparent 52%),
    linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 100%);
  overflow: hidden;
}

.world-header {
  text-align: center;
  margin-bottom: 54px;
}

.world-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: #6b7491;
}

.world-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.world-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Arc Layout Stage */
.arc-stage {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
}

.arc-cards {
  position: relative;
  width: 100%;
  height: 295px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  z-index: 4;
}

.arc-card {
  position: relative;
  width: 206px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #121521;
  color: #f4f6ff;
  padding: 8px 8px 12px;
  box-shadow: 0 18px 40px rgba(17, 22, 38, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.65s var(--ease-soft), box-shadow 0.65s var(--ease-soft);
}

/* Signature Rainbow Fan Arc (Reference Image 2!) */
.arc-1 { transform: translateY(112px) rotate(-13deg); }
.arc-2 { transform: translateY(34px) rotate(-6.5deg); }
.arc-3 { transform: translateY(0px) rotate(0deg); }
.arc-4 { transform: translateY(34px) rotate(6.5deg); }
.arc-5 { transform: translateY(112px) rotate(13deg); }

.arc-card:hover {
  z-index: 12;
  transform: translateY(-10px) rotate(0deg) scale(1.06);
  box-shadow: 0 28px 56px rgba(17, 22, 38, 0.25);
}

.arc-screen {
  position: relative;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-about { background: linear-gradient(135deg, #1b2848 0%, #30477c 100%); }
.screen-thinking { background: linear-gradient(135deg, #1f1b3a 0%, #4b397a 100%); }
.screen-life { padding: 0; background: #1c2233; }
.screen-life img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-services { background: linear-gradient(135deg, #162e36 0%, #245863 100%); }
.screen-perks { background: linear-gradient(135deg, #2c2015 0%, #6b4b22 100%); }

.screen-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.badge-over {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 15, 26, 0.68);
  backdrop-filter: blur(8px);
}

.screen-visual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-big {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.v-sub {
  font-size: 10.5px;
  color: rgba(238, 242, 255, 0.78);
  line-height: 1.35;
}

.arc-caption {
  margin-top: 9px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #edf1ff;
}

/* Center Playful 3D Sundy #2 */
.world-avatar-wrap {
  position: relative;
  margin-top: -92px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 800px;
}

.world-speech {
  margin-bottom: -10px;
  z-index: 8;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(17, 20, 32, 0.08);
  box-shadow: 0 10px 26px rgba(17, 22, 38, 0.09);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.45s var(--ease-soft), opacity 0.35s ease;
}

.world-avatar-tilt {
  animation: gentleFloat 5.2s ease-in-out infinite 0.5s;
  will-change: transform;
}

.world-avatar-img {
  display: block;
  width: clamp(230px, 24vw, 315px);
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(24, 34, 62, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

/* =====================================================================
   SHARED CONTENT SECTIONS
   ===================================================================== */
.content-section {
  padding: 104px 0;
}

.section-light { background: var(--light-bg); }
.section-tinted { background: var(--light-tinted); }

.section-dark-cosmos {
  position: relative;
  color: var(--cosmos-text);
  background:
    radial-gradient(ellipse 75% 50% at 15% 15%, rgba(76, 110, 210, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 82%, rgba(245, 211, 140, 0.12), transparent 60%),
    linear-gradient(180deg, #0b1021 0%, #080c19 100%);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: #5b6992;
  margin-bottom: 10px;
}

.head-dark .section-index {
  color: var(--accent-star);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink-muted);
}

.head-dark .section-lead {
  color: var(--cosmos-muted);
}

/* =====================================================================
   PART 1 — About Me Bento
   ===================================================================== */
.about-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}

.bento-card {
  background: var(--light-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(17, 22, 38, 0.04);
  transition: transform 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-soft);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(17, 22, 38, 0.08);
}

.card-exp {
  grid-column: 1 / -1;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #5d6c96;
  margin-bottom: 14px;
}

.bento-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.bento-card p {
  margin: 0 0 12px;
  color: #363c50;
  font-size: 15px;
}

.bio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.bio-chips span {
  padding: 6px 13px;
  border-radius: 999px;
  background: #f1f4fa;
  font-size: 12.5px;
  color: #2c3550;
  font-weight: 500;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.tl-item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(93, 108, 150, 0.25);
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3d5afe;
  box-shadow: 0 0 0 4px rgba(61, 90, 254, 0.14);
}

.tl-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #5b6992;
  margin-bottom: 4px;
}

.tl-body h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.tl-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.exp-pill {
  padding: 16px;
  border-radius: 16px;
  background: #f5f7fc;
  border: 1px solid rgba(17, 20, 32, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.35s ease, transform 0.45s var(--ease-soft);
}

.exp-pill:hover {
  background: #ebeffa;
  transform: translateY(-2px);
}

.exp-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.exp-meta {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* =====================================================================
   PART 2 — Essays / Thinking Grid
   ===================================================================== */
.essays-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.essay-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-soft), border-color 0.4s ease;
}

.essay-card:hover, .essay-card:focus-visible {
  outline: none;
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(17, 22, 38, 0.09);
  border-color: rgba(61, 90, 254, 0.28);
}

.essay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.essay-cat {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.cat-space { background: #e8efff; color: #2648b5; }
.cat-hardtech { background: #efe9ff; color: #5b32b8; }
.cat-ai { background: #e4f7f1; color: #0f765a; }
.cat-capital { background: #fff3e0; color: #a65b00; }

.essay-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #9ba3bc;
}

.essay-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

.essay-card p {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--ink-muted);
  flex: 1;
}

.essay-more {
  font-size: 13.5px;
  font-weight: 600;
  color: #2c49c2;
  transition: letter-spacing 0.35s var(--ease-soft);
}

.essay-card:hover .essay-more {
  letter-spacing: 0.04em;
}

/* =====================================================================
   PART 3 — Off-Duty Life & Real Travel Photos
   ===================================================================== */
.life-mosaic {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 22px;
}

.photo-card {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #141826;
  box-shadow: 0 18px 42px rgba(17, 22, 38, 0.1);
}

.photo-tall {
  grid-row: span 2;
  min-height: 520px;
}

.photo-wide {
  min-height: 310px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-soft);
}

.photo-card:hover img {
  transform: scale(1.045);
}

.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 11, 22, 0.82) 100%);
  color: #ffffff;
}

.photo-loc {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 5px;
}

.photo-card figcaption p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(246, 248, 255, 0.94);
}

.hobby-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hobby-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}

.hobby-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 22, 38, 0.07);
}

.hobby-icon {
  display: inline-block;
  font-size: 22px;
  margin-bottom: 8px;
}

.hobby-tile h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.hobby-tile p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* =====================================================================
   PART 4 — Services & Lenny Free Perks
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--cosmos-border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: transform 0.55s var(--ease-soft), border-color 0.45s ease, background 0.45s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(147, 184, 255, 0.36);
  background: rgba(255, 255, 255, 0.068);
}

.card-highlight {
  border-color: rgba(245, 211, 140, 0.32);
  background: linear-gradient(160deg, rgba(245, 211, 140, 0.09) 0%, rgba(255, 255, 255, 0.04) 65%);
}

.svc-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(147, 184, 255, 0.14);
  color: var(--accent-star);
  margin-bottom: 16px;
}

.badge-gold {
  background: rgba(245, 211, 140, 0.18);
  color: var(--accent-gold);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  color: #ffffff;
}

.service-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--cosmos-muted);
}

.svc-points {
  margin: 0 0 24px;
  padding-left: 18px;
  font-size: 13.5px;
  color: rgba(235, 240, 255, 0.84);
  flex: 1;
}

.svc-points li {
  margin-bottom: 8px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.perk-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perk-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff6dc;
}

.perk-desc {
  font-size: 12px;
  color: rgba(226, 232, 255, 0.72);
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.35s var(--ease-soft);
}

.svc-btn:hover {
  background: #ffffff;
  color: #0b1021;
}

.svc-btn-gold {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #16130b;
}

.svc-btn-gold:hover {
  background: #ffe3a6;
  transform: translateY(-1px);
}

/* Stack Showcase Bar */
.stack-bar {
  margin-top: 42px;
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(196, 212, 255, 0.56);
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-pills span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  color: rgba(238, 242, 255, 0.85);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding: 54px 0 42px;
  background: #060913;
  color: var(--cosmos-text);
}

.footer-card {
  padding: 46px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(147, 184, 255, 0.16), transparent 50%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

.footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.footer-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
}

.footer-card p {
  margin: 0 0 24px;
  color: var(--cosmos-muted);
  font-size: 15px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-email-btn {
  padding: 11px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #090d1a;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.35s var(--ease-soft);
}

.footer-email-btn:hover { transform: translateY(-2px); }

.footer-copy-btn {
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-copy-btn:hover { background: rgba(255, 255, 255, 0.16); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(214, 224, 255, 0.48);
}

/* =====================================================================
   MODAL & TOAST & SCROLL REVEAL
   ===================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 9, 19, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-soft);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  border-radius: 26px;
  background: #ffffff;
  color: var(--ink);
  padding: 36px 34px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease-soft);
}

.modal-backdrop.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #f5f6fa;
  font-size: 15px;
  cursor: pointer;
}

.modal-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #3652c9;
  margin-bottom: 10px;
}

.modal-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.38;
}

.modal-body p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #32384c;
  line-height: 1.82;
}

.modal-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-note {
  font-size: 13px;
  color: var(--ink-muted);
}

.modal-discuss {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111524;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f7ff;
  font-size: 13px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-soft);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-soft);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   RESPONSIVE BREAKPOINTS
   ===================================================================== */
@media (max-width: 1120px) {
  .status-bl-meta {
    display: none;
  }

  .hero-left-note,
  .hero-right-dossier {
    position: static;
    transform: none;
    max-width: 100%;
    text-align: center;
  }

  .hero-left-note { margin-top: 10px; }

  .hero-avatar-zone {
    margin-top: 14px;
    flex-direction: column;
  }

  .hero-right-dossier {
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
    align-items: center;
  }

  .avatar-speech {
    position: relative;
    right: auto;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 10px;
    max-width: 90vw;
    white-space: normal;
  }

  .arc-cards {
    height: auto;
    flex-wrap: wrap;
    gap: 14px;
  }

  .arc-1, .arc-2, .arc-3, .arc-4, .arc-5 {
    transform: none;
  }

  .world-avatar-wrap {
    margin-top: 28px;
  }

  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .status-tr { display: none; }
  .hero { padding: 72px 16px 20px; }
  .about-bento,
  .essays-grid,
  .life-mosaic {
    grid-template-columns: 1fr;
  }
  .photo-tall { grid-row: auto; min-height: 400px; }
  .hobby-strip { grid-template-columns: 1fr 1fr; }
  .hero-footer-bar {
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
  }
  .footer-card { padding: 30px 22px; }
}
