/* One Big Question: site styles. No external requests: fonts and images are served from this site. */

@font-face {
  font-family: "Huninn";
  src: url("fonts/huninn-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kablammo";
  src: url("fonts/kablammo-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  --orange: #FF5100;
  --orange-deep: #D94400;
  --ink: #2B1D14;
  --ink-soft: #5E4B3E;
  --paper: #FFF8F1;
  --card: #FFFFFF;
  --line: #F1DFCF;
  --night: #1E2A4A;
  --radius: 22px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Huninn", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.name { font-family: "Kablammo", "Huninn", sans-serif; font-weight: 400; letter-spacing: .01em; }

/* ---------- top bar ---------- */
.bar { background: var(--orange); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.brand .name { font-size: 24px; line-height: 1; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: #fff; text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--orange); color: #fff; text-align: center; padding: 40px 0 88px; position: relative; overflow: hidden; }
.hero .mark { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 28px; box-shadow: 0 10px 30px rgba(120,30,0,.25); }
.hero h1 { font-size: clamp(44px, 9vw, 96px); line-height: 1.05; margin: 0 0 14px; }
.hero .lede { font-size: clamp(19px, 2.6vw, 24px); margin: 0 auto 30px; max-width: 30ch; color: #FFF3EA; }
.hero::after { /* soft wave into the page */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 60px;
  background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-size: 18px; padding: 12px 22px 12px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(120,30,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(120,30,0,.28); }
.btn .yt { width: 30px; height: 21px; flex: none; }

/* ---------- sections ---------- */
section { padding: 36px 0; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; font-weight: 400; }
h3 { font-size: 21px; line-height: 1.3; margin: 0 0 6px; font-weight: 400; }
.sub { color: var(--ink-soft); margin: 0 0 26px; max-width: 60ch; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.point { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.point .ic { width: 44px; height: 44px; border-radius: 14px; background: #FFE6D6; color: var(--orange-deep); display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }
.point p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* ---------- films ---------- */
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.film { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.film .pic { position: relative; aspect-ratio: 16 / 9; background: var(--night); }
.film .pic img { width: 100%; height: 100%; object-fit: cover; }
.film .num { color: var(--orange-deep); font-size: 15px; letter-spacing: .02em; margin-bottom: -6px; }
.film .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.film h3 { margin: 0; }
.film .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; }
.tag { display: inline-block; font-size: 15px; padding: 3px 12px; border-radius: 999px; background: #F4ECE4; color: var(--ink-soft); }
.watch { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: #FFE6D6; padding: 6px 14px 6px 10px; border-radius: 999px; }
.watch:hover { color: var(--ink); background: #FFD7BF; }
.watch .yt { width: 24px; height: 17px; }
.film.soon .pic { display: grid; place-items: center; background: linear-gradient(135deg, #FF6A1F, var(--orange) 60%, #F04800); }
.film.soon .pic img.q { width: 30%; height: auto; border-radius: 18px; opacity: .95; }

/* ---------- uploader note ---------- */
.note { background: var(--card); border: 1px solid var(--line); border-left: 8px solid var(--orange); border-radius: var(--radius); padding: 26px 28px; }
.note h2 { font-size: clamp(24px, 3.2vw, 30px); }
.note ul { margin: 12px 0 16px; padding-left: 22px; }
.note li { margin: 4px 0; }
.note p:last-child { margin-bottom: 0; }

/* ---------- document pages (privacy, terms) ---------- */
.doc-head { background: var(--orange); color: #fff; padding: 34px 0 70px; position: relative; overflow: hidden; }
.doc-head::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 44px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.doc-head h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 0 0 8px; font-weight: 400; }
.doc-head p { margin: 0; color: #FFF3EA; }
.doc { max-width: 760px; padding: 10px 0 40px; }
.doc h2 { font-size: 26px; margin: 34px 0 8px; }
.doc h3 { margin: 22px 0 4px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 5px 0; }
.summary { background: #FFE6D6; border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 10px; }
.summary ul { margin: 6px 0 0; }
.todo { background: #FFF06A; color: #000; padding: 0 6px; border-radius: 4px; }

/* ---------- footer ---------- */
footer { background: var(--night); color: #D8DEEE; margin-top: 30px; font-size: 16px; }
footer .wrap { padding: 30px 0 34px; display: grid; gap: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: #fff; }
footer a:hover { color: #FFC9A8; }
footer .fine { color: #AAB3CC; font-size: 14px; margin: 0; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .bar .wrap { justify-content: center; }
  .nav { justify-content: center; }
  .hero { padding-top: 28px; }
  .hero .mark { width: 96px; height: 96px; }
  .note { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: none; transform: none; }
}
