/* A.B. | 2026-11-10 | v1.1
   Haloflix Landing — self-hosted fonts, no external CDNs. */

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #07070c;
  --bg-2: #101018;
  --bg-3: #16161f;
  --ink: #f4efe4;
  --muted: #b7b1a4;
  --gold: #e4c06a;
  --gold-2: #f0d48a;
  --line: rgba(228, 192, 106, 0.28);
  --danger: #e8b4a0;
  --sans: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --header: 4.25rem;
  --radius: 999px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body.hf-body,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #fff; }
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

.lede,
.section-lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 38rem;
}
.section-lede { margin: 0 0 1.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a1408;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-2); color: #1a1408; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn--small { min-height: 2.35rem; padding: 0.4rem 0.95rem; font-size: 0.85rem; }

/* Wordmark: the O is a glowing ring */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.wordmark:hover { color: var(--ink); }
.wordmark__text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.wordmark__o {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.04em 0.05em;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(240, 212, 138, 0.15),
    0 0 14px rgba(228, 192, 106, 0.55);
  background: radial-gradient(circle at 50% 50%, rgba(240, 212, 138, 0.16), transparent 65%);
  flex: 0 0 auto;
}
.wordmark--hero .wordmark__text {
  font-size: clamp(2.6rem, 10vw, 5.6rem);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.wordmark--hero .wordmark__o {
  width: 0.78em;
  height: 0.78em;
  border-width: 3px;
  box-shadow:
    0 0 0 1px rgba(240, 212, 138, 0.2),
    0 0 28px rgba(228, 192, 106, 0.7),
    0 0 60px rgba(228, 192, 106, 0.35);
}
.wordmark--foot .wordmark__text { font-size: 1.05rem; letter-spacing: 0.16em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 7, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 192, 106, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  gap: 1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold-2); }
.site-nav .btn { color: #1a1408; }
.site-nav .btn:hover { color: #1a1408; }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-toggle__bar::before { transform: translate(-50%, calc(-50% - 5px)); }
.nav-toggle__bar::after { transform: translate(-50%, calc(-50% + 5px)); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  place-items: center;
  padding: 4.5rem 0 5.5rem;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(7, 7, 12, 0.15), rgba(7, 7, 12, 0.72) 55%, var(--bg) 85%),
    linear-gradient(to bottom, rgba(7, 7, 12, 0.2), var(--bg));
}
.hero__halo {
  position: absolute;
  inset: 10% 10% 30%;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, rgba(228, 192, 106, 0.22), rgba(228, 192, 106, 0.05) 35%, transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__content .eyebrow { margin-bottom: 1.25rem; }
.hero__brand { margin: 0 0 1.25rem; }
.hero__content h1 {
  max-width: 16ch;
  margin-bottom: 1.1rem;
}
.hero__content .lede {
  margin: 0 auto 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* About */
.about { padding: 5rem 0 4rem; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: var(--muted);
  margin: 1.25rem 0 2.75rem;
  max-width: 58rem;
}
.about__grid p { margin: 0; }
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillars li {
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.pillars h3 { color: var(--gold-2); margin-bottom: 0.4rem; }
.pillars p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Posters */
.stories { padding: 2rem 0 5rem; }
.stories .wrap { margin-bottom: 0.5rem; }
.poster-row {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem max(1.25rem, calc((100% - var(--wrap)) / 2)) 1.25rem;
  scrollbar-color: var(--gold) var(--bg-2);
}
.poster {
  flex: 0 0 auto;
  width: 168px;
  margin: 0;
  scroll-snap-align: start;
  transition: transform 0.25s ease;
}
.poster:hover { transform: translateY(-4px); }
.poster picture,
.poster img {
  width: 168px;
  height: 252px;
  object-fit: cover;
  border-radius: 0.7rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: var(--bg-3);
}
@media (min-width: 1100px) {
  .poster-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
    gap: 1rem;
  }
  .poster { width: auto; }
  .poster picture, .poster img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
}
.poster figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Creators */
.creators {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(228, 192, 106, 0.08), transparent 50%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.creators__inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2.5rem;
  align-items: center;
}
.creators p { color: var(--muted); max-width: 40rem; }

/* App */
.app { padding: 5rem 0; }
.app__inner { max-width: 40rem; }
.app p { color: var(--muted); }

/* Waitlist */
.waitlist {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(228, 192, 106, 0.12), transparent 55%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.waitlist__inner { max-width: 36rem; }
.waitlist-form { margin-top: 1.5rem; }
.field { margin: 0 0 1rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.optional { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23e4c06a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.field textarea {
  min-height: 10.5rem;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 192, 106, 0.2);
}
.form-note { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0 0; }
.form-error { color: var(--danger); margin: 0 0 1rem; }
.thanks {
  margin-top: 1.5rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg);
}
.thanks h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 0.4rem; }
.thanks p { margin: 0; color: var(--muted); }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ */
.faq { padding: 5rem 0 5.5rem; }
.faq__inner { max-width: 42rem; }
.faq-list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  padding-right: 1rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #050508;
}
.site-footer__by { color: var(--muted); margin: 0.65rem 0 1.5rem; font-size: 0.95rem; }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.tff-lockup { display: inline-flex; }
.tff-lockup img { width: 56px; height: 56px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.site-footer__links a { color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--gold-2); }
.copyright { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* Support / contact */
.support-page { padding: 4.5rem 0 5.5rem; }
.support { max-width: 40rem; }
.support__head { margin-bottom: 2rem; }
.support__head .lede { margin: 0; }
.support-form {
  margin: 0 0 2rem;
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(228, 192, 106, 0.08), transparent 55%),
    var(--bg-2);
}
.support .thanks { margin-top: 0; margin-bottom: 2rem; }
.support__aside { color: var(--muted); }
.support-direct { margin: 0 0 0.85rem; }
.support-direct .hf-email a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.support-faq { margin: 0; }

/* Privacy / legal */
.legal-page { padding: 4.5rem 0 5.5rem; }
.legal { max-width: 42rem; }
.legal__head h1 { margin-bottom: 0.4rem; }
.legal__updated { color: var(--muted); margin: 0 0 1.5rem; font-size: 0.9rem; }
.legal__body h2 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 2rem 0 0.6rem;
  color: var(--gold-2);
}
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body ul { padding-left: 1.2rem; }

/* Responsive */
@media (max-width: 900px) {
  .about__grid,
  .pillars,
  .creators__inner { grid-template-columns: 1fr; }
  .poster { width: 168px; }
  .poster picture, .poster img { width: 168px; height: 252px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 2rem)); }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(7, 7, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; width: 100%; }
  .hero { padding: 3rem 0 4rem; min-height: calc(100svh - var(--header)); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .about, .app, .waitlist, .faq, .creators, .support-page, .legal-page { padding: 3.25rem 0 3.75rem; }
  .stories { padding: 1.5rem 0 3.25rem; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster, .btn { transition: none; }
}
