/* Archivo + Archivo Black (SIL Open Font License), Latin subsets made from the .ttf files next to them */
@font-face { font-family: "Archivo Black"; src: url("/fonts/archivo-black-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --green: #223a2b;
  --green-deep: #1a2e22;
  --white: #fff;
  --soft: rgba(255, 255, 255, .75);
  --line: rgba(255, 255, 255, .3);
  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--green); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* film grain sits under the content, so photos and video stills keep their own colors */
  background: url("/img/grain.png"), var(--green);
  color: var(--white);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display, nav, .head, .btn, .rel-title, .menu h2, .menu-list a, .news-head, .news button, .vid h2, .hero-line { font-family: var(--display); font-weight: 400; text-transform: uppercase; }

/* header: nav and icons left, his hand-drawn name top right */
.top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "bar name";
  align-items: start;
  gap: 24px;
  padding: 26px var(--pad) 30px;
}
.name { grid-area: name; display: block; width: clamp(300px, 36vw, 540px); }
.name img { width: 100%; }
.bar { grid-area: bar; display: flex; flex-direction: column; gap: 14px; padding-top: 2px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 17px; letter-spacing: .04em; line-height: 1.2; }
nav a { position: relative; padding: 4px 0; }
nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
nav a:hover::after, nav a[aria-current="page"]::after { transform: scaleX(1); }
.social { display: flex; gap: 6px; margin: 0 0 0 -7px; padding: 0; list-style: none; }
.social a { display: block; padding: 7px; transition: opacity .25s ease; }
.social a:hover { opacity: .6; }
.social svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* home: the photo takes the first screen, header sits on the sky */
.home .top { position: absolute; top: 0; left: 0; right: 0; }
.home .top::before {
  content: "";
  position: absolute;
  inset: 0 0 -60px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(14, 26, 18, .5), rgba(14, 26, 18, .18) 60%, transparent);
}
.home .name img { filter: drop-shadow(0 2px 10px rgba(10, 22, 14, .35)); }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1400px; overflow: hidden; background: var(--green-deep); }
.hero picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(14, 26, 18, .6));
}
.hero-foot {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-line { margin: 0; font-size: 15px; letter-spacing: .06em; line-height: 1.25; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-line span { display: block; font-size: clamp(34px, 4.6vw, 66px); line-height: .95; letter-spacing: .005em; margin: 6px 0 8px; }
.btn {
  display: inline-block;
  padding: 13px 30px 12px;
  border: 2px solid var(--white);
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 1;
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: var(--white); color: var(--green); }
.hero .btn { background: rgba(14, 26, 18, .25); }
.hero .btn:hover { background: var(--white); }

/* sections and inner pages */
.latest, .page { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.latest { padding-top: 90px; }
.page { padding-top: 34px; }
.head { margin: 0 0 40px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: .005em; }
.more { margin: 46px 0 0; }
.more a { font-family: var(--display); text-transform: uppercase; font-size: 15px; letter-spacing: .06em; border-bottom: 2px solid; padding-bottom: 3px; }
.more a:hover { opacity: .7; }

/* releases grid */
.rels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
.rel-open { display: block; }
.rel-open picture { position: relative; display: block; overflow: hidden; background: var(--green-deep); }
.rel-open picture::after {
  content: "listen";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .08em;
  background: rgba(14, 26, 18, .5);
  opacity: 0;
  transition: opacity .25s ease;
}
.rel-open img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.rel-open:hover picture::after, .rel-open:focus-visible picture::after { opacity: 1; }
.rel-open:hover img { transform: scale(1.03); }
.rel-title { display: block; margin-top: 14px; font-size: 16px; line-height: 1.2; letter-spacing: .02em; }
.rel-kind { display: block; margin-top: 3px; font-size: 14px; color: var(--soft); }

/* streaming menu (a native modal dialog: Esc closes, focus stays inside) */
.menu {
  width: min(440px, calc(100% - 24px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--green-deep) url("/img/grain.png");
  color: var(--white);
  overflow: auto;
}
.menu::backdrop { background: rgba(8, 16, 11, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.menu[open] { animation: menu-in .22s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }
.menu-in { position: relative; padding: 26px 26px 22px; }
.menu-x {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.menu-x:hover { opacity: .65; }
.menu-head { display: flex; align-items: center; gap: 18px; padding-right: 36px; }
.menu-head img { width: 92px; height: 92px; flex: none; }
.menu h2 { margin: 0; font-size: 22px; line-height: 1.1; }
.menu-head p { margin: 4px 0 0; font-size: 14px; color: var(--soft); }
.menu-label { margin: 22px 0 6px; font-size: 13px; color: var(--soft); text-transform: uppercase; letter-spacing: .1em; }
.menu-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 12px 8px;
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .2s ease, padding .2s ease;
}
.menu-list a:hover, .menu-list a:focus-visible { background: rgba(255, 255, 255, .08); padding-left: 14px; }
.go { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* videos */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 36px; margin: 0; padding: 0; list-style: none; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.still { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.still:hover img { transform: scale(1.02); }
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  transition: background .3s ease;
}
.play::before {
  content: "";
  position: absolute;
  left: 25px; top: 19px;
  border-style: solid;
  border-width: 11px 0 11px 16px;
  border-color: transparent transparent transparent #fff;
}
.still:hover .play { background: rgba(0, 0, 0, .45); }
.vid h2 { margin: 16px 0 0; font-size: 18px; line-height: 1.2; letter-spacing: .02em; }
.vid p { margin: 3px 0 0; font-size: 15px; color: var(--soft); }
.vid p a, .contact a, .mail a { color: var(--white); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vid p a:hover, .contact a:hover, .mail a:hover { text-decoration-thickness: 2px; }

/* contact */
.contact { padding: 10px 0 20px; }
.contact-line { margin: 0; font-size: 19px; color: var(--soft); }
.contact-mail { margin: 10px 0 0; font-family: var(--display); font-size: clamp(24px, 4vw, 48px); line-height: 1.1; overflow-wrap: anywhere; }
.contact-mail a { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact-also { margin-top: 40px; font-size: 17px; }

/* footer */
.foot {
  width: 100%;
  max-width: var(--wrap);
  margin: 120px auto 0;
  padding: 48px var(--pad) 52px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.news { max-width: 460px; margin: 0 auto 40px; }
.news-head { margin: 0 0 14px; font-size: 16px; letter-spacing: .08em; }
.news-row { display: flex; }
.news input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 2px solid var(--white);
  border-right: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.news input::placeholder { color: var(--soft); opacity: 1; }
.news input:focus { outline: none; background: rgba(255, 255, 255, .07); }
.news button {
  padding: 11px 22px;
  border: 2px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--green);
  font-size: 14px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.news button:hover { background: transparent; color: var(--white); }
.news-note { margin: 10px 0 0; font-size: 14px; color: var(--soft); }
.news-thanks { margin: 0; font-size: 18px; }
.news.done .news-row, .news.done .news-note { display: none; }
.mail { margin: 0; font-size: 17px; }
.foot-logo { display: block; width: 58px; margin: 30px auto 0; }
.doodle { display: block; width: 100%; height: auto; fill: currentColor; }
.copy { margin: 8px 0 0; font-size: 13px; letter-spacing: .06em; color: var(--soft); }

/* small screens */
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .rels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .vids { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .top { grid-template-columns: 1fr; grid-template-areas: "name" "bar"; gap: 14px; padding: 18px var(--pad) 22px; }
  .name { width: min(100%, 380px); justify-self: center; }
  .bar { align-items: center; gap: 6px; }
  nav { justify-content: center; gap: 4px 24px; font-size: 16px; }
  .social { margin: 0; gap: 8px; }
  .home .top::before { inset: 0 0 -80px; }
  .hero { min-height: 520px; }
  .hero-img { object-position: 74% 50%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; bottom: 30px; }
  .hero-line span { font-size: clamp(32px, 9.5vw, 48px); }
  .latest { padding-top: 64px; }
  .page { padding-top: 14px; }
  .head { margin-bottom: 28px; }
  .rel-title { font-size: 14px; margin-top: 10px; }
  .rel-kind { font-size: 13px; }
  .menu-in { padding: 22px 18px 16px; }
  .menu-head img { width: 76px; height: 76px; }
  .foot { margin-top: 90px; padding: 40px var(--pad) 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
nav { font-size: 24px; gap: 28px; }
nav a { font-family: "Archivo Black", "Arial Black", Arial, sans-serif !important; text-transform: uppercase !important; font-style: normal !important; }
@media (max-width: 640px) {
  nav { font-size: 19px; gap: 4px 22px; }
}

/* header: guy left (home), name centered, menu + icons right, smaller (Ahmad, Oct 23) */
.top { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); grid-template-areas: "mark name bar"; align-items: center; }
.mark { grid-area: mark; justify-self: start; display: block; transition: opacity .25s ease; }
.mark:hover { opacity: .75; }
.mark .doodle { display: block; width: 130px; height: auto; fill: #fff; }
.name { justify-self: center; width: clamp(280px, 34vw, 500px); }
.bar { justify-self: end; align-items: flex-end; gap: 8px; }
nav { font-size: 17px !important; gap: 4px 22px; justify-content: flex-end; }
.social { margin: 0 -7px 0 0; }
.social svg { width: 19px; height: 19px; }
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr; grid-template-areas: "mark name" "bar bar"; gap: 12px 16px; }
  .name { justify-self: end; width: min(100%, 360px); }
  .bar { justify-self: center; align-items: center; }
  nav { justify-content: center; font-size: 15px !important; }
  .mark .doodle { width: 86px; }
}

/* newsletter like phoebebridgers.com, in our colors (Ahmad, Oct 23) */
.news { max-width: 400px; margin: 0 auto 64px; }
.news-head { font-size: clamp(24px, 3vw, 32px); letter-spacing: .06em; margin: 0 0 14px; }
.news-intro { margin: 0 auto 24px; font-size: 15px; line-height: 1.5; max-width: 380px; }
.news-fields { display: flex; flex-direction: column; gap: 8px; }
.news input, .news select { width: 100%; padding: 10px 12px; border: 0; border-radius: 3px; background: rgba(255,255,255,.92); color: #1d2a20; font: 15px/1.3 var(--serif); -webkit-appearance: none; appearance: none; }
.news input::placeholder { color: #6b746d; }
.news input:focus, .news select:focus { outline: 2px solid #fff; outline-offset: 2px; background: #fff; }
.news select { background-image: linear-gradient(45deg, transparent 50%, #1d2a20 50%), linear-gradient(135deg, #1d2a20 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.news button { width: 100%; margin-top: 4px; padding: 10px; border: 2px solid #fff; border-radius: 3px; background: transparent; color: #fff; font-size: 15px; }
.news button:hover { background: #fff; color: var(--green); }
.news-legal { margin: 26px auto 0; font-size: 11px; line-height: 1.5; font-style: italic; color: var(--soft); max-width: 520px; }
.news.done .news-fields, .news.done .news-legal, .news.done .news-intro { display: none; }
.foot > .social { justify-content: center; margin: 0 0 18px; }
.foot-nav { display: flex; justify-content: center; gap: 26px; font-size: 13px !important; letter-spacing: .12em; margin-bottom: 12px; }
.foot-nav a::after { display: none; }

.foot-logo { display: block; width: 110px; margin: 0 auto 18px; color: #fff; }
.foot-logo:hover { opacity: .75; }
