:root {
  --paper: #ece8e1;
  --ink: #2a1426;
  --plum: #331a2e;
  --blue: #b3c7e6;
  --line: rgba(42, 20, 38, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(18px, 3.2vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--plum); color: var(--blue); }
.mono { font-family: "Space Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter);
}
.nav__logo img { height: clamp(20px, 2.2vw, 28px); width: auto; }
.nav__meta { display: flex; align-items: center; gap: 10px; }
.nav__ig { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--plum); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .2; transform: scale(.6); } }

/* ---------- stage ---------- */
.stage {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px 0 0; position: relative; overflow: hidden;
}
.eyebrow { padding: 0 var(--gutter); margin-bottom: clamp(14px, 2.4vh, 28px); display: flex; gap: 14px; }
.eyebrow span { opacity: .5; }

.title { padding: 0 var(--gutter); }
.title .row { display: block; overflow: hidden; padding: .5vw 0; }
.title .in { display: block; transform: translateY(115%); animation: rise 1.2s var(--ease) forwards; }
.title img { width: 100%; height: auto; }
@keyframes rise { to { transform: none; } }

/* info row */
.info {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--gutter);
  margin: clamp(28px, 5vh, 56px) var(--gutter) 0; padding: 22px 0 clamp(26px, 5vh, 50px);
  border-top: 1px solid var(--line);
  opacity: 0; animation: fade 1s .8s var(--ease) forwards;
}
@keyframes fade { to { opacity: 1; } }

.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--line); }
.count div { padding: 0 clamp(10px, 1.6vw, 24px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.count b { font-weight: 500; font-stretch: 88%; font-size: clamp(2.2rem, 5.4vw, 5.4rem); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.count span { opacity: .55; }

.cta {
  display: inline-flex; align-items: center; gap: 16px; justify-self: end;
  padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--plum); color: var(--blue);
  font-weight: 600; font-size: .9rem; letter-spacing: .01em; white-space: nowrap;
  transition: background .4s, color .4s;
}
.cta b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: var(--plum); transition: transform .5s var(--ease); }
.cta:hover { background: var(--blue); color: var(--plum); }
.cta:hover b { background: var(--plum); color: var(--blue); transform: rotate(45deg); }

/* marquee */
.marquee { background: var(--plum); color: var(--blue); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: scroll 40s linear infinite; padding: 12px 0; }
.marquee__track span { font-weight: 800; font-style: italic; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.8rem); letter-spacing: -.01em; padding: 0 .6em; }
.marquee__track em { font-style: normal; align-self: center; opacity: .7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s; }
  html.has-cursor .cursor.on { opacity: 1; }
  .cursor__rot { position: absolute; left: 0; top: 0; will-change: transform; }
  .cursor__trail { position: absolute; right: 0; top: -13px; width: 64px; height: 26px; display: flex; flex-direction: column; justify-content: space-between; transform-origin: right center; transform: scaleX(var(--len, 0)); opacity: var(--op, 0); }
  .cursor__trail i { display: block; height: 3px; background: var(--plum); transform: skewX(-35deg); border-radius: 1px; }
  .cursor__trail i:nth-child(2) { width: 88%; align-self: flex-end; }
  .cursor__trail i:nth-child(3) { width: 74%; align-self: flex-end; }
  .cursor__trail i:nth-child(4) { width: 58%; align-self: flex-end; }
  .cursor__core {
    position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px;
    background: var(--plum); border-radius: 3px; transform: skewX(-18deg) scale(var(--s, 1));
    display: grid; place-items: center; will-change: transform;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), border-radius .45s var(--ease), background .3s;
  }
  .cursor__label { color: var(--plum); opacity: 0; transform: skewX(18deg) scale(.6); transition: opacity .25s, transform .4s var(--ease); font-weight: 700; font-size: .68rem; white-space: nowrap; }
  .cursor.is-label .cursor__core { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--blue); transform: none; box-shadow: 0 0 0 1px var(--plum); }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
  .cursor.is-label .cursor__rot { opacity: 0; }
  .cursor.is-down .cursor__core { --s: .7; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .info { grid-template-columns: 1fr; gap: 28px; }
  .cta { justify-self: start; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__meta { display: none; }
  .count div { padding: 0 8px; }
  .count b { font-size: clamp(1.9rem, 9vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .title .in { transform: none; }
  .info { opacity: 1; }
}
