* {
  box-sizing: border-box;
}



.splash {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.22), transparent 26rem),
    radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.12), transparent 18rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #020617 100%);
  animation: splash-exit 0.75s ease 3.9s forwards;
  pointer-events: none;
}

.splash::before,
.splash::after {
  content: "";
  position: absolute;
  width: min(76vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(34, 211, 238, 0.18), inset 0 0 44px rgba(34, 211, 238, 0.08);
  animation: scan-ring 2.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash::after {
  width: min(48vw, 330px);
  border-style: dashed;
  animation-duration: 2.2s;
  animation-direction: reverse;
}

.splash-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(700px) rotateX(64deg) translateY(18%);
  animation: grid-drift 4.4s linear forwards;
}

.splash-orb {
  position: absolute;
  width: min(62vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 211, 238, 0.6), transparent, rgba(250, 204, 21, 0.55), transparent);
  filter: blur(18px);
  opacity: 0.35;
  animation: orb-spin 1.8s ease-out forwards;
}

.splash-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(92vw, 760px);
  min-height: 220px;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.38));
}

.splash-initial,
.splash-name {
  grid-area: 1 / 1;
  line-height: 0.9;
}

.splash-initial,
.splash-name {
  color: transparent;
  background-color: #123f2a;
  background-image:
    radial-gradient(circle at 9px 9px, #f8e27a 0 2px, transparent 2.4px),
    radial-gradient(circle at 28px 24px, #78f7c7 0 1.5px, transparent 2px),
    radial-gradient(circle at 45px 10px, #f8e27a 0 1.7px, transparent 2.2px),
    linear-gradient(90deg, transparent 0 12px, rgba(248, 226, 122, 0.95) 12px 15px, transparent 15px 100%),
    linear-gradient(0deg, transparent 0 19px, rgba(120, 247, 199, 0.9) 19px 22px, transparent 22px 100%),
    linear-gradient(135deg, transparent 0 33px, rgba(248, 226, 122, 0.82) 33px 36px, transparent 36px 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, #0a2f21 0%, #1e6b43 46%, #08351f 100%);
  background-size:
    54px 42px,
    54px 42px,
    54px 42px,
    54px 42px,
    54px 42px,
    78px 78px,
    12px 100%,
    100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: clamp(1px, 0.14vw, 2px) rgba(184, 255, 212, 0.75);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(248, 226, 122, 0.95),
    0 0 16px rgba(34, 197, 94, 0.45),
    0 0 34px rgba(34, 211, 238, 0.22);
  filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.42));
}

.splash-initial {
  font-size: clamp(5rem, 21vw, 12rem);
}

.splash-b {
  animation: b-spin-spread 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-r {
  animation: r-spin-spread 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-name {
  font-size: clamp(3.1rem, 12vw, 7.8rem);
  opacity: 0;
}

.splash-first {
  animation: first-name-reveal 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-last {
  animation: last-name-reveal 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-status {
  position: absolute;
  bottom: clamp(2rem, 7vw, 4rem);
  margin: 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: status-pulse 1.1s steps(2, jump-none) 3;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #1f2937, #020617);
  color: #f8fafc;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.card,
.projects-card {
  width: min(100%, 760px);
}

.card {
  max-width: 760px;
  padding: 3rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.05em;
}

.tagline {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

p {
  line-height: 1.7;
  color: #e2e8f0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.links a {
  color: #020617;
  background: #f8fafc;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.links a:hover {
  background: #facc15;
}

.projects-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: #facc15;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.project-tile {
  min-height: 160px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.project-tile h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.project-tile p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}


.hero {
  animation: content-boot 0.9s ease 4.05s both;
}

@keyframes b-spin-spread {
  0% { opacity: 0; transform: translateX(0) rotateY(0deg) rotateZ(-270deg) scale(0.28); }
  24% { opacity: 1; transform: translateX(-0.06em) rotateY(360deg) rotateZ(0deg) scale(1); }
  48% { transform: translateX(-0.28em) rotateY(540deg) scale(0.92); }
  72%, 100% { opacity: 0; transform: translateX(-1.85em) rotateY(720deg) scale(0.72); }
}

@keyframes r-spin-spread {
  0% { opacity: 0; transform: translateX(0) rotateY(0deg) rotateZ(270deg) scale(0.28); }
  24% { opacity: 1; transform: translateX(0.42em) rotateY(-360deg) rotateZ(0deg) scale(1); }
  48% { transform: translateX(0.68em) rotateY(-540deg) scale(0.92); }
  72%, 100% { opacity: 0; transform: translateX(1.85em) rotateY(-720deg) scale(0.72); }
}

@keyframes first-name-reveal {
  0%, 42% { opacity: 0; transform: translateX(-1.1em) scaleX(0.22); filter: blur(12px); letter-spacing: 0.26em; }
  72%, 100% { opacity: 1; transform: translateX(-1.12em) scaleX(1); filter: blur(0); letter-spacing: -0.08em; }
}

@keyframes last-name-reveal {
  0%, 42% { opacity: 0; transform: translateX(1.2em) scaleX(0.22); filter: blur(12px); letter-spacing: 0.26em; }
  72%, 100% { opacity: 1; transform: translateX(1.32em) scaleX(1); filter: blur(0); letter-spacing: -0.08em; }
}

@keyframes scan-ring {
  0% { opacity: 0; transform: rotate(0deg) scale(0.25); }
  28% { opacity: 1; }
  100% { opacity: 0.35; transform: rotate(250deg) scale(1.15); }
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 0 420px; }
}

@keyframes orb-spin {
  from { transform: rotate(0deg) scale(0.3); opacity: 0; }
  28% { opacity: 0.4; }
  to { transform: rotate(720deg) scale(1); opacity: 0.28; }
}

@keyframes status-pulse {
  50% { opacity: 0.35; }
}

@keyframes splash-exit {
  to { opacity: 0; visibility: hidden; transform: scale(1.04); }
}

@keyframes content-boot {
  from { opacity: 0; filter: blur(12px); transform: translateY(18px) scale(0.98); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .splash,
  .splash::before,
  .splash::after,
  .splash-grid,
  .splash-orb,
  .splash-b,
  .splash-r,
  .splash-first,
  .splash-last,
  .splash-status,
  .hero {
    animation-duration: 0.01ms;
    animation-delay: 0s;
    animation-iteration-count: 1;
  }

  .splash {
    visibility: hidden;
  }
}
