/* ==========================================================================
   DESIGN SYSTEM — LINTANG MUHAMMAD SHIDDIQ PORTFOLIO
   LandoNorris.com Inspired: Racing Olive Editorial, Lime (#d2e823),
   Light Cream Social Fan, & Exact Calligraphic Signature Intro
   ========================================================================== */

:root {
  /* Core Pure Matte Black & Studio White + Deep Navy Accents */
  --bg-deep:        #050506;
  --bg-olive:       #08080a;
  --bg-olive-mid:   #0a0a0c;
  --bg-olive-soft:  #131317;
  --bg-card:        #101014;
  --bg-card-hover:  #16161c;
  --bg-cream:       #f8f9fc;

  /* Signature Deep Navy Accent */
  --navy-fill:      #0f2459;
  --navy-hover:     #173580;
  --navy-on-fill:   #f3f6ff;
  --lime:           #5a86e6;
  --lime-bright:    #173580;
  --lime-glow:      rgba(36, 78, 178, 0.36);

  /* Text Hierarchy */
  --text-primary:   #eef2f9;
  --text-secondary: #98a4bc;
  --text-muted:     #65728c;
  --text-olive:     #cfd7e6;
  --text-dark:      #0e1524;

  /* Borders */
  --border-subtle:  rgba(226, 234, 248, 0.08);
  --border-medium:  rgba(226, 234, 248, 0.16);
  --border-lime:    rgba(96, 142, 238, 0.44);

  /* Fonts */
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container-max: 1220px;
  --header-height: 74px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     30px;
  --radius-full:   9999px;

  /* Curves */
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-olive);
  color: var(--text-primary);
  scroll-behavior: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
  background-color: var(--bg-olive);
  color: var(--text-primary);
  overflow-x: clip;
}

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

img {
  display: block;
  max-width: 100%;
  image-orientation: from-image;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  position: relative;
  padding: 112px 0;
}

/* ==========================================================================
   CUSTOM CURSOR & AMBIENT CANVAS
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10000;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--navy-hover);
  box-shadow: 0 0 0 1.5px rgba(155, 190, 255, 0.72);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 1.5px solid rgba(90, 134, 230, 0.48);
  transition: width 0.2s var(--ease-expo), height 0.2s var(--ease-expo),
              margin 0.2s var(--ease-expo), border-color 0.2s ease, opacity 0.2s ease;
}

.cursor-ring.is-hovered {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-color: var(--lime);
  background: rgba(23, 53, 128, 0.14);
}

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

.bg-living-topo-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.24;
}

/* ==========================================================================
   HEADER BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 900;
  background: rgba(8, 8, 10, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: background;
}

.site-header.is-light-hero,
.site-header.is-light-hero.is-scrolled {
  background: rgba(248, 249, 252, 0.94);
  border-bottom-color: rgba(14, 21, 36, 0.08);
}

.site-header.is-light-hero .brand-top,
.site-header.is-light-hero .brand-bottom {
  color: var(--text-dark);
}

.site-header.is-light-hero .brand-status {
  color: #0e2252;
  background: rgba(15, 36, 89, 0.09);
  border-color: rgba(15, 36, 89, 0.28);
}

.site-header.is-light-hero .beacon {
  background: #0e2252;
}

.site-header.is-light-hero .nav-links {
  background: rgba(14, 21, 36, 0.05);
  border-color: rgba(14, 21, 36, 0.1);
}

.site-header.is-light-hero .nav-item {
  color: #465066;
}

.site-header.is-light-hero .nav-item:hover,
.site-header.is-light-hero .nav-item.active {
  color: var(--navy-on-fill);
}

.site-header.is-light-hero .cmd-trigger-btn {
  background: rgba(14, 21, 36, 0.05);
  border-color: rgba(14, 21, 36, 0.16);
  color: #2b3345;
}

.site-header.is-light-hero .mobile-toggle {
  border-color: rgba(14, 21, 36, 0.2);
}

.site-header.is-light-hero .mobile-toggle span {
  background: var(--text-dark);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.92);
  border-bottom-color: var(--border-medium);
}

.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0d1f4d, #2651b8);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  z-index: 10;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 36px;
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-stacked {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.brand-top {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.brand-bottom {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.brand-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.84);
  border: 1px solid rgba(110, 152, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #e4ecff;
}

.beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-beacon 2.2s infinite;
}

@keyframes pulse-beacon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 134, 230, 0.55); }
  70%       { box-shadow: 0 0 0 6px rgba(90, 134, 230, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.nav-item {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--navy-on-fill);
  background: var(--navy-fill);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cmd-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 12px;
  transition: border-color 0.2s, color 0.2s;
}

.cmd-trigger-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-lime);
}

.cmd-shortcut {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-expo), background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-lime {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border: 1px solid rgba(110, 152, 240, 0.36);
}

.btn-lime:hover {
  background: var(--navy-hover);
  box-shadow: 0 10px 28px var(--lime-glow);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--text-primary);
  border-radius: var(--radius-full);
}

.btn-dark:hover {
  background: #1a243b;
}

.btn-outline-dark {
  border: 1px solid rgba(14, 21, 36, 0.25);
  color: var(--text-dark);
  border-radius: var(--radius-full);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background: rgba(14, 21, 36, 0.06);
}

.btn-outline-light {
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: var(--radius-full);
}

.btn-outline-light:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn-lg { padding: 14px 30px; font-size: 13px; border-radius: var(--radius-full); }

.magnetic-btn {
  will-change: transform;
}

/* ==========================================================================
   RIGHT SECTION TELEMETRY RAIL
   ========================================================================== */
.section-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 820;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rail-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-expo), color 0.25s ease,
              border-color 0.25s ease, background 0.25s ease;
}

.rail-dot:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: scale(1.1);
}

.rail-dot.active {
  color: var(--navy-on-fill);
  border-color: var(--border-lime);
  background: rgba(15, 36, 89, 0.85);
}

body.is-light-canvas .rail-dot {
  color: #5a657d;
}

body.is-light-canvas .rail-dot:hover {
  color: #0e1524;
  border-color: rgba(14, 21, 36, 0.22);
}

body.is-light-canvas .rail-dot.active {
  color: var(--navy-on-fill);
  background: var(--navy-fill);
  border-color: var(--navy-fill);
}

/* ==========================================================================
   LANDO HERO: WHITE OPENING STATE -> OLIVE ZOOM-OUT & SCROLL SIGNATURE
   ========================================================================== */
.hero-section {
  position: relative;
  height: 245vh;
  background: #f8f9fc;
  z-index: 2;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #08080a;
}

.hero-portal-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #f8f9fc;
  overflow: hidden;
  clip-path: inset(0px 0px 0px 0px round 0px);
  will-change: clip-path, background-color;
}

.hero-topo-canvas,
.gallery-topo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-portal-topo {
  z-index: 1;
  transition: opacity 0.25s linear;
}

.hero-opening-meta {
  position: absolute;
  left: 36px;
  bottom: 92px;
  z-index: 6;
  width: 96px;
  padding: 14px 10px;
  border: 1px solid rgba(14, 21, 36, 0.22);
  border-radius: 6px;
  background: rgba(248, 249, 252, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: var(--text-dark);
  pointer-events: none;
  will-change: transform, opacity;
}

.meta-cap {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #546078;
}

.meta-crest {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 21, 36, 0.55);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.meta-place {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.meta-rule {
  width: 24px;
  height: 1px;
  background: rgba(14, 21, 36, 0.18);
}

.meta-role {
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.35;
  color: #546078;
}

.hero-top-emblem {
  position: absolute;
  top: calc(var(--header-height) + 20px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.emblem-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-dark);
  opacity: 1;
  white-space: nowrap;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.hero-sticky-stage.is-olive .emblem-sub {
  color: #e6edff;
  opacity: 1;
}

/* Dual Giant Billboard Marquee Behind Photo (Fades in with dark olive stage) */
.hero-marquee-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-marquee-row {
  overflow: hidden;
  width: 100%;
  line-height: 0.92;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.hero-marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero-marquee-row.row-serif .hero-marquee-inner span {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(66px, 8.6vw, 134px);
  letter-spacing: 0.01em;
  color: rgba(18, 44, 108, 0.96);
  -webkit-text-stroke: 1px rgba(125, 168, 255, 0.45);
  text-shadow: 0 6px 26px rgba(10, 24, 62, 0.55);
  padding: 0 22px;
}

.hero-marquee-row.row-sans .hero-marquee-inner span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(56px, 7.6vw, 118px);
  letter-spacing: -0.03em;
  color: rgba(232, 238, 250, 0.94);
  padding: 0 22px;
}

.hero-marquee-inner .ms {
  font-size: clamp(26px, 3vw, 44px) !important;
  opacity: 0.45;
  padding: 0 6px !important;
}

/* Center Portrait Strictly Bounded Above Caption Line */
.hero-center-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-height) + 46px);
  bottom: 84px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-photo-frame {
  position: relative;
  height: min(100%, 510px);
  width: auto;
  max-width: min(76vw, 435px);
  aspect-ratio: 960 / 1131;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  will-change: transform;
  transition: transform 0.35s var(--ease-expo);
}

.hero-zoom-sig-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%);
  width: min(86vw, 440px, 52vh);
  aspect-ratio: 243 / 288;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.24))
          drop-shadow(0 6px 18px rgba(5, 10, 24, 0.58));
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1);
  transform-origin: center center;
  filter: grayscale(0%) contrast(1.03) brightness(1);
  transition: filter 0.45s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.hero-sticky-stage.is-olive .hero-photo {
  filter: grayscale(88%) contrast(1.06) brightness(0.92);
}

.hero-photo-frame:hover .hero-photo {
  filter: grayscale(10%) contrast(1.04) brightness(1);
  transform: scale(1.03);
}

/* Bottom Hero Telemetry Bar (adapts smoothly from White Opening -> Olive) */
.hero-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 36px;
  background: linear-gradient(to top, rgba(248, 249, 252, 0.9) 0%, transparent 100%);
  border-top: 1px solid rgba(14, 21, 36, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.hero-caption-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.35s ease;
}

.hero-caption-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #546078;
  transition: color 0.35s ease;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--text-dark);
  transition: color 0.35s ease;
}

.hero-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #546078;
  transition: color 0.35s ease;
}

.hero-stat-sep {
  width: 1px;
  height: 24px;
  background: rgba(14, 21, 36, 0.16);
}

.hero-caption-right {
  display: flex;
  justify-content: flex-end;
}

.hero-caption-bar .btn-outline-light {
  border-color: rgba(14, 21, 36, 0.28);
  color: var(--text-dark);
}

.hero-sticky-stage.is-olive .hero-caption-bar {
  background: linear-gradient(to top, rgba(9, 14, 26, 0.88) 0%, transparent 100%);
  border-top-color: var(--border-subtle);
}

.hero-sticky-stage.is-olive .hero-caption-label { color: var(--text-primary); }
.hero-sticky-stage.is-olive .hero-caption-sub,
.hero-sticky-stage.is-olive .hero-stat-lbl   { color: var(--text-secondary); }
.hero-sticky-stage.is-olive .hero-stat-num   { color: var(--lime); }
.hero-sticky-stage.is-olive .hero-stat-sep   { background: var(--border-medium); }
.hero-sticky-stage.is-olive .hero-caption-bar .btn-outline-light {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

/* ==========================================================================
   01 // ABOUT SECTION
   ========================================================================== */
.about-section {
  background: transparent;
  border-top: 1px solid var(--border-subtle);
  padding-bottom: 148px;
  z-index: 3;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

.about-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.about-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  font-size: 1.08em;
}

.about-bio {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-olive);
  margin-bottom: 18px;
}

.about-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color 0.25s ease, transform 0.35s var(--ease-expo);
}

.about-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

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

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.card-chip,
.sig-status-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.78);
  color: #e4ecff;
  border: 1px solid var(--border-lime);
}

.edu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.edu-row strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-primary);
}

.edu-row span {
  font-size: 13px;
  color: var(--text-secondary);
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 11px !important;
  color: var(--text-muted) !important;
  white-space: nowrap;
}

.edu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 14px 0;
}

.cert-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-icon-sm {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(15, 36, 89, 0.78);
  border: 1px solid rgba(110, 152, 240, 0.25);
  color: #dbe6ff;
  flex-shrink: 0;
}

.cert-mini-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.cert-mini-item span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT EDITORIAL MANIFESTO BLOCK (LANDONORRIS-STYLE STATEMENT)
   ========================================================================== */
.about-editorial-manifesto {
  text-align: center;
  padding: 20px 0 88px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 84px;
}

.manifesto-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.manifesto-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.manifesto-display em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: #163785;
  -webkit-text-stroke: 0.7px rgba(135, 175, 255, 0.52);
  font-size: 1.06em;
  letter-spacing: 0.01em;
}

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

/* ==========================================================================
   SCREENSHOT 2: STICKY HORIZONTAL SCROLL RUNWAY (KANAN -> KIRI SAAT SCROLL TURUN)
   ========================================================================== */
.gallery-runway-section {
  position: relative;
  height: 360vh;
  background: transparent;
  z-index: 4;
}

.gallery-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
}

.gallery-editorial-overlay {
  position: absolute;
  top: clamp(82px, 11vh, 108px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 12;
  pointer-events: none;
  width: min(92vw, 520px);
}

.gallery-runway-section .section-tag {
  color: var(--navy-fill);
}

.gallery-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.gallery-quote em {
  font-style: italic;
  color: var(--navy-hover);
}

.gallery-mini-sig-wrap {
  width: 64px;
  aspect-ratio: 243 / 288;
  margin: 0 auto;
  opacity: 0.94;
}

.gallery-runway-section .h-caption {
  color: #4b5568;
}

.gallery-runway-section .h-photo-wrap {
  background: #ffffff;
  border: 1px solid rgba(14, 21, 36, 0.1);
  box-shadow: 0 12px 30px rgba(14, 21, 36, 0.14);
}

.gallery-runway-section .gallery-hud-hint {
  color: #546078;
}

.gallery-runway-section .gallery-hud-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(14, 21, 36, 0.16);
}

.gallery-runway-section .gallery-hud-index {
  color: var(--navy-fill);
}

.gallery-runway-section .gallery-hud-sep,
.gallery-runway-section .gallery-hud-total {
  color: #4b5568;
}

.gallery-runway-section .gallery-progress-track {
  background: rgba(14, 21, 36, 0.08);
}

/* The horizontal track moved by GPU translate3d(-x, 0, 0) */
.gallery-horizontal-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
  padding: 180px 16vw 58px 10vw;
  width: max-content;
  z-index: 6;
  will-change: transform;
}

.h-card {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  contain: layout style;
}

.h-caption {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.h-photo-wrap {
  overflow: hidden;
  border-radius: 6px;
  background: #0b101b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(226, 234, 248, 0.08);
  transition: transform 0.45s var(--ease-expo), border-color 0.3s ease;
}

.h-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.7s var(--ease-expo), filter 0.5s ease;
}

.h-card:hover .h-photo-wrap {
  transform: translateY(-6px);
  border-color: var(--border-lime);
}

.h-card:hover .h-photo-wrap img {
  transform: scale(1.05);
}

/* Staggered asymmetric editorial heights matching Screenshot 2 */
.h-pos-1 { align-self: flex-start; margin-top: 2vh; }
.h-pos-2 { align-self: flex-end; margin-bottom: 5vh; }
.h-pos-2 .h-photo-wrap img { filter: grayscale(92%) contrast(1.06); }
.h-pos-2:hover .h-photo-wrap img { filter: grayscale(0%); }

.h-pos-3 { align-self: flex-end; margin-bottom: 2vh; }
.h-pos-4 { align-self: flex-start; margin-top: 3vh; }
.h-pos-4 .h-photo-wrap img { filter: grayscale(65%); }
.h-pos-4:hover .h-photo-wrap img { filter: grayscale(0%); }

.h-pos-5 { align-self: center; margin-top: 8vh; }
.h-pos-6 { align-self: flex-end; margin-bottom: 6vh; }
.h-pos-7 { align-self: flex-start; margin-top: 4vh; }
.h-pos-8 { align-self: flex-end; margin-bottom: 4vh; }
.h-pos-9 { align-self: center; margin-top: 5vh; }

/* Card Sizes */
.h-portrait-sm   { width: clamp(160px, 13vw, 200px); height: clamp(200px, 24vh, 250px); }
.h-square        { width: clamp(190px, 16vw, 240px); height: clamp(190px, 25vh, 240px); }
.h-portrait-md   { width: clamp(210px, 18vw, 270px); height: clamp(270px, 37vh, 360px); }
.h-portrait-tall { width: clamp(200px, 17vw, 250px); height: clamp(280px, 40vh, 380px); }
.h-hero-feature  { width: clamp(275px, 25vw, 390px); height: clamp(290px, 43vh, 425px); }
.h-landscape     { width: clamp(320px, 31vw, 460px); height: clamp(230px, 34vh, 320px); }

/* Bottom HUD Counter */
.gallery-hud {
  position: absolute;
  bottom: 26px;
  left: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 12;
  pointer-events: none;
}

.gallery-hud-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.gallery-hud-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  background: rgba(9, 14, 26, 0.78);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 12px;
}

.gallery-hud-index {
  color: var(--lime);
  font-weight: 700;
}

.gallery-hud-sep,
.gallery-hud-total {
  color: var(--text-secondary);
}

.gallery-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(226, 234, 248, 0.08);
  z-index: 12;
}

.gallery-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0d1f4d, #2651b8);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* ==========================================================================
   SCREENSHOT 3: LIGHT CREAM FAN SPREAD SECTION ("WHAT'S UP ON SOCIALS")
   ========================================================================== */
.fan-section {
  position: relative;
  background: transparent;
  color: var(--text-dark);
  padding: 112px 32px 120px;
  overflow: hidden;
  z-index: 5;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
}

.fan-header {
  text-align: center;
  margin-bottom: 56px;
}

.fan-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-fill);
  margin-bottom: 14px;
}

.fan-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
  color: var(--text-dark);
}

.fan-title-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 6.6vw, 90px);
  letter-spacing: -0.01em;
  color: var(--navy-fill);
}

.fan-title-sans {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 6.2vw, 84px);
  letter-spacing: -0.03em;
}

.fan-title-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 6.6vw, 90px);
  letter-spacing: -0.01em;
}

.fan-cards-stage {
  position: relative;
  height: clamp(360px, 48vh, 470px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fan-card {
  position: absolute;
  width: clamp(140px, 16vw, 224px);
  aspect-ratio: 3 / 4.25;
  will-change: transform;
  cursor: pointer;
}

.fan-card.fc-center {
  width: clamp(170px, 19vw, 266px);
  z-index: 7;
}

.fan-card.fc-3, .fan-card.fc-5 { z-index: 5; }
.fan-card.fc-2, .fan-card.fc-6 { z-index: 4; }
.fan-card.fc-1, .fan-card.fc-7 { z-index: 3; }

.fan-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10, 16, 30, 0.18);
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo);
  contain: layout style;
}

.fan-card:hover {
  z-index: 15 !important;
}

.fan-card:hover .fan-card-inner {
  transform: translate3d(0, -24px, 0) scale(1.06);
  box-shadow: 0 20px 44px rgba(10, 16, 30, 0.26);
}

.fan-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.fan-card-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.85);
  backdrop-filter: blur(8px);
  color: #f3f6ff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-expo);
}

.fan-card:hover .fan-card-tag {
  opacity: 1;
  transform: translateY(0);
}

.fan-footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   KINETIC VELOCITY MARQUEE DIVIDER
   ========================================================================== */
.kinetic-marquee {
  position: relative;
  overflow: hidden;
  background: #f0f3f9;
  border-top: 1px solid rgba(14, 21, 36, 0.09);
  border-bottom: 1px solid rgba(14, 21, 36, 0.09);
  padding: 18px 0;
  z-index: 6;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #49566e;
  padding: 0 22px;
}

.marquee-content .m-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #10192b;
}

.marquee-content .m-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(15, 36, 89, 0.36);
  padding: 0 4px;
}

/* ==========================================================================
   EXPERIENCE SECTION + TIMELINE SPINE
   ========================================================================== */
.exp-section {
  background: transparent;
  z-index: 6;
  border-top: 1px solid var(--border-subtle);
}

.exp-section[data-theme="light"] .section-tag { color: var(--navy-fill); }
.exp-section[data-theme="light"] .section-title { color: var(--text-dark); }
.exp-section[data-theme="light"] .section-subtitle { color: #525e75; }
.exp-section[data-theme="light"] .experience-timeline::before { background: rgba(14, 21, 36, 0.12); }
.exp-section[data-theme="light"] .node-ring { background: #f8f9fc; border-color: rgba(14, 21, 36, 0.28); }
.exp-section[data-theme="light"] .exp-item.is-reached .node-ring { background: var(--navy-fill); border-color: var(--navy-fill); }
.exp-section[data-theme="light"] .exp-item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 21, 36, 0.1);
  box-shadow: 0 8px 24px rgba(14, 21, 36, 0.045);
}
.exp-section[data-theme="light"] .exp-role { color: var(--text-dark); }
.exp-section[data-theme="light"] .exp-org { color: #4b5568; }
.exp-section[data-theme="light"] .exp-summary { color: #313b4f; }
.exp-section[data-theme="light"] .exp-period { color: #5d6a82; }
.exp-section[data-theme="light"] .exp-deliverables span { color: #465269; }
.exp-section[data-theme="light"] .exp-deliverables strong { color: var(--navy-fill); }
.exp-section[data-theme="light"] .exp-badge {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}

.section-header {
  margin-bottom: 52px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 580px;
}

.exp-split-layout {
  display: grid;
  grid-template-columns: clamp(320px, 38vw, 470px) 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

.exp-year-column {
  position: relative;
}

.exp-year-sticky {
  position: sticky;
  top: 146px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0;
}

.exp-year-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--navy-fill);
}

.exp-year-lead {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-dark);
}

.exp-year-odometer {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(92px, 10.8vw, 154px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--text-dark);
  user-select: none;
  margin: 4px 0 6px;
}

.year-prefix {
  display: inline-block;
  line-height: 0.94;
}

.year-digit-window {
  height: 0.94em;
  overflow: hidden;
  display: inline-flex;
  color: var(--navy-fill);
}

.year-digit-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.year-digit-strip > span {
  height: 0.94em;
  line-height: 0.94;
  display: flex;
  align-items: center;
}

.exp-year-period {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #49566e;
}

.exp-year-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.exp-year-step {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.exp-year-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(14, 21, 36, 0.12);
  overflow: hidden;
}

.exp-year-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--navy-fill);
  transform-origin: left center;
  transform: scaleX(0.2);
  transition: transform 0.35s var(--ease-expo);
}

.exp-year-caption {
  font-size: 14px;
  line-height: 1.5;
  color: #525e75;
  max-width: 340px;
  min-height: 42px;
}

.exp-year-ticks {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding-top: 6px;
}

.year-tick {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 21, 36, 0.04);
  color: #5a667e;
  border: 1px solid rgba(14, 21, 36, 0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.year-tick.active {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}

.experience-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 34px;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-progress-line {
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, #0d1f4d, #2651b8);
  transform-origin: top center;
  transform: scaleY(0);
  will-change: transform;
  z-index: 2;
}

.exp-item {
  position: relative;
  padding: 26px 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.25s ease, transform 0.35s var(--ease-expo);
}

.exp-item.spotlight-card { overflow: visible; }
.exp-item.spotlight-card::before { border-radius: var(--radius-md); }

.exp-item:hover {
  border-color: var(--border-medium);
  transform: translate3d(4px, 0, 0);
}

.exp-timeline-node {
  position: absolute;
  left: -34px;
  top: 30px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  z-index: 3;
}

.node-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  background: var(--bg-olive-mid);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-expo);
}

.exp-item.is-reached .node-ring {
  border-color: var(--lime);
  background: var(--navy-fill);
  box-shadow: 0 0 0 5px var(--lime-glow);
  transform: scale(1.1);
}

.exp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.exp-role {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-primary);
}

.exp-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.78);
  color: #e4ecff;
  border: 1px solid var(--border-lime);
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}

.exp-org {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.exp-summary {
  font-size: 14px;
  color: var(--text-olive);
  line-height: 1.65;
  margin-bottom: 10px;
}

.exp-deliverables {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.exp-deliverables > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.deliv-check {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--navy-hover);
}

.exp-deliverables strong {
  color: var(--text-primary);
}

/* ==========================================================================
   ACHIEVEMENTS SECTION + SPRING PREVIEW
   ========================================================================== */
.achievements-section {
  background: transparent;
  z-index: 6;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
}

.achievements-section[data-theme="light"] .section-tag { color: var(--navy-fill); }
.achievements-section[data-theme="light"] .section-title { color: var(--text-dark); }
.achievements-section[data-theme="light"] .section-subtitle { color: #525e75; }
.achievements-section[data-theme="light"] .achievements-list {
  border-color: rgba(14, 21, 36, 0.1);
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(14, 21, 36, 0.045);
}
.achievements-section[data-theme="light"] .achievement-row {
  background: #ffffff;
  border-bottom-color: rgba(14, 21, 36, 0.08);
}
.achievements-section[data-theme="light"] .achievement-row:hover {
  background: #f5f7fc;
}
.achievements-section[data-theme="light"] .ach-row-progress { background: var(--navy-fill); }
.achievements-section[data-theme="light"] .ach-badge {
  background: #eef2f9;
  color: #273452;
  border-color: rgba(14, 21, 36, 0.12);
}
.achievements-section[data-theme="light"] .ach-badge.podium {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}
.achievements-section[data-theme="light"] .ach-badge.highlight {
  background: #e9eef8;
  color: var(--navy-fill);
  border-color: rgba(15, 36, 89, 0.25);
}
.achievements-section[data-theme="light"] .ach-title { color: var(--text-dark); }
.achievements-section[data-theme="light"] .ach-org { color: #4b5568; }
.achievements-section[data-theme="light"] .ach-tag { color: #5d6a82; }
.achievements-section[data-theme="light"] .achievement-row:hover .ach-arrow { color: var(--navy-fill); }

body.is-light-canvas .ach-floating-preview {
  background: #ffffff;
  border-color: rgba(15, 36, 89, 0.28);
  box-shadow: 0 20px 50px rgba(14, 21, 36, 0.14);
}
body.is-light-canvas .ach-prev-rank {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}
body.is-light-canvas .ach-prev-scope { color: #525e75; }
body.is-light-canvas .ach-prev-title { color: var(--text-dark); }
body.is-light-canvas .ach-prev-desc  { color: #465269; }

.achievements-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.achievement-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: background 0.25s ease, padding-left 0.35s var(--ease-expo);
  overflow: hidden;
}

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

.achievement-row:hover {
  background: var(--bg-card-hover);
  padding-left: 34px;
}

.ach-row-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-expo);
}

.achievement-row:hover .ach-row-progress {
  transform: scaleY(1);
}

.ach-badge {
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-olive-soft);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.badge-icon {
  flex-shrink: 0;
}

.ach-badge.podium {
  background: rgba(15, 36, 89, 0.78);
  color: #e4ecff;
  border-color: var(--border-lime);
}

.ach-badge.highlight {
  background: rgba(226, 234, 248, 0.08);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.ach-info { flex: 1; min-width: 0; }

.ach-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.ach-org {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.ach-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.ach-arrow {
  font-size: 16px;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-expo), color 0.25s ease;
}

.achievement-row:hover .ach-arrow {
  color: var(--lime);
  transform: translate(3px, -3px);
}

/* Spring Floating Preview */
.ach-floating-preview {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 950;
  width: 310px;
  background: var(--bg-deep);
  border: 1px solid var(--border-lime);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.22s ease;
}

.ach-floating-preview.visible {
  opacity: 1;
}

.ach-prev-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ach-prev-rank {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #e4ecff;
  background: rgba(15, 36, 89, 0.85);
  border: 1px solid var(--border-lime);
  padding: 3px 8px;
  border-radius: 4px;
}

.ach-prev-scope {
  font-size: 11px;
  color: var(--text-secondary);
}

.ach-prev-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ach-prev-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
  background: transparent;
  z-index: 6;
  border-top: 1px solid var(--border-subtle);
}

.projects-section[data-theme="light"] .section-tag { color: var(--navy-fill); }
.projects-section[data-theme="light"] .section-title { color: var(--text-dark); }
.projects-section[data-theme="light"] .section-subtitle { color: #525e75; }
.projects-section[data-theme="light"] .filter-tab {
  background: #ffffff;
  border-color: rgba(14, 21, 36, 0.16);
  color: #465269;
}
.projects-section[data-theme="light"] .filter-tab:hover { color: var(--text-dark); border-color: var(--navy-fill); }
.projects-section[data-theme="light"] .filter-tab.active {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}
.projects-section[data-theme="light"] .project-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 21, 36, 0.1);
  box-shadow: 0 8px 24px rgba(14, 21, 36, 0.045);
}
.projects-section[data-theme="light"] .project-client { color: var(--navy-fill); font-weight: 600; }
.projects-section[data-theme="light"] .project-year { color: #5d6a82; }
.projects-section[data-theme="light"] .project-badge-award {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--navy-fill);
}
.projects-section[data-theme="light"] .project-title { color: var(--text-dark); }
.projects-section[data-theme="light"] .project-summary { color: #465269; }
.projects-section[data-theme="light"] .highlight-chip { background: #edf1f8; color: #1b2d56; }
.projects-section[data-theme="light"] .project-footer { border-top-color: rgba(14, 21, 36, 0.08); }
.projects-section[data-theme="light"] .project-tags span { background: #f1f3f8; color: #465269; }
.projects-section[data-theme="light"] .project-view-btn { color: var(--navy-fill); border-color: rgba(14, 21, 36, 0.18); }
.projects-section[data-theme="light"] .project-view-btn:hover { background: var(--navy-fill); color: var(--navy-on-fill); border-color: var(--navy-fill); }

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

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

.filter-tab {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
  border-color: var(--border-lime);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }
.bento-span-7 { grid-column: span 7; }

.projects-grid.is-filtered .project-card {
  grid-column: span 6;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-expo), border-color 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.project-meta-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-index-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-fill);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 36, 89, 0.08);
}

.project-split-body {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.split-aside {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #f4f6fb;
  border: 1px solid rgba(14, 21, 36, 0.08);
}

.split-aside-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #5b6780;
  margin-bottom: 10px;
}

/* Featured Deep Navy Card (KAWAL.Z) & Obsidian Research Card (IoT) */
.projects-section[data-theme="light"] .project-card.project-hero-navy {
  background: linear-gradient(135deg, #091229 0%, #0f2459 100%);
  border-color: rgba(159, 185, 255, 0.22);
  box-shadow: 0 20px 52px rgba(9, 18, 41, 0.22);
}

.projects-section[data-theme="light"] .project-card.project-hero-dark {
  background: linear-gradient(135deg, #0b0e15 0%, #131a29 100%);
  border-color: rgba(159, 185, 255, 0.16);
  box-shadow: 0 20px 52px rgba(8, 10, 16, 0.22);
}

.project-card.project-hero-navy .project-index-num,
.project-card.project-hero-dark .project-index-num {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.12);
}

.projects-section[data-theme="light"] .project-hero-navy .project-client,
.projects-section[data-theme="light"] .project-hero-dark .project-client {
  color: #a9c2ff;
}

.projects-section[data-theme="light"] .project-hero-navy .project-year,
.projects-section[data-theme="light"] .project-hero-dark .project-year {
  color: rgba(226, 234, 248, 0.72);
}

.projects-section[data-theme="light"] .project-hero-navy .project-title,
.projects-section[data-theme="light"] .project-hero-dark .project-title {
  color: #f6f8ff;
  font-size: clamp(20px, 1.95vw, 25px);
}

.projects-section[data-theme="light"] .project-hero-navy .project-summary,
.projects-section[data-theme="light"] .project-hero-dark .project-summary {
  color: #c9d5ee;
  max-width: 560px;
}

.projects-section[data-theme="light"] .project-hero-navy .highlight-chip,
.projects-section[data-theme="light"] .project-hero-dark .highlight-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #eaf0ff;
}

.projects-section[data-theme="light"] .project-hero-navy .project-footer,
.projects-section[data-theme="light"] .project-hero-dark .project-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.projects-section[data-theme="light"] .project-hero-navy .project-tags span,
.projects-section[data-theme="light"] .project-hero-dark .project-tags span {
  background: rgba(255, 255, 255, 0.08);
  color: #cfd9f0;
}

.projects-section[data-theme="light"] .project-hero-navy .project-view-btn,
.projects-section[data-theme="light"] .project-hero-dark .project-view-btn {
  color: #f4f7ff;
  border-color: rgba(255, 255, 255, 0.28);
}

.projects-section[data-theme="light"] .project-hero-navy .project-view-btn:hover,
.projects-section[data-theme="light"] .project-hero-dark .project-view-btn:hover {
  background: #ffffff;
  color: #091229;
  border-color: #ffffff;
}

.project-radar-motif,
.project-wave-motif {
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
  border: 1.5px solid #9bb8ff;
  box-shadow: inset 0 0 0 28px transparent, inset 0 0 0 29.5px rgba(155, 184, 255, 0.72), inset 0 0 0 58px transparent, inset 0 0 0 59.5px rgba(155, 184, 255, 0.45);
}

.project-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-5px);
}

.project-card.is-filtering-out {
  opacity: 0;
  transform: scale(0.94) translateY(10px);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0;
}

.project-client {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.project-badge-award {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.78);
  color: #e4ecff;
  border: 1px solid var(--border-lime);
}

.project-body {
  padding: 14px 20px 18px;
  flex: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.project-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.highlight-chip {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-olive-soft);
  border-radius: var(--radius-full);
  color: var(--text-olive);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  background: var(--bg-deep);
  border-radius: 6px;
  color: var(--text-muted);
}

.project-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  transition: color 0.2s, border-color 0.2s;
}

.project-view-btn:hover {
  color: var(--lime);
  border-color: var(--border-lime);
}

/* ==========================================================================
   07 // CERTIFICATES & MILESTONES (SCROLL DEPTH STAGE + RIGHT WIPE CURTAIN)
   ========================================================================== */
.cert-showcase-section {
  position: relative;
  height: 480vh;
  background: transparent;
  z-index: 6;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
}

.cert-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout style;
}

.cert-intro-copy {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  top: 50%;
  transform: translate3d(0, -50%, 0);
  width: min(46vw, 520px);
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
}

.cert-intro-copy .section-tag {
  color: var(--navy-fill);
  margin-bottom: 14px;
}

.cert-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cert-intro-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy-hover);
}

.cert-intro-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #49566e;
  max-width: 420px;
  margin-bottom: 24px;
}

.cert-intro-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-fill);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 36, 89, 0.07);
  border: 1px solid rgba(15, 36, 89, 0.14);
}

.cert-backdrop-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 8;
  background: #060911;
  box-shadow: 0 28px 80px rgba(6, 10, 20, 0.38);
  will-change: transform, border-radius;
  transform-origin: center center;
}

.cert-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.06);
  filter: contrast(1.06) saturate(0.88);
  will-change: transform;
}

.cert-dark-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(5, 7, 14, 0.68) 0%, rgba(4, 6, 12, 0.93) 82%);
  opacity: 0.35;
  will-change: opacity;
  pointer-events: none;
}

.cert-speed-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 82px,
      rgba(226, 234, 248, 0.05) 83px,
      transparent 84px
    ),
    radial-gradient(ellipse at 20% 22%, rgba(255, 255, 255, 0.14) 0%, transparent 18%),
    radial-gradient(ellipse at 84% 26%, rgba(255, 255, 255, 0.11) 0%, transparent 16%);
}

.cert-depth-stage {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.cert-card {
  position: absolute;
  width: clamp(300px, 28vw, 420px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
  will-change: transform, opacity, filter;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.14);
}

.cert-card-portrait {
  width: clamp(235px, 21vw, 305px);
}

.cert-sheet {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(14, 21, 36, 0.14);
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}

.cert-sheet-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.7), 0 0 0 2px #9bb8ff;
}

.cert-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1414 / 1000;
  overflow: hidden;
  background: #ffffff;
}

.cert-frame-portrait {
  aspect-ratio: 1000 / 1414;
}

.cert-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
}

.cert-sheet-footer {
  padding: 13px 16px 14px;
  background: #fbfcff;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cert-sheet-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #0e1524;
  line-height: 1.25;
}

.cert-sheet-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #4f5c76;
}

/* Official Vector Document Cards (BNSP & DOT) */
.cert-sheet-doc {
  padding: 12px;
  background: linear-gradient(155deg, #ffffff 0%, #eef2fa 100%);
  aspect-ratio: 4 / 3;
  display: flex;
}

.cert-doc-inner {
  position: relative;
  flex: 1;
  border: 1.5px solid rgba(15, 36, 89, 0.24);
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 86% 18%, rgba(15, 36, 89, 0.06) 0%, transparent 48%),
    #ffffff;
}

.cert-doc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--navy-fill);
}

.cert-doc-year {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 36, 89, 0.08);
}

.cert-doc-seal {
  position: absolute;
  right: 18px;
  bottom: 42px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(15, 36, 89, 0.22);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-fill);
  background: rgba(15, 36, 89, 0.04);
}

.cert-doc-kicker {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #5b6780;
  margin-top: 8px;
}

.cert-doc-title {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.1;
  color: #0e1524;
  font-weight: 400;
  max-width: 82%;
}

.cert-doc-holder {
  font-size: 12px;
  color: #49566e;
}

.cert-doc-holder strong {
  color: #0e1524;
  font-weight: 600;
}

.cert-doc-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(14, 21, 36, 0.1);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #58657e;
}

.cert-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #dce6ff;
  background: rgba(15, 36, 89, 0.88);
  border: 1px solid rgba(164, 189, 255, 0.28);
  padding: 3px 9px;
  border-radius: 999px;
}

.cert-org {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(235, 241, 255, 0.78);
  text-align: right;
}

.cert-bottom-caption {
  position: absolute;
  bottom: clamp(24px, 4.2vh, 44px);
  left: 50%;
  transform: translate3d(-50%, 10px, 0);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: min(88vw, 620px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.cert-cap-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #9bb8ff;
}

.cert-cap-text {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  color: #f6f8ff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.cert-cap-progress {
  width: 170px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}

.cert-cap-progress-fill {
  height: 100%;
  width: 100%;
  background: #ffffff;
  transform-origin: left center;
  transform: scaleX(0);
}

/* Screenshot 3: Right-to-Left Wipe Curtain entering Contact */
.cert-exit-curtain {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #f8f9fc;
  border-left: 1px solid rgba(14, 21, 36, 0.12);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(28px, 8vw, 120px);
  transform: translate3d(102%, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.cert-exit-inner .section-tag {
  color: var(--navy-fill);
  margin-bottom: 12px;
}

.cert-exit-heading {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.028em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cert-exit-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy-hover);
}

.cert-exit-sub {
  font-size: 16px;
  color: #525e75;
}

.skill-pill {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #eff3fa;
  border: 1px solid rgba(14, 21, 36, 0.1);
  color: #1f2e4d;
  transition: border-color 0.2s, color 0.2s;
}

.skill-pill:hover {
  border-color: var(--navy-fill);
  color: var(--navy-fill);
}

.contact-section {
  background: transparent;
  z-index: 6;
  border-top: 1px solid rgba(14, 21, 36, 0.08);
}

.contact-section[data-theme="light"] .section-tag { color: var(--navy-fill); }
.contact-section[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 21, 36, 0.1);
  box-shadow: 0 16px 44px rgba(14, 21, 36, 0.06);
}
.contact-section[data-theme="light"] .contact-title { color: var(--text-dark); }
.contact-section[data-theme="light"] .contact-lead { color: #525e75; }
.contact-section[data-theme="light"] .c-method-box {
  background: #f4f6fb;
  border-color: rgba(14, 21, 36, 0.1);
}
.contact-section[data-theme="light"] .c-method-box:hover { border-color: var(--navy-fill); }
.contact-section[data-theme="light"] .c-method-icon {
  background: var(--navy-fill);
  color: var(--navy-on-fill);
}
.contact-section[data-theme="light"] .c-method-label { color: #5d6a82; }
.contact-section[data-theme="light"] .c-method-val { color: var(--text-dark); }
.contact-section[data-theme="light"] .btn-outline-light {
  border-color: rgba(14, 21, 36, 0.22);
  color: var(--text-dark);
}
.contact-section[data-theme="light"] .btn-outline-light:hover {
  border-color: var(--navy-fill);
  color: var(--navy-fill);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 54px;
}

.contact-header { margin-bottom: 34px; }

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.c-method-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-olive-mid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease;
}

.c-method-box:hover { border-color: var(--border-lime); }

.c-method-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--bg-olive-soft);
  color: var(--lime);
  flex-shrink: 0;
}

.c-method-text { flex: 1; min-width: 0; }

.c-method-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.c-method-val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-footer-cta {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   SPOTLIGHT HOVER GLOW & FOOTER
   ========================================================================== */
.spotlight-card {
  position: relative;
  isolation: isolate;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(36, 78, 178, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.site-footer {
  background: #eff2f8;
  border-top: 1px solid rgba(14, 21, 36, 0.1);
  color: var(--text-dark);
  padding: 28px 0;
  z-index: 6;
  position: relative;
}

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

.footer-brand {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}

.back-to-top:hover {
  border-color: var(--border-lime);
  color: var(--lime);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s var(--ease-expo), transform 0.75s var(--ease-expo);
  will-change: opacity, transform;
}

.reveal.active,
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ==========================================================================
   MODALS, CMD PALETTE & TOAST
   ========================================================================== */
.modal-backdrop,
.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(7, 10, 18, 0.8);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cmd-palette-backdrop {
  align-items: flex-start;
  padding-top: 14vh;
}

.modal-backdrop.is-open,
.modal-backdrop.active,
.cmd-palette-backdrop.is-open,
.cmd-palette-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog,
.cmd-palette-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg-olive-mid);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, 14px, 0) scale(0.98);
  transition: transform 0.3s var(--ease-expo);
}

.modal-backdrop.is-open .modal-dialog,
.modal-backdrop.active .modal-dialog,
.cmd-palette-backdrop.is-open .cmd-palette-card,
.cmd-palette-backdrop.active .cmd-palette-card {
  transform: translate3d(0, 0, 0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
  text-transform: uppercase;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--bg-card);
}

.modal-body { padding: 24px; }
.modal-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; }
.modal-description { font-size: 14.5px; color: var(--text-olive); line-height: 1.65; margin-bottom: 16px; }
.modal-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.modal-stack { display: flex; flex-wrap: wrap; gap: 6px; }

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

.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.cmd-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
}

.cmd-esc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--bg-olive-soft);
  color: var(--text-muted);
}

.cmd-results { padding: 8px 0 12px; max-height: 50vh; overflow-y: auto; }
.cmd-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 20px 5px;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 20px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cmd-item:hover { background: var(--bg-olive-soft); color: var(--text-primary); }
.cmd-item-icon {
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d96c8;
  flex-shrink: 0;
}
.cmd-item-label { flex: 1; }
.cmd-item-shortcut {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-muted);
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate3d(-50%, 60px, 0);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-deep);
  border: 1px solid var(--border-lime);
  font-size: 13px;
  color: var(--text-primary);
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-expo);
}

.toast-notice.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.toast-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .about-editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .exp-split-layout { grid-template-columns: 1fr; gap: 28px; }
  .exp-year-sticky { position: static; }
  .bento-span-5,
  .bento-span-6,
  .bento-span-7,
  .projects-grid.is-filtered .project-card { grid-column: span 12; }
  .project-split-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-container { padding: 0 18px; gap: 12px; }
  .brand-status,
  .cmd-trigger-btn { display: none; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero-section { height: 205vh; }
  .hero-opening-meta { display: none; }
  .hero-center-stage { top: calc(var(--header-height) + 52px); bottom: 196px; margin-bottom: 0; }
  .hero-zoom-sig-canvas { width: min(76vw, 315px); }
  .about-editorial-manifesto { padding: 12px 0 56px; margin-bottom: 52px; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    border-radius: 0;
    background: rgba(9, 14, 26, 0.96);
    padding: 20px;
    gap: 8px;
  }
  .section-rail { display: none; }
  .hero-caption-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 20px;
  }
  .hero-caption-right { justify-content: flex-start; }

  /* Mobile horizontal swipe gallery */
  .gallery-runway-section { height: auto; padding: 72px 0; }
  .gallery-sticky-stage {
    position: relative;
    height: auto;
    overflow: visible;
    padding-bottom: 32px;
  }
  .gallery-editorial-overlay {
    position: static;
    transform: none;
    margin: 0 auto 28px;
    padding: 0 20px;
  }
  .gallery-horizontal-track {
    position: static;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 12px 24px 24px;
    gap: 20px;
    transform: none !important;
  }
  .h-card {
    scroll-snap-align: center;
    margin: 0 !important;
    align-self: center !important;
  }
  .gallery-hud { display: none; }

  /* Mobile certificates clean dark stage stack */
  .cert-showcase-section {
    height: auto;
    padding: 72px 20px;
    background: #080b12;
  }
  .cert-sticky-stage {
    position: relative;
    height: auto;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .cert-intro-copy {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1 !important;
  }
  .cert-intro-copy .section-tag,
  .cert-intro-title,
  .cert-intro-meta { color: #f3f6ff; }
  .cert-intro-lead { color: #b6c2dc; }
  .cert-intro-meta { background: rgba(15, 36, 89, 0.55); border-color: rgba(159, 185, 255, 0.22); }
  .cert-backdrop-panel,
  .cert-bottom-caption,
  .cert-exit-curtain { display: none; }
  .cert-depth-stage {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    perspective: none;
  }
  .cert-card {
    position: static;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .contact-card { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
