/* ───────────────── Tokens ───────────────── */
:root {
  --bg: #0e0e0e;
  --bg-2: #141414;
  --fg: #f3efe7;
  --fg-dim: #8a857c;
  --line: rgba(243, 239, 231, 0.12);
  --accent: #e8739a;
  --accent-2: #d4ede4;
  --cursor-color: #e8739a;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.6, 0.05, 0.1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

html { scroll-behavior: auto; }
body { overflow-x: hidden; min-height: 100vh; }
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; }

::selection { background: var(--accent); color: #0e0e0e; }

@media (hover: hover) and (pointer: fine) {
  html, body, a, button, input, textarea, select { cursor: none; }
  input, textarea, select { cursor: text; }
}

/* ───────────────── Figma-style cursor ───────────────── */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: flex; align-items: flex-start; gap: 2px;
  color: var(--cursor-color);
  transition: opacity .25s var(--ease);
  will-change: transform;
}
.cursor-arrow {
  display: block; width: 14px; height: 19px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.cursor-name {
  padding: 3px 9px; border-radius: 4px 8px 8px 8px;
  background: var(--cursor-color);
  color: #fff;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap;
  transform: translate(0, 6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transition: background .35s var(--ease), color .35s var(--ease), padding .25s var(--ease), font-size .25s var(--ease);
}
.cursor.is-link .cursor-name { background: var(--fg); color: #0e0e0e; }
.cursor.is-cta .cursor-name { background: var(--accent); color: #0e0e0e; padding: 8px 18px; font-size: 13px; font-weight: 700; }
.cursor.is-cta .cursor-arrow { opacity: 0; }
.cursor.is-view .cursor-name { background: var(--fg); color: #0e0e0e; padding: 8px 16px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cursor.is-view .cursor-name::before { content: 'VIEW · '; opacity: .6; }
.cursor.is-view .cursor-arrow { opacity: 0; }
.cursor.is-image .cursor-name { background: var(--accent); color: #fff; }
.cursor.is-hide { opacity: 0; }
.cursor.is-glitter { opacity: 0; }
@media (hover: none) { .cursor { display: none; } }
@media (max-width: 900px) { .cursor { display: none !important; } }

/* ───────────────── Glitter canvas ───────────────── */
.glitter-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 9997; }

/* ───────────────── Idle + Secret bubbles ───────────────── */
.idle-bubble, .secret-bubble {
  position: fixed; pointer-events: none; z-index: 9998;
  padding: 8px 14px; border-radius: 100px;
  background: var(--fg); color: #0e0e0e;
  font-size: 12px; letter-spacing: .02em;
  opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
}
.idle-bubble.is-on, .secret-bubble.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.secret-bubble { background: var(--accent); color: #fff; font-style: italic; font-family: var(--serif); font-size: 16px; }

/* ───────────────── Loader ───────────────── */
.loader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); color: var(--fg); padding: 32px; }
.loader-corner-label {
  position: absolute; bottom: 64px; left: 32px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim);
}
.loader-corner-count {
  position: absolute; bottom: 50px; right: 32px;
  font-family: var(--serif); font-size: clamp(80px, 16vw, 220px);
  line-height: 1; display: flex; align-items: baseline;
  color: var(--fg);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.loader.is-prompting .loader-corner-count { opacity: .22; transform: scale(.96); }
.loader-pct { font-size: .35em; margin-left: .15em; color: var(--fg-dim); font-family: var(--sans); }

.loader-bar { position: absolute; left: 32px; right: 32px; bottom: 32px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: var(--fg); }

.loader-prompt {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 32px;
  text-align: center;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.loader-prompt.is-on { display: flex; opacity: 1; }
.loader-prompt-eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-dim);
}
.loader-prompt-label {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 460px;
  padding-bottom: .1em;
}
#loaderName {
  width: min(320px, 80vw);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  padding: 8px 12px 10px;
  margin-top: 4px;
  color: var(--accent);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1; letter-spacing: -.01em;
  text-align: center;
  outline: none;
  caret-color: var(--accent);
}
#loaderName::placeholder { color: var(--fg-dim); opacity: .35; }
.loader-prompt-row {
  display: flex; gap: 22px; align-items: center;
  margin-top: 20px;
}
.loader-prompt-submit {
  padding: 14px 26px; border-radius: 100px;
  background: var(--fg); color: #0e0e0e;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.loader-prompt-submit:hover { transform: translateY(-2px); background: var(--accent); color: #0e0e0e; }
.loader-prompt-skip {
  font-size: 12px; color: var(--fg-dim);
  text-decoration: underline; text-underline-offset: 4px;
  letter-spacing: .04em;
  transition: color .25s var(--ease);
}
.loader-prompt-skip:hover { color: var(--fg); }

/* ───────────────── Nav ───────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: linear-gradient(180deg, rgba(14,14,14,0.66) 0%, rgba(14,14,14,0.32) 100%);
  border-bottom: 1px solid rgba(243,239,231,0.06);
  transition: padding .35s var(--ease), background .35s var(--ease);
}
.nav.is-scrolled { padding: 12px 32px; background: rgba(14,14,14,0.82); }

.nav-mark { display: inline-flex; align-items: baseline; gap: 2px; color: var(--fg); }
.nav-mark-text {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; line-height: 1;
  letter-spacing: -0.015em;
  padding-bottom: .05em;
}
.nav.is-scrolled .nav-mark-text { font-size: 22px; }
.nav-mark.is-wobble .nav-mark-text { animation: wobble .6s var(--ease); display: inline-block; }
@keyframes wobble { 0%,100% { transform: translateY(0); } 25% { transform: translate(-2px, -3px) rotate(-2deg); } 50% { transform: translate(3px, 1px) rotate(2deg); } 75% { transform: translate(-1px, 2px) rotate(-1deg); } }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; letter-spacing: .01em; position: relative; padding: 6px 0; color: var(--fg); }
.nav-links a::after { content:''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; transition: border-color .3s var(--ease), background .3s var(--ease); color: var(--fg); }
.nav-cta:hover { border-color: var(--fg); background: rgba(243,239,231,0.04); }
.nav-cta-pulse { width: 7px; height: 7px; border-radius: 50%; background: #f3efe7; position: relative; }
.nav-cta-pulse::after { content:''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #f3efe7; animation: ringpulse 1.8s var(--ease) infinite; }
@keyframes ringpulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.nav-cta-arrow { display: inline-block; transition: transform .35s var(--ease); }
.nav-cta:hover .nav-cta-arrow { transform: translate(2px, -2px); }

/* Hamburger button (mobile only) */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-left: 10px;
  transition: border-color .3s var(--ease);
}
.nav-burger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--fg);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-burger.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--bg);
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: 80px 24px 96px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  pointer-events: none;
}
.mobile-nav.is-open { transform: translateY(0); pointer-events: auto; }
.mobile-nav-close {
  position: absolute; top: 22px; right: 20px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--fg); font-size: 16px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.mobile-nav-close:hover { background: var(--fg); color: #0e0e0e; }
.mobile-nav-links {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
}
.mobile-nav-link {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(36px, 11vw, 56px);
  line-height: 1.0; letter-spacing: -.02em;
  padding: 14px 0;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), padding .35s var(--ease);
}
@media (hover: hover) { .mobile-nav-link:hover { color: var(--accent); padding-left: 12px; } }
@media (hover: none) { .mobile-nav-link:active { color: var(--accent); opacity: .8; } }
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-foot { position: absolute; bottom: 28px; left: 32px; }

@media (max-width: 900px) {
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }  /* Contact is in the hamburger menu */
  .nav-burger { display: inline-flex; margin-left: auto; }
  .nav-mark-text { font-size: 22px; }
  .mobile-nav { padding: 70px 24px 32px; }
  .mobile-nav-link { font-size: clamp(30px, 9.5vw, 44px); padding: 12px 0; }
  .mobile-nav-foot { left: 24px; bottom: 24px; }
}

/* ───────────────── Section primitives ───────────────── */
.section-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 32px; margin-bottom: 48px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow-num { color: var(--fg); font-family: var(--serif); font-style: italic; font-size: 22px; text-transform: none; letter-spacing: 0; }
.eyebrow-right { font-style: italic; font-family: var(--serif); text-transform: none; font-size: 16px; letter-spacing: 0; }

.micro { font-size: 12px; letter-spacing: .04em; color: var(--fg); }
.micro.muted { color: var(--fg-dim); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }

.meta-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ───────────────── Hero ───────────────── */
.hero { min-height: 100vh; padding: 120px 32px 50px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.hero-meta { display: inline-flex; align-items: center; font-size: 12px; letter-spacing: .04em; color: var(--fg-dim); text-transform: none; max-width: 80vw; }
.hero-meta .meta-text { display: inline-block; transition: opacity .35s var(--ease); }

.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 36px; }

.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 10.5vw, 180px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: min(1500px, calc(100vw - 280px));
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.22em;
  row-gap: 0;
}
.hero-title .line { display: inline-block; padding-bottom: 0.18em; }
.hero-title .row-break { flex-basis: 100%; height: 0; }
.hero-title .word { display: inline-block; opacity: 0; will-change: opacity, transform; }
.hero-title .punct { margin-left: -0.04em; }
.hero-title .char { display: inline-block; will-change: transform; }

/* Word rotator — word slot height matches window so no bleed */
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  box-sizing: content-box;
  padding: 0.05em 0.04em 0.22em;   /* tiny top room + descender */
  margin: -0.05em -0.04em -0.22em; /* keep baseline aligned with surrounding text */
  opacity: 0;
  min-width: 1em;
  transition: width 0.7s var(--ease);
}
.rotator-track {
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease);
  will-change: transform;
}
.rotator-word {
  display: block;
  height: 1.27em;       /* match rotator visible area (1 + .05 + .22) */
  line-height: 1.27;    /* center text vertically within slot */
  font-style: italic; color: var(--accent); white-space: nowrap;
  padding-right: .04em;
}

/* Hero sticker — brushed-metal pin, subtle pink border, rotating text */
.hero-sticker {
  position: absolute;
  right: 5vw; top: auto; bottom: 18vh;
  width: clamp(160px, 14vw, 200px);
  aspect-ratio: 1 / 1;
  height: auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(243, 239, 231, 0.10);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.06) 0%, transparent 38%),
    radial-gradient(circle at 70% 75%, rgba(232, 115, 154, 0.12) 0%, transparent 55%),
    linear-gradient(155deg, #1a1a1a 0%, #0f0f0f 65%, #181818 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 115, 154, 0.10),
    0 0 16px rgba(232, 115, 154, 0.06),
    0 22px 50px rgba(0, 0, 0, 0.55);
  cursor: grab;
  touch-action: none;
  z-index: 8;
  transform: rotate(-6deg);
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.hero-sticker:hover {
  transform: rotate(-2deg) scale(1.04);
  border-color: rgba(232, 115, 154, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 115, 154, 0.25),
    0 0 22px rgba(232, 115, 154, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.6);
}
.hero-sticker.is-dragging { cursor: grabbing; transition: none; }

.hero-sticker-svg {
  position: absolute; inset: -4px;
  width: calc(100% + 8px); height: calc(100% + 8px);
  animation: spin 22s linear infinite;
  pointer-events: none;
  overflow: visible;
}
.hero-sticker-text {
  fill: var(--fg);
  font-family: var(--sans);
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
}
.hero-sticker-center {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  z-index: 1;
}
.hero-sticker-arrow {
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  transition: transform .4s var(--ease);
}
.hero-sticker:hover .hero-sticker-arrow {
  transform: translate(2px, -2px);
}
.hero-sticker-hint {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.hero-sticker:hover .hero-sticker-hint { opacity: .55; }

@media (max-width: 1100px) {
  .hero-sticker { width: clamp(130px, 16vw, 170px); right: 4vw; bottom: auto; top: auto; bottom: 14vh; }
  .hero-sticker-arrow { font-size: 24px; }
}
@media (max-width: 768px) {
  .hero-sticker { width: clamp(110px, 28vw, 140px); right: 4vw; bottom: 32px; }
  .hero-sticker-arrow { font-size: 20px; }
  .hero-sticker-hint { display: none; }
}

/* Hero subheadline */
.hero-sub {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55; letter-spacing: 0.01em;
  color: rgba(243, 239, 231, 0.6);
  margin-top: 24px;
}

/* Ghost cursors (Figma multiplayer easter egg) */
.ghost-cursors {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}
.ghost {
  position: absolute; top: 0; left: 0;
  display: inline-flex; align-items: flex-start; gap: 4px;
  opacity: 0;
  transition: opacity .9s var(--ease);
  will-change: transform;
}
.ghost.is-on { opacity: 0.6; }
.ghost-arrow {
  font-size: 14px;
  line-height: 1;
  transform: rotate(-30deg);
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.ghost-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 3px 8px;
  border-radius: 3px 7px 7px 7px;
  white-space: nowrap;
  transform: translateY(6px);
}
.ghost-mint .ghost-arrow { color: #d4ede4; }
.ghost-mint .ghost-label { background: #d4ede4; color: #0e0e0e; }
.ghost-pink .ghost-arrow { color: #e8739a; }
.ghost-pink .ghost-label { background: #e8739a; color: #fff; }

/* Circle CTA — absolute, partially above the fold */
.circle-cta {
  position: absolute;
  right: 4vw; top: 32vh;
  width: 170px; height: 170px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(14,14,14,0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  overflow: visible;
  z-index: 5;
}
.circle-cta:hover { background: var(--accent); border-color: var(--accent); }
.circle-cta:hover .circle-cta-arrow { color: #0e0e0e; }
.circle-cta-svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.circle-cta-text-svg { fill: var(--fg); font-family: var(--sans); font-size: 12px; letter-spacing: .14em; font-weight: 500; text-transform: uppercase; }
.circle-cta-arrow { font-size: 28px; transition: transform .4s var(--ease), color .4s var(--ease); }
.circle-cta:hover .circle-cta-arrow { transform: translateY(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .hero-title { max-width: 100%; font-size: clamp(56px, 10vw, 140px); }
}
@media (max-width: 900px) {
  /* Hero: MAX the viewport — big title, ticker fixed-height (no truncate, no push) */
  .hero {
    padding: 72px 20px 28px;
    min-height: 100svh;
    min-height: 100vh;
    justify-content: space-between;
    gap: 0;
    position: relative;
    overflow: hidden;
  }
  .hero-content { flex: 1; justify-content: flex-end; padding-bottom: 24px; }
  .hero-sub { font-size: 14px; margin-top: 14px; max-width: calc(100% - 110px); }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -140px; right: -140px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(232,115,154,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-meta {
    font-size: 11px;
    letter-spacing: .015em;
    height: 14px;          /* fixed: long text overflows visually, doesn't push */
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    display: flex; align-items: center;
    flex-shrink: 0;
  }
  .hero-meta .meta-dot { flex-shrink: 0; }
  .hero-meta .meta-text { display: inline-block; }

  .hero-title {
    font-size: clamp(60px, 19vw, 110px);
    margin: 0;
    line-height: 0.94;
    max-width: 100%;
    flex: 0 0 auto;
    /* Mobile: stack each .line as its own row */
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 0;
  }
  .hero-title .line { padding-bottom: 0.08em; }
  .hero-title .row-break { display: none; }
  /* Sticker: bottom-right, scales with viewport */
  .hero-sticker {
    position: absolute;
    bottom: 32px; right: 16px; top: auto;
    width: clamp(110px, 28vw, 140px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    transform: rotate(-8deg);
    z-index: 5;
  }
  .hero-sticker-arrow { font-size: 20px; }
  .hero-sticker-hint { display: none; }
  .hero-foot { display: none; }
}

/* ───────────────── Marquee ───────────────── */
.marquee { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 40px; font-family: var(--serif); font-size: clamp(28px, 6vw, 96px); animation: marquee 50s linear infinite; font-style: italic; padding-bottom: .15em; }
@media (max-width: 900px) {
  .marquee { padding: 22px 0; }
  .marquee-track { font-size: 30px; gap: 24px; }
}
.marquee-track span { letter-spacing: -0.02em; }
.marquee-dot { font-style: normal; color: var(--accent); font-size: .5em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───────────────── Manifesto ───────────────── */
.manifesto { padding: 100px 32px 120px; background: var(--bg); position: relative; z-index: 2; }
.manifesto-text { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 72px); line-height: 1.25; letter-spacing: -0.02em; max-width: 1400px; padding-bottom: .15em; }
.manifesto-text em { font-style: italic; color: var(--accent); }
.manifesto-text .reveal-word,
.services-intro .reveal-word { display: inline-block; white-space: nowrap; }
.manifesto-text .char,
.services-intro .char { display: inline-block; opacity: .15; transition: opacity .18s linear; }
.manifesto-text .char.in,
.services-intro .char.in { opacity: 1; }

@media (max-width: 768px) { .manifesto { padding: 60px 20px 70px; } }

/* ───────────────── Work / Horizontal scroll (sticky-based) ───────────────── */
.work { background: var(--bg); position: relative; z-index: 3; }
.work-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 60px;
}
.work-sticky .section-head { flex-shrink: 0; margin-bottom: 32px; }
.work-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.work-track { display: flex; gap: 32px; padding: 0 32px; will-change: transform; }
.work-card {
  position: relative;
  flex: 0 0 auto;
  width: 540px; height: 640px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color .4s var(--ease), border-radius .55s var(--ease), transform .5s var(--ease);
}
.work-card:hover { border-color: var(--fg-dim); border-radius: 0; }
.work-card-media { flex: 1; overflow: hidden; position: relative; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease), filter .6s var(--ease); filter: grayscale(.2) brightness(.95); }
.work-card:hover .work-card-media img { transform: scale(1.06); filter: grayscale(0) brightness(1); }

.work-card-tint {
  background: radial-gradient(ellipse 80% 60% at 30% 30%, var(--tintA, var(--accent)) 0%, var(--tintB, var(--bg-2)) 70%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  position: relative;
}
.work-card-tint::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.work-card-glyph { font-size: 80px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,.3)); }
.work-card-glyph-name { font-family: var(--serif); font-style: italic; font-size: 42px; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.4); padding-bottom: .1em; }

.work-card-foot { padding: 22px 26px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); }
.work-card-title { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.work-card-tags { display: flex; gap: 14px; font-size: 11px; color: var(--fg-dim); letter-spacing: .1em; text-transform: uppercase; }
.work-card-index { position: absolute; top: 18px; right: 22px; font-size: 11px; color: var(--fg-dim); letter-spacing: .12em; font-variant-numeric: tabular-nums; }

.work-card-end { background: transparent; border-color: var(--line); border-radius: 24px; }
.work-end-link { padding: 40px 32px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.work-end-title { font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); line-height: 1.05; letter-spacing: -.02em; font-style: italic; padding-bottom: .12em; color: var(--fg); }
.work-end-arrow { font-family: var(--serif); font-size: 96px; align-self: flex-end; transition: transform .5s var(--ease); line-height: 1; color: var(--fg); }
.work-card-end:hover .work-end-arrow { transform: translate(8px, -8px); }
.work-end-sub { font-size: 13px; color: var(--fg-dim); max-width: 320px; }

@media (max-width: 900px) {
  /* Mobile: keep the sticky vertical-drives-horizontal scroll (same UX as desktop) */
  .work { padding: 0; }
  .work-sticky { padding-top: 70px; }
  .work-sticky .section-head { margin-bottom: 18px; padding: 0 20px; }
  .work-track { gap: 14px; padding: 0 20px; }
  .work-card {
    width: 72vw;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    flex-shrink: 0;
  }
  .work-card-foot { padding: 14px 16px 16px; }
  .work-card-title { font-size: 17px; }
  .work-card-tags { font-size: 10px; gap: 8px; }
  .work-card-index { top: 12px; right: 14px; font-size: 10px; }
  .work-card-glyph { font-size: 56px; }
  .work-card-glyph-name { font-size: 28px; }
  .work-end-title { font-size: clamp(28px, 7vw, 38px); }
  .work-end-arrow { font-size: 56px; }
}

/* ───────────────── Services (sticky stack) ───────────────── */
.services { padding: 50px 0 0; position: relative; background: var(--bg); z-index: 4; }
.services-intro {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 1100px;
  padding: 0 32px 50px;
}
.services-intro em { font-style: italic; color: var(--accent); }

.services-stack {
  display: flex; flex-direction: column;
  padding: 0 32px 80px;
  position: relative;
  --card-stack-top: 100px;
}
.srv-card {
  position: sticky;
  top: var(--card-stack-top);
  height: 78vh; min-height: 540px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: var(--bg, #141414);
  border: 1px solid var(--line);
  padding: 56px 60px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  overflow: hidden;
  transition: transform .8s var(--ease);
  box-shadow: 0 -40px 80px rgba(0,0,0,0.5);
}
.srv-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 70% at 80% 100%, var(--accent) 0%, transparent 60%);
  opacity: 0.12; pointer-events: none;
}
.srv-num { font-size: 14px; letter-spacing: .14em; color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.srv-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 1.0; letter-spacing: -0.035em;
  padding-bottom: .1em;
  align-self: end;
}
.srv-tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--accent);
  padding-bottom: .1em;
}
.srv-desc {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55; color: var(--fg-dim);
  max-width: 720px;
}
.srv-detail {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
}
.srv-detail span {
  display: inline-flex; padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px; letter-spacing: .04em; color: var(--fg);
}

.services-cta {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0 32px 80px; text-align: center;
}
.services-cta-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg-dim);
}
.services-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--accent); border-radius: 100px;
  color: var(--fg); font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.services-cta-btn:hover { background: var(--accent); color: #0e0e0e; transform: translateY(-2px); }
.services-cta-arrow { display: inline-block; transition: transform .35s var(--ease); }
.services-cta-btn:hover .services-cta-arrow { transform: translate(3px, -3px); }

@media (max-width: 768px) {
  .services-stack { padding: 0 20px 60px; }
  .srv-card { padding: 32px 28px; height: auto; min-height: auto; }
  .srv-title { font-size: clamp(40px, 13vw, 80px); }
  .services-cta { padding: 0 20px 60px; }
}

/* ───────────────── About ───────────────── */
.about { padding: 80px 32px 100px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: end; max-width: 1400px; }
.about-photo {
  position: relative; overflow: hidden;
  border-radius: 24px; aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  touch-action: none;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  will-change: transform;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 24px;
  transition: transform 1.0s var(--ease), filter 1.0s var(--ease);
  filter: grayscale(.55) contrast(1.05) brightness(.92);
}
.about-photo:hover img,
.about-photo.is-active img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1) brightness(1);
}
.about-photo.is-tilting { transition: transform .15s linear; }
.about-photo-caption { position: absolute; bottom: 18px; left: 20px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--fg); mix-blend-mode: difference; }
.about-text { padding-bottom: 12px; display: flex; flex-direction: column; gap: 20px; }
.about-p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.35; letter-spacing: -0.01em; padding-bottom: .1em; }
.about-p em { font-style: italic; color: var(--accent); }

.about-lore-link {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 16px 28px; margin-top: 18px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: transparent;
  color: var(--fg);
  align-self: flex-start;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.about-lore-text { position: relative; }
.about-lore-text::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--accent); opacity: .5;
  transform-origin: right; transform: scaleX(1);
  transition: transform .4s var(--ease);
}
.about-lore-link:hover { background: var(--accent); color: #0e0e0e; transform: translateY(-2px); }
.about-lore-link:hover .about-lore-text::after { background: #0e0e0e; }
.about-lore-arrow { transition: transform .35s var(--ease); font-size: 18px; }
.about-lore-link:hover .about-lore-arrow { transform: translate(8px, 0); }

@media (max-width: 900px) {
  .about { padding: 60px 20px 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ───────────────── CTA Big ───────────────── */
.cta { padding: 110px 32px 110px; text-align: center; position: relative; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,115,154,.18) 0%, transparent 70%), var(--bg); }
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(72px, 16vw, 280px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.cta-headline .line { display: block; overflow: hidden; padding: 0.05em 0 0.18em; margin-bottom: -0.16em; }
.cta-headline .word { display: inline-block; }
.cta-headline .italic { font-style: italic; color: var(--accent); }
.cta-headline .punct { margin-left: -.05em; }

.cta-mail { display: inline-flex; align-items: center; gap: 16px; margin-top: 56px; font-size: clamp(18px, 2vw, 24px); padding: 22px 36px; border: 1px solid var(--line); border-radius: 100px; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); color: var(--fg); }
.cta-mail:hover { background: var(--fg); color: #0e0e0e; border-color: var(--fg); }
.cta-mail-arrow { transition: transform .4s var(--ease); }
.cta-mail:hover .cta-mail-arrow { transform: translate(4px, -4px); }

@media (max-width: 768px) { .cta { padding: 70px 20px 70px; } }

/* ───────────────── Footer ───────────────── */
.foot { padding: 60px 32px 0; border-top: 1px solid var(--line); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 60px; max-width: 1600px; margin: 0 auto; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a:hover { color: var(--accent); }

.foot-mark {
  width: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  touch-action: manipulation;
}
.foot-mark span {
  font-family: var(--serif);
  font-size: clamp(60px, 15.8vw, 240px);
  line-height: 1;
  letter-spacing: -0.04em;
  padding: 0.05em 0 0.06em;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(105deg,
    var(--fg-dim) 0%,
    var(--fg-dim) 40%,
    var(--fg) 47%,
    #ffffff 50%,
    var(--fg) 53%,
    var(--fg-dim) 60%,
    var(--fg-dim) 100%);
  background-size: 240% 100%;
  background-position: 110% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot-mark.is-shining span {
  animation: shine 1.2s var(--ease) forwards;
}
@keyframes shine {
  from { background-position: 110% 0; }
  to   { background-position: -140% 0; }
}

@media (max-width: 768px) {
  .foot { padding: 40px 20px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ───────────────── Contact drawer ───────────────── */
.drawer {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(560px, 92vw);
  background: var(--bg-2);
  padding: 60px 48px 40px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%);
  transition: transform .6s var(--ease);
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 22px; right: 22px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--fg);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.drawer-close:hover { background: var(--fg); color: #0e0e0e; border-color: var(--fg); }
.drawer-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); }
.drawer-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; padding-bottom: .1em; }
.drawer-title em { font-style: italic; color: var(--accent); }
.drawer-sub { font-size: 15px; line-height: 1.55; color: var(--fg-dim); max-width: 440px; }

.drawer-form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.drawer-form label { display: flex; flex-direction: column; gap: 6px; }
.drawer-form label span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); }
.drawer-form input, .drawer-form textarea, .drawer-form select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--sans); font-size: 14px;
  outline: none;
  transition: border-color .25s var(--ease);
}
.drawer-form input:focus, .drawer-form textarea:focus, .drawer-form select:focus {
  border-color: var(--accent);
}
.drawer-form textarea { resize: vertical; min-height: 100px; }
.drawer-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-dim) 50%), linear-gradient(135deg, var(--fg-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 38px; }

.drawer-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; margin-top: 8px;
  background: var(--accent); color: #0e0e0e;
  border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.drawer-submit:hover { background: var(--fg); transform: translateY(-2px); }
.drawer-submit-arrow { display: inline-block; transition: transform .35s var(--ease); }
.drawer-submit:hover .drawer-submit-arrow { transform: translate(3px, -3px); }
.drawer-fineprint { margin-top: 14px; font-size: 12px; color: var(--fg-dim); }
.drawer-fineprint a { color: var(--fg); border-bottom: 1px solid var(--line); }
.drawer-fineprint a:hover { color: var(--accent); border-color: var(--accent); }

.drawer-sent { display: none; flex-direction: column; gap: 14px; text-align: center; padding-top: 60px; }
.drawer-sent.is-on { display: flex; }
.drawer-sent-mark { font-family: var(--serif); font-style: italic; font-size: 100px; color: var(--accent); line-height: 1; }
.drawer-sent h4 { font-family: var(--serif); font-weight: 400; font-size: 36px; letter-spacing: -.01em; }
.drawer-sent p { font-size: 15px; color: var(--fg-dim); max-width: 380px; margin: 0 auto; line-height: 1.55; }

@media (max-width: 540px) {
  .drawer-panel { padding: 48px 24px 30px; }
}
