:root {
  --bg: #050505;
  --ink: #f2f2f2;
  --muted: #b8b8b8;
  --faint: #7a7a7a;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(0, 0, 0, 0.55);
  --max: 980px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72)),
    url("../assets/images/background.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 1rem;
}

main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0 0.35rem;
}

.hero h1 {
  margin: 0;
  line-height: 0;
  width: min(100%, 860px);
  display: flex;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: rise-in 1s ease forwards 0.1s;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.section {
  padding: 1.75rem 0 1rem;
}

.section h2 {
  margin: 0 0 1rem;
  line-height: 0;
  text-align: center;
}

.section-title,
.section-title--wide {
  display: block;
  width: auto;
  height: clamp(5.5rem, 14vw, 8.5rem);
  max-width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.is-visible .section-title,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.video-grid,
.art-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.art-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.media-card {
  width: 66%;
  justify-self: center;
  line-height: 0;
}

.media-card a,
.art-grid a {
  display: block;
}

.media-card video,
.art-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  background: #000;
  border: 0;
  transition: transform 0.45s ease;
}

.media-card a:hover video,
.media-card a:focus-visible video,
.art-grid a:hover img,
.art-grid a:focus-visible img {
  transform: scale(1.02);
}

.about-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-portrait {
  width: min(100%, 140px);
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section.is-visible .about-portrait {
  opacity: 1;
  transform: none;
}

.about-copy {
  text-align: center;
}

.about-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.about-copy .role {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-block {
  text-align: center;
}

.contact-email {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}

.contact-email:hover,
.contact-email:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-list img {
  width: 22px;
  height: 22px;
}

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.92rem;
}

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

.site-footer p {
  margin: 0.4rem 0;
}

/* Privacy page */
.page-panel {
  width: min(100% - 2rem, 720px);
  margin: 2rem auto 4rem;
  padding: 2rem 1.25rem 3rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-brand {
  display: block;
  width: min(100%, 420px);
  margin: 1.5rem auto 2rem;
}

.page-panel h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.page-panel .updated {
  margin: 0 0 2rem;
  color: var(--muted);
}

.page-panel h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.page-panel p,
.page-panel li {
  color: var(--ink);
}

.page-panel ul {
  padding-left: 1.2rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .about-layout {
    grid-template-columns: 140px 1fr;
    gap: 2.5rem;
  }

  .about-copy {
    text-align: left;
  }

  .about-portrait {
    margin: 0;
  }

  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .art-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-panel {
    padding: 2.5rem 2.5rem 3rem;
  }
}

@media (max-width: 719px) {
  body {
    background-attachment: scroll;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-logo,
  .section-title,
  .about-portrait,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
