/* ============================================================
   honey.css — full editorial UI inspired by withhoney.com
   Pure black · Playfair serif headlines · JetBrains mono labels
   ============================================================ */

:root {
  --black:   #000000;
  --white:   #f5f5f0;
  --white-d: rgba(245,245,240,0.55);
  --white-dd:rgba(245,245,240,0.28);
  --accent:  #f5f5f0;
  --rule:    rgba(245,245,240,0.14);
  --rule-s:  rgba(245,245,240,0.30);
  --serif:   'Playfair Display', Georgia, serif;
  --mono:    'JetBrains Mono', monospace;
  --sans:    'Space Grotesk', sans-serif;
  --maxw:    1200px;
  --pad:     clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

body {
  max-width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  cursor: none;
}

img, svg, video, canvas { max-width: 100%; }
.h-section,
.two-col,
.col-left,
.col-right,
.project-block,
.exp-item,
.cred-item,
.journey-card,
.contact-cols { min-width: 0; }

a, button, input, textarea, select { cursor: none; }

/* ── custom cursor ── */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s ease, width .15s ease, height .15s ease;
  will-change: left, top;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s ease, width .18s ease, height .18s ease, border-color .18s ease;
  will-change: left, top;
}
#cursor-dot.cur-vis  { opacity: 1; }
#cursor-ring.cur-vis { opacity: 1; }
#cursor-dot.cur-big  { width: 14px; height: 14px; }
#cursor-ring.cur-big { width: 56px; height: 56px; border-color: rgba(255,255,255,0.9); }

/* ── scroll progress ── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 1px; z-index: 200;
  background: var(--white); width: 0%;
  transition: width .06s linear;
}

/* ── utility ── */
a { color: inherit; text-decoration: none; }
.h-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--white); display: inline-block;
  border-bottom: 1px solid var(--rule-s); padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.h-link:hover { border-color: var(--white); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--rule);
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  gap: 20px;
}
.nav-brand {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em;
  white-space: nowrap;
}
.nav-year { color: var(--white-d); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--white-d); transition: color .2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--white);
}

.nav-cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  padding: 8px 16px; border: 1px solid var(--rule-s);
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ═══════════════════════════════════════════════════════
   SECTION COUNTER (fixed right)
═══════════════════════════════════════════════════════ */
#section-counter {
  position: fixed; right: var(--pad); top: 50%; z-index: 90;
  transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--white-d);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  pointer-events: none;
}
#sc-current {
  font-size: 18px; font-weight: 700; color: var(--white);
  transition: transform .15s ease, opacity .15s ease;
}
.sc-div { font-size: 9px; color: var(--white-dd); }

/* ═══════════════════════════════════════════════════════
   SECTIONS — base
═══════════════════════════════════════════════════════ */
.h-section {
  min-height: 100vh;
  padding: 100px var(--pad) 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column;
  max-width: var(--maxw); margin: 0 auto;
}
/* section label — Honey's [ 02 / 09 ] tag */
.section-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--white-d); margin-bottom: 60px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px;
  background: var(--white-dd); flex-shrink: 0;
}

/* shared typography */
.h-title {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900; line-height: .98;
  letter-spacing: -.02em; margin-bottom: 32px;
}
.h-title em { font-style: italic; }

.h-body {
  font-size: clamp(15px, 1.4vw, 18px); color: var(--white-d);
  line-height: 1.75; max-width: 56ch; margin-bottom: 20px;
}
.h-body--sm { font-size: 14px; max-width: 38ch; }

.h-btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  padding: 12px 22px; border: 1px solid var(--white);
  display: inline-block;
  transition: background .2s, color .2s;
}
.h-btn:hover { background: var(--white); color: var(--black); }
.h-btn--ghost { border-color: var(--rule-s); color: var(--white-d); }
.h-btn--ghost:hover { border-color: var(--white); color: var(--white); background: transparent; }

/* two-column layout — Honey's core layout pattern */
.two-col {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; margin-bottom: 60px;
}
.col-left { }
.col-right { }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero-sec {
  justify-content: space-between;
  padding-top: 120px;
}
.hero-body { flex: 1; display: flex; align-items: center; }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 900; line-height: .9;
  letter-spacing: -.035em;
}
.h1-line { display: block; overflow: hidden; }
.h1-line > * { display: inline-block; }
.h1-italic { font-style: italic; }

.hero-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.hero-who { }
.hf-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hf-loc  { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--white-d); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* marquee strip */
.marquee-strip {
  border-top: 1px solid var(--rule); padding: 14px 0;
  overflow: hidden; margin-top: 36px;
}
.marquee-inner {
  display: inline-flex; gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-strip:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--white-dd); padding: 0 24px;
  transition: color .2s;
}
.marquee-inner span:hover { color: var(--white); }
.marquee-dot { color: var(--white-dd) !important; padding: 0 4px !important; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ═══════════════════════════════════════════════════════
   ABOUT — stats row
═══════════════════════════════════════════════════════ */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--rule);
}
.stat-item {
  padding: 28px 0; border-right: 1px solid var(--rule);
  padding-right: 24px; padding-left: 24px;
  transition: background .2s ease;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-item:hover { background: rgba(245,245,240,.04); }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px); font-weight: 900; line-height: 1;
  margin-bottom: 8px;
}
.stat-num--degree { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.stat-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  color: var(--white-d);
}

/* ═══════════════════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════════════════ */
.exp-item {
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.exp-item:first-child { border-top: none; }
.exp-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--white-dd); margin-bottom: 8px;
}
.exp-role { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.exp-org  { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--white-d); margin-bottom: 14px; }
.exp-list { padding: 0; list-style: none; }
.exp-list li {
  font-size: 14px; color: var(--white-d); line-height: 1.7;
  padding-left: 18px; position: relative; margin-bottom: 6px;
}
.exp-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--white-dd);
}
.exp-certificates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0 0;
}
.exp-certificates .nav-cta {
  display: inline-block;
  z-index: 0;
  clip-path: inset(0);
}
.exp-certificates .nav-cta::before { z-index: 0; }
.exp-certificates .nav-cta > span { position: relative; z-index: 1; }
.certificate-arrow {
  display: inline-block;
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
  transition: transform .3s var(--spring-ease);
}
.exp-certificates .nav-cta:hover .certificate-arrow,
.exp-certificates .nav-cta:focus-visible .certificate-arrow { transform: translate(3px, -3px); }


/* ═══════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════ */
.projects-head { margin-bottom: 60px; }
.projects-head .h-title { margin-bottom: 16px; }
.projects-head .h-body { margin-bottom: 0; }

.project-block {
  border-top: 1px solid var(--rule); padding: 40px 0;
  transition: background .2s ease;
}
.project-block:hover { background: rgba(245,245,240,.02); }
.project-block:last-child { border-bottom: 1px solid var(--rule); }

.pb-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.pb-index {
  font-family: var(--serif); font-size: 48px; font-weight: 900;
  color: var(--white-dd); line-height: 1; transition: color .2s;
}
.project-block:hover .pb-index { color: var(--white); }
.pb-status {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  padding: 5px 12px; border: 1px solid var(--rule-s); color: var(--white-d);
  transition: border-color .2s, color .2s;
}
.pb-status--active { }
.project-block:hover .pb-status { border-color: var(--white); color: var(--white); }

.pb-body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
}
.pb-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 900; margin-bottom: 8px; line-height: 1; }
.pb-sub   { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--white-d); margin-bottom: 12px; }
.pb-stack { font-family: var(--mono); font-size: 11px; color: var(--white-dd); line-height: 1.8; }
.pb-desc  { font-size: 15px; color: var(--white-d); line-height: 1.75; margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════════ */
.skill-cols { display: flex; flex-direction: column; gap: 0; }
.skill-group-h {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 24px; padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  transition: padding-left .2s;
}
.skill-group-h:first-child { border-top: none; }
.skill-group-h:hover { padding-left: 12px; }
.sg-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--white-d); flex-shrink: 0;
}
.sg-list {
  font-size: 14px; color: var(--white); line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   CREDENTIALS
═══════════════════════════════════════════════════════ */
.cred-list { display: flex; flex-direction: column; }
.cred-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: center; gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--rule);
  transition: padding-left .2s ease; position: relative;
}
.cred-item:first-child { border-top: none; }
.cred-item:hover { padding-left: 12px; }
.cred-org  { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--white-d); }
.cred-name { font-size: 16px; font-weight: 600; }
.cred-type { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--white-dd); }

/* ═══════════════════════════════════════════════════════
   PRINCIPLES / POOL RULES
═══════════════════════════════════════════════════════ */
.rules-sec {
  overflow: hidden; padding-top: 0;
  min-height: auto;
}

/* giant scrolling "PRINCIPLES" text — exactly like Honey's "POOL RULES" */
.rules-marquee {
  overflow: hidden; border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.rules-marquee-inner {
  display: inline-flex; gap: 80px;
  animation: marquee 16s linear infinite;
  white-space: nowrap;
}
.rules-marquee-inner span {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 900; color: transparent;
  -webkit-text-stroke: 1px rgba(245,245,240,.18);
  letter-spacing: -.02em; line-height: 1;
}

.rules-content {
  padding: 80px var(--pad);
  max-width: var(--maxw); margin: 0 auto; width: 100%;
}
.rules-title { margin-bottom: 60px; }

.rules-list { display: flex; flex-direction: column; }
.rule-row {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--rule);
  transition: padding-left .2s ease, background .2s ease;
  position: relative;
}
.rule-row:hover { padding-left: 16px; background: rgba(245,245,240,.025); }
.rr-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--white-d); padding-top: 3px; flex-shrink: 0;
}
.rr-text {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--white-d); line-height: 1.9; text-transform: uppercase;
  transition: color .2s ease;
}
.rule-row:hover .rr-text { color: var(--white); }

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact-sec { justify-content: center; }
.contact-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-title { max-width: none; margin-bottom: 60px; }

.contact-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; border-top: 1px solid var(--rule); padding-top: 40px;
}
.cc-left .h-body { max-width: 42ch; margin-bottom: 28px; }
.contact-sign {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--white-d); display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}

.contact-link-list { display: flex; flex-direction: column; }
.cl-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--rule);
  gap: 20px; transition: padding-left .2s ease;
}
.cl-row:first-child { border-top: none; }
.cl-row:hover { padding-left: 12px; }
.cl-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--white-d); flex-shrink: 0; }
.cl-val   { font-size: 15px; font-weight: 600; text-align: right; }
.cl-arrow { opacity: .5; transition: transform .2s, opacity .2s; }
.cl-row:hover .cl-arrow { transform: translate(3px, -3px); opacity: 1; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
#site-footer {
  border-top: 2px solid var(--white);
  padding: 32px var(--pad);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em;
}
.footer-brand span { color: var(--white-d); }
.footer-tagline { font-size: 12px; color: var(--white-d); margin-top: 4px; }
.footer-right {
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.footer-right a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--white-d); transition: color .2s;
}
.footer-right a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-l {
  opacity: 0; transform: translateX(-24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-l.in { opacity: 1; transform: translateX(0); }

.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1)  { transition-delay:.00s }
.stagger.in > *:nth-child(2)  { transition-delay:.06s }
.stagger.in > *:nth-child(3)  { transition-delay:.12s }
.stagger.in > *:nth-child(4)  { transition-delay:.18s }
.stagger.in > *:nth-child(5)  { transition-delay:.24s }
.stagger.in > *:nth-child(6)  { transition-delay:.30s }
.stagger.in > *:nth-child(7)  { transition-delay:.36s }
.stagger.in > *:nth-child(8)  { transition-delay:.42s }
.stagger.in > *:nth-child(9)  { transition-delay:.48s }

/* line-by-line hero reveal */
.h1-line { overflow: hidden; }
.h1-line-inner {
  display: block;
  transform: translateY(105%);
  animation: lineUp .9s cubic-bezier(.16,1,.3,1) forwards;
}
.h1-line:nth-child(1) .h1-line-inner { animation-delay: .15s; }
.h1-line:nth-child(2) .h1-line-inner { animation-delay: .3s; }
.h1-line:nth-child(3) .h1-line-inner { animation-delay: .45s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-footer,
.hero-actions { opacity: 0; animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .75s forwards; }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

@media (prefers-reduced-motion:reduce) {
  .h1-line-inner { transform: none; animation: none; }
  .hero-footer, .hero-actions { opacity:1; animation:none; }
  .reveal,.reveal-l { opacity:1; transform:none; transition:none; }
  .stagger > * { opacity:1; transform:none; transition:none; }
  .rules-marquee-inner { animation:none; }
  .marquee-inner { animation:none; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .two-col          { grid-template-columns: 1fr; gap: 40px; }
  .pb-body          { grid-template-columns: 1fr; gap: 20px; }
  .contact-cols     { grid-template-columns: 1fr; gap: 40px; }
  .stat-row         { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  #section-counter  { display: none; }
}
@media (max-width: 640px) {
  :root             { --pad: 20px; }
  .h-section        { width: 100%; overflow: clip; }
  .nav-links        { display: none; }
  .h-section        { padding-top: 80px; }
  .stat-row         { grid-template-columns: 1fr; }
  .stat-item        { border-right: none; padding-left: 0; }
  .cred-item        { grid-template-columns: 1fr; gap: 4px; }
  .skill-group-h    { grid-template-columns: 1fr; }
  .footer-right     { gap: 16px; }
  .exp-list li,
  .cred-name,
  .cred-type,
  .journey-event-body,
  .journey-event-body p { overflow-wrap: anywhere; }
  .nav-inner        { gap: 12px; }
  .nav-brand        { overflow: hidden; text-overflow: ellipsis; }
}

/* ============================================================
   FUNCTIONAL POLISH — intro, mobile navigation and story panels
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

#page-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: clamp(24px, 5vw, 80px);
  background: var(--accent);
  color: var(--black);
  transform: translateY(0);
  transition: transform .55s var(--honey-ease), visibility 0s linear .55s;
  animation: introFallback .01s linear 1.5s forwards;
}
.intro-mark {
  font-family: var(--serif);
  font-size: clamp(46px, 10vw, 148px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.05em;
}
.intro-status {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.intro-line {
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, .22);
  overflow: hidden;
}
.intro-line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  animation: introProgress .7s var(--honey-ease) .08s forwards;
}
body.page-entered #page-intro {
  transform: translateY(-100%);
  visibility: hidden;
  animation: none;
}
body:not(.page-entered) .h1-line-inner,
body:not(.page-entered) .hero-footer,
body:not(.page-entered) .hero-actions { animation-play-state: paused; }
@keyframes introProgress { to { transform: scaleX(1); } }
@keyframes introFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--rule-s);
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--spring-ease), width .25s ease;
}
body.menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

.pb-media {
  --media-y: 0px;
  position: relative;
  height: clamp(190px, 27vw, 330px);
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #080808;
  isolation: isolate;
}
.pb-media::before {
  content: '';
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 76, 36, .52), transparent 21%),
    radial-gradient(circle at 33% 72%, rgba(244, 72, 73, .24), transparent 27%);
  filter: blur(18px);
  transform: translate3d(0, var(--media-y), 0) scale(1.02);
  transition: transform .5s var(--spring-ease), filter .4s ease;
}
.project-block + .project-block .pb-media::before {
  background:
    radial-gradient(circle at 32% 28%, rgba(244, 72, 73, .48), transparent 22%),
    radial-gradient(circle at 76% 76%, rgba(255, 76, 36, .24), transparent 29%);
}
.pb-media-grid {
  position: absolute;
  inset: -12%;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(800px) rotateX(62deg) translate3d(0, calc(38% + var(--media-y)), 0) scale(1.35);
  transform-origin: center bottom;
  transition: transform .5s var(--spring-ease), opacity .3s ease;
}
.pb-media-kicker {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.64);
}
.pb-media-title {
  position: absolute;
  left: 22px;
  bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(46px, 9vw, 126px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.055em;
  color: var(--white);
  transform: translate3d(0, calc(var(--media-y) * -.45), 0);
  transition: letter-spacing .4s var(--spring-ease), transform .4s ease;
  white-space: nowrap;
}
.pb-media-orbit {
  position: absolute;
  right: 8%;
  top: 50%;
  width: clamp(70px, 12vw, 150px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 55px rgba(255, 76, 36, .26), inset 0 0 34px rgba(255, 76, 36, .16);
  transition: transform .5s var(--spring-ease), background .3s ease;
}
.pb-media-orbit::after {
  content: '';
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  left: 50%;
  top: -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}
.project-block:hover .pb-media::before { transform: translate3d(0, var(--media-y), 0) scale(1.08); filter: blur(10px); }
.project-block:hover .pb-media-grid { opacity: .55; transform: perspective(800px) rotateX(58deg) translate3d(0, calc(35% + var(--media-y)), 0) scale(1.4); }
.project-block:hover .pb-media-title { letter-spacing: -.035em; }
.project-block:hover .pb-media-orbit { transform: translateY(-50%) rotate(14deg) scale(1.06); background: rgba(255,76,36,.08); }

/* Career progression uses real existing experience entries—no fabricated stages. */
.journey-list {
  position: relative;
  padding-left: 34px;
}
.journey-list::before,
.journey-list::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: 18px;
  width: 1px;
}
.journey-list::before { background: var(--rule-s); }
.journey-list::after {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 76, 36, .65);
  transform: scaleY(var(--journey-progress, 0));
  transform-origin: top;
  transition: transform .12s linear;
}
.journey-list .exp-item::before {
  content: attr(data-step);
  position: absolute;
  left: -43px;
  top: 30px;
  width: 29px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-s);
  border-radius: 50%;
  background: var(--black);
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 8px;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .35s var(--spring-ease);
}
.journey-list .exp-item { position: relative; opacity: .58; transition: opacity .35s ease; }
.journey-list .exp-item.is-active { opacity: 1; }
.journey-list .exp-item.is-active::before {
  color: var(--black);
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.14);
}

.skill-group-h { position: relative; }
.skill-group-h::after {
  content: attr(data-skill-index);
  position: absolute;
  right: 6px;
  top: 17px;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  transition: color .25s ease, transform .35s var(--spring-ease);
}
.skill-group-h:hover::after,
.skill-group-h:focus-within::after { color: var(--accent); transform: translateX(-8px) rotate(-8deg); }
.cred-item::after {
  content: attr(data-achievement-index);
  position: absolute;
  left: -24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .3s var(--spring-ease);
}
.cred-item:hover::after { opacity: 1; transform: translateX(0); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    inset: 67px 0 0;
    z-index: 99;
    padding: 34px var(--pad) 48px;
    background: rgba(0,0,0,.985);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path .48s var(--honey-ease), opacity .3s ease, visibility 0s linear .48s;
  }
  .mobile-menu a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-size: clamp(34px, 9vw, 62px);
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .4s var(--honey-ease), transform .4s var(--honey-ease), color .2s ease;
  }
  .mobile-menu a span { font-family: var(--mono); font-size: 9px; color: var(--accent); }
  .mobile-menu a:hover { color: var(--accent); }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
  body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .12s; }
  body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .16s; }
  body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .20s; }
  body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .24s; }
  body.menu-open .mobile-menu a:nth-child(5) { transition-delay: .28s; }
  body.menu-open .mobile-menu a:nth-child(6) { transition-delay: .32s; }
  .pb-media { height: clamp(180px, 42vw, 300px); }
}

@media (max-width: 640px) {
  #site-nav { display: block; visibility: visible; opacity: 1; }
  .nav-right .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 10px;
  }
  .exp-certificates .nav-cta { display: inline-block; }
  .mobile-menu { top: 67px; }
  .pb-media { margin-bottom: 26px; }
  .pb-media-title { font-size: clamp(40px, 15vw, 76px); }
  .pb-media-orbit { opacity: .6; }
  .journey-list { padding-left: 26px; }
  .journey-list .exp-item::before { left: -35px; }
  .skill-group-h::after { top: 14px; }
}
@media (max-width: 390px) {
  .nav-year { display: none; }
  .nav-right { gap: 8px; }
  .nav-right .nav-cta { padding: 8px; font-size: 9px; }
}

/* On mobile, primary navigation becomes a compact right-side dropdown. */
@media (max-width: 900px) {
.nav-links { display: none; }
.nav-toggle { display: flex; }
.mobile-menu {
  inset: auto;
  position: absolute;
  top: calc(100% + 1px);
  right: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  z-index: 99;
  width: min(330px, calc(100vw - (var(--pad) * 2)));
  max-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  overflow-y: auto;
  border: 1px solid var(--rule-s);
  background: rgba(0, 0, 0, .98);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .48);
  visibility: hidden;
  opacity: 0;
  clip-path: none;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .28s var(--spring-ease), visibility 0s linear .28s;
}
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--rule);
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.2;
  opacity: 1;
  transform: none;
  transition: color .2s ease, padding-left .25s var(--spring-ease);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a span { color: var(--accent); font-family: var(--mono); font-size: 9px; }
.mobile-menu a:hover,
.mobile-menu a:focus-visible { padding-left: 9px; color: var(--white); }
body.menu-open { overflow-x: clip; overflow-y: auto; }
body.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  clip-path: none;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
body.menu-open .mobile-menu a { opacity: 1; transform: none; transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  #page-intro { display: none; }
  body:not(.page-entered) .h1-line-inner,
  body:not(.page-entered) .hero-footer,
  body:not(.page-entered) .hero-actions { animation-play-state: running; }
  .mobile-menu,
  .mobile-menu a { transition-duration: .01ms !important; }
  .pb-media::before,
  .pb-media-grid,
  .pb-media-title { transform: none !important; transition: none !important; }
  .journey-list::after { transform: scaleY(1); transition: none; }
  .journey-list .exp-item { opacity: 1; }
}

/* Transform composition guard: reveal, tilt and parallax share one project transform. */
.js.motion-ok .project-block.card-reveal,
.js.motion-ok .project-block.card-reveal.in {
  transform: perspective(1200px) translate3d(0, var(--entry-y), 0) rotateZ(var(--entry-r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}
.skip-link {
  position: fixed;
  z-index: 11000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
@media (max-width: 900px) {
  .js.motion-ok .project-block.card-reveal,
  .js.motion-ok .project-block.card-reveal.in {
    transform: translate3d(0, var(--entry-y), 0) rotate(var(--entry-r));
  }
}
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

@media (pointer: coarse) {
  #cursor-dot,
  #cursor-ring { display: none !important; }
  body,
  body a,
  body button,
  body input,
  body textarea,
  body select { cursor: auto !important; }
  .project-block { --tilt-x: 0deg !important; --tilt-y: 0deg !important; }
}

/* ============================================================
   HONEY CORE MOTION — shared tokens and progressive enhancement
   ============================================================ */
:root {
  --accent: #ff4c24;
  --accent-2: #f44849;
  --honey-ease: cubic-bezier(.44, 0, .56, 1);
  --spring-ease: cubic-bezier(.34, 1.35, .64, 1);
}

::selection { background: var(--accent); color: var(--black); }
body {
  cursor: auto;
  background: radial-gradient(circle at 72% 7%, rgba(255, 76, 36, .08), transparent 28rem), var(--black);
}
/*
   Desktop mouse usability
   -----------------------
   The decorative cursor used to replace the operating-system cursor on every
   fine-pointer device.  That makes it difficult to tell when text can be
   selected or an input can be edited, and it can disappear when the animation
   is interrupted.  Keep the native cursor as the reliable interaction cue.
*/
#cursor-dot,
#cursor-ring { display: none !important; }

a,
button,
[role="button"],
.cred-item,
.rule-row,
.project-block,
.stat-item { cursor: pointer; }

input,
textarea { cursor: text; }

select { cursor: default; }

#scroll-bar {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(255, 76, 36, .7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: none;
}
#cursor-dot { background: var(--accent); box-shadow: 0 0 14px rgba(255, 76, 36, .85); }
#cursor-ring {
  display: grid;
  place-items: center;
  border-color: rgba(255, 76, 36, .68);
  transition: opacity .2s ease, width .25s var(--spring-ease), height .25s var(--spring-ease), border-color .2s ease, background .2s ease;
  will-change: transform;
}
#cursor-ring::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .18s ease, transform .25s var(--spring-ease);
}
#cursor-ring.cur-big {
  width: 68px;
  height: 68px;
  border-color: var(--accent);
  background: rgba(255, 76, 36, .12);
}
#cursor-ring.cur-big::after { opacity: 1; transform: scale(1); }

.nav-links a.active,
.nav-links a:hover,
.h-link:hover,
.h1-italic { color: var(--accent); }
.nav-links a.active::after { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.h-link,
.h-btn,
.nav-cta { transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0); }
.h-btn,
.nav-cta { position: relative; overflow: hidden; isolation: isolate; }
.h-btn::before,
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: translateY(102%);
  transition: transform .35s var(--honey-ease);
}
.h-btn:hover::before,
.nav-cta:hover::before { transform: translateY(0); }
.h-btn:hover,
.nav-cta:hover { background: transparent; color: var(--black); }
.h-btn--ghost:hover { background: transparent; color: var(--black); }

.hero-sec { isolation: isolate; }
.hero-sec::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  right: -16%;
  top: 7%;
  border-radius: 50%;
  background: rgba(255, 76, 36, .23);
  filter: blur(85px);
  opacity: .5;
  transform: translate3d(0, var(--hero-glow-y, 0), 0);
  pointer-events: none;
}
.h1-line-inner {
  opacity: .001;
  transform: translateY(25px);
  animation: honeyLine .7s var(--honey-ease) forwards;
}
.h1-line:nth-child(1) .h1-line-inner { animation-delay: .2s; }
.h1-line:nth-child(2) .h1-line-inner { animation-delay: .28s; }
.h1-line:nth-child(3) .h1-line-inner { animation-delay: .36s; }
@keyframes honeyLine { to { opacity: 1; transform: translateY(0); } }
.hero-footer,
.hero-actions { animation: honeyFade .7s var(--honey-ease) .48s forwards; }
@keyframes honeyFade { from { opacity: .001; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

.marquee-strip,
.rules-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-inner { animation-duration: 32s; will-change: transform; }
.rules-marquee-inner { animation-duration: 20s; will-change: transform; }
body.is-paused .marquee-inner,
body.is-paused .rules-marquee-inner { animation-play-state: paused; }

/* Honey's opacity .001 / y 25 / .7s entrance language. */
.js.motion-ok .reveal,
.js.motion-ok .reveal-l,
.js.motion-ok .card-reveal,
.js.motion-ok .stagger > * { opacity: .001; }
.js.motion-ok .reveal {
  transform: translateY(25px);
  transition: opacity .7s var(--honey-ease), transform .7s var(--honey-ease);
}
.js.motion-ok .reveal-l {
  transform: translateX(-25px);
  transition: opacity .7s var(--honey-ease), transform .7s var(--honey-ease);
}
.js.motion-ok .reveal.in,
.js.motion-ok .reveal-l.in { opacity: 1; transform: translate(0); }
.js.motion-ok .stagger > * {
  transform: translateY(25px);
  transition: opacity .7s var(--honey-ease), transform .7s var(--honey-ease);
}
.js.motion-ok .stagger.in > * { opacity: 1; transform: translateY(0); }
.js.motion-ok .card-reveal {
  opacity: .001;
  transform: translateY(120px) rotate(-6deg);
  transform-origin: 15% 100%;
  transition: opacity .85s var(--honey-ease), transform .85s var(--honey-ease);
}
.js.motion-ok .card-reveal.in { opacity: 1; transform: translateY(0) rotate(0); }

.section-label::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 76, 36, .65);
}
.js.motion-ok .section-label::before {
  width: 0;
  transition: width .7s var(--honey-ease) .12s;
}
.section-label.in::before { width: 28px; }
.h-section::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--honey-ease);
  pointer-events: none;
}
.h-section.is-seen::after { transform: scaleX(1); }
.scroll-word {
  opacity: var(--word-opacity, .14);
  filter: blur(var(--word-blur, 7px));
  transition: filter .2s ease-out, opacity .2s ease-out;
  will-change: filter, opacity;
}

.project-block {
  --entry-y: 0px;
  --entry-r: 0deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  transform: perspective(1200px) translate3d(0, var(--entry-y), 0) rotateZ(var(--entry-r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: opacity .75s var(--honey-ease), transform .4s var(--spring-ease), background .25s ease, box-shadow .4s ease;
}
.js.motion-ok .project-block.card-reveal { --entry-y: 120px; --entry-r: -6deg; transform: perspective(1200px) translate3d(0, var(--entry-y), 0) rotateZ(var(--entry-r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.js.motion-ok .project-block.card-reveal.in { --entry-y: 0px; --entry-r: 0deg; }
.project-block::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 76, 36, .24), transparent 72%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.project-block:hover { background: rgba(255, 76, 36, .025); box-shadow: 0 0 80px 24px rgba(255, 76, 36, .07); }
.project-block:hover::before { opacity: 1; }
.project-block > * { position: relative; z-index: 1; }
.project-block:hover .pb-title,
.project-block:hover .pb-index,
.exp-item:hover .exp-role,
.cred-item:hover .cred-name { color: var(--accent); }
.project-block:hover .pb-status { border-color: var(--accent); color: var(--accent); }

.stat-item { position: relative; overflow: hidden; }
.stat-item::after {
  content: '';
  position: absolute;
  inset: auto 12% 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .35s var(--spring-ease);
}
.stat-item:hover::after { transform: scaleX(1); }
.stat-item:hover .stat-num { color: var(--accent); text-shadow: 0 0 30px rgba(255, 76, 36, .35); }
.skill-group-h,
.cred-item,
.cl-row { transition: padding-left .35s var(--spring-ease), background .25s ease; }
.skill-group-h:hover,
.cred-item:hover,
.cl-row:hover { background: linear-gradient(90deg, rgba(255, 76, 36, .09), transparent 68%); }

.rule-row { isolation: isolate; transition: padding-left .4s var(--spring-ease), background .25s ease; }
.rule-row::after {
  content: attr(data-preview);
  position: absolute;
  z-index: 3;
  right: clamp(6px, 4vw, 52px);
  top: 50%;
  width: 148px;
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 18px 60px rgba(255, 76, 36, .32);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
  opacity: 0;
  transform: translate(20px, -44%) rotate(8deg) scale(.78);
  transition: opacity .25s ease, transform .4s var(--spring-ease);
  pointer-events: none;
}
.rule-row:hover::after { opacity: 1; transform: translate(0, -50%) rotate(-5deg) scale(1); }
.rr-text { transition: color .2s ease, padding-right .35s var(--spring-ease); }
.rule-row:hover .rr-text { color: var(--white); padding-right: 180px; }

@media (min-width: 901px) {
  #about .col-left,
  #experience .col-left,
  #skills .col-left,
  #awards .col-left { position: sticky; top: 118px; align-self: start; }
}
@media (max-width: 900px) {
  .project-block { transform: translate3d(0, var(--entry-y), 0) rotate(var(--entry-r)); }
  .js.motion-ok .project-block.card-reveal { transform: translate3d(0, var(--entry-y), 0) rotate(var(--entry-r)); }
  .rule-row::after { display: none; }
  .rule-row:hover .rr-text { padding-right: 0; }
}
@media (max-width: 640px) {
  .hero-sec::before { width: 85vw; right: -45%; opacity: .34; }
  .marquee-strip,
  .rules-marquee { -webkit-mask-image: none; mask-image: none; }
  .js.motion-ok .card-reveal { transform: translateY(25px); }
  .js.motion-ok .card-reveal.in { transform: translateY(0); }
  .js.motion-ok .project-block.card-reveal { --entry-y: 25px; --entry-r: 0deg; }
  .js.motion-ok .project-block.card-reveal.in { --entry-y: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  body { background: var(--black); }
  #cursor-dot,
  #cursor-ring { display: none; }
  .h1-line-inner,
  .hero-footer,
  .hero-actions,
  .reveal,
  .reveal-l,
  .card-reveal,
  .stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .scroll-word { opacity: 1 !important; filter: none !important; transition: none !important; }
  .section-label::before { width: 28px !important; transition: none; }
  .h-section::after { transform: scaleX(1); transition: none; }
  .project-block { --entry-y: 0px !important; --entry-r: 0deg !important; --tilt-x: 0deg !important; --tilt-y: 0deg !important; }
  .project-block::before,
  .rule-row::after { display: none; }
}

/* ============================================================
   CODING PROFILES — HUD dashboard inspired by the supplied UI
   ============================================================ */
.coding-dashboard {
  margin-top: clamp(70px, 11vw, 150px);
  padding-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--rule-s);
  scroll-margin-top: 92px;
}
.coding-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: end;
  margin-bottom: 46px;
}
.coding-kicker,
.data-card-label,
.profile-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--white-d);
}
.coding-kicker { margin-bottom: 18px; color: var(--accent); }
.coding-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.035em;
}
.coding-title em { color: var(--accent); font-style: italic; }
.coding-head .h-body { margin: 0; }

.profile-tabs {
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  margin: 0 auto 34px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.018);
  padding: 4px;
}
.profile-tab {
  border: 0;
  border-right: 1px solid var(--rule);
  padding: 12px 22px;
  background: transparent;
  color: var(--white-d);
  font-family: var(--sans);
  font-size: 12px;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.profile-tab:last-child { border-right: 0; }
.profile-tab span { margin-right: 8px; color: var(--white-dd); font-family: var(--mono); }
.profile-tab:hover { color: var(--white); }
.profile-tab.is-active {
  color: var(--white);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px var(--rule-s), 0 0 25px rgba(255,76,36,.08);
}
.profile-tab.is-active span { color: var(--accent); }

.profile-shell {
  position: relative;
  min-height: 510px;
  border: 1px solid var(--rule-s);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    rgba(4,4,4,.84);
  background-size: 30px 30px;
  padding: clamp(20px, 4vw, 42px);
  isolation: isolate;
}
.profile-shell::before,
.profile-shell::after,
.profile-panel::before,
.profile-panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.profile-shell::before { left: -1px; top: -1px; border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.profile-shell::after { right: -1px; bottom: -1px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.profile-panel::before { right: -1px; top: -1px; border-right: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.profile-panel::after { left: -1px; bottom: -1px; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.profile-panel {
  position: relative;
  animation: profilePanelIn .45s var(--honey-ease) both;
}
.profile-panel[hidden] { display: none; }
@keyframes profilePanelIn { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.profile-live,
.profile-external {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
}
.profile-live { display: flex; align-items: center; gap: 10px; }
.signal-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: signalPulse 1.8s ease-in-out infinite;
}
@keyframes signalPulse { 50% { opacity: .35; transform: scale(.72); } }
.profile-external { color: var(--white-d); transition: color .2s ease; }
.profile-external:hover { color: var(--accent); }

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.profile-metric {
  position: relative;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  border: 1px solid var(--rule);
  background: rgba(0,0,0,.58);
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease, transform .35s var(--spring-ease);
}
.profile-metric::before,
.profile-data-card::before,
.competitive-card::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--white-d);
  border-top: 1px solid var(--white-d);
}
.profile-metric:hover { border-color: var(--rule-s); background: rgba(255,76,36,.035); transform: translateY(-4px); }
.metric-icon { color: var(--white-d); font-family: var(--mono); font-size: 13px; margin-bottom: 4px; }
.profile-metric strong {
  font-family: var(--serif);
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: 1;
  color: var(--white);
}
.profile-metric strong.metric-compact { font-size: clamp(19px, 2.6vw, 31px); }
.profile-metric > span:last-child {
  margin-top: 10px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .17em;
  text-align: center;
}
.profile-data-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; }
.profile-data-card,
.competitive-card {
  position: relative;
  border: 1px solid var(--rule);
  background: rgba(0,0,0,.6);
  padding: 24px;
}
.data-card-label { margin-bottom: 20px; color: var(--white); }
.repo-signal-list,
.language-signal-list { display: flex; flex-direction: column; }
.repo-signal-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.repo-signal-row:first-child { border-top: 0; }
.repo-signal-row strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repo-signal-row small,
.repo-loading { color: var(--white-d); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.repo-signal-row .repo-arrow { color: var(--accent); }
.language-row { margin-bottom: 15px; }
.language-row-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 9px;
}
.language-track { height: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.language-track span { display: block; width: var(--language-width); height: 100%; background: var(--accent); box-shadow: 0 0 10px rgba(255,76,36,.5); }
.profile-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.identity-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-s);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}
.profile-identity strong { display: block; font-size: 12px; }
.profile-identity small { display: block; color: var(--white-d); font-family: var(--mono); font-size: 7px; letter-spacing: .12em; margin-top: 3px; }

.competitive-card {
  min-height: 290px;
  display: grid;
  grid-template-columns: auto 1fr minmax(80px, .35fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  background: radial-gradient(circle at 84% 50%, rgba(255,76,36,.12), transparent 28%), rgba(0,0,0,.65);
}
.codechef-card { background: radial-gradient(circle at 84% 50%, rgba(244,72,73,.12), transparent 28%), rgba(0,0,0,.65); }
.platform-monogram {
  width: clamp(74px, 11vw, 120px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  box-shadow: 0 0 50px rgba(255,76,36,.17), inset 0 0 32px rgba(255,76,36,.08);
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 900;
}
.competitive-copy h4 {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}
.competitive-copy p { max-width: 56ch; margin-bottom: 22px; color: var(--white-d); font-size: 13px; line-height: 1.7; }
.signal-bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.signal-bars span {
  flex: 1;
  height: calc(var(--signal) * 100%);
  min-width: 7px;
  background: linear-gradient(to top, var(--accent), rgba(255,76,36,.08));
  transform-origin: bottom;
  animation: signalRise .7s var(--spring-ease) both;
}
.signal-bars span:nth-child(2) { animation-delay: .06s; }
.signal-bars span:nth-child(3) { animation-delay: .12s; }
.signal-bars span:nth-child(4) { animation-delay: .18s; }
.signal-bars span:nth-child(5) { animation-delay: .24s; }
@keyframes signalRise { from { transform: scaleY(0); } }
.profile-note { margin-top: 14px; text-align: right; font-size: 7px; }

@media (max-width: 900px) {
  .coding-head { grid-template-columns: 1fr; align-items: start; }
  .profile-metrics { grid-template-columns: repeat(2, 1fr); }
  .profile-data-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .profile-tabs { width: 100%; grid-template-columns: 1fr; }
  .profile-tab { border-right: 0; border-bottom: 1px solid var(--rule); text-align: left; }
  .profile-tab:last-child { border-bottom: 0; }
  .profile-shell { padding: 16px; min-height: 560px; }
  .profile-panel-head { align-items: flex-start; flex-direction: column; }
  .profile-metrics { gap: 8px; }
  .profile-metric { min-height: 105px; padding: 15px 8px; }
  .profile-data-card { padding: 18px; }
  .competitive-card { grid-template-columns: 1fr; text-align: left; }
  .platform-monogram { width: 78px; }
  .signal-bars { display: none; }
  .repo-signal-row { grid-template-columns: 1fr auto; }
  .repo-signal-row small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-panel,
  .signal-pulse,
  .signal-bars span { animation: none !important; }
  .profile-metric:hover { transform: none; }
}

/* ============================================================
   OPENING PROFILE DASHBOARD — visual reference recreation
   ============================================================ */
.launch-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(120px, 14vh, 170px) var(--pad) clamp(64px, 9vh, 110px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .055), transparent 28rem),
    #020202;
}
.launch-hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(70vw, 820px);
  aspect-ratio: 1.8;
  left: 50%;
  top: 37%;
  border-radius: 50%;
  background: rgba(255, 76, 36, .075);
  filter: blur(90px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.gradient-waves {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .95;
  mix-blend-mode: screen;
}
.launch-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 44%, #000 20%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 44%, #000 20%, transparent 74%);
}
.launch-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1030px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.launch-availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(22px, 4vh, 42px);
  padding: 7px 14px;
  border: 1px solid rgba(245, 245, 240, .16);
  border-radius: 999px;
  background: rgba(245, 245, 240, .055);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  color: rgba(245, 245, 240, .72);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  line-height: 1;
}
.launch-availability span {
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 76, 36, .9);
  animation: launchPulse 2s ease-in-out infinite;
}
.launch-name {
  max-width: 100%;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(50px, 8.2vw, 112px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 0 28px rgba(255, 255, 255, .18), 0 0 78px rgba(255, 255, 255, .07);
}
.launch-role {
  margin-top: clamp(20px, 3.4vh, 34px);
  color: rgba(245, 245, 240, .64);
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: -.01em;
}
.launch-statement {
  margin-top: clamp(20px, 3.5vh, 38px);
  color: rgba(245, 245, 240, .48);
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: .01em;
}
.launch-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 4.5vh, 48px);
}
.launch-action {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(245, 245, 240, .14);
  background: rgba(3, 3, 3, .68);
  color: rgba(245, 245, 240, .62);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .35s var(--spring-ease), box-shadow .25s ease;
}
.launch-action span {
  color: rgba(245, 245, 240, .76);
  font-size: 12px;
  text-transform: none;
}
.launch-action--primary {
  border-color: rgba(245, 245, 240, .24);
  background: rgba(245, 245, 240, .09);
  color: var(--white);
}
.launch-action:hover,
.launch-action:focus-visible {
  color: var(--white);
  border-color: rgba(255, 76, 36, .7);
  background: rgba(255, 76, 36, .1);
  box-shadow: 0 0 28px rgba(255, 76, 36, .12);
  transform: translateY(-3px);
}
.launch-status {
  width: min(100%, 850px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: clamp(58px, 11vh, 112px);
}
.launch-card {
  position: relative;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(245, 245, 240, .15);
  background: rgba(0, 0, 0, .45);
  transition: border-color .25s ease, background .25s ease, transform .4s var(--spring-ease), box-shadow .3s ease;
}
.launch-card::before,
.launch-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(245, 245, 240, .62);
  transition: width .35s var(--spring-ease), height .35s var(--spring-ease), border-color .25s ease;
}
.launch-card::before {
  left: -1px;
  top: -1px;
  border-left: 1px solid;
  border-top: 1px solid;
}
.launch-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}
.launch-card strong {
  color: var(--white);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .03em;
}
.launch-card > span {
  color: rgba(245, 245, 240, .38);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .22em;
}
.launch-card:hover {
  border-color: rgba(255, 76, 36, .45);
  background: rgba(255, 76, 36, .045);
  box-shadow: 0 18px 50px rgba(255, 76, 36, .08);
  transform: translateY(-6px);
}
.launch-card:hover::before,
.launch-card:hover::after {
  width: 17px;
  height: 17px;
  border-color: var(--accent);
}

.js.motion-ok .launch-availability,
.js.motion-ok .launch-name,
.js.motion-ok .launch-role,
.js.motion-ok .launch-statement,
.js.motion-ok .launch-actions,
.js.motion-ok .launch-card {
  opacity: .001;
  transform: translateY(25px);
}
body.page-entered .launch-availability,
body.page-entered .launch-name,
body.page-entered .launch-role,
body.page-entered .launch-statement,
body.page-entered .launch-actions,
body.page-entered .launch-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--honey-ease), transform .7s var(--honey-ease);
}
body.page-entered .launch-availability { transition-delay: .08s; }
body.page-entered .launch-name { transition-delay: .16s; }
body.page-entered .launch-role { transition-delay: .24s; }
body.page-entered .launch-statement { transition-delay: .31s; }
body.page-entered .launch-actions { transition-delay: .38s; }
body.page-entered .launch-card:nth-child(1) { transition-delay: .48s; }
body.page-entered .launch-card:nth-child(2) { transition-delay: .54s; }
body.page-entered .launch-card:nth-child(3) { transition-delay: .60s; }
body.page-entered .launch-card:nth-child(4) { transition-delay: .66s; }

/* The original editorial hero now animates when it is reached, not behind the opening screen. */
.hero-sec:not(.hero-active) .h1-line-inner,
.hero-sec:not(.hero-active) .hero-footer,
.hero-sec:not(.hero-active) .hero-actions { animation-play-state: paused; }

@keyframes launchPulse {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 900px) {
  .launch-hero { padding-top: 118px; }
  .launch-status { grid-template-columns: repeat(2, 1fr); max-width: 590px; }
}

@media (max-width: 640px) {
  .launch-hero {
    min-height: 100svh;
    padding: 88px 20px 44px;
    place-items: start center;
  }
  #page-intro { display: none; }
  .js.motion-ok .launch-availability,
  .js.motion-ok .launch-portrait,
  .js.motion-ok .launch-name,
  .js.motion-ok .launch-role,
  .js.motion-ok .launch-statement,
  .js.motion-ok .launch-actions,
  .js.motion-ok .launch-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .launch-inner { width: 100%; }
  .launch-availability { margin-bottom: 18px; letter-spacing: .16em; }
  .launch-portrait { width: 92px; margin-bottom: 18px; }
  .launch-name { font-size: clamp(42px, 14vw, 64px); letter-spacing: -.055em; }
  .launch-role { margin-top: 14px; }
  .launch-statement { max-width: 30ch; line-height: 1.6; }
  .launch-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; }
  .launch-action { width: 100%; padding: 0 12px; }
  .launch-action--primary { grid-column: 1 / -1; }
  .launch-status { grid-template-columns: 1fr 1fr; margin-top: 34px; }
  .launch-card { min-height: 68px; }
  .launch-card > span { font-size: 7px; letter-spacing: .16em; }
}

@media (max-width: 390px) {
  .launch-actions { grid-template-columns: 1fr; }
  .launch-status { grid-template-columns: repeat(2, 1fr); }
  .launch-action--primary { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-waves { display: none; }
  .launch-availability span { animation: none; }
  .launch-availability,
  .launch-name,
  .launch-role,
  .launch-statement,
  .launch-actions,
  .launch-card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-sec:not(.hero-active) .h1-line-inner,
  .hero-sec:not(.hero-active) .hero-footer,
  .hero-sec:not(.hero-active) .hero-actions { animation-play-state: running; }
}

/* Preserve interactive lift after the staged opening entrance finishes. */
body.page-entered .launch-card:hover { transform: translateY(-6px); }
.launch-hero { box-shadow: inset 0 2px 0 rgba(255, 76, 36, .85); }

/* Desktop fidelity: keep the opening name on one line and reserve the section counter for the original content. */
@media (min-width: 641px) {
  .launch-name { font-size: clamp(50px, 6.4vw, 96px); white-space: nowrap; }
}
#section-counter { transition: opacity .25s ease, visibility .25s ease; }
.js.motion-ok body:not(.past-launch) #section-counter { opacity: 0; visibility: hidden; }

/* The counter is decorative and begins with the numbered editorial sections, in every motion mode. */
body:not(.past-launch) #section-counter { opacity: 0; visibility: hidden; }

body:not(.past-launch) #section-counter { opacity: 0 !important; visibility: hidden !important; }

/* ============================================================
   HACKATHON JOURNEY
   ============================================================ */
.achievement-intro { margin-bottom: clamp(42px, 7vw, 82px); }
.achievement-intro .h-title {
  font-family: var(--sans);
  font-size: clamp(38px, 5.5vw, 72px);
  letter-spacing: -.045em;
  margin-bottom: 14px;
}
.achievement-intro .h-body { margin-bottom: 0; }

.hackathon-journey {
  width: 100%;
  margin-bottom: clamp(72px, 10vw, 120px);
}
.journey-summary {
  display: block;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.journey-summary::-webkit-details-marker { display: none; }
.journey-summary-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.journey-heading-group { display: flex; align-items: center; gap: 14px; }
.journey-heading-group > span:last-child { display: grid; gap: 2px; }
.journey-heading-group strong {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 500;
}
.journey-heading-group small {
  color: var(--white-d);
  font-family: var(--sans);
  font-size: 11px;
}
.journey-trophy,
.journey-event-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--rule);
  border-radius: 7px;
  color: var(--white-d);
  background: rgba(245, 245, 240, .025);
}
.journey-trophy { width: 30px; height: 30px; }
.journey-event-icon { width: 42px; height: 42px; }
.journey-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 90px;
  justify-content: center;
  border: 1px solid var(--rule-s);
  padding: 9px 12px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.journey-summary:hover .journey-toggle {
  color: var(--white);
  border-color: var(--white);
  background: rgba(245, 245, 240, .04);
}
.journey-chevron {
  display: inline-block;
  font-size: 13px;
  transition: transform .35s var(--spring-ease);
}
.hackathon-journey[open] .journey-chevron { transform: rotate(180deg); }
.when-closed { display: none; }
.hackathon-journey:not([open]) .when-open { display: none; }
.hackathon-journey:not([open]) .when-closed { display: inline; }

.journey-compact {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 11px 16px;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .17em;
  color: var(--white-d);
}
.hackathon-journey:not([open]) .journey-compact { display: flex; }
.journey-compact > span:not(.journey-open-label) {
  border: 1px solid var(--rule);
  padding: 6px 10px;
}
.journey-compact .journey-win { color: var(--white); border-color: var(--rule-s); }
.journey-open-label { margin-left: auto; }

.journey-timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 34px;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: calc(100% / 6);
  left: 0;
  width: 1px;
  background: linear-gradient(var(--rule-s), var(--rule));
}
.journey-event {
  position: relative;
  padding-bottom: 26px;
}
.journey-event:last-child { padding-bottom: 0; }
.journey-marker {
  position: absolute;
  left: -54px;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  z-index: 2;
}
.journey-event--winner .journey-marker {
  border-color: rgba(255, 76, 36, .48);
  box-shadow: 0 0 24px rgba(255, 76, 36, .28);
}
.journey-card {
  position: relative;
  border: 1px solid var(--rule);
  padding: clamp(22px, 3vw, 34px);
  background: rgba(0, 0, 0, .52);
  transition: border-color .3s ease, background .3s ease, transform .4s var(--spring-ease), box-shadow .4s ease;
}
.journey-card::before,
.journey-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--white-d);
  pointer-events: none;
}
.journey-card::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.journey-card::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
.journey-event:hover .journey-card {
  transform: translateX(7px);
  border-color: rgba(255, 76, 36, .36);
  background: rgba(255, 76, 36, .028);
  box-shadow: 0 0 70px rgba(255, 76, 36, .065);
}
.journey-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
  padding-left: 52px;
}
.journey-meta time,
.journey-badge,
.journey-project,
.journey-certificate {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .17em;
}
.journey-meta time { color: var(--white-d); margin-right: 2px; }
.journey-badge {
  padding: 4px 8px;
  color: var(--white-d);
  border: 1px solid var(--rule);
}
.journey-badge--lead {
  color: var(--accent);
  border-color: rgba(255, 76, 36, .35);
}
.journey-badge--winner {
  color: var(--white);
  border-color: var(--rule-s);
}
.journey-event-body { display: flex; align-items: flex-start; gap: 12px; }
.journey-event-body h3 {
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 2px 0 8px;
  transition: color .2s ease;
}
.journey-event:hover h3 { color: var(--accent); }
.journey-event-body p {
  color: var(--white-d);
  font-size: 13px;
  line-height: 1.65;
  max-width: 78ch;
  margin-bottom: 12px;
}
.journey-project {
  display: table;
  padding: 5px 9px;
  border: 1px solid var(--rule);
  color: var(--white-d);
  margin-bottom: 12px;
}
.journey-certificate {
  display: table;
  padding: 7px 11px;
  border: 1px solid var(--rule);
  color: var(--white-d);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.journey-certificate:hover {
  color: var(--black);
  border-color: var(--accent);
  background: var(--accent);
}
.certification-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
}
.certification-kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }

@media (max-width: 700px) {
  .journey-summary-main { align-items: flex-start; }
  .journey-heading-group small { max-width: 28ch; }
  .journey-toggle { min-width: auto; padding: 8px; }
  .journey-toggle .when-open,
  .journey-toggle .when-closed { display: none; }
  .journey-compact { flex-wrap: wrap; }
  .journey-open-label { width: 100%; margin: 4px 0 0; }
  .journey-timeline { margin-left: 15px; padding-left: 24px; }
  .journey-marker { left: -43px; width: 36px; height: 36px; }
  .journey-card { padding: 20px 16px; }
  .journey-meta { padding-left: 0; }
  .journey-event-body { gap: 10px; }
  .journey-event-icon { width: 34px; height: 34px; }
}

@media (max-width: 440px) {
  .journey-compact > span:not(.journey-open-label) { width: 100%; }
  .journey-timeline { margin-left: 10px; padding-left: 18px; }
  .journey-marker { left: -37px; width: 32px; height: 32px; font-size: 8px; }
  .journey-event-body { display: block; }
  .journey-event-icon { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-chevron,
  .journey-card { transition: none; }
}

.journey-lead-note {
  display: block;
  margin-top: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ============================================================
   LIVE CODING STREAKS — rolling 365-day activity dashboards
   ============================================================ */
.activity-card {
  --activity-rgb: 57, 211, 83;
  position: relative;
  margin: 16px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, .72);
  overflow: hidden;
}
.activity-card[data-platform="leetcode"] { --activity-rgb: 255, 161, 22; }
.activity-card[data-platform="codechef"] { --activity-rgb: 216, 150, 112; }
.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 0%, rgba(var(--activity-rgb), .1), transparent 24rem);
}
.activity-card-head,
.activity-summary,
.activity-calendar-wrap,
.activity-footer { position: relative; z-index: 1; }
.activity-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.activity-card-title,
.activity-sync,
.activity-stat span,
.activity-footer,
.activity-week-labels,
.activity-months {
  font-family: var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.activity-card-title { color: var(--white); font-size: 9px; }
.activity-card-title span { color: rgb(var(--activity-rgb)); }
.activity-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-d);
  font-size: 7px;
}
.activity-sync::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--activity-rgb));
  box-shadow: 0 0 12px rgba(var(--activity-rgb), .75);
}
.activity-card.is-loading .activity-sync::before { animation: signalPulse 1s ease-in-out infinite; }
.activity-card.has-error .activity-sync::before { background: var(--accent-2); box-shadow: 0 0 12px rgba(244,72,73,.65); }
.activity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}
.activity-stat {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.018);
}
.activity-stat:first-child {
  border-color: rgba(var(--activity-rgb), .34);
  background: rgba(var(--activity-rgb), .055);
}
.activity-stat strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}
.activity-stat:first-child strong { color: rgb(var(--activity-rgb)); text-shadow: 0 0 24px rgba(var(--activity-rgb), .3); }
.activity-stat span { margin-top: 7px; color: var(--white-d); font-size: 7px; }
.activity-calendar-wrap {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  background: rgba(11, 16, 22, .92);
}
.activity-calendar-scroll {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--activity-rgb), .45) transparent;
  padding-bottom: 4px;
}
.activity-calendar-inner { width: max-content; min-width: 100%; }
.activity-months {
  min-width: 715px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-bottom: 8px;
  color: rgba(245,245,240,.5);
  font-size: 7px;
}
.activity-week-labels {
  display: grid;
  grid-template-rows: repeat(7, 10px);
  gap: 3px;
  padding-top: 17px;
  color: rgba(245,245,240,.45);
  font-size: 6px;
  line-height: 10px;
}
.activity-week-labels span:nth-child(1) { grid-row: 2; }
.activity-week-labels span:nth-child(2) { grid-row: 4; }
.activity-week-labels span:nth-child(3) { grid-row: 6; }
.activity-grid {
  min-width: 715px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 10px);
  grid-auto-columns: 10px;
  gap: 3px;
  align-content: start;
}
.activity-day {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(232,237,243,.08);
  border-radius: 1px;
  background: rgba(232,237,243,.15);
}
.activity-day.is-blank { opacity: 0; }
.activity-day[data-level="1"] { background: rgba(var(--activity-rgb), .34); border-color: rgba(var(--activity-rgb), .2); }
.activity-day[data-level="2"] { background: rgba(var(--activity-rgb), .58); border-color: rgba(var(--activity-rgb), .34); }
.activity-day[data-level="3"] { background: rgba(var(--activity-rgb), .78); border-color: rgba(var(--activity-rgb), .48); }
.activity-day[data-level="4"] { background: rgb(var(--activity-rgb)); border-color: rgb(var(--activity-rgb)); box-shadow: 0 0 5px rgba(var(--activity-rgb), .35); }
.activity-day:hover { outline: 1px solid var(--white); outline-offset: 1px; }
.activity-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--white-dd);
  font-size: 7px;
}
.activity-legend { display: inline-flex; align-items: center; gap: 4px; }
.activity-legend i { width: 8px; height: 8px; display: inline-block; background: rgba(232,237,243,.15); }
.activity-legend i:nth-of-type(2) { background: rgba(var(--activity-rgb), .34); }
.activity-legend i:nth-of-type(3) { background: rgba(var(--activity-rgb), .58); }
.activity-legend i:nth-of-type(4) { background: rgba(var(--activity-rgb), .78); }
.activity-legend i:nth-of-type(5) { background: rgb(var(--activity-rgb)); }
.profile-panel.has-live-activity .profile-note { color: rgba(var(--activity-rgb, 57, 211, 83), .72); }

@media (max-width: 700px) {
  .activity-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card-head,
  .activity-footer { align-items: flex-start; flex-direction: column; }
  .activity-calendar-wrap { padding: 12px; }
}
@media (max-width: 420px) {
  .activity-card { padding: 14px; }
  .activity-summary { grid-template-columns: 1fr 1fr; }
  .activity-stat { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .activity-card.is-loading .activity-sync::before { animation: none; }
}

#panel-github .profile-data-grid > .activity-card { margin: 0; }

/* ============================================================
   CONTACT — card-and-form layout from the supplied reference
   ============================================================ */
.contact-sec {
  min-height: 100vh;
  justify-content: flex-start;
}
.contact-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-heading {
  width: min(700px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--white-d);
}
.contact-kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.contact-title {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.contact-intro {
  color: var(--white-d);
  font-size: clamp(13px, 1.25vw, 16px);
}
.contact-cols {
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(400px, 1.25fr);
  gap: 16px;
  padding-top: 0;
  border-top: 0;
  align-items: stretch;
}
.contact-card-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: rgba(245, 245, 240, .012);
  transition: border-color .3s ease, background .3s ease, transform .4s var(--spring-ease), box-shadow .35s ease;
}
.contact-card::before,
.contact-card::after,
.contact-form::before,
.contact-form::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  pointer-events: none;
}
.contact-card::before,
.contact-form::before { top: -1px; left: -1px; border-top: 1px solid var(--white-d); border-left: 1px solid var(--white-d); }
.contact-card::after,
.contact-form::after { right: -1px; bottom: -1px; border-right: 1px solid var(--white-d); border-bottom: 1px solid var(--white-d); }
.contact-card:hover,
.contact-card:focus-visible {
  z-index: 1;
  border-color: rgba(255, 76, 36, .52);
  background: rgba(255, 76, 36, .055);
  transform: translateX(7px);
  box-shadow: 0 0 45px rgba(255, 76, 36, .08);
  outline: none;
}
.contact-card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  background: rgba(245, 245, 240, .035);
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.contact-card:hover .contact-card-icon,
.contact-card:focus-visible .contact-card-icon {
  color: var(--black);
  border-color: var(--accent);
  background: var(--accent);
}
.contact-card-icon--code { letter-spacing: -.12em; }
.contact-card-copy { min-width: 0; display: flex; flex-direction: column; }
.contact-card-label,
.contact-field > span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .24em;
  color: var(--white-d);
}
.contact-card-value {
  overflow: hidden;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-card-arrow {
  color: var(--white-dd);
  transform: translate(-3px, 3px);
  transition: color .25s ease, transform .3s var(--spring-ease);
}
.contact-card:hover .contact-card-arrow,
.contact-card:focus-visible .contact-card-arrow { color: var(--accent); transform: translate(0); }

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--rule);
  background: rgba(245, 245, 240, .012);
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-field { display: flex; flex-direction: column; gap: 7px; }
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: 0;
  background: rgba(245, 245, 240, .025);
  color: var(--white);
  font: 13px/1.5 var(--sans);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.contact-field input { min-height: 44px; padding: 10px 12px; }
.contact-field textarea { min-height: 130px; padding: 12px; resize: vertical; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(245, 245, 240, .25); }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 76, 36, .025);
  box-shadow: 0 0 0 3px rgba(255, 76, 36, .08);
}
.contact-field input:user-invalid,
.contact-field textarea:user-invalid { border-color: var(--accent-2); }
.contact-form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-submit { border-color: var(--rule-s); background: rgba(245, 245, 240, .07); }
.contact-submit span { display: inline-block; margin-right: 5px; transform: rotate(24deg); }
.contact-form-status {
  min-height: 1.5em;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .contact-cols { grid-template-columns: 1fr; gap: 18px; }
  .contact-card-list { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}
@media (max-width: 640px) {
  .contact-heading { margin-bottom: 32px; }
  .contact-card-list,
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-card { min-height: 72px; }
  .contact-card:hover { transform: none; }
  .contact-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card { transition: none; }
  .contact-card:hover,
  .contact-card:focus-visible { transform: none; }
}

/* Keep entrance, hover tilt and spotlight transforms composable. */
.js.motion-ok .project-block.card-reveal,
.js.motion-ok .project-block.card-reveal.in {
  transform: perspective(1200px) translate3d(0, var(--entry-y), 0) rotateZ(var(--entry-r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: opacity .85s var(--honey-ease), transform .4s var(--spring-ease), background .25s ease, box-shadow .4s ease;
}
@media (max-width: 900px) {
  .js.motion-ok .project-block.card-reveal,
  .js.motion-ok .project-block.card-reveal.in {
    transform: translate3d(0, var(--entry-y), 0) rotate(var(--entry-r));
  }
}

/* Opening portrait */
.launch-portrait {
  position: relative;
  width: clamp(112px, 11vw, 150px);
  aspect-ratio: 1;
  margin: 0 0 clamp(22px, 3.2vh, 34px);
  border: 1px solid rgba(245, 245, 240, .28);
  border-radius: 50%;
  background: #0b0b0b;
  box-shadow: 0 0 0 7px rgba(255, 76, 36, .06), 0 18px 55px rgba(0, 0, 0, .48), 0 0 42px rgba(255, 76, 36, .16);
  overflow: hidden;
  isolation: isolate;
}
.launch-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(145deg, transparent 48%, rgba(255, 76, 36, .14));
  pointer-events: none;
}
.profile-card {
  --profile-x: 50%;
  --profile-y: 50%;
  --profile-rotate-x: 0deg;
  --profile-rotate-y: 0deg;
  width: clamp(172px, 17vw, 210px);
  aspect-ratio: .72;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
  perspective: 500px;
}
.launch-portrait.profile-card::after { display: none; }
.profile-card__glow {
  position: absolute;
  z-index: -1;
  inset: -22px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--profile-x) var(--profile-y), rgba(245, 245, 240, .5), transparent 58%);
  filter: blur(18px);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.profile-card__shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 240, .28);
  border-radius: inherit;
  background: #0b0b0b;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .48);
  transform: translateZ(0) rotateX(var(--profile-rotate-y)) rotateY(var(--profile-rotate-x));
  transform-style: preserve-3d;
  transition: transform .55s var(--spring-ease), border-color .25s ease, box-shadow .3s ease;
  will-change: transform;
  pointer-events: none;
}
.profile-card__shine {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at var(--profile-x) var(--profile-y), rgba(255, 255, 255, .52), transparent 34%),
    linear-gradient(125deg, transparent 34%, rgba(255, 255, 255, .25) 48%, transparent 62%);
  background-size: 100% 100%, 220% 220%;
  background-position: center, var(--profile-x) var(--profile-y);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.profile-card__identity {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(245, 245, 240, .2);
  border-radius: 12px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(12px);
  color: var(--white);
  pointer-events: none;
}
.profile-card__initials {
  display: grid;
  width: 27px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(245, 245, 240, .32);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .04em;
}
.profile-card__identity strong,
.profile-card__identity small { display: block; min-width: 0; }
.profile-card__identity strong {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-card__identity small {
  margin-top: 3px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 5px;
  letter-spacing: .09em;
  line-height: 1.2;
}
.profile-card__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--white-d);
  font-family: var(--mono);
  font-size: 5px;
  letter-spacing: .08em;
}
.profile-card__status i {
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 7px var(--white);
}
.profile-card.is-active .profile-card__glow,
.profile-card.is-active .profile-card__shine { opacity: 1; }
.profile-card.is-active .profile-card__shell {
  border-color: var(--white);
  box-shadow: 0 22px 62px rgba(245, 245, 240, .16);
  transition: transform .1s linear, border-color .25s ease, box-shadow .3s ease;
}
.launch-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(.9) contrast(1.04);
  transform: scale(1.25);
  transform-origin: 50% 44%;
  transition: transform .6s var(--spring-ease), filter .4s ease;
}
.launch-portrait:hover img { transform: scale(1.32); filter: saturate(1.05) contrast(1.04); }
.launch-portrait:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }
.js.motion-ok .launch-portrait { opacity: .001; transform: translateY(25px) scale(.9); }
body.page-entered .launch-portrait {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .7s var(--honey-ease) .14s, transform .7s var(--spring-ease) .14s;
}
body.page-entered .launch-name { transition-delay: .22s; }
body.page-entered .launch-role { transition-delay: .30s; }
body.page-entered .launch-statement { transition-delay: .37s; }
body.page-entered .launch-actions { transition-delay: .44s; }
@media (max-width: 640px) {
  .launch-portrait { width: 92px; margin-bottom: 18px; }
  .launch-portrait.profile-card {
    width: min(48vw, 174px);
    aspect-ratio: .72;
    margin-bottom: 18px;
  }
  .js.motion-ok .launch-portrait {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .launch-portrait { opacity: 1 !important; transform: none !important; transition: none !important; }
  .launch-portrait img { transform: scale(1.25); transition: none; }
  .profile-card__shell { transform: none !important; transition: none; }
  .profile-card__glow,
  .profile-card__shine { display: none; }
}
