:root {
  --ink: #1b1633;
  --paper: #f7f1f5;
  --acid: #f26aa3;
  --violet: #665a96;
  --muted: #6e5872;
  --line: rgba(27, 22, 51, 0.2);
  --strong: #1b1633;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
.theme-toggle { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 13px; font: 700 11px Manrope, sans-serif; cursor: pointer; }
html[data-theme="dark"] { color-scheme: dark; --ink: #f7f1f5; --paper: #110b24; --acid: #ff5c9b; --violet: #8d82c4; --muted: #bba9c2; --line: rgba(247, 241, 245, 0.2); --strong: #182348; }
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .button,
html[data-theme="dark"] .project-visual,
html[data-theme="dark"] .about-aside,
html[data-theme="dark"] .contact-section { background-color: #182348; }
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  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");
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  position: absolute;
  z-index: 10;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--strong);
  color: var(--acid);
  height: 34px;
  width: 34px;
  font: 500 12px DM Mono;
  border-radius: 50%;
}
nav {
  display: flex;
  gap: 9px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  box-shadow: 0 10px 30px rgba(17, 11, 36, 0.08);
  backdrop-filter: blur(14px);
}
nav a,
footer a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
nav a {
  position: relative;
  isolation: isolate;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}
nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--acid), var(--violet));
  opacity: 0;
  transform: scale(0.82);
  border-radius: inherit;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}
nav a:hover {
  color: #1b1633;
  border-color: color-mix(in srgb, var(--acid) 70%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 20, 90, 0.22);
}
nav a:hover::before,
nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
nav a:focus-visible {
  color: #1b1633;
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
nav a:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 8px rgba(212, 20, 90, 0.18);
  transition-duration: 70ms;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--strong);
  color: white;
  text-decoration: none;
  border: 0;
  padding: 17px 21px;
  font: 700 13px Manrope;
  cursor: pointer;
  transition: 0.25s;
}
.button:hover {
  background: var(--violet);
  transform: translateY(-2px);
}
.button-small {
  padding: 12px 16px;
  gap: 22px;
}
.section-pad {
  padding-left: 7vw;
  padding-right: 7vw;
}
.hero {
  min-height: 810px;
  height: 100vh;
  max-height: 1000px;
  padding-top: 155px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  overflow: hidden;
}
.eyebrow,
.kicker {
  font: 500 11px DM Mono;
  letter-spacing: 0.12em;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77bb4d;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(119, 187, 77, 0.15);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(58px, 6.8vw, 110px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  margin: 36px 0 32px;
  font-weight: 700;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.outlined {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.hero-intro {
  font-size: 17px;
  line-height: 1.7;
  max-width: 570px;
  color: #55564f;
}
.hero-actions {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 38px;
}
.text-link {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.text-link span {
  margin-left: 20px;
}
.hero-visual {
  height: 560px;
  position: relative;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 50%;
  inset: 10%;
  transform: rotate(-15deg);
}
.orbit-two {
  inset: 22% -5%;
  transform: rotate(26deg);
}
.code-card {
  position: absolute;
  width: 390px;
  background: #191919;
  color: #e9e8e2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}
.frontend-card {
  right: 9%;
  top: 5%;
  transform: rotate(2deg);
}
.backend-card {
  left: 1%;
  bottom: 4%;
  transform: rotate(-3deg);
}
.card-top {
  height: 41px;
  background: #292929;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font: 10px DM Mono;
  color: #9b9b9b;
}
.file {
  display: flex;
  align-items: center;
  gap: 8px;
}
.file i {
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
}
.code-card pre {
  margin: 0;
  padding: 27px 30px 39px;
  font: 12px/1.85 DM Mono;
}
.purple {
  color: #bc9cff;
}
.green {
  color: #a8e879;
}
.orange {
  color: #ffad69;
}
.blue {
  color: #81c9ff;
}
.card-label {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--acid);
  color: var(--ink);
  padding: 8px 11px;
  font: 500 9px DM Mono;
}
.connector {
  position: absolute;
  inset: 42% 43%;
  height: 70px;
  border-left: 1px dashed var(--ink);
}
.connector span {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
}
.scroll-hint {
  position: absolute;
  bottom: 30px;
  right: 7vw;
  font: 500 9px DM Mono;
  letter-spacing: 0.12em;
}
.scroll-hint span {
  margin-left: 20px;
}
.ticker {
  background: var(--strong);
  color: white;
  height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transform: rotate(-1deg);
  width: 101%;
  margin-left: -0.5%;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  font: 500 11px DM Mono;
  letter-spacing: 0.13em;
  animation: ticker 24s linear infinite;
}
.ticker b {
  color: var(--acid);
}
@keyframes ticker {
  to {
    transform: translateX(-40%);
  }
}
.work,
.stack {
  padding-top: 130px;
  padding-bottom: 140px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 58px;
}
.kicker {
  margin-bottom: 22px;
}
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(45px, 5vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}
.filters {
  display: flex;
  border: 1px solid var(--line);
}
.filters button {
  border: 0;
  border-right: 1px solid var(--line);
  background: none;
  padding: 10px 17px;
  font: 500 10px DM Mono;
  cursor: pointer;
}
.filters button:last-child {
  border: 0;
}
.filters button.active {
  background: var(--strong);
  color: white;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 24px;
}
.project-large {
  grid-column: 1/-1;
}
.project-art {
  height: 440px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.project-large .project-art {
  height: 570px;
}
.art-one {
  background: #d7d0f5;
}
.art-two {
  background: #caff4f;
}
.art-three {
  background: #ef9d72;
}
.project-number {
  position: absolute;
  top: 18px;
  left: 20px;
  font: 500 10px DM Mono;
}
.dashboard {
  width: 70%;
  height: 69%;
  background: #f8f8f4;
  border-radius: 7px;
  box-shadow: 0 35px 70px rgba(47, 28, 105, 0.22);
  display: flex;
  transform: perspective(1000px) rotateX(3deg);
}
.dash-side {
  width: 16%;
  background: #191919;
}
.dash-main {
  padding: 8%;
  flex: 1;
}
.dash-title {
  height: 15px;
  width: 30%;
  background: #222;
}
.dash-stats {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}
.dash-stats i {
  height: 70px;
  flex: 1;
  background: #e8e4f6;
}
.dash-chart {
  height: 42%;
  margin-top: 15px;
  border: 1px solid #ded8ec;
  position: relative;
}
.dash-chart span {
  position: absolute;
  inset: 20% 5%;
  background: linear-gradient(
    145deg,
    transparent 49%,
    var(--violet) 50%,
    var(--violet) 52%,
    transparent 53%
  );
}
.terminal {
  width: 70%;
  background: #191919;
  color: #ddd;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
}
.term-head {
  height: 34px;
  background: #292929;
  padding: 12px;
}
.term-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #777;
  margin-right: 5px;
}
.terminal code {
  display: block;
  padding: 30px;
  font: 11px/2 DM Mono;
}
.terminal code span,
.terminal code em {
  color: var(--acid);
}
.terminal code b {
  color: #a4e582;
}
.phone {
  height: 75%;
  width: 34%;
  min-width: 180px;
  border: 7px solid #171717;
  border-radius: 28px;
  background: #f4ebe4;
  padding: 20px;
  box-shadow: 0 30px 50px rgba(90, 39, 12, 0.25);
  transform: rotate(5deg);
}
.phone-bar {
  width: 35%;
  height: 5px;
  background: #171717;
  border-radius: 5px;
  margin: auto;
}
.album {
  height: 46%;
  margin: 25px 0 20px;
  background: linear-gradient(145deg, #1c1b1b, #9f6fea);
  border-radius: 7px;
}
.wave {
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #262626 0 2px,
    transparent 2px 6px
  );
}
.player {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 24px;
}
.player i {
  width: 12px;
  height: 2px;
  background: #222;
}
.project-info {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.project-info h3 {
  font-size: 24px;
  margin: 5px 0;
}
.project-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.project-info > div > p {
  font: 9px DM Mono;
}
.project-info a {
  font-size: 28px;
  color: inherit;
  text-decoration: none;
}
.project.hidden {
  display: none;
}
.about {
  padding-top: 140px;
  padding-bottom: 120px;
  background: var(--strong);
  color: #efeee8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.about-copy {
  padding-top: 70px;
  max-width: 550px;
}
.about-copy .lead {
  font-size: 24px;
  line-height: 1.45;
  color: white;
}
.about-copy > p:not(.lead) {
  color: #9c9c96;
  line-height: 1.8;
  font-size: 14px;
}
.about-copy .text-link {
  display: inline-block;
  margin-top: 20px;
}
.stats {
  grid-column: 1/-1;
  border-top: 1px solid #3e3e3e;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 45px;
  margin-top: 45px;
}
.stats div {
  border-right: 1px solid #3e3e3e;
  padding-left: 25px;
}
.stats div:first-child {
  padding-left: 0;
}
.stats div:last-child {
  border: 0;
}
.stats strong {
  display: block;
  font-size: 48px;
  letter-spacing: -0.05em;
}
.stats span {
  font: 9px DM Mono;
  color: #92928d;
}
.stack .section-heading > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stack-grid > div {
  padding: 28px;
  border-right: 1px solid var(--line);
  min-height: 280px;
  transition: 0.25s;
}
.stack-grid > div:hover {
  background: var(--acid);
  transform: translateY(-6px);
}
.stack-grid > div:last-child {
  border: 0;
}
.stack-grid span {
  font: 10px DM Mono;
}
.stack-grid h3 {
  font-size: 23px;
  margin: 60px 0 26px;
}
.stack-grid p {
  font: 12px/2 DM Mono;
  color: #5f605a;
}
.contact {
  padding-top: 120px;
  padding-bottom: 130px;
  background: var(--violet);
  color: #121212;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10vw;
}
.contact h2 {
  font-size: clamp(58px, 6vw, 94px);
}
.contact-grid > div > p {
  max-width: 540px;
  line-height: 1.7;
}
.email {
  display: inline-flex;
  justify-content: space-between;
  gap: 80px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid;
  padding-bottom: 10px;
  margin-top: 25px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-form label {
  font: 500 10px DM Mono;
  letter-spacing: 0.1em;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.45);
  background: transparent;
  padding: 13px 0;
  color: var(--ink);
  font: 14px Manrope;
  outline: none;
}
.contact-form textarea {
  height: 80px;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
}
.contact-form .button {
  align-self: flex-start;
  min-width: 190px;
}
.form-status {
  font-size: 12px;
}
footer {
  height: 105px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #eee;
}
footer p {
  margin: 0;
  font: 9px DM Mono;
  color: #777;
}
footer > div {
  display: flex;
  gap: 28px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hero {
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    padding-top: 145px;
    padding-bottom: 80px;
  }
  .hero-visual {
    margin-top: 50px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-large {
    grid-column: auto;
  }
  .project-large .project-art,
  .project-art {
    height: 430px;
  }
  .about,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: flex-start;
    gap: 30px;
  }
  .contact-grid {
    gap: 70px;
  }
}
@media (max-width: 600px) {
  .section-pad {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    padding: 0 22px;
  }
  .site-header > .button {
    display: none;
  }
  h1 {
    font-size: 53px;
  }
  .hero {
    padding-top: 125px;
  }
  .hero-visual {
    height: 420px;
  }
  .code-card {
    width: 300px;
  }
  .frontend-card {
    right: 0;
  }
  .backend-card {
    left: 0;
  }
  .code-card pre {
    font-size: 9px;
  }
  .scroll-hint {
    display: none;
  }
  .section-heading {
    display: block;
  }
  .filters {
    margin-top: 28px;
    width: max-content;
  }
  .project-info {
    grid-template-columns: 1fr auto;
  }
  .project-info > p {
    grid-column: 1/-1;
  }
  .project-large .project-art,
  .project-art {
    height: 340px;
  }
  .dashboard {
    width: 87%;
  }
  .phone {
    width: 46%;
  }
  .about {
    padding-top: 90px;
  }
  .about-copy {
    padding-top: 0;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats strong {
    font-size: 36px;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .stack-grid > div {
    min-height: 210px;
  }
  .stack-grid h3 {
    margin-top: 35px;
  }
  .contact {
    padding-top: 90px;
  }
  .contact h2 {
    font-size: 53px;
  }
  .email {
    gap: 20px;
    font-size: 14px;
  }
  footer {
    height: auto;
    padding: 35px 22px;
    gap: 25px;
    flex-wrap: wrap;
  }
  footer p {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.privacy-note {
  font: 500 11px/1.7 DM Mono;
  color: rgba(20, 20, 20, 0.65);
  margin-top: 30px;
  max-width: 500px;
}
.brand-mark {
  display: block;
  object-fit: cover;
  background: var(--strong);
  height: 34px;
  width: 34px;
  border-radius: 50%;
}
.contact-form input,
.contact-form textarea {
  color: #111;
  border-bottom-color: rgba(17, 17, 17, 0.65);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.836);
  opacity: 1;
}
