/* root de cores */
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-soft: #111114;
  --panel: #151518;
  --panel-raised: #1b1b20;
  --text: #f5f4f2;
  --muted: #a6a3a4;
  --subtle: #737074;
  --purple: #641663;
  --purple-deep: rgb(84, 19, 83);
  --purple-bold: #9f2d9f;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .24);
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
  --shell: 1320px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 75% 5%, rgba(245, 43, 72, .075), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: white;
  background: var(--purple);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 14px;
  background: var(--purple);
  color: white;
  transform: translateY(-160%);
  transition: transform .2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--shell), calc(100% - 112px));
  margin-inline: auto;
}

.section-block {
  padding-block: 128px;
}

.mono-label {
  font: 10px/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--purple);
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: var(--purple);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, .84);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--shell), calc(100% - 112px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  font: 800 23px/1 var(--display);
  letter-spacing: -.09em;
}

.brand span,
.footer-brand span {
  color: var(--purple);
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  color: #d7d4d4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--purple);
}

.menu .nav-contact {
  color: var(--text);
}

.menu .nav-contact span {
  color: var(--purple);
  margin-left: 5px;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  min-height: min(820px, calc(100svh - 78px));
  padding-top: 32px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-meta,
.hero-bottomline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero-meta {
  color: var(--subtle);
}

.hero-meta .mono-label i,
.hero-bottomline .mono-label i {
  color: var(--purple);
  font-style: normal;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #bdb9ba;
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px rgba(191, 87, 191, .8);
}

.hero-layout {
  display: flex;
  justify-content: center;
  grid-template-columns: minmax(0, 2px) minmax(200px, .82fr);
  gap: clamp(35px, 7vw, 110px);
  align-items: center;
  padding: 68px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  margin-bottom: 25px;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font: 700 clamp(58px, 8.3vw, 116px)/.88 var(--display);
  letter-spacing: -.095em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--purple);
}

.hero-description {
  max-width: 570px;
  margin: 30px 0 31px;
  color: #b9b5b6;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s;
}

.button-primary {
  min-width: 205px;
  background: var(--purple);
  border: 1px solid var(--purple);
  color: white;
}

.button-primary:hover {
  transform: translateY(-4px);
  background: transparent;
  color: var(--purple);
}

.button-primary i {
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d8d5d5;
  font-size: 11px;
  font-weight: 800;
  transition: color .2s;
}

.text-link span {
  color: var(--purple);
  font-size: 18px;
  transition: transform .2s;
}

.text-link:hover {
  color: white;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  color: var(--subtle);
}

.hero-social .mono-label {
  margin-right: 5px;
  font-size: 9px;
}

.hero-social a {
  color: #bcb8b9;
  font-size: 15px;
  transition: color .2s, transform .2s;
}

.hero-social a:hover {
  color: var(--purple);
  transform: translateY(-3px);
}

.hero-side {
  position: relative;
  min-height: 410px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 50%),
    linear-gradient(35deg, rgba(245, 43, 72, .06), transparent 55%),
    #111114;

}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .06);
}

.hero-index,
.hero-side-footer {
  display: flex;
  justify-content: space-between;
  color: var(--subtle);
}

.hero-index span {
  color: var(--purple);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.orbit-one {
  width: 330px;
  height: 330px;
  right: -70px;
  top: 65px;
}

.orbit-two {
  width: 230px;
  height: 230px;
  right: -20px;
  top: 115px;
  border-color: #340a34;
}

.hero-side-content {
  align-self: flex-start;
  max-width: 330px;
  margin-top: 40px;
}

.side-kicker {
  color: var(--purple);
}

.hero-side-content strong {
  display: block;
  margin-top: 22px;
  font: 700 clamp(34px, 4vw, 55px)/.98 var(--display);
  letter-spacing: -.07em;
}

.hero-side-content strong em {
  color: var(--purple);
  font-style: normal;
}

.hero-side-content p {
  max-width: 255px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.hero-side-footer {
  font-size: 8px;
}

.hero-purple-mark {
  position: absolute;
  right: 24px;
  bottom: 65px;
  width: 9px;
  height: 70px;
  background: var(--purple);
}

.hero-bottomline {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
}

.hero-bottomline a {
  color: #c8c4c5;
  transition: color .2s;
}

.hero-bottomline a span {
  color: var(--purple);
  margin-left: 9px;
}

.hero-bottomline a:hover {
  color: var(--purple);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 25px;
}

.heading-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-note {
  color: var(--subtle);
  font-size: 9px;
}

.intro {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
  padding: 85px 0 80px;
}

.section-title-wrap {
  position: relative;
}

.oversized-number {
  position: absolute;
  top: -80px;
  left: -4px;
  color: rgba(255, 255, 255, .045);
  font: 800 190px/.9 var(--display);
  letter-spacing: -.1em;
  pointer-events: none;
}

.intro h2,
.journey h2 {
  position: relative;
  margin: 0;
  font: 700 clamp(43px, 6vw, 78px)/.94 var(--display);
  letter-spacing: -.085em;
}

.intro h2 span,
.journey h2 span {
  color: var(--purple);
}

.intro-copy {
  max-width: 570px;
}

.intro-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.intro-copy .lead {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.inline-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.inline-link span {
  color: var(--purple);
  font-size: 17px;
  transition: transform .2s;
}

.inline-link:hover span {
  transform: translate(3px, -3px);
}

.skill-strip {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}


.skill-strip>.mono-label {
  display: block;
  margin-bottom: 19px;
  color: var(--subtle);
  font-size: 9px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-tags span,
.tech-list span {
  border: 1px solid var(--line-strong);
  color: #d2cecf;
  font: 9px var(--mono);
  letter-spacing: .08em;
  padding: 9px 12px;
}

/* Projects */
.projects {
  border-top: 1px solid var(--line);
}

.projects-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 65px 0 38px;
}

.projects-title-row h2 {
  margin: 0;
  font: 700 clamp(60px, 9vw, 112px)/.85 var(--display);
  letter-spacing: -.1em;
}

.projects-title-row h2 span {
  color: var(--purple);
}

.projects-title-row p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 24px;
}

.project-card {
  position: relative;
  min-width: 0;
  padding-bottom: 10px;
}

.project-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 0 36px;
  align-items: center;
}

.project-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  isolation: isolate;
  background: #19191d;
  border: 1px solid var(--line);
}

.project-featured .project-visual {
  min-height: 390px;
}

.visual-flix {
  background: #151015;
}

.visual-cook {
  background: radial-gradient(circle at 65% 40%, #f52b9338, transparent 35%), #17171a;
}

.visual-saae {
  background: #17181a;
}

.project-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transition: transform .7s var(--ease), opacity .4s;
}

.visual-saae .project-screenshot {
  object-position: top center;
}

.project-card:hover .project-screenshot {
  transform: scale(1.045);
  opacity: .85;
}

.visual-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, .55), transparent 38%, rgba(10, 10, 12, .75));
}

.visual-top {
  position: absolute;
  z-index: 1;
  top: 19px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #e5e1e2;
  font-size: 8px;
}

.gallery-trigger {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(10, 10, 12, .68);
  color: white;
  font: 9px var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s, border .2s;
}

.gallery-trigger span {
  color: var(--purple);
  font-size: 15px;
}

.gallery-trigger:hover {
  background: var(--purple);
  border-color: var(--purple);
}

.gallery-trigger:hover span {
  color: white;
}

.visual-caption {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 25px;
  color: #d5d0d1;
  font-size: 8px;
}

.visual-caption i {
  color: var(--purple);
  font-style: normal;
}

.project-featured .visual-caption {
  bottom: 27px;
}

.project-meta {
  position: relative;
  padding: 22px 0 0;
}

.project-featured .project-meta {
  padding: 28px 0;
}

.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-number {
  color: var(--subtle);
  font-size: 9px;
}

.project-status {
  color: var(--purple);
  font: 8px var(--mono);
  letter-spacing: .1em;
}

.project-meta h3 {
  margin: 13px 0 8px;
  font: 700 27px/1.1 var(--display);
  letter-spacing: -.05em;
}

.project-meta p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}

.tech-list span {
  padding: 6px 8px;
  color: var(--subtle);
  font-size: 8px;
}

.project-link {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  font-size: 19px;
  transition: background .2s, border .2s;
}

.project-featured .project-link {
  right: 0;
  bottom: 30px;
}

.project-link:hover {
  border-color: var(--purple);
  background: var(--purple);
}

.cook-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f2eeee;
}

.cook-symbol {
  font: 800 115px/.8 var(--display);
  letter-spacing: -.12em;
}

.cook-symbol span {
  color: var(--purple);
}

.cook-word {
  margin-top: 15px;
  text-align: center;
  font: 10px var(--mono);
  letter-spacing: .2em;
}

.cook-word b {
  display: block;
  margin-top: 12px;
  color: var(--purple);
  font: 700 18px var(--display);
  letter-spacing: .04em;
}

.cook-art>i {
  position: absolute;
  right: 13%;
  top: 22%;
  color: rgba(87,9,87, .55);
  font-size: 30px;
  transform: rotate(-22deg);
}

.projects-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 38px 0 0;
  color: var(--subtle);
  font-size: 8px;
}

.projects-footnote span {
  width: 7px;
  height: 7px;
  background: var(--purple);
  border-radius: 50%;
}

/* Timeline */
.journey-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 8%;
  align-items: end;
  padding: 80px 0 70px;
}

.journey-label {
  display: block;
  margin-bottom: 24px;
  color: var(--purple);
}

.journey h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.journey-description {
  max-width: 350px;
  margin: 23px 0 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.journey-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.journey-controls>span {
  color: var(--subtle);
  font-size: 8px;
}

.journey-controls div {
  display: flex;
  gap: 7px;
}

.journey-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: background .2s, border .2s;
}

.journey-controls button:hover {
  background: var(--purple);
  border-color: var(--purple);
}

.timeline {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 13px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--panel);
  scroll-snap-type: x mandatory;
}

.timeline-item {
  position: relative;
  min-height: 240px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 65%), var(--bg-soft);
  scroll-snap-align: start;
}

.timeline-year {
  color: var(--purple);
  font-size: 9px;
}

.timeline-mark {
  display: block;
  margin: 28px 0 15px;
  color: rgba(255, 255, 255, .18);
  font: 700 39px/.9 var(--display);
  letter-spacing: -.08em;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font: 700 16px/1.25 var(--display);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.education-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.education-footer>span {
  color: var(--subtle);

  font-size: 9px;
}

.education-footer p {
  margin: 0;
  color: #d5d1d2;
  font-size: 12px;
}

  .education-footer b {
    color: var(--purple);
    font-weight: 500;
  }

  /* Contact */
  .contact {
    border-top: 1px solid var(--line);
    padding-bottom: 28px;
  }

  .contact-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .contact-top>span {
    color: var(--subtle);
    font-size: 9px;
  }

  .contact-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding: 65px 0 50px;
  }

  .contact-heading h2 {
    margin: 0;
    font: 700 clamp(56px, 9.5vw, 124px)/.86 var(--display);
    letter-spacing: -.1em;
  }

  .contact-heading h2 span {
    color: var(--purple);
  }

  .contact-stamp {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: #d4d0d1;
    font: 9px/1.45 var(--mono);
    letter-spacing: .08em;
    transform: rotate(9deg);
  }

  .contact-stamp span {
    color: var(--purple);
    font-size: 18px;
  }

  .contact-bottom {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 8%;
    padding: 30px 0 70px;
    border-top: 1px solid var(--line);
  }

  .contact-bottom>p {
    max-width: 270px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .contact-links a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 30px 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-links a>span {
    color: var(--subtle);
    font-size: 8px;
  }

  .contact-links strong {
    font: 600 13px var(--display);
  }

  .contact-links i {
    position: absolute;
    top: 26px;
    right: 2px;
    color: var(--purple);
    font-style: normal;
    transition: transform .2s;
  }

  .contact-links a:hover i {
    transform: translate(4px, -4px);
  }

  .site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 25px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
    color: var(--subtle);
  }

  .footer-brand {
    color: var(--text);
    font-size: 19px;
  }

  .site-footer>span {
    font-size: 8px;
  }

  .site-footer>a:not(.footer-brand) {
    font-size: 8px;
    transition: color .2s;
  }

  .site-footer>a:hover {
    color: var(--purple);
  }

  /* Chibi assistant */
  .srlit-mascot {
    position: fixed;
    z-index: 1100;
    right: clamp(18px, 3vw, 42px);
    bottom: 15px;
    width: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .srlit-mascot-button {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 142px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .srlit-mascot-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, .28));
    transform-origin: 50% 90%;
    transition: transform .3s var(--ease), filter .3s;
  }

  .srlit-mascot:hover .srlit-mascot-button img,
  .srlit-mascot-button:focus-visible img {
    transform: translateY(-7px) rotate(-2deg);
    filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, .3));
  }

  .srlit-mascot-hint {
    position: absolute;
    right: 8px;
    bottom: calc(100% + 13px);
    width: 265px;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #f3f1ef;
    color: #171518;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
    box-shadow: 0 14px 45px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(9px);
    transition: opacity .25s, transform .25s, visibility .25s;
    pointer-events: none;
  }

  .srlit-mascot-hint::after {
    content: "";
    position: absolute;
    right: 31px;
    bottom: -8px;
    width: 14px;
    height: 14px;
    background: #f3f1ef;
    border-right: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    transform: rotate(45deg);
  }

  .srlit-mascot:hover .srlit-mascot-hint,
  .srlit-mascot:focus-within .srlit-mascot-hint,
  .srlit-mascot.is-talking .srlit-mascot-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hint-cta {
    display: block;
    margin-top: 9px;
    color: var(--purple-deep);
    font: 9px var(--mono);
    letter-spacing: .09em;
  }

  .mascot-caption {
    display: flex;
    gap: 6px;
    margin-top: -2px;
    color: #a9a5a6;
    font-size: 7px;
  }

  .mascot-caption i {
    color: var(--purple-bold);
    font-style: normal;
  }

  /* Chat panel */
  .chibi-chat {
    position: fixed;
    z-index: 1200;
    right: 30px;
    bottom: 28px;
    width: min(390px, calc(100vw - 28px));
    height: min(590px, calc(100svh - 56px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #111114;
    box-shadow: 0 25px 90px rgba(0, 0, 0, .65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .25s, transform .25s, visibility .25s;
  }

  .chibi-chat.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .chibi-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #17171b;
  }

  .chibi-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .chibi-chat-profile img {
    width: 43px;
    height: 43px;
    object-fit: contain;
    background: #252327;
    border-radius: 50%;
  }

  .chibi-chat-profile strong {
    display: block;
    font: 700 14px var(--display);
  }

  .chibi-chat-profile span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 10px;
  }

  .chibi-chat-profile span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64c58b;
  }

  .chibi-chat-header>button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    background: transparent;
    color: white;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }

  .chibi-chat-header>button:hover {
    background: var(--purple);
    border-color: var(--purple);
  }

  .chibi-chat-intro {
    padding: 17px 18px 8px;
  }

  .chibi-chat-intro>span {
    color: var(--purple);
    font-size: 8px;
  }

  .chibi-chat-intro p {
    margin: 8px 0;
    color: #d7d3d4;
    font-size: 11px;
    line-height: 1.7;
  }

  .chibi-chat-messages {
    flex: 1;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 12px 18px 18px;
    scrollbar-color: var(--purple) #1b1b1e;
  }

  .chat-message {
    max-width: 88%;
    padding: 11px 13px;
    font-size: 11px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .chat-message.bot {
    align-self: flex-start;
    border: 1px solid var(--line);
    background: #1b1b20;
    color: #e8e5e5;
  }

  .chat-message.user {
    align-self: flex-end;
    background: var(--purple);
    color: white;
  }

  .chat-message.error {
    border-color: rgba(245, 43, 72, .45);
  }

  .chat-typing {
    color: var(--subtle);
    font: 9px var(--mono);
  }

  .chibi-chat-limit {
    padding: 9px 18px;
    border-top: 1px solid var(--line);
    color: var(--subtle);
    font: 8px var(--mono);
  }

  .chibi-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
  }

  .chibi-chat-form input {
    flex: 1;
    min-width: 0;
    height: 43px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    outline: none;
    background: #0b0b0d;
    color: white;
    font: 11px var(--body);
  }

  .chibi-chat-form input:focus {
    border-color: var(--purple);
  }

  .chibi-chat-form button {
    width: 44px;
    height: 43px;
    border: 1px solid var(--purple);
    background: var(--purple);
    color: white;
    font-size: 20px;
    cursor: pointer;
  }

  .chibi-chat-form button:disabled {
    opacity: .45;
    cursor: wait;
  }

  .chat-disclaimer {
    margin: 0;
    padding: 0 13px 12px;
    color: var(--subtle);
    font-size: 7px;
    text-align: center;
  }

  /* Gallery modal */
  .gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;

  }

  .gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
  }

  .gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(10px);
  }

  .gallery-panel {
    position: relative;
    width: min(900px, 100%);
    max-height: calc(100svh - 48px);
    overflow-y: auto;
    padding: clamp(20px, 4vw, 38px);
    border: 1px solid var(--line-strong);
    background: #111114;
    transform: translateY(15px);
    transition: transform .25s;
  }

  .gallery-modal.is-open .gallery-panel {
    transform: translateY(0);
  }

  .gallery-close {
    position: absolute;
    top: 17px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: transparent;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

  .gallery-close:hover {
    background: var(--purple);
    border-color: var(--purple);
  }

  .gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 50px;
  }

  .gallery-heading .eyebrow {
    color: var(--purple);
  }


  .gallery-counter {
    color: var(--subtle);
  }

  .gallery-panel h2 {
    margin: 22px 0 7px;
    font: 700 clamp(32px, 5vw, 52px)/1 var(--display);
    letter-spacing: -.07em;
  }

  .gallery-panel h2 span {
    color: var(--purple);
  }

  .gallery-description {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
  }

  .gallery-stage {
    position: relative;
    min-height: 250px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #080809;
    border: 1px solid var(--line);
  }

  .gallery-stage img {
    width: 100%;
    max-height: 490px;
    object-fit: contain;
  }

  .gallery-stage.gallery-empty {
    padding: 45px 25px;
  }

  .gallery-empty-message {
    max-width: 430px;
    text-align: center;

  }

  .gallery-empty-message span {
    color: var(--purple);
    font: 9px var(--mono);
    letter-spacing: .15em;

  }

  .gallery-empty-message strong {
    display: block;
    margin: 12px 0;
    font: 700 23px var(--display);
  }

  .gallery-empty-message p {
    color: var(--muted);
    font-size: 12px;
  }

  .gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .65);
    color: white;
    font-size: 20px;
    cursor: pointer;
  }

  .gallery-arrow:hover {
    background: var(--purple);
    border-color: var(--purple);
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
  }

  .gallery-dots {
    display: flex;
    gap: 7px;
  }

  .gallery-dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    background: #484449;
    cursor: pointer;
  }

  .gallery-dot.is-active {
    background: var(--purple);
  }

  .gallery-github {
    color: white;
    font: 9px var(-mono);
    letter-spacing: .1em;
  }

  .gallery-github:hover {
    color: var(--purple);
  }

  .gallery-hint {
    margin: 16px 0 0;
    color: var(--subtle);
    font-size: 8px;
  }

  /* Reveal */
  .js-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }

  .js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive */
  @media (max-width: 1000px) {

    .section-shell,
    .nav-wrap {
      width: min(100% - 64px, var(--shell));
    }

    .hero-layout {
      grid-template-columns: 1fr .78fr;
      gap: 35px;
    }

    .hero h1 {
      font-size: clamp(55px, 8vw, 88px);
    }

    .hero-side {
      min-height: 360px;
    }

    .project-featured {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .project-featured .project-visual {
      min-height: 340px;
    }

    .project-featured .project-meta {
      padding-bottom: 55px;
    }

    .project-featured .project-link {
      bottom: 15px;
    }

    .journey-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

  @media (max-width: 720px) {
    html {
      scroll-padding-top: 72px;
    }

    .section-shell,
    .nav-wrap {
      width: calc(100% - 40px);
    }

    .nav-wrap {
      height: 68px;
    }

    .brand {
      font-size: 21px;
    }

    .menu-toggle {
      display: flex;
      width: 42px;
      height: 42px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: 1px solid var(--line-strong);
      background: transparent;
      cursor: pointer;
    }

    .menu-toggle span {
      width: 17px;
      height: 1px;
      background: white;
      transition: transform .2s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
      transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
      transform: translateY(-3.5px) rotate(-45deg);
    }

    .menu {
      position: absolute;
      top: 68px;
      left: 0;
      right: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 8px 20px 18px;
      border-bottom: 1px solid var(--line);
      background: rgba(11, 11, 13, .97);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity .2s, transform .2s, visibility .2s;
    }

    .menu.is-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }


    .menu li a {
      display: block;
      padding: 13px 0;
      border-bottom: 1px solid var(--line);
    }

    .hero {
      min-height: auto;
      padding-top: 25px;
      padding-bottom: 22px;
    }

    .hero-meta {
      align-items: flex-start;
      font-size: 8px;
    }

    .hero-meta .mono-label {
      font-size: 8px;
    }

    .availability {
      max-width: 145px;
      gap: 7px;
      text-align: right;
      font-size: 8px;
    }

    .hero-layout {
      grid-template-columns: 1fr;
      gap: 38px;
      padding: 68px 0 55px;
    }

    .hero-copy .eyebrow {
      max-width: 300px;
      font-size: 8px;
      line-height: 1.8;
    }

    .hero h1 {
      font-size: clamp(54px, 13.5vw, 88px);
    }

    .hero-description {
      max-width: 490px;
      margin: 23px 0 25px;
      font-size: 13px;
    }

    .hero-actions {
      gap: 18px;
    }

    .button {
      min-height: 50px;
    }

    .hero-social {
      margin-top: 39px;
    }

    .hero-side {
      min-height: 270px;
      padding: 20px;
    }

    .hero-side-content {
      margin-top: 26px;
    }

    .hero-side-content strong {
      font-size: 39px;
    }

    .orbit-one {
      width: 260px;
      height: 260px;
      top: 40px;
      right: -65px;
    }

    .orbit-two {
      width: 180px;
      height: 180px;
      top: 80px;
      right: -25px;
    }

    .hero-bottomline {
      align-items: flex-start;
    }

    .hero-bottomline .mono-label {
      font-size: 7px;
    }

    .section-block {
      padding-block: 85px;
    }

    .section-heading {
      gap: 12px;
    }

    .section-heading .eyebrow {
      font-size: 8px;
      white-space: nowrap;
    }

    .section-note {
      font-size: 7px;
      text-align: right;
    }

    .intro-grid {
      grid-template-columns: 1fr;
      gap: 34px;
      padding: 65px 0 55px;
    }

    .oversized-number {
      top: -42px;
      font-size: 130px;
    }

    .intro h2,
    .journey h2 {
      font-size: clamp(44px, 11vw, 68px);
    }

    .intro-copy .lead {
      font-size: 15px;
    }

    .intro-copy p {
      font-size: 12px;
    }

    .skill-strip>.mono-label {
      font-size: 8px;
    }

    .skill-tags span {
      font-size: 7px;
      padding: 8px;
    }

    .projects-title-row {
      align-items: flex-start;
      flex-direction: column;
      gap: 17px;
      margin: 50px 0 28px;
    }

    .projects-title-row h2 {
      font-size: clamp(58px, 14vw, 88px);
    }

    .projects-title-row p {
      font-size: 11px;
    }

    .project-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .project-featured {
      grid-column: auto;
    }

    .project-visual,
    .project-featured .project-visual {
      min-height: 260px;
    }

    .project-meta h3 {
      font-size: 24px;
    }

    .project-meta p {
      max-width: calc(100% - 45px);
    }

    .project-featured .project-meta {
      padding: 20px 0 55px;
    }

    .project-featured .project-link {
      bottom: 12px;
    }

    .projects-footnote {
      font-size: 7px;
      line-height: 1.7;
    }

    .journey-grid {
      padding: 60px 0 45px;
      gap: 32px;
    }

    .journey-description {
      font-size: 12px;
    }

    .timeline {
      grid-auto-columns: minmax(205px, 78vw);
    }

    .education-footer {
      flex-direction: column;
      gap: 12px;
    }

    .education-footer p {
      font-size: 11px;
      line-height: 2;
    }

    .contact-top {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
    }

    .contact-heading {
      padding: 48px 0 35px;
    }

    .contact-heading h2 {
      font-size: clamp(49px, 12vw, 82px);
    }

    .contact-stamp {
      width: 76px;
      height: 76px;
      flex-basis: 76px;
      font-size: 7px;
    }

    .contact-bottom {
      grid-template-columns: 1fr;
      gap: 25px;
      padding: 25px 0 48px;
    }

    .contact-links {
      gap: 0 15px;
    }

    .contact-links strong {
      font-size: 11px;
      overflow-wrap: anywhere;
    }

    .site-footer {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .site-footer>span:nth-child(2) {
      text-align: right;
    }

    .site-footer>a:nth-child(3) {
      grid-column: 1;
    }

    .site-footer>span:last-child {
      text-align: right;
    }

    .srlit-mascot {
      right: 9px;
      bottom: 7px;
      width: 83px;
    }

    .srlit-mascot-button {
      width: 83px;
      height: 108px;
    }

    .mascot-caption {
      font-size: 6px;
    }

    .srlit-mascot-hint {
      right: 5px;
      width: min(245px, calc(100vw - 35px));
      font-size: 11px;
    }

    .chibi-chat {
      right: 10px;
      bottom: 10px;
      width: calc(100vw - 20px);
      height: min(570px, calc(100svh - 20px));
    }

    .gallery-modal {
      padding: 10px;
    }

    .gallery-panel {
      max-height: calc(100svh - 20px);
      padding: 20px 15px;
    }

    .gallery-stage {
      min-height: 190px;
    }

    .gallery-stage img {
      max-height: 55svh;
    }

    .gallery-footer {
      align-items: flex-start;
      flex-direction: column;
    }
  }

  @media (max-width: 390px) {

    .section-shell,
    .nav-wrap {
      width: calc(100% - 30px);
    }

    .hero h1 {
      font-size: 51px;
    }

    .hero-meta {
      flex-direction: column;
      gap: 8px;
    }

    .availability {
      text-align: left;
    }

    .hero-actions {
      align-items: flex-start;
      flex-direction: column;
    }

    .contact-links {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }

  body.gallery-is-open {
    overflow: hidden;
  }

  .tools-showcase {
    display: block;
    width: 100%;
    padding-top: 26px;
    overflow: hidden;
  }

  .tools-showcase-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
  }

  .tools-showcase-heading .mono-label,
  .tools-showcase-heading .eyebrow {
    color: var(--subtle);
    font: 9px/1.5 var(--mono);
    letter-spacing: .15em;
    text-transform: uppercase;
  }

  .tools-showcase-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
  }

  .tools-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
  }

  .tools-controls button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    font-size: 19px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
  }

  .tools-controls button:hover,
  .tools-controls button:focus-visible {
    border-color: var(--purple);
    background: var(--purple);
    color: #fff;
    transform: translateY(-2px);
    outline: none;
  }

  .tools-carousel {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    outline: none;
  }

  .tools-carousel::-webkit-scrollbar {
    display: none;
  }

  .tools-carousel:focus-visible {
    outline: 1px solid var(--purple);
    outline-offset: 4px;
  }

  .tools-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(138px, 15vw, 178px);
    gap: 12px;
    width: max-content;
    padding: 2px 1px 9px;
  }

  .tool-card {
    position: relative;
    display: flex;
    min-height: 148px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 17px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 72%), var(--bg-soft);
    scroll-snap-align: start;
    transition: border-color .25s, background .25s, transform .25s;
  }

  .tool-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--purple);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
  }

  .tool-card:hover {
    border-color: rgba(87,9,87 .7);
    background: linear-gradient(145deg, rgba(84, 19, 83, 0.09), transparent 75%), var(--bg-soft);
    transform: translateY(-4px);
  }

  .tool-card:hover::after {
    transform: scaleX(1);
  }

  .tool-card img,
  .tool-logo-fallback {
    display: block;
    width: 37px;
    height: 37px;
    object-fit: contain;
  }

  .tool-card img {
    filter: grayscale(1) brightness(1.65);
    opacity: .9;
    transition: filter .25s, opacity .25s;
  }

  .tool-card:hover img {
    filter: none;
    opacity: 1;
  }

  .tool-card>span:not(.tool-logo-fallback) {
    margin-top: 13px;
    color: var(--text);
    font: 700 14px/1.2 var(--display);
  }

  .tool-card small {
    margin-top: 5px;
    color: var(--subtle);
    font: 8px/1.4 var(--mono);
    letter-spacing: .12em;
  }

  .tool-logo-fallback {
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--purple);
    font: 800 13px var(--display);
    letter-spacing: -.05em;
  }

  .tools-progress {
    height: 3px;
    margin-top: 11px;
    overflow: hidden;
    background: var(--panel-raised);
  }

  .tools-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--purple);
    transition: width .15s linear;
  }

  @media (max-width: 600px) {
    .tools-showcase-heading {
      align-items: flex-start;
    }

    .tools-showcase-heading p {
      max-width: 230px;
      line-height: 1.7;
    }

    .tools-controls button {
      width: 34px;
      height: 34px;
    }

    .tools-track {
      grid-auto-columns: 132px;
      gap: 9px;
    }

    .tool-card {
      min-height: 132px;
      padding: 14px;
    }

    .tool-card img,
    .tool-logo-fallback {
      width: 32px;
      height: 32px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .tools-carousel {
      scroll-behavior: auto;
    }

    .tool-card,
    .tool-card::after,
    .tool-card img,
    .tools-progress span {
      transition: none;
    }
  }
