:root {
  --ink: #11120f;
  --paper: #f2f0e8;
  --acid: #dfff00;
  --orange: #ff5a36;
  --muted: #77786f;
  --line: rgba(17, 18, 15, 0.16);
  --font-sans: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.nav-wrap {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
}
.nav {
  height: 92px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: -1px;
}
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.nav-contact) { transition: opacity .2s; }
.nav-links > a:not(.nav-contact):hover { opacity: .55; }
.nav-contact {
  padding: 12px 17px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
}
.nav-contact span { margin-left: 12px; }
.menu-button { display: none; }

.hero {
  min-height: 790px;
  padding: 92px 48px 48px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 25% 100%, 100% 160px, auto;
  background-position: 0 0, 0 0, 0 0;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: #72a900;
  box-shadow: 0 0 0 5px rgba(114, 169, 0, .12);
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(70px, 7.3vw, 112px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 800;
}
.hero h1 .hero-line {
  display: block;
  width: fit-content;
  will-change: transform;
}
.hero h1 .hero-line-solid {
  animation: titleFloat 5.5s ease-in-out infinite;
}
.hero h1 .hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  animation: titleFloat 5.5s ease-in-out -2.75s infinite;
  position: relative;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(223, 255, 0, .9) 49%,
    transparent 60%
  );
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: titleFloat 5.5s ease-in-out -2.75s infinite, titleShimmer 5s linear infinite;
}
@keyframes titleFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(7px, -4px, 0); }
}
@keyframes titleShimmer {
  0% { background-position: 140% 0; }
  100% { background-position: -140% 0; }
}
.hero-lede {
  max-width: 610px;
  margin: 38px 0 34px;
  font-size: 18px;
  line-height: 1.65;
  color: #4b4c45;
}
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.button-primary {
  min-width: 190px;
  gap: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: transform .2s, background .2s;
}
.button-primary:hover { transform: translateY(-3px); background: #282a24; }
.button-text { gap: 10px; border-bottom: 1px solid var(--ink); height: 42px; }
.portrait-card { position: relative; }
.portrait-frame {
  height: 405px;
  overflow: hidden;
  background: #d8d6cc;
  border: 1px solid var(--ink);
  border-radius: 160px 160px 12px 12px;
}
.portrait-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.82) contrast(1.02);
}
.portrait-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.hero-stat {
  position: absolute;
  width: 145px;
  height: 145px;
  right: -28px;
  bottom: -15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  transform: rotate(7deg);
  text-align: center;
  box-shadow: 0 12px 30px rgba(17,18,15,.12);
}
.hero-aside { position: relative; }
.hero-stat strong { font-size: 40px; line-height: 1; letter-spacing: -.06em; }
.hero-stat span { margin-top: 7px; font-size: 10px; line-height: 1.35; text-transform: uppercase; }

.ticker { overflow: hidden; height: 76px; display: flex; align-items: center; background: var(--ink); color: var(--paper); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 24s linear infinite; }
.ticker span { margin: 0 30px; font-size: 14px; text-transform: uppercase; white-space: nowrap; }
.ticker i { color: var(--acid); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { max-width: 1280px; margin: 0 auto; padding: 120px 48px; }
.section-label {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.section-label span {
  height: 44px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.section-label p { margin: 0 0 0 18px; }
.about-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.about h2 {
  margin: 0;
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -.055em;
}
.typing-line {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  padding-right: .12em;
  padding-bottom: .08em;
}
.typing-line-accent {
  margin-top: .02em;
}
.typing-heading.typing-active .typing-line {
  animation: typeLine 1.25s steps(23, end) forwards;
}
.typing-heading.typing-active .typing-line-accent {
  animation-delay: 1.25s;
  animation-duration: 1.05s;
}
.typing-line-accent em {
  position: relative;
}
.typing-heading.typing-active .typing-line-accent em::after {
  content: "";
  position: absolute;
  right: -.08em;
  top: .08em;
  width: 2px;
  height: .78em;
  background: var(--ink);
  animation: typingCaret .65s step-end 2.3, hideCaret .01s linear 3.1s forwards;
}
@keyframes typeLine {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes typingCaret {
  50% { opacity: 0; }
}
@keyframes hideCaret {
  to { opacity: 0; }
}
.about h2 em, .contact h2 em { font-family: Georgia, serif; font-weight: 400; }
.about-copy { padding-top: 8px; }
.about-copy p { margin: 0 0 24px; max-width: 470px; color: #55564f; font-size: 17px; line-height: 1.7; }

.work { max-width: none; background: #e8e6dc; }
.work > .section-label, .project-list { max-width: 1184px; margin-left: auto; margin-right: auto; }
.project-featured {
  min-height: 480px;
  display: grid;
  grid-template-columns: 64px 38% 1fr;
  background: var(--orange);
  border: 1px solid var(--ink);
}
.project-index { border-right: 1px solid rgba(17,18,15,.35); padding-top: 26px; text-align: center; font-family: var(--font-mono); font-size: 11px; }
.project-body { padding: 36px 38px; display: flex; flex-direction: column; }
.project-type { margin: 0 0 30px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.project-body h3 { margin: 0 0 18px; font-size: 42px; line-height: 1; letter-spacing: -.055em; }
.project-body > p:not(.project-type) { max-width: 390px; color: rgba(17,18,15,.72); line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.tags span { padding: 7px 10px; border: 1px solid rgba(17,18,15,.45); border-radius: 999px; font-family: var(--font-mono); font-size: 9px; }
.project-visual { position: relative; overflow: hidden; margin: 18px; background: #d6cfb9; border: 1px solid rgba(17,18,15,.4); }
.gabi-visual { background: radial-gradient(circle at 72% 35%, #f4f1df 0 8%, transparent 8.5%), linear-gradient(145deg, #ece9d5, #aaa582); }
.orb { position: absolute; border: 1px solid rgba(17,18,15,.7); border-radius: 50%; }
.orb-one { width: 300px; height: 300px; right: 30px; top: 30px; }
.orb-two { width: 210px; height: 210px; right: 75px; top: 75px; }
.tour-path { position: absolute; width: 210px; height: 180px; left: 50%; top: 54%; border: 1px dashed rgba(17,18,15,.6); border-radius: 50%; transform: translate(-50%, -50%) rotate(-20deg); }
.tour-path span { position: absolute; width: 10px; height: 10px; background: var(--ink); border-radius: 50%; }
.tour-path span:nth-child(1) { left: 10%; top: 48%; }
.tour-path span:nth-child(2) { right: 18%; top: 5%; }
.tour-path span:nth-child(3) { right: 5%; bottom: 16%; }
.visual-word { position: absolute; left: 28px; bottom: 17px; font-size: 64px; font-weight: 800; letter-spacing: -.08em; opacity: .18; }
.project-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.project-featured.visible {
  animation: cardRise .85s cubic-bezier(.2,.75,.25,1) both;
}
.project-row .compact-card.visible:nth-child(1) {
  animation: cardRise .75s cubic-bezier(.2,.75,.25,1) .12s both;
}
.project-row .compact-card.visible:nth-child(2) {
  animation: cardRise .75s cubic-bezier(.2,.75,.25,1) .24s both;
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.compact-card { position: relative; min-height: 330px; display: grid; grid-template-columns: 64px 1fr; background: #f7f5ed; border: 1px solid var(--ink); }
.compact-card .project-body { padding-right: 90px; }
.compact-card .project-body h3 { font-size: 34px; }
.circle-link { position: absolute; right: 28px; top: 28px; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: .2s; }
.circle-link:hover { background: var(--acid); transform: rotate(45deg); }
.dark-card { background: var(--ink); color: var(--paper); }
.dark-card .project-index { border-right-color: rgba(242,240,232,.2); }
.dark-card .project-body > p:not(.project-type) { color: #aaa; }
.dark-card .tags span { border-color: rgba(242,240,232,.35); }
.cipher { position: absolute; right: 25px; bottom: 18px; color: var(--acid); font-size: 56px; font-weight: 800; letter-spacing: -.09em; transform: rotate(-8deg); opacity: .9; }

.timeline { border-top: 1px solid var(--ink); }
.timeline-item {
  min-height: 110px;
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.timeline-item time, .timeline-location { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.timeline-item h3 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.03em; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline-location { text-align: right; }
.timeline-more { width: 100%; height: 70px; display: flex; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 700; }
.timeline-more span { font-size: 24px; }
.earlier-experience { border-top: 0; }
.timeline-item.visible {
  animation: timelineIn .65s cubic-bezier(.2,.75,.25,1) both;
}
.timeline-item.visible:nth-of-type(2) { animation-delay: .08s; }
.timeline-item.visible:nth-of-type(3) { animation-delay: .16s; }
.timeline-item.visible:nth-of-type(4) { animation-delay: .24s; }
.timeline-item.visible:nth-of-type(5) { animation-delay: .32s; }
@keyframes timelineIn {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

.education { background: var(--paper); }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.education-card { min-height: 210px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.education-year { margin: 0 0 50px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.education-card h3 { margin: 0 0 8px; font-size: 20px; }
.education-card > p:last-child { margin: 0; color: var(--muted); line-height: 1.5; font-size: 13px; }
.education-card.visible {
  animation: cardLift .7s cubic-bezier(.2,.75,.25,1) both;
}
.education-card.visible:nth-child(2) { animation-delay: .1s; }
.education-card.visible:nth-child(3) { animation-delay: .2s; }
.education-card.visible:nth-child(4) { animation-delay: .3s; }
@keyframes cardLift {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.wide-card { grid-column: 1 / -1; min-height: 140px; }
.wide-card .education-year { margin-bottom: 24px; }
.cert-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }

.recognition { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--acid); }
.recognition-inner { max-width: 1184px; min-height: 180px; margin: 0 auto; padding: 38px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.recognition .project-type { margin: 0; }
.award-marquee { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.award-marquee span { font-size: clamp(15px, 1.5vw, 21px); font-weight: 800; }
.award-marquee i { font-style: normal; }
.recognition-inner.visible .award-marquee span {
  animation: recognitionPulse 3.8s ease-in-out infinite;
}
.recognition-inner.visible .award-marquee span:nth-of-type(2) { animation-delay: .9s; }
.recognition-inner.visible .award-marquee span:nth-of-type(3) { animation-delay: 1.8s; }
.recognition-inner.visible .award-marquee span:nth-of-type(4) { animation-delay: 2.7s; }
.recognition-inner.visible .award-marquee i {
  display: inline-block;
  animation: recognitionSpin 6s linear infinite;
}
@keyframes recognitionPulse {
  0%, 100% { opacity: .72; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}
@keyframes recognitionSpin {
  to { transform: rotate(360deg); }
}

.contact { min-height: 530px; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--paper); }
.contact-inner { padding: 70px 24px; }
.contact .eyebrow { color: var(--acid); }
.contact h2 { margin: 0 0 38px; font-size: clamp(52px, 7vw, 92px); line-height: .95; letter-spacing: -.065em; }
.contact-heading span,
.contact-heading em {
  display: block;
  opacity: 0;
  transform: translateY(24px);
}
.contact-inner.visible .contact-heading span {
  animation: contactReveal .85s cubic-bezier(.2,.75,.25,1) .12s forwards;
}
.contact-inner.visible .contact-heading em {
  animation: contactReveal .85s cubic-bezier(.2,.75,.25,1) .38s forwards;
  background: linear-gradient(105deg, var(--paper) 35%, var(--acid) 50%, var(--paper) 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: contactReveal .85s cubic-bezier(.2,.75,.25,1) .38s forwards, contactShimmer 4.5s linear 1.4s infinite;
}
@keyframes contactReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes contactShimmer {
  0% { background-position: 140% 0; }
  100% { background-position: -140% 0; }
}
.contact-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid rgba(242,240,232,.6); font-size: 18px; }
.contact-link span { color: var(--acid); }

footer {
  min-height: 120px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 12px;
}
.footer-links { display: flex; gap: 24px; }
footer > p { justify-self: end; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { height: 76px; padding: 0 24px; }
  .menu-button { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; }
  .menu-button span:not(.sr-only) { width: 16px; height: 1px; background: var(--ink); }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; width: 100%; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; padding: 132px 24px 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero h1 { font-size: clamp(58px, 15vw, 90px); }
  .hero-lede { max-width: 520px; }
  .hero-aside { max-width: 420px; width: 100%; margin: 0 auto; }
  .portrait-frame { height: 390px; }
  .section { padding: 90px 24px; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .project-featured { grid-template-columns: 48px 1fr; }
  .project-featured .project-visual { grid-column: 1 / -1; height: 380px; }
  .project-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 110px 1fr; padding: 20px 0; }
  .timeline-location { display: none; }
  .education-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .award-marquee { flex-wrap: wrap; justify-content: flex-start; }
  footer { grid-template-columns: 1fr auto; padding: 30px 24px; }
  footer > p { display: none; }
  .footer-links { flex-direction: column; text-align: right; gap: 8px; }
}

@media (max-width: 560px) {
  .brand > span:last-child { display: none; }
  .nav-links.open { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 54px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-aside { max-width: 320px; }
  .portrait-frame { height: 330px; }
  .hero-stat { width: 120px; height: 120px; right: -8px; }
  .ticker { height: 64px; }
  .section-label { margin-bottom: 45px; }
  .about h2 { font-size: 43px; }
  .project-featured { grid-template-columns: 42px 1fr; }
  .project-featured .project-body { padding: 28px 20px; }
  .project-body h3 { font-size: 34px; }
  .project-featured .project-visual { height: 300px; margin: 8px; }
  .visual-word { font-size: 48px; }
  .compact-card { grid-template-columns: 42px 1fr; }
  .compact-card .project-body { padding: 28px 20px 70px; }
  .compact-card .project-body h3 { font-size: 28px; }
  .timeline-item { grid-template-columns: 82px 1fr; }
  .timeline-item h3 { font-size: 18px; }
  .recognition-inner { min-height: 230px; padding: 30px 24px; }
  .award-marquee { display: grid; grid-template-columns: 1fr auto; }
  .award-marquee i { display: none; }
  .contact h2 { font-size: 48px; }
  .contact-link { font-size: 14px; }
  footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .hero h1 .hero-line { animation: none; }
  .typing-line { clip-path: none; }
  .typing-line-accent em::after { display: none; }
  .project-featured,
  .compact-card,
  .timeline-item,
  .education-card,
  .recognition-inner .award-marquee span,
  .recognition-inner .award-marquee i,
  .contact-heading span,
  .contact-heading em { animation: none !important; }
  .contact-heading span,
  .contact-heading em { opacity: 1; transform: none; -webkit-text-fill-color: initial; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
