@font-face {
  font-family: "Abel";
  src: url("../fonts/Abel-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Code Pro";
  src: url("../fonts/SourceCodePro-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Code Pro";
  src: url("../fonts/SourceCodePro-Italic-wght.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "League Gothic";
  src: url("../fonts/LeagueGothic-wdth.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page-width: 1012px;
  --text: #f2f1ef;
  --muted: #c8c4c0;
  --background: #000;
}

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

html { background: var(--background); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 14px/1.75 "Source Code Pro", monospace;
  letter-spacing: .4px;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: #fff; }
button:focus-visible,
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
figure, blockquote { margin: 0; }
p { margin: 0 0 1.1em; }
h1, h2, h3 {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  line-height: 1.15;
}
h1, h2 { font-size: clamp(34px, 3vw, 48px); letter-spacing: 4px; margin: 0 0 18px; }
h3 { font-size: 27px; letter-spacing: 2px; margin: 0 0 5px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -100px;
  padding: 8px 12px;
  background: white;
  color: black;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 30;
  height: 245px;
  padding: 76px 20px 0;
}
.site-header.hero-header {
  position: absolute;
  inset: 0 0 auto;
  height: auto;
  padding-top: 50px;
}
.main-nav { max-width: 1200px; margin: 0 auto; }
.nav-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px minmax(0, 1fr);
  align-items: center;
}
.nav-list,
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-item { position: relative; text-align: center; }
.nav-item a,
.submenu-toggle {
  font: 400 15px/1.1 "League Gothic", sans-serif;
  letter-spacing: 2.48px;
  text-decoration: none;
}
.nav-item > a,
.submenu-toggle { display: block; padding: .75em 1em; white-space: nowrap; }
.nav-item a:hover,
.nav-item.is-active > a,
.nav-item.is-active > .submenu-toggle { text-decoration: underline; text-underline-offset: .35em; }
.submenu-toggle {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.submenu-toggle:hover { text-decoration: underline; text-underline-offset: .35em; }
.submenu {
  display: none;
  position: absolute;
  min-width: 130px;
  width: max-content;
  max-width: 230px;
  left: 50%;
  top: calc(100% + 3px);
  transform: translateX(-50%);
  padding: 8px 12px;
  background: #0b0b0b;
  border: 1px solid #393532;
  text-align: left;
  z-index: 40;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { display: block; }
.submenu a { display: block; padding: 8px 6px; white-space: nowrap; }
.submenu a[aria-current="page"] { text-decoration: underline; }
.nav-logo { display: block; width: 318px; }
.site-logo { width: 318px; height: auto; }
.header-mobile { display: none; }

.content-wrap { width: min(var(--page-width), calc(100% - 48px)); margin-inline: auto; }
.hero {
  position: relative;
  width: 100%;
  height: min(680px, 70vw);
  min-height: 530px;
  container-type: size;
  overflow: hidden;
  background: #000;
}
.hero-poster,
.hero-video,
.hero-shade { position: absolute; inset: 0; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero.has-playing-video .hero-poster { opacity: 0; }
.hero-video { width: 100%; height: 100%; }
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: calc(100cqh * 1.7777778);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}
.hero-video.is-playing iframe { opacity: .6; }
.hero-shade { background: rgba(0, 0, 0, .22); pointer-events: none; }
.hero-fallback { position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%); padding: 10px 14px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 14px; white-space: nowrap; }
.hero-fallback[hidden] { display: none; }
.home-content { padding-top: 68px; }
.memorial { margin: 0 auto 82px; max-width: 860px; text-align: center; }
.memorial-copy { color: #f2ebc7; font-size: 16px; line-height: 1.8; }
.editorial-block { margin-bottom: 88px; }
.text-content { max-width: 1012px; }
.intro .text-content { max-width: 1012px; }
.awards { display: flex; justify-content: center; gap: 70px; margin: 65px auto 0; }
.awards img { width: 205px; height: 205px; object-fit: contain; }
.story-image { margin-top: 34px; }
.story-image img { width: 100%; height: auto; }
.story-image figcaption { margin-top: 9px; font-size: 11px; }
.characters { margin-top: 80px; }
.character {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
  margin: 0 0 36px;
}
.character-left .character-photo { grid-column: 1; grid-row: 1; }
.character-left .character-copy { grid-column: 2; grid-row: 1; }
.character-copy p { font-size: 15.5px; line-height: 1.9; margin: 0; }
.character-edwidge .character-copy { max-width: 455px; }
.character-camelius .character-copy { max-width: 405px; }
.character-photo { width: 100%; aspect-ratio: 1.48; overflow: hidden; background: #080808; }
.character-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.press { margin-top: 98px; }
.press-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.press-quote { margin: 0 0 35px; }
.press-quote blockquote { border-left: 1px solid #888; padding: 13px 0 13px 17px; font-style: italic; }
.press-quote figcaption { padding-top: 10px; }
.press-photos img { width: 100%; height: auto; margin-bottom: 45px; }

.gallery-page { padding-top: 100px; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-column { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gallery-item { margin: 0; }
.gallery-item img { display: block; width: 100%; height: auto; }
.gallery-open { display: block; cursor: zoom-in; }
.gallery-open:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gallery-dialog { position: fixed; max-width: 96vw; max-height: 96vh; max-height: 96dvh; padding: 48px 12px 12px; border: 1px solid #777; background: #080808; color: #fff; }
.gallery-dialog::backdrop { background: rgba(0, 0, 0, .9); }
.gallery-dialog img { display: block; max-width: calc(96vw - 24px); max-height: calc(96vh - 62px); max-height: calc(96dvh - 62px); width: auto; height: auto; margin: auto; object-fit: contain; }
.gallery-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #fff; font: 400 20px/1 "Abel", sans-serif; letter-spacing: 1px; cursor: pointer; }
.gallery-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.video-page { padding-top: 100px; }
.video-page-title { margin-bottom: 48px; font-family: "Abel", sans-serif; text-align: center; text-transform: uppercase; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
.video-item { min-width: 0; }
.video-item iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #080808; }
.youtube-activate { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #080808; }
.youtube-activate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.youtube-play-icon { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; border-radius: 14px; background: #db1119; transform: translate(-50%, -50%); transition: background 150ms ease; }
.youtube-play-icon::after { position: absolute; top: 50%; left: 51%; content: ""; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 17px solid white; transform: translate(-50%, -50%); }
.youtube-activate:hover .youtube-play-icon, .youtube-activate:focus-visible .youtube-play-icon { background: #ff0033; }
.youtube-activate:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.video-title { margin-top: 12px; font: 400 clamp(20px, 2vw, 24px)/1.2 "Abel", sans-serif; letter-spacing: 1px; text-align: center; }
.video-stack { display: flex; flex-direction: column; align-items: center; gap: 70px; }
.video-stack .video-item { width: min(100%, 550px); }
.text-page { max-width: 740px; padding-top: 100px; }
.text-page h1 { text-align: center; margin-bottom: 55px; }
.text-page h2 { font-size: 31px; margin-top: 55px; }
.contacts-page ul { padding-left: 1.4em; }
.contacts-page li { margin-bottom: 12px; }
.bd-page, .beer-page, .lyrics-page { padding-top: 100px; }
.bd-page > p { max-width: none; margin: 22px 0 45px; }
.bd-page h1 { text-align: left; margin: 22px 0 12px; }
.bd-page h1 + p { margin-top: 0; }
.bd-opening-image { width: 100%; aspect-ratio: 1; overflow: hidden; }
.bd-opening-image img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.bd-opening-video { margin: 18px 0 45px; }
.bd-opening-video > .video-item { margin: 0; }
.bd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin: 45px 0 65px; }
.bd-media { width: min(100%, 497px); margin: 45px auto 65px; }
.bd-pair img, .bd-article img { width: 100%; height: auto; }
.bd-article { display: block; text-decoration: none; }
.bd-article span { display: inline-block; margin-top: 9px; text-decoration: underline; }
.bd-publisher { display: block; width: 100px; margin: 80px 0 0; }
.bd-publisher img { width: 100%; height: auto; }
.beer-logo { width: min(390px, 80%); margin: 0 auto 30px; }
.beer-logo img { width: 100%; height: auto; }
.beer-page > h1, .beer-public > h2 { text-align: center; }
.beer-intro { max-width: 850px; margin: 0 auto 80px; text-align: center; }
.beer-block { margin: 0 auto 95px; }
.beer-block h2 { margin: 0 0 2px; }
.beer-style { margin-bottom: 25px; }
.beer-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.beer-pair img { width: 100%; height: auto; }
.beer-block > p:not(.beer-style) { max-width: 920px; }
.beer-archive { margin-top: 20px; color: var(--muted); }
.beer-public { margin: 100px auto 40px; }
.beer-review-layout { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 26px; margin-top: 30px; }
.untappd-logo { width: 140px; }
.untappd-logo img { width: 100%; height: auto; }
.beer-review-strip { display: flex; min-width: 0; gap: 10px; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; scrollbar-color: #777 #151515; scroll-snap-type: x proximity; }
.beer-review-strip:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.beer-review-strip figure { flex: 0 0 190px; scroll-snap-align: start; }
.beer-review-strip img { width: 100%; height: auto; }
.beer-review-strip a, .beer-photos a { display: block; }
.beer-photos img { width: 100%; height: auto; }
.beer-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.beer-photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.beer-photo-team { margin-top: 20px; }
.beer-photo-team figcaption { padding-bottom: 12px; font-size: 12px; line-height: 1.6; }
.beer-photos > p { margin: 12px 0 0; font-size: 12px; }
.photo-dialog { position: fixed; max-width: min(94vw, 1100px); max-height: 94vh; padding: 14px; border: 1px solid #777; background: #080808; color: var(--text); }
.photo-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.photo-dialog img { max-width: 100%; max-height: calc(94vh - 100px); margin: 0 auto; object-fit: contain; }
.photo-dialog button { display: block; margin: 0 0 12px auto; padding: 5px 12px; border: 1px solid #777; background: #151515; color: #fff; cursor: pointer; }
.photo-dialog p { text-align: center; margin: 8px 0 0; }
.lyrics-page { width: min(100%, calc(100% - 48px)); margin-inline: auto; }
.lyrics-episode-1 { max-width: 660px; }
.lyrics-episode-2 { max-width: 500px; }
.lyrics-page h1 { text-align: center; margin-bottom: 95px; }
.song { margin-bottom: 88px; }
.song h2 { font-size: 31px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px; }
.song p { white-space: pre-line; margin: 0 0 1.6em; }
.music-page { padding-top: 100px; }
.music-album { --album-width: clamp(350px, 33vw, 640px); width: min(100%, var(--album-width)); margin: 0 auto 120px; }
.music-album h2 { font-size: 30px; letter-spacing: 2px; margin-bottom: 22px; }
.music-album iframe { display: block; width: 100%; height: calc(var(--player-height) + var(--album-width) - 350px); border: 0; }
.album-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 16px; }
.work-copyright { margin: 0 auto; color: #aaa; font-size: 12px; text-align: center; }
.site-footer { padding: 100px 24px 90px; }
.social-links { display: flex; justify-content: center; align-items: center; gap: 19px; }
.social-links a { display: block; width: 21px; height: 21px; }
.social-links svg { display: block; width: 21px; height: 21px; }

@media (max-width: 1100px) {
  .site-header,
  .site-header.hero-header { height: auto; min-height: 138px; padding: 22px 24px 0; }
  .site-header.hero-header.nav-open,
  .site-header.hero-header:not([data-nav-ready]) { position: relative; }
  .header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--page-width);
    margin: 0 auto;
  }
  .mobile-logo .site-logo { width: 190px; }
  .menu-toggle {
    border: 1px solid #aaa;
    background: #000;
    color: #fff;
    padding: 7px 12px;
    cursor: pointer;
    font: 400 20px "League Gothic", sans-serif;
    letter-spacing: 2.48px;
  }
  .site-header.nav-open { background: #000; }
  .main-nav { display: block; background: #080808; padding: 14px 18px; border: 1px solid #333; }
  .nav-layout { display: block; }
  .nav-list { display: block; }
  .nav-logo { display: none; }
  .nav-item { text-align: left; border-bottom: 1px solid #292929; }
  .nav-right .nav-item:last-child { border: 0; }
  .nav-item > a,
  .submenu-toggle { width: 100%; padding: .75em 1em; text-align: left; }
  .submenu,
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu { display: none; position: static; transform: none; width: 100%; max-width: none; border: 0; background: transparent; padding: 0 0 12px 22px; }
  .has-submenu.is-open .submenu { display: block; }
  .site-header:not([data-nav-ready]) .submenu { display: block; }
  .submenu a { padding: 8px 4px; }
  .gallery-page, .video-page, .text-page, .bd-page, .beer-page, .lyrics-page, .music-page { padding-top: 80px; }
}

@media (max-width: 767px) {
  body { font-size: 13px; }
  .content-wrap { width: calc(100% - 40px); }
  .site-header,
  .site-header.hero-header { min-height: 110px; padding: 16px 20px 0; }
  .mobile-logo .site-logo { width: 150px; }
  .hero { height: 440px; min-height: 0; }
  .home-content { padding-top: 45px; }
  .memorial { margin-bottom: 64px; }
  .memorial-copy { font-size: 14px; }
  h1, h2 { font-size: 34px; }
  h3 { font-size: 25px; }
  .editorial-block { margin-bottom: 65px; }
  .awards { gap: 22px; margin-top: 40px; }
  .awards img { width: min(42vw, 180px); height: auto; }
  .character { grid-template-columns: 1fr; gap: 16px; margin-bottom: 54px; }
  .character-copy p { font-size: 13px; line-height: 1.75; }
  .character-edwidge .character-copy,
  .character-camelius .character-copy { max-width: none; }
  .character-left .character-copy,
  .character-left .character-photo { grid-column: 1; grid-row: auto; }
  .character-photo { aspect-ratio: 1.48; }
  .press-layout { grid-template-columns: 1fr; }
  .press-photos img { margin-bottom: 20px; }
  .gallery-page, .video-page, .text-page, .bd-page, .beer-page, .lyrics-page, .music-page { padding-top: 50px; }
  .photo-gallery { grid-template-columns: 1fr; }
  .gallery-column { gap: 14px; }
  .video-grid { grid-template-columns: 1fr; gap: 38px; }
  .video-stack { gap: 50px; }
  .bd-pair, .bd-media, .beer-pair { grid-template-columns: 1fr; }
  .beer-public { margin: 75px auto 35px; }
  .beer-review-layout { grid-template-columns: 1fr; gap: 15px; }
  .untappd-logo { width: 115px; margin: 0 auto; }
  .beer-review-strip figure { flex-basis: 160px; }
  .beer-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beer-intro { margin-bottom: 55px; }
  .beer-block { margin-bottom: 70px; }
  .lyrics-page h1 { margin-bottom: 70px; }
  .song { margin-bottom: 65px; }
  .song h2 { font-size: 25px; }
  .music-album { margin-bottom: 75px; }
  .music-album h2 { font-size: 29px; }
  .site-footer { padding-block: 70px; }
}

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