:root{
  --bg: #0a0a0d;
  --surface: #131317;
  --surface-2: #1a1a1f;
  --border: #232329;
  --border-soft: #2c2c33;

  --pink: #ff2f92;
  --pink-soft: #ff8fc7;
  --pink-dim: #7a1c4a;

  --text: #f2f0f3;
  --text-muted: #9a97a1;
  --text-faint: #5f5c66;

  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 980px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }

::selection{ background: var(--pink); color: #0a0a0d; }

.bg-grid{
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
.bg-glow{
  position: fixed; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; z-index: -1;
  background: radial-gradient(circle, rgba(255,47,146,0.16) 0%, rgba(255,47,146,0) 70%);
  pointer-events: none;
}
.bg-rain{
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0.7;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .bg-rain{ display: none; }
}

.topbar{
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,13,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  max-width: 1180px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand{
  font-family: var(--mono); font-weight: 600; font-size: 16px;
  color: var(--text); margin-right: auto;
}
.brand__prompt{ color: var(--text-faint); }
.brand__blink{ color: var(--pink); animation: blink 1.1s step-end infinite; }

.cmdnav{ display: flex; gap: 24px; font-family: var(--mono); font-size: 13.5px; }
.cmdnav a{ display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); transition: color .15s ease; white-space: nowrap; }
.cmdnav a:hover{ color: var(--pink-soft); }
.cmdnav a:hover .cmdnav__icon{ stroke: var(--pink-soft); }
.cmdnav__icon{
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--pink); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .15s ease;
}

.cmdnav--mobile{ display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; }
.cmdnav--mobile a{ padding: 10px 0; border-bottom: 1px solid var(--border); }

.navtoggle{
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.navtoggle span{ width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 860px){
  .cmdnav{ display: none; }
  .navtoggle{ display: flex; }
  .topbar.is-open .cmdnav--mobile{ display: flex; }
}

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  padding: 11px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  background: none; color: var(--text); text-decoration: none;
  appearance: none; -webkit-appearance: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{ background: var(--pink); color: #16060f; }
.btn--primary:hover{ background: var(--pink-soft); }
.btn--glow{
  position: relative;
  box-shadow: 0 0 8px 1px rgba(255,255,255,0.3), 0 0 18px 3px rgba(255,255,255,0.14);
  animation: btnGlowPulse 2.4s ease-in-out infinite;
}
.btn--glow:hover{
  box-shadow: 0 0 10px 2px rgba(255,255,255,0.4), 0 0 22px 5px rgba(255,255,255,0.2);
}
@keyframes btnGlowPulse{
  0%, 100% { box-shadow: 0 0 8px 1px rgba(255,255,255,0.3), 0 0 18px 3px rgba(255,255,255,0.14); }
  50% { box-shadow: 0 0 11px 2px rgba(255,255,255,0.42), 0 0 24px 5px rgba(255,255,255,0.2); }
}
@media (prefers-reduced-motion: reduce){
  .btn--glow{ animation: none; }
}
.btn--outline{ border-color: var(--border-soft); color: var(--text); }
.btn--outline:hover{ border-color: var(--pink); color: var(--pink-soft); }
.btn--sm{ padding: 8px 14px; font-size: 12.5px; }
.btn--disabled{
  opacity: .45; border: 1px dashed var(--border-soft); color: var(--text-faint);
  cursor: not-allowed; padding: 8px 14px; font-family: var(--mono); font-size: 12.5px;
  border-radius: var(--radius-sm); display: inline-flex; align-items: center;
}
.btn--disabled:hover{ transform: none; }

.window{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6);
}
.window__bar{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--border-soft); }
.dot--red{ background: #ff5f57; }
.dot--yellow{ background: #febc2e; }
.dot--green{ background: #28c840; }
.window__title{
  margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-faint);
}
.window__body{ padding: 28px clamp(20px, 4vw, 40px); }
.window__body--prose p{ color: var(--text-muted); margin: 0 0 16px; max-width: 68ch; }
.window__body--prose p strong{ color: var(--text); }

.eyebrow{
  font-family: var(--mono); font-size: 12.5px; color: var(--pink-soft);
  margin: 0 0 18px; letter-spacing: 0.02em;
}

main{ max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section{ padding: 70px 0; scroll-margin-top: 90px; }
#stack{ padding-bottom: 20px; }
#herramientas{ padding-top: 20px; }
#proyectos{ padding-bottom: 20px; }
#github{ padding-top: 20px; }
.section__head{ margin-bottom: 22px; }
.section__title{
  font-family: var(--sans); font-weight: 800; font-size: clamp(24px, 3.4vw, 32px);
  margin: 4px 0 0; letter-spacing: -0.01em;
}

.hero{ padding: 56px 0 20px; scroll-margin-top: 90px; }
.window--hero .window__body{ padding: 32px clamp(20px, 4vw, 44px) 38px; }

.prompt-line{
  font-family: var(--mono); font-size: 13.5px; color: var(--text-muted); margin: 0 0 18px;
}
.prompt-line--muted{ margin: 22px 0 0; }
.prompt-line__user{ color: var(--pink-soft); }
.prompt-line__sep{ color: var(--text-faint); margin-right: 8px; }
.typed-static{ color: var(--text); }

.hero__name{
  font-family: var(--sans); font-weight: 800; font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em;
}


.construction-banner{
  position: fixed; left: 22px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--pink-soft);
  background: var(--surface); border: 1px solid var(--pink-dim);
  padding: 10px 12px 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  animation: bannerIn .4s ease;
}
.construction-banner__avatar{
  position: absolute; left: -14px; bottom: 26px; z-index: 2;
  width: 84px; height: auto; flex: none;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));
  transform: rotate(-8deg);
  animation: mascotBob 2.6s ease-in-out infinite;
}
.construction-banner button{
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: none; border: none; color: var(--text-faint);
  font-size: 15px; line-height: 1; cursor: pointer; padding: 0;
}
.construction-banner button:hover{ color: var(--pink-soft); }
.construction-banner.is-hidden{ display: none; }

@keyframes mascotBob{
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-6px); }
}
@keyframes bannerIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .construction-banner__avatar{ animation: none; }
}

@media (max-width: 640px){
  .construction-banner{ font-size: 11px; left: 12px; bottom: 12px; }
}

.hero__role{
  font-family: var(--mono); font-size: clamp(15px, 2vw, 19px); color: var(--pink);
  margin: 0 0 22px; min-height: 1.4em;
}
.cursor{ color: var(--pink); animation: blink 1s step-end infinite; }
.hero__desc{
  max-width: 62ch; color: var(--text-muted); font-size: 16px; margin: 0 0 30px;
}
.hero__desc .hl{ color: var(--pink-soft); font-weight: 600; }
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.social-links{ display: flex; align-items: center; gap: 10px; }
.social-links__item{
  position: relative;
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  font: inherit; cursor: pointer; padding: 0;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.social-links__item:hover{
  transform: translateY(-3px);
  border-color: var(--pink);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255,47,146,0.15), 0 8px 20px rgba(255,47,146,0.18);
}

.tag{
  font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border-soft); color: var(--text-muted); margin-left: 6px;
}
.tag--live{ color: #37e08b; border-color: rgba(55,224,139,0.3); background: rgba(55,224,139,0.08); }
.tag--private{ color: #ffb020; border-color: rgba(255,176,32,0.3); background: rgba(255,176,32,0.08); margin-left: 0; }
.tag--dev{ color: #4da3ff; border-color: rgba(77,163,255,0.3); background: rgba(77,163,255,0.08); margin-left: 0; }
.modal__status{ margin: 0 0 16px; }

.about__facts{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px;
}
.fact{
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; background: var(--surface-2);
}
.fact__label{ display: block; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); margin-bottom: 6px; }
.fact__value{ display: block; font-weight: 600; font-size: 14px; }
@media (max-width: 640px){ .about__facts{ grid-template-columns: 1fr; } }

.about__timeline-anchor{
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: 90px;
}

.hero__layout{
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}
.hero__text{ min-width: 0; }

.avatar3d{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.avatar3d--hero{ max-width: 340px; }

@media (max-width: 960px){
  .hero__layout{ grid-template-columns: 1fr; }
  .avatar3d--hero{ max-width: 240px; margin: 0 auto 12px; order: -1; }
}
.avatar3d__glow{
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,47,146,0.4), rgba(255,47,146,0) 70%);
  filter: blur(20px);
  animation: avatarPulse 4s ease-in-out infinite;
  z-index: 0;
}
.avatar3d__float{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: avatarFloat 5.5s ease-in-out infinite;
}
.avatar3d__canvas{
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.5));
  transition: transform .18s ease-out;
  will-change: transform;
}
@keyframes avatarFloat{
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(3deg); }
  50% { transform: translateY(-12px) rotateY(8deg) rotateX(-3deg); }
}
@keyframes avatarPulse{
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.1); }
}

.bubblerow{
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bubbletrack{
  display: flex; align-items: flex-start; gap: 10px;
  width: max-content;
  padding: 6px 2px 10px;
  animation: bubbleScroll 34s linear infinite;
}
.bubblerow:hover .bubbletrack{ animation-play-state: paused; }

@keyframes bubbleScroll{
  from{ transform: translateX(-50%); }
  to{ transform: translateX(0%); }
}

.bubble{
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 58px; flex: none;
}
.bubble__icon{
  position: relative;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  animation: bubbleFloat 3.6s ease-in-out infinite;
  transition: transform .2s ease;
}
.bubble:nth-child(3n+1) .bubble__icon{ animation-delay: -.4s; }
.bubble:nth-child(3n+2) .bubble__icon{ animation-delay: -1.6s; }
.bubble:nth-child(3n+3) .bubble__icon{ animation-delay: -2.6s; }
.bubble__icon::after{
  content: "";
  position: absolute; inset: -8px;
  border-radius: 18px;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow, var(--pink)) 55%, transparent), transparent 70%);
  filter: blur(9px);
  z-index: -1;
  opacity: .65;
  animation: bubbleGlow 3.6s ease-in-out infinite;
}
.bubble:hover .bubble__icon{ transform: translateY(-4px) scale(1.08); }
.bubble__icon img{ display: block; max-width: 70%; max-height: 70%; }
.bubble__mono{
  font-family: var(--mono); font-weight: 700; font-size: 13px; color: #fff;
}
.bubble__mask{
  display: block; width: 55%; height: 55%; background: #fff;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.bubble__label{
  font-family: var(--mono); font-size: 10px; color: var(--text-faint);
  white-space: nowrap;
}

@keyframes bubbleFloat{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes bubbleGlow{
  0%, 100% { opacity: .45; }
  50% { opacity: .85; }
}

@media (prefers-reduced-motion: reduce){
  .bubbletrack{ animation: none; }
  .bubble__icon{ animation: none; }
  .bubble__icon::after{ animation: none; }
}

.projects{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.window--project .window__body{ padding: 22px 22px 24px; }
.codecard{
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
  color: var(--text-muted); white-space: pre-wrap; word-break: break-word;
  margin: 0 0 14px; background: transparent;
}
.codecard .k{ color: var(--pink-soft); }
.codecard .s{ color: var(--text); }
.project__note{
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); margin: 0 0 16px;
}
.project__links{ display: flex; gap: 10px; flex-wrap: wrap; }

.ghchart{
  overflow-x: auto;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.ghgraph{ display: inline-flex; flex-direction: column; gap: 10px; min-width: 720px; }
.ghgraph__months{
  display: grid; grid-auto-flow: column; grid-auto-columns: 11px; gap: 3px;
  font-family: var(--mono); font-size: 11px; color: var(--text-faint);
  padding-left: 28px;
  white-space: nowrap;
  overflow: visible;
}
.ghgraph__body{ display: flex; gap: 6px; }
.ghgraph__days{
  display: grid; grid-template-rows: repeat(7, 11px); gap: 3px;
  font-family: var(--mono); font-size: 10px; color: var(--text-faint);
  width: 22px;
}
.ghgraph__days span{ display: flex; align-items: center; }
.ghgraph__weeks{ display: grid; grid-auto-flow: column; grid-auto-columns: 11px; gap: 3px; }
.ghgraph__week{ display: grid; grid-template-rows: repeat(7, 11px); gap: 3px; }
.ghgraph__cell{
  width: 11px; height: 11px; border-radius: 2px;
  background: var(--surface); border: 1px solid var(--border-soft);
}
.ghgraph__cell[data-level="1"]{ background: rgba(255,47,146,.28); border-color: transparent; }
.ghgraph__cell[data-level="2"]{ background: rgba(255,47,146,.5); border-color: transparent; }
.ghgraph__cell[data-level="3"]{ background: rgba(255,47,146,.75); border-color: transparent; }
.ghgraph__cell[data-level="4"]{ background: var(--pink); border-color: transparent; }
.ghgraph__legend{
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--mono); font-size: 10.5px; color: var(--text-faint);
}

.window__body--card{ padding: 14px 18px 20px; }
.project__thumb{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
}
.project__thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.project__thumb-empty{
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255,255,255,0.03) 10px 20px);
}
.project__thumb-empty:only-child{ display: flex; }
.project__thumb-empty--dev{
  flex-direction: column; gap: 10px; text-align: center; padding: 16px;
}
.project__thumb-avatar{
  width: 76px; height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
}
.project__header{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px;
}
.project__name{
  font-size: 17px; font-weight: 700; margin: 0;
}
.project__header .tag{ margin-left: 0; flex: none; }
.project__tech{ display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.techicon{
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-soft);
}
.techicon img{ max-width: 65%; max-height: 65%; display: block; }

.modal{
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.modal.is-open{ opacity: 1; pointer-events: auto; }
.modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(5,5,7,0.75);
  backdrop-filter: blur(3px);
}
.modal__panel{
  position: relative;
  width: 100%; max-width: 880px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(16px) scale(.98);
  transition: transform .2s ease;
  scrollbar-color: var(--pink-dim) var(--surface-2);
  scrollbar-width: thin;
}
.modal__panel::-webkit-scrollbar{ width: 10px; }
.modal__panel::-webkit-scrollbar-track{ background: var(--surface-2); }
.modal__panel::-webkit-scrollbar-thumb{
  background: var(--pink-dim);
  border-radius: 999px;
  border: 2px solid var(--surface-2);
}
.modal__panel::-webkit-scrollbar-thumb:hover{ background: var(--pink); }
.modal.is-open .modal__panel{ transform: translateY(0) scale(1); }
.modal__close{
  position: absolute; top: 14px; right: 16px;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border-soft);
  color: var(--text-muted); font-size: 16px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.modal__close:hover{ color: var(--pink-soft); border-color: var(--pink); }

.modal__gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.modal__gallery a{ display: block; overflow: hidden; border-radius: var(--radius-sm); }
.modal__gallery img{
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  cursor: zoom-in;
  transition: transform .15s ease, border-color .15s ease;
}
.modal__gallery a:hover img{ transform: scale(1.04); border-color: var(--pink); }
.modal__gallery a:first-child{ grid-column: 1 / -1; }
.modal__gallery a:first-child img{ aspect-ratio: 16 / 8; }

.timeline{ list-style: none; margin: 0; padding: 0; position: relative; }
.timeline__track{
  position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px;
  background: var(--border-soft);
}
.timeline__track-fill{
  position: absolute; left: 5px; top: 10px; width: 1px; height: 0px;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255,47,146,0.6);
  transition: height .5s ease;
}
.timeline__item{
  display: flex; gap: 16px; padding: 0 0 26px 0; position: relative;
}
.timeline__dot{
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--border-soft);
  margin-top: 5px; flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 0 rgba(255,47,146,0);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.timeline__item.is-active .timeline__dot{
  background: var(--pink); border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,47,146,0.16);
  transform: scale(1.15);
}
.timeline__role{ font-weight: 700; margin: 0 0 2px; font-size: 15px; }
.timeline__meta{ font-family: var(--mono); font-size: 12px; color: var(--pink-soft); margin: 0 0 8px; }
.timeline__desc{ color: var(--text-muted); margin: 0; max-width: 60ch; font-size: 14.5px; }

.contact__desc{ color: var(--text-muted); max-width: 56ch; margin: 10px 0 26px; }
.contact__links{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.contact-form-wrap{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s ease, margin-top .4s ease;
}
.contact-form-wrap.is-open{
  max-height: 900px;
  opacity: 1;
  margin-top: 22px;
}
.contact-form{ display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.contact-form__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field{ display: flex; flex-direction: column; gap: 6px; }
.contact-form__label{
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  font-family: var(--mono); font-size: 13.5px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 10px 12px;
  outline: none; resize: vertical;
  transition: border-color .15s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: var(--text-faint); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{ border-color: var(--pink); }
.contact-form select{ appearance: none; -webkit-appearance: none; cursor: pointer; }
.contact-form__actions{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.contact-form__hint{
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
}

@media (max-width: 640px){
  .contact-form__row{ grid-template-columns: 1fr; }
}

.footer{
  border-top: 1px solid var(--border); padding: 26px 20px; text-align: center;
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
}
.footer__socials{
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 16px;
}
.footer__socials .social-links__item{ width: 36px; height: 36px; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px;
}

@keyframes blink{
  0%, 50%{ opacity: 1; }
  51%, 100%{ opacity: 0; }
}

.reveal{ opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
