/* thedom.at home page 3D parts, built by make_home3d.py on 20.11.2026 from Mina's draft (18.11.2026). */
/* thedom.at 3D draft, 18.11.2026 (Mina: "Bau den Entwurf"). Only NEW rules on top of site.css.
   Photo rule kept: every photo is shown whole, not cropped, not darkened, no shade over it. Motion moves the frame or
   the letters; the depth bands shift parts of the photo only while the mouse or the page moves, at rest they are the
   original photo. */

/* ---------- Hero: giant word behind Dom ---------- */
.hero3 { --hh: clamp(620px, calc(100vh - 72px), 900px); --pw: calc(var(--hh) * .8); --mx: 0; --my: 0; --sp: 0;
  position: relative; height: var(--hh); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero3 .h3-base, .hero3 .h3-cut { position: absolute; top: 0; right: max(0px, calc((100% - 1440px) / 2)); height: 100%; width: var(--pw);
  max-width: none; transform-origin: 50% 70%; will-change: transform;
  transform: perspective(1600px) translate3d(0, calc(var(--sp) * 70px), 0) rotateY(calc(var(--mx) * -3.5deg)) rotateX(calc(var(--my) * 2.5deg)) scale(calc(1 + var(--sp) * .05)); }
.hero3 .h3-base { z-index: 1; }
.hero3 .h3-cut { z-index: 3; pointer-events: none; -webkit-mask-image: url(/assets/home3d/hero_mask.png); mask-image: url(/assets/home3d/hero_mask.png);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.hero3 .h3-word { position: absolute; z-index: 2; top: 4%; left: max(40px, calc((100% - 1240px) / 2 + 40px)); margin: 0;
  font-family: var(--display); font-weight: 400; font-size: 300px; line-height: .86; letter-spacing: .005em; color: var(--red);
  white-space: nowrap; pointer-events: none; user-select: none; will-change: transform;
  transform: translate3d(calc(var(--mx) * 26px + var(--sp) * -9vw), calc(var(--my) * 14px + var(--sp) * 40px), 0); }
.hero3 .h3-text { position: absolute; z-index: 4; left: max(40px, calc((100% - 1240px) / 2 + 40px)); bottom: 44px;
  max-width: calc(100% - var(--pw) - max(40px, calc((100% - 1240px) / 2 + 40px)) - 24px); }
.hero3 .h3-text h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vh, 76px); line-height: .9; letter-spacing: .01em; margin: 14px 0 22px; }
.hero3 .h3-text .badge { max-width: 100%; }
.hero3 .h3-text .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero3 .h3-hint { position: absolute; z-index: 4; right: 16px; bottom: 12px; font-size: 12px; color: #8A8A8A; letter-spacing: .06em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1000px) {
  .hero3 { --pw: 100vw; height: auto; padding-bottom: 36px; }
  .hero3 .h3-stage { position: relative; height: calc(100vw * 1.25); }
  .hero3 .h3-base, .hero3 .h3-cut { right: 0; left: 0; width: 100%; height: 100%; transform: none; }
  .hero3 .h3-word { top: 17%; left: 4vw; }
  .hero3 .h3-text { position: relative; left: auto; bottom: auto; max-width: none; padding: 26px 20px 0; }
  .hero3 .h3-hint { display: none; }
}

/* ---------- Depth bands: wide photo, whole, canvas on top ---------- */
.band { position: relative; border-bottom: 1px solid var(--line); background: #000; }
.band .bd-box { position: relative; width: 100%; max-width: 2000px; margin: 0 auto; }
.band .bd-box img { display: block; width: 100%; height: auto; }
.band .bd-cap { max-width: 1240px; margin: 0 auto; padding: 10px 40px 14px; }
.band .bd-word { position: absolute; left: max(24px, calc((100% - 1240px) / 2 + 40px)); bottom: 6%; z-index: 2; font-family: var(--display); font-size: clamp(56px, 9vw, 150px);
  line-height: .9; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); pointer-events: none; }
@media (max-width: 700px) { .band .bd-cap { padding: 8px 20px 12px; } }

/* ---------- Gallery: scroll-driven 3D track ---------- */
.g3 { position: relative; border-bottom: 1px solid var(--line); }
.g3 .g3-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; }
.g3 .g3-head { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 40px 22px; }
.g3 .g3-head h2 { margin: 0; }
.g3 .g3-view { perspective: 1500px; perspective-origin: 50% 45%; }
.g3 .g3-track { display: flex; align-items: flex-start; gap: 48px; width: max-content; padding: 10px 24vw 10px max(40px, calc((100vw - 1240px) / 2 + 40px)); will-change: transform; transform-style: preserve-3d; }
.g3 figure.g3-card { margin: 0; flex: none; transform-style: preserve-3d; will-change: transform; }
.g3 figure.g3-card img { display: block; height: min(60vh, calc(100vh - 300px)); width: auto; max-width: none; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.g3 figure.g3-card figcaption { max-width: 100%; }
.g3 .g3-end { flex: none; align-self: center; width: 280px; }
.g3 .g3-end .more { margin-top: 0; }
.g3 .g3-foot { max-width: 1240px; width: 100%; margin: 0 auto; padding: 18px 40px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .g3 { height: auto !important; }
  .g3 .g3-pin { position: static; height: auto; padding: 72px 0 56px; }
  .g3 .g3-head { padding: 0 20px 18px; }
  .g3 .g3-view { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .g3 .g3-track { transform: none !important; padding: 0 20px; gap: 16px; }
  .g3 figure.g3-card { transform: none !important; scroll-snap-align: center; }
  .g3 figure.g3-card { max-width: 84vw; }
  .g3 figure.g3-card img { height: auto; width: auto; max-width: 84vw; max-height: min(62vh, 520px); }
  .g3 .g3-foot { padding: 14px 20px 0; }
  .g3 .g3-foot .d { display: none; }
}
.g3 .g3-foot .m { display: none; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) { .g3 .g3-foot .m { display: inline; } }

/* ---------- Bigger photos in the existing blocks ---------- */
@media (min-width: 901px) {
  #ueber .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .nextfight { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .pitch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}
/* the live site shows this photo in a 4:5 box (cut at the bottom); here it is whole */
#ueber .about img { aspect-ratio: auto; object-fit: contain; width: auto; max-width: 100%; height: min(86vh, 900px); justify-self: center; }
@media (max-width: 900px) { #ueber .about img { width: 100%; height: auto; } }

/* ---------- 3D tilt + reveal (frame moves, photo stays as it is) ---------- */
.tilt { transform: perspective(1100px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.tilt.live { transition: transform .08s linear; }
html.js .rv { opacity: 0; transform: perspective(1100px) translate3d(0, 48px, -60px) rotateX(9deg); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .hero3 .h3-base, .hero3 .h3-cut, .hero3 .h3-word, .tilt { transform: none !important; }
}

/* thedom.at draft, 18.11.2026 evening (Mina: "Bau alle drei"): fight card, partner area as media kit, Netflix big.
   Only NEW rules on top of site.css + d3.css. Photos and the clip stay whole, no shade over them. */

/* ---------- 1. Fight card ---------- */
/* day counter big, above the Tickets button */
.nf-foot { align-items: flex-end; }
.nf-count { order: -1; flex-basis: 100%; align-items: flex-end; gap: 14px; }
.nf-count b { font-family: var(--display); font-weight: 400; font-size: clamp(84px, 9vw, 132px); line-height: .82; color: var(--text); letter-spacing: .01em; }
.nf-count span { max-width: 9em; line-height: 1.25; padding-bottom: 6px; }

/* tale of the tape */
.tape { margin: 8px 0 0; border: 1px solid var(--line); border-top: 4px solid var(--red); background: var(--panel); padding: 34px 36px 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 56px; }
.tape h3 { grid-column: 1 / -1; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .02em; }
.tape h3 small { display: block; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.tape-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; align-content: start; }
.tf .n { font-family: var(--display); font-size: 58px; line-height: 1; font-variant-numeric: tabular-nums; }
.tf .n small { font-size: .5em; letter-spacing: .04em; }
.tf .l { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tf.wide { grid-column: 1 / -1; }
.tf.wide .n { font-size: 34px; }
.tape-wins .wh { font-family: var(--display); font-size: 58px; line-height: 1; color: var(--red); }
.tape-wins .wh span { font-family: var(--body); font-size: 14px; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.bars { display: grid; gap: 12px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 28px; align-items: center; gap: 14px; font-size: 15px; }
.bar .track { height: 14px; background: #222; }
.bar .track i { display: block; height: 100%; background: var(--red); transform-origin: left center; }
.bar b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; text-align: right; }
html.js .tape .bar .track i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
html.js .tape.in .bar .track i { transform: scaleX(1); }
.tape-notes { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; font-size: 16px; }
.tape-notes b { color: var(--text); font-weight: 700; }
.tape-src { grid-column: 1 / -1; font-size: 12px; color: #7A7A7A; margin-top: 6px; }

/* all pro fights in one row */
.tl { margin-top: 44px; }
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tl-head h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .02em; }
.tl-nav { display: flex; gap: 8px; }
.tl-nav button { width: 44px; height: 44px; background: transparent; border: 1px solid #5A5A5A; color: var(--text); font-size: 20px; line-height: 1; border-radius: 3px; cursor: pointer; }
.tl-nav button:hover { border-color: var(--red); color: var(--red); }
.tl-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.tl-card { flex: none; min-width: 204px; max-width: 360px; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tl-pic { height: 230px; display: flex; align-items: center; justify-content: center; background: #0D0D0D; }
.tl-pic img { display: block; height: 230px; width: auto; max-width: none; }
.tl-year { font-family: var(--display); font-size: 104px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3A3A3A; user-select: none; }
.tl-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tl-date { font-size: 13px; color: var(--muted); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tl-ev { font-family: var(--display); font-size: 25px; line-height: 1.05; letter-spacing: .01em; }
.tl-vs { font-size: 15px; }
.tl-how { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tl-card .res { align-self: flex-start; margin-top: auto; }
.tl-cr { font-size: 11px; color: #7A7A7A; margin-top: 8px; }
.tl-foot { font-size: 12px; color: #7A7A7A; margin-top: 4px; }

/* ---------- 2. Partner area as media kit ---------- */
.pnums .n { font-variant-numeric: tabular-nums; }
.pnums.big { margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pnums.big .pn { border-top: 0; border-left: 1px solid var(--line); }
.pnums.big .pn:first-child { border-left: 0; }
.pnums.big .pn { padding: 26px 26px 24px; }
.pnums.big .pn:first-child { padding-left: 0; }
.pnums.big .n { font-size: clamp(52px, 6.2vw, 92px); }
.pnums.big .l { font-size: 17px; margin-top: 10px; max-width: 18em; }
.pitch .lead { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.35; }
@media (max-width: 700px) { .pnums.big { grid-template-columns: 1fr; } .pnums.big .pn { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); } .pnums.big .pn:first-child { border-top: 0; } .pnums.big .n { font-size: 52px; } }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.pack { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.pack h3 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: .02em; }
.pack ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; font-size: 17px; }
.pack li { position: relative; padding-left: 22px; }
.pack li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 3px; background: var(--red); }
.pack .btn { margin-top: auto; align-self: flex-start; }
.kit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 22px 0 56px; padding: 24px 26px; border: 1px solid var(--line); }
.kit b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .02em; }
.kit p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.kit .kit-note { flex-basis: 100%; color: var(--text); border-left: 4px solid var(--red); padding-left: 12px; margin-top: 0; }

/* ---------- 3. Netflix big ---------- */
#netflix { background: #000; overflow: hidden; }
#netflix .film { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
#netflix .film-text, #netflix .film-video { position: relative; z-index: 1; }
#netflix .film-text { align-self: start; padding-top: 28px; }
#netflix .film-text h2 { font-size: clamp(52px, 6vw, 96px); }
#netflix .film-text .sub { font-size: 20px; max-width: 30em; }
#netflix .film-word { position: absolute; z-index: 0; left: -.03em; bottom: -.16em; margin: 0; font-size: min(33vw, 470px); -webkit-text-stroke: 1px #383838; }
#netflix .film-video video { width: auto; height: min(84vh, 820px); max-width: 100%; }
@media (max-width: 900px) {
  #netflix .film { grid-template-columns: 1fr; gap: 28px; }
  #netflix .film-video { max-width: none; }
  #netflix .film-video video { width: 100%; height: auto; }
}

@media (max-width: 900px) {
  .tape { grid-template-columns: 1fr; padding: 26px 20px 20px; }
  .packs { grid-template-columns: 1fr; }
  .tl-head h3, .tape h3 { font-size: 32px; }
}
@media (max-width: 520px) {
  .tf .n, .tape-wins .wh { font-size: 46px; }
  .bar { grid-template-columns: 78px minmax(0, 1fr) 24px; gap: 10px; }
  .tl-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { html.js .tape .bar .track i { transform: none; transition: none; } }

/* thedom.at intro draft, 18.11.2026 (Mina: "nimm Faust 1"). The fist from his logo (layers with depth) punches the
   screen, the screen breaks, the site is behind it. The version with the 3D glove is kept in _both_fists_2026-11-18/.
   The site loads behind the black cover, so the intro adds no waiting time. */
.intro { position: fixed; inset: 0; z-index: 1000; background: #0A0A0A; overflow: hidden; cursor: pointer; }
.intro.broken { background: transparent; }
html.no-intro .intro { display: none; }
.intro .in-shards { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro .in-stage { position: absolute; inset: 0; perspective: 1200px; }
.intro .in-logo { position: absolute; left: 50%; top: 50%; width: min(62vw, 620px); height: auto; max-width: none; transform: translate(-50%, -50%); opacity: 0; }
.intro .in-fist, .intro .in-ghost { position: absolute; left: 50%; top: 50%; opacity: 0; transform-style: preserve-3d; pointer-events: none; }
.intro .in-fist i, .intro .in-ghost i { position: absolute; inset: 0; background: center / contain no-repeat; }
.intro .in-fist i.s { background-image: url(/assets/intro/fist_side.webp); }
.intro .in-fist i.f, .intro .in-ghost i { background-image: url(/assets/intro/fist.webp); }
.intro .in-flash { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #fff 0, #fff 10%, rgba(215, 38, 47, .92) 36%, rgba(215, 38, 47, 0) 78%); }
.intro .in-skip { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  background: none; border: 0; color: #8A8A8A; font-family: var(--body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 8px; }
.intro .in-skip:hover { color: #fff; }

/* 20.11.2026 real site: bar widths as classes (CSP style-src 'self' blocks style attributes) */
.bar .track i.w2 { width: 25.0%; }
.bar .track i.w6 { width: 75.0%; }
.bar .track i.w8 { width: 100.0%; }
/* intro only when intro-gate.js said so (first page of a visit, motion allowed); without JS never */
.intro { display: none; }
html.intro-go .intro:not([hidden]) { display: block; }
