:root {
  --bg: #eceae4;
  --ink: #0e0e0e;
  --muted: #6b6862;
  --line: rgba(14, 14, 14, 0.16);
  --card: #f5f4f0;
  --accent: #d3ac71;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}
/* Dunkle Sektion (wird per JS beim Scrollen gesetzt) */
:root.dark {
  --bg: #0e0e0e;
  --ink: #eceae4;
  --muted: #8e8b84;
  --line: rgba(236, 234, 228, 0.18);
  --card: #1a1a1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html:not(.lenis) {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background-color 0.9s var(--ease),
    color 0.9s var(--ease);
}
a {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: #fff;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 300;
}
.skip:focus {
  left: 8px;
}

/* ---------- PRELOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0e0e0e;
  color: #eceae4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px var(--gutter);
  transition: clip-path 1.1s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.loader.out {
  clip-path: inset(0 0 100% 0);
}
.loader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.loader-top .logo-svg {
  height: 17px;
  --chev: var(--accent);
}
.loader-num {
  overflow: hidden;
}
.loader-num span {
  display: block;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  font-size: clamp(120px, 42vw, 520px);
  font-variant-numeric: tabular-nums;
  transition: transform 1s var(--ease-out);
}
.loader.out .loader-num span {
  transform: translateY(-40%);
}

/* ---------- CURSOR (Desktop) ---------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 150;
  pointer-events: none;
  width: 0;
  height: 0;
}
.cursor::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition:
    transform 0.5s var(--ease),
    background-color 0.3s;
}
.cursor.on::before {
  transform: scale(1);
}
.cursor.link::before {
  transform: scale(3.2);
  background: rgba(228, 87, 46, 0.25);
}
.cursor.big::before {
  transform: scale(8.5);
  background: var(--accent);
}
.cursor span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #fff;
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.big span {
  opacity: 1;
  transition-delay: 0.1s;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
}
/* Logo + Pfeil */
.logo-svg {
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
}
.chev {
  display: inline-block;
  flex: none;
  width: 0.42em;
  height: 0.64em;
  vertical-align: -0.04em;
  transition: transform 0.5s var(--ease);
}
.chev-back {
  transform: scaleX(-1);
  margin-right: 0.25em;
}
.btn-ghost:hover .chev-back {
  transform: scaleX(-1) translateX(4px);
}
.btn:hover .chev {
  transform: translateX(5px);
}

.logo {
  display: block;
  height: 17px;
  color: inherit;
}
.logo .logo-svg {
  height: 17px;
}
.logo:hover {
  --chev: var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-cta:hover .chev {
  transform: translateX(4px);
}

/* ---------- SHARED ---------- */
.meta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 5vw, 48px);
}
.meta-row .timer,
.meta-row .meta-right {
  margin-left: auto;
}
.meta-row .timer {
  color: var(--accent);
}

.section {
  padding: clamp(72px, 14vw, 160px) var(--gutter) 0;
}

.lead {
  font-size: clamp(20px, 4.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 26ch;
  margin: 0;
  font-weight: 500;
}

/* Zeilen-Maske */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
  will-change: transform;
}
.js .line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.js .is-in .line > span,
.js .line.is-in > span {
  transform: none;
}

/* Buchstaben-Reveal (data-split) */
.js [data-split] .line > span {
  transform: none;
  transition: none;
}
.ch {
  display: inline-block;
  transform: translateY(115%) rotate(8deg);
  transform-origin: 0 100%;
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--l, 0) * 110ms + var(--i, 0) * 30ms);
}
.is-in .ch {
  transform: none;
}
html:not(.js) .ch {
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Fit-Text: nie abgeschnitten */
[data-fit],
[data-fit] .line > span {
  white-space: nowrap;
}
/* Flex-/Grid-Kinder dürfen schmaler als ihr Text sein → Fit kann messen */
[data-fit],
.hero > *,
.split > *,
.works-grid > *,
.hero-bottom > * {
  min-width: 0;
  max-width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  padding: 84px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
}
.hero-title {
  margin: auto 0 0;
  font-weight: 800;
  text-transform: uppercase;
  /* Breite UND Höhe begrenzen: Titel + Text + Button passen in den ersten Screen */
  font-size: clamp(56px, min(19.5vw, calc((100svh - 360px) / 3.4)), 260px);
  line-height: 0.84;
  letter-spacing: -0.055em;
}
.outline {
  color: var(--accent);
}
@media (min-width: 900px) {
  .hero-title .line:nth-child(2),
  .hero-title .line:nth-child(4) {
    text-align: right;
  }
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: clamp(24px, 5vw, 48px);
}
@media (min-width: 760px) {
  .hero-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .hero-bottom .btn-xl {
    flex: none;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--ink);
  color: var(--bg);
  font: 600 18px/1 var(--sans);
  letter-spacing: -0.01em;
  padding: 20px 28px;
  min-height: 60px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    background-color 0.9s var(--ease),
    color 0.9s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: none;
}
.btn:hover {
  color: #fff;
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.5;
  cursor: progress;
}
.btn-xl {
  font-size: clamp(20px, 5vw, 26px);
  padding: 26px 34px;
  width: 100%;
  justify-content: space-between;
}
@media (min-width: 760px) {
  .btn-xl {
    width: auto;
  }
}
.btn-arrow {
  width: 0.5em;
  height: 0.76em;
}

.btn-ghost {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font: 500 16px/1 var(--sans);
  padding: 18px 8px;
  min-height: 60px;
}
.btn-ghost:hover {
  color: var(--ink);
}

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

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 8px;
  background: #0e0e0e;
  color: #eceae4;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  align-items: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 8vw, 72px);
  line-height: 1;
  animation: marquee 22s linear infinite;
}
.marquee-track i {
  font-style: normal;
  color: var(--accent);
  display: inline-flex;
}
.marquee-track .chev {
  width: 0.5em;
  height: 0.76em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- MEDIA (Bilder + WebGL) ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background: #cfccc4;
}
.media-inner {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.media-inner img,
.media-inner canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-inner img {
  transition: opacity 0.35s var(--ease);
}
.media-inner img.swap {
  opacity: 0;
}
.gl-on .media-inner img {
  opacity: 0;
}
.media-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter) 0;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Bild 1: startet als kleines Fenster, öffnet sich beim Scrollen */
.media-reveal {
  margin: clamp(56px, 12vw, 120px) 0 0;
  padding: 0;
}
.media-reveal .media-frame {
  height: 78svh;
  min-height: 420px;
  max-height: 900px;
  clip-path: inset(
    var(--inset-y, 14%) var(--inset-x, 22%) round var(--radius, 28px)
  );
}
.media-reveal .media-inner {
  transform: scale(var(--scale, 1.35));
}

/* ---------- WAS WIR SUCHEN (fixiertes Bild) ---------- */
.works-grid {
  display: grid;
  gap: 24px;
}
.works-media {
  position: sticky;
  top: 56px;
  z-index: 2;
  background: var(--bg);
  padding-bottom: 12px;
  transition: background-color 0.9s var(--ease);
}
.works-frame {
  height: 40svh;
  min-height: 240px;
  border-radius: 4px;
}
.works-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.works-cap #worksIdx {
  color: var(--accent);
}
.works-no {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(14, 14, 14, 0.72);
  color: #eceae4;
  text-align: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.works-no span {
  color: var(--accent);
  font-size: clamp(64px, 18vw, 160px);
  line-height: 0.9;
  font-weight: 800;
}
.works-no small {
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.works-frame.is-no .works-no {
  opacity: 1;
}

.index {
  list-style: none;
  margin: 0;
  padding: 0 0 22svh;
}
.index li {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.index .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.index .name {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  transition:
    transform 0.7s var(--ease),
    opacity 0.5s var(--ease),
    color 0.5s;
}
.index .note {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.works .index li .name {
  opacity: 0.28;
}
.works .index li.active .name {
  opacity: 1;
  transform: translateX(10px);
}
.works .index li.active .idx {
  color: var(--accent);
}
.index li.no .name {
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  text-decoration-color: var(--accent);
}
.index li.no .idx {
  color: var(--accent);
  font-size: 16px;
}

@media (min-width: 900px) {
  .works-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .works-media {
    top: 14vh;
    background: transparent;
  }
  .works-frame {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 72vh;
  }
  .index {
    padding: 10vh 0 30vh;
  }
  .index li {
    grid-template-columns: 70px 1fr;
    align-items: end;
    column-gap: 12px;
    padding: 32px 0;
  }
  .index .note {
    grid-column: 2;
  }
  .index .name {
    font-size: clamp(44px, 5.2vw, 104px);
  }
  .index .idx {
    align-self: start;
    padding-top: 0.6em;
  }
}

/* ---------- SPLIT (Text + Parallax-Bild) ---------- */
.split {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: end;
  padding: clamp(72px, 14vw, 160px) var(--gutter) 0;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.split-title {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 12vw, 120px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.split-title .line:last-child .ch {
  color: var(--accent);
}
.split-media {
  margin: 0;
}
.split-media .media-cap {
  padding-inline: 0;
}
.media-frame.tall {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
.media-frame.tall .media-inner {
  height: 136%;
  top: -18%;
  transform: translate3d(0, var(--py, 0px), 0);
}
.js .split-media .media-frame {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.js .split-media.is-in .media-frame {
  clip-path: inset(0 0 0 0);
}

/* ---------- STEPS GRID ---------- */
.steps-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 760px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step-card {
  background: var(--bg);
  padding: 28px 22px 32px;
  overflow: hidden;
  transition: background-color 0.9s var(--ease);
}
.big-num {
  display: block;
  font-weight: 800;
  font-size: clamp(72px, 18vw, 140px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}
.js .step-card .big-num {
  transform: translateY(100%);
  transition: transform 1.2s var(--ease-out);
}
.js .step-card.is-in .big-num {
  transform: none;
}
.step-card:nth-child(2) .big-num {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
}
.step-card:nth-child(2),
.step-card:nth-child(2) .big-num {
  transition-delay: 0.08s;
}
.step-card:nth-child(3),
.step-card:nth-child(3) .big-num {
  transition-delay: 0.16s;
}

/* ---------- FORM ---------- */
.form-section {
  padding: clamp(72px, 14vw, 160px) var(--gutter) clamp(72px, 12vw, 140px);
  min-height: 100svh;
}
.form-section .meta-row {
  margin-bottom: 16px;
}
.progress {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 20%;
  background: var(--accent);
  transition: width 0.7s var(--ease);
}
.step-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 clamp(28px, 6vw, 56px);
}

#leadForm {
  max-width: 980px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: none;
}
.step.is-active {
  display: block;
  animation: stepIn 0.7s var(--ease) both;
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.q {
  display: block;
  width: 100%;
  float: none;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  padding: 0;
  margin-bottom: 28px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 11vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.hint {
  color: var(--muted);
  margin: -12px 0 20px;
  font-size: 16px;
}

.choices {
  display: grid;
  gap: 10px;
}
@media (min-width: 640px) {
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}
.choice {
  position: relative;
  cursor: pointer;
  display: block;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 20px 56px;
  min-height: 76px;
  justify-content: center;
  background: var(--card);
  border: 1.5px solid transparent;
  border-radius: 18px;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease),
    color 0.3s;
  position: relative;
}
.choice > span::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.choice b {
  font-size: 20px;
  letter-spacing: -0.015em;
}
.choice small {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.choice:hover > span {
  border-color: var(--ink);
}
.choice:active > span {
  transform: scale(0.98);
}
.choice input:checked + span {
  background: var(--ink);
  color: var(--bg);
}
.choice input:checked + span small {
  color: rgba(236, 234, 228, 0.65);
}
.choice input:checked + span::before {
  border-color: var(--bg);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--ink);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.35;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--card);
  transition: background 0.25s;
}
.check input::after {
  content: "✓";
  color: var(--bg);
  font-weight: 800;
  font-size: 17px;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.check input:checked {
  background: var(--ink);
}
.check input:checked::after {
  transform: scale(1);
}

.fields {
  display: grid;
  gap: 14px;
}
.row-2 {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.field em {
  font-style: normal;
  text-transform: none;
}
.field input {
  width: 100%;
  min-width: 0;
  font: 500 clamp(22px, 5.5vw, 30px)/1.2 var(--sans);
  letter-spacing: -0.015em;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.3s;
}
.field input::placeholder {
  color: rgba(14, 14, 14, 0.28);
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
}
.field input.invalid,
.choices.invalid .choice > span,
.check input.invalid {
  border-color: var(--accent);
}

.drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 22px;
  border: 1.5px dashed var(--ink);
  border-radius: 18px;
  background: var(--card);
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s var(--ease);
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.drop.drag,
.drop:hover {
  background: #fff;
}
.drop.drag {
  transform: scale(1.01);
}
.drop-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 28px;
  transition: transform 0.5s var(--ease);
}
.drop:hover .drop-icon {
  transform: rotate(90deg);
}
.drop-text {
  display: flex;
  flex-direction: column;
}
.drop-text b {
  font-size: 22px;
  letter-spacing: -0.015em;
}
.drop-text small {
  color: var(--muted);
  font-size: 15px;
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  background: var(--card);
  border-radius: 12px;
  font-size: 15px;
  animation: stepIn 0.5s var(--ease) both;
}
.file-list .thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--line);
  flex: none;
  display: grid;
  place-items: center;
  font: 500 11px var(--mono);
}
.file-list .fname {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list .fsize {
  font: 12px var(--mono);
  color: var(--muted);
}
.file-list button {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--muted);
}
.file-list button:hover {
  background: var(--line);
  color: var(--ink);
}

.error {
  color: var(--accent);
  font-weight: 500;
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: 16px;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.actions .btn {
  margin-left: auto;
  min-width: 160px;
}
@media (max-width: 480px) {
  .actions .btn {
    flex: 1;
  }
}

.done {
  text-align: left;
  outline: none;
}
.done.is-active {
  display: block;
}
.done-title {
  margin: 0 0 24px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(88px, 28vw, 300px);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0e0e0e;
  color: #eceae4;
  padding: 48px var(--gutter) 28px;
  overflow: hidden;
}
.footer-big {
  margin: 0 0 32px;
  --chev: var(--accent);
}
.footer-big .logo-svg {
  width: 100%;
  height: auto;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.footer-row a {
  text-decoration: none;
}
.footer-row a:hover {
  text-decoration: underline;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .line > span,
  .ch,
  .js .step-card .big-num {
    transform: none;
  }
  .media-reveal .media-frame,
  .js .split-media .media-frame {
    clip-path: none;
  }
  .media-reveal .media-inner,
  .media-frame.tall .media-inner {
    transform: none;
  }
  .loader,
  .cursor {
    display: none;
  }
  .works .index li .name {
    opacity: 1;
  }
}
