:root {
  --void: #05060a;
  --ink: #0b0d12;
  --fog: #c9c3b8;
  --mute: #8a8478;
  --paper: #f3eee4;
  --teal: #3ee0c8;
  --violet: #9b7cff;
  --gold: #e8c07a;
  --line: rgba(243, 238, 228, 0.12);
  --glass: rgba(11, 13, 18, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav: 4.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }

body.nav-open { overflow: hidden; }
body.is-touch, body.is-touch * { cursor: auto; }
body.is-touch .cursor { display: none; }

.cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: var(--paper);
}
.cursor__ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(243, 238, 228, 0.55);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
body.is-hovering .cursor__ring {
  width: 64px; height: 64px;
  background: rgba(62, 224, 200, 0.12);
  border-color: var(--teal);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 70;
  background: transparent;
}
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--violet), var(--gold));
}

.noise {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 60;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--void);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.loader__inner { text-align: center; perspective: 600px; }
.loader__mark {
  width: 140px; height: 140px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  animation: spin-orb 4.5s linear infinite;
  filter: drop-shadow(0 0 24px rgba(62, 224, 200, .35));
}
.loader__word {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  margin: 0 0 1.4rem 0.55em;
}
.loader__bar {
  width: 160px; height: 1px; margin: 0 auto;
  background: var(--line); overflow: hidden;
}
.loader__bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  animation: loadbar 1.6s var(--ease) forwards;
}
@keyframes spin-orb {
  to { transform: rotateY(360deg) rotateZ(12deg); }
}
@keyframes loadbar { to { width: 100%; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
  background: linear-gradient(to bottom, rgba(5,6,10,.72), transparent);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav.menu-open {
  backdrop-filter: none;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--serif);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .82rem;
  position: relative;
  z-index: 75;
}
.nav__brand img {
  width: 36px; height: 36px; border-radius: 50%;
  box-shadow: 0 0 16px rgba(62, 224, 200, .25);
}
.nav__links {
  display: flex; align-items: center; gap: 1.6rem;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fog);
}
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  padding: .45rem 1rem;
  border: 1px solid rgba(232, 192, 122, .45);
  color: var(--gold) !important;
  border-radius: 999px;
}
.nav__cta::after { display: none; }
.nav__toggle {
  display: none; width: 42px; height: 42px;
  background: none; border: 0; padding: 0;
  position: relative; z-index: 75;
}
.nav__toggle span {
  display: block; width: 22px; height: 1px; margin: 7px auto;
  background: var(--paper); transition: transform .35s var(--ease), opacity .35s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: end start;
  padding: calc(var(--nav) + 2rem) 1.5rem 5rem;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: ken 18s ease-in-out alternate infinite;
}
@keyframes ken {
  to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: screen; opacity: .55; pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 20% 80%, rgba(5,6,10,.15), transparent 50%),
    linear-gradient(180deg, rgba(5,6,10,.35) 0%, rgba(5,6,10,.2) 40%, rgba(5,6,10,.85) 100%);
}
.hero__veil::after {
  content: ""; position: absolute; inset: -20%;
  background: conic-gradient(from 180deg at 70% 20%, transparent 0 60%, rgba(155,124,255,.18), rgba(62,224,200,.12), transparent);
  animation: aurora-spin 22s linear infinite;
}
@keyframes aurora-spin { to { transform: rotate(360deg); } }

.hero__copy { position: relative; z-index: 1; max-width: 42rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.2rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(62, 224, 200, .6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 12px rgba(62, 224, 200, 0); }
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0 0 1.4rem;
}
.hero__title .line {
  display: block; overflow: hidden;
}
.hero__title .line span {
  display: block;
  transform: translateY(110%);
}
html.is-ready .hero__title .line span {
  animation: rise 1.1s var(--ease) forwards;
}
html.is-ready .hero__title .line:nth-child(2) span { animation-delay: .12s; }
html.is-ready .hero__title .line:nth-child(3) span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.grad {
  background: linear-gradient(120deg, var(--paper) 10%, var(--teal) 40%, var(--violet) 70%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.lede {
  max-width: 36rem; color: var(--fog); font-size: 1.05rem; margin: 0 0 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__scroll {
  position: absolute; right: 1.6rem; bottom: 1.8rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mute);
}
.hero__scroll i {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; font-weight: 500;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s;
}
.btn--gold {
  background: linear-gradient(180deg, #f0d39a, var(--gold));
  color: #1a1408;
  box-shadow: 0 10px 40px rgba(232, 192, 122, .18);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 192, 122, .28); }
.btn--ghost {
  border-color: var(--line); color: var(--paper);
  background: rgba(243,238,228,.03);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 3rem; width: max-content;
  padding: 1rem 0;
  font-family: var(--serif);
  font-size: 1.4rem; font-style: italic;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute);
  animation: ticker 28s linear infinite;
}
.marquee__track span { position: relative; }
.marquee__track span::after {
  content: "✦"; position: absolute; right: -1.8rem; color: var(--gold); font-style: normal; font-size: .7rem;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: 8rem 0 5rem; }
.kicker {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.05;
  margin: 0 0 1.8rem;
}
.manifesto__text .word {
  display: inline-block;
  margin-right: .28em;
  opacity: 0; transform: translateY(24px);
  filter: blur(8px);
  animation: word-in .9s var(--ease) forwards;
}
.manifesto__text .word:nth-child(1) { animation-delay: .05s; }
.manifesto__text .word:nth-child(2) { animation-delay: .12s; }
.manifesto__text .word:nth-child(3) { animation-delay: .19s; }
.manifesto__text .word:nth-child(4) { animation-delay: .26s; }
.manifesto__text .word:nth-child(5) { animation-delay: .33s; }
.manifesto__text .word:nth-child(6) { animation-delay: .45s; color: var(--teal); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.manifesto__sub { max-width: 38rem; color: var(--mute); margin: 0; }

/* ---------- stats ---------- */
.stats { padding: 0 0 6rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 1.8rem 1.2rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
[hidden] { display: none !important; }
.stat strong {
  display: block;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--paper), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--mute); font-size: .85rem; }

/* ---------- collection ---------- */
.collection { padding: 2rem 0 7rem; }
.section-head { margin-bottom: 2.4rem; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 0 0 .6rem;
}
.section-head__sub { color: var(--mute); margin: 0; max-width: 32rem; }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.card {
  background: rgba(243,238,228,.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s;
}
.card:hover {
  border-color: rgba(62, 224, 200, .35);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__index {
  position: absolute; top: .8rem; left: .8rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
  padding: .3rem .55rem;
  background: rgba(5,6,10,.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.card__body { padding: 1.2rem 1.2rem 1.4rem; }
.card__body h3 {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin: 0 0 .4rem;
}
.card__body p { color: var(--fog); margin: 0 0 .9rem; font-size: .95rem; }
.card__meta {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}

/* ---------- process ---------- */
.process { padding: 0 0 7rem; }
.process__grid {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start;
}
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  transition: background .4s, padding .4s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { background: linear-gradient(90deg, rgba(62,224,200,.06), transparent); padding-left: .6rem; }
.step span {
  font-family: var(--mono); color: var(--gold); letter-spacing: .12em; padding-top: .35rem;
}
.step h3 {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 0 0 .25rem;
}
.step p { margin: 0; color: var(--mute); }

/* ---------- atelier ---------- */
.atelier {
  display: grid; grid-template-columns: 1.15fr .85fr;
  min-height: 70vh;
  border-block: 1px solid var(--line);
}
.atelier__media { overflow: hidden; position: relative; }
.atelier__media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 420px;
  will-change: transform;
}
.atelier__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 3rem;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(155,124,255,.12), transparent 50%),
    var(--ink);
}
.atelier__copy h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.2rem); margin: 0 0 1rem;
}
.atelier__copy p { color: var(--fog); max-width: 32rem; }
.chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; padding: 0; margin: 1.4rem 0 0;
}
.chips li {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .8rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--fog);
}

/* ---------- commission ---------- */
.commission {
  position: relative; padding: 7rem 0;
  overflow: hidden;
}
.commission__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.2) brightness(.35);
  transform: scale(1.05);
}
.commission__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(5,6,10,.2), rgba(5,6,10,.82));
}
.panel {
  position: relative;
  max-width: 640px; margin: 0 auto;
  padding: 2.4rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
}
.panel h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .6rem;
}
.panel__lede { color: var(--mute); margin: 0 0 1.6rem; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: .4rem; }
.form span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.form input, .form textarea {
  background: rgba(5,6,10,.45);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem .9rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.form input:focus, .form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 224, 200, .15);
}
.form button { grid-column: 1 / -1; margin-top: .4rem; border: 0; cursor: none; }
.thanks {
  text-align: center; padding: 1rem 0 .4rem;
  animation: word-in .8s var(--ease);
}
.thanks img { margin: 0 auto 1rem; border-radius: 50%; }
.thanks h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin: 0 0 .4rem; }
.thanks p { color: var(--mute); margin: 0; }

/* ---------- footer ---------- */
.footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
}
.footer__inner {
  display: grid; gap: .6rem; justify-items: start;
}
.footer code {
  font-family: var(--mono); font-size: .78em; color: var(--gold);
}
.footer__fine { font-size: .82rem; margin: 0; }

/* ---------- reveals ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  filter: blur(6px);
  animation: none;
}
.reveal.is-in {
  animation: word-in .9s var(--ease) forwards;
}
.delay-1 { animation-delay: .1s !important; }
.delay-2 { animation-delay: .2s !important; }
.delay-3 { animation-delay: .3s !important; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .cards, .stats__grid, .process__grid, .atelier, .form {
    grid-template-columns: 1fr;
  }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100svh;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #05060a;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .nav__links.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__toggle { display: block; }
  .hero { place-items: end start; }
  .atelier__copy { padding: 2.4rem 1.4rem 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__title .line span, .reveal, .manifesto__text .word {
    opacity: 1; transform: none; filter: none;
  }
  .loader { display: none; }
  html { scroll-behavior: auto; }
}
