:root {
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text-light: #fff;
  --text-dark: #000;
  --muted: #4a4a4a;
  --home-bg: #000;
  --gallery-bg: #444;
  --footer-bg: #ababab;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-light);
  background: var(--home-bg);
  line-height: 1.3;
}

body.gallery { background: var(--gallery-bg); }

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: var(--home-bg);
}
body.gallery .site-header { background: var(--gallery-bg); }

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav { display: flex; gap: 18px; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { border-bottom-color: currentColor; }

/* ---------- Home ---------- */
.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 72px) var(--gutter) 0;
}
.intro p {
  font-size: clamp(1.1rem, 2.4vw, 1.385rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.1em;
}

.orb {
  display: block;
  width: min(282px, 70vw);
  aspect-ratio: 1;
  margin: clamp(40px, 8vw, 72px) auto clamp(56px, 10vw, 100px);
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Gallery ---------- */
.gallery-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px var(--gutter) 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.gallery-intro p { margin: 0 0 1em; }
.gallery-intro h1 { font-size: 1rem; margin: 0 0 1.2em; }
.gallery-intro a { color: #ccc; word-break: break-word; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 80px) clamp(16px, 3vw, 32px);
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px var(--gutter) clamp(48px, 8vw, 96px);
}
.video-grid video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
/* Square and portrait clips sit smaller and centered, like the original */
.video-grid video.square   { width: 55%; margin: 0 auto; }
.video-grid video.portrait { width: 42%; margin: 0 auto; }

@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-grid video.square   { width: 80%; }
  .video-grid video.portrait { width: 60%; }
}

.video-band {
  height: 253px;
  overflow: hidden;
  background: #fff;
}
.video-band video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-dark);
  padding: 40px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.site-footer h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
}
.footer-links a:hover { color: var(--text-dark); }

/* ---------- 404 ---------- */
.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--gutter);
}
.not-found h1 { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  .video-band { display: none; }
}
