
/* ---------- Base font (Substack-like) ---------- */
:root {
  --bg: #634A5F;
  --text: #F4F2F5;
  --muted: #D8CFDD;
  --link: #F4F2F5;
  --maxw: 1280px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px dotted var(--text); outline-offset: 3px; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 120px; /* space for fixed bottom nav */
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 8px 0;
  background: var(--text);
  color: #222;
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- Bottom nav (transparent) ---------- */
.bottom-nav-wrap {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1000;
}
.bottom-nav {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: transparent;
  border: 0;
}
.bottom-nav a {
  font-size: 1rem;
  letter-spacing: 0.2px;
  padding: 4px 2px;
  opacity: 0.9;
  transition: opacity 160ms ease-in-out;
}
.bottom-nav a:hover, .bottom-nav a:focus {
  opacity: 1;
}
.bottom-nav a[aria-current="page"] {
  font-weight: 700;
}
.bottom-nav a[aria-current="page"]::after {
  content: ".";
  margin-left: 2px;
}

/* ---------- Film page ---------- */
.film-stack {
  display: grid;
  gap: 28px;
}
.video-embed {
  width: min(100%, 1200px);
  aspect-ratio: 16/9;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  max-height: 90vh;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Photo page ---------- */
.photo-stack {
  display: grid;
  gap: 18px;
}

/* ---------- Info page ---------- */
.info-wrap {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
}
.info-wrap p { margin: 0 0 12px; }
.info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
  margin-right: 6px;
  opacity: 0.95;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
