:root {
  --void: #070707;
  --ink: #111111;
  --paper: #efe8dc;
  --paper-2: #e6ddcf;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(17, 17, 17, 0.14);
  --mist: #cfc6b6;
  --accent: #c4a06a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--void); }
body {
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--void);
  color: var(--paper);
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(1440px, calc(100% - 3rem));
  margin: 0 auto;
}

.t-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.h-split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}
.h-split .left,
.h-split .right {
  font-size: clamp(2.4rem, 6.4vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.h-split .right { text-align: right; }

.char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.char span {
  display: inline-block;
  transform: translateY(110%);
}
.char.is-space { width: 0.28em; }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--void);
  color: var(--paper);
}
.preloader p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  mix-blend-mode: difference;
  color: #fff;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.5rem;
  gap: 1rem;
}
.logo {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-desktop {
  display: flex;
  gap: 0.35rem;
}
.nav-flip {
  position: relative;
  display: inline-flex;
  height: 1.7rem;
  overflow: hidden;
  padding: 0 0.85rem;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-flip span {
  display: block;
  transition: transform 0.45s var(--ease);
}
.nav-flip span:last-child {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(110%);
}
.nav-flip:hover span:first-child { transform: translateY(-110%); }
.nav-flip:hover span:last-child { transform: translateY(0); }
.header-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.menu-btn {
  display: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--void);
  color: var(--paper);
  padding: 5.5rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
.menu.is-open { display: flex; }
.menu a {
  text-decoration: none;
  font-size: clamp(2rem, 8vw, 3.4rem);
  letter-spacing: -0.04em;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero-pin {
  height: 320vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--void);
}
.hero-scene {
  position: absolute;
  inset: 0;
}
.hero-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transform-origin: 42% 36%;
  will-change: transform;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 28%, rgba(0, 0, 0, 0.28) 70%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 28%, transparent 62%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.hero-titles {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 0 2.4rem;
  pointer-events: none;
}
.hero-copy {
  max-width: 18rem;
  font-size: 0.92rem;
  color: rgba(239, 232, 220, 0.78);
}
.hero-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.scroll-hint {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 232, 220, 0.7);
}
.hero-fall {
  position: absolute;
  inset: 0;
  background: var(--void);
  opacity: 0;
  pointer-events: none;
}

/* Shared section */
.section {
  position: relative;
  padding: 7rem 0;
}
.section-dark { background: var(--void); color: var(--paper); }
.section-light { background: var(--paper); color: var(--ink); }

.lead {
  max-width: 38rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.section-light .stats { border-top-color: var(--line-dark); }
.stat-n {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  font-weight: 600;
}
.stat-l {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.62;
}

/* Work */
.work-head { margin-bottom: 4rem; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.work-card {
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  padding: 1.6rem;
  text-decoration: none;
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--ink);
}
.work-card .meta {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.work-card h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
}
.work-card p {
  margin-top: auto;
  max-width: 22rem;
  opacity: 0.72;
}
.work-card .go {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Approach */
.approach-list { border-top: 1px solid var(--line-dark); }
.approach-item { border-bottom: 1px solid var(--line-dark); }
.approach-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  text-align: left;
}
.approach-btn .idx {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.45;
}
.approach-btn h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.plus {
  width: 1.6rem;
  height: 1.6rem;
  position: relative;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.plus::before { width: 100%; height: 1px; }
.plus::after { width: 1px; height: 100%; transition: transform 0.35s var(--ease); }
.approach-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.approach-body {
  display: none;
  padding: 0 0 1.5rem 5rem;
  max-width: 38rem;
  opacity: 0.72;
}
.approach-item.is-open .approach-body { display: block; }

/* World */
.world-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.orb {
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #d9c7a2 0%, transparent 22%),
    radial-gradient(circle at 70% 60%, rgba(196, 160, 106, 0.35), transparent 40%),
    repeating-radial-gradient(circle at 50% 50%, #1a1a1a 0 1px, transparent 1px 14px),
    radial-gradient(circle at 50% 50%, #161616, #050505 72%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.55), 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: spin 48s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.world-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}
.world-copy p {
  margin: 0;
  max-width: 28rem;
  opacity: 0.72;
}

/* Contact */
.contact-block h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.mail {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 3rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.62;
}
.footer a { text-decoration: none; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .header-end .nav-flip { display: none; }
  .menu-btn { display: inline-flex; }
  .header-inner { grid-template-columns: 1fr auto; }
  .h-split { flex-direction: column; align-items: flex-start; }
  .h-split .right { text-align: left; }
  .stats,
  .work-grid,
  .world-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 20rem; }
  .approach-body { padding-left: 0; }
  .approach-btn { grid-template-columns: 2.4rem 1fr auto; }
  .hero-copy { display: none; }
  .container { width: min(1440px, calc(100% - 2rem)); }
}
