@font-face { font-family: "Young Serif"; src: url(/tanitim/fonts/young-serif-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url(/tanitim/fonts/young-serif-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url(/tanitim/fonts/TikTokSans_800ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url(/tanitim/fonts/TikTokSans_500Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0b0a09;
  --cream: #f3ece0;
  --dim: rgba(243, 236, 224, .62);
  --faint: rgba(243, 236, 224, .32);
  --warm: #f0a35a;
  --serif: "Young Serif", Georgia, serif;
  --sans: "TikTok Sans", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--cream); font-family: var(--sans); font-weight: 500; -webkit-font-smoothing: antialiased; }
body { min-height: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.top { position: fixed; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 26px clamp(20px, 4vw, 48px); }
.mark { font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.top .rule { width: 40px; height: 1px; background: var(--faint); }
.soft { color: var(--dim); transition: color .2s; }
.soft:hover { color: var(--cream); }

#scroll { position: relative; z-index: 2; pointer-events: none; }
.beat { height: 150vh; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(20px, 6vw, 96px); }
.beat a { pointer-events: auto; }
.hero { height: 140vh; justify-content: flex-start; align-items: center; text-align: center; padding-top: 27vh; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 46% 42% at 50% 46%, rgba(11,10,9,.82), rgba(11,10,9,0) 70%); opacity: var(--h, 1); }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: .98; max-width: 11ch; text-shadow: 0 2px 40px rgba(0,0,0,.6); }
h1 em { font-style: normal; color: var(--warm); }
.lede { margin-top: 26px; max-width: 34ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: var(--dim); }
.hint { justify-content: center;  margin-top: 44px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.hint span { width: 1px; height: 38px; background: linear-gradient(var(--cream), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.beat h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1; text-shadow: 0 2px 40px rgba(0,0,0,.7); }
.beat h2 + p { margin-top: 18px; max-width: 32ch; color: var(--dim); line-height: 1.5; font-size: 16px; }
.beat.right { align-items: flex-end; text-align: right; }
.beat.right p { margin-left: auto; }
.beat > h2, .beat > p { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 24px)); }
.room { height: 260vh; }

.stage { position: fixed; z-index: 4; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.stage.on { opacity: 1; }
.stage.on .index, .stage.on .detail { pointer-events: auto; }
.index { position: absolute; right: clamp(20px, 4vw, 48px); top: 96px; list-style: none; text-align: right; font-size: 13px; line-height: 1.95; }
.index button { all: unset; cursor: pointer; color: var(--faint); transition: color .2s; }
.index button:hover, .index button[aria-current="true"] { color: var(--cream); }
.detail { position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(28px, 7vh, 64px); width: min(460px, calc(100vw - 40px)); text-align: right; }
.count { font-size: 12px; color: var(--dim); letter-spacing: .12em; padding-bottom: 10px; border-bottom: 1px solid var(--faint); display: inline-block; min-width: 110px; }
.detail h3 { font-size: clamp(40px, 5vw, 72px); line-height: 1; margin-top: 18px; }
.meta { margin-top: 10px; font-size: 14px; color: var(--dim); }
.quote { margin-top: 10px; font-family: var(--serif); font-size: 17px; color: var(--cream); opacity: .85; }
.ctas { margin-top: 26px; display: flex; gap: 22px; justify-content: flex-end; align-items: center; font-size: 14px; }
.primary { padding: 12px 18px; background: var(--cream); color: var(--ink); border-radius: 999px; font-weight: 800; transition: transform .2s; }
.primary span { display: inline-block; transition: transform .2s; }
.primary:hover span { transform: translateX(3px); }
.ghost { color: var(--dim); border-bottom: 1px solid var(--faint); padding-bottom: 2px; }
.ghost:hover { color: var(--cream); }

.foot { position: fixed; z-index: 5; left: clamp(20px, 4vw, 48px); bottom: 22px; display: flex; gap: 18px; font-size: 12px; color: var(--faint); opacity: 0; transition: opacity .6s; }
.foot.on { opacity: 1; }
.foot a:hover { color: var(--cream); }

@media (max-width: 760px) {
  .index { display: none; }
  .detail { text-align: left; left: 20px; right: 20px; width: auto; }
  .ctas { justify-content: flex-start; }
  .foot { display: none; }
  .beat.right { align-items: flex-start; text-align: left; }
  .beat.right p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .hint span { animation: none; } }
.stage::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 60% at 100% 100%, rgba(11,10,9,.88), rgba(11,10,9,0) 72%),
              linear-gradient(270deg, rgba(11,10,9,.7), rgba(11,10,9,0) 22%); }
@media (max-width: 760px) { .stage::before { background: linear-gradient(0deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,0) 55%); } }
.beat h2, .beat h2 + p { position: relative; }
.beat.left h2::before, .beat.right h2::before { content: ''; position: absolute; inset: -60px -120px; z-index: -1; background: radial-gradient(closest-side, rgba(11,10,9,.75), rgba(11,10,9,0)); }
