/* ============================================================
   SWISS EDITORIAL & BRUTALIST PORTFOLIO DESIGN SYSTEM
   JOYEL SHAJI — EDITORIAL PORTFOLIO 2026
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & COLOR PALETTE
   ============================================================ */
:root {
  /* Strict Editorial Monochrome Palette */
  --c-black: #000000;
  --c-dark: #121212;
  --c-dark-gray: #202020;
  --c-medium-gray: #8A8A8A;
  --c-border-light: #E0E0E2;
  --c-border-dark: #2A2A2A;
  --c-light-gray: #F1F1F3;
  --c-white: #FFFFFF;

  /* Typography Scales */
  --font-display: 'Bebas Neue', 'Anton', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Grid & Spacing */
  --site-max-width: 1480px;
  --header-height: 64px;
  --space-unit: 8px;

  /* Theme Defaults (Light Canvas Mode) */
  --bg-page: var(--c-light-gray);
  --text-main: var(--c-black);
  --text-muted: var(--c-medium-gray);
  --border-main: var(--c-border-light);
  --card-bg: var(--c-white);

  /* Transitions */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s var(--ease-editorial);
  --trans-normal: 0.35s var(--ease-editorial);
  --trans-slow: 0.6s var(--ease-editorial);
}

/* Dark Mode Overrides (High-Contrast Inverted Canvas) */
[data-theme="dark"] {
  --bg-page: #0A0A0A;
  --text-main: #FFFFFF;
  --text-muted: #8E8E93;
  --border-main: var(--c-border-dark);
  --card-bg: #141414;
}

/* ============================================================
   2. RESET & BASE SETUP
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important; /* Editorial strict sharp geometry */
}

/* Exception for circular CTA buttons and avatar badges */
.btn-circular,
.btn-circular *,
.status-dot,
.scroll-pin,
.cursor-dot,
.cursor-ring,
.hero-vector-bg circle {
  border-radius: 50% !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s var(--ease-editorial), color 0.4s var(--ease-editorial);
}

body.drawer-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ============================================================
   3. MINIMAL CUSTOM CURSOR (DESKTOP)
   ============================================================ */
@media (pointer: fine) {
  body {
    cursor: default;
  }

  .cursor-dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background-color: var(--text-main);
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.2s ease, transform 0.05s linear;
  }

  .cursor-ring {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-main);
    pointer-events: none;
    z-index: 99998;
    transition: width 0.25s var(--ease-editorial), height 0.25s var(--ease-editorial), top 0.25s var(--ease-editorial), left 0.25s var(--ease-editorial), opacity 0.2s ease, border-color 0.2s ease;
  }

  body.cursor-hover .cursor-ring {
    width: 64px;
    height: 64px;
    top: -32px;
    left: -32px;
    border-color: var(--c-medium-gray);
    background-color: rgba(138, 138, 138, 0.08);
  }

}

/* ============================================================
   IN-PHOTO CURSOR-BASED CIRCULAR IMAGE REVEAL
   ============================================================ */
.photo-reveal-container {
  position: relative;
  overflow: hidden;
}

.photo-reveal-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, -webkit-mask-image, mask-image;
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-r, 85px) at var(--reveal-x, -999px) var(--reveal-y, -999px),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0.7) 65%,
    rgba(0, 0, 0, 0.25) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-r, 85px) at var(--reveal-x, -999px) var(--reveal-y, -999px),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0.7) 65%,
    rgba(0, 0, 0, 0.25) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.photo-reveal-container.is-revealing .photo-reveal-layer {
  opacity: 1;
}

.photo-reveal-layer > img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Photo container wrappers for experience and leadership */
.editorial-frame-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #E2E2E6;
}

[data-theme="dark"] .editorial-frame-img-wrap {
  background-color: #1A1A1A;
}

.editorial-frame-img-wrap:hover .editorial-frame-img {
  transform: scale(1.03);
}

.lead-photo-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #E2E2E6;
}

[data-theme="dark"] .lead-photo-img-wrap {
  background-color: #1A1A1A;
}

.lead-photo-img-wrap:hover .lead-photo {
  transform: scale(1.03);
}

@media (pointer: coarse), (hover: none) {
  .cursor-dot, .cursor-ring, .photo-reveal-layer {
    display: none !important;
  }
}

/* ============================================================
   4. SITE HEADER (MINIMAL SWISS NAVIGATION)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: border-color var(--trans-normal), background-color var(--trans-normal);
}

.site-header.header-scrolled {
  background-color: rgba(241, 241, 243, 0.96);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .site-header.header-scrolled {
  background-color: rgba(10, 10, 10, 0.96);
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--text-main);
  transition: width 0.25s var(--ease-editorial);
}

.nav-link:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border: 1px solid var(--text-main);
  background-color: transparent;
  color: var(--text-main);
  transition: background-color var(--trans-fast), color var(--trans-fast);
}

.btn-header-contact:hover {
  background-color: var(--text-main);
  color: var(--bg-page);
}

.btn-icon-minimal {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-main);
  color: var(--text-main);
  transition: border-color var(--trans-fast), background-color var(--trans-fast);
}

.btn-icon-minimal:hover {
  border-color: var(--text-main);
}

/* ============================================================
   5. HERO SECTION — SWISS POSTER COMPOSITION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  max-height: 980px;
  background-color: var(--c-light-gray);
  color: var(--c-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-black);
  overflow: hidden;
  padding: 24px 40px 24px;
}

[data-theme="dark"] .hero-section {
  background-color: #0F0F0F;
  color: #FFFFFF;
  border-bottom-color: var(--border-main);
}

/* Hero Top Metadata */
.hero-meta-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 16px;
  z-index: 5;
  animation: heroFadeDown 0.85s var(--ease-editorial) 0.4s both;
}

[data-theme="dark"] .hero-meta-top {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hero-meta-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-col.center {
  text-align: center;
  align-items: center;
}

.hero-meta-col.right {
  text-align: right;
  align-items: flex-end;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.meta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #000000;
  animation: pulse-dot 2s infinite ease-in-out;
}

[data-theme="dark"] .status-dot {
  background-color: #FFFFFF;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Stage & Giant Typography Behind */
.hero-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  margin: 12px 0;
}

/* Background Geometric Vector Curves */
.hero-vector-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 95vw);
  height: 560px;
  color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 1;
  animation: heroVectorReveal 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

[data-theme="dark"] .hero-vector-bg {
  color: rgba(255, 255, 255, 0.1);
}

@keyframes heroVectorReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Giant Typography: 120px to 220px+ (Emerges from behind the centered portrait) */
.hero-giant-typography {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104%;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.giant-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1vw;
}

.giant-part {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18.5vw, 19rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--c-black);
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
}

[data-theme="dark"] .giant-part {
  color: #FFFFFF;
}

.giant-part.left {
  text-align: left;
  animation: heroNameLeftSplit 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.giant-part.right {
  text-align: right;
  animation: heroNameRightSplit 1.38s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* Kinetic signature split keyframes */
@keyframes heroNameLeftSplit {
  0% {
    transform: translateX(clamp(160px, 22vw, 360px));
    opacity: 0;
    filter: blur(4px);
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroNameRightSplit {
  0% {
    transform: translateX(clamp(-160px, -22vw, -360px));
    opacity: 0;
    filter: blur(4px);
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Foreground Portrait Container Overlapping Typography with Higher Z-Index */
.hero-portrait-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroPortraitEnter 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

@keyframes heroPortraitEnter {
  0% {
    transform: scale(0.88);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-portrait-frame {
  width: clamp(280px, 24vw, 360px);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--c-black);
  background-color: #E2E2E6;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  will-change: transform;
  cursor: pointer;
}

[data-theme="dark"] .hero-portrait-frame {
  border-color: #FFFFFF;
  background-color: #1A1A1A;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* Continuous subtle vertical float once hero animation settles */
.hero-section.hero-settled .hero-portrait-frame {
  animation: floatVertical 7.5s ease-in-out infinite alternate;
}

@keyframes floatVertical {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.35deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(15%) contrast(105%);
  transition: transform 0.6s var(--ease-editorial), filter 0.6s var(--ease-editorial);
}

.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(100%);
}

.hero-portrait-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  margin-top: 10px;
  background-color: var(--c-light-gray);
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .hero-portrait-caption {
  background-color: #0F0F0F;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 18px;
  z-index: 5;
  animation: heroFadeUp 0.85s var(--ease-editorial) 0.45s both;
}

[data-theme="dark"] .hero-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@keyframes heroFadeDown {
  0% {
    transform: translateY(-12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.hero-social-strip {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-black);
  transition: color var(--trans-fast);
}

[data-theme="dark"] .hero-social-link {
  color: #FFFFFF;
}

.hero-social-link:hover {
  color: var(--c-medium-gray);
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-black);
}

[data-theme="dark"] .hero-scroll-indicator {
  color: #FFFFFF;
}

.scroll-track {
  width: 16px;
  height: 28px;
  border: 1px solid currentColor;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-pin {
  width: 4px;
  height: 6px;
  background-color: currentColor;
  position: absolute;
  top: 4px;
  animation: scroll-bob 1.8s infinite ease-in-out;
}

@keyframes scroll-bob {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   6. EDITORIAL TICKER / SECTION STRIP
   ============================================================ */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: var(--c-black);
  color: var(--c-white);
  border-bottom: 1px solid var(--c-black);
  padding: 14px 0;
  user-select: none;
  cursor: pointer;
}

[data-theme="dark"] .ticker-wrapper {
  background-color: #000000;
  border-bottom-color: var(--border-main);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
  width: max-content;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  transition: color var(--trans-fast);
}

.ticker-item:hover {
  color: var(--c-medium-gray);
}

.ticker-sep {
  font-size: 0.5rem;
  opacity: 0.6;
}

/* ============================================================
   7. EDITORIAL SECTION SYSTEM (RHYTHM & CONTRAST)
   ============================================================ */
.editorial-section {
  padding: 100px 40px;
  position: relative;
  border-bottom: 1px solid var(--border-main);
}

.section-white {
  background-color: var(--c-white);
  color: var(--c-black);
}

[data-theme="dark"] .section-white {
  background-color: #121212;
  color: #FFFFFF;
}

.section-light-gray {
  background-color: var(--c-light-gray);
  color: var(--c-black);
}

[data-theme="dark"] .section-light-gray {
  background-color: #0A0A0A;
  color: #FFFFFF;
}

.section-black {
  background-color: var(--c-black);
  color: var(--c-white);
  border-bottom-color: var(--c-dark-gray);
}

/* Section Meta Header */
.section-meta-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 14px;
  margin-bottom: 48px;
}

.section-meta-header.light {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.sec-index {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sec-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-medium-gray);
  margin-left: auto;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Large Display Headings */
.editorial-display-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.editorial-display-heading.light {
  color: var(--c-white);
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 680px;
  color: #444444;
  margin-bottom: 40px;
}

.section-subtext.light {
  color: #A0A0A0;
}

/* ============================================================
   8. ABOUT SECTION — TWO COLUMN EDITORIAL
   ============================================================ */
.editorial-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-anchor-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  border-left: 2px solid var(--c-black);
  padding-left: 24px;
  color: var(--c-black);
}

[data-theme="dark"] .about-statement {
  border-left-color: #FFFFFF;
  color: #FFFFFF;
}

.about-portrait-card {
  border: 1px solid var(--border-main);
  background-color: var(--c-light-gray);
  padding: 16px;
  max-width: 480px;
  will-change: transform;
  animation: diagonalDrift 11s ease-in-out infinite alternate;
  cursor: pointer;
}

@keyframes diagonalDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(6px, -8px, 0) scale(1.012);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

[data-theme="dark"] .about-portrait-card {
  background-color: #1A1A1A;
}

.about-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.about-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(20%);
  transition: transform 0.6s var(--ease-editorial);
}

.about-portrait-card:hover .about-feature-img {
  transform: scale(1.04);
}

.about-img-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--c-medium-gray);
  margin-top: 12px;
}

/* Circular Outlined Button */
.about-cta-wrap {
  margin-top: 16px;
}

.btn-circular {
  width: 140px;
  height: 140px;
  border: 1px solid var(--c-black);
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.35s var(--ease-editorial), background-color 0.35s var(--ease-editorial), color 0.35s var(--ease-editorial);
}

[data-theme="dark"] .btn-circular {
  border-color: #FFFFFF;
}

.btn-circular.large {
  width: 170px;
  height: 170px;
}

.btn-circular-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.btn-circular-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.btn-circular-arrow {
  font-size: 1.25rem;
  transition: transform 0.25s var(--ease-editorial);
}

.btn-circular:hover {
  background-color: var(--c-black);
  color: var(--c-white);
  transform: scale(1.05);
}

[data-theme="dark"] .btn-circular:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.btn-circular:hover .btn-circular-arrow {
  transform: translate(3px, -3px);
}

/* About Right Column */
.about-body-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.editorial-lead-box {
  border-top: 1px solid var(--border-main);
  padding-top: 24px;
}

.editorial-lead-paragraph {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.85;
  color: #222222;
}

[data-theme="dark"] .editorial-lead-paragraph {
  color: #D1D1D6;
}

/* Editorial Metadata Table */
.editorial-metadata-table {
  border-top: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
  display: flex;
  flex-direction: column;
}

.meta-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9375rem;
}

[data-theme="dark"] .meta-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

.meta-val {
  font-family: var(--font-body);
  font-weight: 500;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   9. PROJECTS / WORK SECTION — BLACK FEATURE LIST
   ============================================================ */
.projects-editorial-list {
  border-top: 1px solid var(--c-dark-gray);
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 80px 1fr 220px 80px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-dark-gray);
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial), background-color var(--trans-fast), padding-left var(--trans-fast);
  will-change: transform, opacity;
}

.editorial-section.in-view .project-row {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .project-row:nth-child(1) { transition-delay: 0.05s; }
.editorial-section.in-view .project-row:nth-child(2) { transition-delay: 0.12s; }
.editorial-section.in-view .project-row:nth-child(3) { transition-delay: 0.19s; }
.editorial-section.in-view .project-row:nth-child(4) { transition-delay: 0.26s; }
.editorial-section.in-view .project-row:nth-child(5) { transition-delay: 0.33s; }
.editorial-section.in-view .project-row:nth-child(6) { transition-delay: 0.40s; }

.project-row:hover {
  background-color: rgba(255, 255, 255, 0.03);
  padding-left: 16px;
}

.project-num-col {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-medium-gray);
}

.project-info-col {
  padding-right: 32px;
}

.project-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-white);
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: transform var(--trans-fast);
}

.project-row:hover .project-heading {
  transform: translateX(8px);
}

.project-summary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #A0A0A0;
  margin-bottom: 14px;
  max-width: 640px;
}

.project-tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--c-dark-gray);
  background-color: #141414;
  color: #CCCCCC;
}

.tech-tag.large {
  font-size: 0.75rem;
  padding: 6px 12px;
}

.project-visual-col {
  display: flex;
  justify-content: center;
}

.project-badge-preview {
  width: 180px;
  height: 90px;
  border: 1px solid var(--c-dark-gray);
  background: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-normal), border-color var(--trans-normal);
}

.project-row:hover .project-badge-preview {
  transform: scale(1.05);
  border-color: #FFFFFF;
}

.project-acronym {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.preview-overlay-hint {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
  margin-top: 2px;
}

.project-action-col {
  text-align: right;
}

.project-arrow-action {
  font-size: 2.25rem;
  color: var(--c-medium-gray);
  display: inline-block;
  transition: transform 0.25s var(--ease-editorial), color 0.25s var(--ease-editorial);
}

.project-row:hover .project-arrow-action {
  transform: translateX(10px);
  color: #FFFFFF;
}

/* Flagship badge on featured rows */
.flagship-badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  border: 1px solid var(--c-dark-gray);
  margin-top: 6px;
  text-transform: uppercase;
  width: fit-content;
}

/* ============================================================
   EXTENDED PROTOTYPES & FILTERABLE GRID
   ============================================================ */
.projects-extended-container {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--c-dark-gray);
}

.extended-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.extended-meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-medium-gray);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 8px;
}

.extended-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--c-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  background: transparent;
  color: var(--c-medium-gray);
  border: 1px solid var(--c-dark-gray);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-transform: uppercase;
}

.filter-tab:hover {
  color: var(--c-white);
  border-color: var(--c-white);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
  font-weight: 600;
}

.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card-item {
  background: #0d0d0d;
  border: 1px solid var(--c-dark-gray);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease-editorial), background-color var(--trans-fast), border-color var(--trans-fast);
  border-top: 3px solid var(--card-accent, #0284c7);
}

.project-card-item:hover {
  background: #141414;
  border-color: var(--c-medium-gray);
  border-top-color: var(--card-accent, #0284c7);
  transform: translateY(-4px);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

.card-index-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-medium-gray);
  font-weight: 600;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--c-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.wip-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 2px 5px;
  background: #d97706;
  color: #ffffff;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #a0a0a0;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-tag-sm {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.tech-tag-sm.more {
  color: var(--c-medium-gray);
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--c-medium-gray);
  letter-spacing: 0.08em;
  transition: color var(--trans-fast);
}

.project-card-item:hover .card-footer-action {
  color: var(--c-white);
}

.card-arrow-icon {
  transition: transform var(--trans-fast);
}

.project-card-item:hover .card-arrow-icon {
  transform: translateX(4px);
}

/* ============================================================
   10. EXPERIENCE SECTION — LIGHT GRAY WITH EDITORIAL FRAME
   ============================================================ */
.editorial-grid-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

.experience-list {
  border-top: 1px solid var(--border-main);
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.experience-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-main);
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial), background-color var(--trans-fast), padding-left var(--trans-fast);
  will-change: transform, opacity;
}

.editorial-section.in-view .experience-entry {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .experience-entry:nth-child(1) { transition-delay: 0.08s; }
.editorial-section.in-view .experience-entry:nth-child(2) { transition-delay: 0.16s; }
.editorial-section.in-view .experience-entry:nth-child(3) { transition-delay: 0.24s; }
.editorial-section.in-view .experience-entry:nth-child(4) { transition-delay: 0.32s; }

.experience-entry:hover {
  background-color: rgba(0, 0, 0, 0.02);
  padding-left: 12px;
}

.exp-period-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.exp-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-black);
}

[data-theme="dark"] .exp-year {
  color: #FFFFFF;
}

.exp-content-col {
  padding-left: 16px;
}

.exp-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-role {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.exp-arrow {
  font-size: 1.25rem;
  color: var(--c-medium-gray);
  transition: transform var(--trans-fast);
}

.experience-entry:hover .exp-arrow {
  transform: translate(4px, -4px);
  color: var(--c-black);
}

[data-theme="dark"] .experience-entry:hover .exp-arrow {
  color: #FFFFFF;
}

.exp-company {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-medium-gray);
  margin-bottom: 10px;
}

.exp-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333333;
  margin-bottom: 14px;
}

[data-theme="dark"] .exp-desc {
  color: #CCCCCC;
}

.exp-skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Split Right Visual Frame */
.editorial-visual-frame {
  border: 1px solid var(--c-black);
  background-color: var(--c-white);
  padding: 16px;
  position: sticky;
  top: 100px;
  will-change: transform;
  animation: horizontalDrift 9.5s ease-in-out infinite alternate;
  cursor: pointer;
}

@keyframes horizontalDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-8px, 3px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

[data-theme="dark"] .editorial-visual-frame {
  border-color: #FFFFFF;
  background-color: #161616;
}

.editorial-frame-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%);
  transition: transform 0.6s var(--ease-editorial);
}

.frame-meta {
  padding: 16px 8px 8px;
}

.frame-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

.frame-quote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
  line-height: 1.4;
}

/* ============================================================
   11. SKILLS SECTION — TYPOGRAPHIC GRID (NO PILLS / NO BARS)
   ============================================================ */
.skills-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-main);
  border: 1px solid var(--border-main);
}

.skill-category-block {
  background-color: var(--c-white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial);
  will-change: transform, opacity;
}

.editorial-section.in-view .skill-category-block {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .skill-category-block:nth-child(1) { transition-delay: 0.06s; }
.editorial-section.in-view .skill-category-block:nth-child(2) { transition-delay: 0.12s; }
.editorial-section.in-view .skill-category-block:nth-child(3) { transition-delay: 0.18s; }
.editorial-section.in-view .skill-category-block:nth-child(4) { transition-delay: 0.24s; }
.editorial-section.in-view .skill-category-block:nth-child(5) { transition-delay: 0.30s; }
.editorial-section.in-view .skill-category-block:nth-child(6) { transition-delay: 0.36s; }

[data-theme="dark"] .skill-category-block {
  background-color: #121212;
}

.cat-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--border-main);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.cat-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-type-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-typographic-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 6px;
  transition: transform var(--trans-fast);
}

[data-theme="dark"] .skill-typographic-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.skill-typographic-item:hover {
  transform: translateX(4px);
}

.skill-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.skill-metric {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-medium-gray);
}

/* ============================================================
   12. EDUCATION & AWARDS — BLACK SECTION
   ============================================================ */
.education-achievements-container {
  display: grid;
  grid-template-columns: 1fr 1px 1.25fr;
  gap: 48px;
}

.vertical-grid-line {
  background-color: var(--c-dark-gray);
  width: 1px;
  height: 100%;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.edu-card {
  border: 1px solid var(--c-dark-gray);
  background-color: #0E0E0E;
  padding: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial);
  will-change: transform, opacity;
}

.editorial-section.in-view .edu-card {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .edu-card:nth-child(1) { transition-delay: 0.08s; }
.editorial-section.in-view .edu-card:nth-child(2) { transition-delay: 0.16s; }

.edu-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.edu-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #CCCCCC;
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.edu-institution {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--c-medium-gray);
  margin-bottom: 12px;
}

.edu-details {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #E0E0E0;
  margin-bottom: 12px;
}

.edu-honors-list {
  border-top: 1px solid var(--c-dark-gray);
  padding-top: 10px;
}

.honor-badge {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #A0A0A0;
  display: block;
}

/* Certificates List */
.certs-editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-dark-gray);
  margin-top: 24px;
}

.cert-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-dark-gray);
  gap: 24px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial);
  will-change: transform, opacity;
}

.editorial-section.in-view .cert-row {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .cert-row:nth-child(1) { transition-delay: 0.05s; }
.editorial-section.in-view .cert-row:nth-child(2) { transition-delay: 0.12s; }
.editorial-section.in-view .cert-row:nth-child(3) { transition-delay: 0.19s; }
.editorial-section.in-view .cert-row:nth-child(4) { transition-delay: 0.26s; }

.cert-left {
  display: flex;
  gap: 16px;
}

.cert-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.cert-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--c-medium-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cert-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #BBBBBB;
}

.cert-detail-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #888888;
  line-height: 1.5;
}

/* ============================================================
   13. LEADERSHIP SECTION — EDITORIAL GRID WITH PHOTOS
   ============================================================ */
.leadership-editorial-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.leadership-entries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--border-main);
  border: 1px solid var(--border-main);
}

.leadership-entry {
  background-color: var(--c-light-gray);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-editorial), transform 0.65s var(--ease-editorial), background-color var(--trans-fast);
  will-change: transform, opacity;
}

.editorial-section.in-view .leadership-entry {
  opacity: 1;
  transform: translateY(0);
}

.editorial-section.in-view .leadership-entry:nth-child(1) { transition-delay: 0.06s; }
.editorial-section.in-view .leadership-entry:nth-child(2) { transition-delay: 0.12s; }
.editorial-section.in-view .leadership-entry:nth-child(3) { transition-delay: 0.18s; }
.editorial-section.in-view .leadership-entry:nth-child(4) { transition-delay: 0.24s; }

[data-theme="dark"] .leadership-entry {
  background-color: #121212;
}

.leadership-entry:hover {
  background-color: var(--c-white);
}

[data-theme="dark"] .leadership-entry:hover {
  background-color: #181818;
}

.lead-head {
  display: flex;
  justify-content: space-between;
}

.lead-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.lead-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.lead-role {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.lead-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #444444;
}

[data-theme="dark"] .lead-desc {
  color: #A0A0A0;
}

/* Leadership Visual Sidebar */
.leadership-visual-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.lead-photo-frame {
  border: 1px solid var(--c-black);
  background-color: var(--c-white);
  padding: 12px;
  will-change: transform;
  cursor: pointer;
}

.lead-photo-frame:not(.secondary) {
  animation: slowRotateFloat 13s ease-in-out infinite alternate;
}

.lead-photo-frame.secondary {
  animation: orbitalBreathing 10.5s ease-in-out infinite alternate;
}

@keyframes slowRotateFloat {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-1.4deg) translateY(-6px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

@keyframes orbitalBreathing {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(6px, -5px, 0) rotate(1.2deg) scale(1.02);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

[data-theme="dark"] .lead-photo-frame {
  border-color: #FFFFFF;
  background-color: #161616;
}

.lead-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(25%);
  transition: transform 0.6s var(--ease-editorial);
}

.lead-photo-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--c-medium-gray);
  margin-top: 10px;
}

/* ============================================================
   14. CONTACT SECTION — POSTER ENDING LAYOUT
   ============================================================ */
.contact-section {
  padding-bottom: 120px;
}

.contact-poster-canvas {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-dark-gray);
  padding-bottom: 40px;
  margin-bottom: 48px;
}

.contact-huge-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--c-white);
  text-transform: uppercase;
}

.contact-huge-arrow {
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 1;
  color: var(--c-white);
  display: inline-block;
  transition: transform 0.4s var(--ease-editorial);
}

.contact-poster-canvas:hover .contact-huge-arrow {
  transform: translate(16px, -16px);
}

.contact-action-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.contact-inquiry-text {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
  color: #B0B0B0;
  max-width: 600px;
  margin-bottom: 24px;
}

.contact-direct-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-main-email {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: color var(--trans-fast);
}

.contact-main-email:hover {
  color: var(--c-medium-gray);
}

.contact-locale {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

/* ============================================================
   15. SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--c-black);
  color: var(--c-white);
  border-top: 1px solid var(--c-dark-gray);
  padding: 64px 40px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--c-dark-gray);
  padding-bottom: 48px;
  margin-bottom: 32px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.footer-tagline-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--c-medium-gray);
  max-width: 360px;
}

.footer-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer-links-grid a:hover {
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-a {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--c-dark-gray);
  padding-bottom: 6px;
  transition: color var(--trans-fast);
}

.footer-social-a:hover {
  color: #CCCCCC;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-medium-gray);
}

.back-to-top {
  color: var(--c-white);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.back-to-top:hover {
  text-decoration: underline;
}

/* ============================================================
   16. DETAIL OVERLAY & MODAL SYSTEMS
   ============================================================ */
.detail-backdrop-overlay,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-editorial);
}

.detail-backdrop-overlay.active,
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-sheet-panel,
.modal-dialog-panel {
  background-color: var(--c-white);
  color: var(--c-black);
  border: 1px solid var(--c-black);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-editorial);
  padding: 40px;
}

[data-theme="dark"] .detail-sheet-panel,
[data-theme="dark"] .modal-dialog-panel {
  background-color: #121212;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.detail-backdrop-overlay.active .detail-sheet-panel,
.modal-overlay.active .modal-dialog-panel {
  transform: translateY(0);
}

.detail-header-editorial,
.modal-header-line {
  border-bottom: 1px solid var(--border-main);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.detail-header-top,
.modal-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-tag-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
}

.detail-close-btn,
.modal-close-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--trans-fast);
}

.detail-close-btn:hover,
.modal-close-btn:hover {
  border-color: var(--text-main);
}

.detail-headline,
.modal-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 12px;
  text-transform: uppercase;
}

.detail-subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--c-medium-gray);
  margin-top: 4px;
}

.detail-body-editorial {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-subhead {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
  margin-bottom: 10px;
}

.detail-prose {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-links-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-external-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-main);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color var(--trans-fast), color var(--trans-fast);
}

.detail-external-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-page);
}

/* Modal Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-editorial {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-editorial {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-medium-gray);
}

.form-input-editorial {
  border: 1px solid var(--border-main);
  background-color: transparent;
  color: inherit;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--trans-fast);
}

.form-input-editorial:focus {
  border-color: var(--text-main);
}

.form-error-editorial {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #E63946;
  display: none;
}

.form-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.btn-solid-dark {
  background-color: var(--text-main);
  color: var(--bg-page);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border: 1px solid var(--text-main);
  transition: opacity var(--trans-fast);
}

.btn-solid-dark:hover {
  opacity: 0.9;
}

.btn-outline-minimal {
  border: 1px solid var(--border-main);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  transition: border-color var(--trans-fast);
}

.btn-outline-minimal:hover {
  border-color: var(--text-main);
}

/* Help Grid */
.help-grid-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.help-box {
  border: 1px solid var(--border-main);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-medium-gray);
}

.help-term {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
}

.help-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--c-medium-gray);
}

/* ============================================================
   17. SIDE PANEL DRAWER
   ============================================================ */
.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-editorial);
}

.side-panel-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-panel-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: clamp(320px, 80vw, 480px);
  height: 100%;
  background-color: var(--c-black);
  color: var(--c-white);
  border-left: 1px solid var(--c-dark-gray);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.side-panel-drawer.active {
  transform: translateX(0);
}

.side-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-dark-gray);
  padding-bottom: 20px;
}

.sp-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: block;
}

.sp-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--c-medium-gray);
  display: block;
}

.side-panel-close-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--c-dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.side-panel-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.side-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-dark-gray);
  padding-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  transition: transform var(--trans-fast), color var(--trans-fast);
}

.side-panel-link:hover {
  transform: translateX(8px);
  color: var(--c-medium-gray);
}

.side-panel-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--c-dark-gray);
  padding-top: 20px;
}

.sp-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-medium-gray);
  transition: color var(--trans-fast);
}

.sp-action-btn:hover {
  color: #FFFFFF;
}

/* ============================================================
   18. ADMIN BAR & ADMIN EDIT PANEL
   ============================================================ */
.admin-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  border-top: 1px solid #333333;
  padding: 10px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.admin-bar.active {
  display: flex;
}

.admin-bar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-bar-btn {
  border: 1px solid #444444;
  padding: 4px 10px;
  font-size: 0.6875rem;
  color: #FFFFFF;
  transition: background-color var(--trans-fast);
}

.admin-bar-btn:hover {
  background-color: #333333;
}

.admin-bar-btn.danger {
  border-color: #A00;
  color: #FAA;
}

.admin-edit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-edit-overlay.active {
  display: flex;
}

.admin-edit-panel {
  background-color: var(--c-white);
  color: var(--c-black);
  border: 1px solid var(--c-black);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
}

[data-theme="dark"] .admin-edit-panel {
  background-color: #161616;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.admin-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-main);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.admin-edit-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.admin-edit-footer {
  margin-top: 24px;
  border-top: 1px solid var(--border-main);
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border: 1px solid var(--text-main);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-page);
}

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

.btn-secondary {
  border-color: var(--border-main);
}

.btn-secondary:hover {
  border-color: var(--text-main);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-medium-gray);
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  border: 1px solid var(--border-main);
  background-color: transparent;
  color: inherit;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  width: 100%;
  transition: border-color var(--trans-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--text-main);
}

.admin-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-main);
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-main);
}

.admin-item:last-child {
  border-bottom: none;
}

.admin-item-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-icon-btn {
  padding: 4px 8px;
  border: 1px solid var(--border-main);
  font-size: 0.8125rem;
  transition: border-color var(--trans-fast);
}

.admin-icon-btn:hover {
  border-color: var(--text-main);
}

.admin-icon-btn.danger:hover {
  border-color: #E63946;
  color: #E63946;
}

/* ============================================================
   19. RESPONSIVE BREAKPOINTS (DESKTOP / TABLET / MOBILE)
   ============================================================ */

/* ------------------------------------------------------------
   A. LARGE DESKTOP (1440px+)
   ------------------------------------------------------------ */
@media (min-width: 1440px) {
  .hero-section,
  .editorial-section,
  .site-footer,
  .site-header {
    padding-left: clamp(40px, 4.5vw, 80px);
    padding-right: clamp(40px, 4.5vw, 80px);
  }

  .giant-part {
    font-size: clamp(7.5rem, 18.5vw, 19.5rem);
  }
}

/* ------------------------------------------------------------
   B. STANDARD DESKTOP (1024px – 1439px)
   ------------------------------------------------------------ */
@media (max-width: 1439px) and (min-width: 1024px) {
  .site-header {
    padding: 0 32px;
  }

  .hero-section {
    padding: 20px 32px 24px;
    max-height: 900px;
  }

  .giant-part {
    font-size: clamp(5.8rem, 15vw, 12rem);
  }

  .hero-portrait-frame {
    width: clamp(240px, 22vw, 310px);
  }

  .editorial-section {
    padding: 88px 32px;
  }

  .editorial-grid-2col {
    gap: 48px;
  }

  .project-row {
    grid-template-columns: 64px 1fr 190px 64px;
  }

  .project-heading {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
  }
}

/* ------------------------------------------------------------
   C. TABLET LANDSCAPE (768px – 1023px)
   ------------------------------------------------------------ */
@media (max-width: 1023px) and (min-width: 768px) {
  .site-header {
    padding: 0 28px;
    height: 64px;
  }

  .header-nav {
    display: none; /* Replaced by side-panel drawer toggle */
  }

  .btn-header-contact {
    padding: 8px 14px;
    font-size: 0.6875rem;
  }

  .hero-section {
    padding: 18px 28px 22px;
    min-height: calc(100vh - 64px);
    max-height: 860px;
  }

  .hero-meta-top {
    padding-bottom: 12px;
  }

  .hero-stage {
    min-height: 460px;
    margin: 10px 0;
  }

  .hero-giant-typography {
    width: 100%;
  }

  .giant-part {
    font-size: clamp(4.8rem, 13.5vw, 7.8rem);
  }

  .hero-portrait-frame {
    width: clamp(220px, 26vw, 280px);
  }

  .editorial-section {
    padding: 72px 28px;
  }

  .editorial-display-heading {
    font-size: clamp(3rem, 6.8vw, 5.2rem);
    margin-bottom: 20px;
  }

  .section-subtext {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .editorial-grid-2col {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-portrait-card {
    max-width: 100%;
  }

  .project-row {
    grid-template-columns: 50px 1fr 150px 44px;
    padding: 30px 0;
    gap: 16px;
  }

  .project-heading {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  }

  .project-badge-preview {
    width: 140px;
    height: 74px;
  }

  .editorial-grid-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }

  .editorial-visual-frame {
    top: 80px;
  }

  .skills-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  .education-achievements-container {
    grid-template-columns: 1fr 1px 1.1fr;
    gap: 32px;
  }

  .leadership-editorial-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
  }

  .contact-huge-headline {
    font-size: clamp(4rem, 10vw, 7.5rem);
  }

  .contact-huge-arrow {
    font-size: clamp(4rem, 10vw, 7.5rem);
  }

  .contact-action-panel {
    grid-template-columns: 1fr auto;
    gap: 36px;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
  }
}

/* ------------------------------------------------------------
   D. TABLET PORTRAIT (600px – 767px)
   ------------------------------------------------------------ */
@media (max-width: 767px) and (min-width: 600px) {
  .site-header {
    padding: 0 20px;
    height: 62px;
  }

  .header-nav,
  .btn-header-contact {
    display: none;
  }

  .hero-section {
    padding: 16px 20px 20px;
    min-height: auto;
  }

  .hero-meta-top {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  .hero-meta-col.right {
    grid-column: span 2;
    align-items: flex-start;
    text-align: left;
  }

  .hero-stage {
    min-height: 440px;
    margin: 16px 0;
  }

  .hero-giant-typography {
    width: 100%;
  }

  .giant-name-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
  }

  .giant-part {
    font-size: clamp(4rem, 16vw, 6rem);
    line-height: 0.8;
  }

  .giant-part.left {
    text-align: center;
    animation: heroNameUpSplit 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
  }

  .giant-part.right {
    text-align: center;
    animation: heroNameDownSplit 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
  }

  .hero-portrait-frame {
    width: 220px;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
  }

  .hero-social-strip {
    gap: 20px;
  }

  .editorial-section {
    padding: 64px 20px;
  }

  .editorial-display-heading {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
    margin-bottom: 16px;
  }

  .editorial-grid-2col,
  .editorial-grid-split,
  .leadership-editorial-layout,
  .education-achievements-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vertical-grid-line {
    display: none;
  }

  .about-portrait-card,
  .editorial-visual-frame,
  .leadership-visual-sidebar {
    position: static;
    max-width: 100%;
  }

  .skills-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .project-row {
    grid-template-columns: 48px 1fr 140px 40px;
    padding: 24px 0;
    gap: 12px;
  }

  .project-heading {
    font-size: 1.85rem;
  }

  .project-badge-preview {
    width: 130px;
    height: 70px;
  }

  .experience-entry {
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .cert-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-poster-canvas {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .contact-huge-headline {
    font-size: clamp(3.4rem, 10vw, 5.5rem);
  }

  .contact-huge-arrow {
    font-size: clamp(3.2rem, 10vw, 5.2rem);
  }

  .contact-action-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ------------------------------------------------------------
   E. MOBILE PHONES (Up to 599px — Down to 320px)
   ------------------------------------------------------------ */
@media (max-width: 599px) {
  /* Strict zero-overflow layout constraint */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
  }

  /* Minimal Clean Header */
  .site-header {
    padding: 0 16px;
    height: 58px;
  }

  .header-nav,
  .btn-header-contact {
    display: none;
  }

  .brand-name {
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
  }

  .brand-meta {
    font-size: 0.5625rem;
  }

  .header-right {
    gap: 8px;
  }

  .btn-icon-minimal {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Side Panel Navigation Drawer (Mobile) */
  .side-panel-drawer {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 28px;
    border-left: none;
  }

  .side-panel-top {
    padding-bottom: 16px;
  }

  .side-panel-close-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .side-panel-nav-list {
    margin: 20px 0;
    gap: 6px;
  }

  .side-panel-link {
    padding: 14px 0;
    min-height: 48px;
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sp-link-arrow {
    font-size: 1.25rem;
  }

  .side-panel-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--c-dark-gray);
    padding-top: 16px;
  }

  .sp-action-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  /* Mobile Hero (Art-Directed Portrait & Giant Name) */
  .hero-section {
    padding: 14px 16px 20px;
    min-height: auto;
    overflow: hidden;
  }

  .hero-meta-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 12px;
  }

  .hero-meta-col {
    gap: 1px;
    text-align: left;
    align-items: flex-start;
  }

  .hero-meta-col.center,
  .hero-meta-col.right {
    text-align: left;
    align-items: flex-start;
  }

  .meta-label {
    font-size: 0.625rem;
  }

  .meta-value {
    font-size: 0.8125rem;
  }

  .meta-status {
    font-size: 0.6875rem;
    font-weight: 600;
  }

  /* Controlled Hero Stage */
  .hero-stage {
    min-height: 390px;
    margin: 14px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-vector-bg {
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0.75);
  }

  /* Condensed Name Behind Portrait (Zero Horizontal Overflow) */
  .hero-giant-typography {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    z-index: 2;
  }

  .giant-name-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    padding: 0;
  }

  .giant-part {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
    line-height: 0.8;
    letter-spacing: -0.02em;
    text-align: center;
    white-space: nowrap;
  }

  .giant-part.left {
    text-align: center;
    animation: heroNameUpSplit 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  }

  .giant-part.right {
    text-align: center;
    animation: heroNameDownSplit 1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
  }

  /* Centered Anchor Portrait Frame */
  .hero-portrait-container {
    z-index: 5;
    position: relative;
  }

  .hero-portrait-frame {
    width: clamp(175px, 52vw, 220px);
    aspect-ratio: 3 / 4;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  }

  .hero-portrait-caption {
    font-size: 0.625rem;
    padding: 3px 8px;
    margin-top: 8px;
  }

  /* Hero Bottom Bar */
  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
  }

  .hero-social-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .hero-social-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 4px;
  }

  [data-theme="dark"] .hero-social-link {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .hero-scroll-indicator {
    font-size: 0.6875rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
  }

  /* Ticker Section Strip */
  .ticker-wrapper {
    padding: 10px 0;
  }

  .ticker-item {
    font-size: 0.6875rem;
    padding: 0 14px;
    gap: 14px;
  }

  /* General Editorial Section Spacing & Headings */
  .editorial-section {
    padding: 52px 16px;
    overflow-x: hidden;
  }

  .section-meta-header {
    margin-bottom: 24px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .sec-index {
    font-size: 0.875rem;
  }

  .sec-label {
    font-size: 0.75rem;
  }

  .sec-tag {
    font-size: 0.6875rem;
  }

  .editorial-display-heading {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 0.9;
    margin-bottom: 14px;
  }

  .section-subtext {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  /* About Section Stacked */
  .editorial-grid-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-anchor-col {
    gap: 20px;
  }

  .about-statement {
    font-size: clamp(1.125rem, 4.8vw, 1.4rem);
    padding-left: 14px;
    border-left-width: 2px;
  }

  .about-portrait-card {
    padding: 12px;
    max-width: 100%;
    width: 100%;
  }

  .about-img-wrap {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .about-cta-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
  }

  .btn-circular {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
  }

  .btn-circular-text {
    font-size: 0.6875rem;
  }

  .editorial-lead-paragraph {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .editorial-metadata-table {
    border-top: 1px solid var(--border-main);
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 0;
  }

  .meta-key {
    font-size: 0.6875rem;
  }

  .meta-val {
    font-size: 0.875rem;
    word-break: break-word;
  }

  /* Projects Section: Vertical Editorial List (Requirement 8 & 9) */
  .projects-editorial-list {
    border-top: 1px solid var(--c-dark-gray);
  }

  .project-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid var(--c-dark-gray);
    width: 100%;
    cursor: pointer;
    min-height: 64px;
  }

  .project-row:active {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .project-num-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .project-index {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-medium-gray);
  }

  .project-info-col {
    padding-right: 0;
    width: 100%;
  }

  .project-heading {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    line-height: 1.05;
    margin-bottom: 6px;
  }

  .project-summary {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #A0A0A0;
    margin-bottom: 10px;
  }

  .project-tech-strip {
    gap: 6px;
    margin-bottom: 10px;
  }

  .tech-tag {
    font-size: 0.625rem;
    padding: 3px 8px;
  }

  /* Full-width touch-friendly badge preview banner */
  .project-visual-col {
    display: flex;
    width: 100%;
    margin-top: 4px;
  }

  .project-badge-preview {
    width: 100%;
    max-width: 100%;
    height: 64px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--c-dark-gray);
    background: #111111;
  }

  .project-acronym {
    font-size: 1.3rem;
  }

  .preview-overlay-hint {
    font-size: 0.6875rem;
    margin-top: 0;
    color: #FFFFFF;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .project-action-col {
    display: none;
  }

  /* Extended Projects Grid Mobile Overrides */
  .projects-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .extended-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .project-filter-bar {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    flex-shrink: 0;
  }

  /* Experience Section Stacked */
  .editorial-grid-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .experience-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    min-height: 56px;
  }

  .experience-entry:active {
    background-color: rgba(0, 0, 0, 0.04);
  }

  [data-theme="dark"] .experience-entry:active {
    background-color: rgba(255, 255, 255, 0.04);
  }

  .exp-period-col {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }

  .exp-num {
    font-size: 0.75rem;
  }

  .exp-year {
    font-size: 0.75rem;
  }

  .exp-content-col {
    padding-left: 0;
    width: 100%;
  }

  .exp-role {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  .exp-arrow {
    font-size: 1.125rem;
  }

  .exp-company {
    font-size: 0.8125rem;
    margin-bottom: 6px;
  }

  .exp-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .editorial-visual-frame {
    position: static;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
  }

  /* Skills Section (1-Column Typographic Grid) */
  .skills-editorial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .skill-category-block {
    padding: 20px 16px;
  }

  .cat-title {
    font-size: 0.875rem;
  }

  .skill-typographic-item {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .skill-label {
    font-size: 0.875rem;
  }

  .skill-metric {
    font-size: 0.6875rem;
  }

  /* Academics & Honors Section Stacked */
  .education-achievements-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vertical-grid-line {
    display: none;
  }

  .edu-card {
    padding: 18px 14px;
  }

  .edu-degree {
    font-size: 1.0625rem;
  }

  .certs-editorial-list {
    margin-top: 16px;
  }

  .cert-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .cert-name {
    font-size: 1rem;
  }

  /* Leadership Section Stacked */
  .leadership-editorial-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .leadership-entries-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .leadership-entry {
    padding: 18px 14px;
  }

  .lead-role {
    font-size: 1.0625rem;
  }

  .lead-desc {
    font-size: 0.8125rem;
  }

  .leadership-visual-sidebar {
    position: static;
    width: 100%;
    gap: 16px;
  }

  .lead-photo {
    aspect-ratio: 16 / 10;
  }

  /* Contact Section */
  .contact-section {
    padding-bottom: 72px;
  }

  .contact-poster-canvas {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 28px;
  }

  .contact-huge-headline {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 0.9;
  }

  .contact-huge-arrow {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .contact-action-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-inquiry-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .contact-main-email {
    font-size: clamp(1rem, 5vw, 1.35rem);
    word-break: break-all;
  }

  .contact-action-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
  }

  .btn-circular.large {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
  }

  .btn-circular.large .btn-circular-text {
    font-size: 0.6875rem;
  }

  /* Footer Stacked */
  .site-footer {
    padding: 44px 16px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
    margin-bottom: 20px;
  }

  .footer-brand-title {
    font-size: 1.25rem;
  }

  .footer-tagline-text {
    font-size: 0.875rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .footer-links-grid a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
  }

  .footer-social-links {
    gap: 6px;
  }

  .footer-social-a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.6875rem;
  }

  /* Mobile Full-Screen Bottom-Sheet Modals */
  .detail-backdrop-overlay,
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .detail-sheet-panel,
  .modal-dialog-panel {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border: none;
    padding: 20px 16px 40px;
  }

  .detail-headline,
  .modal-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .help-grid-editorial {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   F. ULTRA-COMPACT SCREENS (≤ 360px — Down to 320px)
   ------------------------------------------------------------ */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.875rem;
  }

  .giant-part {
    font-size: 2.95rem;
  }

  .hero-portrait-frame {
    width: 160px;
  }

  .giant-name-row {
    gap: 70px;
  }

  .editorial-display-heading {
    font-size: 2.2rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .btn-circular {
    width: 98px;
    height: 98px;
    min-width: 98px;
    min-height: 98px;
  }
}

/* ------------------------------------------------------------
   G. MOBILE/TABLET FLOATING KEYFRAMES OVERRIDES (SUBTLE 2-5px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  @keyframes floatVertical {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(0.2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
  }

  @keyframes diagonalDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3px, -4px, 0) scale(1.008); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
  }

  @keyframes horizontalDrift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-4px, 2px, 0); }
    100% { transform: translate3d(0, 0, 0); }
  }

  @keyframes slowRotateFloat {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(-0.8deg) translateY(-3px); }
    100% { transform: rotate(0deg) translateY(0); }
  }

  @keyframes orbitalBreathing {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(3px, -3px, 0) rotate(0.6deg) scale(1.01); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  }
}

/* ============================================================
   20. ACCESSIBILITY: REDUCED MOTION PREFERENCE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .giant-part.left,
  .giant-part.right,
  .hero-portrait-container,
  .hero-meta-top,
  .hero-bottom-bar,
  .hero-vector-bg,
  .hero-portrait-frame,
  .about-portrait-card,
  .editorial-visual-frame,
  .lead-photo-frame,
  .project-row,
  .experience-entry,
  .skill-category-block,
  .leadership-entry {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .photo-reveal-layer {
    display: none !important;
  }
}
