@font-face { font-family: 'LogoFace'; src: url('fonts/AdapterHebrewDisplay-Eb.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'KavGeo'; src: url('fonts/KavGeo-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'KavGeo'; src: url('fonts/KavGeo-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'KavGeo'; src: url('fonts/KavGeo-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* black, white, one red. Red: the dots, the seal, the red word, the play mark, the button, the horizon */
:root {
  --bg: #0a0a0a;
  --white: #f5f3f2;
  --grey: #8f8a89;            /* 6.0:1 on the ground */
  --soft: #c9c4c3;
  --red: #e5141f;             /* white on it 4.9:1 */
  --red-hot: #ff3a3a;         /* large red type on black 5.9:1 */
  --line: #3a3a3a;
  --foil: linear-gradient(100deg, #ff5a52 0%, #e5141f 35%, #ff8f7d 70%, #e5141f 100%);
  --sans: 'KavGeo', Arial, sans-serif;
  --h1: clamp(46px, 3.4vw + 30px, 190px);
  --h2: clamp(30px, 1.3vw + 22px, 76px);
  --sub: clamp(18px, 0.5vw + 15px, 34px);
  --gap: clamp(10px, 0.8vw, 28px);
  --col: min(88vw, 2400px);
}
* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--sans); font-weight: 500; line-height: 1.5; overflow-x: clip; }
video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dim { color: var(--grey); }

.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* nav: centred, like the reference */
.nav { position: absolute; top: 0; inset-inline: 0; z-index: 10; display: flex; justify-content: center; align-items: center; gap: clamp(22px, 2vw, 64px);
  padding: calc(env(safe-area-inset-top, 0px) + clamp(18px, 1.6vw, 52px)) 16px 0; font-size: clamp(15px, 0.35vw + 12px, 24px); }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--white); }

/* hero: one centred column over the red dot field; a red horizon under it */
.hero { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 100svh; padding: clamp(110px, 7vw, 240px) 16px clamp(110px, 6vw, 220px); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; width: var(--col); }
.hero-inner::before { content: ''; position: absolute; inset: -6% -10% auto; height: 46%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 10, 10, 0.85) 30%, rgba(10, 10, 10, 0) 70%); }
h1 { margin: 0; font-weight: 900; font-size: var(--h1); line-height: 1.02; text-wrap: balance; }
h1 em { font-style: normal; color: var(--red-hot); }
.sub { margin: 0.8em 0 0; max-width: 30em; color: var(--soft); font-weight: 300; font-size: var(--sub); text-wrap: balance; }

.vsl { position: relative; width: min(100%, 1500px); aspect-ratio: 16 / 9; margin-block: clamp(30px, 2.6vw, 100px); background: rgba(20, 20, 20, 0.9); border-radius: clamp(12px, 0.8vw, 28px);
  box-shadow: 0 0 0 1px rgba(255, 58, 58, 0.35), 0 40px 140px rgba(229, 20, 31, 0.18), 0 30px 90px rgba(0, 0, 0, 0.7); display: grid; place-items: center; overflow: hidden; }
.vsl video { width: 100%; height: 100%; object-fit: cover; }
.play { --p: clamp(64px, 5vw, 170px); width: var(--p); aspect-ratio: 1; border-radius: 50%; background: var(--red); position: relative; box-shadow: 0 0 0 calc(var(--p) * 0.12) rgba(229, 20, 31, 0.2); }
.play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; transform: translateX(-12%);
  border-block: calc(var(--p) * 0.17) solid transparent; border-inline-end: calc(var(--p) * 0.27) solid #fff; }

/* the waitlist, as in the reference: an outlined field and a full-width foil button */
.join { display: grid; margin-top: 0; gap: clamp(10px, 0.7vw, 24px); width: min(100%, clamp(340px, 40vw, 1400px)); }
.box { display: flex; align-items: center; gap: 0.6em; border: 1px solid var(--line); border-radius: 14px; padding: 0.7em 1em; background: rgba(0, 0, 0, 0.45); font-size: var(--sub); transition: border-color 0.2s; }
.box:focus-within { border-color: var(--red-hot); }
.box span { font-weight: 900; white-space: nowrap; }
.box input { flex: 1; min-width: 0; font: inherit; color: var(--white); background: transparent; border: 0; outline: none; padding: 0; text-align: right; }
.join button { font-family: var(--sans); font-size: var(--sub); font-weight: 900; color: #fff; background: var(--foil); background-size: 220% 100%; border: 0; border-radius: 999px;
  padding: 0.7em 1em; cursor: pointer; transition: background-position 0.7s, transform 0.2s; }
.join button:hover { background-position: 100% 0; transform: translateY(-1px); }
.join button:disabled { opacity: 0.6; }
.msg { margin: 0; min-height: 1.4em; color: var(--soft); font-weight: 300; }
.horizon { position: absolute; inset-inline: -10%; bottom: -5vw; height: 7vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(229, 20, 31, 0.32), rgba(229, 20, 31, 0) 70%); box-shadow: 0 -1px 0 rgba(255, 58, 58, 0.45); }

/* films */
.films { padding-block: clamp(40px, 3vw, 110px) clamp(60px, 4vw, 150px); }
.films h2 { width: var(--col); text-align: center; margin: 0 auto clamp(24px, 2vw, 70px); font-weight: 900; font-size: var(--h2); line-height: 1.05; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 12.5vw, 460px); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: calc((100vw - var(--col)) / 2); scroll-padding-inline: calc((100vw - var(--col)) / 2); padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: #3a1a1c transparent; }
.card { margin: 0; scroll-snap-align: start; }
.card-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #111; cursor: pointer; border-radius: clamp(8px, 0.5vw, 18px); box-shadow: 0 0 0 1px #262626; transition: box-shadow 0.2s, transform 0.25s; }
.card-media:hover { transform: translateY(-4px); }
.card-media.live { box-shadow: 0 0 0 2px var(--red-hot); }
.card video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 700px) { .rail { grid-auto-columns: 58vw; } }

/* nav: links and one red pill to the waitlist */
.nav .cta { background: var(--red); color: #fff; border-radius: 999px; padding: 0.5em 1.2em; font-weight: 900; transition: background 0.2s, transform 0.2s; }
.nav .cta:hover { background: #c40f19; color: #fff; transform: translateY(-1px); }
/* the logo, big, in the middle of the hero */
.brand { display: flex; align-items: center; gap: clamp(14px, 1vw, 34px); margin-bottom: clamp(40px, 3.6vw, 130px); }
.brand img { width: clamp(96px, 8vw, 300px); height: auto; display: block; }
.brand .wm { font-family: 'LogoFace', Arial, sans-serif; font-weight: 800; font-size: clamp(46px, 3.9vw, 150px); line-height: 0.95; color: var(--white); text-align: left; }
.brand .wm b { color: var(--red-hot); font-weight: 800; }
.join:target, .join:focus-within { outline: none; }

.box, .join button { font-size: clamp(20px, 0.75vw + 14px, 40px); }
.box input::placeholder { color: #6e6a69; }
.consent { display: flex; align-items: center; gap: 0.6em; justify-content: center; color: var(--soft); font-size: clamp(15px, 0.35vw + 12px, 26px); font-weight: 300; cursor: pointer; }
.consent input { width: 1.1em; height: 1.1em; accent-color: var(--red); margin: 0; }

/* the WhatsApp community: a quiet outlined pill under the form, the green only on the glyph */
.wa { display: inline-flex; align-items: center; gap: 0.55em; margin-top: clamp(14px, 1vw, 40px); padding: 0.6em 1.5em; border: 1px solid var(--line); border-radius: 999px;
  color: var(--white); background: rgba(0, 0, 0, 0.45); text-decoration: none; font-weight: 500; font-size: clamp(17px, 0.55vw + 12px, 34px); transition: border-color 0.2s, transform 0.2s; }
.wa svg { width: 1.25em; height: 1.25em; fill: #25d366; flex: none; }
.wa:hover { border-color: var(--red-hot); transform: translateY(-1px); }

/* the films as one wall: every film in view, a red 18th tile back to the list */
.wall { width: var(--col); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 1100px) { .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 2200px) { .wall { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-cta { aspect-ratio: 9 / 16; border-radius: clamp(8px, 0.5vw, 18px); background: var(--foil); background-size: 220% 100%; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.4em; padding: 1em; text-align: center; transition: background-position 0.7s, transform 0.25s; }
.card-cta span { font-weight: 500; font-size: clamp(16px, 0.6vw + 10px, 34px); line-height: 1.25; }
.card-cta b { font-weight: 900; font-size: clamp(20px, 0.9vw + 12px, 50px); }
.card-cta:hover { background-position: 100% 0; transform: translateY(-4px); }

/* get in touch: a band after the films */
.talk { display: grid; justify-items: center; gap: clamp(16px, 1.2vw, 44px); padding: clamp(50px, 4vw, 160px) 16px clamp(60px, 4vw, 150px); border-top: 1px solid var(--line); text-align: center; }
.talk h2 { margin: 0; font-weight: 900; font-size: var(--h2); line-height: 1.1; }
.talk-btn { background: var(--red); color: #fff; border-radius: 999px; padding: 0.6em 1.6em; font-weight: 900; font-size: clamp(20px, 0.75vw + 14px, 40px); text-decoration: none; transition: background 0.2s, transform 0.2s; }
.talk-btn:hover { background: #c40f19; transform: translateY(-1px); }
.talk p { margin: 0; font-size: clamp(15px, 0.35vw + 12px, 26px); }
.talk p a { color: var(--soft); }
