:root {
  --void: #07080a;
  --ice: #f1f1ef;
  --ice-soft: #d0d1d2;
  --ice-dim: #a4a6ad;
  --aqua: #a4dac9;
  --crimson: #df4962;
  --rail-height: 0px;
}
*, *::before, *::after { letter-spacing: 0 !important; }
body { background: #07080a; }
.stage-atmosphere {
  background: linear-gradient(180deg, rgba(7,8,10,.12), rgba(7,8,10,.36)), url("assets/starfield.jpg") center 45% / cover;
  opacity: .68;
  filter: saturate(.18);
  mix-blend-mode: normal;
  z-index: 0;
}
.space-canvas { z-index: 1; }
.stage-grain, .curtain-rail { display: none; }
.stage-vignette { background: linear-gradient(180deg, rgba(7,8,10,.2), transparent 35%, rgba(7,8,10,.64)); }
.site-header { top: 0; }
.site-header.is-scrolled { background: rgba(7,8,10,.56); }
.nav-shell { width: calc(100% - 112px); min-height: 96px; }
.brand { gap: 8px; }
.brand-name { font-size: 14px; }
.brand-sub { margin: 0; font-size: 9px; opacity: .75; }
.site-nav { gap: 36px; }
.site-nav a { font-size: 13px; }
.personal-hero {
  min-height: 540px;
  height: calc(100svh - 180px);
  max-height: 1150px;
  padding: 120px 32px 130px;
  display: grid;
  place-items: center;
  position: relative;
}
.hero-content { width: 100%; text-align: center; }
.hero-eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 28px; color: #c7c8cb; font: 12px var(--mono); }
.status-light { width: 5px; height: 5px; border-radius: 50%; background: #a4dac9; box-shadow: 0 0 12px #a4dac955; }
.hero-statement { margin: 0; font-family: var(--serif); font-size: 68px; font-weight: 700; line-height: 1.4; text-shadow: 0 4px 48px #0007; }
.hero-statement > span { display: block; white-space: nowrap; }
.hero-role { margin: 30px 0 0; color: #dedee0; font-size: 16px; }
.hero-role > span { margin: 0 12px; color: #85858c; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; margin-top: 40px; }
.hero-twin { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 14px 22px; border: 1px solid #e9697d88; border-radius: 4px; background: #af2942; color: white; cursor: pointer; font-size: 14px; transition: background .2s, transform .2s; }
.hero-twin:hover { background: #c63550; transform: translateY(-3px); }
.hero-twin > span { font-size: 21px; line-height: 1; }
.hero-explore { display: inline-flex; align-items: center; gap: 22px; font-size: 13px; color: #dedee0; }
.hero-explore span { transition: transform .2s; }
.hero-explore:hover span { transform: translateY(4px); }
.hero-coordinate { position: absolute; left: 56px; right: 56px; bottom: 66px; display: flex; justify-content: space-between; color: #a6a7ae; font: 10px var(--mono); }
.act.personal-signals { padding: 46px 0 30px; }
.signals-heading { max-width: 1100px; margin: 0 auto 44px; padding: 0 32px; text-align: center; }
.section-index { color: #a4a6ad; font: 11px var(--mono); margin: 0; }
.signals-heading h2 { margin: 16px 0 10px; font-size: 32px; font-weight: 500; }
.signals-heading h2 > span { color: #df4962; }
.signals-heading > p:last-child { margin: 0; color: #a4a6ad; font-size: 13px; }
.topic-field { overflow: hidden; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.topic-row { display: flex; overflow: hidden; min-height: 112px; align-items: center; }
.topic-track { display: flex; width: max-content; animation: topic-drift 60s linear infinite; will-change: transform; }
.topic-row.is-reverse .topic-track { animation-direction: reverse; animation-duration: 72s; }
.topic-row:nth-child(3) .topic-track { animation-duration: 66s; }
.topic-sequence { display: flex; flex-shrink: 0; align-items: center; }
.topic-word { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; color: #e2e3e4; font: 500 56px/1.25 Arial, sans-serif; white-space: nowrap; }
.topic-word.is-outline { color: transparent; -webkit-text-stroke: 1px #a6acb4; }
.topic-star { color: #a4dac9; font: 34px Arial, sans-serif; -webkit-text-stroke: 0; }
.topic-row:nth-child(2) .topic-star { color: #df4962; }
.personal-bottom { max-width: 1100px; padding: 0 32px; margin: 80px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; scroll-margin-top: 140px; }
.mini-about p { font-size: 22px; margin: 16px 0; }
.skill-line { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 12px; color: #b8bac0; }
.skill-line span + span::before { content: "/"; margin-right: 20px; color: #71757d; }
.project-entry { display: grid; gap: 20px; border-bottom: 1px solid #c5c7cd44; padding: 0 0 15px; min-width: 260px; transition: border-color .2s; }
.project-entry:hover { border-color: #a4dac9; }
.project-name { display: flex; justify-content: space-between; gap: 40px; font-size: 22px; }
.project-name > span { color: #a4dac9; transition: transform .2s; }
.project-entry:hover .project-name > span { transform: translate(3px,-3px); }
.personal-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1100px; padding: 28px 32px 85px; margin: 80px auto 0; color: #a4a6ad; font: 10px var(--mono); }
.personal-footer a { display: grid; place-items: center; width: 40px; height: 40px; font-size: 22px; }
.signal-dock { left: auto; right: 28px; bottom: 22px; transform: none; width: auto; min-height: 48px; padding-left: 18px; gap: 12px; background: rgba(10,11,14,.72); border-color: #ffffff22; box-shadow: 0 8px 28px #0003; }
.signal-copy { font-size: 12px; }
.signal-link { font-size: 12px; padding: 0 18px; }
.twin-panel { background: #101114; min-height: 0; }
.twin-header { background: #ffffff03; }
.twin-message { background: #ffffff04; }
.twin-composer { background: #090a0d; }
.twin-heading h2 { font-size: 12px; }
@media (min-width: 1800px) { .hero-statement { font-size: 76px; } }
@media (max-width: 1100px) { .hero-statement { font-size: 54px; } .nav-shell { width: calc(100% - 64px); } }
@media (max-width: 860px) {
  .nav-toggle { background: transparent; }
  .site-nav { gap: 0; }
  .site-nav.is-open { top: 82px; background: #0a0b0ef5; }
  .nav-shell { min-height: 82px; }
  .hero-statement { font-size: 44px; }
  .hero-coordinate { left: 32px; right: 32px; }
  .personal-bottom { gap: 36px; }
  .project-entry { min-width: 225px; }
  .topic-word { font-size: 44px; }
}
@media (max-width: 640px) {
  .nav-shell { width: calc(100% - 40px); }
  .brand-name { font-size: 12px; }
  .brand-sub { font-size: 8px; }
  .personal-hero { height: calc(100svh - 190px); min-height: 500px; padding: 100px 20px 110px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 30px; }
  .hero-statement { font-size: 28px; line-height: 1.65; }
  .hero-role { font-size: 12px; margin-top: 26px; }
  .hero-role > span { margin: 0 7px; }
  .hero-actions { gap: 24px; margin-top: 32px; }
  .hero-twin { font-size: 13px; padding: 12px 18px; gap: 24px; }
  .hero-explore { font-size: 12px; gap: 12px; }
  .hero-coordinate { left: 20px; right: 20px; bottom: 70px; font-size: 8px; }
  .hero-coordinate span:last-child { display: none; }
  .act.personal-signals { padding-top: 30px; }
  .signals-heading { margin-bottom: 28px; }
  .signals-heading h2 { font-size: 26px; }
  .topic-row { min-height: 92px; }
  .topic-word { font-size: 36px; gap: 28px; padding-right: 28px; }
  .topic-star { font-size: 24px; }
  .personal-bottom { grid-template-columns: 1fr; gap: 44px; margin-top: 50px; padding: 0 24px; }
  .skill-line { gap: 8px 12px; font-size: 11px; }
  .skill-line span + span::before { margin-right: 12px; }
  .project-entry { min-width: 0; }
  .personal-footer { margin-top: 42px; padding: 20px 24px 90px; gap: 14px; flex-wrap: wrap; font-size: 9px; }
  .personal-footer a { margin-left: auto; }
  .signal-dock { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; min-height: 48px; }
  .signal-copy { font-size: 12px; }
  .signal-link { margin-left: auto; font-size: 12px; }
  .twin-heading h2 { font-size: 10px; }
}
@media (max-width: 374px) {
  .hero-statement { font-size: 24px; }
  .hero-role { font-size: 11px; }
  .hero-actions { gap: 18px; }
  .skill-line { gap: 8px; font-size: 10px; }
  .skill-line span + span::before { margin-right: 8px; }
}
@keyframes topic-drift { to { transform: translateX(-50%); } }
@media (max-height: 680px) {
  .personal-hero { min-height: 420px; height: calc(100svh - 148px); padding-top: 90px; padding-bottom: 60px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-role { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-coordinate { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .topic-track { animation: none; }
  .topic-field { mask-image: none; padding: 20px 24px; }
  .topic-row { min-height: 0; overflow: visible; margin-bottom: 20px; }
  .topic-track, .topic-sequence { width: 100%; flex-wrap: wrap; gap: 16px; }
  .topic-sequence[aria-hidden] { display: none; }
  .topic-word { white-space: normal; font-size: 24px; padding: 0; gap: 16px; }
  .topic-star { font-size: 16px; }
}
