/* ==========================================================================

   PERSONAL.EXE — LIQUID GLASS PORTFOLIO DESIGN SYSTEM

   Bright, Clean, Apple-Inspired Aesthetic with Pure White & Silver Surfaces

   ========================================================================== */



:root {

  /* Color Palette */

  --bg-pure: #ffffff;

  --bg-subtle: #f8fafc;

  --bg-canvas: #f1f4f9;

  --bg-surface-tint: rgba(243, 246, 251, 0.7);



  /* Typography Colors (Near-black for crisp contrast) */

  --text-primary: #0f172a;

  --text-secondary: #475569;

  --text-muted: #64748b;

  --text-light: #94a3b8;

  --text-ghost: #cbd5e1;



  /* Liquid Glass Surfaces */

  --glass-bg: rgba(255, 255, 255, 0.72);

  --glass-bg-hover: rgba(255, 255, 255, 0.88);

  --glass-bg-pill: rgba(255, 255, 255, 0.78);

  --glass-bg-card: rgba(255, 255, 255, 0.75);

  --glass-bg-subtle: rgba(255, 255, 255, 0.45);



  /* Delicate Glass Borders */

  --glass-border: rgba(255, 255, 255, 0.85);

  --glass-border-outer: rgba(0, 0, 0, 0.05);

  --glass-line: rgba(226, 232, 240, 0.8);

  --glass-divider: rgba(0, 0, 0, 0.06);



  /* Layered Shadows & Restrained Specular Highlights */

  --shadow-glass-sm: 0 4px 16px -1px rgba(0, 0, 0, 0.03), 0 2px 6px -1px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.95);

  --shadow-glass-md: 0 12px 32px -4px rgba(0, 0, 0, 0.04), 0 4px 12px -2px rgba(0, 0, 0, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.95);

  --shadow-glass-lg: 0 24px 60px -8px rgba(0, 0, 0, 0.06), 0 8px 24px -3px rgba(0, 0, 0, 0.03), inset 0 1px 1.5px rgba(255, 255, 255, 1);

  --shadow-glass-hover: 0 20px 48px -6px rgba(0, 0, 0, 0.07), 0 8px 18px -2px rgba(0, 0, 0, 0.03), inset 0 1px 1.5px rgba(255, 255, 255, 1);



  /* Backdrop Blur Filters */

  --glass-blur: blur(24px) saturate(180%);

  --glass-blur-heavy: blur(36px) saturate(200%);



  /* Fonts */

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;

  --font-mono: "JetBrains Mono", Menlo, Consolas, monospace;



  /* Fluid Layout Units */

  --container-max: 1140px;

  --header-height: 64px;

}



/* ==========================================================================

   CSS Reset & Base Rules

   ========================================================================== */



*, *::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-pure);

  color: var(--text-primary);

  font-family: var(--font-sans);

  font-size: 1rem;

  line-height: 1.65;

  letter-spacing: -0.012em;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

  min-height: 100vh;

  position: relative;

}



/* Fluid Apple Ambient Background Lights */



body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -10;



    background:

        radial-gradient(

            ellipse at 15% 25%,

            rgba(151, 226, 207, 0.45),

            transparent 55%

        ),

        radial-gradient(

            ellipse at 85% 75%,

            rgba(184, 176, 255, 0.45),

            transparent 55%

        ),

        radial-gradient(

            ellipse at 75% 15%,

            rgba(255, 192, 203, 0.25),

            transparent 50%

        ),

        radial-gradient(

            ellipse at 15% 85%,

            rgba(173, 216, 255, 0.35),

            transparent 55%

        ),

        #ffffff;

}



/* Ultra-subtle Micro-dot Texture */

body::after {

  content: "";

  position: fixed;

  inset: 0;

  pointer-events: none;

  z-index: -9;

  opacity: 0.25;

  background-image: radial-gradient(#64748b 0.65px, transparent 0.65px);

  background-size: 32px 32px;

}



a {

  color: inherit;

  text-decoration: none;

  transition: color 0.2s ease, opacity 0.2s ease;

}



button {

  font-family: inherit;

  border: none;

  background: none;

  cursor: pointer;

}



img, svg {

  display: block;

  max-width: 100%;

}



:focus-visible {

  outline: 2px solid var(--text-primary);

  outline-offset: 3px;

  border-radius: 6px;

}



/* ==========================================================================

   Layout Containers & Section Headings

   ========================================================================== */



.section {

  position: relative;

}



.content-section {

  padding: 120px 0;

}



.section-container {

  width: min(var(--container-max), calc(100% - 48px));

  margin: 0 auto;

}



.section-header {

  margin-bottom: 50px;

}



.section-badge {

  display: inline-flex;

  align-items: center;

  font-family: var(--font-mono);

  font-size: 0.75rem;

  font-weight: 600;

  letter-spacing: 0.14em;

  color: var(--text-muted);

  text-transform: uppercase;

  margin-bottom: 12px;

}



.section-title {

  font-size: clamp(2.25rem, 5vw, 3.75rem);

  font-weight: 700;

  letter-spacing: -0.04em;

  line-height: 1.08;

  color: var(--text-primary);

}



.section-title .title-muted {

  color: var(--text-light);

  font-weight: 600;

}



.section-subtitle {

  margin-top: 14px;

  font-size: 1.05rem;

  color: var(--text-secondary);

  max-width: 580px;

  line-height: 1.7;

}



/* ==========================================================================

   Liquid Glass Card Core Class

   ========================================================================== */



.glass-card {

  position: relative;

  background: var(--glass-bg-card);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  outline: 1px solid var(--glass-border-outer);

  box-shadow: var(--shadow-glass-md);

  border-radius: 24px;

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),

              box-shadow 0.35s ease,

              border-color 0.35s ease,

              background-color 0.35s ease;

}



.glass-card:hover {

  border-color: rgba(255, 255, 255, 1);

  box-shadow: var(--shadow-glass-hover);

}



/* ==========================================================================

   HELLO WELCOME SCREEN

   Soft-white, centered 'hello', fluid scale & ambient blur

   ========================================================================== */



.hello-screen {

  position: fixed;

  inset: 0;

  z-index: 99999;

  display: flex;

  align-items: center;

  justify-content: center;

  background: transparent;

  opacity: 1;

  visibility: visible;

  transform: scale(1);

  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),

              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),

              visibility 0.85s;

}



.hello-screen.dismissed {

  opacity: 0;

  visibility: hidden;

  transform: scale(1.03);

  pointer-events: none;

}

/* Leave only the Satin background visible behind the transparent intro. */
body.site-loading { overflow: hidden; }
body.site-loading > :is(.navbar-wrapper, main, .site-footer, .music-capsule, .notification-region) { visibility: hidden; }
.hello-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hello-canvas { display: block; width: min(720px, calc(100vw - 32px), 140vh); height: auto; background: transparent; }
.hello-canvas[hidden], .hello-word[hidden] { display: none; }



.hello-ambient {

  position: absolute;

  inset: 0;

  pointer-events: none;

  overflow: hidden;

}



.hello-orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(80px);

  opacity: 0.45;

  animation: floatAmbient 12s ease-in-out infinite alternate;

}



.hello-orb.orb-1 {

  width: 420px;

  height: 420px;

  background: rgba(226, 232, 240, 0.6);

  top: 15%;

  left: 18%;

}



.hello-orb.orb-2 {

  width: 380px;

  height: 380px;

  background: rgba(235, 239, 248, 0.7);

  bottom: 20%;

  right: 15%;

  animation-delay: -5s;

}



.hello-orb.orb-3 {

  width: 260px;

  height: 260px;

  background: rgba(220, 226, 238, 0.45);

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  animation-delay: -8s;

}



.hello-container {

  position: relative;

  z-index: 2;

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 28px;

}





.hello-word {

    font-family: 'Pacifico', cursive;

    font-size: clamp(5rem, 12vw, 9rem);

    font-weight: 400;

    letter-spacing: -0.04em;

    line-height: 1.5;



    background: linear-gradient(

        110deg,

        #009caa 0%,

        #7acb82 18%,

        #f5d400 35%,

        #ff7864 52%,

        #c56bc6 73%,

        #54b9df 100%

    );



    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;



    opacity: 0;

    transform: scale(0.95);



    animation: helloEnter 1.4s

        cubic-bezier(0.16, 1, 0.3, 1)

        0.2s forwards;



    user-select: none;

}





/* Fallback button if autoplay blocked */

.hello-fallback {

  opacity: 0;

  transform: translateY(8px);

  transition: opacity 0.45s ease, transform 0.45s ease;

  pointer-events: none;

}



.hello-fallback.visible {

  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

}



.hello-enter-btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 12px 22px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);

  color: var(--text-primary);

  font-size: 0.9rem;

  font-weight: 600;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;

}



.hello-enter-btn:hover {

  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.98);

  box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);

}



.hello-btn-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--text-primary);

}



@keyframes helloEnter {

  0% {

    opacity: 0;

    transform: scale(0.95) translateY(6px);

  }

  100% {

    opacity: 1;

    transform: scale(1) translateY(0);

  }

}



@keyframes floatAmbient {

  0% { transform: translate3d(0, 0, 0) scale(1); }

  50% { transform: translate3d(25px, -35px, 0) scale(1.06); }

  100% { transform: translate3d(-20px, 25px, 0) scale(0.96); }

}



/* ==========================================================================

   FLOATING PILL NAVBAR

   Apple-inspired floating pill, translucent glass, refined hover

   ========================================================================== */



.navbar-wrapper {

  position: fixed;

  top: 20px;

  left: 0;

  right: 0;

  z-index: 1000;

  display: flex;

  justify-content: center;

  padding: 0 16px;

  pointer-events: none;

}





.glass-navbar {

    pointer-events: auto;

    width: min(840px, 100%);

    height: var(--header-height);

    padding: 0 10px 0 18px;



    display: flex;

    align-items: center;

    justify-content: space-between;



    border-radius: 999px;



    /* Kaca transparan */

    background: rgba(255, 255, 255, 0.18);



    /* Efek blur kaca */

    backdrop-filter: blur(25px) saturate(180%);

    -webkit-backdrop-filter: blur(25px) saturate(180%);



    /* Pinggiran kaca */

    border: 1px solid rgba(255, 255, 255, 0.65);



    /* Pantulan cahaya */

    box-shadow:

        0 8px 32px rgba(31, 38, 135, 0.08),

        inset 0 1px 1px rgba(255, 255, 255, 0.9),

        inset 0 -1px 1px rgba(255, 255, 255, 0.3);



    transition:

        background 0.3s ease,

        box-shadow 0.3s ease,

        transform 0.3s ease;

}





.nav-brand {

  display: flex;

  align-items: center;

  gap: 9px;

  font-weight: 700;

  font-size: 1.05rem;

  letter-spacing: -0.03em;

  color: var(--text-primary);

}



.brand-monogram {

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background: var(--text-primary);

  color: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: -0.04em;

}



.brand-period {

  color: var(--text-light);

}



.nav-links {

  display: flex;

  align-items: center;

  gap: 4px;

}



.nav-item {

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 0.86rem;

  font-weight: 500;

  color: var(--text-secondary);

  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

}



.nav-item:hover {

  color: var(--text-primary);

  background: rgba(0, 0, 0, 0.04);

}



.nav-item.active {

  color: var(--text-primary);

  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);

  font-weight: 600;

}



.nav-aside {

  display: flex;

  align-items: center;

  gap: 8px;

}



.nav-cta-pill {

  padding: 8px 16px;

  border-radius: 999px;

  background: var(--text-primary);

  color: #ffffff;

  font-size: 0.82rem;

  font-weight: 600;

  transition: transform 0.25s ease, opacity 0.25s ease;

}



.nav-cta-pill:hover {

  opacity: 0.88;

  transform: scale(0.98);

}



.menu-toggle {

  display: none;

  width: 40px;

  height: 40px;

  border-radius: 50%;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  background: rgba(0, 0, 0, 0.03);

}



.menu-toggle .bar {

  width: 18px;

  height: 1.8px;

  background: var(--text-primary);

  border-radius: 2px;

  transition: transform 0.25s ease, opacity 0.25s ease;

}



/* ==========================================================================

   HERO SECTION

   Generous whitespace, framed profile with liquid glass bezel

   ========================================================================== */



.hero-section {

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 140px 0 80px;

  overflow: hidden;

}



.hero-ambient {

  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: 1;

}



.hero-orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(90px);

  pointer-events: none;

}



.hero-orb-1 {

  width: 450px;

  height: 450px;

  background: rgba(220, 228, 242, 0.5);

  top: 10%;

  left: 5%;

}



.hero-orb-2 {

  width: 400px;

  height: 400px;

  background: rgba(235, 238, 245, 0.6);

  bottom: 10%;

  right: 5%;

}



.hero-grid-pattern {

  position: absolute;

  inset: 0;

  opacity: 0.4;

  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 75%);

  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 75%);

  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),

                    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);

  background-size: 50px 50px;

}



.hero-container {

  position: relative;

  z-index: 2;

  text-align: center;

  max-width: 820px;

  display: flex;

  flex-direction: column;

  align-items: center;

}



/* Profile Capsule with Liquid Glass Bezel */

.profile-capsule {

  position: relative;

  width: 176px;

  height: 176px;

  margin-bottom: 24px;

}



.profile-glow {

  position: absolute;

  inset: -12px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(226, 232, 240, 0.7) 0%, transparent 70%);

  filter: blur(15px);

  pointer-events: none;

}



.profile-bezel {

  position: relative;

  width: 100%;

  height: 100%;

  border-radius: 50%;

  padding: 6px;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 243, 248, 0.6) 100%);

  border: 1px solid rgba(255, 255, 255, 0.9);

  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.08), inset 0 2px 4px rgba(255, 255, 255, 1);

}



.profile-image-frame {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  overflow: hidden;

  position: relative;

  background: #f1f5f9;

  border: 1px solid rgba(0, 0, 0, 0.04);

}



.profile-img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center 35%;

  transform: scale(1.15);

  transform-origin: 75% 35%;

  transition: transform 0.4s ease;

}



.profile-capsule:hover .profile-img {

  transform: scale(1.196);

}



.profile-initials {

  position: absolute;

  inset: 0;

  display: none;

  align-items: center;

  justify-content: center;

  font-size: 2.25rem;

  font-weight: 800;

  color: var(--text-light);

}



.profile-fallback .profile-initials {

  display: flex;

}



.status-indicator {

  position: absolute;

  right: 10px;

  bottom: 10px;

  width: 20px;

  height: 20px;

  border-radius: 50%;

  background: #10b981;

  border: 3.5px solid #ffffff;

  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);

  display: flex;

  align-items: center;

  justify-content: center;

}



.status-pulse {

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: #ffffff;

}



/* Status Pill */

.status-pill {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 6px 16px;

  border-radius: 999px;

  background: var(--glass-bg-pill);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: var(--shadow-glass-sm);

  font-size: 0.8rem;

  font-weight: 600;

  color: var(--text-secondary);

  letter-spacing: 0.02em;

  margin-bottom: 20px;

}



.status-dot-green {

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: #10b981;

}



.hero-heading {

  font-size: clamp(2.75rem, 7.5vw, 5.25rem);

  font-weight: 800;

  letter-spacing: -0.055em;

  line-height: 1.02;

  color: var(--text-primary);

  margin-bottom: 22px;

}



.hero-heading .highlight {

  color: var(--text-light);

  font-weight: 700;

}



.hero-subtext {

  font-size: clamp(1.05rem, 2.2vw, 1.25rem);

  color: var(--text-secondary);

  max-width: 620px;

  line-height: 1.7;

  font-weight: 400;

  margin-bottom: 34px;

}



/* Hero CTA Group */

.hero-cta-group {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 42px;

}



.glass-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 13px 26px;

  border-radius: 999px;

  font-size: 0.92rem;

  font-weight: 600;

  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

}



.glass-btn.primary {

  background: var(--text-primary);

  color: #ffffff;

  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.16);

}



.glass-btn.primary:hover {

  transform: translateY(-2px);

  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.22);

}



.glass-btn.primary .btn-arrow {

  display: inline-block;

  transition: transform 0.25s ease;

}



.glass-btn.primary:hover .btn-arrow {

  transform: translate(2px, -2px);

}



.glass-btn.secondary {

  background: var(--glass-bg-pill);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: var(--shadow-glass-sm);

  color: var(--text-primary);

}



.glass-btn.secondary:hover {

  background: rgba(255, 255, 255, 0.95);

  transform: translateY(-2px);

  box-shadow: var(--shadow-glass-md);

}



/* Metrics Pill */

.hero-metrics-pill {

  display: inline-flex;

  align-items: center;

  gap: 20px;

  padding: 12px 24px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.65);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: var(--shadow-glass-sm);

}



.metric-item {

  display: flex;

  align-items: center;

  gap: 8px;

}



.metric-item strong {

  font-size: 0.95rem;

  font-weight: 700;

  color: var(--text-primary);

}



.metric-item span {

  font-size: 0.8rem;

  color: var(--text-muted);

}



.metric-divider {

  width: 1px;

  height: 16px;

  background: var(--glass-divider);

}



.scroll-cue {

  margin-top: 48px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  color: var(--text-light);

  font-size: 0.75rem;

  font-weight: 500;

  letter-spacing: 0.05em;

  transition: color 0.2s ease;

}



.scroll-cue:hover {

  color: var(--text-primary);

}



.scroll-mouse {

  width: 20px;

  height: 32px;

  border-radius: 12px;

  border: 1.8px solid var(--text-light);

  display: flex;

  justify-content: center;

  padding-top: 5px;

}



.scroll-wheel {

  width: 3px;

  height: 6px;

  border-radius: 2px;

  background: var(--text-light);

  animation: scrollWheel 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;

}



@keyframes scrollWheel {

  0% { transform: translateY(0); opacity: 1; }

  60% { transform: translateY(8px); opacity: 0; }

  100% { transform: translateY(0); opacity: 0; }

}



/* ==========================================================================

   ABOUT SECTION

   Split layout with liquid glass quote card & quick facts

   ========================================================================== */



.about-grid {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: 24px;

  align-items: stretch;

}



.about-statement-card {

  padding: 48px 44px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-height: 360px;

}



.about-quote {

  font-size: clamp(1.6rem, 3.2vw, 2.25rem);

  font-weight: 600;

  letter-spacing: -0.035em;

  line-height: 1.25;

  color: var(--text-primary);

}



.about-tag-row {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 32px;

}



.glass-tag {

  display: inline-flex;

  padding: 6px 14px;

  border-radius: 999px;

  font-size: 0.78rem;

  font-weight: 600;

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid var(--glass-border);

  color: var(--text-secondary);

}



.about-details-column {

  display: flex;

  flex-direction: column;

  gap: 20px;

}



.about-narrative-card {

  padding: 32px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  color: var(--text-secondary);

  font-size: 0.96rem;

  line-height: 1.8;

}



.about-narrative-card strong {

  color: var(--text-primary);

  font-weight: 600;

}



.about-facts-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;

}



.fact-card {

  padding: 20px;

  display: flex;

  flex-direction: column;

  gap: 4px;

}



.fact-label {

  font-family: var(--font-mono);

  font-size: 0.7rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: var(--text-muted);

}



.fact-value {

  font-size: 0.96rem;

  font-weight: 700;

  color: var(--text-primary);

}



/* ==========================================================================

   SELECTED WORKS SECTION

   Clean Apple-inspired grid cards, editable links & tags

   ========================================================================== */



.works-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;

}



.project-card {

  overflow: hidden;

  display: flex;

  flex-direction: column;

}



.project-thumb-frame {

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;

  background: #f8fafc;

  border-bottom: 1px solid var(--glass-line);

  overflow: hidden;

}



.project-thumb {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);

}



.project-card:hover .project-thumb {

  transform: scale(1.03);

}



.project-category-badge {

  position: absolute;

  top: 14px;

  right: 14px;

  padding: 5px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  font-size: 0.72rem;

  font-weight: 600;

  color: var(--text-primary);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);

}



.project-content {

  padding: 28px;

  display: flex;

  flex-direction: column;

  flex: 1;

}



.project-meta-row {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 10px;

}



.project-num {

  font-family: var(--font-mono);

  font-size: 0.7rem;

  letter-spacing: 0.08em;

  color: var(--text-muted);

}



.project-status {

  font-size: 0.75rem;

  font-weight: 600;

  color: #059669;

}



.project-title {

  font-size: 1.25rem;

  font-weight: 700;

  letter-spacing: -0.03em;

  color: var(--text-primary);

  margin-bottom: 10px;

}



.project-desc {

  font-size: 0.88rem;

  color: var(--text-secondary);

  line-height: 1.65;

  margin-bottom: 20px;

  flex: 1;

}



.project-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  margin-bottom: 24px;

}



.project-tags .tag {

  padding: 4px 10px;

  border-radius: 6px;

  background: rgba(0, 0, 0, 0.04);

  font-size: 0.72rem;

  font-family: var(--font-mono);

  color: var(--text-muted);

}



.project-links {

  display: flex;

  gap: 10px;

  align-items: center;

}



.project-link-btn {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 8px 16px;

  border-radius: 999px;

  font-size: 0.8rem;

  font-weight: 600;

  transition: all 0.25s ease;

}



.project-link-btn.primary {

  background: var(--text-primary);

  color: #ffffff;

}



.project-link-btn.primary:hover {

  opacity: 0.88;

  transform: translateY(-1px);

}



.project-link-btn.secondary {

  background: rgba(255, 255, 255, 0.8);

  border: 1px solid var(--glass-border);

  color: var(--text-primary);

}



.project-link-btn.secondary:hover {

  background: #ffffff;

  transform: translateY(-1px);

}



/* ==========================================================================

   SKILLS & SETUP SECTION

   Windows 11 & Linux cards + skill progress meters

   ========================================================================== */



.systems-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

  margin-bottom: 24px;

}



.system-card {

  padding: 34px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-height: 250px;

}



.system-card-top {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 20px;

}



.system-icon-box {

  width: 52px;

  height: 52px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid var(--glass-border);

  box-shadow: var(--shadow-glass-sm);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 10px;

}



.sys-icon {

  width: 100%;

  height: 100%;

  object-fit: contain;

}



.system-label {

  font-family: var(--font-mono);

  font-size: 0.72rem;

  letter-spacing: 0.1em;

  color: var(--text-muted);

}



.system-title {

  font-size: 1.5rem;

  font-weight: 700;

  letter-spacing: -0.035em;

  color: var(--text-primary);

  margin-bottom: 8px;

}



.system-copy {

  font-size: 0.9rem;

  color: var(--text-secondary);

  line-height: 1.7;

}



.system-card-footer {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 24px;

  padding-top: 18px;

  border-top: 1px solid var(--glass-divider);

}



.glass-chip {

  font-size: 0.76rem;

  font-weight: 600;

  color: var(--text-muted);

}



.system-arrow {

  font-size: 1rem;

  color: var(--text-light);

  transition: transform 0.25s ease, color 0.25s ease;

}



.system-card:hover .system-arrow {

  color: var(--text-primary);

  transform: translate(3px, -3px);

}



/* Skills Progress Card */

.skills-progress-card {

  padding: 40px;

}



.card-inner-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 30px;

}



.card-inner-title {

  font-size: 1.35rem;

  font-weight: 700;

  letter-spacing: -0.03em;

  color: var(--text-primary);

}



.card-inner-tag {

  font-family: var(--font-mono);

  font-size: 0.72rem;

  color: var(--text-muted);

}



.skills-list {

  display: flex;

  flex-direction: column;

  gap: 22px;

  margin-bottom: 36px;

}



.skill-row {

  display: flex;

  flex-direction: column;

  gap: 8px;

}



.skill-meta {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 0.9rem;

}



.skill-name {

  font-weight: 600;

  color: var(--text-primary);

}



.skill-percentage {

  font-family: var(--font-mono);

  font-weight: 600;

  font-size: 0.85rem;

  color: var(--text-muted);

}



.skill-track {

  height: 8px;

  border-radius: 999px;

  background: rgba(0, 0, 0, 0.05);

  overflow: hidden;

  position: relative;

}



.skill-fill {

  position: absolute;

  top: 0;

  left: 0;

  bottom: 0;

  width: 0%;

  border-radius: 999px;

  background: linear-gradient(90deg, #334155 0%, #0f172a 100%);

  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);

}



.tech-pills-shelf {

  padding-top: 24px;

  border-top: 1px solid var(--glass-divider);

}



.tech-shelf-label {

  display: block;

  font-family: var(--font-mono);

  font-size: 0.72rem;

  color: var(--text-muted);

  margin-bottom: 12px;

  text-transform: uppercase;

  letter-spacing: 0.08em;

}



.tech-pills-list {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.tech-pill {

  padding: 6px 14px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid var(--glass-border);

  font-size: 0.8rem;

  font-weight: 500;

  color: var(--text-secondary);

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);

  transition: transform 0.2s ease, color 0.2s ease;

}



.tech-pill:hover {

  transform: translateY(-1px);

  color: var(--text-primary);

}



/* ==========================================================================

   VISUAL DIARY / GALLERY SECTION

   5-photo carousel with frosted glass controls & lightbox

   ========================================================================== */



.gallery-container {

  padding: 24px;

}



.gallery-viewport {

  position: relative;

  overflow: hidden;

  border-radius: 20px;

  width: 100%;

}



.gallery-track {

  display: flex;

  width: 100%;

  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  cursor: grab;

}



.gallery-track:active {

  cursor: grabbing;

}



.gallery-slide {

  flex: 0 0 100%;

  width: 100%;

  position: relative;

  height: clamp(340px, 52vw, 560px);

  background: #f1f5f9;

  overflow: hidden;

}



.gallery-slide img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 0.4s ease;

  cursor: pointer;

}



.gallery-slide:hover img {

  transform: scale(1.02);

}



.slide-caption {

  position: absolute;

  bottom: 20px;

  left: 20px;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 16px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);

  font-size: 0.8rem;

  font-weight: 600;

  color: var(--text-primary);

}



.caption-idx {

  font-family: var(--font-mono);

  color: var(--text-light);

}



.gallery-nav-btn {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: var(--glass-blur);

  -webkit-backdrop-filter: var(--glass-blur);

  border: 1px solid var(--glass-border);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--text-primary);

  transition: transform 0.25s ease, background 0.25s ease;

}



.gallery-nav-btn:hover {

  background: #ffffff;

  transform: translateY(-50%) scale(1.06);

}



.gallery-nav-btn.prev { left: 16px; }

.gallery-nav-btn.next { right: 16px; }



.gallery-bottom-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 18px;

  padding: 0 6px;

}



.gallery-dots {

  display: flex;

  align-items: center;

  gap: 8px;

}



.gallery-dot {

  width: 8px;

  height: 8px;

  border-radius: 999px;

  background: rgba(0, 0, 0, 0.15);

  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  cursor: pointer;

}



.gallery-dot.active {

  width: 28px;

  background: var(--text-primary);

}



.gallery-status {

  display: flex;

  align-items: center;

  gap: 12px;

}



.gallery-count {

  font-family: var(--font-mono);

  font-size: 0.82rem;

  font-weight: 600;

  color: var(--text-muted);

}



.gallery-hint {

  font-size: 0.75rem;

  color: var(--text-light);

}



/* Lightbox Modal */

.lightbox-modal {

  position: fixed;

  inset: 0;

  z-index: 100000;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 24px;

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transition: opacity 0.3s ease, visibility 0.3s ease;

}



.lightbox-modal[hidden] {

  display: none !important;

  opacity: 0 !important;

  visibility: hidden !important;

  pointer-events: none !important;

}



.lightbox-backdrop {

  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(28px);

  -webkit-backdrop-filter: blur(28px);

}



.lightbox-content {

  position: relative;

  z-index: 2;

  max-width: 90vw;

  max-height: 88vh;

  display: flex;

  flex-direction: column;

  align-items: center;

}



.lightbox-image {

  max-width: 100%;

  max-height: 80vh;

  object-fit: contain;

  border-radius: 16px;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.9);

}



.lightbox-caption {

  margin-top: 14px;

  font-size: 0.9rem;

  font-weight: 600;

  color: var(--text-primary);

}



.lightbox-close-btn {

  position: absolute;

  top: -48px;

  right: 0;

  width: 38px;

  height: 38px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);

  border: 1px solid var(--glass-border);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--text-primary);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}



/* ==========================================================================

   CONTACT SECTION

   Email copy pill & social cards in liquid glass

   ========================================================================== */



.contact-card {

  padding: 70px 48px;

  text-align: center;

  overflow: hidden;

  position: relative;

}



.contact-ambient-glow {

  position: absolute;

  top: -120px;

  left: 50%;

  transform: translateX(-50%);

  width: 480px;

  height: 480px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(230, 236, 248, 0.7) 0%, transparent 70%);

  filter: blur(60px);

  pointer-events: none;

}



.contact-title {

  font-size: clamp(2.5rem, 6vw, 4rem);

  font-weight: 800;

  letter-spacing: -0.05em;

  color: var(--text-primary);

  margin-bottom: 32px;

}



.contact-subtitle {

  font-size: 1.05rem;

  color: var(--text-secondary);

  max-width: 540px;

  margin: 0 auto 36px;

  line-height: 1.7;

}



/* Email Action Capsule */

.email-action-capsule {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 10px 8px 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);

  border: 1px solid var(--glass-border);

  box-shadow: var(--shadow-glass-sm);

  margin-bottom: 36px;

}



.email-address-link {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--text-primary);

  font-size: 0.92rem;

  font-weight: 600;

}



.email-icon {

  display: flex;

  color: var(--text-muted);

}



.email-copy-btn {

  padding: 6px 14px;

  border-radius: 999px;

  background: var(--text-primary);

  color: #ffffff;

  font-size: 0.75rem;

  font-weight: 600;

  transition: transform 0.2s ease, background 0.2s ease;

  position: relative;

}



.email-copy-btn:hover {

  transform: scale(0.97);

}



.email-copy-btn .copy-success {

  display: none;

}



.email-copy-btn.copied .copy-default {

  display: none;

}



.email-copy-btn.copied .copy-success {

  display: inline;

}



/* Socials Grid */

.socials-grid {

  display: flex;

  justify-content: center;

  gap: 12px;

  flex-wrap: wrap;

}



.social-pill-card {

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 12px 20px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.78);

  border: 1px solid var(--glass-border);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

  color: var(--text-primary);

  font-size: 0.88rem;

  font-weight: 600;

  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.social-pill-card:hover {

  background: #ffffff;

  transform: translateY(-2px);

  box-shadow: var(--shadow-glass-md);

}



.social-icon-wrapper {

  display: flex;

  color: var(--text-secondary);

}



.social-arrow {

  font-size: 0.9rem;

  color: var(--text-light);

  transition: transform 0.25s ease, color 0.25s ease;

}



.social-pill-card:hover .social-arrow {

  color: var(--text-primary);

  transform: translate(2px, -2px);

}



/* ==========================================================================

   FOOTER

   ========================================================================== */



.site-footer {

  border-top: 1px solid var(--glass-divider);

  padding: 40px 0;

  background: rgba(255, 255, 255, 0.5);

}



.footer-container {

  width: min(var(--container-max), calc(100% - 48px));

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

}



.footer-brand-title {

  display: block;

  font-size: 0.95rem;

  font-weight: 700;

  color: var(--text-primary);

}



.footer-copy {

  font-size: 0.82rem;

  color: var(--text-muted);

}



.back-to-top-btn {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 8px 16px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.8);

  border: 1px solid var(--glass-border);

  font-size: 0.8rem;

  font-weight: 600;

  color: var(--text-secondary);

  transition: all 0.25s ease;

}



.back-to-top-btn:hover {

  background: #ffffff;

  color: var(--text-primary);

  transform: translateY(-2px);

}



/* ==========================================================================

   FLOATING MUSIC PLAYER CAPSULE

   Translucent white glass capsule at bottom-right, seekable, audio feedback

   ========================================================================== */





/* LIQUID GLASS MUSIC PLAYER */

.music-capsule {

    position: fixed;

    bottom: 24px;

    right: 24px;

    z-index: 1000;



    width: min(340px, calc(100% - 32px));

    padding: 10px 12px;

    border-radius: 999px;



    /* Transparansi kaca */

    background: rgba(255, 255, 255, 0.16);



    /* Blur dan warna di balik kaca */

    backdrop-filter: blur(30px) saturate(200%);

    -webkit-backdrop-filter: blur(30px) saturate(200%);



    /* Border kaca */

    border: 1px solid rgba(255, 255, 255, 0.7);

    outline: 1px solid rgba(255, 255, 255, 0.15);



    /* Bayangan dan pantulan cahaya */

    box-shadow:

        0 12px 40px rgba(31, 38, 135, 0.12),

        0 4px 12px rgba(0, 0, 0, 0.04),

        inset 0 1px 2px rgba(255, 255, 255, 0.95),

        inset 0 -1px 2px rgba(255, 255, 255, 0.3);



    display: flex;

    align-items: center;

    gap: 12px;



    transition:

        transform 0.3s ease,

        background 0.3s ease,

        box-shadow 0.3s ease;

}



.music-capsule:hover {

    background: rgba(255, 255, 255, 0.25);



    box-shadow:

        0 16px 48px rgba(31, 38, 135, 0.16),

        inset 0 1px 2px rgba(255, 255, 255, 1);

}





.music-capsule:hover {

  box-shadow: 0 20px 50px -4px rgba(0, 0, 0, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 1);

}



.music-art-wrap {

  position: relative;

  width: 44px;

  height: 44px;

  border-radius: 50%;

  overflow: hidden;

  flex-shrink: 0;

  background: #e2e8f0;

  border: 1.5px solid rgba(255, 255, 255, 0.9);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}



.music-art-thumb {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.music-art-disc-center {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #ffffff;

  border: 2px solid #cbd5e1;

}



.music-capsule.is-playing .music-art-thumb {

  animation: spinDisc 6s linear infinite;

}



@keyframes spinDisc {

  to { transform: rotate(360deg); }

}



.music-meta-container {

  min-width: 0;

  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 3px;

}



.music-row-info {

  display: flex;

  align-items: center;

  gap: 6px;

  overflow: hidden;

}



.music-badge-status {

  font-family: var(--font-mono);

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  padding: 1px 6px;

  border-radius: 4px;

  background: rgba(0, 0, 0, 0.05);

  color: var(--text-muted);

}



.music-capsule.is-playing .music-badge-status {

  background: rgba(16, 185, 129, 0.12);

  color: #059669;

}



.music-track-title {

  font-size: 0.82rem;

  font-weight: 700;

  color: var(--text-primary);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.music-track-artist {

  font-size: 0.72rem;

  color: var(--text-muted);

  white-space: nowrap;

}



.music-scrubber-row {

  display: flex;

  align-items: center;

  gap: 8px;

}



.music-progress-track {

  flex: 1;

  height: 4px;

  border-radius: 999px;

  background: rgba(0, 0, 0, 0.08);

  cursor: pointer;

  position: relative;

  overflow: hidden;

}



.music-progress-bar {

  position: absolute;

  left: 0;

  top: 0;

  bottom: 0;

  width: 0%;

  border-radius: 999px;

  background: var(--text-primary);

}



.music-time-display {

  font-family: var(--font-mono);

  font-size: 0.65rem;

  color: var(--text-light);

  white-space: nowrap;

}



.music-controls-group {

  display: flex;

  align-items: center;

  gap: 6px;

  flex-shrink: 0;

}



.music-btn-ctrl {

    width: 32px;

    height: 32px;

    border-radius: 50%;



    display: flex;

    align-items: center;

    justify-content: center;



    background: rgba(255, 255, 255, 0.25);



    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);



    border: 1px solid rgba(255, 255, 255, 0.45);



    color: var(--text-primary);



    transition:

        transform 0.2s ease,

        background 0.2s ease;

}



.music-btn-ctrl:hover {

    background: rgba(255, 255, 255, 0.45);

    transform: scale(1.06);

}



.music-btn-ctrl:hover {

  background: rgba(0, 0, 0, 0.08);

  transform: scale(1.06);

}



.play-toggle-btn {

  background: var(--text-primary);

  color: #ffffff;

}



.play-toggle-btn:hover {

  background: #000000;

}



/* Play/Pause icon switching */

.play-toggle-btn .pause-icon {

  display: none;

}



.music-capsule.is-playing .play-toggle-btn .play-icon {

  display: none;

}



.music-capsule.is-playing .play-toggle-btn .pause-icon {

  display: block;

}



/* Volume muted icon switching */

.volume-toggle-btn .volume-muted-icon {

  display: none;

}



.volume-toggle-btn.is-muted .volume-high-icon {

  display: none;

}



.volume-toggle-btn.is-muted .volume-muted-icon {

  display: block;

}



/* ==========================================================================

   INTERSECTION REVEALS & ANIMATIONS

   ========================================================================== */



.reveal {

  opacity: 0;

  transform: translateY(24px);

  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),

              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;

}



.reveal.visible {

  opacity: 1;

  transform: translateY(0);

}



/* ==========================================================================

   BROWSER FALLBACKS (When backdrop-filter is unsupported)

   ========================================================================== */



@supports not (backdrop-filter: blur(20px)) {

  .glass-card,

  .glass-navbar,

  .music-capsule,

  .status-pill,

  .hero-metrics-pill,

  .social-pill-card,

  .slide-caption,

  .gallery-nav-btn,

  .hello-enter-btn,

  .lightbox-backdrop {

    background-color: var(--fallback-surface, #ffffff) !important;

    border-color: var(--fallback-border, #e2e8f0) !important;

  }

}



/* ==========================================================================

   RESPONSIVE DESIGN (Tablets & Mobile Viewports)

   ========================================================================== */



@media (max-width: 992px) {

  .content-section {

    padding: 90px 0;

  }



  .works-grid {

    grid-template-columns: repeat(2, 1fr);

  }



  .about-grid {

    grid-template-columns: 1fr;

  }

}



@media (max-width: 768px) {

  .content-section {

    padding: 75px 0;

  }



  .navbar-wrapper {

    top: 12px;

  }



  .glass-navbar {

    height: 56px;

    padding: 0 10px 0 16px;

  }



  .menu-toggle {

    display: flex;

  }



  .nav-cta-pill {

    display: none;

  }



  .nav-links {

    position: absolute;

    top: 66px;

    left: 16px;

    right: 16px;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: var(--glass-blur-heavy);

    -webkit-backdrop-filter: var(--glass-blur-heavy);

    border: 1px solid var(--glass-border);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

    border-radius: 20px;

    padding: 12px;

    flex-direction: column;

    align-items: stretch;

    display: none;

    pointer-events: auto;

  }



  .nav-links.open {

    display: flex;

    animation: menuFadeIn 0.25s ease forwards;

  }



  .nav-item {

    padding: 12px 16px;

    border-radius: 12px;

  }



  .works-grid,

  .systems-grid,

  .about-facts-grid {

    grid-template-columns: 1fr;

  }



  .hero-metrics-pill {

    flex-direction: column;

    gap: 8px;

    border-radius: 20px;

  }



  .metric-divider {

    display: none;

  }



  .music-capsule {

    bottom: 16px;

    right: 16px;

    left: 16px;

    width: auto;

  }



  .footer-container {

    flex-direction: column;

    text-align: center;

  }

}



/* Keep the full gallery photo visible on mobile. */
@media (max-width: 768px) {
  .gallery-viewport {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-track {
    height: 100%;
  }

  .gallery-slide {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .gallery-slide:hover img {
    transform: none;
  }
}

@keyframes menuFadeIn {

  from { opacity: 0; transform: translateY(-8px); }

  to { opacity: 1; transform: translateY(0); }

}



/* ==========================================================================

   ACCESSIBILITY & PREFERS-REDUCED-MOTION

   ========================================================================== */



@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after {

    animation-duration: 0.001ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.001ms !important;

    scroll-behavior: auto !important;

  }



  .hello-word {

    opacity: 1 !important;

    transform: none !important;

  }



  .reveal {

    opacity: 1 !important;

    transform: none !important;

  }

}



/* Disable any pointer/cursor effects on touch-based devices */

@media (hover: none) and (pointer: coarse) {

  * {

    cursor: auto !important;

  }

}



/* LIQUID GLASS MOBILE MENU */

@media (max-width: 768px) {

    .nav-links {

        background: var(--mobile-menu-bg, rgba(255, 255, 255, 0.65)) !important;



backdrop-filter: blur(12px) saturate(130%);

-webkit-backdrop-filter: blur(12px) saturate(130%);



border: 1px solid rgba(255, 255, 255, 0.8);



        border-radius: 24px;



        box-shadow:

            0 12px 40px rgba(31, 38, 135, 0.10),

            inset 0 1px 1px rgba(255, 255, 255, 0.85);



        overflow: hidden;

    }



    .nav-item {

        background: transparent;

        transition: background 0.3s ease;

    }



    .nav-item:hover,

    .nav-item.active {

        background: rgba(255, 255, 255, 0.25);

        backdrop-filter: blur(10px);

        -webkit-backdrop-filter: blur(10px);

    }

}

@media (max-width: 480px) {

    .music-capsule {

        bottom: 16px;

        left: 16px;

        right: 16px;



        width: auto;

        max-width: none;



        padding: 10px 12px;

        gap: 8px;

    }



    .music-art-wrap {

        width: 40px;

        height: 40px;

    }



    .music-track-title {

        font-size: 0.75rem;

    }



    .music-btn-ctrl {

        width: 30px;

        height: 30px;

    }

}

/* ==========================================================
   SOFT GLASS — ABOUT ME
   Added without changing layout or existing interactions.
   ========================================================== */

/* Gentle translucent surfaces for About Me cards */
.about-statement-card,
.about-narrative-card,
.about-section .fact-card,
#about .fact-card {
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    border: 1px solid rgba(255, 255, 255, 0.88);
    outline: 1px solid rgba(115, 135, 165, 0.09);
    box-shadow:
        0 12px 30px rgba(43, 61, 89, 0.055),
        0 3px 9px rgba(43, 61, 89, 0.025),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease, transform 0.3s ease;
}

.about-statement-card:hover,
.about-narrative-card:hover,
.about-section .fact-card:hover,
#about .fact-card:hover {
    background: rgba(255, 255, 255, 0.67);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 17px 38px rgba(43, 61, 89, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Small glass tags stay readable on the pale background */
.about-tag-row .glass-tag {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .about-statement-card,
    .about-narrative-card,
    .about-section .fact-card,
    #about .fact-card { transition: none; }
}

/* ==========================================================
   CLEAR GLASS OVERRIDES — TRANSPARENT PORTFOLIO
   Added at the end to preserve original layout and JS hooks.
   ========================================================== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.13);
  --glass-bg-hover: rgba(255, 255, 255, 0.22);
  --glass-bg-pill: rgba(255, 255, 255, 0.12);
  --glass-bg-card: rgba(255, 255, 255, 0.10);
  --glass-bg-subtle: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.70);
  --glass-border-outer: rgba(71, 85, 105, 0.09);
  --glass-blur: blur(18px) saturate(155%);
  --shadow-glass-md: 0 10px 32px rgba(41, 55, 80, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --shadow-glass-hover: 0 16px 42px rgba(41, 55, 80, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

/* Primary content cards */
.glass-card,
.about-statement-card,
.about-narrative-card,
.fact-card,
.project-card,
.system-card,
.skills-progress-card,
.gallery-container,
.contact-card {
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 0 10px 32px rgba(41, 55, 80, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.glass-card:hover,
.project-card:hover,
.system-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Smaller frosted pills */
.glass-tag,
.tech-pill,
.social-pill-card,
.email-action-capsule,
.status-pill,
.hero-metrics-pill,
.glass-btn.secondary,
.project-link-btn.secondary,
.project-category-badge,
.slide-caption,
.gallery-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

/* Floating navbar */
.glass-navbar {
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(31, 38, 70, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

/* Ultra-clear floating music capsule — preserve layout and controls */
.music-capsule,
.music-capsule:hover {
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  backdrop-filter: blur(12px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.56);
  outline: 1px solid rgba(100, 116, 139, 0.08);
  box-shadow: 0 8px 28px rgba(31, 38, 70, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.64);
}
.music-capsule:hover {
  background: rgba(255, 255, 255, 0.075);
}

@media (prefers-reduced-transparency: reduce) {
  .glass-card, .music-capsule, .glass-navbar {
    background: rgba(255, 255, 255, 0.85);
  }
}

/* Mobile spacing and touch targets; desktop styles remain unchanged. */
@media (max-width: 768px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .section-container,
  .footer-container { width: calc(100% - 32px); }
  .section { scroll-margin-top: 88px; }
  .content-section { padding: 48px 0; }
  .section-header { margin-bottom: 28px; }
  .section-container,
  .footer-container { overflow-wrap: anywhere; }
  .about-grid > *,
  .works-grid > *,
  .systems-grid > * { min-width: 0; }

  .navbar-wrapper { z-index: 1001; }
  .nav-links { max-height: calc(100dvh - 188px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
  .menu-toggle { width: 44px; height: 44px; }
  .nav-brand,
  .nav-item,
  .back-to-top-btn { min-height: 44px; }
  .hero-section { padding: 112px 0 48px; }
  .profile-capsule { width: 144px; height: 144px; flex-shrink: 0; }
  .hero-heading { font-size: clamp(2.25rem, 7.5vw, 3.6rem); }
  .status-pill { max-width: 100%; text-align: center; }
  .status-dot-green { flex-shrink: 0; }
  .hero-cta-group { flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
  .hero-cta-group .glass-btn { min-height: 44px; padding: 12px 20px; }
  .hero-metrics-pill { max-width: 100%; }
  .scroll-cue { margin-top: 28px; }

  .about-statement-card,
  .about-narrative-card,
  .project-content,
  .system-card,
  .skills-progress-card { padding: clamp(20px, 4vw, 28px); }
  .about-statement-card { min-height: 0; }
  .about-quote { font-size: clamp(1.35rem, 3.2vw, 1.8rem); line-height: 1.35; }
  .about-tag-row { margin-top: 24px; }
  .glass-tag,
  .tech-pill,
  .project-tags .tag { max-width: 100%; }
  .project-tags { margin-bottom: 0; }
  .about-grid,
  .works-grid,
  .systems-grid { gap: 20px; }
  .card-inner-header,
  .system-card-top { flex-wrap: wrap; gap: 12px; }
  .system-icon-box { flex-shrink: 0; }
  .skill-meta { gap: 12px; align-items: flex-start; }
  .skill-name { min-width: 0; }
  .skill-percentage { flex-shrink: 0; }

  .gallery-container { padding: 12px; }
  .gallery-bottom-bar { flex-direction: column; gap: 8px; padding: 0; }
  .gallery-status { flex-wrap: wrap; justify-content: center; gap: 4px 12px; text-align: center; }
  .gallery-dots { gap: 0; }
  .gallery-dot,
  .gallery-dot.active {
    width: 44px;
    height: 44px;
    background: transparent;
    display: grid;
    place-items: center;
  }
  .gallery-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.15); transition: width 0.3s ease; }
  .gallery-dot.active::before { width: 28px; background: var(--text-primary); }
  .gallery-nav-btn.prev { left: 8px; }
  .gallery-nav-btn.next { right: 8px; }
  .slide-caption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 10px; }
  .caption-name { min-width: 0; }
  .lightbox-image { max-height: calc(100dvh - 180px); }
  .lightbox-close-btn { width: 44px; height: 44px; }

  .contact-card { padding: 36px 20px; }
  .contact-title { font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.2; }
  .social-pill-card { max-width: 100%; min-height: 44px; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }

  .music-capsule {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: calc(100vw - 24px);
    max-width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 28px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .music-capsule-glass-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
  .music-art-wrap { width: 40px; height: 40px; }
  .music-meta-container { flex: 1 1 0; min-width: 0; gap: 0; overflow: hidden; }
  .music-row-info { flex-wrap: nowrap; min-width: 0; overflow: hidden; gap: 4px; }
  .music-badge-status { flex-shrink: 0; }
  .music-track-title { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .music-controls-group { flex-direction: row; flex-wrap: nowrap; gap: 4px; }
  .music-btn-ctrl { width: 44px; height: 44px; flex-shrink: 0; }
  .music-scrubber-row { flex-wrap: nowrap; min-width: 0; gap: 6px; }
  .music-progress-track {
    flex: 1 1 0;
    min-width: 0;
    height: 24px;
    background: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) center / 100% 4px no-repeat;
  }
  .music-time-display { flex-shrink: 0; }
  .music-progress-bar { top: 10px; bottom: 10px; }
}

/* Theme controls and a single fixed video background layer.
   Existing light-theme colors and component geometry remain the defaults. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-primary);
  background: var(--glass-bg-pill);
  border: 1px solid var(--glass-border);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--glass-bg-hover); }
body { isolation: isolate; }
.theme-toggle .theme-sun,
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.theme-background {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  overflow: hidden;
  background: var(--theme-video-fallback, #F5F6F7);
  transition: background-color 0.4s ease;
}
.theme-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.theme-background.is-ready video { opacity: 1; visibility: visible; }
.theme-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-video-overlay, rgba(255, 255, 255, 0.03));
  transition: background-color 0.4s ease;
}
body::before,
body::after { opacity: 0; }
html[data-theme="dark"] {
  color-scheme: dark;
  --bg-pure: #090A0B;
  --theme-video-fallback: #090A0B;
  --theme-video-overlay: rgba(0, 0, 0, 0.25);
  --bg-subtle: #151719;
  --bg-canvas: #202326;
  --bg-surface-tint: rgba(37, 37, 37, 0.7);
  --text-primary: #F5F6F7;
  --text-secondary: #C8CDD4;
  --text-muted: #C8CDD4;
  --text-light: #B7BEC7;
  --text-ghost: #969DA6;
  --theme-accent: #E4E7EB;
  --glass-bg: rgba(30, 30, 30, 0.65);
  --glass-bg-hover: rgba(56, 56, 56, 0.75);
  --glass-bg-pill: rgba(40, 40, 40, 0.65);
  --glass-bg-card: rgba(30, 30, 30, 0.58);
  --glass-bg-subtle: rgba(54, 54, 54, 0.35);
  --glass-border: rgba(210, 210, 210, 0.2);
  --glass-border-outer: rgba(210, 210, 210, 0.08);
  --glass-line: rgba(210, 210, 210, 0.15);
  --glass-divider: rgba(210, 210, 210, 0.14);
  --shadow-glass-sm: 0 4px 16px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(228, 228, 228, 0.06);
  --shadow-glass-md: 0 10px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(228, 228, 228, 0.08);
  --shadow-glass-lg: 0 24px 60px rgba(0, 0, 0, 0.3);
  --shadow-glass-hover: 0 16px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(228, 228, 228, 0.12);
  --mobile-menu-bg: rgba(26, 26, 26, 0.9);
  --fallback-surface: #191B1E;
  --fallback-border: #45494F;
}

html[data-theme="dark"] :is(.glass-card, #about .fact-card, .glass-navbar, .music-capsule) {
  background: var(--glass-bg-card);
  border-color: var(--glass-border);
  outline-color: var(--glass-border-outer);
  box-shadow: var(--shadow-glass-md);
}
html[data-theme="dark"] :is(.glass-card, #about .fact-card, .music-capsule):hover {
  background: var(--glass-bg-hover);
  border-color: rgba(210, 210, 210, 0.32);
  box-shadow: var(--shadow-glass-hover);
}
html[data-theme="dark"] :is(.glass-tag, .tech-pill, .social-pill-card, .email-action-capsule, .status-pill, .hero-metrics-pill, .glass-btn.secondary, .project-category-badge, .slide-caption, .gallery-nav-btn, .back-to-top-btn, .hello-enter-btn, .lightbox-close-btn, .music-btn-ctrl, .system-icon-box) {
  background: var(--glass-bg-pill);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-glass-sm);
}
html[data-theme="dark"] :is(.glass-btn.secondary, .social-pill-card, .gallery-nav-btn, .back-to-top-btn, .hello-enter-btn, .lightbox-close-btn, .music-btn-ctrl):hover {
  background: var(--glass-bg-hover);
}
html[data-theme="dark"] :is(.glass-btn.primary, .nav-cta-pill, .play-toggle-btn, .email-copy-btn) {
  background: var(--theme-accent);
  color: #141619;
  border-color: transparent;
}
html[data-theme="dark"] :is(.glass-btn.primary, .nav-cta-pill, .play-toggle-btn, .email-copy-btn):hover {
  background: #F5F6F7;
  color: #141619;
}
html[data-theme="dark"] :is(.nav-item.active, .nav-item:hover, .menu-toggle, .project-tags .tag, .music-badge-status) {
  background: rgba(210, 210, 210, 0.1);
  box-shadow: none;
}
html[data-theme="dark"] .project-status,
html[data-theme="dark"] .music-capsule.is-playing .music-badge-status { color: #DEE3E9; }
html[data-theme="dark"] .hero-heading .highlight { color: var(--theme-accent); }
html[data-theme="dark"] :is(.hero-orb, .hello-orb) { background: rgba(90, 90, 90, 0.18); }
html[data-theme="dark"] .hero-grid-pattern { opacity: 0.08; }
html[data-theme="dark"] .contact-ambient-glow { background: radial-gradient(circle, rgba(108, 108, 108, 0.18), transparent 70%); }
html[data-theme="dark"] .profile-glow { background: radial-gradient(circle, rgba(144, 144, 144, 0.18), transparent 70%); }
html[data-theme="dark"] .profile-bezel {
  background: linear-gradient(135deg, rgba(122, 122, 122, 0.35), rgba(37, 37, 37, 0.5));
  border-color: var(--glass-border);
  box-shadow: var(--shadow-glass-md);
}
html[data-theme="dark"] .status-indicator { border-color: #191B1E; background: #D3D8DF; box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15); }
html[data-theme="dark"] .status-dot-green { background: #D3D8DF; }
html[data-theme="dark"] .music-capsule.is-playing .music-badge-status { background: rgba(224, 224, 224, 0.12); }
html[data-theme="dark"] :is(.profile-image-frame, .project-thumb-frame, .gallery-slide, .music-art-wrap) { background: var(--bg-subtle); border-color: var(--glass-line); }
html[data-theme="dark"] .site-footer { background: rgba(17, 17, 17, 0.45); }
html[data-theme="dark"] .lightbox-backdrop { background: rgba(17, 17, 17, 0.9); }
html[data-theme="dark"] .lightbox-image { border-color: var(--glass-border); }
html[data-theme="dark"] :is(.skill-track, .music-progress-track) { background: rgba(210, 210, 210, 0.15); }
html[data-theme="dark"] .skill-fill { background: linear-gradient(90deg, #969FA9, #E4E7EB); }
html[data-theme="dark"] .gallery-dot { background: rgba(210, 210, 210, 0.3); }
html[data-theme="dark"] .gallery-dot.active { background: var(--theme-accent); }
html.theme-changing :is(body, .glass-card, .glass-navbar, .nav-links, .glass-btn, .nav-cta-pill, .theme-toggle, .music-capsule, .music-btn-ctrl, .glass-tag, .tech-pill, .project-tags .tag, .social-pill-card, .hero-metrics-pill, .status-pill, .slide-caption, .gallery-nav-btn, .site-footer, .lightbox-backdrop) {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease, opacity 0.8s ease;
}
@media (max-width: 768px) {
  html[data-theme="dark"] .gallery-dot,
  html[data-theme="dark"] .gallery-dot.active { background: transparent; }
  html[data-theme="dark"] .gallery-dot::before { background: rgba(210, 210, 210, 0.35); }
  html[data-theme="dark"] .gallery-dot.active::before { background: var(--theme-accent); }
  html[data-theme="dark"] .music-progress-track {
    background: linear-gradient(rgba(210, 210, 210, 0.2), rgba(210, 210, 210, 0.2)) center / 100% 4px no-repeat;
  }
}
@media (prefers-reduced-transparency: reduce) {
  html[data-theme="dark"] :is(.glass-card, .glass-navbar, .music-capsule) { background: var(--fallback-surface); }
}

/* One non-interactive live region; notifications never change page layout. */
.notification-region {
  --welcome-surface: rgba(255, 255, 255, 0.34);
  --welcome-sheen: rgba(255, 255, 255, 0.12);
  --welcome-border: rgba(255, 255, 255, 0.52);
  --notification-surface: rgba(255, 255, 255, 0.82);
  --notification-sheen: rgba(255, 255, 255, 0.5);
  --notification-sheen-soft: rgba(255, 255, 255, 0.08);
  --notification-border: rgba(255, 255, 255, 0.76);
  --notification-shadow: 0 14px 36px -8px rgba(25, 35, 50, 0.16), 0 3px 10px rgba(25, 35, 50, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(140, 150, 165, 0.08);
  position: fixed;
  z-index: 999;
  top: max(var(--notification-top, 96px), 96px, calc(env(safe-area-inset-top, 0px) + 76px));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(380px, calc(100% - 32px));
  pointer-events: none;
  font-family: var(--font-sans);
}
.notification-region[hidden] { display: none; }
.notification-region--welcome { width: min(380px, calc(100% - 32px)); }
.notification-region--toast { left: auto; right: max(16px, env(safe-area-inset-right, 0px)); transform: none; }
.glass-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--notification-border);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--notification-sheen), transparent 48%, var(--notification-sheen-soft)), var(--notification-surface);
  color: var(--text-primary);
  box-shadow: var(--notification-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.notification-region.is-visible .glass-notification { opacity: 1; transform: translateY(0); }
.glass-notification--welcome {
  padding: 14px 16px;
  border-radius: 24px;
  gap: 12px;
  background: linear-gradient(135deg, var(--welcome-sheen), transparent 48%), var(--welcome-surface);
  border-color: var(--welcome-border);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}
.glass-notification--toast { border-radius: 18px; }
.notification-media { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; overflow: hidden; border-radius: 8px; }
.notification-media svg { width: 20px; height: 20px; }
.notification-media img { width: 100%; height: 100%; object-fit: cover; }
.glass-notification--welcome .notification-media { position: relative; z-index: 1; flex-basis: 42px; width: 42px; height: 42px; border-radius: 50%; }
.glass-notification--welcome .notification-media img { object-position: 46% center; transform: scale(1.12); transform-origin: center; }
.notification-content { flex: 1; min-width: 0; }
.notification-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; font-size: 0.88rem; }
.notification-time { font-size: 0.68rem; color: var(--text-secondary); }
.notification-message { margin: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.glass-notification--welcome .notification-message { font-size: 0.85rem; font-weight: 400; }
html[data-theme="dark"] .notification-region {
  --welcome-surface: rgba(18, 20, 23, 0.52);
  --welcome-sheen: rgba(255, 255, 255, 0.045);
  --welcome-border: rgba(224, 228, 234, 0.26);
  --notification-surface: rgba(22, 24, 27, 0.88);
  --notification-sheen: rgba(255, 255, 255, 0.07);
  --notification-sheen-soft: rgba(255, 255, 255, 0.015);
  --notification-border: rgba(224, 228, 234, 0.24);
  --notification-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.48), 0 3px 10px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.035);
}
@media (max-width: 768px) {
  .notification-region { top: max(var(--notification-top, 80px), 80px, calc(env(safe-area-inset-top, 0px) + 76px)); }
  .notification-region--toast { left: 50%; right: auto; transform: translateX(-50%); }
}
@supports not (backdrop-filter: blur(1px)) {
  .notification-region { --notification-surface: #F5F6F7; --welcome-surface: #F5F6F7; }
  html[data-theme="dark"] .notification-region { --notification-surface: #191B1E; --welcome-surface: #191B1E; }
}
@media (prefers-reduced-transparency: reduce) {
  .notification-region { --notification-surface: #F5F6F7; --welcome-surface: #F5F6F7; }
  html[data-theme="dark"] .notification-region { --notification-surface: #191B1E; --welcome-surface: #191B1E; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-notification { transform: none; }
}
