/* flip — Berlin Indie Animation Festival */
:root {
  color-scheme: light;
  --background: #fff;
  --foreground: #111;
  --muted: #666;
  --line: #111;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Courier, "Courier New", monospace;
  font-size: 16px;
  line-height: 1.45;
}

.site-header {
  padding: 34px 4vw 0;
}

.brand {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  margin: 0;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.brand-subtitle {
  margin: 18px 0 0 4px;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: -0.035em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 35px 0 0;
  padding: 13px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  max-width: 50%;
  min-height: 48vh;
  padding: 34px 4vw 70px;
}

.screening-page {
  max-width: 1100px;
}

.page-title {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 400;
}

.screening-post {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
  width: 100%;
}

.screening-hero {
  width: 100%;
}

.screening-poster {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.screening-copy {
  max-width: 640px;
}

.screening-kicker,
.screening-date,
.screening-venue {
  margin: 0 0 12px;
}

.screening-kicker {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.screening-date,
.screening-venue {
  font-size: 1rem;
}

.screening-copy p {
  margin: 0 0 18px;
}

.screening-program {
  margin: 0 0 20px;
}

.screening-program p {
  margin: 0 0 10px;
}

.screening-program ul {
  margin: 0;
  padding-left: 1.2rem;
}

.screening-program li {
  margin: 0 0 8px;
  line-height: 1.55;
}

.screening-copy strong {
  font-weight: 700;
}

.screening-action {
  margin-top: 24px;
}

.screening-action a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.screening-action a:hover,
.screening-action a:focus-visible {
  text-decoration-thickness: 2px;
}

.submission-intro {
  margin: 0 0 28px;
  max-width: 100%;
}

.submission-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.submission-intro p {
  margin: 0 0 12px;
}

.submission-form {
  width: 100%;
}

.submission-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 1100px;
  border: 0;
  background: transparent;
}

.home-space {
  min-height: 36vh;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 4vw 24px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.site-footer-main {
  color: var(--muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.legal-links a,
.legal-links span {
  color: var(--muted);
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  max-width: 720px;
}

.legal-page h3 {
  margin: 26px 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  margin: 0 0 12px;
}

.legal-page ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

@media (max-width: 520px) {
  .site-header { padding-top: 26px; }
  .site-nav { gap: 8px 18px; margin-top: 28px; }
  main { padding-top: 28px; }
  .legal-links { gap: 6px; }
}
