:root {
  color-scheme: dark;
  --bg: #111411;
  --surface: #181d19;
  --surface-hover: #1d241f;
  --text: #f0f0e9;
  --muted: #9da69d;
  --subtle: #677168;
  --line: #303832;
  --lime: #c3f56a;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

::selection {
  color: var(--bg);
  background: var(--lime);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(48, 56, 50, 0.72);
  background: rgba(17, 20, 17, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.91rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text);
}

.nav-contact span {
  color: var(--lime);
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 6.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(195, 245, 106, 0.55);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  margin: 1.55rem 0 1.35rem;
  font-size: clamp(3.5rem, 7.4vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

h1 span {
  color: var(--lime);
}

.hero-description {
  max-width: 430px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  color: var(--lime);
  transition: transform 180ms ease;
}

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

.hero-art {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  justify-self: end;
  margin: -1rem 2rem 0 0;
}

.hero-art::before {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 160, 74, 0.12), transparent 68%);
  content: "";
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(159, 178, 143, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.orbit-one {
  width: 78%;
  height: 35%;
}

.orbit-two {
  width: 78%;
  height: 35%;
  transform: translate(-50%, -50%) rotate(35deg);
}

.orbit-three {
  width: 67%;
  height: 67%;
  border-color: rgba(159, 178, 143, 0.09);
}

.art-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(195, 245, 106, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #283323, #171d17 70%);
  box-shadow: 0 0 75px rgba(195, 245, 106, 0.08), inset 0 0 30px rgba(195, 245, 106, 0.04);
  color: var(--text);
  font-family: var(--display);
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -0.1em;
  transform: translate(-50%, -50%);
}

.art-center span {
  color: var(--lime);
}

.art-label {
  position: absolute;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.label-one {
  top: 11%;
  right: 2%;
}

.label-two {
  bottom: 11%;
  left: 0;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 1.8rem;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.hero-bottom span span {
  color: var(--lime);
}

.projects {
  padding-top: 6rem;
  padding-bottom: 7.5rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.accent {
  color: var(--lime);
}

.section-note {
  max-width: 240px;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(190px, 0.55fr) 28px;
  align-items: center;
  gap: 1.3rem;
  min-height: 174px;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 200ms ease, padding 200ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  padding-right: 1.4rem;
  padding-left: 1.4rem;
  background: var(--surface);
}

.project-index {
  align-self: start;
  padding-top: 0.4rem;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.project-main {
  max-width: 500px;
}

.project-type {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.project-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(195, 245, 106, 0.09);
  color: var(--lime);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.project-main h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  transition: color 180ms ease;
}

.project-card:hover h3,
.project-card:focus-visible h3 {
  color: var(--lime);
}

.project-main > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-domain {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.project-arrow {
  color: var(--lime);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.project-card:hover .project-arrow,
.project-card:focus-visible .project-arrow {
  transform: translate(3px, -3px);
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 0.75fr;
  align-items: start;
  gap: 2rem;
  padding-top: 5rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--line);
}

.about-number {
  display: block;
  margin-top: 1.2rem;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.about-copy h2 {
  margin: -0.45rem 0 1.2rem;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.about-copy > p {
  max-width: 480px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-stamp {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 152px;
  height: 152px;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(9deg);
}

.stamp-symbol {
  margin: 0.15rem 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.stamp-symbol span {
  margin-left: 0.1rem;
  color: var(--lime);
  font-size: 1rem;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact::before {
  position: absolute;
  top: -225px;
  left: 50%;
  width: 530px;
  height: 360px;
  border-radius: 50%;
  background: rgba(131, 173, 81, 0.07);
  content: "";
  filter: blur(55px);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2 {
  position: relative;
  margin: 1rem 0 1.4rem;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.contact-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--lime);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-link span {
  transition: transform 180ms ease;
}

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

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

.footer-inner {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 0.65rem;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 0.87rem;
}

.footer-inner p,
.back-top {
  margin: 0;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.back-top {
  color: var(--muted);
  text-decoration: none;
}

.back-top span {
  margin-left: 0.35rem;
  color: var(--lime);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .hero {
    min-height: 570px;
    grid-template-columns: 1fr 0.7fr;
  }

  .hero-art {
    width: 110%;
    margin-right: -1rem;
  }

  .project-card {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
  }

  .project-domain {
    display: none;
  }

  .about {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .about-stamp {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 36px, 440px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #181d19;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    display: block;
    padding: 0.65rem 0.7rem;
  }

  .nav-links .nav-contact {
    justify-content: space-between;
    border: 0;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: 5.1rem;
    padding-bottom: 5.5rem;
  }

  h1 {
    margin-top: 1.3rem;
    font-size: clamp(3.35rem, 13vw, 5rem);
  }

  .hero-description {
    max-width: 390px;
    font-size: 0.98rem;
  }

  .hero-art {
    position: absolute;
    top: 5rem;
    right: -9rem;
    width: 290px;
    opacity: 0.34;
  }

  .art-center {
    width: 84px;
    height: 84px;
    font-size: 2.7rem;
  }

  .art-label {
    display: none;
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  .hero-bottom {
    bottom: 1.3rem;
    font-size: 0.53rem;
  }

  .hero-bottom span:last-child {
    text-align: right;
  }

  .projects {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 1.6rem;
  }

  .section-heading h2 {
    font-size: 2.8rem;
  }

  .section-note {
    max-width: 280px;
    margin-top: 0.8rem;
  }

  .project-card {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 0.8rem;
    min-height: 155px;
    padding-inline: 0.35rem;
  }

  .project-card:hover,
  .project-card:focus-visible {
    padding-inline: 0.7rem;
  }

  .project-main > p:last-child {
    max-width: 270px;
    font-size: 0.82rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .about-number {
    display: none;
  }

  .about-copy h2 {
    font-size: 2.75rem;
  }

  .contact {
    padding-top: 4rem;
    padding-bottom: 4.3rem;
  }

  .contact h2 {
    font-size: 3.5rem;
  }

  .footer-inner {
    min-height: 75px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 1rem;
  }

  .footer-inner p {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
