@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  font-family: "Manrope", sans-serif;
  color: #e6e2dc;
  background: #080807;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --accent: #a3998d;
  --muted: #77736d;
  --line: rgba(224, 217, 207, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(86, 78, 67, 0.09), transparent 44%),
    #080807;
}

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

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

.site-shell {
  width: min(100% - 72px, 1440px);
  margin: 0 auto;
}

.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.brand img {
  display: block;
  width: 110px;
  height: auto;
  transition: filter 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.brand img.logo-glow {
  animation: logo-ignite 700ms ease-out;
}

.header-link,
.eyebrow,
.section-label,
.hero-index,
.footer-links,
.copyright {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.header-link {
  color: #c9c4bc;
  font-size: 10px;
}

.header-link span {
  color: var(--accent);
  margin-left: 9px;
}

.hero {
  min-height: min(760px, calc(100svh - 94px));
  min-height: clamp(640px, calc(100svh - 94px), 790px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-top: -20px;
  text-align: center;
}

.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 9px;
  margin: 0 0 27px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(163, 153, 141, 0.8);
}

h1 {
  font-size: clamp(48px, 7.5vw, 94px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.075em;
  margin: 0;
}

h1 span {
  color: var(--accent);
  font-weight: 400;
}

.hero-copy {
  max-width: 410px;
  margin: 25px auto 29px;
  color: #aaa59e;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 300;
}

.primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid rgba(163, 153, 141, 0.55);
  color: #e6e2dc;
  font-size: 11px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-link span {
  color: var(--accent);
}

.primary-link:hover {
  color: #080807;
  background: var(--accent);
  border-color: var(--accent);
}

.primary-link:hover span {
  color: #080807;
}

.hero-orbit {
  position: absolute;
  width: min(660px, 76vw);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(163, 153, 141, 0.08);
  border-radius: 50%;
  animation: orbit-drift 26s linear infinite;
}

.orbit-one {
  transform: scaleY(0.39) rotate(-23deg);
}

.orbit-two {
  inset: 0;
  transform: scaleY(0.7) rotate(34deg);
  animation-direction: reverse;
  animation-duration: 34s;
}

.orbit-core {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 153, 141, 0.09), transparent 68%);
  filter: blur(15px);
  animation: breathe 6s ease-in-out infinite;
}

.hero-index {
  position: absolute;
  left: 0;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #77736d;
  font-size: 8px;
}

.index-line {
  width: 42px;
  height: 1px;
  background: rgba(163, 153, 141, 0.45);
}

.scroll-cue {
  position: absolute;
  right: 4px;
  bottom: 25px;
  width: 18px;
  height: 31px;
  border: 1px solid rgba(163, 153, 141, 0.38);
  border-radius: 12px;
}

.scroll-cue span {
  position: absolute;
  left: 7px;
  top: 6px;
  width: 2px;
  height: 6px;
  background: var(--accent);
  animation: scroll-tick 1.5s ease-in-out infinite;
}

.about {
  min-height: 320px;
  padding: 82px 0 76px;
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  align-items: start;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--accent);
  font-size: 9px;
  margin: 9px 0 0;
}

.about-body {
  max-width: 550px;
}

.about h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.about-body p {
  color: #96918a;
  font-size: 13px;
  line-height: 1.9;
  max-width: 430px;
  margin: 19px 0 0;
}

.about-mark {
  justify-self: end;
  color: rgba(163, 153, 141, 0.18);
  font-size: 50px;
  font-weight: 300;
  letter-spacing: -0.1em;
}

.projects {
  padding: 78px 0 84px;
  border-bottom: 1px solid var(--line);
}

.projects-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  align-items: start;
  margin-bottom: 37px;
}

.projects-heading .section-label {
  grid-column: 1;
}

.projects-heading h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.06em;
}

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

.project-card {
  min-width: 0;
}

.project-art {
  height: clamp(190px, 25vw, 300px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 217, 207, 0.12);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(163, 153, 141, 0.07), transparent 58%),
    #0b0b0a;
}

.project-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.project-art svg path,
.project-art svg ellipse,
.project-art svg circle:not(.world-halo) {
  vector-effect: non-scaling-stroke;
}

.world-ring {
  fill: none;
  stroke: rgba(163, 153, 141, 0.38);
  stroke-width: 0.8;
}

.world-ring-a {
  animation: world-orbit 22s linear infinite;
  transform-origin: 260px 148px;
}

.world-ring-b {
  stroke: rgba(163, 153, 141, 0.18);
  stroke-dasharray: 2 7;
  animation: world-orbit 30s linear infinite reverse;
  transform-origin: 260px 148px;
}

.world-orb {
  fill: rgba(163, 153, 141, 0.035);
  stroke: rgba(163, 153, 141, 0.45);
  stroke-width: 0.8;
}

.world-path,
.world-path-faint {
  fill: none;
  stroke: rgba(163, 153, 141, 0.56);
  stroke-width: 0.8;
}

.world-path-faint {
  stroke: rgba(163, 153, 141, 0.25);
}

.world-node {
  fill: var(--accent);
  animation: breathe 4s ease-in-out infinite;
}

.art-coordinate {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: rgba(208, 201, 191, 0.55);
  font: 8px "DM Mono", monospace;
  letter-spacing: 0.1em;
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(163, 153, 141, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 153, 141, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, #000 15%, transparent 76%);
}

.signal-scan {
  position: absolute;
  z-index: 1;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: linear-gradient(transparent, rgba(163, 153, 141, 0.48), transparent);
  box-shadow: 0 0 14px rgba(163, 153, 141, 0.4);
  animation: scan 8s ease-in-out infinite alternate;
}

.signal-line,
.signal-line-soft,
.signal-bracket {
  fill: none;
  stroke: rgba(194, 184, 171, 0.76);
  stroke-width: 1;
}

.signal-line {
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  animation: signal-draw 7s ease-in-out infinite alternate;
}

.signal-line-soft {
  stroke: rgba(163, 153, 141, 0.34);
  stroke-width: 0.7;
}

.signal-bracket {
  stroke: rgba(163, 153, 141, 0.34);
  stroke-width: 0.8;
}

.signal-point {
  fill: var(--accent);
  filter: drop-shadow(0 0 5px rgba(163, 153, 141, 0.8));
  animation: breathe 3s ease-in-out infinite;
}

.signal-point-small {
  animation-delay: 1s;
}

.project-info {
  min-height: 110px;
  padding: 18px 2px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-type {
  color: var(--accent);
  font: 8px "DM Mono", monospace;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.project-info h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.project-description {
  max-width: 210px;
  color: #89847d;
  font-size: 11px;
  line-height: 1.8;
  margin: 13px 0 0;
}

.site-footer {
  padding: 33px 0 25px;
}

.footer-bottom {
  min-height: 48px;
  padding-top: 19px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links {
  font-size: 8px;
  color: #9c978f;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--accent);
}

.social-links {
  gap: 17px;
  color: #a29d95;
  justify-self: center;
}

.social-links a,
.social-links .social-placeholder {
  display: inline-flex;
  padding: 3px;
  transition: color 160ms ease;
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.copyright {
  color: #67635e;
  font-size: 8px;
  justify-self: end;
}

@keyframes world-orbit {
  to {
    rotate: 360deg;
  }
}

@keyframes logo-ignite {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(163, 153, 141, 0));
  }
  35% {
    filter: drop-shadow(0 0 7px rgba(163, 153, 141, 0.85))
      drop-shadow(0 0 18px rgba(163, 153, 141, 0.4));
  }
}

@keyframes scan {
  from {
    left: 18%;
    opacity: 0.35;
  }
  to {
    left: 82%;
    opacity: 0.8;
  }
}

@keyframes signal-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes orbit-drift {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  50% {
    opacity: 0.5;
    transform: scale(1.12);
  }
}

@keyframes scroll-tick {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 76px;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    min-height: min(720px, calc(100svh - 76px));
    min-height: clamp(590px, calc(100svh - 76px), 720px);
  }

  .hero-orbit {
    width: 108vw;
  }

  .hero-content {
    margin-top: -5px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 12px;
  }

  .hero-index {
    font-size: 7px;
    gap: 8px;
  }

  .index-line {
    width: 20px;
  }

  .about {
    min-height: 0;
    padding: 58px 0 61px;
    grid-template-columns: 1fr auto;
    gap: 34px 15px;
  }

  .section-label {
    grid-column: 1 / -1;
  }

  .about h2 {
    font-size: 36px;
  }

  .about-mark {
    font-size: 36px;
  }

  .projects {
    padding: 58px 0 62px;
  }

  .projects-heading {
    display: block;
    margin-bottom: 27px;
  }

  .projects-heading h2 {
    margin-top: 29px;
    font-size: 36px;
  }

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

  .project-art {
    height: clamp(200px, 62vw, 280px);
  }

  .project-info {
    min-height: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 19px;
  }

  .footer-links {
    gap: 10px;
    font-size: 7px;
    justify-self: center;
  }

  .social-links {
    gap: 10px;
    justify-self: center;
  }

  .copyright {
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .copyright {
    font-size: 7px;
  }

  .hero-index span:last-child {
    display: none;
  }
}

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