/* ==========================================================================
   bodinis.ch — Apple-Inspired Design System
   Ultra-Lightweight (<15 KB), Zero External Dependencies
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-elevated: rgba(22, 22, 24, 0.65);
  --bg-card: rgba(28, 28, 32, 0.55);
  --bg-card-hover: rgba(38, 38, 44, 0.72);
  --bg-glass: rgba(20, 20, 22, 0.72);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;

  --accent: #2997ff;
  --accent-glow: rgba(41, 151, 255, 0.35);
  --accent-secondary: #5e5ce6;
  --status-green: #30d158;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --spotlight-color: rgba(255, 255, 255, 0.07);

  --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  --orb-opacity: 0.32;
}

[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-elevated: rgba(255, 255, 255, 0.75);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.76);

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;

  --accent: #0066cc;
  --accent-glow: rgba(0, 102, 204, 0.2);
  --accent-secondary: #5856d6;
  --status-green: #28cd41;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-highlight: rgba(0, 0, 0, 0.15);
  --spotlight-color: rgba(0, 102, 204, 0.06);

  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.08);
  --orb-opacity: 0.18;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Ambient Apple Mesh Gradient Background
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: var(--orb-opacity);
  will-change: transform;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
  bottom: 10%;
  right: -120px;
  animation-delay: -7s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #00c7be, transparent 70%);
  top: 45%;
  left: -120px;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(40px, -35px, 0) scale(1.08);
  }
}

/* ==========================================================================
   Floating Glass Navbar
   ========================================================================== */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 860px;
  height: 54px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.navbar:hover {
  border-color: var(--border-highlight);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.brand-tld {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--border-subtle);
}

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

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background: var(--border-subtle);
  transform: scale(1.05);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="light"] .icon-sun {
  display: none;
}

.btn-nav {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg-primary);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-nav:hover {
  opacity: 0.9;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease;
}

.mobile-menu-btn.open span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.mobile-menu-btn.open span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  pointer-events: auto;
  width: 100%;
  max-width: 400px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 24px;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--border-subtle);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
  animation: menuFade 0.25s ease forwards;
}

@keyframes menuFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-link {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.7);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(48, 209, 88, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0);
  }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 22px;
  background: linear-gradient(180deg, var(--text-primary) 20%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-dot {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-subtitle {
  max-width: 620px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 38px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px -6px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px var(--accent-glow);
}

.btn-glass {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1rem;
}

/* Apple-style Stage Frame */
.hero-stage {
  width: 100%;
  max-width: 880px;
  perspective: 1200px;
}

.stage-frame {
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: transform 0.25s ease-out, border-color 0.35s ease;
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-highlight);
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.stage-address {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 18px;
  border-radius: 8px;
  background: var(--border-subtle);
  letter-spacing: 0.02em;
}

.stage-spacer {
  width: 45px;
}

.stage-body {
  padding: 64px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  background: radial-gradient(circle at 50% 0%, var(--spotlight-color), transparent 70%);
}

.stage-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.stage-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px var(--accent-glow);
}

.stage-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.placeholder-label {
  font-size: 0.96rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.placeholder-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--border-highlight);
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--text-primary);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(11px); opacity: 0; }
}

/* ==========================================================================
   Sections & Typography
   ========================================================================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
}

/* Editorial Statement */
.editorial-statement {
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 920px;
  margin-bottom: 64px;
}

.editorial-statement .word {
  display: inline-block;
  margin-right: 0.26em;
  opacity: 0.22;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.editorial-statement.in-view .word {
  opacity: 1;
  transform: translateY(0);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-card {
  padding: 34px 30px;
  border-radius: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-index {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.card-title {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Spotlight Hover Effect (Interactive Cursor Glow)
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--spotlight-color),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: var(--border-highlight);
}

/* ==========================================================================
   Apple Bento Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(230px, auto);
  gap: 22px;
}

.bento-item {
  border-radius: 28px;
  padding: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--bg-card), rgba(41, 151, 255, 0.07));
}

.bento-wide {
  grid-column: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bento-heading {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.bento-large .bento-heading {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.bento-copy {
  font-size: 0.96rem;
  color: var(--text-secondary);
  max-width: 480px;
}

/* Abstract Rings inside Large Bento */
.bento-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.abstract-rings {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-highlight);
  animation: ringPulse 8s ease-in-out infinite;
}

.abstract-rings span:nth-child(1) {
  width: 70px;
  height: 70px;
  border-color: var(--accent);
}

.abstract-rings span:nth-child(2) {
  width: 115px;
  height: 115px;
  animation-delay: -2.5s;
}

.abstract-rings span:nth-child(3) {
  width: 160px;
  height: 160px;
  animation-delay: -5s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

/* Stat Bento */
.stat-value {
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 12px 0;
}

/* Swiss Location Bento */
.location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swiss-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #d52b1e;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.radar-ping {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 14px;
  box-shadow: 0 0 14px var(--accent);
}

/* Skill Pill Cloud */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.skill-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.skill-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Showcase / Projects Section
   ========================================================================== */
.showcase-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.showcase-card {
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-preview {
  height: 250px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.08), rgba(94, 92, 230, 0.08));
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
}

.preview-inner {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px dashed var(--border-highlight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .preview-inner {
  transform: scale(1.02);
}

.preview-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

.preview-placeholder {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.showcase-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.showcase-title {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.showcase-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.link-arrow svg {
  transition: transform 0.25s ease;
}

.link-arrow:hover svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--border-highlight);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.timeline-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-card {
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-org {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-box {
  border-radius: 36px;
  padding: 72px 32px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-card), rgba(41, 151, 255, 0.08));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.contact-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-pill {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.social-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-scale {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up.in-view,
.reveal-scale.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 920px) {
  .about-grid,
  .bento-grid,
  .showcase-list {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 84px 0;
  }

  .hero-section {
    padding: 130px 0 70px;
  }

  .contact-box {
    padding: 48px 20px;
  }
}
