/* ==========================================================================
   EMMANUEL BRENYAH ADDAE — EDITORIAL PORTFOLIO STYLESHEET
   Inspired by Dymas Alfin's "Personal Portfolio Website — Animations" (Dribbble)
   ========================================================================== */

:root {
  /* Atmospheric Mist & Editorial Surface Palette (Light Default) */
  --bg-atmosphere-top: #cfd6df;
  --bg-atmosphere-mid: #dde2e9;
  --bg-atmosphere-bot: #d2d8e0;

  --frame-outer-bg: rgba(255, 255, 255, 0.42);
  --frame-outer-border: rgba(255, 255, 255, 0.78);
  --frame-inner-bg: #f8f8f7;
  --frame-inner-elevated: #ffffff;
  --frame-border: rgba(20, 20, 23, 0.08);

  --ink-primary: #161618;
  --ink-secondary: #52525b;
  --ink-muted: #86868e;
  --ink-watermark: rgba(22, 22, 24, 0.045);

  --dark-surface: #18181b;
  --dark-surface-2: #222226;
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-ink: #f8fafc;
  --dark-ink-muted: #a1a1aa;

  --accent-green: #16a34a;
  --accent-crimson: #dc2626;
  --accent-indigo: #4f46e5;
  --accent-amber: #d97706;

  --pill-bg: #ffffff;
  --pill-border: rgba(22, 22, 24, 0.1);
  --pill-dark-bg: #18181b;
  --pill-dark-text: #ffffff;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-syne: 'Syne', 'Plus Jakarta Sans', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-frame: 28px;
  --radius-inner: 22px;
  --radius-card: 20px;
  --radius-pill: 9999px;

  --shadow-frame: 0 28px 70px -20px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 18px 40px -15px rgba(15, 23, 42, 0.1);
  --shadow-pill: 0 8px 20px -6px rgba(15, 23, 42, 0.08);
  --shadow-floating: 0 24px 48px -12px rgba(0, 0, 0, 0.38);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-atmosphere-top: #090a0f;
  --bg-atmosphere-mid: #10121a;
  --bg-atmosphere-bot: #0b0c12;

  --frame-outer-bg: rgba(24, 24, 29, 0.65);
  --frame-outer-border: rgba(255, 255, 255, 0.09);
  --frame-inner-bg: #131317;
  --frame-inner-elevated: #1b1b21;
  --frame-border: rgba(255, 255, 255, 0.08);

  --ink-primary: #f4f4f6;
  --ink-secondary: #a1a1aa;
  --ink-muted: #71717a;
  --ink-watermark: rgba(255, 255, 255, 0.04);

  --pill-bg: #1e1e24;
  --pill-border: rgba(255, 255, 255, 0.12);
  --pill-dark-bg: #f4f4f6;
  --pill-dark-text: #141417;

  --shadow-frame: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background: linear-gradient(180deg, var(--bg-atmosphere-top) 0%, var(--bg-atmosphere-mid) 50%, var(--bg-atmosphere-bot) 100%);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   ATMOSPHERIC CLOUD / MIST CANVAS
   ========================================================================== */
.ambient-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 15% 10%, rgba(255, 255, 255, 0.75) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 85% 22%, rgba(248, 250, 252, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 85%, rgba(255, 255, 255, 0.65) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-atmosphere-top) 0%, var(--bg-atmosphere-mid) 52%, var(--bg-atmosphere-bot) 100%);
}

[data-theme="dark"] .ambient-atmosphere {
  background:
    radial-gradient(ellipse 80% 50% at 20% 15%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 75% 45% at 85% 30%, rgba(220, 38, 38, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-atmosphere-top) 0%, var(--bg-atmosphere-mid) 52%, var(--bg-atmosphere-bot) 100%);
}

.cloud-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.65;
  animation: floatMist 24s ease-in-out infinite alternate;
}

.cloud-1 {
  width: 65vw;
  height: 360px;
  background: rgba(255, 255, 255, 0.8);
  top: -80px;
  left: -10vw;
}

.cloud-2 {
  width: 55vw;
  height: 320px;
  background: rgba(241, 245, 249, 0.75);
  top: 38%;
  right: -12vw;
  animation-delay: -8s;
}

.cloud-3 {
  width: 70vw;
  height: 360px;
  background: rgba(255, 255, 255, 0.7);
  bottom: -100px;
  left: 15vw;
  animation-delay: -15s;
}

[data-theme="dark"] .cloud-1,
[data-theme="dark"] .cloud-2,
[data-theme="dark"] .cloud-3 {
  opacity: 0.12;
}

@keyframes floatMist {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(35px, -20px, 0) scale(1.06);
  }
}

.grain-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: radial-gradient(#000 0.75px, transparent 0.75px);
  background-size: 16px 16px;
}

/* ==========================================================================
   CUSTOM MAGNETIC CURSOR (Desktop)
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-crimson);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(22, 22, 24, 0.35);
  transition: width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo), border-color 0.25s ease, background-color 0.25s ease;
}

[data-theme="dark"] .cursor-ring {
  border-color: rgba(255, 255, 255, 0.35);
}

.cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  border-color: var(--accent-crimson);
  background-color: rgba(220, 38, 38, 0.06);
}

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

/* ==========================================================================
   PAGE SHELL & FRAMED EDITORIAL CONTAINERS
   ========================================================================== */
.page-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.editorial-frame {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--frame-outer-bg);
  border: 1.5px solid var(--frame-outer-border);
  border-radius: var(--radius-frame);
  padding: 10px;
  box-shadow: var(--shadow-frame);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.frame-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  border-radius: var(--radius-inner);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

/* Reveal Animation on Scroll */
.reveal-frame {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* ==========================================================================
   COMMON PILL BUTTONS & STATUS BADGES
   ========================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-primary);
  box-shadow: var(--shadow-pill);
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.status-pill:hover {
  transform: translateY(-2px);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: pulseStatus 2.2s infinite ease-in-out;
}

@keyframes pulseStatus {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.04);
  }
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.pill-btn-dark {
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  box-shadow: 0 10px 24px -6px rgba(22, 22, 24, 0.35);
}

.pill-btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(22, 22, 24, 0.45);
}

.pill-btn-light {
  background: var(--pill-bg);
  color: var(--ink-primary);
  border: 1px solid var(--pill-border);
  box-shadow: var(--shadow-pill);
}

.pill-btn-light:hover {
  transform: translateY(-2px);
  border-color: var(--ink-primary);
}

.pill-btn-outline {
  background: transparent;
  color: var(--ink-primary);
  border: 1px solid rgba(22, 22, 24, 0.2);
}

[data-theme="dark"] .pill-btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-btn-outline:hover {
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  border-color: transparent;
}

.pill-btn-xl {
  padding: 15px 32px;
  font-size: 0.96rem;
}

.arrow-ne {
  display: inline-block;
  font-size: 0.95em;
  transition: transform 0.25s var(--ease-out-expo);
}

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

.icon-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--ink-primary);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-pill);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.icon-pill-btn:hover {
  border-color: var(--ink-primary);
  transform: translateY(-1px);
}

.btn-tiny-label {
  font-size: 0.76rem;
}

/* ==========================================================================
   1. HERO SECTION & EDITORIAL NAVBAR (Dribbble Shot 1)
   ========================================================================== */
.hero-inner {
  padding: 28px 44px 44px;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.95) 0%, var(--frame-inner-bg) 72%);
}

[data-theme="dark"] .hero-inner {
  background:
    radial-gradient(circle at 50% 42%, rgba(38, 38, 48, 0.65) 0%, var(--frame-inner-bg) 72%);
}

/* Top Navbar */
.editorial-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 30;
  padding-bottom: 12px;
}

.editorial-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--frame-border);
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .editorial-nav-links {
  background: rgba(30, 30, 36, 0.7);
}

.ed-nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.ed-nav-link:hover,
.ed-nav-link.active {
  color: var(--ink-primary);
}

.nav-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  padding: 0 10px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* Giant Split Headline Stage (Dribbble Shot 1) */
.hero-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 20px;
}

.hero-marquee-headline {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.1rem, 8.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  pointer-events: none;
}

/* Clean Hollow Outline without Internal Font Self-Intersection Triangles */
.headline-outline {
  color: var(--frame-inner-bg);
  -webkit-text-stroke: 3.8px var(--ink-primary);
  paint-order: stroke fill;
}

.headline-solid {
  color: var(--ink-primary);
}

/* Three-Column Hero Composition */
.hero-composition {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 480px) minmax(170px, 1fr);
  align-items: end;
  gap: 24px;
  min-height: 560px;
  width: 100%;
}

/* Left Column: Bio, Value Prop & CTA */
.hero-left-col {
  padding-bottom: 12px;
  max-width: 390px;
  min-width: 0;
  position: relative;
  z-index: 10;
}

.role-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(22, 22, 24, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

[data-theme="dark"] .role-kicker {
  background: rgba(255, 255, 255, 0.07);
}

.kicker-dynamic {
  color: var(--accent-crimson);
  font-weight: 700;
}

.hero-role-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.hero-role-desc {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.62;
  margin-bottom: 22px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-mini-metrics {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  box-shadow: var(--shadow-pill);
  max-width: 100%;
}

.mini-metric {
  display: flex;
  flex-direction: column;
}

.mini-metric strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.1;
}

.mini-metric span {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.mini-metric-divider {
  width: 1px;
  height: 26px;
  background: var(--frame-border);
  flex-shrink: 0;
}

/* Center Column: Cutout Portrait Overlapping Giant Headline */
.hero-center-portrait {
  position: relative;
  width: 100%;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 600px;
  z-index: 6;
  margin-bottom: -44px; /* Bleeds cleanly into bottom edge of hero frame like Dribbble Shot 1 */
}

.portrait-backdrop-glow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, rgba(79, 70, 229, 0.06) 45%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  z-index: 0;
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  --spot-x: 52%;
  --spot-y: 48%;
  --spot-size: 215px;
  cursor: crosshair;
  z-index: 2;
}

.portrait-img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  transition: filter 0.45s ease, transform 0.5s var(--ease-out-expo);
  filter: drop-shadow(0 24px 38px rgba(15, 23, 42, 0.22));
}

/* Editorial Spotlight Mode (Default — Matches Dribbble Shot 1) */
html[data-portrait="editorial"] .portrait-base {
  filter: grayscale(100%) contrast(1.12) brightness(1.03) drop-shadow(0 24px 38px rgba(15, 23, 42, 0.22));
}

html[data-portrait="editorial"] .portrait-color-reveal {
  filter: saturate(1.24) contrast(1.06);
  -webkit-mask-image: radial-gradient(
    circle var(--spot-size) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.88) 54%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle var(--spot-size) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.88) 54%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Full Studio Color Mode (Toggled via Navbar Button) */
html[data-portrait="color"] .portrait-base {
  filter: saturate(1.12) contrast(1.04) drop-shadow(0 24px 38px rgba(15, 23, 42, 0.22));
}

html[data-portrait="color"] .portrait-color-reveal {
  opacity: 0;
  pointer-events: none;
}

/* Right Column: Stacked Social Pills (Dribbble Shot 1) */
.hero-right-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  padding-bottom: 16px;
  position: relative;
  z-index: 10;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  min-width: 150px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-primary);
  box-shadow: var(--shadow-pill);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-pill i {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.social-pill:hover {
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  border-color: transparent;
  transform: translateX(-4px);
}

/* ==========================================================================
   SECTION HEADERS & GIANT WATERMARKS (Dribbble Shots 2, 3, 4)
   ========================================================================== */
.watermark-header {
  position: relative;
  padding-top: 28px;
  margin-bottom: 24px;
  max-width: 100%;
}

.watermark-bg-text {
  position: absolute;
  top: -18px;
  left: -6px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10.5vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--ink-watermark);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.slash-section-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.slash-section-title.light-text {
  color: #ffffff;
}

/* ==========================================================================
   2. /SELECTED WORK SECTION (Dribbble Shot 2)
   ========================================================================== */
.work-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.work-filter-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.work-tab,
.skill-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--pill-bg);
  color: var(--ink-secondary);
  border: 1px solid var(--pill-border);
  transition: all 0.25s var(--ease-out-expo);
}

.work-tab:hover,
.skill-tab:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.work-tab.active,
.skill-tab.active {
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(22, 22, 24, 0.3);
}

/* 2-Column Editorial Work Grid */
.work-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
  width: 100%;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.work-card.hidden-card {
  display: none;
}

.work-preview-box {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-card);
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 22, 24, 0.08);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
}

.work-card:hover .work-preview-box {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

/* Preview Themes */
.theme-forest {
  background: linear-gradient(135deg, #dcebe3 0%, #c4ddd0 100%);
}
.theme-emerald {
  background: linear-gradient(135deg, #d9f0e6 0%, #bce3d3 100%);
}
.theme-obsidian {
  background: linear-gradient(135deg, #e2e4ec 0%, #cfd3e2 100%);
}
.theme-amber {
  background: linear-gradient(135deg, #f5ead8 0%, #ebd6b7 100%);
}
.theme-sunrise {
  background: linear-gradient(135deg, #f6e3dc 0%, #ecc9bd 100%);
}
.theme-royal {
  background: linear-gradient(135deg, #dde6f5 0%, #c6d6f0 100%);
}
.theme-crimson {
  background: linear-gradient(135deg, #f3dfe2 0%, #e6c4ca 100%);
}
.theme-plum {
  background: linear-gradient(135deg, #eae0f4 0%, #d8c6ec 100%);
}

[data-theme="dark"] .work-preview-box {
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .theme-forest { background: linear-gradient(135deg, #162821 0%, #1d352b 100%); }
[data-theme="dark"] .theme-emerald { background: linear-gradient(135deg, #142a24 0%, #1b3830 100%); }
[data-theme="dark"] .theme-obsidian { background: linear-gradient(135deg, #1d1f2b 0%, #262938 100%); }
[data-theme="dark"] .theme-amber { background: linear-gradient(135deg, #2b2318 0%, #382d1d 100%); }
[data-theme="dark"] .theme-sunrise { background: linear-gradient(135deg, #2d1e1b 0%, #3b2723 100%); }
[data-theme="dark"] .theme-royal { background: linear-gradient(135deg, #192233 0%, #222e46 100%); }
[data-theme="dark"] .theme-crimson { background: linear-gradient(135deg, #2d1a20 0%, #3d222a 100%); }
[data-theme="dark"] .theme-plum { background: linear-gradient(135deg, #251c30 0%, #322542 100%); }

/* Top-Left REAL PROJECT Badge (Dribbble Shot 2) */
.work-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(24, 24, 27, 0.82);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.work-badge.badge-exploration {
  background: rgba(30, 41, 59, 0.78);
}

/* Center Magnetic Circular Arrow Button (Dribbble Shot 2) */
.work-hover-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 8;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: #161618;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  opacity: 0.94;
  transition: transform 0.35s var(--ease-spring), background-color 0.25s ease, color 0.25s ease;
}

.work-card:hover .work-hover-arrow {
  transform: translate(-50%, -50%) scale(1.08);
  background: #161618;
  color: #ffffff;
}

/* Device Mockup Stages inside Work Cards */
.mockup-stage {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 22px;
  transition: transform 0.5s var(--ease-out-expo);
}

.work-card:hover .mockup-stage {
  transform: scale(1.03);
}

/* Split Stage: Phone + Web Panel */
.mockup-split-stage {
  justify-content: space-between;
  padding: 24px 4px 4px;
}

.device-phone {
  width: 48%;
  min-width: 0;
  height: 270px;
  background: #14181f;
  border-radius: 22px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.device-phone.dark-violet {
  background: #181628;
}

.device-phone.warm-orange {
  background: #231815;
}

.phone-notch {
  width: 48px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 12px;
}

.phone-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.ui-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 0.65rem;
}

.ui-pill-tag {
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 700;
  white-space: nowrap;
}

.ui-pill-tag.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.ui-pill-tag.violet { background: rgba(139, 92, 246, 0.25); color: #c4b5fd; }
.ui-pill-tag.orange { background: rgba(249, 115, 22, 0.25); color: #fdba74; }

.ui-dot-status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  white-space: nowrap;
}

.ui-hero-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
}

.ui-metric-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.ui-mini-stat {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ui-mini-stat small {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
}

.ui-mini-stat strong {
  font-size: 0.85rem;
  font-weight: 800;
}

.ui-progress-block {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 10px;
}

.ui-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  margin-bottom: 5px;
}

.ui-bar-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.ui-bar-fill.green { height: 100%; background: #22c55e; }
.ui-bar-fill.violet { height: 100%; background: #8b5cf6; }

.device-web-panel {
  width: 49%;
  min-width: 0;
  height: 235px;
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.web-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
}

.web-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  white-space: nowrap;
}

.web-chip-pass {
  color: #16a34a;
  white-space: nowrap;
}

.web-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 95px;
  padding: 10px 6px 4px;
}

.web-chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, #16a34a 0%, #86efac 100%);
  border-radius: 6px 6px 2px 2px;
}

.web-list-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.w-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #f8fafc;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.64rem;
}

.w-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.w-dot.red { background: #ef4444; }
.w-dot.amber { background: #f59e0b; }
.w-dot.green { background: #22c55e; }

.web-panel-caption {
  font-size: 0.64rem;
  font-weight: 600;
  color: #64748b;
}

/* Trio Phones Mockup Stage */
.mockup-trio-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding-top: 28px;
  width: 100%;
  min-width: 0;
}

.mini-phone {
  background: #ffffff;
  color: #18181b;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.mini-phone.p-left,
.mini-phone.p-right {
  width: 128px;
  height: 215px;
  opacity: 0.92;
  flex-shrink: 1;
}

.mini-phone.p-left {
  transform: rotate(-5deg) translateY(8px);
}

.mini-phone.p-right {
  transform: rotate(5deg) translateY(8px);
}

.mini-phone.p-center {
  width: 168px;
  height: 255px;
  background: #18181b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  z-index: 2;
  flex-shrink: 0;
}

.mp-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
}

.mp-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.mp-circle.emerald { background: #d1fae5; color: #065f46; }
.mp-circle.amber { background: #fef3c7; color: #92400e; }
.mp-circle.blue { background: #dbeafe; color: #1e40af; }
.mp-circle.crimson { background: #ffe4e6; color: #9f1239; }
.mp-circle.violet { background: #ede9fe; color: #5b21b6; }

.mp-scan-box,
.mp-route-map {
  height: 64px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  padding: 4px;
}

.mp-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mp-lines span {
  height: 6px;
  border-radius: 99px;
  background: #e2e8f0;
}

.mp-lines span:last-child {
  width: 68%;
}

.mp-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}
.mp-badge.amber { background: rgba(245, 158, 11, 0.25); color: #fcd34d; }
.mp-badge.blue { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.mp-badge.crimson { background: rgba(244, 63, 94, 0.25); color: #fda4af; }

.mp-title {
  font-size: 0.9rem;
  font-weight: 800;
}

.mp-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 9px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-card small {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.6);
}

.mp-card strong {
  font-size: 0.74rem;
}

.mp-tts-bar {
  font-size: 0.6rem;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Work Card Typography & Meta Pills */
.work-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 4px;
  min-width: 0;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  line-height: 1.3;
  overflow-wrap: break-word;
}

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

.meta-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* ==========================================================================
   3. /SERVICE SECTION — EXPANDABLE DARK SHOWCASE ACCORDION (Dribbble Shot 3)
   ========================================================================== */
.service-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.service-header-note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.service-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item {
  border-radius: 22px;
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  transition: background-color 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease;
  position: relative;
  min-width: 0;
}

.service-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  cursor: pointer;
  user-select: none;
}

.service-bar-left {
  max-width: 540px;
  min-width: 0;
  z-index: 2;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink-primary);
  transition: color 0.3s ease;
}

.service-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
  margin-top: 10px;
  display: none;
}

.service-Subpills {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-Subpills span {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 600;
}

/* Action Icons on Right (↗ when collapsed, ✕ when active) */
.service-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-primary);
  flex-shrink: 0;
  z-index: 3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-item .icon-close {
  display: none;
}

.service-item .icon-open {
  display: inline-block;
}

/* Tilted Floating 3-Phone Mockup Card inside Active Service Row (Dribbble Shot 3) */
.service-floating-card {
  position: absolute;
  right: 110px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg) scale(0.85);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2d2d35 0%, #1e1e24 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-floating);
  z-index: 4;
  transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-spring);
}

.sfc-screen {
  width: 78px;
  height: 132px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.sfc-screen.center {
  width: 88px;
  height: 146px;
  background: #141418;
  color: #ffffff;
}

.sfc-bar {
  width: 50%;
  height: 4px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.45);
  margin: 0 auto;
}

.sfc-Orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto;
}
.sfc-Orb.blue { background: radial-gradient(circle, #60a5fa, #2563eb); }
.sfc-Orb.indigo { background: radial-gradient(circle, #818cf8, #4f46e5); }
.sfc-Orb.emerald { background: radial-gradient(circle, #34d399, #059669); }
.sfc-Orb.orange { background: radial-gradient(circle, #fb923c, #ea580c); }
.sfc-Orb.crimson { background: radial-gradient(circle, #fb7185, #e11d48); }

.sfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.sfc-grid span {
  height: 14px;
  border-radius: 4px;
  background: #e2e8f0;
}

.sfc-caption {
  font-size: 0.55rem;
  font-weight: 700;
  text-align: center;
  color: #e2e8f0;
}

.sfc-card-mini {
  height: 36px;
  border-radius: 8px;
}
.sfc-card-mini.orange { background: #fed7aa; }
.sfc-card-mini.green { background: #bbf7d0; }
.sfc-card-mini.indigo { background: #c7d2fe; }
.sfc-card-mini.blue { background: #bfdbfe; }

/* Active State for Service Row (Matches Dark Expanded Card in Dribbble Shot 3) */
.service-item.active {
  background: #1c1c20;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 50px -15px rgba(0, 0, 0, 0.35);
  margin: 8px 0;
}

.service-item.active .service-bar {
  padding: 36px 38px;
}

.service-item.active .service-title {
  color: #ffffff;
}

.service-item.active .service-desc {
  display: block;
}

.service-item.active .service-Subpills {
  display: flex;
}

.service-item.active .service-action-icon {
  color: #ffffff;
}

.service-item.active .icon-close {
  display: inline-block;
}

.service-item.active .icon-open {
  display: none;
}

.service-item.active .service-floating-card {
  opacity: 1;
  transform: translateY(-50%) rotate(6deg) scale(1);
}

/* ==========================================================================
   4. /EXPERIENCE SECTION — DARK FRAMED STAGE (Dribbble Shot 4)
   ========================================================================== */
.experience-dark-frame .frame-inner {
  background: #17171b;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.08);
  padding: 48px 48px 56px;
}

.exp-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  margin-bottom: 42px;
}

.exp-watermark {
  position: absolute;
  top: -16px;
  left: -4px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.035);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.exp-years-label {
  position: relative;
  z-index: 2;
  font-size: 0.86rem;
  color: #a1a1aa;
  font-weight: 500;
}

.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-row {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 16px;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
  cursor: pointer;
}

.exp-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-row:hover,
.exp-row.active {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.exp-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.exp-company {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.exp-role {
  font-size: 0.86rem;
  color: #a1a1aa;
  font-weight: 500;
}

.exp-date {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: #f4f4f6;
  white-space: nowrap;
}

/* Floating Tilted 3-Phone Preview Card on Experience Hover/Active (Dribbble Shot 4) */
.exp-hover-preview {
  position: absolute;
  right: 230px;
  top: 50%;
  transform: translateY(-50%) rotate(5deg) scale(0.86);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: #27272e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  z-index: 10;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-spring);
}

.exp-row:hover .exp-hover-preview,
.exp-row.active .exp-hover-preview {
  opacity: 1;
  transform: translateY(-50%) rotate(5deg) scale(1);
}

.ehp-phone {
  width: 68px;
  height: 110px;
  background: #ffffff;
  color: #18181b;
  border-radius: 10px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ehp-phone.center {
  width: 76px;
  height: 120px;
  background: #141418;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ehp-tag {
  font-size: 0.52rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #0f172a;
  align-self: flex-start;
}

.ehp-tag.dark {
  background: #4f46e5;
  color: #ffffff;
}

.ehp-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
}

.ehp-bars i {
  flex: 1;
  background: #22c55e;
  border-radius: 3px;
  display: block;
}

.ehp-box {
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
}

.ehp-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ehp-lines b {
  height: 6px;
  border-radius: 4px;
  background: #cbd5e1;
  display: block;
}

/* Expandable Bullet Points inside Experience Row */
.exp-details {
  max-width: 640px;
  margin-top: 16px;
  padding-left: 18px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.exp-row.active .exp-details {
  display: flex;
}

.exp-details li {
  position: relative;
  font-size: 0.87rem;
  color: #d4d4d8;
  line-height: 1.58;
  list-style-type: disc;
}

.exp-details strong {
  color: #ffffff;
}

/* ==========================================================================
   5. /SKILLS & CREDENTIALS SECTION
   ========================================================================== */
.skills-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
  width: 100%;
}

.skill-ed-card {
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}

.skill-ed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(22, 22, 24, 0.22);
}

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

.sec-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.sec-top i {
  font-size: 1.2rem;
  color: var(--ink-primary);
}

.skill-ed-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.skill-ed-card p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.58;
  flex: 1;
}

.sec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sec-tags span {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* Credentials & References Split Grid */
.credentials-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.cred-box {
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  border-radius: 20px;
  padding: 28px;
  min-width: 0;
}

.cred-box-header {
  margin-bottom: 18px;
}

.cred-kicker {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-primary);
}

.cred-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cred-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--frame-border);
}

.cred-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cred-row strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.cred-row span {
  display: block;
  font-size: 0.81rem;
  color: var(--ink-secondary);
}

.ref-links {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  word-break: break-word;
}

.ref-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cred-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  font-size: 0.7rem !important;
  font-weight: 700;
  color: var(--ink-primary) !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   6. HAVE A PROJECT IN MIND? — CONTACT & SIGNATURE FOOTER (Dribbble Shot 5)
   ========================================================================== */
.contact-cta-inner {
  padding: 64px 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.9) 0%, var(--frame-inner-bg) 70%);
}

[data-theme="dark"] .contact-cta-inner {
  background:
    radial-gradient(circle at 50% 25%, rgba(38, 38, 48, 0.65) 0%, var(--frame-inner-bg) 70%);
}

.cta-center-stack {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}

.cta-giant-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.cta-subtitle {
  max-width: 580px;
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.cta-Main-actions {
  margin-top: 6px;
}

/* Contact Studio Grid (Direct Channels + Message Form) */
.contact-studio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  text-align: left;
  margin-bottom: 52px;
}

.contact-direct-card,
.contact-ed-form {
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-pill);
  min-width: 0;
}

.contact-direct-card h3,
.contact-ed-form h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-direct-card > p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.direct-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.direct-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  transition: transform 0.25s ease, border-color 0.25s ease;
  min-width: 0;
}

.direct-channel-item > div {
  min-width: 0;
}

.direct-channel-item:not(.no-link):hover {
  transform: translateX(4px);
  border-color: var(--ink-primary);
}

.dc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.direct-channel-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.direct-channel-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-primary);
  word-break: break-word;
}

.dc-arrow {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.cv-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact Form Fields */
.ed-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.ed-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  min-width: 0;
}

.ed-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.ed-field input,
.ed-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--frame-border);
  background: var(--frame-inner-bg);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-field input:focus,
.ed-field textarea:focus {
  outline: none;
  border-color: var(--ink-primary);
  box-shadow: 0 0 0 3px rgba(22, 22, 24, 0.08);
}

/* Bottom Signature Pill Footer (Dribbble Shot 5) */
.signature-pill-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  margin-bottom: 28px;
}

.identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 22px 8px 8px;
  border-radius: var(--radius-pill);
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out-expo);
}

.identity-pill:hover {
  transform: translateY(-2px);
}

.identity-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  box-shadow: var(--shadow-pill);
  transition: all 0.25s var(--ease-out-expo);
}

.footer-social-pill:hover {
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  border-color: transparent;
  transform: translateY(-2px);
}

.copyright-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--frame-border);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.back-top-inline {
  font-weight: 700;
  color: var(--ink-primary);
}

/* ==========================================================================
   PROJECT CASE STUDY MODAL
   ========================================================================== */
.case-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.case-modal {
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--frame-inner-elevated);
  border: 1px solid var(--frame-border);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease-out-expo);
}

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

.case-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.case-modal-header .work-badge {
  position: static;
}

.case-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.case-modal-subtitle {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.62;
  margin-bottom: 20px;
}

.case-modal-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 16px;
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
}

.case-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.case-highlight-item i {
  color: var(--accent-green);
  margin-top: 4px;
}

.case-modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

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

/* ==========================================================================
   MOBILE DRAWER & FLOATING BACK TO TOP
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  background: var(--frame-inner-elevated);
  z-index: 1600;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--frame-inner-bg);
  border: 1px solid var(--frame-border);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 10px 0;
  border-bottom: 1px solid var(--frame-border);
}

.drawer-link small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

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

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pill-dark-bg);
  color: var(--pill-dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  z-index: 900;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-composition {
    grid-template-columns: minmax(240px, 1fr) minmax(300px, 390px) minmax(150px, 1fr);
  }

  .service-floating-card {
    right: 84px;
    transform: translateY(-50%) rotate(6deg) scale(0.82);
  }

  .service-item.active .service-floating-card {
    transform: translateY(-50%) rotate(6deg) scale(0.88);
  }

  .exp-hover-preview {
    right: 180px;
  }
}

@media (max-width: 992px) {
  .editorial-nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    padding: 22px 24px 32px;
    min-height: auto;
  }

  .hero-stage {
    padding-top: 8px;
  }

  .hero-marquee-headline {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    font-size: clamp(2.35rem, 8.8vw, 4.8rem);
    margin: 4px 0 -28px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.02;
    z-index: 1;
  }

  .headline-outline {
    -webkit-text-stroke: 2.8px var(--ink-primary);
  }

  .hero-composition {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    min-height: auto;
    gap: 22px;
  }

  .hero-center-portrait {
    order: -1;
    width: 100%;
    max-width: 380px;
    height: 400px;
    margin: 0 auto;
    z-index: 4;
  }

  .portrait-wrapper {
    width: 100%;
    max-width: 380px;
    height: 400px;
    --spot-x: 52%;
    --spot-y: 46%;
    --spot-size: 190px;
  }

  .portrait-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
  }

  .hero-left-col {
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-right-socials {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-bottom: 4px;
  }

  .social-pill {
    min-width: 0;
  }

  .work-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-floating-card {
    position: relative;
    right: auto;
    top: auto;
    transform: rotate(3deg) !important;
    margin-top: 18px;
    display: none;
  }

  .service-item.active .service-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-item.active .service-floating-card {
    display: flex;
    align-self: center;
  }

  .service-action-icon {
    position: absolute;
    top: 22px;
    right: 22px;
  }

  .exp-hover-preview {
    display: none;
  }

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

  .credentials-split-grid,
  .contact-studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 10px 8px 40px;
    gap: 18px;
  }

  .editorial-frame {
    padding: 6px;
    border-radius: 22px;
  }

  .frame-inner,
  .experience-dark-frame .frame-inner,
  .contact-cta-inner {
    padding: 20px 14px 24px;
    border-radius: 17px;
  }

  /* Compact Single-Line Mobile Navbar */
  .editorial-navbar {
    gap: 8px;
    padding-bottom: 6px;
  }

  .editorial-navbar .status-pill {
    padding: 6px 11px;
    font-size: 0.72rem;
    gap: 6px;
    max-width: calc(100vw - 175px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .editorial-navbar .pill-btn-dark,
  .btn-tiny-label {
    display: none;
  }

  .icon-pill-btn,
  .hamburger {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }

  .hamburger {
    padding: 0 9px;
  }

  /* Mobile Hero Headline + Overlapping Portrait */
  .hero-marquee-headline {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
    gap: 0.16em;
    margin: 2px 0 -22px;
  }

  .headline-outline {
    -webkit-text-stroke: 2.3px var(--ink-primary);
  }

  .hero-center-portrait {
    width: 100%;
    max-width: 310px;
    height: 330px;
    margin: 0 auto;
  }

  .portrait-wrapper {
    width: 100%;
    max-width: 310px;
    height: 330px;
    --spot-x: 52%;
    --spot-y: 45%;
    --spot-size: 165px;
  }

  .portrait-img {
    width: 100%;
    height: 100%;
    max-height: 330px;
  }

  .hero-role-title {
    font-size: 1.5rem;
  }

  .hero-role-desc {
    font-size: 0.87rem;
    margin-bottom: 18px;
  }

  .hero-cta-group {
    width: 100%;
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-cta-group .pill-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.82rem;
  }

  .hero-mini-metrics {
    width: 100%;
    justify-content: space-around;
    padding: 10px 12px;
    gap: 8px;
  }

  .hero-right-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .social-pill {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  /* Selected Work Section on Mobile — Zero Overflow & Clean Mockups */
  .watermark-header {
    padding-top: 14px;
    margin-bottom: 16px;
  }

  .watermark-bg-text,
  .exp-watermark {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
    top: -8px;
    left: 0;
  }

  .work-toolbar {
    margin-bottom: 22px;
    gap: 12px;
  }

  .work-filter-tabs {
    gap: 6px;
    width: 100%;
  }

  .work-tab,
  .skill-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .work-showcase-grid {
    gap: 26px;
  }

  .work-preview-box {
    height: auto;
    min-height: 265px;
    padding: 54px 12px 16px;
  }

  .work-badge {
    top: 14px;
    left: 14px;
    font-size: 0.64rem;
    padding: 5px 11px;
  }

  /* Position arrow at top-right on mobile so it never obscures mockup text */
  .work-hover-arrow {
    top: 12px;
    right: 12px;
    left: auto;
    transform: none !important;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .mockup-stage {
    padding-top: 0;
  }

  /* Split Stage on Mobile */
  .mockup-split-stage {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .device-phone {
    width: 100%;
    height: auto;
    padding: 12px;
    border-radius: 16px;
  }

  .phone-notch {
    margin-bottom: 8px;
  }

  .device-web-panel {
    width: 100%;
    height: auto;
    padding: 12px;
    border-radius: 14px;
    gap: 8px;
  }

  .web-chart-bars {
    height: 56px;
  }

  /* Trio Phones on Mobile — Proportional 3-Column Grid inside Card */
  .mockup-trio-phones {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 6px;
    padding-top: 6px;
  }

  .mini-phone.p-left,
  .mini-phone.p-right {
    width: 100%;
    height: 168px;
    padding: 8px;
    border-radius: 14px;
    transform: none;
  }

  .mini-phone.p-center {
    width: 100%;
    height: 198px;
    padding: 10px;
    border-radius: 16px;
  }

  .mp-circle {
    width: 46px;
    height: 46px;
    font-size: 0.68rem;
  }

  .mp-scan-box,
  .mp-route-map {
    height: 48px;
    font-size: 0.62rem;
  }

  .mp-title {
    font-size: 0.78rem;
  }

  .mp-card {
    padding: 6px;
  }

  .mp-card strong {
    font-size: 0.66rem;
  }

  .mp-tts-bar {
    font-size: 0.54rem;
    padding: 5px 6px;
  }

  .work-card-title {
    font-size: 1.06rem;
  }

  .meta-pill {
    padding: 5px 11px;
    font-size: 0.72rem;
  }

  /* Service Accordion on Mobile */
  .service-bar,
  .service-item.active .service-bar {
    padding: 20px 16px;
  }

  .service-title {
    font-size: 1.08rem;
    padding-right: 36px;
  }

  .service-action-icon {
    top: 14px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .service-floating-card {
    max-width: 100%;
    padding: 10px;
    gap: 6px;
    transform: rotate(2deg) scale(0.94) !important;
  }

  .sfc-screen {
    width: 66px;
    height: 112px;
  }

  .sfc-screen.center {
    width: 76px;
    height: 124px;
  }

  /* Experience Rows on Mobile */
  .exp-header {
    padding-top: 14px;
    margin-bottom: 24px;
  }

  .exp-row {
    padding: 20px 8px;
  }

  .exp-row-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .exp-date {
    font-size: 0.88rem;
    color: #a1a1aa;
  }

  /* Skills & Credentials on Mobile */
  .skills-editorial-grid,
  .ed-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .skill-ed-card,
  .cred-box,
  .contact-direct-card,
  .contact-ed-form {
    padding: 20px 16px;
  }

  .cred-row {
    flex-direction: column;
    gap: 6px;
  }

  /* Footer Pills on Mobile */
  .signature-pill-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .identity-pill {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer-social-pill {
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .copyright-bar {
    flex-direction: column;
    text-align: center;
  }
}
