@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-VF-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif SC';
  src: url('../fonts/NotoSerifSC-600-anyaupo-chars.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+5B89, U+7950, U+9B44, U+4E00, U+6B21, U+8FC7;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--space-5); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: 1.1; }
h2 { max-width: 30ch; font-size: var(--text-h2); line-height: 1.2; }
p { max-width: var(--measure); }
.han { font-family: var(--font-han); font-weight: 600; }
.wrap {
  width: min(calc(100% - var(--space-6)), calc(var(--space-9) * 10));
  margin-inline: auto;
}
.symbols { position: absolute; overflow: hidden; pointer-events: none; }
.skip-link {
  position: absolute;
  z-index: 2;
  top: var(--space-2);
  left: var(--space-4);
  min-height: var(--tap);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-small);
  background: var(--bg);
  transform: translateY(calc(-100% - var(--space-5)));
}
.skip-link:focus-visible { transform: translateY(0); }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  width: calc(var(--space-9) * 2);
  max-width: 100%;
  text-decoration: none;
}
.brand picture, .brand img { display: block; width: 100%; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); font-size: var(--text-sm); }
nav a { display: inline-flex; align-items: center; min-height: var(--tap); }
.site-header nav { justify-content: space-between; width: 100%; }
.banner-content { position: relative; }
.hero-loop {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.banner::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  /* Dark where the text sits, lighter toward the picture, so the film stays visible. */
  background: linear-gradient(90deg, rgb(20 22 28 / 0.94) 0%, rgb(20 22 28 / 0.82) 48%, rgb(20 22 28 / 0.3) 100%);
  pointer-events: none;
}
.banner .hero-toggle {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-3);
  color: var(--banner-muted);
  font-size: var(--text-sm);
}
.hero-sub { max-width: 36ch; font-size: var(--text-lg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.banner .actions { margin-top: var(--space-6); }
.section { padding-block: var(--space-8); scroll-margin-top: var(--space-5); }
.section-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.eyebrow {
  margin-bottom: var(--space-3);
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { margin-top: var(--space-4); color: var(--muted); font-size: var(--text-lg); }
.reel {
  color: var(--muted);
}
.reel-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-banner);
  background: var(--banner-bg);
}
.reel-video { width: 100%; height: 100%; object-fit: contain; }
.reel-start { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.reel figcaption { margin-top: var(--space-3); font-size: var(--text-sm); text-align: center; }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.proof:not(:empty) { margin-top: var(--space-4); }
.proof img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-small); }
#films .note { margin-top: var(--space-5); }
.film-credits p + p { margin-top: var(--space-2); }
#apps { padding-top: 0; }
.card-content { min-width: 0; }
.card .tag { margin-top: var(--space-3); }
.about { display: grid; gap: var(--space-5); }
.prose p + p { margin-top: var(--space-5); color: var(--muted); }
.name-story { font-size: var(--text-lg); }
.contact { padding-top: 0; }
.contact > p:not(.eyebrow) { margin-block: var(--space-4); color: var(--muted); }
.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  max-width: 100%;
  font-size: var(--text-h3);
  overflow-wrap: anywhere;
}
.contact .actions { margin-top: var(--space-5); }
#contact-form { max-width: var(--measure); margin-top: var(--space-6); }
#contact-form .input { min-width: 0; }
#contact-form .contact-honeypot { position: absolute; left: -10000px; }
#contact-result { min-height: 1.55em; margin-top: var(--space-3); overflow-wrap: anywhere; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
}
.footer-identity { display: flex; align-items: center; gap: var(--space-4); }

@media (min-width: 48rem) {
  .site-header { padding-block: var(--space-6); }
  .site-header nav { width: auto; gap: var(--space-5); }
  .section { padding-block: var(--space-9); }
  .section-intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-7);
  }
  .section-intro > div:first-child { max-width: var(--measure); }
  .section-intro .actions { flex: none; }
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr 1.5fr; gap: var(--space-7); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.nowrap { white-space: nowrap; }

@media (max-width: 640px) {
  .banner .hero-toggle { position: static; margin-top: var(--space-3); padding-inline: 0; }
}
