/* antelligen.com - one screen: the line, the way in, and the film. Warm black, warm white, and one colour, the mark's
   own (orange into deep red), in the mark alone. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/geist-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/newsreader-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 600; font-display: swap; src: url('../fonts/newsreader-italic-latin.woff2') format('woff2'); }

:root {
  --bg: #0e0e0c;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3f0e9;
  --text-2: #d6d2c8;
  --muted: #a29e93;
  --faint: #75726a;
  --light: #f4f1ea;
  --light-ink: #121210;

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;

  --wrap: 1280px;
  --gutter: clamp(18px, 4.5vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--light); color: var(--light-ink); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---- type ---- */
h1, h2 { margin: 0; font-weight: 400; }
h1 { font: 400 clamp(2.2rem, .5rem + 3.9vw, 4rem)/1.06 var(--serif); letter-spacing: -.032em; }
h1 em { font-style: italic; color: var(--text-2); }
@media (min-width: 360px) { h1 span, h1 em { white-space: nowrap; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px;
  font: 600 1rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn:active { transform: scale(.985); }
.btn-light { background: var(--light); color: var(--light-ink); }
.btn-light:hover { background: #fff; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .03); }
.btn-s { height: 40px; padding: 0 18px; border-radius: 11px; font-size: .95rem; }

/* ---- the bar ---- */
.top { position: sticky; top: 0; z-index: 20; transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(14, 14, 12, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 1.32rem/1 var(--sans); letter-spacing: -.02em; }
.brand img { width: 28px; height: auto; }
.top-acts { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.login { text-decoration: none; color: var(--muted); font-size: .98rem; transition: color .2s; }
.login:hover { color: var(--text); }

/* ---- the one screen: the line, the way in, the film ---- */
.stage { padding: clamp(24px, 4.5vh, 64px) 0 clamp(48px, 8vh, 104px); text-align: center; }
.door { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 36px); }
.door .btn { min-width: 238px; }
/* the film fills the width the screen's height leaves it, so the whole of it is in sight on a laptop */
.film { position: relative; margin: clamp(30px, 5vh, 56px) auto 0; width: min(100%, max(640px, calc((100vh - 340px) * 16 / 9))); }
@supports (height: 100svh) { .film { width: min(100%, max(640px, calc((100svh - 340px) * 16 / 9))); } }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #000; border: 1px solid var(--line);
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); }
.film-sound { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 10, 9, .62); color: #fff; font: 600 .9rem/1 var(--sans); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.film-sound:hover { background: rgba(10, 10, 9, .8); }
.film-sound[hidden] { display: none; }

/* ---- footer ---- */
.foot { padding: 26px 0 34px; border-top: 1px solid var(--line); }
.foot-base { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; font-size: .86rem; color: var(--faint); }
.foot-base a { color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--text); }

/* ---- terms, privacy, not found ---- */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 11vw, 168px); }
.doc h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.doc .updated { margin: 18px 0 48px; color: var(--faint); font-size: .92rem; }
.doc h2 { margin: 56px 0 14px; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--serif); letter-spacing: -.02em; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }

/* ---- phones ---- */
@media (max-width: 760px) {
  .top-row { height: 64px; gap: 14px; }
  .login { display: none; }
  .door { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .film { width: 100%; }
  .film-sound { left: 12px; bottom: 12px; height: 38px; font-size: .85rem; }
}
