* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  --bg: #0a1018;
  --surface: #101925;
  --field: #0c141e;
  --line: #283541;
  --text: #f0f3f4;
  --muted: #abb8c6;
  --accent: #ebc579;
  --btn: #f2ce87;
  --ink: #201a10;
  --blue: #9dc8e4;
  --mesh: rgba(136, 183, 218, 0.09);
  --glow: rgba(56, 106, 146, 0.26);
  --header: rgba(10, 16, 24, 0.92);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f7;
  --surface: #eaf0f2;
  --field: #fff;
  --line: #c7d1d7;
  --text: #162631;
  --muted: #485b68;
  --accent: #795219;
  --btn: #785117;
  --ink: white;
  --blue: #295879;
  --mesh: rgba(52, 91, 115, 0.1);
  --glow: rgba(112, 159, 185, 0.22);
  --header: rgba(246, 247, 247, 0.94);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    500 1rem/1.6 Manrope,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.052em;
}
h2 {
  font-size: clamp(2.6rem, 4.9vw, 4.45rem);
  font-weight: 600;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1280px, 89%);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  background: var(--btn);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus {
  transform: none;
}
.mast {
  border-bottom: 1px solid var(--line);
  background: var(--header);
  position: relative;
  z-index: 5;
}
.top,
.controls,
.brand,
.wide-nav,
.langs,
.actions,
.platforms,
.strip,
.strip > span,
.kicker,
.foot,
.foot > div,
.foot > span,
.case-end {
  display: flex;
  align-items: center;
}
.top {
  min-height: 82px;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  gap: 0.55rem;
  font-size: 1.55rem;
  letter-spacing: -0.065em;
  font-weight: 800;
  line-height: 1;
}
.brand > span > span {
  font-weight: 500;
}
.brand img {
  object-fit: contain;
}
.wide-nav {
  gap: 2.2rem;
}
.wide-nav a,
.controls,
.foot {
  font-size: 0.875rem;
}
.wide-nav a {
  font-weight: 650;
}
.controls {
  gap: 1rem;
}
.langs {
  gap: 0.42rem;
  font-size: 0.813rem;
  font-weight: 700;
}
.langs span {
  color: var(--muted);
}
.langs a {
  padding: 0.5rem 0.12rem;
  color: var(--muted);
}
.langs [aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}
.theme,
.menu summary {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  line-height: 1;
}
.theme span {
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
}
.theme:hover,
.menu summary:hover {
  background: var(--surface);
}
.menu {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  grid-template-columns: 1.14fr 1fr;
  min-height: clamp(490px, 43vw, 650px);
  padding-block: 2.8rem;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.kicker,
.tag,
.strip-label {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.kicker {
  gap: 0.8rem;
  color: var(--accent);
}
.line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(3.6rem, 6.45vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.04;
  margin: 1.25rem 0 1.35rem;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 37rem;
  line-height: 1.65;
}
.actions {
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.button,
.text-link,
.detail-link {
  font-weight: 750;
  font-size: 0.93rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--btn);
  color: var(--ink);
  padding: 0.82rem 1.3rem;
  border-radius: 7px;
  min-height: 46px;
  text-align: center;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.button:hover {
  color: var(--ink);
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.text-link,
.detail-link,
.breadcrumb,
.direct a,
.fine {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--accent);
}
.text-link {
  padding-block: 0.55rem;
}
.specimen {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.16;
  isolation: isolate;
  min-width: 0;
  background: radial-gradient(ellipse at 50% 54%, var(--glow), transparent 67%);
}
.specimen .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--mesh) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse, #000 22%, transparent 73%);
}
.orbital {
  position: absolute;
  border: 1px solid var(--mesh);
  border-radius: 50%;
  width: 87%;
  height: 66%;
  rotate: -23deg;
}
.o2 {
  rotate: 32deg;
  width: 77%;
  height: 69%;
}
.specimen picture {
  display: contents;
}
.sculpture {
  width: 88%;
  height: auto;
  position: relative;
  filter: drop-shadow(0 23px 23px rgba(1, 9, 18, 0.25));
  transform: perspective(850px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition: transform 0.42s ease-out;
}
.cross {
  position: absolute;
  width: 10px;
  height: 10px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 1px 100% no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 100% 1px no-repeat;
  opacity: 0.65;
}
.tl {
  left: 10%;
  top: 13%;
}
.br {
  right: 8%;
  bottom: 13%;
}
.strip {
  justify-content: space-between;
  border-block: 1px solid var(--line);
  min-height: 62px;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 650;
}
.strip > span,
.foot > span {
  gap: 0.7rem;
}
.flag {
  display: inline-block;
  width: 20px;
  height: 13px;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(#3898eb 50%, #f6c64c 50%);
}
.platforms {
  gap: 0.9rem;
}
.strip-label,
.tag {
  color: var(--muted);
}
.platforms i {
  height: 4px;
  width: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.section {
  padding-block: clamp(4rem, 6.8vw, 7rem);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin: 1rem 0 2.3rem;
}
.section-heading p {
  max-width: 28rem;
}
.featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--field);
  display: block;
}
.image-slot,
.case-poster {
  overflow: hidden;
  aspect-ratio: 1.85;
  background: var(--surface);
}
.poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.feature:hover .poster {
  transform: scale(1.035);
}
.card-body {
  padding: clamp(1.3rem, 2.2vw, 2rem);
}
.card-body h3,
.project-row h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  margin: 0.35rem 0 0.65rem;
}
.card-body p {
  max-width: 34rem;
}
.detail-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--text);
}
.project-list {
  margin-top: 2rem;
}
.project-row {
  display: grid;
  grid-template-columns: 64px minmax(140px, 0.9fr) 1.35fr auto;
  gap: 1.6rem;
  align-items: center;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}
.project-row:first-child {
  border-top: 1px solid var(--line);
}
.project-row h3 {
  margin: 0.2rem 0 0;
}
.project-row .detail-link {
  margin: 0;
}
.miniart {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #daf1ff;
  background:
    repeating-radial-gradient(
      at 75% 20%,
      transparent 0 9px,
      #89aad122 10px 11px
    ),
    #263f5c;
}
.miniart b {
  font:
    500 2rem/1 Consolas,
    monospace;
}
.a3 {
  color: #bcf4da;
  background:
    repeating-linear-gradient(0deg, transparent 0 9px, #89bba820 10px 11px),
    #173c35;
}
.a4 {
  color: #f8d298;
  background:
    repeating-linear-gradient(35deg, transparent 0 10px, #e1ad7422 11px 12px),
    #513820;
}
.subsection {
  background: var(--surface);
  padding-block: clamp(4rem, 7vw, 7rem);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 9rem);
}
.split h2 {
  margin: 1rem 0 1.4rem;
}
.split > div > p {
  max-width: 34rem;
}
.steps article {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0 1.35rem 1.65rem;
}
.steps article:first-child {
  padding-top: 0.2rem;
}
.step-mark {
  width: 8px;
  height: 8px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 1.95rem;
  rotate: 45deg;
}
.steps article:first-child .step-mark {
  top: 0.8rem;
}
.steps h3,
.case-copy h2,
.legal h2 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.55rem;
}
.direct {
  margin-top: 2rem;
  font-size: 0.92rem;
}
.direct a {
  display: inline-block;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
}
form {
  position: relative;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
form label {
  font-weight: 650;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  border-radius: 6px;
  color: var(--text);
  padding: 0.77rem 0.9rem;
  margin-bottom: 0.6rem;
}
textarea {
  resize: vertical;
  min-height: 8rem;
}
.fine {
  font-size: 0.875rem;
  color: var(--muted);
  width: fit-content;
}
form .button {
  justify-self: start;
  margin-top: 0.7rem;
}
.trap {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(100%);
}
#result {
  color: var(--text);
}
#result:empty {
  display: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.75;
}
footer {
  border-top: 1px solid var(--line);
}
.foot {
  gap: 2rem;
  min-height: 92px;
  flex-wrap: wrap;
  padding-block: 1.3rem;
}
.foot > span {
  color: var(--muted);
}
.foot > div {
  margin-left: auto;
  gap: 1.4rem;
}
.case-page,
.legal {
  padding-block: 3.5rem 6rem;
}
.breadcrumb {
  display: inline-block;
  margin-bottom: 2.8rem;
  color: var(--muted);
}
.case-page h1,
.legal h1 {
  font-size: clamp(2.4rem, 6.3vw, 6rem);
  margin: 1rem 0;
}
.case-lead {
  max-width: 46rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}
.case-poster {
  margin-top: 2.2rem;
  max-height: 440px;
  border-radius: 12px;
}
.case-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-block: 1px solid var(--line);
  padding-block: 2.6rem;
  margin-block: 2.5rem;
}
.case-end {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.legal {
  max-width: 52rem;
}
.legal h1 {
  overflow-wrap: anywhere;
}
.legal h2 {
  margin: 2.2rem 0 0.65rem;
}
.legal p a {
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 630px;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: 91%;
  }
  .hero {
    grid-template-columns: 1.18fr 1fr;
    min-height: 450px;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.65vw, 4rem);
  }
  .wide-nav {
    gap: 1rem;
  }
  .section-heading p {
    max-width: 20rem;
  }
  .project-row {
    gap: 1rem;
    grid-template-columns: 54px 0.85fr 1.25fr;
  }
  .project-row .detail-link {
    display: none;
  }
  .miniart {
    width: 54px;
  }
  .split {
    gap: 2.5rem;
  }
}
@media (max-width: 660px) {
  .wrap {
    width: 89%;
  }
  .top {
    min-height: 66px;
    gap: 0.5rem;
  }
  .brand {
    font-size: 1.35rem;
    gap: 0.3rem;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .wide-nav {
    display: none;
  }
  .controls {
    gap: 0.55rem;
  }
  .menu {
    display: block;
  }
  .menu summary {
    list-style: none;
    gap: 5px;
  }
  .menu summary::-webkit-details-marker {
    display: none;
  }
  .menu summary i {
    width: 16px;
    height: 1.5px;
    background: var(--text);
  }
  .menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0.25rem;
    padding: 0.65rem 5.5% 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .menu nav a {
    padding: 0.5rem;
  }
  .theme,
  .menu summary {
    width: 38px;
    height: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.45rem 0.4rem;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(2.73rem, 10.2vw, 4.2rem);
    margin: 0.9rem 0 1rem;
  }
  .lead {
    font-size: 1rem;
  }
  .actions {
    gap: 1.1rem;
    margin-top: 1.4rem;
  }
  .button,
  .text-link {
    font-size: 0.875rem;
  }
  .specimen {
    width: 100%;
    height: clamp(203px, 56vw, 310px);
    aspect-ratio: auto;
    margin: 0.3rem auto 0.2rem;
  }
  .sculpture {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .orbital {
    width: 75%;
    height: 74%;
  }
  .o2 {
    width: 62%;
  }
  .strip {
    min-height: 52px;
  }
  .platforms {
    gap: 0.55rem;
  }
  .strip-label {
    display: none;
  }
  .section-heading {
    display: block;
    margin: 1rem 0 1.45rem;
  }
  .section-heading p {
    margin-top: 0.9rem;
    max-width: none;
  }
  .featured,
  .split,
  .case-copy {
    grid-template-columns: 1fr;
  }
  .featured {
    gap: 1.2rem;
  }
  .project-row {
    grid-template-columns: 46px 1fr;
    gap: 0.35rem 0.95rem;
  }
  .miniart {
    width: 46px;
  }
  .project-row p {
    grid-column: 2;
  }
  .foot {
    gap: 1rem;
    justify-content: space-between;
  }
  .foot > div {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
  }
  .foot > span {
    font-size: 0.8rem;
  }
  .case-page,
  .legal {
    padding-block: 2.5rem 4rem;
  }
  .case-copy {
    gap: 1.8rem;
  }
  .case-end {
    align-items: start;
  }
  .kicker,
  .tag {
    letter-spacing: 0.085em;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .hero-text {
    animation: enter 0.65s both;
  }
  .sculpture {
    animation: reveal 0.95s both;
  }
  .steps article {
    transition: background 0.2s;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes reveal {
    from {
      opacity: 0;
      translate: 0 12px;
      scale: 0.97;
    }
    to {
      opacity: 1;
      translate: 0 0;
      scale: 1;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .sculpture {
    transform: none;
  }
  .feature:hover .poster,
  .button:hover {
    transform: none;
  }
}
@media (forced-colors: active) {
  .flag,
  .line,
  .step-mark {
    border: 1px solid CanvasText;
  }
  .button,
  .feature {
    border: 1px solid ButtonText;
  }
}
.hero h1 {
  letter-spacing: -0.055em;
  word-spacing: 0.035em;
}
.specimen picture {
  display: block;
  position: absolute;
  inset: 0;
  text-align: center;
}
.sculpture {
  display: inline-block;
  vertical-align: top;
  width: 88%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 660px) {
  .specimen {
    margin-top: 0.85rem;
  }
  .sculpture {
    width: 100%;
    max-height: 100%;
    height: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .arrived {
    animation: card-arrival 0.6s ease-out both;
  }
  @keyframes card-arrival {
    from {
      opacity: 0.65;
      translate: 0 12px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
