:root {
  color-scheme: dark;
  --bg: #030607;
  --bg-deep: #010203;
  --surface: #070d0d;
  --surface-soft: #0d1513;
  --surface-glass: rgba(4, 8, 8, 0.78);
  --text: #f3efe8;
  --text-soft: #c9c7bd;
  --muted: #8d938b;
  --copper: #b8925f;
  --copper-bright: #d8b779;
  --paper: #e1c985;
  --stamp: #d36d61;
  --teal: #a6d7bd;
  --teal-dim: #5f7f71;
  --line: rgba(224, 225, 205, 0.14);
  --line-warm: rgba(216, 183, 121, 0.36);
  --shadow: rgba(0, 0, 0, 0.54);
  --shell: 1380px;
  --header-height: 88px;
  --display: "Space Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Space Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  cursor: url("assets/cursor/ufo-cursor.svg") 16 14, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
  mix-blend-mode: screen;
  opacity: 0.035;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  cursor: url("assets/cursor/ufo-cursor-hover.svg") 16 14, pointer;
  text-decoration: none;
}

button {
  font: inherit;
  letter-spacing: 0;
  cursor: url("assets/cursor/ufo-cursor-hover.svg") 16 14, pointer;
}

svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

svg path,
svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(calc(100% - 7rem), var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-warm);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 7, 0.62);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    height 220ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: rgba(112, 231, 220, 0.2);
  background: rgba(3, 6, 7, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark,
.footer-mark span {
  position: relative;
  display: inline-block;
  width: 1.46rem;
  height: 0.58rem;
  border: 1px solid rgba(216, 183, 121, 0.72);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(243, 239, 232, 0.16), rgba(166, 215, 189, 0.05));
  box-shadow: 0 0 22px rgba(166, 215, 189, 0.18);
}

.brand-mark::before,
.footer-mark span::before {
  content: "";
  position: absolute;
  top: 0.44rem;
  left: 0.34rem;
  right: 0.34rem;
  height: 0.82rem;
  border: 1px solid rgba(166, 215, 189, 0.42);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  transition: transform 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + 6rem) 0 4.4rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(3, 6, 7, 0.96) 34%, rgba(3, 6, 7, 0.34) 68%, rgba(3, 6, 7, 0.58) 100%),
    linear-gradient(180deg, transparent 74%, var(--bg) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 86px 0 0 28%;
  z-index: -2;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 280ms ease-out;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.9;
}

.hero-shell {
  min-height: calc(100svh - var(--header-height) - 10.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}

.hero-copy {
  max-width: 880px;
  padding-top: 3.1rem;
}

h1 {
  max-width: 900px;
  font-size: 6.35rem;
  line-height: 0.94;
}

.file-stamp {
  width: fit-content;
  margin-top: 1.45rem;
  padding: 0.34rem 0.7rem;
  border: 1px solid rgba(211, 109, 97, 0.58);
  border-radius: 4px;
  color: var(--stamp);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.hero-copy p {
  max-width: 720px;
  margin-top: 1.2rem;
  color: var(--text-soft);
  font-size: 1.34rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.7rem;
}

.button {
  display: inline-flex;
  min-height: 64px;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(4px);
}

.button.primary {
  border-color: rgba(216, 183, 121, 0.38);
  background:
    linear-gradient(135deg, rgba(243, 239, 232, 0.95), rgba(216, 183, 121, 0.88)),
    var(--copper-bright);
  color: #060909;
  box-shadow:
    0 18px 50px rgba(216, 183, 121, 0.12),
    0 18px 50px rgba(166, 215, 189, 0.1);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: var(--line-warm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.section-rule {
  width: min(100%, 420px);
  height: 1px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--teal), var(--copper), transparent);
}

.systems-section {
  position: relative;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
  padding: 7.6rem 0 8rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg), var(--bg-deep) 28%, var(--bg) 100%),
    var(--bg);
}

.systems-art {
  position: absolute;
  inset: 5rem 0 auto 39%;
  z-index: -2;
  height: 680px;
  opacity: 0.5;
  filter: saturate(0.82) contrast(0.96);
}

.systems-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(3, 6, 7, 0.08) 48%, var(--bg) 100%),
    linear-gradient(180deg, rgba(3, 6, 7, 0.06), var(--bg) 100%);
}

.systems-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systems-shell {
  display: grid;
  gap: 3.2rem;
}

.section-copy {
  max-width: 780px;
}

.section-copy h2,
.approach-copy h2 {
  font-size: 4.6rem;
  line-height: 0.96;
}

.section-copy p,
.approach-copy p {
  margin-top: 1.45rem;
  color: var(--text-soft);
  font-size: 1.16rem;
  line-height: 1.7;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(6, 11, 10, 0.86);
  color: var(--text);
  cursor: url("assets/cursor/ufo-cursor-hover.svg") 16 14, pointer;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(130deg, rgba(166, 215, 189, 0.08), transparent 38%),
    linear-gradient(310deg, rgba(216, 183, 121, 0.09), transparent 34%);
  pointer-events: none;
}

.project-card::after {
  content: attr(data-stamp);
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  z-index: 1;
  max-width: 9.4rem;
  padding: 0.34rem 0.56rem;
  border: 1px solid rgba(211, 109, 97, 0.48);
  border-radius: 4px;
  color: var(--stamp);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  transform: rotate(2deg);
  opacity: 0.82;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    opacity 200ms ease,
    transform 200ms ease;
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-within,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(211, 109, 97, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
    rgba(6, 11, 10, 0.92);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  color: #ff8a78;
  border-color: rgba(255, 138, 120, 0.74);
  opacity: 1;
  transform: rotate(-1deg) translateY(-1px);
}

.project-card:focus-visible {
  outline: 2px solid rgba(211, 109, 97, 0.68);
  outline-offset: 4px;
}

.card-orbit {
  position: relative;
  height: 138px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(224, 225, 205, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    linear-gradient(135deg, rgba(166, 215, 189, 0.055), rgba(216, 183, 121, 0.07)),
    #050a09;
  overflow: hidden;
}

.card-orbit::before,
.card-orbit::after,
.card-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.card-orbit::before {
  width: 8.2rem;
  height: 1.25rem;
  top: 2.2rem;
  left: calc(50% - 4.1rem);
  border: 1px solid rgba(216, 183, 121, 0.56);
  background:
    radial-gradient(ellipse at center, rgba(243, 239, 232, 0.28), transparent 54%),
    rgba(8, 13, 12, 0.82);
  box-shadow: 0 0 34px rgba(166, 215, 189, 0.12);
}

.card-orbit::after {
  width: 5.6rem;
  height: 4.8rem;
  top: 3.1rem;
  left: calc(50% - 2.8rem);
  border-radius: 0 0 52% 52%;
  background: linear-gradient(180deg, rgba(243, 239, 232, 0.18), transparent 78%);
  filter: blur(0.5px);
}

.card-orbit span {
  left: 12%;
  right: 12%;
  bottom: 1.55rem;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(224, 225, 205, 0.36), transparent);
}

.card-topline {
  position: relative;
  color: var(--teal);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-card h3 {
  position: relative;
  margin-top: 0.75rem;
  color: var(--text);
  font-size: 2.05rem;
  line-height: 1.08;
}

.project-card p {
  position: relative;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.project-card dl {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.project-card dl div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.project-card dt {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-card dd {
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.card-link,
.card-status {
  position: relative;
  margin-top: auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--copper-bright);
  font-size: 0.96rem;
  font-weight: 700;
}

.card-link svg {
  transition: transform 180ms ease;
}

.project-card:hover .card-link svg,
.project-card:focus-visible .card-link svg {
  transform: translateX(4px);
}

.card-status {
  color: var(--stamp);
}

.approach-section {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent),
    var(--bg-deep);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1fr);
  gap: 4rem;
  align-items: start;
}

.approach-copy {
  max-width: 680px;
}

.principles {
  display: grid;
  gap: 0;
  padding-top: 3.2rem;
}

.principle-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.principle-row:first-child {
  border-top: 1px solid var(--line);
}

.principle-icon {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  color: var(--teal);
}

.principle-row strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid rgba(112, 231, 220, 0.22);
  background: #010203;
}

.footer-shell {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-mark {
  display: inline-flex;
  padding: 0.6rem;
  color: var(--copper);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
}

.site-footer nav a,
.site-footer nav span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.45rem;
  border-left: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--display);
  font-size: 1rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.site-footer nav span {
  color: var(--muted);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--text);
  background: rgba(112, 231, 220, 0.045);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 1180px) {
  .shell {
    width: min(calc(100% - 4rem), var(--shell));
  }

  .site-header {
    padding: 0 2rem;
  }

  h1 {
    font-size: 5.2rem;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy p {
    font-size: 1.24rem;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    column-gap: 1.5rem;
  }

  .card-orbit {
    grid-row: 1 / span 7;
    height: auto;
    min-height: 100%;
    margin-bottom: 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .principles {
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .site-header {
    height: var(--header-height);
    padding: 0 1rem;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(4, 10, 11, 0.97);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 4.1rem) 0 3.2rem;
    background:
      linear-gradient(180deg, rgba(3, 6, 7, 0.2), var(--bg) 670px),
      linear-gradient(90deg, rgba(3, 6, 7, 0.94), rgba(3, 6, 7, 0.56));
  }

  .hero-art {
    inset: 76px 0 auto 0;
    height: 630px;
  }

  .hero-art img {
    object-position: 62% top;
    opacity: 0.8;
  }

  .hero-shell {
    min-height: auto;
    display: block;
  }

  .hero-copy {
    max-width: 620px;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
  }

  h1 {
    font-size: 4.35rem;
  }

  .hero-copy p {
    max-width: 360px;
    margin-top: 1.45rem;
    font-size: 1.1rem;
  }

  .hero-actions {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .button {
    width: 100%;
    min-height: 58px;
  }

  .systems-section {
    padding: 5rem 0;
  }

  .systems-art {
    inset: 7rem 0 auto 0;
    height: 520px;
    opacity: 0.34;
  }

  .section-copy h2,
  .approach-copy h2 {
    font-size: 3.35rem;
  }

  .section-copy p,
  .approach-copy p {
    font-size: 1.05rem;
  }

  .project-card {
    display: flex;
    min-height: auto;
    padding: 1rem;
  }

  .card-orbit {
    min-height: 118px;
    margin-bottom: 1.1rem;
  }

  .project-card h3 {
    font-size: 1.72rem;
  }

  .project-card p {
    font-size: 0.97rem;
  }

  .approach-section {
    padding: 5rem 0;
  }

  .principle-row {
    grid-template-columns: 3.3rem 1fr;
    min-height: 86px;
  }

  .principle-row strong {
    font-size: 1.08rem;
  }

  .footer-shell {
    min-height: auto;
    display: grid;
    justify-items: start;
    padding: 2rem 0;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer nav a,
  .site-footer nav span {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.23rem;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-copy {
    min-height: 600px;
  }

  .hero-copy p {
    max-width: 330px;
  }

  .hero-art {
    height: 600px;
  }

  .section-copy h2,
  .approach-copy h2 {
    font-size: 2.72rem;
  }

  .project-card h3 {
    font-size: 1.54rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
