/* TAKETH — a short film by Jonny Kight
   Rebuilt static site. Two typefaces, one colour idea: light on black. */

:root {
  --ink: #f4f4f4;
  --ink-dim: #a8a8a8;
  --ink-faint: #6c6c6c;
  --ground: #000;
  --ground-lift: #0d0d0d;
  --rule: #2a2a2a;
  --focus: #fff;

  --display: "Abel", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Code Pro", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a:not([class]) {
  border-bottom: 1px solid var(--ink-faint);
  transition: border-color .2s ease, color .2s ease;
}
a:not([class]):hover { border-bottom-color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.15;
  margin: 0;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--ground);
  padding: .75rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- shell ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 760px; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.15rem; letter-spacing: .42em;
  text-transform: uppercase;
  border: 0; padding-left: .42em;
}
.wordmark:hover { color: #fff; }

.nav { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; }
.nav a {
  font-family: var(--display);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); border: 0;
  padding-block: .25rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(88svh, 760px);
  display: grid; place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; pointer-events: none;
  object-fit: cover;
}
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78svh; height: 56.25svw;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero__inner { position: relative; text-align: center; padding-block: 6rem; }
.hero__eyebrow {
  font-family: var(--display);
  font-size: .78rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--ink-dim); margin: 0 0 1.25rem;
}
.hero__title {
  font-size: clamp(3rem, 14vw, 8rem);
  letter-spacing: .3em;
  padding-left: .3em;
  margin: 0;
}
.hero__rule { width: min(340px, 70vw); height: 1px; background: var(--ink); margin: 1.75rem auto 0; }

/* ---------- page furniture ---------- */

.page { padding-block: clamp(3.5rem, 9vw, 7rem); }
.page + .page { padding-top: 0; }

.page__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 2.5rem;
}
.section__title {
  font-size: 1.15rem;
  color: var(--ink-dim);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.35rem; }
.prose p:last-child { margin-bottom: 0; }
.prose--lead p:first-child { color: #fff; font-size: 1.05rem; }

.quote {
  max-width: var(--measure);
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 2px solid var(--ink-faint);
  font-size: 1.02rem;
}
.quote p { margin: 0 0 1rem; }
.quote cite {
  font-family: var(--display);
  font-style: normal; letter-spacing: .2em; text-transform: uppercase;
  font-size: .8rem; color: var(--ink-dim);
}

/* ---------- video ---------- */

.video { margin-bottom: 3.5rem; }
.video:last-child { margin-bottom: 0; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ground-lift);
  border: 1px solid var(--rule);
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.audio { margin-bottom: 2rem; }
.audio iframe { width: 100%; height: 140px; border: 0; }

/* ---------- people ---------- */

.people {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.person a { display: block; border: 0; }
.person__shot {
  aspect-ratio: 1;
  background: var(--ground-lift);
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: .9rem;
}
.person__shot img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .35s ease, transform .5s ease;
}
.person a:hover .person__shot img { filter: grayscale(0); transform: scale(1.03); }
.person__name {
  font-family: var(--display);
  font-size: .95rem; letter-spacing: .16em; text-transform: uppercase;
}
.person__role { color: var(--ink-faint); font-size: .78rem; }

/* ---------- profile ---------- */

.profile { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 780px) { .profile { grid-template-columns: 300px 1fr; align-items: start; } }
.profile__shot { border: 1px solid var(--rule); background: var(--ground-lift); }
.profile__shot img { filter: grayscale(1); width: 100%; }
.profile__role {
  font-family: var(--display);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-dim); font-size: .85rem;
  margin: 0 0 .5rem;
}
.profile__name { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 1.75rem; }
.profile__note { color: var(--ink-faint); font-size: .82rem; margin-top: 1.5rem; }

/* ---------- credits table ---------- */

.credits { display: grid; gap: 2.5rem; }
.credits__list { list-style: none; margin: 0; padding: 0; }
.credits__row {
  display: grid; gap: .25rem 1.5rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 620px) { .credits__row { grid-template-columns: 1fr 1fr; } }
.credits__role {
  font-family: var(--display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-dim); font-size: .82rem;
}
.credits__name { color: var(--ink); }

/* ---------- gallery ---------- */

.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  margin-bottom: 4rem;
}
.gallery--posters { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  background: var(--ground-lift);
  transition: opacity .3s ease;
}
.gallery--posters img { aspect-ratio: 2 / 3; object-fit: contain; }
.gallery a { border: 0; display: block; }
.gallery a:hover img { opacity: .78; }
.gallery__empty {
  border: 1px dashed var(--rule);
  padding: 2rem; color: var(--ink-faint);
  max-width: var(--measure);
}

/* ---------- news ---------- */

.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.post { padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
.post:last-child { border-bottom: 0; }
.post__date {
  font-family: var(--display);
  letter-spacing: .2em; text-transform: uppercase;
  font-size: .75rem; color: var(--ink-faint);
}
.post__title { font-size: 1.25rem; margin: .5rem 0 1rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  letter-spacing: .22em; text-transform: uppercase;
  font-size: .82rem;
  padding: .85rem 1.75rem;
  border: 1px solid var(--ink-faint);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* ---------- footer ---------- */

.colophon {
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--ground-lift);
}
.colophon__credits {
  display: grid; gap: 1.25rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3rem; margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.colophon__role {
  font-family: var(--display);
  letter-spacing: .2em; text-transform: uppercase;
  font-size: .72rem; color: var(--ink-faint);
  margin: 0 0 .35rem;
}
.colophon__names { margin: 0; font-size: .88rem; }
.colophon__names span { display: block; }

.colophon__meta {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}
.colophon__heading { font-size: 1rem; margin-bottom: 1rem; }
.colophon__meta p { margin: 0; font-size: .85rem; color: var(--ink-dim); }
.social { display: flex; gap: 1.25rem; margin-top: 1rem; }
.social a {
  font-family: var(--display);
  letter-spacing: .16em; text-transform: uppercase; font-size: .75rem;
  color: var(--ink-dim); border-bottom: 1px solid transparent;
}
.social a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.colophon__fineprint {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: .72rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
