@font-face { font-family: "IT"; src: url(img/InterTight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0b0a09; --bg2: #12100d; --ink: #f4efe6; --mute: #a39b8e; --gold: #e8c77f; --gold2: #c9a35c;
  --line: rgba(232,199,127,.22);
  --serif: "Instrument Serif", Georgia, serif; --sans: "IT", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(44px, 7vw, 120px); line-height: .95; letter-spacing: -.04em; }
.h2 em { letter-spacing: -.02em; }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.2s var(--ease) .1s; clip-path: inset(0 0 0 0); }
.loader__mark { width: 110px; opacity: 0; transform: scale(.85); animation: mark-in 1.4s var(--ease) .1s forwards; filter: drop-shadow(0 0 40px rgba(232,199,127,.25)); }
.loader__count { position: absolute; right: var(--pad); bottom: var(--pad); font-size: clamp(64px, 12vw, 180px); font-weight: 300; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes mark-in { to { opacity: 1; transform: scale(1); } }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(232,199,127,.55); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s; }
.cursor__ring em { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__ring em { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button, input { cursor: none; } }

/* ---------- header ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); mix-blend-mode: difference; }
.top__logo img { height: 46px; width: auto; }
.top__nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: .02em; }
.top__nav a, .top__cta { display: inline-block; padding: 10px 0; }
.top__cta { padding: 10px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: 14px; }
@media (max-width: 900px) { .top__nav { display: none; } }

/* ---------- reveal helpers ---------- */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-loaded .hero .line > span { transform: none; }
.is-loaded .hero .line:nth-child(2) > span { transition-delay: .12s; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease) .3s; }
.is-loaded .reveal-line > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 1 hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
#gl, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still { object-fit: cover; opacity: 0; filter: brightness(.55) contrast(1.1); }
.no-gl .hero__still { opacity: 1; }
.hero__inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(28px, 5vh, 60px); pointer-events: none; }
.hero__kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero__title { font-weight: 500; font-size: clamp(40px, 13vw, 250px); line-height: .84; letter-spacing: -.055em; }
.hero__title em { font-size: 1.04em; letter-spacing: -.03em; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(20px, 3vh, 40px); }
.hero__lead { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; max-width: 26ch; color: #e6dfd2; }
.hero__stat { display: grid; text-align: right; }
.hero__stat b { font-weight: 300; font-size: clamp(40px, 5vw, 84px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero__hint { position: absolute; top: 50%; right: var(--pad); writing-mode: vertical-rl; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity 1s 1.6s; }
.is-loaded .hero__hint { opacity: 1; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 56px; background: rgba(255,255,255,.15); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 700px) { .hero__foot { flex-direction: column; align-items: flex-start; } .hero__stat { text-align: left; } .hero__hint { display: none; } }

/* ---------- 2 manifesto ---------- */
.manifesto { padding: clamp(120px, 22vh, 240px) var(--pad); max-width: 1500px; }
.manifesto__text { font-weight: 400; font-size: clamp(34px, 5vw, 84px); line-height: 1.05; letter-spacing: -.035em; }
.manifesto__text .w { display: inline-block; opacity: .14; transition: opacity .5s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__meta { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 60px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.manifesto__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 12px; vertical-align: middle; }

/* ---------- 3 worlds ---------- */
.worlds { display: flex; height: 100svh; min-height: 620px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.world { position: relative; flex: 1; overflow: hidden; transition: flex 1.1s var(--ease); isolation: isolate; }
.world + .world { border-left: 1px solid var(--line); }
.worlds:hover .world { flex: .7; }
.worlds .world:hover { flex: 1.6; }
.world__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.12); filter: grayscale(.5) brightness(.42); transition: transform 1.4s var(--ease), filter 1s; }
.world:hover .world__img { transform: scale(1.02); filter: grayscale(0) brightness(.62); }
.world__body { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(30px, 6vh, 70px); }
.world__num { font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.world__title { font-weight: 500; font-size: clamp(56px, 9vw, 170px); line-height: .9; letter-spacing: -.05em; margin: 10px 0 18px; }
.world p { max-width: 34ch; color: #ddd5c8; opacity: .0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease); }
.world:hover p, .world:focus-visible p { opacity: 1; transform: none; }
.world__meta { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--mute); }
@media (max-width: 800px) { .worlds { flex-direction: column; height: auto; } .world { min-height: 70svh; } .world + .world { border-left: 0; border-top: 1px solid var(--line); } .world p { opacity: 1; transform: none; } }

/* ---------- 4 cases (pinned horizontal) ---------- */
.cases { position: relative; }
.cases__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.cases__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 var(--pad); }
.cases__head p { color: var(--mute); }
.cases__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--pad); will-change: transform; }
.case { flex: none; width: clamp(280px, 30vw, 460px); }
.case h3 { font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin-top: 18px; }
.case p { color: var(--mute); font-size: 15px; }
.ba, .case__img { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #1a1815; }
.ba img, .case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__img { position: relative; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.ba__line::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: var(--gold); color: var(--bg); display: grid; place-items: center; font-size: 18px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
@media (max-width: 800px) {
  .cases__sticky { position: relative; height: auto; padding: 100px 0; }
  .cases__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; }
  .case { width: 78vw; scroll-snap-align: center; }
}

/* ---------- 5 procedures ---------- */
.procs { position: relative; padding: clamp(120px, 18vh, 200px) var(--pad); }
.procs__list { list-style: none; margin-top: 60px; border-top: 1px solid var(--line); }
.procs__list li { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .3s; }
.procs__list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .9s var(--ease); }
.procs__list li:hover::before { width: 100%; }
.procs__list li:hover { padding-left: 28px; }
.procs__n { font-size: 13px; color: var(--gold); letter-spacing: .14em; }
.procs__name { font-size: clamp(30px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.procs__list li:hover .procs__name { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: -.01em; }
.procs__tag { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.procs__float { position: fixed; left: 0; top: 0; width: 300px; height: 380px; object-fit: cover; border-radius: 6px; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-4deg); transition: opacity .35s, transform .6s var(--ease); }
.procs__float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
@media (hover: none), (pointer: coarse) { .procs__float { display: none; } }

/* ---------- 6 method ---------- */
.method { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--pad); padding: clamp(100px, 16vh, 180px) var(--pad); border-top: 1px solid var(--line); }
.method__side { position: sticky; top: 14vh; align-self: start; }
.method__big { display: block; margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: clamp(140px, 22vw, 380px); line-height: .8; color: var(--gold); transition: opacity .3s; }
.method__steps { list-style: none; }
.method__steps li { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); opacity: .25; transition: opacity .6s; }
.method__steps li.on { opacity: 1; }
.method__steps h3 { font-weight: 500; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.03em; margin-bottom: 14px; }
.method__steps p { color: #cfc7b9; max-width: 46ch; font-size: 18px; }
@media (max-width: 800px) { .method { grid-template-columns: 1fr; } .method__side { position: relative; top: 0; } .method__big { font-size: 120px; } .method__steps li { min-height: 0; padding: 40px 0; opacity: 1; } }

/* ---------- 7 institute ---------- */
.institute { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--pad); align-items: center; padding: clamp(100px, 16vh, 180px) var(--pad); background: var(--bg2); }
.institute__pics { position: relative; height: min(86vh, 820px); }
.institute__a, .institute__b { position: absolute; width: 58%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; will-change: transform; }
.institute__a { left: 0; top: 0; }
.institute__b { right: 0; bottom: 0; }
.institute__text .h2 { margin: 18px 0 28px; }
.institute__text > p { color: #d8d0c3; font-size: 19px; max-width: 44ch; }
.institute__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0; border-top: 1px solid var(--line); padding-top: 26px; }
.institute__facts b { display: block; font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); letter-spacing: -.04em; line-height: 1; }
.institute__facts span { font-size: 13px; color: var(--mute); }
.btn { display: inline-flex; gap: 14px; align-items: center; padding: 20px 34px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 500; transition: background .3s; }
.btn:hover { background: #f3dca6; }
@media (max-width: 900px) { .institute { grid-template-columns: 1fr; } .institute__pics { height: 120vw; } }

/* ---------- 8 instagram ---------- */
.insta { padding: clamp(100px, 16vh, 180px) 0; overflow: hidden; }
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; padding: 0 var(--pad) 60px; }
.insta__handles { display: grid; gap: 8px; text-align: right; }
.insta__handles a { color: var(--mute); transition: color .3s; padding: 6px 0; }
.insta__handles a:hover { color: var(--ink); }
.insta__handles b { color: var(--gold); font-weight: 500; margin-right: 8px; }
.marquee { overflow: hidden; padding: 8px 0; }
.marquee__row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.marquee__row img { width: clamp(200px, 18vw, 300px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; filter: grayscale(.85) brightness(.8); transition: filter .6s, transform .8s var(--ease); }
.marquee__row img:hover { filter: none; transform: scale(1.03); }
@media (max-width: 700px) { .insta__handles { text-align: left; } }

/* ---------- 9 close ---------- */
.close { padding: clamp(120px, 20vh, 220px) var(--pad) 40px; border-top: 1px solid var(--line); text-align: center; }
.close__title { font-weight: 500; font-size: clamp(56px, 10vw, 190px); line-height: .9; letter-spacing: -.05em; }
.close__title .line > span { transform: translateY(110%); }
.close__title.is-in .line > span { transform: none; }
.close__title.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.close__btn { display: inline-grid; place-items: center; width: 220px; height: 220px; margin: 70px auto 0; border-radius: 50%; background: var(--gold); color: var(--bg); font-size: 18px; font-weight: 500; transition: background .3s; }
.close__btn:hover { background: #f3dca6; }
.close__units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 110px; text-align: left; border-top: 1px solid var(--line); padding-top: 34px; }
.close__units h3 { font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.close__units p { color: #cfc7b9; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 90px; font-size: 13px; color: var(--mute); }
@media (max-width: 800px) { .close__units { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .line > span, .reveal-line > span, [data-reveal] { transform: none !important; opacity: 1 !important; }
  .manifesto__text .w { opacity: 1; }
}
