/* Schriften lokal (OFL-lizenziert): Geist, Inter Tight, Jost */
@font-face{font-family:"Geist";src:url("fonts/geist-latin-300-normal.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/jost-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}

/* ============ Base ============ */
:root {
  --ink: #0f0f15;
  --ink-2: #33333d;
  --ink-3: #181922;
  --title: #070912;
  --muted: #8a8a9e;
  --line: #282835;
  --footer: #0f0f15;
  --pill: #16161f;
  --pill-hover: #1f1f2b;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Jost", "Futura", "Century Gothic", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 2.2vw, 44px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
::selection { background: #0f0f15; color: #fff; }

@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

/* split letters (used for intro + scramble) */
.ch { display: inline-block; white-space: pre; }

/* ============ Cursor ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; color: #0f1118; }
.cursor.on { opacity: 1; }
.cursor-dot {
  position: absolute; top: 0; left: 0;
  width: 12px; height: 12px; border-radius: 999px;
  background: currentColor; border: 1.5px solid currentColor;
  transform: translate(-50%, -50%) scale(.76);
  filter: blur(3px); opacity: 0;
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), background-color .5s var(--ease), border .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.cursor.on .cursor-dot { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1); }
.cursor-dot svg { width: 22px; height: 22px; color: #fff; opacity: 0; transform: scale(.4) rotate(-45deg); transition: opacity .35s, transform .5s var(--ease); }
.cursor.arrow .cursor-dot { width: 64px; height: 64px; }
.cursor.arrow .cursor-dot svg { opacity: 1; transform: none; }
.cursor.link .cursor-dot { width: 6px; height: 6px; }
.cursor.text .cursor-dot { width: 2px; height: 22px; border-radius: 2px; }
.cursor.down .cursor-dot { transform: translate(-50%, -50%) scale(.8); }
.cursor.dark { color: #fff; }
.cursor.dark .cursor-dot svg { color: #0f1118; }

/* ============ Nav ============ */
.home-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.home-nav.hide { opacity: 0; transform: translateY(-12px); }
.nav-link {
  pointer-events: auto;
  font-family: var(--font); font-size: 10px; line-height: 160%; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--ink);
}
.is-loading .home-nav .ch { opacity: 0; transform: translateY(70%); }
.home-nav .ch { transition: opacity .7s var(--ease), transform .9s var(--ease); }

/* ============ Logo ============ */
.logo {
  position: fixed; top: 0; left: 0; z-index: 8;
  width: 300px; max-width: 90vw;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  transform-origin: 50% 50%;
  will-change: transform;
}
.logo-base {
  display: block; text-align: center; white-space: nowrap;
  font-family: var(--font-logo); font-weight: 500;
  font-size: 36px; line-height: 1; letter-spacing: -.005em;
  color: #0b0b10;
}
.logo-mask {
  position: absolute; inset: -4px -6px;
  background: rgba(255,255,255,.8);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform .35s linear;
}
.logo.hide { opacity: 0; transition: opacity .5s; }

/* ============ Smooth scroll ============ */
.scroll-wrap { position: fixed; inset: 0; overflow: hidden; z-index: 1; }
.scroll-content { position: relative; will-change: transform; }
.no-smooth .scroll-wrap { position: relative; inset: auto; overflow: visible; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 235vh; background: transparent; }
.hero-layer { position: fixed; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.hero-track { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
.hero-grid {
  display: grid; width: 100%;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 10vh;
  padding: 2vh 0 18vh;
  min-height: 235vh;
}
.hero-tile {
  position: relative; aspect-ratio: 3/4; min-width: 0;
  grid-column-start: var(--c); grid-row-start: var(--r);
  justify-self: center;
}
.hero-tile .t-par { position: absolute; inset: 0; will-change: transform; }
.hero-tile .t-intro { position: absolute; inset: 0; will-change: transform, opacity; }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ============ About ============ */
.about { position: relative; background: transparent; }
.about-inner {
  position: relative; z-index: 2;
  margin: 0 auto; min-height: 100vh;
  width: min(980px, 48vw);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14vh 0; text-align: center;
}
.about-portrait {
  margin: 0 0 40px; width: min(14vw, 220px); min-width: 140px; aspect-ratio: 4/5; overflow: hidden;
  opacity: 0; transform: translate3d(0, 28px, 0) scale(.96);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease); }
.about-portrait.in { opacity: 1; transform: none; }
.about-portrait.in img { transform: scale(1); }
.about-text { margin: 0; font-size: 29px; line-height: 1.24138; color: var(--ink-2); letter-spacing: 0; font-weight: 400; }
.about-text + .about-text { margin-top: .95em; }
.w { display: inline-block; will-change: opacity, transform; }
[data-words] .w { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-words].in .w { opacity: 1; transform: none; }

/* ============ Scenes spacer ============ */
.scenes { position: relative; }

/* ============ Gallery (stack + deck) ============ */
.gallery-layer { position: fixed; inset: 0; z-index: 20; pointer-events: none; visibility: hidden; }
.gallery-layer.on { visibility: visible; }
.g-cards { position: absolute; inset: 0; }
.g-card {
  position: absolute; left: 50%; top: 0;
  overflow: hidden; background: #ddd;
  will-change: transform, filter, opacity;
  pointer-events: none;
  backface-visibility: hidden;
}
.g-card.live { pointer-events: auto; }
.g-card img { width: 100%; height: 100%; object-fit: cover; }
.g-title {
  position: absolute; left: var(--pad); bottom: 0; z-index: 5;
  height: .82em; overflow: visible; white-space: nowrap;
  font-family: var(--font); font-weight: 400; text-transform: uppercase;
  font-size: clamp(180px, 20.5vw, 390px); line-height: .78; color: var(--title);
  letter-spacing: -.02em;
  pointer-events: none;
}
.g-track { position: relative; display: flex; align-items: flex-end; height: 100%; width: max-content; will-change: transform; }
.g-t { position: relative; flex: none; will-change: transform, opacity; transform: translateY(.06em); }
.g-next { position: absolute; left: 100%; bottom: 0; padding-left: .3em; }
.g-caption {
  position: absolute; top: 50%; left: var(--pad); z-index: 5;
  display: none; max-width: 24vw;
  font-family: var(--font); font-size: clamp(11px, .78vw, 15px); line-height: 1.12; letter-spacing: .08em;
  text-transform: uppercase; color: var(--title); white-space: nowrap;
  transform: translateY(-50%); transition: opacity .5s var(--ease);
}
@media (min-width: 1101px) { .g-caption { display: block; } }

/* ============ Ring ============ */
.ring-layer { position: fixed; inset: 0; z-index: 15; pointer-events: none; visibility: hidden; }
.ring-layer.on { visibility: visible; }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 1400px; }
.ring-img { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.ring-img img { width: 100%; height: 100%; object-fit: cover; }
.ring-text {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(620px, 86vw); height: 360px;
}
.ring-text p {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-content: center;
  font-size: 29px; line-height: 1.24138; letter-spacing: -.29px; color: var(--ink-3);
  mix-blend-mode: multiply; padding: 0 8px;
}
.ring-text p .w { opacity: 0; margin-right: .25em; }

/* ============ Triptych ============ */
.trip-layer { position: fixed; inset: 0; z-index: 30; pointer-events: none; visibility: hidden; }
.trip-layer.on { visibility: visible; }
.trip-card {
  position: absolute; left: 0; top: 0; overflow: hidden; background: #e8e8e8;
  will-change: transform, opacity; pointer-events: auto;
}
.trip-card .slide { position: absolute; inset: 0; will-change: opacity, transform, filter; }
.trip-card img { width: 100%; height: 100%; object-fit: cover; }
.trip-label {
  position: absolute; left: 0; top: 0; z-index: 11; overflow: hidden; color: #fff;
  pointer-events: none; text-align: center;
  font-size: clamp(18px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase;
}
.trip-label span { position: absolute; left: 0; width: 100%; display: flex; justify-content: center; white-space: nowrap; will-change: transform, opacity; }

/* ============ Footer ============ */
.footer {
  position: relative; z-index: 42; min-height: 1065px;
  background: var(--footer); color: #fff;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  font-family: var(--font-ui);
}
.footer-inner { width: min(638px, calc(100% - 48px)); transform: translateX(36px); padding-top: 166px; padding-bottom: 140px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 267px)); column-gap: 104px; row-gap: 32px; }
.footer h3 { margin: 0; font-family: var(--font-ui); font-size: 22px; line-height: 28px; font-weight: 400; color: #fff; }
.f-list { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.f-list.tight { gap: 4px; }
.f-list.tight + .f-list { margin-top: 20px; }
.f-list p, .f-list a {
  margin: 0; font-size: 12px; line-height: 16px; letter-spacing: .72px; font-weight: 400;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .25s;
}
.f-list a:hover { color: #c4c4d2; }
.ext { width: 12px; height: 12px; }
.f-reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.f-reveal.in { opacity: 1; transform: none; }
.socials { margin-top: 101px; width: min(589px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pill {
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px; background: var(--pill); padding: 12px 24px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; line-height: 16px; letter-spacing: 1.2px; color: #fff;
  transition: background-color .2s linear;
}
.pill:hover { background: var(--pill-hover); }
.contact-form { margin-top: 96px; width: min(589px, 100%); display: flex; flex-direction: column; }
.form-title { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; }
.form-row { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; border-bottom: .5px solid var(--line); padding: 12px 0; transition: border-color .3s; }
.contact-form label:focus-within { border-color: #55556a; }
.contact-form label.msg { margin-top: 16px; }
.contact-form input, .contact-form textarea {
  margin: 0; width: 100%; border: 0; background: transparent; padding: 0; outline: none; resize: none;
  font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: .72px; color: #c9c9d6; text-transform: uppercase;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form label.err { border-color: #a0424a; }
.send {
  margin-top: 18px; margin-left: auto; display: inline-flex; align-items: center; gap: 2px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
}
.send svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.send:hover svg { transform: translateX(3px); }
.form-note { margin: 14px 0 0; min-height: 16px; text-align: right; font-size: 11px; letter-spacing: .72px; text-transform: uppercase; color: var(--muted); }
.footer-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px; gap: 16px;
  font-size: 10px; line-height: 16px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom > a { text-align: center; }
.footer-bottom > a:hover { color: #fff; }
.footer-bottom .credit { text-align: right; }
.footer-bottom .credit a { color: #fff; border-bottom: 1px solid #fff; line-height: 1; display: inline-block; }

/* ============ Responsive ============ */
@media (max-width: 1200px) { .about-inner { width: min(920px, 62vw); } }
@media (max-width: 980px) {
  .footer { min-height: 0; }
  .footer-inner { width: min(589px, calc(100% - 32px)); transform: none; padding-top: 104px; padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .socials { margin-top: 64px; }
  .contact-form { margin-top: 84px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form label.msg { margin-top: 0; }
  .footer-bottom { position: relative; grid-template-columns: 1fr; text-align: center; padding-bottom: 24px; }
  .footer-bottom .credit { text-align: center; }
}
@media (max-width: 900px) {
  .hero, .hero-grid { min-height: 180vh; }
  .hero-tile { grid-column-start: var(--mc); grid-row-start: var(--mr); }
  .hero-tile[data-mobile-hidden] { display: none; }
  .about-inner { width: 88vw; }
  .about-portrait { width: 38vw; margin-bottom: 32px; }
  .about-text, .ring-text p { font-size: 22px; }
  .g-title { font-size: clamp(112px, 34vw, 190px); bottom: auto; top: var(--title-top, 75svh); }
  .logo-base { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-words] .w, .about-portrait, .f-reveal { transition: none; }
}
