@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;600;700;900&display=swap");

:root {
  --black: #050505;
  --white: #f4f4f0;
  --gray-100: #e5e5df;
  --gray-400: #989892;
  --gray-700: #292927;
  --line-light: rgba(5, 5, 5, 0.18);
  --line-dark: rgba(244, 244, 240, 0.2);
  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  --font-sans: "Inter", "Noto Sans KR", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--white) var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  color: var(--black);
  background: var(--white);
  transform: translateY(-110%);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand > span:last-child > span {
  color: var(--gray-400);
}

.brand-mark {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  top: 50%;
  left: -0.28rem;
  width: 1.45rem;
  height: 1px;
  background: currentcolor;
  content: "";
  transform: rotate(-40deg);
}

.site-nav {
  display: flex;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.site-nav a {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-nav a span {
  color: var(--gray-400);
}

.site-nav a::after {
  width: 0;
  height: 1px;
  background: currentcolor;
  content: "";
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 1.5rem;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 8.5rem var(--page-padding) 3rem;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-position: center;
  background-size: clamp(4rem, 8vw, 8rem) clamp(4rem, 8vw, 8rem);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line-dark);
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -35vw;
  right: -20vw;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
}

.hero::after {
  right: 25%;
  bottom: -10rem;
  width: 1px;
  height: 70%;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.hero-meta span {
  margin-left: 1rem;
  color: var(--gray-400);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 76rem;
  margin-top: clamp(5rem, 11vh, 9rem);
}

.eyebrow,
.section-kicker {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}

.eyebrow::before,
.section-kicker::before {
  width: 1.8rem;
  height: 1px;
  background: currentcolor;
  content: "";
}

.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(3.7rem, 10.2vw, 10.6rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2) {
  margin-left: 11%;
}

.hero h1 .outlined {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.08vw, 2px) var(--white);
}

.hero-description {
  max-width: 34rem;
  margin-top: 2.4rem;
  margin-left: 12%;
  color: var(--gray-100);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.8;
}

.orbit-visual {
  position: absolute;
  right: clamp(-13rem, -7vw, -5rem);
  bottom: clamp(-10rem, -6vw, -5rem);
  width: clamp(22rem, 38vw, 42rem);
  aspect-ratio: 1;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 244, 240, 0.35);
  border-radius: 50%;
}

.orbit-inner {
  inset: 18%;
  border-style: dashed;
  animation: rotate 24s linear infinite reverse;
}

.orbit-outer {
  animation: rotate 36s linear infinite;
}

.orbit i {
  position: absolute;
  top: 50%;
  left: -0.3rem;
  width: 0.58rem;
  height: 0.58rem;
  background: var(--white);
  border-radius: 50%;
}

.orbit-inner i {
  top: 10%;
  right: 17%;
  left: auto;
  width: 0.32rem;
  height: 0.32rem;
}

.orbit-core {
  position: absolute;
  inset: 36%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--white);
  border-radius: 50%;
}

.orbit-core span {
  color: var(--black);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.orbit-core small {
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.coordinate {
  position: absolute;
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.coordinate-top {
  top: 8%;
  left: 13%;
}

.coordinate-bottom {
  right: 12%;
  bottom: 14%;
}

.scroll-cue {
  position: absolute;
  bottom: 2.8rem;
  left: var(--page-padding);
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.scroll-line {
  display: block;
  width: 4rem;
  height: 1px;
  overflow: hidden;
  background: var(--gray-700);
}

.scroll-line::after {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--white);
  content: "";
  animation: scan 2s ease-in-out infinite;
}

.hero-index {
  position: absolute;
  right: var(--page-padding);
  bottom: 2.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.hero-index span {
  padding: 0 0.35rem;
  color: var(--gray-400);
}

.section {
  padding: clamp(6rem, 10vw, 10rem) var(--page-padding);
}

.section-label {
  display: grid;
  grid-template-columns: 4rem auto;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.section-label span {
  color: var(--gray-400);
}

.section-label p {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.section-label p::after {
  width: min(22vw, 15rem);
  height: 1px;
  background: currentcolor;
  opacity: 0.25;
  content: "";
}

.manifesto-content {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(22rem, 2fr);
  gap: 4rem;
  margin-top: clamp(5rem, 10vw, 9rem);
}

.manifesto .section-kicker {
  align-self: start;
  line-height: 1.6;
}

.manifesto h2 {
  font-size: clamp(3rem, 7.6vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.manifesto h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}

.manifesto-note {
  position: relative;
  max-width: 34rem;
  margin-top: 3.5rem;
  margin-left: auto;
  padding: 1.8rem 0 0 2rem;
  border-top: 1px solid var(--line-light);
  color: #42423f;
  font-size: 0.95rem;
  line-height: 1.9;
}

.corner {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(6rem, 10vw, 10rem);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.principles article {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line-light);
}

.principles article:last-child {
  border: 0;
}

.principles article > span {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.principles h3 {
  margin-top: 6rem;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  letter-spacing: -0.06em;
}

.principles p {
  max-width: 18rem;
  margin-top: 1rem;
  color: #5d5d58;
  font-size: 0.82rem;
  line-height: 1.7;
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: clamp(5rem, 8vw, 8rem) 0 4rem;
}

.products-heading h2 {
  font-size: clamp(4rem, 10vw, 10.5rem);
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.products-heading > p {
  padding-bottom: 0.5rem;
  color: var(--gray-400);
  font-size: 0.83rem;
  line-height: 1.8;
}

.product-list {
  border-top: 1px solid var(--white);
}

.product-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 26rem;
  grid-template-columns: 0.35fr 0.65fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  overflow: hidden;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  font-family: inherit;
  transition: color 250ms ease, background-color 250ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0 calc(var(--page-padding) * -1);
  z-index: 0;
  background: var(--white);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover {
  color: var(--black);
}

.product-card:focus-visible {
  z-index: 2;
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.product-card:hover::before {
  transform: scaleY(1);
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-number,
.product-status,
.product-name > p,
.product-action {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.product-status {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.product-status i {
  width: 0.4rem;
  height: 0.4rem;
  background: currentcolor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244, 244, 240, 0.1);
}

.product-name h3 {
  margin-top: 0.8rem;
  font-size: clamp(2.7rem, 6.3vw, 7.2rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.product-symbol {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: clamp(9rem, 15vw, 15rem);
  aspect-ratio: 1;
  opacity: 0.35;
}

.symbol-timeline {
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.symbol-timeline::before,
.symbol-timeline::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 1px;
  background: currentcolor;
  content: "";
  transform: translate(-50%, -50%) rotate(-30deg);
}

.symbol-timeline::after {
  width: 1px;
  height: 130%;
  transform: translate(-50%, -50%) rotate(30deg);
}

.symbol-timeline span {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: currentcolor;
}

.symbol-timeline span:nth-child(1) {
  top: 8%;
  left: 22%;
}

.symbol-timeline span:nth-child(2) {
  top: 47%;
  right: -0.28rem;
}

.symbol-timeline span:nth-child(3) {
  bottom: 6%;
  left: 26%;
}

.product-description {
  grid-column: 3;
  align-self: end;
  max-width: 24rem;
  color: var(--gray-400);
  font-size: 0.83rem;
  line-height: 1.7;
  transition: color 250ms ease;
}

.product-card:hover .product-description {
  color: #4f4f4b;
}

.product-action {
  grid-column: 4;
  align-self: end;
  justify-self: end;
}

.contact {
  position: relative;
  min-height: 85svh;
  overflow: hidden;
}

.contact .section-kicker {
  margin-top: 2rem;
}

.contact h2 {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 7vw, 7rem);
  font-size: clamp(4.2rem, 12vw, 13rem);
  letter-spacing: -0.09em;
  line-height: 0.77;
}

.contact h2 span {
  margin-left: 8%;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}

.contact-link {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(36rem, 100%);
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(4rem, 8vw, 8rem);
  margin-left: auto;
  padding: 1.4rem 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.contact-link span:last-child {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-content: center;
  color: var(--white);
  background: var(--black);
  transition: transform 180ms ease;
}

.contact-link:hover span:last-child {
  transform: translate(0.2rem, -0.2rem);
}

.contact-orbit {
  position: absolute;
  top: 5%;
  right: -15%;
  width: min(60vw, 50rem);
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  inset: 18%;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  content: "";
}

.contact-orbit::after {
  inset: 38%;
  background: var(--black);
}

.contact-orbit span {
  position: absolute;
  top: 50%;
  left: -0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--black);
  border-radius: 50%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
  align-items: end;
  min-height: 14rem;
  padding: 3rem var(--page-padding);
  color: var(--white);
  background: var(--black);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.site-footer > div {
  color: var(--gray-400);
  line-height: 1.8;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-110%);
  }

  50%,
  100% {
    transform: translateX(210%);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .menu-button {
    z-index: 2;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding: 0;
    border: 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    background: none;
    cursor: pointer;
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 1rem;
    height: 0.65rem;
    border-top: 1px solid currentcolor;
    border-bottom: 1px solid currentcolor;
  }

  .menu-button[aria-expanded="true"] .menu-icon {
    border: 0;
  }

  .menu-button[aria-expanded="true"] .menu-icon::before,
  .menu-button[aria-expanded="true"] .menu-icon::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentcolor;
    content: "";
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding: var(--page-padding);
    visibility: hidden;
    background: var(--black);
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 11vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.07em;
  }

  .site-nav a span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 400;
  }

  .hero {
    min-height: 56rem;
  }

  .orbit-visual {
    right: -8rem;
    bottom: -3rem;
  }

  .manifesto-content {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principles h3 {
    margin-top: 3rem;
  }

  .products-heading {
    display: block;
  }

  .products-heading > p {
    margin-top: 2rem;
  }

  .product-card {
    min-height: 28rem;
    grid-template-columns: 0.3fr 1fr;
  }

  .product-name {
    grid-column: 1 / -1;
  }

  .product-description {
    grid-column: 1 / -1;
    align-self: end;
  }

  .product-action {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 4.5rem;
  }

  .hero {
    min-height: 48rem;
    padding-top: 7rem;
  }

  .hero-meta p:last-child,
  .hero-index {
    display: none;
  }

  .hero-copy {
    margin-top: 6rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
    line-height: 0.84;
  }

  .hero h1 span:nth-child(2),
  .hero-description {
    margin-left: 0;
  }

  .hero-description br {
    display: none;
  }

  .orbit-visual {
    right: -7rem;
    bottom: -1rem;
    width: 19rem;
  }

  .scroll-cue {
    bottom: 2rem;
  }

  .manifesto-content {
    gap: 2.5rem;
  }

  .manifesto h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .manifesto-note {
    padding-left: 1.2rem;
  }

  .products-heading h2 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .product-card {
    min-height: 24rem;
    gap: 1.2rem;
  }

  .product-name h3 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .product-symbol {
    right: -1rem;
    bottom: 18%;
  }

  .contact {
    min-height: 42rem;
  }

  .contact h2 {
    font-size: clamp(3.8rem, 18vw, 6.5rem);
  }

  .contact h2 span {
    margin-left: 0;
  }

  .contact-orbit {
    top: 18%;
    right: -45%;
    width: 100vw;
  }

  .site-footer {
    gap: 2rem;
  }
}

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

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