/* ==========================================================================
   ADITYA PUTRA RAMADHAN — STUDIO PORTFOLIO DESIGN SYSTEM
   Vibrant Organic Light-Studio Aesthetic (Based on Reference Design)
   ========================================================================== */

:root {
  /* Canvas & Studio Surfaces */
  --bg-canvas: #fafafc;
  --bg-white: #ffffff;
  --bg-surface: #f4f4f7;
  --bg-surface-hover: #ebecef;

  /* Accent Colors */
  --color-amber: #f59e0b;
  --color-amber-light: #fbbf24;
  --color-amber-soft: #fef3c7;
  --color-dark: #111827;
  --color-dark-surface: #1f2937;
  
  /* Text & Typography */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-amber: #d97706;

  /* Borders & Hairlines */
  --border-subtle: #e5e7eb;
  --border-medium: #d1d5db;
  --border-amber: rgba(245, 158, 11, 0.4);

  /* Shadows (Multi-layered Studio Soft Shadows) */
  --shadow-card: 0 10px 25px -4px rgba(0, 0, 0, 0.05), 0 4px 8px -2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 35px -6px rgba(0, 0, 0, 0.1), 0 8px 12px -3px rgba(0, 0, 0, 0.04);
  --shadow-pill: 0 12px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-drawer: -15px 0 40px rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Browser Surface Theming */
::selection {
  background-color: #fde68a;
  color: #111827;
}

:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f1f4;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Ambient Dot Grid Pattern (As seen in reference design) */
.canvas-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dot-grid {
  position: absolute;
  background-image: radial-gradient(#d1d5db 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.85;
}

.dot-grid-top {
  top: 6rem;
  left: 3rem;
  width: 180px;
  height: 220px;
}

.dot-grid-mid {
  top: 48rem;
  right: 5rem;
  width: 140px;
  height: 160px;
}

.dot-grid-bottom {
  top: 95rem;
  left: 4rem;
  width: 160px;
  height: 200px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVBAR (Clean Studio Header)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring);
}

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

.brand-logo-apr {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(17, 24, 39, 0.15));
  transition: transform 0.25s var(--ease-spring), filter 0.25s ease;
}

.brand:hover .brand-logo-apr {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.3));
}

.apr-svg-mark {
  width: 38px;
  height: 38px;
  display: block;
}

.brand-name-apr {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
}

.brand-dot {
  color: var(--color-amber);
  font-size: 1.5rem;
  line-height: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-amber);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-mini-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-mini-link {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.social-mini-link:hover {
  color: var(--color-dark);
}

.social-mini-link svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.65rem;
  border-radius: 9999px; /* Rounded pill style */
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
  border: 2px solid transparent;
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-amber {
  background-color: var(--color-amber);
  color: var(--color-dark);
  border-color: var(--color-amber);
}

.btn-amber:hover {
  background-color: var(--color-amber-light);
  border-color: var(--color-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.btn-black {
  background-color: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

.btn-black:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.25);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION (Matching Reference Composition)
   ========================================================================== */
.hero-section {
  padding-top: 3rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.hero-copy-col {
  position: relative;
  z-index: 2;
}

/* Watermark Script Signature in background of title */
.watermark-signature {
  position: absolute;
  top: -2.5rem;
  left: -0.5rem;
  font-family: 'Plus Jakarta Sans', cursive, sans-serif;
  font-size: 6.5rem;
  font-weight: 800;
  color: #e5e7eb;
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.hero-role-accent {
  color: var(--color-amber);
  display: inline-block;
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-bio strong {
  color: var(--color-dark);
  font-weight: 700;
}

.hero-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-value-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.meta-value-btn:hover {
  color: var(--color-amber);
}

.icon-sm {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Hero Visual Column (Organic Yellow Blob with Photo Cutout) */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 520px;
}

/* Organic Sunshine Blob */
.organic-sun-blob {
  position: absolute;
  top: 5%;
  right: 0%;
  width: 92%;
  height: 92%;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 42% 58% 68% 32% / 45% 45% 55% 55%;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.35);
  z-index: 1;
  animation: blobMorph 14s ease-in-out infinite alternate;
}

@keyframes blobMorph {
  0% { border-radius: 42% 58% 68% 32% / 45% 45% 55% 55%; }
  50% { border-radius: 55% 45% 38% 62% / 58% 42% 58% 42%; }
  100% { border-radius: 42% 58% 68% 32% / 45% 45% 55% 55%; }
}

/* Topographic Contour Dark Blob (Left side) */
.topo-blob-dark {
  position: absolute;
  top: -8%;
  left: -12%;
  width: 220px;
  height: 220px;
  z-index: 0;
  opacity: 0.95;
}

.topo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

/* Photo Cutout (Aditya in suit, transparent background) */
.photo-cutout-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  height: 95%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-cutout-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.18));
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  border: 1px solid var(--border-subtle);
  animation: floatSoft 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 18%;
  left: -8%;
  animation-delay: 0.5s;
}

.badge-bottom-right {
  bottom: 12%;
  right: -6%;
  animation-delay: 1.5s;
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   FLOATING HIGHLIGHT CARDS (3 Pill Cards under Hero)
   ========================================================================== */
.floating-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.pill-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-pill);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
}

.pill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-amber);
}

.pill-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-icon-circle.check-dark {
  background-color: var(--color-dark);
  color: #ffffff;
}

.pill-icon-circle.check-amber {
  background-color: var(--color-amber);
  color: var(--color-dark);
}

.pill-icon-circle.check-grey {
  background-color: #e5e7eb;
  color: var(--color-dark);
}

.pill-icon-circle svg {
  width: 18px;
  height: 18px;
}

.pill-info {
  flex: 1;
}

.pill-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

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

.pill-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.pill-card:hover .pill-arrow {
  color: var(--color-dark);
  transform: translateX(3px);
}

.pill-arrow svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   ABOUT ME SECTION (Mirroring Reference Middle Section)
   ========================================================================== */
.about-section {
  padding-block: 6rem;
  background-color: #ffffff;
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

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

.about-blob-stage {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-sun-blob {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 370px;
  height: 370px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 52% 48% 63% 37% / 42% 56% 44% 58%;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.28);
  z-index: 1;
  animation: blobMorph 16s ease-in-out infinite alternate;
}

.about-photo-wrapper {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 260px;
  margin-left: 3rem;
  margin-top: 1.5rem;
  transform: rotate(3deg);
  transition: transform 0.3s var(--ease-spring);
}

.about-photo-wrapper:hover {
  transform: rotate(0deg) scale(1.04);
}

.about-casual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 5px solid #ffffff;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.2);
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: -0.85rem;
  right: -0.85rem;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  animation: floatSoft 4s ease-in-out infinite alternate;
}

.badge-dot-enjoy {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.about-greeting-wrapper {
  position: absolute;
  top: 1.5rem;
  left: -0.5rem;
  z-index: 3;
  transform: rotate(-12deg);
  pointer-events: none;
}

.about-greeting-text {
  font-family: var(--font-sans);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 0.92;
  color: var(--color-dark);
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
  letter-spacing: -0.04em;
  display: block;
}

.about-dark-pebble {
  position: absolute;
  bottom: 0.5rem;
  right: -1rem;
  width: 75px;
  height: 95px;
  background-color: var(--color-dark);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
}

/* Right Content */
.section-badge-vertical {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.about-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.about-body-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.social-channels-row {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.social-row-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.social-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pill-gh { background-color: #24292e; color: #ffffff; }
.pill-li { background-color: #0077b5; color: #ffffff; }
.pill-mail { background-color: #ea4335; color: #ffffff; }
.pill-wa { background-color: #25d366; color: #ffffff; }
.social-pill:hover { transform: translateY(-2px); opacity: 0.92; }

/* ==========================================================================
   SKILLS & CAPABILITIES (Mirroring Reference Bottom Section)
   ========================================================================== */
.skills-section {
  padding-block: 6rem;
  background-color: var(--bg-canvas);
}

.skills-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 4.5rem;
}

.skills-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.skills-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

/* Progress Bars */
.progress-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.skill-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.skill-pct {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-amber);
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--color-amber);
  border-radius: 9999px;
  transition: width 1s var(--ease-spring);
}

/* 4 Squircle Feature Cards (Right Column) */
.skills-cards-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.squircle-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s var(--ease-spring);
}

.squircle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-amber);
}

.squircle-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.squircle-icon-box svg {
  width: 26px;
  height: 26px;
}

.squircle-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.squircle-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   FEATURED PROJECTS SECTION
   ========================================================================== */
.projects-section {
  padding-block: 6rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.text-center {
  text-align: center;
  margin-inline: auto;
}

.section-title-wrap {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

.badge-tag-amber {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-dark);
  background-color: var(--color-amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-heading-large {
  font-size: clamp(2.1rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-sub-large {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  color: var(--color-dark);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background-color: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

/* Project Cards Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.25s var(--ease-spring);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-amber);
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background-color: var(--color-amber-soft);
  color: var(--text-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

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

.project-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
}

.project-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-amber);
  font-family: var(--font-mono);
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f9fafb;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

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

.metric-val {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-dark);
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: #f3f4f6;
  border: 1px solid var(--border-subtle);
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.3;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.card-client-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-client-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.card-client-name {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.45;
  word-break: break-word;
}

.btn-inspect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #f9fafb;
  border: 1px solid var(--border-subtle);
  color: var(--color-dark);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  transition: all 0.22s var(--ease-spring);
}

.btn-inspect:hover {
  background-color: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}

.btn-inspect .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.btn-inspect:hover .icon {
  stroke: var(--color-amber);
  transform: translateX(4px);
}

/* ==========================================================================
   EXPERIENCE TIMELINE
   ========================================================================== */
.experience-section {
  padding-block: 6rem;
  background-color: var(--bg-canvas);
}

.timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  transition: all 0.25s var(--ease-spring);
}

.timeline-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-medium);
}

.t-badge-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.t-period {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
}

.t-grade-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  background-color: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  width: fit-content;
}

.t-role {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.t-company {
  color: var(--color-amber);
}

.t-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.t-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.t-bullets li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.t-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-weight: bold;
}

.t-bullets li strong {
  color: var(--color-dark);
}

.t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.t-tags .tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background-color: #f3f4f6;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   AWARDS & CERTIFICATIONS
   ========================================================================== */
.awards-section {
  padding-block: 6rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.awards-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.award-box {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.25s var(--ease-spring);
}

.award-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.award-box.gold-border {
  border-color: rgba(245, 158, 11, 0.4);
}

.award-box.silver-border {
  border-color: rgba(156, 163, 175, 0.4);
}

.a-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trophy-circle {
  font-size: 1.75rem;
}

.rank-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-dark);
  background-color: var(--color-amber-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.a-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.35;
}

.a-issuer {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.a-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.a-badge.verified {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding-block: 6rem;
  background-color: var(--bg-canvas);
}

.contact-studio-box {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: #f9fafb;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.channel-card:hover {
  background-color: #ffffff;
  border-color: var(--color-amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.ch-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-icon.mail { background-color: #fee2e2; color: #ef4444; }
.ch-icon.wa { background-color: #d1fae5; color: #10b981; }
.ch-icon.li { background-color: #dbeafe; color: #2563eb; }
.ch-icon.gh { background-color: #f3f4f6; color: #111827; }

.ch-icon svg {
  width: 20px;
  height: 20px;
}

.ch-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ch-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.ch-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Resume Ribbon */
.resume-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
}

.ribbon-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   TECHNICAL DRAWER / MODAL
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s;
}

.project-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 100%;
  background-color: #ffffff;
  border-left: 1px solid var(--border-medium);
  box-shadow: var(--shadow-drawer);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-spring);
  z-index: 101;
}

.project-modal.active .modal-container {
  transform: translateX(0);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.modal-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-amber);
}

.modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-block: 0.35rem 0.2rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.btn-close {
  width: 36px;
  height: 36px;
  background-color: #f3f4f6;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-close:hover {
  background-color: var(--color-dark);
  color: #ffffff;
}

.btn-close svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.modal-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
}

.modal-metrics-row .ledger-item {
  background-color: #f9fafb;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: var(--color-amber);
  border-radius: 2px;
}

.modal-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.architecture-box {
  background-color: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
}

.architecture-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fde68a;
  line-height: 1.55;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.tech-tag.highlight {
  background-color: #f9fafb;
  border-color: #d1d5db;
  color: var(--color-dark);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 150;
  background-color: var(--color-dark);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease;
  pointer-events: none;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-check {
  color: #34d399;
  font-weight: bold;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.5rem;
  background-color: #ffffff;
}

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

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
}

.back-to-top:hover {
  color: var(--color-amber);
  background-color: var(--color-amber-soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE MENU TOGGLE & DRAWER SYSTEM
   ========================================================================== */
.mobile-toggle-btn {
  display: none;
  background: #f3f4f6;
  border: 1px solid var(--border-subtle);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  transition: all 0.2s ease;
}

.mobile-toggle-btn:hover {
  background-color: var(--color-amber-soft);
}

.mobile-toggle-btn .bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-toggle-btn.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle-btn.active .bar-2 {
  opacity: 0;
}
.mobile-toggle-btn.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.active {
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.active .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background-color: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-spring);
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  background: #f3f4f6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-close-btn:hover {
  background-color: #e5e7eb;
}

.mobile-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-block: 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background-color: var(--color-amber-soft);
  color: var(--color-amber);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.mobile-social-row {
  display: flex;
  gap: 0.75rem;
}

.social-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #f3f4f6;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-chip:hover {
  background-color: #e5e7eb;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .visual-stage {
    margin-inline: auto;
  }

  .floating-cards-row {
    grid-template-columns: 1fr;
  }

  .about-split-layout,
  .skills-split-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Hide desktop-only nav items */
  .nav-menu,
  .social-mini-group,
  .btn-nav {
    display: none;
  }

  /* Show mobile hamburger */
  .mobile-toggle-btn {
    display: flex;
  }

  /* Container & Layout Spacing */
  .container {
    padding-inline: 1.25rem;
  }

  .section {
    padding-block: 4rem;
  }

  .watermark-signature {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title-wrap {
    text-align: left;
    margin-bottom: 2.5rem;
  }

  /* HERO SECTION (Mobile Optimized Proportions) */
  .hero-section {
    padding-block: 3rem 2rem;
  }

  .hero-layout {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-role-accent {
    font-size: 2.25rem;
  }

  .hero-bio {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    justify-content: center;
    width: 100%;
  }

  /* Hero Visual Stage Proportional Fit */
  .hero-visual-col {
    margin-top: 0.5rem;
    overflow: visible;
  }

  .visual-stage {
    width: 100%;
    max-width: 310px;
    height: 330px;
    margin-inline: auto;
    overflow: visible;
  }

  .topo-blob-dark {
    top: -10px;
    left: -10px;
    width: 140px;
    height: 140px;
  }

  .organic-sun-blob {
    width: 260px;
    height: 260px;
    top: 20px;
    left: 25px;
  }

  .photo-cutout-wrapper {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
  }

  .hero-cutout-img {
    width: 240px;
    max-height: 300px;
  }

  .floating-badge.badge-top-left {
    top: 1rem;
    left: -0.25rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .floating-badge.badge-bottom-right {
    bottom: 1rem;
    right: -0.25rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  /* 3 Floating Highlight Cards */
  .floating-cards-row {
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .pill-card {
    padding: 1.15rem 1.25rem;
  }

  /* ABOUT ME / "HI THERE!" (100% Mobile Contained) */
  .about-section {
    padding-block: 3.5rem;
    overflow: hidden;
  }

  .about-split-layout {
    gap: 2rem;
  }

  .about-visual-col {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-blob-stage {
    width: 100%;
    max-width: 310px;
    height: 290px;
    margin-inline: auto;
    overflow: visible;
  }

  .about-sun-blob {
    width: 250px;
    height: 250px;
    top: 5%;
    left: 8%;
  }

  .about-photo-wrapper {
    width: 190px;
    height: 190px;
    margin-left: 1.8rem;
    margin-top: 1rem;
    transform: rotate(2deg);
  }

  .about-casual-img {
    border-width: 4px;
    border-radius: 20px;
  }

  .about-photo-badge {
    bottom: -0.5rem;
    right: -0.3rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
    gap: 0.35rem;
  }

  .about-greeting-wrapper {
    top: 0.6rem;
    left: -0.2rem;
    transform: rotate(-10deg);
  }

  .about-greeting-text {
    font-size: 2.65rem;
    line-height: 0.92;
  }

  .about-dark-pebble {
    width: 50px;
    height: 65px;
    bottom: 0;
    right: 0;
  }

  .about-content-col {
    margin-top: 0.5rem;
  }

  .about-heading {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .about-body-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* FEATURED PROJECTS (Touch-friendly Filter & Compact Cards) */
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-card {
    padding: 1.35rem 1.25rem;
  }

  .card-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .metric-val {
    font-size: 0.9rem;
  }

  .metric-lbl {
    font-size: 0.68rem;
  }

  /* TECHNICAL DRAWER (Native Mobile Bottom-Sheet) */
  .project-modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-spring);
  }

  .project-modal.active .modal-container {
    transform: translateY(0);
  }

  .modal-header {
    position: relative;
    padding: 1.75rem 1.25rem 0.85rem 1.25rem;
  }

  /* Bottom sheet drag handle indicator */
  .modal-header::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background-color: #d1d5db;
    border-radius: 9999px;
    position: absolute;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .modal-title {
    font-size: 1.35rem;
  }

  .modal-body {
    padding: 1rem 1.25rem 2rem 1.25rem;
    gap: 1.25rem;
  }

  /* 3 Metric Cards side-by-side without orphan */
  .modal-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .modal-metrics-row .ledger-item {
    padding: 0.65rem 0.35rem;
    text-align: center;
  }

  .modal-metrics-row .ledger-metric {
    font-size: 0.92rem !important;
  }

  .modal-metrics-row .ledger-label {
    font-size: 0.68rem !important;
    line-height: 1.2;
  }

  .architecture-box {
    padding: 0.85rem;
    font-size: 0.78rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* SKILLS & AWARDS */
  .skills-cards-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .award-card {
    padding: 1.5rem 1.25rem;
  }

  /* CONTACT STUDIO & RIBBON */
  .contact-studio-box {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }

  .section-heading-large {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .channel-card {
    padding: 1rem;
  }

  .resume-ribbon {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .resume-ribbon .btn {
    width: 100%;
    justify-content: center;
  }

  /* FOOTER */
  .footer {
    padding-block: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .back-to-top {
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .hero-cta-group {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-role-accent {
    font-size: 2rem;
  }

  .modal-metrics-row {
    grid-template-columns: 1fr;
  }
}
