/* v2 — type-specimen profile. Single light theme, committed. */

:root {
  --paper: #F1F0EC;
  --paper-2: #E8E6E1;
  --ink: #151512;
  --ink-2: #55544E;
  --ink-3: #96948C;
  --line: #D6D4CC;
  --hot: #FB651E;
  --hot-lite: #FF9E64;
  --hot-soft: #FCE7D8;
  --spring: cubic-bezier(0.22, 1.35, 0.35, 1);
  --font-display: "Bricolage Grotesque", -apple-system, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", monospace;
  --font-doto: "Doto", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--hot); color: var(--paper); }
.big-name::selection, .big-name *::selection,
.giant::selection, .giant *::selection,
.proj-name::selection, .proj-name *::selection,
.mail-giant::selection, .mail-giant *::selection,
.r-name::selection, .r-name *::selection,
.post-title::selection, .post-title *::selection {
  background: rgba(251, 101, 30, 0.22);
  color: var(--ink);
}

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

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }

/* ---------- nav ---------- */
.v2-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.v2-nav .who { color: var(--ink-2); }
.v2-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.v2-nav a { text-decoration: none; color: var(--ink-2); }
.v2-nav a:hover { color: var(--hot); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 11vh, 110px) 0 clamp(40px, 8vh, 80px);
}

.portrait {
  position: absolute;
  top: clamp(10px, 5vh, 48px);
  right: 0;
  width: clamp(140px, 16vw, 215px);
  margin: 0;
  padding: 9px 9px 7px;
  background: var(--paper-2);
  border: 2px solid var(--hot);
  box-shadow: 0 10px 30px rgba(16, 21, 26, 0.12);
  transform: rotate(3.5deg);
  z-index: 2;
}
.avatar-wrap {
  position: relative;
  display: block;
  aspect-ratio: 200 / 220;
  overflow: hidden;
}
.avatar { display: block; width: 100%; height: 100%; }
.portrait-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portrait:hover .portrait-real,
.portrait.show-real .portrait-real { opacity: 1; }
.portrait { cursor: pointer; }
.avatar .eye {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
.avatar .head-grp {
  transform-box: fill-box;
  transform-origin: 50% 62%;
}
@media (prefers-reduced-motion: no-preference) {
  .avatar .eye { animation: av-blink 4.4s infinite; }
  .avatar .head-grp { animation: av-bob 5.6s ease-in-out infinite; }
}
@keyframes av-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93%, 95% { transform: scaleY(0.08); }
}
@keyframes av-bob {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  30% { transform: rotate(-1.6deg) translateY(1.2px); }
  70% { transform: rotate(1.4deg) translateY(0.6px); }
}
.portrait figcaption {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-3);
  text-align: center;
  padding-top: 6px;
}
@media (max-width: 900px) {
  .portrait {
    position: static;
    display: inline-block;
    transform: rotate(-2deg);
    margin-top: 30px;
  }
}

.prompt {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  color: var(--ink-2);
  margin: 0 0 clamp(18px, 3vh, 34px);
}
.prompt .dollar { color: var(--hot); }
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--ink);
  vertical-align: text-bottom;
  margin-left: 4px;
  animation: blink 1.06s steps(1) infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.big-name {
  margin: 0;
  font-size: clamp(64px, 18.5vw, 280px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.035em;
}
.big-name span:last-child::after { content: "."; color: var(--hot); }
.big-name span { display: block; }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin-top: clamp(26px, 4.5vh, 48px);
  padding-top: 18px;
  border-top: 2px solid var(--hot);
}
.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  color: var(--ink);
  margin: 0;
}
.hero-role em { font-style: normal; color: var(--hot); }
.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- load choreography ---------- */
@media (prefers-reduced-motion: no-preference) {
  .drop, .rise { opacity: 0; }
  .drop {
    transform: translateY(-110px);
    animation: drop-in 1.15s var(--spring) forwards;
  }
  .rise {
    transform: translateY(34px);
    animation: rise-in 0.9s var(--spring) forwards;
  }
  .dl-1 { animation-delay: 0.10s; }
  .dl-2 { animation-delay: 0.28s; }
  .dl-3 { animation-delay: 0.85s; }
  .dl-4 { animation-delay: 1.00s; }
}
@keyframes drop-in { to { opacity: 1; transform: translateY(0); } }
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.9s var(--spring); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- motif ---------- */
.motif {
  font-family: var(--font-mono);
  color: var(--hot);
  font-size: 0.82rem;
  text-align: center;
  padding: clamp(30px, 6vh, 60px) 0;
  margin: 0;
}

/* ---------- sections ---------- */
section { padding: clamp(44px, 9vh, 96px) 0 0; }

.kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  border-top: 2px solid var(--hot);
  padding-top: 12px;
  margin: 0 0 8px;
}
.kicker .num {
  font-family: var(--font-doto);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hot);
  letter-spacing: 0;
}

.giant {
  margin: 0 0 clamp(28px, 5vh, 56px);
  font-size: clamp(48px, 11vw, 168px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  color: var(--hot);
}

/* ---------- about ---------- */
.about-copy {
  max-width: 62ch;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.42;
  font-weight: 450;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.about-copy .dim { color: var(--ink-3); }

/* ---------- capabilities ---------- */
.cap-rows { border-top: 1px solid var(--line); }
.cap-row {
  display: grid;
  grid-template-columns: 64px minmax(140px, 220px) 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cap-row .n {
  font-family: var(--font-doto);
  font-weight: 700;
  color: var(--ink-3);
}
.cap-row .k { font-weight: 600; letter-spacing: -0.01em; text-transform: lowercase; }
.cap-row .v { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .cap-row { grid-template-columns: 44px 1fr; }
  .cap-row .v { grid-column: 2; }
}

/* ---------- work: per-project sections ---------- */
.work-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-2);
  max-width: 52ch;
  margin: -18px 0 0;
}

.proj { padding-top: clamp(72px, 14vh, 150px); }
.proj-name {
  margin: 4px 0 12px;
  font-size: clamp(40px, 7.5vw, 118px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}
.proj-sum {
  margin: 0 0 clamp(26px, 5vh, 48px);
  max-width: 52ch;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.wc-tags {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--hot);
  margin: 22px 0 0;
}

/* output | x-ray panels */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.panel { display: flex; flex-direction: column; gap: 8px; }
.panel-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.panel-tag b { font-weight: 400; color: var(--hot); }
.panel .sim, .panel .xray { flex: 1; }

/* x-ray: dark internals panel */
.xray {
  background: var(--ink);
  padding: clamp(20px, 2.8vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.xr-node {
  display: grid;
  grid-template-columns: minmax(140px, 190px) 1fr;
  gap: 18px;
  padding: clamp(12px, 1.8vh, 20px) 0;
  border-bottom: 1px solid rgba(241, 240, 236, 0.1);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  opacity: 0.4;
  transition: opacity 0.35s ease;
}
.xr-node:last-child { border-bottom: none; }
.xr-node.active { opacity: 1; }
.xr-k { color: var(--paper); position: relative; padding-left: 20px; }
.xr-k::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 9px;
  height: 9px;
  background: rgba(241, 240, 236, 0.3);
  transition: background 0.35s ease;
}
.xr-node.active .xr-k { color: var(--hot-lite); }
.xr-node.active .xr-k::before { background: var(--hot-lite); }
.xr-v { color: rgba(241, 240, 236, 0.72); }
@media (max-width: 560px) { .xr-node { grid-template-columns: 1fr; gap: 4px; } }

/* journey: scroll-triggered steps */
.jlabel { margin-top: clamp(32px, 6vh, 60px); }
.journey {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.jstep {
  --d: 0s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--line);
  padding-top: 16px;
}
.jstep::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--spring);
  transition-delay: var(--d);
}
.jstep.on::after { transform: scaleX(1); }
.jn {
  font-family: var(--font-doto);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-3);
  transition: color 0.4s ease;
  transition-delay: var(--d);
}
.jstep.on .jn { color: var(--hot); }
.jt { font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.015em; text-transform: lowercase; }
.jd { font-size: clamp(0.9rem, 1.3vw, 1rem); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .jt, .jd { opacity: 0.35; transition: opacity 0.5s ease; transition-delay: var(--d); }
  .jstep.on .jt, .jstep.on .jd { opacity: 1; }
}

/* ---------- project simulations ---------- */
.sim {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(18px, 2.5vw, 32px);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.sim, .xray { min-height: clamp(340px, 48vh, 560px); }
.sim-line {
  margin: 0;
  line-height: 1.55;
  min-height: 3em;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sp-body { min-height: 4.6em; }
.sim-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 9px;
  font-size: 0.68rem;
  margin-right: 6px;
  vertical-align: middle;
}
.sim-caret {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--hot);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: blink 1.06s steps(1) infinite;
}
.sim-foot { margin: auto 0 0; font-size: 0.78rem; color: var(--ink-3); }

/* voice */
.sv-wave { width: 100%; height: clamp(90px, 15vh, 160px); display: block; }

/* linkedin post */
.sp-head { display: flex; align-items: center; gap: 12px; }
.sp-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; }
.sp-id { font-size: 0.82rem; color: var(--ink-2); }
.sp-badge {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--hot);
  border: 1px solid currentColor;
  padding: 2px 11px;
  border-radius: 999px;
}
.sp-stats { font-size: 0.95rem; }
.sp-stats b { color: var(--ink); font-weight: 400; }

/* adsether */
.sa-stage {
  position: relative;
  flex: 1;
  min-height: 240px;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(241, 240, 236, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}
.sa-hud {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(241, 240, 236, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.sa-rec { display: inline-flex; align-items: center; gap: 7px; color: #FF6B6B; }
.sa-rec i { width: 9px; height: 9px; border-radius: 50%; background: #FF6B6B; }
.sa-carousel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  min-height: 0;
  padding: 6px 0;
}
.ugc-card {
  position: relative;
  height: 100%;
  min-height: 240px;
  max-height: 440px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(165deg, var(--sc1), var(--sc2));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.45;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.6s var(--spring);
}
.ugc-card.on { opacity: 1; transform: scale(1); }
.ugc-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ugc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 30%);
  pointer-events: none;
}
.ugc-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(241, 240, 236, 0.8);
}
.ugc-eq {
  position: absolute;
  left: 10px;
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 20px;
}
.ugc-eq i { width: 4px; height: 6px; background: var(--hot-lite); }
.ugc-eq i:nth-child(2) { height: 14px; }
.ugc-eq i:nth-child(3) { height: 18px; }
.ugc-eq i:nth-child(4) { height: 10px; }
.ugc-cap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.65);
  padding: 7px 10px;
  min-height: 32px;
}
.ugc-cap.swap .sa-text { opacity: 0; transform: translateY(4px); }
.ugc-prog { position: relative; z-index: 2; height: 3px; background: rgba(241, 240, 236, 0.15); }
.ugc-prog span { display: block; height: 100%; width: 0; background: var(--hot-lite); }
@media (prefers-reduced-motion: no-preference) {
  .sa-rec i { animation: blink 1.3s steps(1) infinite; }
  .ugc-card.on .ugc-eq i { animation: eq-bounce 0.8s ease-in-out infinite; }
  .ugc-card.on .ugc-eq i:nth-child(2) { animation-delay: 0.12s; }
  .ugc-card.on .ugc-eq i:nth-child(3) { animation-delay: 0.24s; }
  .ugc-card.on .ugc-eq i:nth-child(4) { animation-delay: 0.36s; }
  .ugc-card.on .ugc-prog span { animation: fill-prog 4.2s linear infinite; }
}
@keyframes eq-bounce {
  0%, 100% { height: 6px; }
  50% { height: 20px; }
}
@keyframes fill-prog { from { width: 2%; } to { width: 98%; } }
.sa-lang {
  color: var(--hot-lite);
  border: 1px solid var(--hot-lite);
  font-size: 0.58rem;
  padding: 0 5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.sa-text {
  color: var(--paper);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* community feed */
.sc-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
}
.sc-online { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; }
.sc-online i { width: 8px; height: 8px; border-radius: 50%; background: #1F8A5F; }
@media (prefers-reduced-motion: no-preference) {
  .sc-online i { animation: blink 1.5s steps(1) infinite; }
}
.sc-online b { font-weight: 400; color: var(--ink); }
.sc-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  justify-content: flex-end;
  padding-top: 4px;
}
.sc-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.4s var(--spring);
}
.sc-msg.in { opacity: 1; transform: none; }
.sc-av {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFDF9;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sc-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sc-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
}
.sc-src {
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 0 5px;
  text-transform: uppercase;
}
.sc-time { flex-shrink: 0; font-size: 0.68rem; color: var(--ink-3); }
.sc-txt {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pii { transition: background 0.2s ease, color 0.2s ease; }
.pii.on { background: var(--ink); color: var(--ink); }
.sc-flag {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--hot);
  border: 1px solid currentColor;
  padding: 1px 7px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sc-flag.in { opacity: 1; }

/* ---------- path: animated timeline ---------- */
.tl { position: relative; padding-left: clamp(34px, 6vw, 70px); }
.tl-rail {
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line);
}
.tl-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--hot);
}
.tl-item {
  position: relative;
  padding: clamp(30px, 6vh, 64px) 0;
}
.tl-item:first-child { padding-top: 6px; }
.tl-dot {
  position: absolute;
  left: calc(-1 * clamp(34px, 6vw, 70px) + 3px);
  top: clamp(38px, 7vh, 74px);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--line);
  transition: border-color 0.4s ease, background 0.4s ease;
}
.tl-item:first-child .tl-dot { top: 14px; }
.tl-item.on .tl-dot { border-color: var(--hot); background: var(--hot); }
.tl-year {
  display: block;
  font-family: var(--font-doto);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--ink-3);
  transition: color 0.5s ease;
  margin-bottom: 12px;
}
.tl-to { font-size: 0.5em; vertical-align: super; }
.tl-item.on .tl-year { color: var(--hot); }
.tl-tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.tl-tag.now { color: var(--green, #1F8A5F); }
.tl-body h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: lowercase;
}
.tl-body h3 .co { color: var(--hot); }
.tl-body p { margin: 0; color: var(--ink-2); font-size: clamp(0.95rem, 1.4vw, 1.05rem); max-width: 62ch; }
.tl-body a { color: var(--hot); text-decoration: none; }
.tl-body a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .tl-body { opacity: 0.3; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.8s var(--spring); }
  .tl-item.on .tl-body { opacity: 1; transform: none; }
}

/* ---------- voice sim header ---------- */
.sv-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
}
.sv-live { display: inline-flex; align-items: center; gap: 7px; color: #1F8A5F; }
.sv-live i { width: 9px; height: 9px; border-radius: 50%; background: #1F8A5F; }
@media (prefers-reduced-motion: no-preference) {
  .sv-live i { animation: blink 1.4s steps(1) infinite; }
}
.sp-body { flex: 1; }
.sp-stats, .sp-queue { margin: 0; }

/* ---------- easter eggs ---------- */
.motif-act {
  all: unset;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.motif-act:hover { text-decoration: underline; }
.motif-act:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; }

.term-open {
  all: unset;
  cursor: pointer;
  font: inherit;
  color: var(--ink-3);
}
.term-open:hover { color: var(--hot); }
.term-open:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.term {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.term[hidden] { display: none; }
.term-box {
  width: min(680px, 94vw);
  height: min(440px, 76vh);
  background: #0C0C0F;
  border: 1px solid #2A2A30;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #2A2A30;
  color: #8B8B95;
  font-size: 0.74rem;
}
.term-x {
  all: unset;
  cursor: pointer;
  color: #8B8B95;
  padding: 2px 6px;
}
.term-x:hover, .term-x:focus-visible { color: #F1F0EC; }
.term-out {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  color: #C9C9D2;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.term-out .t-hot { color: var(--hot-lite); }
.term-out .t-ok { color: #4ADE93; }
.term-out .t-dim { color: #6E6E78; }
.term-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #2A2A30;
}
.term-ps { color: var(--hot-lite); }
.term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #F1F0EC;
  font: inherit;
}

.egg-toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  pointer-events: none;
}
.egg-toast {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-left: 3px solid var(--hot);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.4s var(--spring);
}
.egg-toast.in { opacity: 1; transform: none; }
.egg-toast .t-ok { color: #4ADE93; }

/* ---------- honors ---------- */
.honors { columns: 2; column-gap: 48px; max-width: 1000px; }
.honors p {
  break-inside: avoid;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.honors p::before { content: "→"; position: absolute; left: 0; color: var(--hot); }
.honors a { color: var(--hot); text-decoration: none; }
.honors a:hover { text-decoration: underline; }
@media (max-width: 720px) { .honors { columns: 1; } }

/* ---------- contact ---------- */
.contact { padding-bottom: 0; }
.mail-giant {
  display: block;
  font-size: clamp(20px, 3.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
  word-break: break-all;
  margin: 0 0 clamp(28px, 5vh, 52px);
  color: var(--hot);
  transition: color 0.2s ease;
}
.mail-giant:hover { color: var(--ink); }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 18px 0 clamp(40px, 8vh, 80px);
  border-top: 2px solid var(--hot);
}
.contact-row a { text-decoration: none; color: var(--ink-2); }
.contact-row a:hover { color: var(--hot); }

/* ---------- footer ---------- */
.v2-footer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line);
}
.v2-footer a { color: var(--ink-3); }
.v2-footer a:hover { color: var(--hot); }

/* ---------- resume page ---------- */
.who-link { color: inherit; text-decoration: none; }
.who-link:hover { color: var(--hot); }
.r-head { padding: clamp(40px, 8vh, 80px) 0 clamp(20px, 4vh, 40px); position: relative; }
.r-name {
  margin: 0 0 6px;
  font-size: clamp(44px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.r-role { font-family: var(--font-mono); color: var(--ink-2); margin: 0 0 18px; font-size: 0.95rem; }
.r-role em { font-style: normal; color: var(--hot); }
.r-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-2);
}
.r-contact a { color: var(--ink-2); text-decoration: none; }
.r-contact a:hover { color: var(--hot); }
.r-print {
  all: unset;
  cursor: pointer;
  position: absolute;
  top: clamp(40px, 8vh, 80px);
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 8px 14px;
}
.r-print:hover { border-color: var(--hot); color: var(--hot); }
.r-print:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }

.r-sec { padding: clamp(26px, 5vh, 48px) 0 0; }
.r-summary { max-width: 68ch; font-size: 1.05rem; color: var(--ink-2); margin: 0; }
.r-item {
  display: grid;
  grid-template-columns: minmax(140px, 190px) 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.r-item:last-child { border-bottom: none; }
.r-when { font-size: 0.76rem; color: var(--ink-3); padding-top: 5px; }
.r-what h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.015em; }
.r-what ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.r-what li { font-size: 0.92rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.r-what li::before { content: "—"; position: absolute; left: 0; color: var(--hot); }
.r-what a { color: var(--hot); text-decoration: none; }
.r-what a:hover { text-decoration: underline; }
.r-line { margin: 4px 0 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .r-item { grid-template-columns: 1fr; gap: 4px; }
  .r-print { position: static; display: inline-block; margin-top: 16px; }
}

@media print {
  nav, .r-print, .v2-footer { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .r-head { padding: 0 0 12pt; }
  .r-name { font-size: 26pt; }
  .r-sec { padding: 10pt 0 0; }
  .r-item { padding: 7pt 0; break-inside: avoid; grid-template-columns: 130pt 1fr; gap: 10pt; }
  .kicker { border-top-color: #000; color: #444; }
  .kicker .num, .r-role em, .r-what li::before { color: #000; }
  .r-summary, .r-what li, .r-line, .r-when, .r-contact, .r-role { color: #222; }
  .r-what a { color: #000; text-decoration: none; }
}

/* ---------- open source page ---------- */
.oss-head { padding: clamp(40px, 8vh, 80px) 0 0; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc { background: var(--paper); padding: clamp(18px, 2.5vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.svc:hover { background: var(--paper-2); }
.svc h3 { margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.svc p { margin: 0; font-size: 0.9rem; color: var(--ink-2); flex: 1; }
.svc-tags { font-family: var(--font-mono); font-size: 0.72rem; color: var(--hot); }

.repo-rows { border-top: 1px solid var(--line); }
.repo-row {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr minmax(130px, 160px);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: baseline;
}
.repo-row:hover .repo-name { color: var(--hot); }
.repo-name { font-family: var(--font-mono); font-weight: 400; font-size: 0.9rem; color: var(--ink); transition: color 0.15s ease; word-break: break-all; }
.repo-desc { font-size: 0.9rem; color: var(--ink-2); }
.repo-meta { font-size: 0.72rem; color: var(--ink-3); text-align: right; }
@media (max-width: 700px) {
  .repo-row { grid-template-columns: 1fr; gap: 4px; }
  .repo-meta { text-align: left; }
}
.oss-note { margin: 18px 0 0; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); }
.oss-note a { color: var(--hot); }
.oss-cta { padding-bottom: clamp(30px, 6vh, 60px); }
.oss-cta .mail-giant { margin-bottom: 14px; }

/* ---------- blog ---------- */
.blog-list { padding-bottom: clamp(40px, 8vh, 80px); }
.post-page { max-width: 70ch; padding: clamp(40px, 8vh, 80px) 0 clamp(30px, 6vh, 60px); }
.post-date { font-size: 0.76rem; color: var(--ink-3); margin: 0 0 8px; }
.post-title {
  margin: 0 0 30px;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.post-prose { font-size: 1.03rem; color: var(--ink-2); }
.post-prose p { margin: 0 0 18px; }
.post-prose h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 34px 0 12px; }
.post-prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.post-prose a { color: var(--hot); }
.post-prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1px 5px;
}
.post-prose pre {
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  overflow-x: auto;
  font-size: 0.85rem;
}
.post-prose pre code { background: none; border: none; padding: 0; color: inherit; }
.post-prose ul, .post-prose ol { padding-left: 22px; margin: 0 0 18px; }
.post-prose li { margin-bottom: 7px; }
.post-prose blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--hot);
}
.post-back { color: var(--hot); text-decoration: none; font-size: 0.85rem; }
.post-back:hover { text-decoration: underline; }

/* ---------- mobile refinements ---------- */
@media (max-width: 640px) {
  .v2-nav { flex-wrap: wrap; gap: 8px 16px; }
  .v2-nav ul { flex-wrap: wrap; gap: 12px 16px; }
  .ugc-card { display: none; }
  .ugc-card.on { display: flex; }
  .sc-meta { flex-wrap: wrap; row-gap: 2px; }
  .sim, .xray { min-height: 300px; }
}
