/* ===================================================================== */
/* [CSS-00] VERSION TAG */
/* ===================================================================== */
/* VERSION: PORTFOLIO_FILES_v1_5_UV_RENAME_TECHBTN_GLOW_UVLOGO_ZOOM_AUV10 */

/* ===================================================================== */
/* [CSS-01] THEME TOKENS */
/* ===================================================================== */
:root{
  --text:#e8eefc;
  --muted:#b3c0d9;
  --light:#8ea0c0;
  --bg:#171e2c;
  --border:rgba(174,194,228,0.22);
  --pill:rgba(31,43,66,0.72);
  --card:rgba(18,27,43,0.70);

  /* glowy link color */
  --glow:#3b82f6;
  --glow2:#60a5fa;

  --hero-edge: #070b14;
  --content-width: 1120px;
  --frame-width: 1200px;
}

/* ===================================================================== */
/* [CSS-02] GLOBAL RESET + BODY */
/* ===================================================================== */
*{box-sizing:border-box}
body{
  margin:0;
  background: #171e2c;
  color:var(--text);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height:1.65;
}
html{
  scroll-behavior: smooth;
}

.wrap{
  max-width: var(--frame-width);
  margin: 0 auto;
  padding: 34px 32px 90px;
}

.has-top-nav .wrap{
  padding-top: 34px;
}

.snap-main{
  display: block;
}

.snap-section-inner{
  width: 100%;
}

/* ===================================================================== */
/* [CSS-02A] GLOBAL NAV */
/* ===================================================================== */
.site-nav-wrap{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  width: auto;
  margin: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-nav-glass{
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid rgba(178,202,236,0.28);
  background:
    linear-gradient(180deg, rgba(234,244,255,0.12) 0%, rgba(163,194,236,0.05) 100%),
    rgba(12,19,32,0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 22px rgba(3,8,16,0.24);
}

.site-nav-indicator{
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  border-radius: 999px;
  border: 1px solid rgba(173,206,243,0.46);
  background:
    linear-gradient(180deg, rgba(164,210,255,0.22) 0%, rgba(96,165,250,0.14) 100%),
    rgba(96,165,250,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 0 0 1px rgba(138,191,245,0.14);
  transform: translate3d(0, 0, 0);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.site-nav-glass.ready .site-nav-indicator{
  opacity: 1;
}

.site-nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #d8e7ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav-link:hover{
  color: #eff7ff;
  transform: translateY(-0.5px);
}

.site-nav-link.active{
  color: #f2f8ff;
}

.section-spotlight{
  animation: sectionSpotlight 260ms ease;
}

@keyframes sectionSpotlight{
  0%{ filter: brightness(1.08) saturate(1.04); transform: translateY(6px); }
  100%{ filter: none; transform: translateY(0); }
}

/* ===================================================================== */
/* [CSS-02B] HERO MAIN PAGE */
/* ===================================================================== */
.hero-main{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 34px 24px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(96,165,250,0.16) 0%, rgba(7,13,28,0.74) 50%, rgba(7,13,28,0.94) 100%),
    url("title_pic.png");
  background-size: cover;
  background-position: center;
}

.hero-main::before,
.hero-main::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:22%;
  pointer-events:none;
  z-index: 1;
}

.hero-main::before{
  left:0;
  background: linear-gradient(to right, rgba(3,8,19,0.95), rgba(3,8,19,0));
  filter: blur(14px);
}

.hero-main::after{
  right:0;
  background: linear-gradient(to left, rgba(3,8,19,0.95), rgba(3,8,19,0));
  filter: blur(14px);
}

.hero-glass{
  position: relative;
  z-index: 2;
  width: min(var(--content-width), 94vw);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.24);
  background: linear-gradient(180deg, rgba(11,20,37,0.42) 0%, rgba(10,17,31,0.30) 100%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 24px 55px rgba(0,0,0,0.30);
  padding: clamp(30px, 7vw, 70px);
  text-align: center;
}

.hero-particles{
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle{
  position:absolute;
  left:0;
  top:0;
  width: var(--size, 5px);
  height: var(--size, 5px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(226,243,255,0.98) 0%, rgba(155,208,255,0.88) 34%, rgba(88,170,255,0.54) 62%, rgba(59,130,246,0.10) 100%);
  box-shadow:
    0 0 18px rgba(120,190,255,0.68),
    0 0 34px rgba(96,165,250,0.34);
  opacity: 0;
  animation: heroParticleFloat var(--dur, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.hero-particles.paused .hero-particle{
  animation-play-state: paused;
}

@keyframes heroParticleFloat{
  0%{
    transform: translate3d(var(--x0, 10vw), calc(var(--y0, 90vh) + 10px), 0) scale(0.85);
    opacity: 0;
  }
  10%{ opacity: var(--alpha, 0.5); }
  70%{ opacity: calc(var(--alpha, 0.5) - 0.16); }
  100%{
    transform: translate3d(var(--x1, 70vw), var(--y1, 10vh), 0) scale(1.18);
    opacity: 0;
  }
}

.glass-cursor{
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  border: 1px solid rgba(173, 216, 255, 0.5);
  background: radial-gradient(circle at 30% 30%, rgba(210,236,255,0.36), rgba(114,176,255,0.16) 48%, rgba(20,45,82,0.10) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 0 22px rgba(59,130,246,0.36),
    inset 0 0 10px rgba(187,224,255,0.23);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 140ms ease, transform 80ms ease-out;
}

.glass-cursor.is-visible{ opacity: 1; }
.glass-cursor.is-down{ transform: translate(-50%, -50%) scale(0.82); }

body.has-glass-cursor,
body.has-glass-cursor *{
  cursor: none !important;
}

.hero-main h1 .typed-name{
  display:inline-block;
  position: relative;
  z-index: 1;
}

.hero-main h1 .typed-name::before,
.hero-main h1 .typed-name::after{
  content: none;
}

.hero-main h1.typing-caret::after{
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.88em;
  margin-left: 8px;
  vertical-align: -0.08em;
  background: rgba(224,237,255,0.95);
  box-shadow: 0 0 12px rgba(96,165,250,0.45);
  animation: caretBlink 0.78s steps(1, end) infinite;
}

@keyframes caretBlink{
  0%, 45%{ opacity: 1; }
  46%, 100%{ opacity: 0; }
}

.hero-photo{
  width: clamp(92px, 11vw, 136px);
  height: clamp(92px, 11vw, 136px);
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
  margin: 0 auto 16px;
  display:block;
}

.hero-kicker{
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: rgba(226,236,255,0.86);
}

.hero-main h1{
  margin: 0;
  font-size: clamp(34px, 7vw, 80px);
  letter-spacing: 0.05em;
  line-height: 0.95;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  color: #d6ecff;
  -webkit-text-stroke: 0 transparent;
  text-shadow:
    0 2px 0 rgba(3, 9, 20, 0.30),
    0 0 8px rgba(96, 174, 244, 0.42),
    0 0 16px rgba(74, 151, 222, 0.34);
  animation: heroNameGlow 4.4s ease-in-out infinite;
}

@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero-main h1{
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: #d6ecff;
    animation: heroNameGlow 4.4s ease-in-out infinite;
  }
}

@keyframes heroNameGlow{
  0%, 100%{
    text-shadow:
      0 2px 0 rgba(3, 9, 20, 0.26),
      0 0 8px rgba(96, 174, 244, 0.34),
      0 0 16px rgba(74, 151, 222, 0.28);
  }
  50%{
    text-shadow:
      0 2px 0 rgba(3, 9, 20, 0.30),
      0 0 11px rgba(126, 195, 248, 0.52),
      0 0 20px rgba(92, 165, 232, 0.40);
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-main h1{
    animation: none;
    background-position: 50% 50%;
  }
  .hero-main h1 .typed-name::before,
  .hero-main h1 .typed-name::after{
    animation: none;
  }
}

.hero-sub{
  margin: 14px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 2.1vw, 21px);
  color: rgba(228,236,250,0.90);
}

.hero-meta{
  margin-top: 16px;
  font-size: 14px;
  color: rgba(224,233,248,0.86);
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-meta strong{
  color: #eaf2ff;
  font-weight: 600;
}

.hero-contact{
  margin-top: 24px;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-contact a{
  text-decoration:none;
  color: #e1eeff;
  border: 1px solid rgba(132, 191, 255, 0.32);
  background: linear-gradient(180deg, rgba(26,45,77,0.48) 0%, rgba(18,33,56,0.35) 100%);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  text-shadow: 0 0 10px rgba(96,165,250,0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 14px rgba(59,130,246,0.24);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-contact a:hover{
  border-color: rgba(132, 191, 255, 0.78);
  background: linear-gradient(180deg, rgba(33,62,105,0.72) 0%, rgba(21,44,79,0.50) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(187,224,255,0.20),
    0 0 22px rgba(59,130,246,0.45),
    0 0 34px rgba(96,165,250,0.24);
  transform: translateY(-1px);
}

.hero-fade{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(260px, 45vh, 500px);
  background:
    linear-gradient(
      to bottom,
      transparent          0%,
      rgba(23,30,44,0.05)  12%,
      rgba(23,30,44,0.18)  28%,
      rgba(23,30,44,0.40)  44%,
      rgba(23,30,44,0.63)  58%,
      rgba(23,30,44,0.82)  72%,
      rgba(23,30,44,0.94)  86%,
      #171e2c              100%
    );
  pointer-events: none;
}

/* ===================================================================== */
/* [CSS-03] GLOBAL LINK STYLE "GLOW" */
/* ===================================================================== */
a.glow,
.intro a,
.gh{
  color: var(--glow);
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(59,130,246,0.28);
  border-bottom: 1px solid rgba(59,130,246,0.35);
  transition: text-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}
a.glow:hover,
.intro a:hover,
.gh:hover{
  text-shadow:
    0 0 12px rgba(59,130,246,0.45),
    0 0 22px rgba(96,165,250,0.32);
  border-bottom-color: rgba(59,130,246,0.75);
  filter: brightness(1.02);
}

/* ===================================================================== */
/* [CSS-04] PROFILE DOCK */
/* ===================================================================== */
.profile-dock{
  position: fixed;
  top: var(--dock-top);
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--dock-max), calc(100% - 32px));
  z-index: 60;
  pointer-events: none;
}

.profile-card{
  pointer-events: auto;
  display:flex;
  align-items:center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--dock-radius);
  border: 1px solid rgba(174,194,228,0.24);
  background: rgba(18,27,43,0.72);
  backdrop-filter: blur(var(--dock-blur));
  -webkit-backdrop-filter: blur(var(--dock-blur));
  box-shadow: 0 18px 50px rgba(17,24,39,0.10);
}

.pfp{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(174,194,228,0.34);
  overflow:hidden;
  flex: 0 0 auto;
  background: rgba(16,24,37,0.9);
}
.pfp img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.profile-main{
  min-width: 0;
  flex: 1 1 auto;
}

.toprow{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.name{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text);
  white-space: nowrap;
}

.plate-tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(174,194,228,0.26);
  background: rgba(20,30,47,0.65);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.meta-line{
  font-size: 12px;
  color: #c8d5ee;
  font-weight: 500;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
}
.dot{ color: #9ca3af; }
.meta-line strong{ color:#ecf3ff; font-weight:700; }

.contact-line{
  margin-top: 8px;
  font-size: 12px;
  color: #c8d5ee;
  display:flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items:center;
}
.contact-line .label{
  color:#ecf3ff;
  font-weight:600;
  margin-right: 6px;
}
.contact-line a{
  color: var(--glow);
  text-decoration:none;
  border-bottom: 1px solid rgba(59,130,246,0.35);
  text-shadow: 0 0 10px rgba(59,130,246,0.22);
}
.contact-line a:hover{
  border-bottom-color: rgba(59,130,246,0.75);
  text-shadow:
    0 0 12px rgba(59,130,246,0.42),
    0 0 22px rgba(96,165,250,0.28);
}

/* ===================================================================== */
/* [CSS-05] PAGE CONTENT */
/* ===================================================================== */
.intro{
  max-width: var(--content-width);
  color:var(--muted);
  font-size:16px;
  margin: 0 auto;
}
.intro p{margin:0 0 18px}

.about-feature{
  margin-top: 20px;
}

.about-feature img{
  width: 100%;
  max-width: var(--content-width);
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(3,8,16,0.30);
}

.about-section{
  max-width: var(--content-width);
  margin: 0 auto;
}

.about-copy{
  max-width: var(--content-width);
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto 20px;
}

.about-copy p{
  margin: 0 0 14px;
}

.about-copy strong,
.role strong,
.desc strong,
.project p strong{
  color: inherit;
  font-weight: inherit;
}

.about-collage{
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 0.92fr;
  grid-template-rows: 170px 170px 155px 155px;
  grid-template-areas:
    "hero hero side1"
    "hero hero portrait"
    "wide wide portrait"
    "mini side2 portrait";
  gap: 12px;
  align-items: stretch;
}

.about-shot{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(197,219,252,0.28);
  background: rgba(9,14,24,0.5);
  box-shadow:
    0 14px 30px rgba(4,10,20,0.34),
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(140,180,240,0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.about-shot:hover{
  border-color: rgba(197,219,252,0.42);
  box-shadow:
    0 20px 42px rgba(4,10,20,0.40),
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 0 1px rgba(140,180,240,0.12);
  transform: translateY(-2px) scale(1.005);
}

.about-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

img[data-expand]{
  cursor: pointer;
}

img[data-expand]:focus-visible{
  outline: 2px solid rgba(173,206,243,0.82);
  outline-offset: 3px;
}

.about-shot-1{ grid-area: hero; }
.about-shot-2{ grid-area: wide; }
.about-shot-3{ grid-area: side1; }
.about-shot-4{ grid-area: side2; }
.about-shot-5{ grid-area: mini; }
.about-shot-6{ grid-area: portrait; }

.section-title{
  margin: 58px auto 22px;
  font-size:12px;
  font-weight:600;
  color:var(--text);
  letter-spacing:0.28px;
  text-transform: uppercase;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  max-width: var(--content-width);
}

.section-title > span:first-child{
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  letter-spacing: 0.30px;
}

#resume-overview.section-title{
  margin: 44px auto 18px;
}

/* ===================================================================== */
/* [CSS-05B] RESUME OVERVIEW SNAPSHOT */
/* ===================================================================== */
.skills-strip{
  max-width: var(--content-width);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.skill-tile{
  display: grid;
  grid-template-rows: auto auto 1fr;
  position: relative;
  padding: 16px 16px 15px;
  border-radius: 14px;
  border: 1px solid rgba(216,229,255,0.28);
  background:
    linear-gradient(180deg, rgba(239,246,255,0.12) 0%, rgba(170,198,255,0.04) 100%),
    rgba(14,22,36,0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 30px rgba(2,8,18,0.24),
    0 0 14px rgba(120,183,243,0.12);
}

.skill-label{
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211,224,248,0.86);
}

.skill-value{
  margin: 8px 0 7px;
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1;
  min-height: 1em;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #f3f8ff;
  text-shadow: 0 8px 20px rgba(9,16,29,0.38);
}

.skill-note{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(207,221,243,0.86);
}

/* ===================================================================== */
/* [CSS-06] CLUBS LIST */
/* ===================================================================== */
.list{
  display:flex;
  flex-direction:column;
  max-width: var(--content-width);
  margin: 0 auto 16px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(174,200,240,0.18);
  background:
    linear-gradient(180deg, rgba(220,236,255,0.09) 0%, rgba(140,180,240,0.03) 100%),
    rgba(12,20,36,0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 28px rgba(2,8,18,0.20);
  overflow: hidden;
}
.item{
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap:18px;
  align-items:start;
  padding: 18px 16px;
  border-radius: 12px;
  background: transparent;
  transition: background 200ms ease;
}
.item + .item{
  border-top: 1px solid rgba(174,200,240,0.14);
}
.item:hover{
  background: rgba(220,236,255,0.05);
}
.logo{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:var(--muted);
  user-select:none;
  overflow:hidden;
  background:var(--card);
}
.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:4px;
}

/* UV logo zoom/crop so the circle looks filled (no white border look) */
.logo.logo-zoom img{
  object-fit:cover;
  padding:0;
  transform: scale(1.25);
}

.item h3{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:var(--text);
  text-transform: capitalize;
}
.role{
  margin:2px 0 2px;
  font-size:14px;
  color:var(--muted);
  font-weight:500;
  text-transform: capitalize;
}
.desc{
  margin:0;
  font-size:14px;
  color:var(--light);
}
.date{
  font-size:13px;
  color:var(--light);
  white-space:nowrap;
  margin-top: 4px;
}

/* ===================================================================== */
/* [CSS-07] PROJECT SPECS (LINE DIVIDERS) */
/* ===================================================================== */
.projects-spec{
  max-width: var(--content-width);
  margin: 0 auto;
}

#projects .projects-spec{
  border-top: 1px solid rgba(213,224,245,0.36);
}

#about,
#projects{
  scroll-margin-top: 120px;
}

.project{
  margin: 0;
  padding: 34px 0;
  border-bottom: 1px solid rgba(213,224,245,0.18);
  position: relative;
  border-radius: 0;
}
.project h2{
  margin:0 0 12px;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.2px;
  text-transform: capitalize;
}
.project p{
  margin:0 0 16px;
  font-size:18px;
  line-height: 1.6;
  color:var(--muted);
}

.meta{
  display:grid;
  gap: 14px;
  margin: 16px 0 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(174,200,240,0.16);
  font-size: 13px;
  color: var(--muted);
}

.org-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0;
  border:none;
  background:none;
  color:#e6f0ff;
  font-size:11px;
  font-weight:700;
  line-height:1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-tools{
  display:grid;
  gap: 8px;
}

.project-tools-label{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(202,217,241,0.72);
}

.project-tool-list{
  display:flex;
  flex-wrap:wrap;
  gap: 8px 16px;
  align-items:center;
}

.org-icon{
  width:20px;
  height:20px;
  border-radius:999px;
  border:1px solid rgba(174,200,240,0.18);
  background: rgba(18,28,46,0.34);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
  color:var(--muted);
  font-size:10px;
}
.org-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  padding:0;
  display:block;
}

.tag{
  display:inline-flex;
  align-items:center;
  position: relative;
  padding-left: 14px;
  border:none;
  background:none;
  color:#e7f0ff;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:6px;
  height:6px;
  border-radius:999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(153,209,255,0.96) 0%, rgba(59,130,246,0.90) 100%);
  box-shadow: 0 0 12px rgba(96,165,250,0.42);
}

.tag:hover{
  transform:none;
  box-shadow:none;
}

.gh{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:2px 0;
  border-bottom: 1px solid rgba(59,130,246,0.35);
}

/* ===================================================================== */
/* [CSS-07B] TECH HIGHLIGHTS BUTTON (GLOW) + POPUP PANEL */
/* ===================================================================== */
.readmore{
  margin-top:2px;
  display:flex;
  align-items:center;
}



.techbtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(59,130,246,0.8);
  background: rgba(59,130,246,0.30);
  color: #eff6ff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-shadow: 0 0 12px rgba(96,165,250,0.9);
  box-shadow: 0 0 15px rgba(59,130,246,0.6), inset 0 0 8px rgba(59,130,246,0.4);
  transition: filter 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}
.techbtn:hover{
  border-color: rgba(147,197,253,1);
  background: rgba(59,130,246,0.45);
  box-shadow:
    0 0 25px rgba(59,130,246,0.8),
    0 0 45px rgba(96,165,250,0.6),
    inset 0 0 16px rgba(96,165,250,0.7);
  filter: brightness(1.15);
  transform: translateY(-1px);
}






/* ===================================================================== */
/* [CSS-08] CAROUSEL */
/* ===================================================================== */
.carousel-shell{
  max-width: 740px;
  margin: 0 auto;
}
.carousel{
  position:relative;
  background:transparent;
  border:none;
  border-radius:0;
  overflow:visible;
}
.counter{
  position:absolute;
  top:10px;
  right:10px;
  z-index:3;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(174,194,228,0.34);
  background: rgba(19,30,47,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size:12px;
  color: var(--muted);
  user-select:none;
  pointer-events:none;
}

.track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background:transparent;
}
.track::-webkit-scrollbar{ display:none; }

.slide{
  min-width:100%;
  height: 360px;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  padding: 0;
  flex-direction: column;
  gap: 10px;
}
.slide img{
  width:100%;
  height:100%;
  max-height: 320px;
  object-fit: contain;
  display:block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  user-select:none;
  -webkit-user-drag:none;
  margin: 0 auto;
  cursor: zoom-in;
}

.slide-caption{
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.slide-caption strong{
  color: var(--text);
  font-weight: 700;
}

.navbtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(220,236,255,0.34);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
  z-index: 2;
  opacity: 1;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(167,198,235,0.08) 100%),
    rgba(17,29,46,0.48);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 10px 28px rgba(4,10,20,0.24);
}
.navbtn span{
  color: #eef6ff;
  font-size: 21px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(185,220,255,0.28);
}
.navbtn:hover{
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(233,246,255,0.52);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(167,198,235,0.12) 100%),
    rgba(17,29,46,0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 14px 34px rgba(4,10,20,0.28);
}

.prev{ left:12px; }
.next{ right:12px; }

.hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--light);
  text-align:center;
}

/* ===================================================================== */
/* [CSS-08B] IMAGE EXPAND (LIGHTBOX) */
/* ===================================================================== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(7,13,28,0.52);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.lightbox[aria-hidden="false"]{ display:flex; }

.lb-card{
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  border-radius: 20px;
  border: 1px solid rgba(200,220,255,0.22);
  background:
    linear-gradient(180deg, rgba(25,40,64,0.72) 0%, rgba(12,20,38,0.88) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 0 1px rgba(140,180,240,0.08);
  overflow: hidden;
  position: relative;
  display:flex;
  flex-direction: column;
}

.lb-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(174,200,240,0.18);
  background:
    linear-gradient(180deg, rgba(220,236,255,0.10) 0%, rgba(140,180,240,0.04) 100%),
    rgba(14,22,40,0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lb-counter{
  font-size: 12px;
  color: var(--muted);
  user-select:none;
}

.lb-close{
  border: 1px solid rgba(174,200,240,0.30);
  background:
    linear-gradient(180deg, rgba(220,236,255,0.12) 0%, rgba(140,180,240,0.05) 100%),
    rgba(18,28,50,0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #dbe8ff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.lb-close:hover{
  border-color: rgba(174,200,240,0.55);
  background:
    linear-gradient(180deg, rgba(220,236,255,0.18) 0%, rgba(140,180,240,0.10) 100%),
    rgba(22,36,62,0.80);
  transform: scale(1.06);
}

.lb-body{
  position: relative;
  padding: 14px 14px 10px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.lb-img{
  width: 100%;
  max-height: calc(100vh - 210px);
  object-fit: contain;
  display:block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  user-select:none;
  -webkit-user-drag:none;
  cursor: default;
}

.lb-caption{
  max-width: 860px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  padding: 0 10px 6px;
}
.lb-caption strong{ color: var(--text); font-weight: 700; }

.lb-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(174,200,240,0.30);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(167,198,235,0.07) 100%),
    rgba(14,24,42,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 22px rgba(4,10,20,0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.lb-nav span{ color: #dbe8ff; font-size: 20px; line-height:1; }
.lb-nav:hover{
  border-color: rgba(174,200,240,0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(167,198,235,0.12) 100%),
    rgba(18,30,52,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 12px 30px rgba(4,10,20,0.28);
  transform: translateY(-50%) scale(1.06);
}
.lb-prev{ left: 14px; }
.lb-next{ right: 14px; }

/* ===================================================================== */
/* [CSS-09] RESUME LINK */
/* ===================================================================== */
.resume-link-section{
  max-width: var(--content-width);
  margin: 42px auto 0;
  padding: 0;
  text-align: center;
}

.resume-download-link{
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ===================================================================== */
/* [CSS-09A] DESKTOP SECTION LAYOUT */
/* ===================================================================== */
@media (min-width: 961px){
  .snap-section{
    padding: 18px 0;
  }

  .snap-section-overview{
    margin-top: -104px;
    position: relative;
    z-index: 2;
  }

  #resume-overview.section-title,
  #projects,
  #about{
    scroll-margin-top: 92px;
  }

  .snap-section-overview .list{
    margin-bottom: 0;
  }

  .snap-section-project .projects-spec-solo{
    margin: 0 auto;
  }

  .snap-section-project .project.project-split{
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
    grid-template-areas:
      "title meta"
      "body media";
    column-gap: 40px;
    row-gap: 18px;
    align-items: start;
    padding: 38px 0;
  }

  .snap-section-project .project.project-split h2{ grid-area: title; }
  .snap-section-project .project.project-split p{ grid-area: body; }
  .snap-section-project .project.project-split .meta{ grid-area: meta; }
  .snap-section-project .project.project-split .meta{ margin: 0; }

  .snap-section-project .project.project-split .carousel-shell{
    grid-area: media;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: start;
  }

  .snap-section-project .project.project-stack{
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 0;
  }

  .snap-section-project .project.project-stack .meta{
    max-width: 860px;
    margin: 18px 0 18px;
  }

  .snap-section-project .project.project-stack .carousel-shell{
    max-width: 860px;
    margin: 0;
  }

  .snap-section-project .project h2{
    margin: 0;
    font-size: clamp(38px, 3.6vw, 52px);
    line-height: 0.98;
  }

  .snap-section-project .project p{
    margin: 0;
    font-size: 19px;
    line-height: 1.72;
  }
  
  .snap-section-project .meta{
    margin: 8px 0 0;
    font-size: 14px;
    justify-self: stretch;
    align-self: start;
    max-width: 100%;
    padding-top: 0;
    border-top: none;
  }

  .snap-section-project .readmore{
    margin-top: 6px;
    margin-left: 0;
  }

  .snap-section-project .org-badge{
    gap: 9px;
    font-size: 13px;
  }

  .snap-section-project .org-icon{
    width: 24px;
    height: 24px;
  }

  .snap-section-project .project-tools{
    gap: 10px;
  }

  .snap-section-project .project-tools-label{
    font-size: 10px;
  }

  .snap-section-project .project-tool-list{
    gap: 10px 18px;
  }

  .snap-section-project .tag{
    font-size: 12px;
    padding-left: 15px;
  }

  .snap-section-project .techbtn{
    padding: 10px 18px;
    font-size: 14px;
  }

  .snap-section-project .carousel-shell{
    max-width: 860px;
  }

  .snap-section-project .slide{
    height: 440px;
  }

  .snap-section-project .slide img{
    max-height: 395px;
  }

  .snap-section-project .slide-caption{
    max-width: 760px;
    font-size: 13px;
  }
}

/* ===================================================================== */
/* [CSS-09A] FOOTER */
/* ===================================================================== */
footer{
  max-width: var(--frame-width);
  margin: 60px auto 0;
  padding: 24px 32px 60px;
  border-top: 1px solid rgba(174,200,240,0.18);
  color: var(--light);
  font-size: 12px;
  position: relative;
}

footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(140,180,240,0.40) 30%,
    rgba(174,200,240,0.54) 50%,
    rgba(140,180,240,0.40) 70%,
    transparent
  );
}
.footer-inner{
  max-width: var(--content-width);
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* ===================================================================== */
/* [CSS-09B] SCROLL REVEAL */
/* ===================================================================== */
.scroll-reveal{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: saturate(0.95);
  transition:
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 340ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (max-width: 720px){
  .scroll-reveal{
    transform: translate3d(0, 12px, 0);
    transition-duration: 280ms;
  }
}

@media (prefers-reduced-motion: reduce){
  .scroll-reveal{
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ===================================================================== */
/* [CSS-07C] TECHNICAL HIGHLIGHTS FULL-SCREEN MODAL */
/* ===================================================================== */
.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 300ms, opacity 300ms ease;
}
.tech-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.tech-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 28, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1;
}

.tech-modal-card {
  position: relative;
  z-index: 2;
  width: min(800px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background:
    linear-gradient(180deg, rgba(22, 36, 62, 0.76) 0%, rgba(10, 18, 36, 0.90) 100%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    0 0 40px rgba(59, 130, 246, 0.14),
    inset 0 1px 0 rgba(200, 220, 255, 0.18),
    0 0 0 1px rgba(59, 130, 246, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

.tech-modal[aria-hidden="false"] .tech-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.tech-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
  background:
    linear-gradient(180deg, rgba(220,236,255,0.09) 0%, rgba(59,130,246,0.04) 100%),
    rgba(14, 24, 44, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px 20px 0 0;
}

.tech-modal-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #eff6ff;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.tech-modal-close {
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(30, 58, 138, 0.3);
  color: #eff6ff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 160ms ease;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.tech-modal-close:hover {
  background: rgba(30, 58, 138, 0.7);
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
  transform: scale(1.05);
}

.tech-modal-body {
  padding: 24px;
  overflow-y: auto;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.tech-modal-body ul {
  margin: 0;
  padding-left: 20px;
}

.tech-modal-body li {
  margin-bottom: 12px;
}
.tech-modal-body li:last-child {
  margin-bottom: 0;
}


/* ===================================================================== */
/* [CSS-10] MOBILE */
/* ===================================================================== */
@media (max-width: 720px){
  #about{
    margin-top: 56px;
  }

  .has-top-nav .wrap{
    padding-top: 16px;
  }

  .site-nav-wrap{
    top: 10px;
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
    transform: none;
  }

  .site-nav-glass{
    width: 100%;
    justify-content: center;
    gap: 4px;
    padding: 6px;
  }

  .site-nav-link{
    font-size: 11px;
    letter-spacing: 0.02em;
    padding: 8px 11px;
  }

  .wrap{ padding: 22px 18px 64px; }

  .hero-main{
    min-height: 100svh;
    padding: 20px;
  }

  .hero-main::before,
  .hero-main::after{
    width: 30%;
  }

  .hero-glass{
    width: min(1080px, 100%);
    border-radius: 16px;
    padding: 24px 18px;
  }

  .hero-photo{
    width: 84px;
    height: 84px;
    margin-bottom: 14px;
  }

  .hero-kicker{
    letter-spacing: 0.14em;
    font-size: 11px;
  }

  .hero-main h1{
    font-size: clamp(24px, 8.2vw, 40px);
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1;
  }

  .hero-contact{
    gap: 8px;
  }

  .hero-contact a{
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 10px 12px;
  }

  .hero-sub{
    font-size: 16px;
  }

  .hero-meta{
    font-size: 12px;
  }

  .hero-particle{
    animation-duration: calc(var(--dur, 12s) * 1.15);
    opacity: 0.5;
  }

  .glass-cursor{
    display:none;
  }

  .hero-fade{
    height: 160px;
  }

  .section-title{ margin: 36px auto 14px; }
  #resume-overview.section-title{ margin: 20px auto 12px; }

  .list{ padding: 8px; }
  .item{ grid-template-columns: 56px 1fr; }
  .date{ grid-column: 2; margin-top: 6px; }

  .skills-strip{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }
  .skill-tile{
    padding: 14px 14px 13px;
    border-radius: 12px;
  }
  .skill-value{
    font-size: clamp(24px, 9vw, 34px);
  }
  .skill-note{
    font-size: 12px;
  }

  .project{ padding: 22px 0; }
  .project h2{ font-size: 24px; margin: 0 0 10px; }
  .project p{ font-size: 15px; margin: 0 0 12px; line-height: 1.55; }
  .meta{ gap: 8px; margin: 10px 0 14px; }
  .readmore{
    width: 100%;
    margin-left: 0;
  }
  .techbtn{
    width: 100%;
    justify-content: center;
  }
  .carousel-shell{
    max-width: 100%;
  }
  .slide{
    height: 300px;
    gap: 8px;
  }
  .slide img{
    max-height: 252px;
  }
  .slide-caption{
    font-size: 11px;
    max-width: 100%;
    padding: 0 8px;
  }
  .navbtn{
    width: 40px;
    height: 40px;
  }
  .counter{
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .about-collage{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 150px 150px 150px 150px;
    grid-template-areas:
      "hero hero"
      "portrait side1"
      "portrait side2"
      "wide wide"
      "mini mini";
    gap: 10px;
  }

  .resume-link-section{
    margin-top: 32px;
  }
}

/* ===================================================================== */
/* [CSS-11] BURGUNDY THEME OVERRIDES */
/* ===================================================================== */
:root{
  --text:#f6e9eb;
  --muted:#d7b8c0;
  --light:#b88a94;
  --bg:#1b0d12;
  --border:rgba(216,160,172,0.24);
  --pill:rgba(59,21,32,0.74);
  --card:rgba(39,15,23,0.72);
  --glow:#c85a73;
  --glow2:#e08b9d;
  --hero-edge:#080205;
  --accent-rgb:200, 90, 115;
  --accent2-rgb:224, 139, 157;
  --accent-soft-rgb:246, 220, 226;
  --panel-rgb:41, 14, 22;
  --panel2-rgb:28, 10, 16;
  --glass-border-rgb:255, 245, 247;
  --glass-fill-rgb:16, 9, 12;
  --glass-fill-strong-rgb:22, 12, 16;
}

body{
  background: var(--bg);
}

.site-nav-glass{
  border-color: rgba(var(--glass-border-rgb),0.18);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.12) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-rgb),0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 22px rgba(8,2,5,0.28);
}

.site-nav-indicator{
  border-color: rgba(var(--accent2-rgb),0.40);
  background:
    linear-gradient(180deg, rgba(var(--accent2-rgb),0.22) 0%, rgba(var(--accent-rgb),0.14) 100%),
    rgba(var(--accent-rgb),0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(var(--accent-rgb),0.12);
}

.site-nav-link{
  color: #ead3d8;
}

.site-nav-link:hover{
  color: #fff2f4;
}

.site-nav-link.active{
  color: #fff5f6;
}

.hero-main{
  background:
    radial-gradient(circle at 50% 52%, rgba(var(--accent-rgb),0.10) 0%, rgba(20,7,12,0.54) 48%, rgba(12,4,8,0.78) 100%),
    url("title_pic.png");
  background-size: cover;
  background-position: center;
}

.hero-main::before,
.hero-main::after{
  width: 18%;
}

.hero-main::before{
  left: -2%;
  background: linear-gradient(to right, rgba(9,2,5,0.56), rgba(9,2,5,0));
}

.hero-main::after{
  right: -2%;
  background: linear-gradient(to left, rgba(9,2,5,0.56), rgba(9,2,5,0));
}

.hero-glass{
  border-color: rgba(var(--glass-border-rgb),0.16);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.10) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-rgb),0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 24px 55px rgba(0,0,0,0.34);
}

.hero-particle{
  background: radial-gradient(circle at 35% 35%, rgba(255,235,238,0.98) 0%, rgba(236,174,187,0.86) 34%, rgba(201,94,119,0.52) 62%, rgba(140,39,62,0.10) 100%);
  box-shadow:
    0 0 18px rgba(var(--accent2-rgb),0.56),
    0 0 34px rgba(var(--accent-rgb),0.28);
}

.glass-cursor{
  border-color: rgba(var(--accent2-rgb),0.44);
  background: radial-gradient(circle at 30% 30%, rgba(255,230,235,0.28), rgba(var(--accent2-rgb),0.16) 48%, rgba(66,18,30,0.12) 100%);
  box-shadow:
    0 0 22px rgba(var(--accent-rgb),0.34),
    inset 0 0 10px rgba(255,223,229,0.18);
}

.hero-main h1.typing-caret::after{
  background: rgba(255,238,240,0.96);
  box-shadow: 0 0 12px rgba(var(--accent2-rgb),0.42);
}

.hero-kicker,
.skill-label,
.project-tools-label,
.resume-cta-kicker{
  color: rgba(238,211,218,0.86);
}

.hero-main h1{
  color: #ffeef0;
  text-shadow:
    0 2px 0 rgba(15,4,8,0.34),
    0 0 8px rgba(var(--accent-rgb),0.34),
    0 0 16px rgba(var(--accent2-rgb),0.22);
}

@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero-main h1{
    color: #ffeef0;
  }
}

@keyframes heroNameGlow{
  0%, 100%{
    text-shadow:
      0 2px 0 rgba(15,4,8,0.30),
      0 0 8px rgba(var(--accent-rgb),0.28),
      0 0 16px rgba(var(--accent2-rgb),0.18);
  }
  50%{
    text-shadow:
      0 2px 0 rgba(15,4,8,0.34),
      0 0 12px rgba(var(--accent-rgb),0.42),
      0 0 22px rgba(var(--accent2-rgb),0.26);
  }
}

.hero-sub,
.hero-meta,
.meta-line,
.contact-line,
.skill-note{
  color: rgba(224,193,201,0.88);
}

.hero-meta strong,
.meta-line strong,
.contact-line .label{
  color: #fff1f2;
}

.dot{
  color: rgba(177,131,141,0.86);
}

.hero-contact a{
  color: #f8e7ea;
  border-color: rgba(var(--glass-border-rgb),0.20);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.12) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-strong-rgb),0.26);
  text-shadow: 0 0 10px rgba(var(--accent-rgb),0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 0 14px rgba(var(--accent-rgb),0.18);
}

.hero-contact a:hover{
  border-color: rgba(var(--glass-border-rgb),0.30);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.16) 0%, rgba(var(--glass-border-rgb),0.05) 100%),
    rgba(var(--glass-fill-strong-rgb),0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255,231,235,0.14),
    0 0 22px rgba(var(--accent-rgb),0.34),
    0 0 34px rgba(var(--accent2-rgb),0.18);
}

.hero-fade{
  background:
    linear-gradient(
      to bottom,
      transparent         0%,
      rgba(27,13,18,0.05) 12%,
      rgba(27,13,18,0.18) 28%,
      rgba(27,13,18,0.40) 44%,
      rgba(27,13,18,0.64) 58%,
      rgba(27,13,18,0.84) 72%,
      rgba(27,13,18,0.95) 86%,
      #1b0d12            100%
    );
}

a.glow,
.intro a,
.gh,
.contact-line a{
  color: var(--glow);
  text-shadow: 0 0 10px rgba(var(--accent-rgb),0.24);
  border-bottom-color: rgba(var(--accent-rgb),0.34);
}

a.glow:hover,
.intro a:hover,
.gh:hover,
.contact-line a:hover{
  text-shadow:
    0 0 12px rgba(var(--accent-rgb),0.42),
    0 0 22px rgba(var(--accent2-rgb),0.22);
  border-bottom-color: rgba(var(--accent2-rgb),0.62);
}

.profile-card,
.skill-tile,
.list,
.resume-cta{
  border-color: rgba(var(--glass-border-rgb),0.16);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.10) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-strong-rgb),0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 30px rgba(7,1,4,0.28),
    0 0 24px rgba(var(--accent-rgb),0.08);
}

.pfp,
.plate-tag,
.logo,
.org-icon,
.counter{
  border-color: rgba(var(--glass-border-rgb),0.18);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.10) 0%, rgba(var(--glass-border-rgb),0.02) 100%),
    rgba(var(--glass-fill-rgb),0.24);
}

.meta-line,
.contact-line,
.skill-note,
.desc,
.date,
.hint{
  color: var(--light);
}

.about-shot{
  border-color: rgba(var(--accent2-rgb),0.24);
  background: rgba(25,9,15,0.52);
  box-shadow:
    0 14px 30px rgba(7,1,4,0.34),
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 1px rgba(var(--accent-rgb),0.06);
}

.about-shot:hover{
  border-color: rgba(var(--accent2-rgb),0.38);
  box-shadow:
    0 20px 42px rgba(7,1,4,0.40),
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(var(--accent-rgb),0.10);
}

img[data-expand]:focus-visible,
.resume-cta-button:focus-visible{
  outline-color: rgba(var(--accent2-rgb),0.92);
}

.item + .item,
#projects .projects-spec,
.project,
.meta,
footer{
  border-color: rgba(var(--accent2-rgb),0.18);
}

.item:hover{
  background: rgba(255,230,235,0.04);
}

.org-badge,
.tag,
.resume-cta h2,
.navbtn span,
.lb-nav span,
.lb-close,
.tech-modal-title{
  color: #fff1f2;
}

.skill-value{
  color: #fff4f5;
  text-shadow: 0 8px 20px rgba(15,4,8,0.38);
}

.project-tools-label{
  color: rgba(236,207,214,0.72);
}

.tag::before{
  background: linear-gradient(180deg, rgba(246,198,208,0.96) 0%, rgba(var(--accent-rgb),0.92) 100%);
  box-shadow: 0 0 12px rgba(var(--accent-rgb),0.30);
}

.techbtn{
  border-color: rgba(var(--accent-rgb),0.82);
  background: rgba(var(--accent-rgb),0.28);
  color: #fff1f2;
  text-shadow: 0 0 12px rgba(var(--accent2-rgb),0.72);
  box-shadow:
    0 0 15px rgba(var(--accent-rgb),0.44),
    inset 0 0 8px rgba(var(--accent-rgb),0.28);
}

.techbtn:hover{
  border-color: rgba(var(--accent2-rgb),0.98);
  background: rgba(var(--accent-rgb),0.42);
  box-shadow:
    0 0 25px rgba(var(--accent-rgb),0.60),
    0 0 45px rgba(var(--accent2-rgb),0.32),
    inset 0 0 16px rgba(var(--accent2-rgb),0.32);
}

.navbtn,
.lb-close,
.lb-nav{
  border-color: rgba(var(--glass-border-rgb),0.22);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.14) 0%, rgba(var(--glass-border-rgb),0.04) 100%),
    rgba(var(--glass-fill-strong-rgb),0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 28px rgba(7,1,4,0.24);
}

.navbtn:hover,
.lb-close:hover,
.lb-nav:hover{
  border-color: rgba(var(--glass-border-rgb),0.32);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.18) 0%, rgba(var(--glass-border-rgb),0.06) 100%),
    rgba(var(--glass-fill-strong-rgb),0.38);
}

.lightbox{
  background: rgba(12,4,8,0.60);
}

.lb-card,
.tech-modal-card{
  border-color: rgba(var(--glass-border-rgb),0.18);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.10) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-strong-rgb),0.44);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 0 1px rgba(var(--accent-rgb),0.08);
}

.lb-top,
.tech-modal-top{
  border-bottom-color: rgba(var(--glass-border-rgb),0.16);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.09) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-strong-rgb),0.34);
}

.resume-cta-button{
  border-color: rgba(var(--glass-border-rgb),0.24);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.14) 0%, rgba(var(--glass-border-rgb),0.04) 100%),
    rgba(var(--glass-fill-strong-rgb),0.30);
  color: #fff1f2;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 10px 24px rgba(7,1,4,0.20);
}

.resume-cta-button:hover{
  border-color: rgba(var(--glass-border-rgb),0.34);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.18) 0%, rgba(var(--glass-border-rgb),0.06) 100%),
    rgba(var(--glass-fill-strong-rgb),0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 14px 28px rgba(7,1,4,0.24);
}

footer::before{
  background: linear-gradient(
    to right,
    transparent,
    rgba(var(--accent-rgb),0.32) 30%,
    rgba(var(--accent2-rgb),0.44) 50%,
    rgba(var(--accent-rgb),0.32) 70%,
    transparent
  );
}

.tech-modal-backdrop{
  background: rgba(10,3,6,0.72);
}

.tech-modal-close{
  border-color: rgba(var(--glass-border-rgb),0.20);
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.12) 0%, rgba(var(--glass-border-rgb),0.03) 100%),
    rgba(var(--glass-fill-rgb),0.28);
  color: #fff1f2;
  box-shadow: 0 0 10px rgba(var(--accent-rgb),0.14);
}

.tech-modal-close:hover{
  background:
    linear-gradient(180deg, rgba(var(--glass-border-rgb),0.16) 0%, rgba(var(--glass-border-rgb),0.05) 100%),
    rgba(var(--glass-fill-rgb),0.36);
  border-color: rgba(var(--glass-border-rgb),0.30);
  box-shadow: 0 0 20px rgba(var(--accent-rgb),0.32);
}
