:root {
  --ground: #090c14;
  --ground-2: #0e1320;
  --ink: #f4f2ee;
  --ink-2: rgba(244, 242, 238, 0.74);
  --ink-3: rgba(244, 242, 238, 0.56);
  --accent: #ffb65c;
  --accent-ink: #1d1206;

  /* Glass: one recipe, used everywhere */
  --glass-fill: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035) 60%);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.28);
  --glass-blur: blur(22px) saturate(165%);
  --shadow: 0 30px 60px -28px rgba(2, 4, 12, 0.75), 0 8px 18px -10px rgba(2, 4, 12, 0.5);

  /* Radius rule: panels 28, media 16, controls full pill */
  --r-panel: 28px;
  --r-media: 16px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 56px);
  --section-gap: clamp(96px, 14vw, 200px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-head: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

html { scrollbar-color: rgba(255, 255, 255, 0.22) var(--ground); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; border: 2px solid var(--ground); }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Scene: light fields the glass refracts ---------- */
.scene {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 120%, #111a33 0%, transparent 60%),
    var(--ground);
}
.light {
  position: absolute; border-radius: 50%;
  will-change: transform;
  animation: drift 38s var(--ease-in-out) infinite alternate;
}
.light--amber {
  width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, rgba(255, 170, 70, 0.55), rgba(255, 120, 40, 0.18) 55%, transparent);
}
.light--cyan {
  width: 54vmax; height: 54vmax; left: 20vw; bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(40, 200, 220, 0.34), rgba(20, 110, 160, 0.12) 55%, transparent);
  animation-duration: 52s; animation-delay: -24s;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
  100% { transform: translate3d(-6vw, 10vh, 0) scale(0.94); }
}
.grain {
  position: absolute; inset: -50%;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--solid { background: var(--ink); color: var(--ground); }
.btn--glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--accent); }
  .btn--glass:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.26); }
}


.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: rgba(244, 242, 238, 0.35); text-decoration-thickness: 1px;
  transition: text-decoration-color 200ms var(--ease-out);
}
.link:hover { text-decoration-color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  height: 60px; padding: 0 10px 0 22px;
  border-radius: var(--r-pill);
  width: max-content; max-width: calc(100vw - 32px);
  background: linear-gradient(160deg, rgba(40, 46, 64, 0.62), rgba(12, 15, 24, 0.7));
}
.nav__mark {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.035em; font-size: 22px; line-height: 1;
  text-decoration: none; letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: var(--r-pill);
  font-size: 15px; color: var(--ink-2); text-decoration: none;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav { gap: 18px; left: 16px; right: 16px; transform: none; width: auto; justify-content: space-between; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.95;
  text-wrap: balance;
}
.body {
  color: var(--ink-2);
  max-width: 60ch;
  font-size: clamp(16px, 1.25vw, 18px);
  text-wrap: pretty;
}

.section { padding: var(--section-gap) var(--gutter) 0; position: relative; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 116px var(--gutter) clamp(32px, 5vw, 64px);
  isolation: isolate;
}
.hero__name {
  margin-block: auto;
  font-family: 'Helvetica Neue', var(--font-head); /* Helvetica on Mac, Geist ExtraBold elsewhere (plain 'Helvetica' would turn into Arial on Windows) */
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: calc((100vw - 2 * var(--gutter)) / 6.9);
  display: flex; flex-direction: column;
  user-select: none;
}
.hero__line { display: block; width: max-content; white-space: nowrap; align-self: flex-start; }
.hero__line + .hero__line { align-self: flex-end; margin-top: 0.02em; }

.lens {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: clamp(180px, 24vw, 360px); aspect-ratio: 5 / 3;
  border-radius: clamp(14px, 9%, 32px) / clamp(14px, 15%, 32px); /* scales with the glass */
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(9px) saturate(190%) brightness(1.12);
  backdrop-filter: blur(9px) saturate(190%) brightness(1.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -18px 30px -18px rgba(255, 182, 92, 0.35),
    0 40px 70px -30px rgba(2, 4, 12, 0.8);
  transform: translate3d(var(--lx, 40vw), var(--ly, 30vh), 0) rotate(var(--lr, -6deg));
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.lens.is-ready { opacity: 1; }
@media (max-width: 720px) { .lens { display: none; } } /* no glass on phones */

.hero__foot {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--glass-line);
}
.hero__skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__skills li {
  padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.hero__lede { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 960px) {
  .hero__foot { grid-template-columns: 1fr; align-items: start; }
  .hero__actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  /* on phones the hero is only as tall as its content: intro follows the name directly */
  .hero { min-height: 0; justify-content: flex-start; gap: 0; padding-top: 112px; padding-bottom: 48px; }
  .hero__name { margin-block: 4vh 0; }
  .hero__foot { margin-top: 36px; }
}

/* ---------- Client band ---------- */
.band {
  margin: 0 var(--gutter);
  border-radius: var(--r-pill);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.band__track { display: flex; width: max-content; animation: band 48s linear infinite; }
.band__list { display: flex; flex: none; }
.band__list li {
  display: flex; align-items: center; min-height: 48px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.035em; font-size: clamp(18px, 2vw, 26px); line-height: 1.2;
  padding: 0 clamp(20px, 2.6vw, 40px); white-space: nowrap; color: var(--ink);
}
.band__list { align-items: center; }
.band__list img { height: var(--h, 32px); width: auto; max-width: none; display: block; opacity: 0.92; }
@keyframes band { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) { .band:hover .band__track { animation-play-state: paused; } }

/* ---------- Web / device ---------- */
.web__intro { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.web__controls { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }

.seg {
  position: relative; display: inline-flex; padding: 5px; border-radius: var(--r-pill);
}
.seg__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill);
  background: none; cursor: pointer; color: var(--ink-2); font-size: 15px;
  transition: color 250ms var(--ease-out);
}
.seg__btn.is-active { color: var(--ground); }
.seg__thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0;
  border-radius: var(--r-pill); background: var(--ink);
  width: var(--tw, 0); transform: translateX(var(--tx, 0));
  transition: transform 380ms var(--ease-out), width 380ms var(--ease-out);
}

/* TonightFlow as a recording: MacBook for desktop, phone for mobile */
.device { position: relative; display: grid; justify-items: center; }
.device > * { grid-area: 1 / 1; transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.device[data-view="desktop"] .tf-phone,
.device[data-view="mobile"] .mac { opacity: 0; pointer-events: none; transform: translateY(16px) scale(0.98); }

.mac { width: min(68%, 780px); container-type: inline-size; perspective: 2600px; padding-bottom: 4cqw; }
@media (max-width: 900px) { .mac { width: min(90%, 620px); } }
.mac__lid {
  position: relative; padding: 1.5cqw 1.5cqw 2.3cqw;
  border-radius: 2.4cqw 2.4cqw 0.7cqw 0.7cqw;
  background: #0a0b0e;
  box-shadow: inset 0 0 0 0.22cqw #43474e, inset 0 0 0 0.4cqw #121418, 0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.55);
  transform-origin: 50% 100%;
  transform: rotateX(var(--lid, 0deg));
  will-change: transform;
}
.mac__lid::before { /* camera notch */
  content: ''; position: absolute; z-index: 2; top: 1.5cqw; left: 50%;
  width: 9cqw; height: 1.15cqw; margin-left: -4.5cqw;
  border-radius: 0 0 0.8cqw 0.8cqw; background: #0a0b0e;
}
.mac__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 0.45cqw; overflow: hidden; background: #000; }
.mac__screen video, .tf-phone__screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mac__base {
  position: relative; width: 114%; margin-left: -7%; height: 1.5cqw;
  border-radius: 0.2cqw 0.2cqw 1.6cqw 1.6cqw / 0.2cqw 0.2cqw 1.2cqw 1.2cqw;
  background: linear-gradient(180deg, #eceef1 0%, #c3c7cd 35%, #8e9299 100%);
  box-shadow: 0 2cqw 3cqw -1.4cqw rgba(0, 0, 0, 0.5);
}
.mac__base::before { /* finger groove */
  content: ''; position: absolute; top: 0; left: 50%;
  width: 15cqw; height: 0.6cqw; margin-left: -7.5cqw;
  border-radius: 0 0 0.9cqw 0.9cqw; background: linear-gradient(180deg, #858990, #b5b9bf);
}
.tf-phone { width: min(100%, 250px); }
.tf-phone__screen { aspect-ratio: 720 / 1558; border-radius: 38px; overflow: hidden; background: #000; }

/* ---------- Media slots (shared) ---------- */
.slot {
  margin: 0;
  position: relative; overflow: hidden;
  border-radius: var(--r-media);
  background: rgba(255, 255, 255, 0.04);
}
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; }
.slot.is-empty img, .slot.is-empty video { display: none; }
.slot__empty { display: none; }
.slot.is-empty .slot__empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: inherit;
}
.slot__empty strong { font-weight: 500; font-size: 14px; color: var(--ink); }
.slot__empty code { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); word-break: break-all; }

.reveal { transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); }

/* ---------- Shooting ---------- */
.shoot__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.shoot__grid {
  display: grid; gap: clamp(12px, 1.4vw, 20px);
  grid-template-columns: repeat(min(var(--n, 3), 5), minmax(0, 1fr));
}
/* 5, 9, 13 … Bilder: großes erstes Bild (2×2), der Rest füllt 4 Spalten ohne Lücke */
.shoot__grid[data-layout="feature"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shoot__grid[data-layout="feature"] .slot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) {
  /* phones and tablets: a plain two-column grid that scrolls with the page, no sideways rail */
  .shoot__grid, .shoot__grid[data-layout="feature"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shoot__grid[data-layout="feature"] .slot:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
}
.slot--portrait { aspect-ratio: 4 / 5; }
.slot--tall { aspect-ratio: 2 / 3; }
.slot--wide { aspect-ratio: 3 / 2; }
@media (hover: hover) and (pointer: fine) {
  .shoot__grid .slot img { transition: transform 900ms var(--ease-out); }
  .shoot__grid .slot:hover img { transform: scale(1.04); }
}

/* ---------- Flyer: horizontal pan ---------- */
.flyer { position: relative; margin-top: var(--section-gap); height: var(--pan-h, auto); }
.flyer__sticky {
  position: sticky; top: 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px);
  overflow: hidden;
  padding: 96px 0 40px;
}
.flyer__head { padding: 0 var(--gutter); display: grid; gap: 14px; }
.flyer__rail {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.flyer__card {
  --fh: min(52svh, 500px);
  --fw: min(calc(var(--fh) * var(--r, 0.7071)), calc(var(--fh) * 2.1)); /* very wide strips are capped */
  flex: none; width: max(var(--fw), 210px);
}
.flyer__card .slot { width: var(--fw); max-width: 100%; aspect-ratio: var(--r, 0.7071); box-shadow: var(--shadow); }
.flyer__card .slot img { object-fit: contain; }
.flyer__meta { display: grid; gap: 3px; margin-top: 14px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.flyer__meta b { font-weight: 500; font-size: 15px; color: var(--ink); text-wrap: balance; }
.flyer__meta span:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .flyer__card .slot { transition: transform 450ms var(--ease-out); }
  .flyer__card:hover .slot { transform: translateY(-8px) rotate(-1deg); }
}
.flyer.is-native { height: auto; }
.flyer.is-native .flyer__sticky { position: static; min-height: 0; padding-top: 0; }
.flyer.is-native .flyer__rail {
  width: auto; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  touch-action: pan-x pan-y; overscroll-behavior-x: contain;
  padding-bottom: 8px; transform: none !important;
}
.flyer.is-native .flyer__rail::-webkit-scrollbar { display: none; }
.flyer.is-native .flyer__card { --fh: min(52svh, 440px); scroll-snap-align: start; scroll-margin-left: var(--gutter); width: min(calc(var(--fh) * var(--r, 0.7071)), 86vw); }

/* ---------- Social ---------- */
.social__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.social__layout {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.phone { width: 100%; max-width: 340px; justify-self: center; }

/* Side note: small 3D iPhone with the Discobox feed */
.social__aside {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(64px, 8vw, 112px); max-width: 560px;
}
.social__mini { flex: none; width: 132px; container-type: inline-size; }
.social__note { margin: 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.social__note-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.social__note .link { justify-self: start; }

/* iPhone: titanium face, stacked edge layers for depth, side buttons. Sizes in cqw of the figure. */
.iphone-stage { position: relative; perspective: 1500px; }
.iphone-float { transform-style: preserve-3d; }
.iphone {
  --radius: 15.6cqw;
  position: relative; width: 100%; aspect-ratio: 71.5 / 149.6;
  transform-style: preserve-3d;
}
.iphone--3d { transform: rotateY(-16deg) rotateX(4deg); will-change: transform; }
.iphone__edge {
  position: absolute; inset: 0; border-radius: var(--radius);
  transform: translateZ(calc(var(--i) * -0.75cqw));
  background: linear-gradient(90deg, #26282c, #7d8187 9%, #c3c6cb 30%, #9a9ea4 50%, #c3c6cb 70%, #7d8187 91%, #26282c);
}
.iphone__edge--back { background: linear-gradient(160deg, #3b3d42, #1d1f23 55%, #2c2e33); }
.iphone__btn {
  position: absolute; width: 1.4cqw; border-radius: 1cqw;
  background: linear-gradient(90deg, #5d6066, #c9ccd1 50%, #6c6f75);
  transform: translateZ(-5.2cqw);
}
.iphone__btn--l { left: -0.9cqw; }
.iphone__btn--r { right: -0.9cqw; }
.iphone__face {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 1.2cqw;
  background: linear-gradient(135deg, #6a6d73, #d9dce0 16%, #8c9096 34%, #eceef1 50%, #7b7f85 68%, #c4c7cc 86%, #55585d);
  box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 0, 0.35);
  transform: translateZ(0.2px);
}
.iphone__screen {
  position: relative; height: 100%; overflow: hidden;
  border: 3.1cqw solid #000; border-radius: calc(var(--radius) - 1.2cqw);
  background: #0c1015;
}
/* Dynamic Island + home indicator */
.iphone__screen::before {
  content: ''; position: absolute; z-index: 6; top: 2.3cqw; left: 50%;
  width: 28cqw; height: 8.2cqw; margin-left: -14cqw; border-radius: 99px; background: #000;
}
.iphone__screen::after {
  content: ''; position: absolute; z-index: 6; bottom: 1.8cqw; left: 50%;
  width: 34cqw; height: 1.2cqw; margin-left: -17cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.92);
}
.iphone__status {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 12.6cqw;
  display: flex; align-items: center; justify-content: space-between; padding: 0.8cqw 7.4cqw 0 9.6cqw;
  color: #fff; font-size: 4cqw; font-weight: 600; letter-spacing: -0.01em; background: #0c1015; /* Instagram dark */
}
.iphone__status svg { height: 3.3cqw; width: auto; display: block; }
.iphone__status .sb-icons { display: flex; gap: 1.4cqw; align-items: center; }
.iphone__glare {
  position: absolute; z-index: 4; inset: -40% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.11) 47%, rgba(255, 255, 255, 0.04) 53%, transparent 62%);
  will-change: transform;
}
.iphone-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -9cqw; height: 9cqw; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  filter: blur(4px);
}
@media (prefers-reduced-motion: no-preference) {
  .iphone-float { animation: phone-float 6.5s ease-in-out infinite alternate; }
  .iphone-shadow { animation: phone-shadow 6.5s ease-in-out infinite alternate; }
}
@keyframes phone-float {
  from { transform: translateY(0) rotateZ(-1.2deg); }
  to { transform: translateY(-16px) rotateZ(0.8deg); }
}
@keyframes phone-shadow {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.84); opacity: 0.6; }
}

/* Feed screenshot, scrolls slowly when taller than the screen */
.feed { position: absolute; top: 12.6cqw; left: 0; right: 0; bottom: 0; overflow: hidden; background: #0c1015; }
.feed img { width: 100%; height: auto; will-change: transform; }
.feed .slot { position: absolute; inset: 0; border-radius: 0; }
.feed .slot.is-empty .slot__empty { border: 0; justify-content: center; align-items: center; text-align: center; }

/* Stories: glass phone silhouette */
.phone__body {
  border-radius: 48px; padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.12));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.story {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 38px; background: #0d111b;
}
.story__bars {
  position: absolute; z-index: 3; left: 26px; right: 26px; top: 24px;
  display: flex; gap: 4px;
}
.story__bar { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.story__bar span { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.story__bar.is-done span { transform: scaleX(1); }
.story__media { position: absolute; inset: 0; }
.story__media .slot { position: absolute; inset: 0; border-radius: 0; opacity: 0; transition: opacity 260ms var(--ease-out); }
.story__media .slot.is-current { opacity: 1; }
.story__media .slot.is-empty .slot__empty { border: 0; justify-content: center; align-items: center; text-align: center; }
.story__tap { position: absolute; z-index: 2; top: 0; bottom: 0; width: 40%; border: 0; background: none; cursor: pointer; }
.story__tap--prev { left: 0; }
.story__tap--next { right: 0; width: 60%; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.posts:empty { display: none; }
.posts .slot { aspect-ratio: 4 / 5; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
  .posts .slot img { transition: transform 700ms var(--ease-out); }
  .posts .slot:hover img { transform: scale(1.05); }
}
@media (max-width: 860px) {
  .social__layout { grid-template-columns: 1fr; }
  .phone { max-width: 300px; }
}
@media (max-width: 520px) {
  .social__mini { width: 108px; }
}


/* ---------- Red Box: promo video and how the AI shots were built ---------- */
.redbox__layout {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.redbox__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 38px; overflow: hidden; background: #0d111b; }
.redbox__screen .slot { position: absolute; inset: 0; border-radius: 0; }
.redbox__text { max-width: 560px; }
.redbox__eyebrow { margin: 0 0 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.redbox__title { margin: 0; max-width: 24ch; font-family: var(--font-head); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; color: var(--ink); text-wrap: balance; }
@media (max-width: 860px) {
  .redbox__layout { grid-template-columns: 1fr; }
  .redbox__phone { max-width: 300px; }
}

/* ---------- Garderobe: particle room, projector, video mapped onto the wall ---------- */
.loop__head { display: grid; gap: 22px; }
.loop__track { position: relative; height: calc(100vh + 60vh); height: calc(100svh + 60vh); }
.loop__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.loop__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.loop__screen {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  transform-origin: 0 0; will-change: transform; background: #000;
  visibility: hidden; /* shown once mapped onto the wall */
}
.loop__screen .slot { position: absolute; inset: 0; border-radius: 0; }
.loop__screen .slot.is-empty .slot__empty { border: 0; justify-content: center; align-items: center; text-align: center; font-size: 28px; }
.loop__track.is-static { height: auto; }
.loop__track.is-static .loop__stage { position: relative; height: 80svh; }

/* ---------- Werdegang ---------- */
.path .display { margin-bottom: clamp(40px, 5vw, 64px); }
.path__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr);
  gap: 14px; align-items: stretch;
  counter-reset: none;
}
.path__step { border-radius: var(--r-panel); padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.path__title { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.035em; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; margin-bottom: 4px; }
.path__text { color: var(--ink-2); font-size: 16px; }
.path__step--now {
  background: linear-gradient(160deg, rgba(255, 182, 92, 0.22), rgba(255, 255, 255, 0.04) 60%);
  border-color: rgba(255, 182, 92, 0.35);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chips li {
  font-size: 13.5px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
li.chips__logo { display: flex; align-items: center; padding: 6px 14px; }
.chips__logo img { height: var(--h, 20px); width: auto; display: block; }
@media (max-width: 1100px) { .path__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .path__list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(64px, 8vw, 120px); }
.contact__card {
  border-radius: 40px; padding: clamp(36px, 7vw, 110px) var(--gutter);
  display: grid; justify-items: center; gap: 24px; text-align: center;
}
.contact__title { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.04em; font-size: clamp(2rem, 7vw, 6rem); line-height: 1; text-wrap: balance; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter) 40px; color: var(--ink-3); font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot__name { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.035em; color: var(--ink-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .light, .band__track, .device__loading { animation: none; }
  .lens { display: none; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; filter: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
