/* =====================================================================
   Portfolio — layout & motion
   ===================================================================== */
:root {
  --paper: #0A0A0A; --ink: #F4F2EE; --ink-2: #D0CFCC; --mute: #A3A19D; --faint: #777570;
  --line: #F4F2EE26; --blue: #2563EB; --orange: #FF9F45;
  --ease: cubic-bezier(.16, 1, .3, 1); --gutter: clamp(18px, 4vw, 64px);
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-display); overflow-x: clip; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; letter-spacing: inherit; }
ul, ol, menu { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -60px; left: 16px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; transition: top .3s; }
.skip-link:focus { top: 16px; }

/* ---------- shared components ---------- */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding-top: clamp(88px, 13vh, 150px); padding-bottom: clamp(88px, 13vh, 150px); }
.section-white { background: #fff; border-top: 1px solid #0000000f; border-bottom: 1px solid #0000000f; }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); letter-spacing: 0; text-transform: none; font-weight: 400; }
.italic { font-style: italic; }
.mute { color: var(--mute); }
.ink { color: var(--ink); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.h-display { font-weight: 700; letter-spacing: -.045em; line-height: .92; }
.h-section { font-size: clamp(38px, 5.6vw, 80px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.tabular { font-variant-numeric: tabular-nums; }
.sec-label { display: flex; align-items: center; gap: 12px; }
.sec-label .rule { width: 32px; height: 1px; background: rgba(0,0,0,.2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 20px; }
.sec-intro { max-width: 320px; font-size: 15px; color: var(--mute); }

/* reveal-on-scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.is-in { opacity: 1; transform: none; }
.rv-mask { display: block; overflow: hidden; }
.rv-mask > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.is-in .rv-mask > span, .rv-mask.is-in > span { transform: none; }

/* pill buttons with a rising fill + magnetic pull (main.js) */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap;
  transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.btn .btn-fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: none; }
.btn .btn-arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .btn-fill { background: #3a3a3a; }
.btn-line { background: #fff6; color: var(--ink); box-shadow: inset 0 0 0 1px #0d0d0d38; }
.btn-line .btn-fill { background: var(--ink); }
.btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 12.5px; white-space: nowrap;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.u-link { position: relative; }
.u-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100%; transition: transform .5s var(--ease); }
.u-link:hover::after, .u-link:focus-visible::after { transform: scaleX(1); transform-origin: 0; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* =====================================================================
   NAV
   ===================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; pointer-events: none; }
.progress-bar { height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: opacity .5s; }
.is-scrolled .brand-name { opacity: 0; }
.nav-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 13px; font-weight: 800; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.2); transition: background .5s, color .5s, transform .8s var(--ease); }
.is-scrolled .nav-mark { background: var(--ink); color: #fff; box-shadow: none; }
.brand:hover > .nav-mark { transform: rotate(-360deg); }
.nav-pill { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; transition: background .5s, box-shadow .5s; }
.is-scrolled .nav-pill, .nav-pill.is-solid { background: rgba(255,255,255,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.07), 0 12px 30px -18px rgba(0,0,0,.25); }
.nav-ind { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); opacity: 0;
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav-link { position: relative; z-index: 1; display: block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .35s; }
.nav-link:hover { color: var(--ink); }
.nav-link.is-on { color: #fff; }
.nav-menu-btn { display: none; height: 44px; padding: 0 20px; font-size: 14px; font-weight: 500; }
@media (max-width: 767px) { .nav-desktop { display: none; } .nav-menu-btn { display: flex; } }
.m-menu { position: fixed; inset: 0; z-index: 105; background: var(--paper); clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s; }
.m-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease); }
.m-menu ul { margin-top: 24px; }
.m-menu li { border-bottom: 1px solid rgba(0,0,0,.1); }
.m-link { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-size: 40px; font-weight: 700; letter-spacing: -.04em;
  transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease), opacity .7s; transition-delay: calc(.15s + var(--i) * 60ms); }
.m-link .mono { font-size: 12px; color: var(--mute); font-weight: 400; }
.is-open .m-link { transform: none; opacity: 1; }
.m-mail { margin-top: 40px; font-size: 15px; color: var(--mute); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, #fbfaf8 0%, #f4f2ee 55%, #ebe8e2 100%); }
.ghost-wrap { position: absolute; left: 0; right: 0; top: 12svh; display: flex; justify-content: center; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0 33%, rgba(0,0,0,.1) 42%, rgba(0,0,0,.1) 58%, #000 67%);
          mask-image: linear-gradient(90deg, #000 0 33%, rgba(0,0,0,.1) 42%, rgba(0,0,0,.1) 58%, #000 67%); }
.ghost-name { font-weight: 800; font-size: clamp(110px, 23vw, 430px); letter-spacing: 0; line-height: .78; color: #ece9e4; white-space: nowrap; }
.hero-stage-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; mix-blend-mode: multiply; }
.hero-stage { height: min(96svh, 1040px); aspect-ratio: 768 / 960; margin-bottom: -1svh; }
.hero-media { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.012);
  opacity: 0; transform: scale(1.03); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect; }
.is-loaded .hero-media { opacity: 1; transform: none; }
@media (max-width: 820px) { .hero-stage { height: 62svh; margin: 0; } .hero-stage-wrap { align-items: flex-start; padding-top: 9svh; } }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-wrap { position: relative; height: 100%; }
.hero-in { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero-in { opacity: 1; transform: none; }
.hero-line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero-line > span { transform: none; }
.hero-copy { position: absolute; left: var(--gutter); bottom: clamp(32px, 7vh, 72px); }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-title { font-size: clamp(42px, 6.4vw, 108px); }
.hero-tag { margin-top: 20px; font-size: 15px; color: var(--mute); }
.hero-ctas { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 72px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: auto; }
.hero-ctas .row { display: flex; gap: 12px; }
@media (max-width: 767px) {
  .hero-copy { bottom: 96px; right: var(--gutter); }
  .hero-tag { display: none; }
  .hero-ctas { left: var(--gutter); bottom: 28px; flex-direction: row; align-items: stretch; }
  .hero-ctas > .btn, .hero-ctas .row, .hero-ctas .row .btn:last-child { flex: 1; }
  .hero-ctas .hide-sm { display: none; }
}
.replay-btn { position: absolute; right: var(--gutter); top: 96px; pointer-events: auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; background: var(--ink); box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); transition: opacity 1s var(--ease), transform .5s var(--ease), background .3s; }
.replay-btn:hover { transform: scale(1.08); background: #3a3a3a; }
.replay-btn.is-hint::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(13,13,13,.35); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* =====================================================================
   ABOUT + ID CARD
   ===================================================================== */
.about { padding-top: 0; overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1080px) { .about-grid { grid-template-columns: 1fr; } .ab-left { order: 2; } .ab-right { order: 3; } }
.ab-left, .ab-right { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ab-right { transition-delay: .25s; }
.is-on .ab-left, .is-on .ab-right { opacity: 1; transform: none; }
.ab-left h2 { margin-top: 24px; font-size: clamp(40px, 4.6vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.ab-sum { margin-top: 24px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.ab-sum2 { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--mute); }
.ab-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.al { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.18); transition: background .3s, color .3s, box-shadow .3s; }
.al:hover { background: var(--ink); color: #fff; box-shadow: none; }
.al-solid { background: var(--ink); color: #fff; box-shadow: none; }
.al-solid:hover { background: #3a3a3a; }
.facts { margin: 14px 0 0; }
.fact { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; font-size: 15px; transition: padding .4s var(--ease); }
.fact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(13,13,13,.12); transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease); transition-delay: calc(.4s + var(--i) * 100ms); }
.is-on .fact::after { transform: scaleX(1); }
.fact:hover { padding-left: 8px; }
.fact dt { color: var(--mute); } .fact dd { margin: 0; font-weight: 600; text-align: right; }
.ab-quote { margin-top: 28px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--ink); }

.idc-stage { position: relative; height: 540px; perspective: 1400px; }
@media (max-width: 1080px) { .idc-stage { height: 530px; max-width: 320px; width: 100%; margin: 0 auto; } }
.idc-pend { position: absolute; left: 50%; top: 0; width: 300px; margin-left: -150px; transform-origin: 50% 0; transform-style: preserve-3d; will-change: transform; }
.strap { position: relative; width: 30px; height: 56px; margin: 0 auto; background: var(--ink); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.strap span { position: absolute; left: 50%; top: 0; writing-mode: vertical-rl; white-space: nowrap; transform: translateX(-50%);
  font: 600 8px var(--font-mono); letter-spacing: .22em; color: rgba(255,255,255,.75); animation: strap 22s linear infinite; }
@keyframes strap { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -50%); } }
.clip { position: relative; width: 44px; height: 26px; margin: -2px auto 0; border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, #d9d6d0, #a9a59e 60%, #8c8880); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 8px -4px rgba(0,0,0,.4); }
.clip i { position: absolute; left: 50%; bottom: -16px; width: 18px; height: 22px; margin-left: -9px; border-radius: 0 0 10px 10px; border: 3px solid #9a968f; border-top: 0; }
.idc { position: relative; width: 300px; height: 404px; margin-top: 14px; cursor: pointer; outline: none; }
.idc:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 18px; }
.idc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.idc.is-flipped .idc-inner { transform: rotateY(180deg); }
.idc-face { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 50px 80px -40px rgba(0,0,0,.55), 0 2px 0 rgba(0,0,0,.04), inset 0 0 0 1px rgba(13,13,13,.08); }
.idc-back { transform: rotateY(180deg); padding: 32px 22px 14px; }
.slot { position: absolute; left: 50%; top: 14px; width: 58px; height: 9px; margin-left: -29px; border-radius: 9px; background: #e4e1db; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); z-index: 2; }
.idc-front .slot { background: #3a3936; }
.idc-band { display: flex; align-items: center; gap: 10px; padding: 30px 18px 10px; background: var(--ink); color: #fff; }
.idc-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: -.04em; }
.idc-org { display: flex; flex-direction: column; line-height: 1.2; }
.idc-org b { font-size: 13px; letter-spacing: .14em; } .idc-org span { font-size: 10.5px; opacity: .6; }
.idc-photo { position: relative; isolation: isolate; margin: 16px auto 0; width: 128px; height: 156px; padding: 4px; border-radius: 18px;
  background: linear-gradient(160deg, #0d0d0d, #6d6a64 60%, #d4d1ca); box-shadow: 0 18px 30px -16px rgba(0,0,0,.45); }
.idc-photo::before { content: ""; position: absolute; inset: -14px; border-radius: 28px; z-index: -1; background: radial-gradient(closest-side, rgba(13,13,13,.10), transparent); }
.idc-photo-in { display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; }
.idc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.4); transform-origin: 50% 4%; transition: transform .8s var(--ease); }
.idc:hover .idc-photo img { transform: scale(2.5); }
.idc-name { margin-top: 12px; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.idc-role { text-align: center; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.idc-rows { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 16px 0; padding-top: 12px; border-top: 1px dashed rgba(13,13,13,.18); }
.idc-rows div { text-align: center; } .idc-rows dt { font: 500 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.idc-rows dd { margin: 3px 0 0; font-size: 12.5px; font-weight: 700; }
.idc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 14px; }
.bars { display: flex; gap: 2px; height: 22px; } .bars i { display: block; background: var(--ink); }
.holo { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 0deg, #e9e6e0, #9b978f, #f7f5f1, #6d6a64, #e9e6e0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); animation: holo 6s linear infinite; }
@keyframes holo { to { transform: rotate(360deg); } }
.idc-back-head { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.idc-list { margin-top: 12px; display: grid; gap: 9px; }
.idc-list li { display: flex; gap: 12px; align-items: flex-start; }
.idc-list b { display: block; font-size: 13.5px; letter-spacing: -.01em; }
.idc-list li > span:last-child > span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 1px; }
.tick { flex: none; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; margin-top: 1px; }
.idc-sign { margin-top: auto; font-size: 26px; line-height: 1; border-bottom: 1px solid rgba(13,13,13,.2); padding-bottom: 6px; }
.idc-found { margin-top: 8px; font: 500 9.5px var(--font-mono); letter-spacing: .06em; color: var(--mute); }
.idc-hint { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* =====================================================================
   SKILLS — periodic table
   ===================================================================== */
.fams { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.fam { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 550; color: var(--ink-2);
  background: var(--paper); transition: background .3s, color .3s; }
.fam:hover, .fam.is-on { background: var(--ink); color: #fff; }
.fam-sw { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(13,13,13,.2); }
.skills-grid { margin-top: 24px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .skills-grid { grid-template-columns: 1fr 320px; } }
.ptable { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; perspective: 900px; }
.el { position: relative; aspect-ratio: 1 / 1.08; border-radius: 6px; padding: 9px 10px; display: flex; flex-direction: column; justify-content: space-between; outline: none;
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.08); cursor: default;
  opacity: 0; transform: rotateX(-80deg) translateY(10px); transform-origin: 50% 0;
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .3s; transition-delay: var(--d); }
.ptable.is-on .el { opacity: 1; transform: none; }
.ptable.is-on .el:hover, .ptable.is-on .el.is-active { transform: none; transition-delay: 0s; z-index: 2;
  box-shadow: 0 18px 30px -16px rgba(0,0,0,.45), inset 0 0 0 1px rgba(13,13,13,.12); }
.ptable.is-on .el.is-dim { opacity: .14; transition-delay: 0s; }
.el-n { font: 500 10px var(--font-mono); opacity: .6; }
.el-sym { font-size: clamp(20px, 2.3vw, 32px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.el-name { font-size: 10.5px; line-height: 1.15; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.key { position: sticky; top: 110px; }
.key-card { position: relative; aspect-ratio: 1 / 1.12; border-radius: 26px; background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.3), inset 0 0 0 1px rgba(13,13,13,.07);
  background-image: radial-gradient(circle at 50% 42%, #faf9f6 0, #fff 60%); }
.key-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; animation: key-in .5s var(--ease) both; }
.key-logo { display: grid; place-items: center; width: 170px; height: 170px; filter: drop-shadow(0 16px 22px rgba(0,0,0,.14)); animation: key-pop .7s var(--ease) both; }
.key-logo img, .key-logo svg { width: 100% !important; height: 100% !important; object-fit: contain; }
.key-logo img[src="assets/microsoft-office.svg"] { width: 80% !important; height: 80% !important; }
.key-logo-light { background: #fff; padding: 12px; border-radius: 6px; }
.key-detail { display: none; }
.key-name { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.key-fam { margin-top: 4px; font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@keyframes key-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes key-pop { from { transform: scale(.7) rotate(-8deg); opacity: 0; } }
.key-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--mute); font-size: 14px; text-align: center; padding: 24px; }
.key-hand { font-size: 34px; color: var(--ink); animation: float 2.4s ease-in-out infinite; }
@media (max-width: 1023px) { .key { position: relative; top: 0; } .key-card { aspect-ratio: auto; min-height: 250px; } .key-logo { width: 110px; height: 110px; } }
@media (max-width: 760px) { .ptable { grid-template-columns: repeat(4, minmax(0, 1fr)); } .el-name { font-size: 9.5px; } }

/* =====================================================================
   WORK — accordion
   ===================================================================== */
.acc { margin-top: 48px; display: flex; gap: 12px; height: min(78svh, 600px); min-height: 520px; }
.acc-panel { position: relative; flex: 1; min-width: 0; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(13,13,13,.07); transition: flex .9s var(--ease), box-shadow .5s, background .5s; }
.acc-panel.is-open { flex: 8; box-shadow: 0 40px 80px -50px rgba(0,0,0,.4), inset 0 0 0 1px rgba(13,13,13,.1); }
.acc-panel:not(.is-open):hover { background: #faf9f6; }
.acc-spine { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; transition: opacity .4s; }
.acc-panel.is-open .acc-spine { opacity: 0; pointer-events: none; }
.acc-num { font-size: 12px; color: var(--mute); }
.acc-vtitle { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 26px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.acc-plus { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; transition: transform .5s var(--ease); }
.acc-panel:hover .acc-plus { transform: rotate(90deg); }
.acc-content { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 22px; padding: 26px;
  opacity: 0; transition: opacity .35s; pointer-events: none; min-width: 760px; }
.acc-panel.is-open .acc-content { opacity: 1; transition: opacity .6s .35s; pointer-events: auto; }
.acc-info { display: flex; flex-direction: column; justify-content: center; padding: 6px 4px; }
.acc-info > * { transform: translateY(14px); opacity: 0; transition: transform .7s var(--ease), opacity .6s; }
.acc-panel.is-open .acc-info > * { transform: none; opacity: 1; }
.acc-panel.is-open .acc-info > *:first-child { transition-delay: .4s; }
.acc-panel.is-open .acc-info > *:nth-child(2) { transition-delay: .45s; } .acc-panel.is-open .acc-info > *:nth-child(3) { transition-delay: .5s; }
.acc-panel.is-open .acc-info > *:nth-child(4) { transition-delay: .55s; } .acc-panel.is-open .acc-info > *:nth-child(5) { transition-delay: .6s; }
.acc-panel.is-open .acc-info > *:nth-child(6) { transition-delay: .65s; }
.acc-kicker { display: flex; align-items: center; gap: 12px; }
.acc-kicker .rule { width: 24px; height: 1px; background: rgba(0,0,0,.2); }
.acc-title { margin-top: 16px; font-size: clamp(28px, 2.8vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.acc-title .serif { font-size: .7em; color: var(--mute); }
.acc-desc { margin-top: 16px; font-size: 15px; line-height: 1.625; color: var(--ink-2); }
.acc-feats { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 6px; font-size: 13.5px; }
.acc-feats li, .dot-li { display: flex; gap: 8px; align-items: center; }
.dot { flex: none; width: 4px; height: 4px; border-radius: 50%; background: #000; }
.acc-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.acc-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; background: var(--paper); }
.acc-chip img { width: 14px; height: 14px; object-fit: contain; }
.acc-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; transition: background .3s; }
.acc-cta:hover { background: #3a3a3a; }
.acc-visual { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #eeebe5;
  clip-path: inset(0 0 0 100% round 20px); transition: clip-path 1s var(--ease) .25s; }
.acc-panel.is-open .acc-visual { clip-path: inset(0 0 0 0 round 20px); }
.acc-visual .pv { transition: transform 1.2s var(--ease); }
.acc-visual:hover .pv { transform: scale(1.03); }
.acc-tag { position: absolute; left: 14px; bottom: 12px; font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8780; }
@media (max-width: 960px) {
  .acc { flex-direction: column; height: auto; min-height: 0; }
  .acc-panel { flex: none; min-height: 84px; }
  .acc-panel.is-open { flex: none; }
  .acc-spine { position: relative; inset: auto; flex-direction: row; padding: 0 20px; height: 84px; }
  .acc-panel.is-open .acc-spine { display: none; }
  .acc-vtitle { writing-mode: horizontal-tb; transform: none; font-size: 22px; flex: 1; margin-left: 14px; }
  .acc-content { position: relative; inset: auto; display: none; grid-template-columns: 1fr; min-width: 0; padding: 18px; }
  .acc-panel.is-open .acc-content { display: grid; }
  .acc-visual { order: -1; aspect-ratio: 5 / 4; }
}

/* project visuals (illustrative, animated) */
.pv { position: absolute; inset: 0; }
.pv-img { background: #eeebe5; } .pv-img img { width: 100%; height: 100%; object-fit: cover; }
/* scan */
.pv-scan { background: radial-gradient(70% 70% at 30% 20%, #fafaf8, #eeebe5); }
.pg-doc { position: absolute; left: 10%; top: 10%; width: 54%; bottom: 10%; background: #fff; border-radius: 14px; padding: 6% 7%; overflow: hidden; display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 30px 50px -30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05); }
.pg-head { display: flex; justify-content: space-between; font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8a8780; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,.08); }
.pg-line { height: 7px; border-radius: 4px; background: #ebe8e2; flex: none; }
.pg-gap { height: 12px; flex: none; }
.pg-line.is-risk { animation: pg-mark 4s linear infinite; animation-delay: var(--d); }
@keyframes pg-mark { 0%, 2% { background: #ebe8e2; } 6%, 88% { background: #0d0d0d; } 96%, 100% { background: #ebe8e2; } }
.pg-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(to bottom, transparent, rgba(13,13,13,.06)); border-bottom: 1.5px solid #0d0d0d; animation: pg-scan 4s linear infinite; }
@keyframes pg-scan { from { transform: translateY(-40px); } to { transform: translateY(520px); } }
.pg-badge { position: absolute; right: 6%; max-width: 38%; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 12.5px; line-height: 1.35; color: #3a3a3a;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05); animation: float 6s ease-in-out infinite; }
.pg-badge b { display: block; font: 600 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #0d0d0d; margin-bottom: 4px; }
.pg-b1 { top: 18%; } .pg-b2 { top: 44%; animation-delay: -3s; }
.pg-score { position: absolute; right: 12%; bottom: 12%; width: 92px; height: 92px; display: grid; place-items: center; background: #0d0d0d; color: #fff; border-radius: 50%; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.pg-score svg { position: absolute; inset: 6px; transform: rotate(-90deg); }
.pg-score circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 4; }
.pg-score .pg-arc { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; }
.pg-score span { position: relative; text-align: center; font: 500 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.pg-score b { font: 700 22px var(--font-display); letter-spacing: -.03em; }
/* heatmap */
.pv-hm { background: radial-gradient(70% 70% at 70% 20%, #fafaf8, #eeebe5); }
.hm-panel { position: absolute; left: 7%; top: 12%; right: 24%; bottom: 12%; background: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 50px -30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05); }
.hm-top { display: flex; justify-content: space-between; font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8a8780; }
.hm-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #0d0d0d; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hm-grid { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(6, 1fr); gap: 4px; }
.hm-grid i { border-radius: 5px; background: rgb(13 13 13 / calc(.06 + var(--v) * .86)); animation: hm 5s ease-in-out infinite alternate; }
@keyframes hm { 0% { opacity: 1; } 50% { opacity: .35; } 100% { opacity: .9; } }
.hm-legend { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #8a8780; }
.hm-legend em { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(13,13,13,.06), #0d0d0d); }
.hm-card { position: absolute; right: 5%; top: 28%; width: 34%; background: #fff; border-radius: 14px; padding: 14px 16px; animation: float 7s ease-in-out infinite;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05); }
.hm-k { font: 600 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.hm-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; font-size: 12px; color: #3a3a3a; margin-top: 6px; }
.hm-bar { height: 5px; border-radius: 3px; background: #ebe8e2; overflow: hidden; }
.hm-bar b { display: block; height: 100%; background: #0d0d0d; border-radius: 3px; }
/* stylist */
.pv-sc { background: radial-gradient(70% 70% at 60% 30%, #fbfaf8, #ece9e3); }
.sc-chat { position: absolute; left: 7%; top: 14%; width: 42%; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05); }
.sc-k { font: 600 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8780; margin-bottom: 8px; }
.sc-msg { font-size: 12.5px; line-height: 1.4; padding: 9px 11px; border-radius: 12px; margin-top: 8px; animation: msg .6s var(--ease) both; }
.sc-u { background: #0d0d0d; color: #fff; margin-left: 14%; border-bottom-right-radius: 4px; }
.sc-a { background: #f1efea; margin-right: 8%; border-bottom-left-radius: 4px; animation-delay: .3s; }
.sc-a em { font-family: var(--font-serif); font-size: 1.15em; }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }
.sc-dots { display: flex; gap: 5px; margin-top: 12px; }
.sc-dots span { width: 18px; height: 3px; border-radius: 2px; background: #e3e0da; transition: background .4s; }
.sc-dots span.on { background: #0d0d0d; }
.sc-board { position: absolute; right: 8%; top: 8%; bottom: 8%; width: 38%; }
.sc-board svg { position: absolute; filter: drop-shadow(0 18px 18px rgba(0,0,0,.15)); }
.sc-board path { transition: fill .8s var(--ease), stroke .8s var(--ease); }
.sc-top { left: 12%; width: 76%; top: 0; }
.sc-bottom { left: 20%; width: 60%; top: 34%; }
.sc-shoe { left: 30%; width: 40%; bottom: 0; }
.sc-bag { right: -14%; width: 34%; top: 40%; animation: float 6s ease-in-out infinite; }

/* =====================================================================
   CERTIFICATIONS
   ===================================================================== */
.cert-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: 1fr 2fr; } .cert-side { position: sticky; top: 112px; align-self: start; } }
.cert-side .sec-intro { margin-top: 20px; max-width: 300px; }
.cert-side h2 { margin-top: 20px; }
.cert-list { border-top: 1px solid rgba(0,0,0,.1); }
.cert { position: relative; display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 12px; padding: 20px 14px; border-bottom: 1px solid rgba(13,13,13,.1);
  overflow: hidden; isolation: isolate; outline: none; }
.cert::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.cert:hover::before, .cert:focus-visible::before { transform: scaleX(1); }
.cert, .cert * { transition: color .35s; }
.cert.rv { transition: opacity .9s var(--ease), transform .9s var(--ease), color .35s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s; }
.cert:hover, .cert:focus-visible { color: #fff; }
.cert-n { font-size: 12px; } .cert-n, .cert-issuer { color: var(--mute); }
.cert-title { display: block; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.375; }
.cert-issuer { display: block; font-size: 13.5px; margin-top: 4px; }
.cert:hover .cert-n, .cert:hover .cert-issuer, .cert:focus-visible .cert-n, .cert:focus-visible .cert-issuer { color: rgba(255,255,255,.6); }
.cert-arrow { font-size: 18px; opacity: 0; transform: translate(-10px, 10px); transition: opacity .4s, transform .5s var(--ease) !important; }
.cert:hover .cert-arrow, .cert:focus-visible .cert-arrow { opacity: 1; transform: none; }

/* =====================================================================
   JOURNEY — scroll-lit timeline
   ===================================================================== */
.journey { position: relative; margin-top: 56px; display: flex; flex-direction: column; gap: clamp(28px, 5vh, 56px); }
.j-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(13,13,13,.1); border-radius: 2px; }
.j-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: top; border-radius: 2px; }
.j-stop { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; }
.j-node { grid-column: 2; grid-row: 1; justify-self: center; margin-top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(13,13,13,.25); transition: background .5s, box-shadow .5s, transform .6s var(--ease); }
.j-stop.is-lit .j-node { background: var(--ink); box-shadow: 0 0 0 6px rgba(13,13,13,.08); transform: scale(1.15); }
.j-year { font-weight: 800; font-size: clamp(56px, 7vw, 108px); letter-spacing: -.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px rgba(13,13,13,.18);
  transition: color .8s var(--ease), -webkit-text-stroke-color .8s; padding-top: 4px; }
.j-stop.is-lit .j-year { color: var(--ink); -webkit-text-stroke-color: transparent; }
.j-card { background: #fff; border-radius: 22px; padding: clamp(20px, 2.4vw, 30px); box-shadow: inset 0 0 0 1px rgba(13,13,13,.06);
  opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .4s; }
.j-stop.is-lit .j-card { opacity: 1; transform: none; }
.j-card:hover { box-shadow: inset 0 0 0 1px rgba(13,13,13,.12), 0 30px 60px -40px rgba(0,0,0,.35); }
.is-left .j-card { grid-column: 1; grid-row: 1; transform: translateX(-40px); }
.is-left .j-year { grid-column: 3; grid-row: 1; }
.is-right .j-card { grid-column: 3; grid-row: 1; transform: translateX(40px); }
.is-right .j-year { grid-column: 1; grid-row: 1; text-align: right; }
.j-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.j-when { font-size: 12px; color: var(--mute); }
.j-kind { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); }
.j-kind.is-exp { background: var(--ink); color: #fff; }
.j-title { margin-top: 16px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.j-org { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.j-points { margin-top: 16px; display: grid; gap: 6px; font-size: 14.5px; color: var(--mute); }
.j-points li { display: flex; gap: 8px; } .j-points .dot { margin-top: 9px; }
.j-tags { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.j-tags .chip { background: var(--paper); box-shadow: none; }
.j-score { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--paper); }
.j-score span { color: var(--mute); font-weight: 400; }
.j-badge { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; background: var(--ink); color: #fff; }
.is-next .j-card { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(13,13,13,.18); }
.is-next .j-year { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.j-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.j-cta span { transition: transform .4s var(--ease); } .j-cta:hover span { transform: translateX(4px); }
@media (max-width: 860px) {
  .j-spine { left: 9px; }
  .j-stop { grid-template-columns: 18px 1fr; column-gap: 18px; }
  .j-node { grid-column: 1; grid-row: 1 / span 2; margin-top: 10px; }
  .is-left .j-year, .is-right .j-year { grid-column: 2; grid-row: 1; text-align: left; font-size: 52px; }
  .is-left .j-card, .is-right .j-card { grid-column: 2; grid-row: 2; margin-top: 12px; transform: translateY(24px); }
}

/* =====================================================================
   ACHIEVEMENTS — pinned horizontal scroll
   ===================================================================== */
.hx { position: relative; }
.hx-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hx-head h2 { margin-top: 20px; }
.hx-progress { width: 200px; height: 2px; background: rgba(13,13,13,.1); border-radius: 2px; overflow: hidden; }
.hx-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hx-track { display: flex; gap: 22px; width: max-content; padding: 10px max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))) 30px; will-change: transform; }
.hx-card { position: relative; flex: none; width: clamp(340px, 40vw, 540px); height: clamp(260px, 36vh, 310px); display: flex; flex-direction: column;
  padding: 26px; border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 rgba(13,13,13,.04), inset 0 0 0 1px rgba(13,13,13,.07); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.hx-card::before { content: ""; position: absolute; width: 260px; height: 260px; left: -70px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tint) 22%, transparent), transparent 70%); opacity: .55; transition: opacity .7s, transform .9s var(--ease); }
.hx-card.is-active { transform: translateY(-12px); box-shadow: 0 44px 70px -38px rgba(0,0,0,.35), 0 0 0 1px rgba(13,13,13,.04); }
.hx-card.is-active::before { opacity: 1; transform: scale(1.2); }
.hx-card:hover { transform: translateY(-12px); }
.hx-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.hx-logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--tint) 60%, rgba(0,0,0,.4)), inset 0 0 0 1px rgba(13,13,13,.06);
  transform: scale(.7) rotate(-10deg); opacity: 0; transition: transform .9s var(--ease), opacity .6s; }
.hx-card.is-seen .hx-logo { transform: none; opacity: 1; }
.hx-card.is-active .hx-logo { transform: scale(1.08); }
.hx-logo img { width: 44px; height: 44px; object-fit: contain; }
.hx-idx { font-size: 11px; letter-spacing: .12em; color: var(--mute); }
.hx-bottom { position: relative; margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.hx-text { min-width: 0; max-width: 58%; }
.hx-label { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.hx-num { flex: none; font-size: clamp(56px, 5.6vw, 92px); font-weight: 700; letter-spacing: -.055em; line-height: .85; white-space: nowrap; }
.hx-pre { font-size: .42em; letter-spacing: -.02em; color: var(--mute); margin-right: .08em; }
.hx-suf { color: var(--faint); }
.hx-cap { margin-top: 8px; font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.hx-detail { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.hx-end { flex: none; display: flex; align-items: center; gap: 14px; padding: 0 40px; font-size: clamp(34px, 3.4vw, 52px); color: var(--mute); }
.hx-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; }
@media (max-width: 640px) { .hx-card { width: 84vw; height: auto; min-height: 280px; } .hx-text { max-width: 60%; } .hx-num { font-size: 52px; } }

/* =====================================================================
   CONTACT + FOOTER
   ===================================================================== */
.contact { padding-bottom: 0; }
.ct-title { margin-top: 32px; font-size: clamp(48px, 9vw, 148px); }
.ct-title .rv-mask { padding-bottom: .14em; margin-bottom: -.1em; }
.hop { display: inline-block; white-space: pre; transition: transform .45s var(--ease); }
.hop:hover { transform: translateY(-0.12em) rotate(-4deg); }
.ct-grid { margin-top: 56px; display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: 1fr auto; } }
.ct-mailrow { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ct-mail { font-size: clamp(22px, 3vw, 44px); font-weight: 600; letter-spacing: -.035em; word-break: break-all; }
.ct-copy { height: 36px; transition: background .15s, color .15s; }
.ct-copy:hover { background: var(--ink); color: #fff; }
.ct-links { margin-top: 24px; display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 8px; font-size: 15px; }
.ct-btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.badge { position: relative; display: none; width: 150px; height: 150px; color: var(--ink); }
@media (min-width: 1024px) { .badge { display: block; } }
.badge-ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-core { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; transition: transform .6s var(--ease); }
.badge:hover .badge-core { transform: scale(1.12) rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.site-footer { margin-top: clamp(80px, 12vh, 140px); border-top: 1px solid rgba(0,0,0,.1); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--mute); }
.foot-row .u-link { color: var(--ink); }
@media (max-width: 767px) { .foot-role { display: none; } }
.foot-name { font-weight: 800; letter-spacing: -.06em; line-height: .75; font-size: clamp(48px, 12.2vw, 196px); color: #e7e4de; text-align: center; white-space: nowrap; overflow: hidden; padding-top: .1em; user-select: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; transition-delay: 0s !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .rv { opacity: 1; } .rv, .rv-mask > span { transform: none; }
  .hero-media { opacity: 1; transform: none; }
  .ab-left, .ab-right { opacity: 1; transform: none; } .fact::after { transform: none; } .strap span { animation: none; }
  .j-card { opacity: 1; transform: none !important; } .j-year { color: var(--ink); }
  .hx-logo { opacity: 1; transform: none; }
}

/* =====================================================================
   APPROVED MIDNIGHT / BLUE / CANTALOUPE PALETTE
   ===================================================================== */
html, body { background: #0A0A0A; color: #F4F2EE; }
.section-white { background: #101010; border-color: rgba(244,242,238,.12); }
.hero-bg { background: #0A0A0A; }
.hero-stage-wrap { mix-blend-mode: normal; justify-content: center; align-items: flex-start; padding: 10svh 0 0; }
.hero-stage { height: min(62svh, 680px); aspect-ratio: 11 / 20; margin: 0; overflow: hidden; border-radius: 40px; background: #0A0A0A;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect; }
.hero-stage .hero-media { -webkit-mask-image: none; mask-image: none; }
.hero-stage-transparent { aspect-ratio: 76 / 135; background: transparent; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
.hero-stage-transparent .hero-media { object-fit: contain; }
.hero-title { font-size: clamp(42px, 4.4vw, 68px); }
.hero-line-mobile { display: none; }
@media (max-width: 767px) { .hero-line-desktop { display: none; } .hero-line-mobile { display: block; } }
@media (max-width: 767px) { .hero-stage { height: 50svh; } .hero-stage-wrap { padding-top: 9svh; } .hero-title { font-size: 42px; } }
.ghost-name, .foot-name { color: #191919; }
.ghost-name { color: rgba(255,159,69,.30); }
.hero-tag { color: #FF9F45; }
.hero-title .mute { color: #FF9F45; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-copy .eyebrow::before { content: ""; width: 28px; height: 2px; flex-shrink: 0; background: #FF9F45; }
.site-header .nav-mark { background: #F4F2EE; color: #0A0A0A; }
.is-scrolled .site-header .nav-mark { background: #2563EB; color: #fff; }
.is-scrolled .nav-pill, .nav-pill.is-solid { background: rgba(20,20,20,.88); box-shadow: inset 0 0 0 1px rgba(244,242,238,.14), 0 12px 30px -18px rgba(0,0,0,.7); }
.nav-ind { background: #2563EB; }
.nav-link { color: #B8B8B8; }
.nav-link:hover { color: #fff; }
.nav-link.is-on { color: #fff; }
.m-menu { background: #0A0A0A; }
.m-menu li { border-color: rgba(244,242,238,.14); }
.m-link .mono, .m-mail { color: #A3A19D; }
.btn-dark { background: #F4F2EE; color: #0A0A0A; }
.btn-dark .btn-fill { background: #262626; }
.btn-dark:hover { color: #fff; }
.btn-line { background: rgba(244,242,238,.04); color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.35); }
.btn-line .btn-fill { background: #262626; }
.btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(244,242,238,.5); }
.hero-ctas .btn-line { background: rgba(10,10,10,.88); color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.34); }
.hero-ctas .btn-line .btn-fill { background: #2563EB; }
.hero-ctas .btn-line:hover, .hero-ctas .btn-line:focus-visible { color: #fff; box-shadow: inset 0 0 0 1px #2563EB; }
.replay-btn { background: #2563EB; color: #fff; }
.replay-btn:hover { background: #1D4FC4; }
.replay-btn.is-hint::after { border-color: rgba(255,159,69,.7); }
.replay-btn.is-start { top: calc(10svh + min(58svh, 636px)); left: calc(50% + min(17.5svh, 192px) + 24px); right: auto;
  transform: translateY(-50%); display: flex; justify-content: center; gap: 10px; isolation: isolate; overflow: hidden;
  width: 192px; height: 56px; padding: 0 18px; border-radius: 8px; border: 1px solid rgba(244,242,238,.35);
  background: #F4F2EE; color: #0A0A0A; font-family: inherit; font-size: 14px; font-weight: 550; letter-spacing: 0; white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.replay-btn.is-start::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: #FF9F45; transform: translateY(101%); transition: transform .55s var(--ease); }
.replay-btn.is-start:hover, .replay-btn.is-start:focus-visible { background: #F4F2EE; transform: translateY(-50%); }
.replay-btn.is-start:hover::before, .replay-btn.is-start:focus-visible::before { transform: none; }
.replay-btn.is-start:focus-visible { outline: 2px solid #FF9F45; outline-offset: 4px; }
.replay-btn.is-start span { display: inline-block; font-size: 20px; transform-origin: 70% 75%; }
.replay-btn.is-start:hover span, .replay-btn.is-start:focus-visible span { animation: greeting-wave .8s var(--ease); }
@keyframes greeting-wave { 0%, 100% { transform: rotate(0); } 25%, 65% { transform: rotate(18deg); } 45%, 85% { transform: rotate(-10deg); } }
@media (max-width: 767px) {
  .replay-btn.is-start { top: 57%; left: 50%; transform: translate(-50%, -50%); }
  .replay-btn.is-start:hover, .replay-btn.is-start:focus-visible { transform: translate(-50%, -50%); }
}
.sec-label .rule, .acc-kicker .rule { background: rgba(244,242,238,.3); }
.ab-sum { color: #D0CFCC; }
.ab-sum2, .fact dt { color: #A3A19D; }
.fact::after { background: rgba(244,242,238,.18); }
.fact dd { color: #F4F2EE; }
.ab-quote { color: #FF9F45; }
.ab-links .al { color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.32); }
.ab-links .al-solid { background: #F4F2EE; color: #0A0A0A; box-shadow: none; }
.ab-links .al:hover { background: #2563EB; color: #fff; box-shadow: none; }
.idc-band { background: #0A0A0A; }
.idc-logo { background: #F4F2EE; color: #0A0A0A; flex-shrink: 0; }
.strap { background: #F4F2EE; }
.strap span { color: #0A0A0A; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.idc-face { color: #0A0A0A; background: #F4F2EE; }
.idc-back-head, .idc-name, .idc-rows dd, .idc-sign { color: #0A0A0A; }
.idc-role, .idc-rows dt, .idc-list li > span:last-child > span, .idc-found { color: #626262; }
.idc-rows { grid-template-columns: repeat(2, 1fr); }
.bars i { background: #0A0A0A; }
.idc-list .tick { background: #2563EB; color: #fff; }
.fam { color: #E3E3E3; background: #171717; }
.fam:hover, .fam.is-on { background: #2563EB; color: #fff; }
.fam-sw { box-shadow: inset 0 0 0 1px rgba(244,242,238,.18); }
.el { box-shadow: inset 0 0 0 1px rgba(244,242,238,.14); }
.ptable.is-on .el:hover, .ptable.is-on .el.is-active { box-shadow: 0 18px 30px -16px rgba(0,0,0,.8), inset 0 0 0 1px rgba(244,242,238,.28); }
.el-detail { display: block; overflow: hidden; max-width: 100%; color: inherit; font: 500 8px/1.1 var(--font-mono); opacity: .8; text-overflow: ellipsis; white-space: nowrap; }
.el-sym img, .el-sym svg { width: 28px; height: 28px; object-fit: contain; }
.key-card { background: #151515; background-image: none; box-shadow: 0 30px 60px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(244,242,238,.12); color: #F4F2EE; }
.key-name { color: #F4F2EE; }
.key-fam, .key-empty { color: #A3A19D; }
.key-hand { color: #FF9F45; }
.work-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: stretch; }
.work-tile { min-width: 0; overflow: hidden; border: 1px solid rgba(244,242,238,.14); border-radius: 22px; padding: 18px; background: #111; color: #F4F2EE; box-shadow: 0 18px 50px -38px rgba(0,0,0,.9); transition: border-color .35s, transform .5s var(--ease), background .35s; }
.work-tile:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.7); background: #141414; }
.work-accordion .work-tile { padding: 0; border-radius: 8px; transition: flex .9s var(--ease), border-color .35s, background .35s; }
.work-accordion .work-tile:hover { transform: none; }
.work-accordion .acc-content { min-width: 0; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.work-accordion .acc-info { min-height: 0; justify-content: flex-start; padding-bottom: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.work-accordion .acc-info:focus-visible { outline-offset: -2px; }
.work-accordion .work-tile-visual { height: auto; margin: 0; border-radius: 8px; }
.work-accordion .acc-spine { color: #F4F2EE; }
.work-accordion .acc-plus { background: #2563EB; color: #fff; }
@media (max-width: 960px) {
  .work-accordion .acc-spine { width: 100%; gap: 12px; text-align: left; }
  .work-accordion .acc-vtitle { min-width: 0; margin-left: 0; }
  .work-accordion .acc-plus { flex-shrink: 0; }
  .work-accordion .acc-content { grid-template-columns: 1fr; }
  .work-accordion .acc-info { overflow-y: visible; }
  .work-accordion .work-tile-visual { height: 240px; aspect-ratio: auto; }
  .work-accordion .acc-panel.is-open .acc-spine { display: flex; opacity: 1; pointer-events: auto; }
}
.work-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.work-tile-index { color: #FF9F45; font: 500 11px var(--font-mono); }
.work-top-words { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.work-top-words span { border: 1px solid rgba(244,242,238,.18); border-radius: 999px; padding: 4px 7px; color: #C4C4C4; font: 500 8px var(--font-mono); text-transform: uppercase; }
.work-tile-title { min-height: 2.2em; margin-top: 14px; color: #fff; font-size: clamp(20px, 2vw, 27px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.work-tile-visual { position: relative; height: 190px; overflow: hidden; margin: 15px 0 20px; border: 1px solid rgba(244,242,238,.12); border-radius: 14px; background: #0A0A0A; }
.work-tile-visual .pv { position: absolute; inset: 0; }
.work-copy-block { margin-top: 13px; }
.work-copy-block > span, .work-examples > span, .work-skills > span { display: block; margin-bottom: 5px; color: #FF9F45; font: 600 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.work-copy-block p { color: #D1D1D1; font-size: 12px; line-height: 1.5; }
.work-outcome { border-left: 2px solid #2563EB; padding-left: 10px; }
.work-examples { margin-top: 16px; }
.work-examples ul { display: grid; gap: 7px; padding-left: 14px; list-style: disc; color: #C8C8C8; font-size: 11px; line-height: 1.45; }
.work-examples li::marker { color: #2563EB; }
.work-skills { margin-top: 17px; }
.work-skills > div { display: flex; flex-wrap: wrap; gap: 6px; }
.work-skills > div span { border: 1px solid rgba(244,242,238,.15); border-radius: 999px; padding: 5px 8px; color: #E2E2E2; font-size: 9px; }
.pv-delivery, .pv-strategy, .pv-operations { background: #0A0A0A; color: #F4F2EE; }
.delivery-doc { position: absolute; top: 10%; bottom: 10%; left: 8%; width: 56%; display: flex; flex-direction: column; justify-content: center; gap: 7px; overflow: hidden; border: 1px solid #313131; border-radius: 10px; padding: 12px; background: #171717; }
.delivery-doc-head { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 5px; color: #A3A19D; font: 500 7px var(--font-mono); text-transform: uppercase; }
.delivery-doc > i { height: 5px; border-radius: 4px; background: #323232; }
.delivery-doc > i:nth-of-type(3n) { background: #2563EB; }
.delivery-doc > b { height: 5px; }
.delivery-scan { position: absolute; right: 12%; left: 12%; top: 50%; height: 1px; background: #FF9F45; box-shadow: 0 0 10px rgba(255,159,69,.6); }
.delivery-badge { position: absolute; right: 5%; width: 38%; display: grid; gap: 4px; border: 1px solid rgba(255,159,69,.4); border-radius: 9px; padding: 9px; background: #171717; color: #ddd; font-size: 8px; }
.delivery-badge strong { color: #FF9F45; font: 600 8px var(--font-mono); text-transform: uppercase; }
.delivery-badge-1 { top: 18%; }.delivery-badge-2 { top: 43%; }
.delivery-progress { position: absolute; right: 6%; bottom: 9%; width: 36%; display: grid; grid-template-columns: 1fr auto; gap: 5px; color: #C8C8C8; font: 500 7px var(--font-mono); }
.delivery-progress strong { color: #fff; font-size: 14px; }.delivery-progress > i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #303030; }.delivery-progress > i b { display: block; height: 100%; border-radius: inherit; background: #2563EB; }
.strategy-dashboard, .ops-board { position: absolute; inset: 9%; display: flex; flex-direction: column; gap: 12px; border: 1px solid #303030; border-radius: 12px; padding: 12px; background: #151515; }
.strategy-head, .ops-head { display: flex; justify-content: space-between; gap: 8px; color: #ccc; font: 500 8px var(--font-mono); text-transform: uppercase; }
.strategy-head b, .ops-head b { color: #FF9F45; }
.strategy-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strategy-metrics i { display: grid; gap: 4px; border: 1px solid #2A2A2A; border-radius: 7px; padding: 7px; background: #0D0D0D; font-style: normal; }
.strategy-metrics small { color: #9b9b9b; font-size: 7px; }.strategy-metrics strong { color: #F4F2EE; font-size: 15px; }.strategy-metrics em { color: #A3A19D; font-size: 8px; font-style: normal; }
.strategy-chart { display: grid; gap: 8px; }.strategy-chart-title { color: #CFCFCF; font-size: 8px; }.strategy-bars { display: grid; gap: 6px; }.strategy-bars i { display: grid; grid-template-columns: 70px 1fr; gap: 7px; align-items: center; color: #A9A9A9; font-size: 7px; font-style: normal; }.strategy-bars b { height: 5px; border-radius: 5px; background: #2563EB; }
.ops-board ol { display: grid; gap: 7px; margin-top: 2px; }.ops-board li { display: grid; grid-template-columns: 22px 18px 1fr auto; gap: 6px; align-items: center; border: 1px solid #2a2a2a; border-radius: 7px; padding: 7px; color: #E4E4E4; font-size: 8px; }.ops-number { color: #888; font: 7px var(--font-mono); }.ops-check { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #2563EB; color: white; font-size: 9px; }.ops-state { color: #aaa; font: 7px var(--font-mono); }.ops-in-progress { color: #FF9F45; }
.j-spine { background: rgba(244,242,238,.18); }.j-node { background: #0A0A0A; box-shadow: inset 0 0 0 2px rgba(244,242,238,.3); }.j-stop.is-lit .j-node { background: #2563EB; box-shadow: 0 0 0 6px rgba(37,99,235,.2); }
.j-year { -webkit-text-stroke-color: rgba(244,242,238,.25); }.j-stop.is-lit .j-year { color: #FF9F45; }
.j-card { background: #151515; color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.12); }.j-card:hover { box-shadow: inset 0 0 0 1px rgba(37,99,235,.65), 0 30px 60px -40px rgba(0,0,0,.85); }
.j-org { color: #C8C8C8; }.j-points { color: #A9A9A9; }.j-kind { background: #222; color: #F4F2EE; }.j-kind.is-exp { background: #2563EB; color: #fff; }.j-tags .chip, .j-score { background: #242424; color: #F4F2EE; }.j-badge, .j-cta { background: #FF9F45; color: #0A0A0A; }
.hx-sticky { background: #0A0A0A; }.hx-progress { background: rgba(244,242,238,.18); }.hx-progress span { background: #2563EB; }
.hx-card { background: #151515; color: #F4F2EE; border: 1px solid rgba(244,242,238,.12); box-shadow: inset 0 0 0 1px rgba(244,242,238,.04); }.hx-card::before { display: none; }.hx-card.is-active { border-color: var(--tint); box-shadow: 0 30px 60px -40px rgba(0,0,0,.9), inset 0 0 0 1px var(--tint); }
.hx-logo { background: #202020; color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.12); }.hx-cap { color: #FF9F45; }.hx-detail, .hx-idx, .hx-pre, .hx-suf, .hx-end { color: #A3A19D; }
.hx-arrow, .badge-core { background: #2563EB; color: #fff; }
.contact { background: #0A0A0A; }.ct-title .mute { color: #FF9F45; }.ct-copy { background: #1A1A1A; color: #F4F2EE; box-shadow: inset 0 0 0 1px rgba(244,242,238,.18); }.ct-copy:hover { background: #2563EB; color: #fff; }
.site-footer { border-color: rgba(244,242,238,.16); }.foot-row { color: #A3A19D; }.foot-row .u-link { color: #F4F2EE; }.foot-name { color: #181818; }
.section-white .sec-label .ink, .sec-label .ink { color: #FF9F45; }
@media (max-width: 1000px) { .work-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .work-tiles { grid-template-columns: 1fr; } .work-tile-visual { height: 210px; } }

@media (max-width: 767px) {
  html { scroll-padding-top: 84px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .contact { padding-bottom: 0; }
  .sec-head { gap: 16px; }
  .sec-label { font-size: 10px; letter-spacing: .08em; }
  .sec-label .rule { width: 20px; flex-shrink: 0; }
  .nav-row { height: 68px; }
  .site-header { background: rgba(10,10,10,.94); border-bottom: 1px solid rgba(244,242,238,.1); }
  .brand-name { font-size: 13px; }
  .nav-menu-btn { min-width: 72px; justify-content: center; }
  .m-menu { overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .m-menu ul { margin-top: 8px; }
  .m-link { font-size: 30px; padding: 12px 0; letter-spacing: 0; }
  .m-mail { margin-top: 24px; overflow-wrap: anywhere; }
  .hero { min-height: max(740px, 100svh); }
  .hero-stage-wrap { padding-top: 82px; }
  .hero-stage { height: min(44svh, 380px); }
  .hero-copy { bottom: 116px; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-title { font-size: 40px; letter-spacing: 0; }
  .hero-ctas { bottom: 36px; gap: 10px; }
  .hero-ctas .btn { padding: 0 16px; }
  .ghost-name { font-size: 100px; letter-spacing: 0; }
  .replay-btn { top: 84px; }
  .about-grid { gap: 28px; }
  .ab-left { order: 0; }
  .idc-stage { order: 1; height: 510px; }
  .ab-right { order: 2; }
  .ab-left h2 { font-size: 48px; letter-spacing: 0; }
  .ab-sum { font-size: 16px; }
  .ab-links { margin-top: 24px; }
  .ab-links .al { flex: 1; justify-content: center; padding: 0 12px; }
  .strap span { animation: none; }
  .idc-hint { display: none; }
  .fact { font-size: 14px; }
  .fact dt { flex-shrink: 0; }
  .fact dd { overflow-wrap: anywhere; }
  .skills-grid { margin-top: 24px; }
  #skills .sec-intro, #work .sec-intro { display: none; }
  .ptable { gap: 8px; }
  .el { padding: 8px; min-width: 0; width: 100%; aspect-ratio: auto; height: 132px; }
  .ptable.is-on .el:hover, .ptable.is-on .el.is-active { transform: none; box-shadow: inset 0 0 0 2px #F4F2EE; }
  .el-sym { font-size: 28px; letter-spacing: 0; }
  .el-name { white-space: normal; font-size: 11px; line-height: 1.2; }
  .el-detail { display: none; }
  .work-accordion { margin-top: 28px; }
  .work-accordion .acc-spine { height: 72px; }
  .work-accordion .acc-vtitle { font-size: 22px; letter-spacing: 0; }
  .work-accordion .work-tile-visual { height: 200px; }
  .work-accordion .acc-info { padding: 0; }
  .work-accordion .work-tile-title, .work-accordion .work-tile-index { display: none; }
  .work-accordion .work-tile-top { justify-content: flex-end; }
  .work-copy-block p { font-size: 14px; line-height: 1.6; }
  .work-examples ul { font-size: 13px; line-height: 1.6; gap: 10px; }
  .work-skills > div span { font-size: 11px; }
  .journey { margin-top: 32px; gap: 28px; }
  .j-stop { column-gap: 12px; }
  .j-card { padding: 18px; border-radius: 8px; opacity: 1; transform: none !important; }
  .is-left .j-year, .is-right .j-year { font-size: 40px; letter-spacing: 0; color: #FF9F45; -webkit-text-stroke: 0; }
  .j-title { font-size: 22px; letter-spacing: 0; }
  .j-tags { gap: 6px; }
  .j-tags .chip { font-size: 11px; padding: 0 9px; white-space: normal; height: auto; min-height: 30px; }
  .ct-title { font-size: 44px; letter-spacing: 0; }
  .ct-grid { margin-top: 32px; }
  .ct-mail { font-size: 21px; letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; }
  .ct-copy, .ct-links a, .foot-row a { min-height: 44px; display: inline-flex; align-items: center; }
  .ct-links { gap: 8px 24px; }
  .ct-links a:first-child { flex-basis: 100%; }
  .ct-btns { display: grid; grid-template-columns: 1fr; }
  .site-footer { margin-top: 48px; }
  .foot-row { font-size: 12px; gap: 8px; }
  .foot-name { display: none; }
  .rv, .rv-mask > span { opacity: 1; transform: none; }
  .skills-grid { display: flex; flex-direction: column; gap: 20px; }
  .hx { padding: 64px 0; }
  .hx-sticky { position: static; height: auto; overflow: visible; gap: 28px; }
  .hx-progress, .hx-end { display: none; }
  .hx-track { width: 100%; display: grid; gap: 16px; padding: 0 var(--gutter); will-change: auto; }
  .hx-card { width: 100%; height: auto; min-height: 0; padding: 20px; border-radius: 8px; }
  .hx-card:hover, .hx-card.is-active { transform: none; }
  .hx-logo { width: 44px; height: 44px; border-radius: 8px; opacity: 1; transform: none; }
  .hx-logo img { width: 30px; height: 30px; }
  .hx-bottom { margin-top: 20px; flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .hx-text { max-width: 100%; }
  .hx-num { font-size: 48px; letter-spacing: 0; }
  .hx-detail { font-size: 14px; }
  .skills-grid .key { order: -1; position: sticky; top: 76px; z-index: 5; align-self: stretch; width: 100%; min-width: 0; }
  .key-card { width: 100%; height: 180px; min-height: 180px; border-radius: 8px; }
  .key-in { width: 100%; min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 16px; text-align: left; animation: none; }
  .key-logo { grid-row: 1 / 4; width: 64px; height: 64px; animation: none; filter: none; }
  .key-name { margin: 0; align-self: end; font-size: 17px; line-height: 1.2; }
  .key-fam { align-self: start; margin-top: 6px; font-size: 10px; letter-spacing: 0; }
  .key-detail { display: block; font-size: 12px; color: #A3A19D; margin-top: 4px; }
  .fam { min-height: 44px; }
  .el { touch-action: manipulation; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-desktop { display: none; }
  .nav-menu-btn { display: flex; min-width: 72px; justify-content: center; }
  .m-menu { overflow-y: auto; }
}
@media (max-width: 380px) {
  .ptable { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-title { font-size: 36px; }
  .brand-name { display: none; }
  .ct-title { font-size: 38px; }
  .ct-mail { font-size: 18px; }
}

/* ---------- MA monogram ---------- */
.ma-glyph { display: block; overflow: visible; }
.nav-mark .ma-dot { fill: var(--mute); transition: fill .5s; }
.is-scrolled .nav-mark .ma-dot { fill: var(--faint); }
.idc-logo .ma-dot { fill: var(--mute); }
