@font-face {
  font-family: Sukajan;
  src: url("/assets/sukajan.otf") format("opentype");
  /* briefly invisible rather than Arial: the brush lettering (and the loading screen) never flashes a fallback */
  font-display: block;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: #080808;
  color: #f1e7d2;
  font:
    18px/1.5 Arial,
    Helvetica,
    sans-serif;
  --ink: #080808;
  --paper: #f1e7d2;
  --red: #c81016;
  /* Content never grows past --max-content; on wider screens the side gutter takes the rest. */
  --max-content: 1600px;
  --gutter: max(5vw, calc((100vw - var(--max-content)) / 2));
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
button {
  border: 0;
}
h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 22px;
  line-height: 1.15;
}
.brush {
  font-family: Sukajan, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  display: inline-block;
}
.section {
  padding: 65px max(var(--gutter), 24px);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 36px;
}
.section-top > p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 360px;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -80px;
  background: var(--paper);
  color: var(--ink);
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 15px;
}
.masthead {
  height: 100px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  background: var(--ink) url("paper.png") center top/100% auto;
}
.brand {
  text-decoration: none;
  font:
    32px/0.75 Sukajan,
    Arial,
    sans-serif;
  transform: rotate(-7deg);
}
.brand span {
  display: block;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.masthead nav a {
  font-size: 16px;
  text-decoration: none;
}
.masthead nav a:hover {
  text-decoration: underline;
}
.nav-book {
  border: 1px solid #f1e7d280;
  padding: 12px 18px;
}
.menu {
  display: none;
  background: none;
  font-size: 16px;
}
.hero {
  height: 780px;
  max-height: calc(100svh - 70px);
  min-height: 620px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #151515;
}
.crew-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -3;
  filter: saturate(0.7) contrast(1.05);
}
.photo-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #08080866 0%,
    #08080808 44%,
    #08080800 70%,
    #0808088c 100%
  );
  z-index: -2;
}
.photo-grain {
  position: absolute;
  inset: 0;
  background: url("paper.png") center top/140% auto;
  opacity: 0.13;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}
.hero-lightning {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 42%;
  height: 90%;
  object-fit: contain;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-top {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero h1 {
  font:
    clamp(94px, 10vw, 150px)/0.7 Sukajan,
    Arial,
    sans-serif;
  transform: rotate(-8deg);
  letter-spacing: -0.045em;
  text-shadow: 0 3px 20px #0002;
}
.hero h1 span {
  font-size: 1.65em;
  display: block;
  margin-top: 18px;
}
.hero-top p {
  align-self: flex-start;
  font-size: 18px;
  line-height: 1.65;
  margin-top: 45px;
  max-width: 220px;
  padding: 12px 16px;
  background: #08080877;
}
.hero-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  z-index: 3;
}
.hero-actions {
  display: flex;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 25px;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 54px;
  transition:
    background 0.18s,
    color 0.18s;
}
.red {
  background: var(--red);
  color: var(--paper);
}
.red:hover {
  background: #a20c11;
}
.glass {
  border-color: #f1e7d2;
  background: #08080855;
  color: var(--paper);
}
.glass:hover {
  background: var(--paper);
  color: var(--ink);
}
.replay {
  background: #08080888;
  font-size: 16px;
  padding: 10px 13px;
  border-bottom: 1px solid #f1e7d280;
}
.hero-rim {
  position: absolute;
  width: 100%;
  max-width: none;
  height: 180px;
  object-fit: fill;
  left: 0;
  top: -151px;
  pointer-events: none;
  z-index: 2;
}
.intro {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: #080808;
}
.intro.is-ready {
  background: transparent;
}
.intro canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.skip-intro {
  position: absolute;
  bottom: 28px;
  right: var(--gutter);
  z-index: 9;
  color: var(--paper);
  border: 1px solid #f1e7d266;
  background: #080808;
  padding: 12px 18px;
  font-size: 16px;
}
.underlink {
  font-size: 16px;
}
.play-shape {
  display: block;
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  position: relative;
}
.play-shape:after {
  content: "";
  position: absolute;
  left: 29px;
  top: 23px;
  border-left: 23px solid var(--paper);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.offer {
  background: var(--paper);
  color: var(--ink);
  padding-top: 45px;
  padding-bottom: 72px;
}
.tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 12px 7px 0;
}
.ticket {
  text-decoration: none;
  min-height: 208px;
  padding: 27px 25px 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
  background: var(--ink);
  color: var(--paper);
}
.ticket:before,
.ticket:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  background: var(--paper);
  border-radius: 50%;
  top: calc(100% - 68px);
  left: -13px;
}
.ticket:after {
  left: auto;
  right: -13px;
}
.ticket-fest {
  background: var(--red);
  transform: rotate(-2deg);
}
.ticket-messe {
  background: #080808 url("paper.png") center top/130% auto;
  transform: translateY(12px) rotate(1deg);
}
.ticket-firma {
  background: #e2d4b7;
  color: var(--ink);
  transform: rotate(-1deg);
  border: 1px solid #08080830;
}
.ticket:hover {
  transform: translateY(-5px) rotate(0);
}
.ticket-name {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.ticket-bottom {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  border-top: 1px dashed currentColor;
  padding-top: 16px;
}
.ticket-arrow {
  height: 13px;
  width: 28px;
  border-top: 2px solid currentColor;
  transform: translateY(6px);
  position: relative;
}
.ticket-arrow:after {
  content: "";
  position: absolute;
  right: 0;
  top: -6px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.band {
  background: #080808 url("paper.png") center top/100% auto;
  position: relative;
  padding-top: 55px;
  padding-bottom: 45px;
}
.portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1050px;
  margin: auto;
}
.portraits figure {
  position: relative;
}
.portraits img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center 36%;
  filter: grayscale(1) contrast(1.08);
}
.portraits figcaption {
  font:
    46px/1 Sukajan,
    Arial,
    sans-serif;
  position: relative;
  transform: rotate(-5deg);
  margin: -28px 0 0 16px;
  color: var(--paper);
  width: fit-content;
  background: var(--red);
  padding: 7px 15px;
}
.band-story {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 35px;
}
.kanji {
  font: 60px/1 serif;
  white-space: nowrap;
  color: var(--paper);
}
.band-story p {
  font-size: 17px;
  max-width: 630px;
}
.band-story > a {
  font-size: 16px;
  max-width: 200px;
}
.dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
  border-top: 1px solid #f1e7d230;
  background: var(--ink);
}
.dates h2 {
  font-size: 28px;
}
.dates p,
.dates a {
  font-size: 16px;
}
.booking {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 7vw;
  padding-block: 65px;
}
.booking-copy {
  position: relative;
}
.booking-copy h2 {
  font-size: clamp(40px, 4vw, 60px);
}
.booking-copy p {
  margin: 25px 0 16px;
  font-size: 17px;
}
.email {
  font-size: 20px;
}
.booking-lightning {
  position: absolute;
  width: 250px;
  height: 210px;
  object-fit: cover;
  left: 28%;
  bottom: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.85;
}
.booking-sheet {
  position: relative;
}
label {
  display: block;
  font-size: 16px;
  margin-bottom: 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  border: 0;
  border-bottom: 1px solid #08080866;
  padding: 10px 0;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 84px;
}
input::placeholder,
textarea::placeholder {
  color: #5a5144;
  opacity: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.optional {
  font-size: 16px;
  margin: 5px 0 24px;
}
.optional summary {
  cursor: pointer;
  padding: 7px 0;
}
.optional .form-row {
  margin-top: 18px;
  row-gap: 0;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.submit-row p {
  font-size: 16px;
  max-width: 170px;
}
.draft-note {
  font-size: 16px;
  margin-top: 15px;
  max-width: 430px;
}
#form-status {
  font-size: 16px;
  margin-top: 10px;
}
#prepared h3 {
  font-size: 30px;
}
#prepared > p {
  margin: 12px 0;
  font-size: 16px;
}
pre {
  font:
    16px/1.5 Arial,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-block: 1px solid #08080840;
  padding: 20px 0;
}
.draft-options {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}
.draft-options button {
  font-size: 16px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 30px var(--gutter);
  font-size: 16px;
}
.footer-brand {
  font: inherit;
  text-decoration: none;
}
.socials,
.legal {
  display: flex;
  gap: 22px;
}
.legal button {
  font-size: 16px;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  max-width: 600px;
  width: calc(100% - 40px);
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
}
dialog::backdrop {
  background: #000b;
}
dialog h2 {
  font-size: 30px;
  margin: 20px 0;
}
dialog p {
  font-size: 17px;
}
.dialog-close {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 15px;
  font-size: 16px;
  margin-left: auto;
  display: block;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .hero {
    height: 900px;
  }
  .hero-top {
    top: 55px;
  }
  .hero h1 {
    font-size: 170px;
  }
  .hero-top p {
    margin-top: 65px;
  }
  .crew-photo {
    object-position: center 61%;
  }
}
@media (max-width: 1000px) {
  .masthead nav {
    gap: 24px;
  }
  .section {
    padding-inline: 4vw;
  }
  .hero {
    height: 700px;
  }
  .hero h1 {
    font-size: 110px;
  }
  .hero-top p {
    margin-top: 28px;
  }
  .live-grid {
    gap: 22px;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
  .video-slot {
    aspect-ratio: 4/3;
  }
  .film-caption {
    flex-wrap: wrap;
    gap: 5px 12px;
  }
  .film-caption a {
    margin-left: 0;
    flex-basis: 100%;
  }
  .references ul {
    gap: 15px 22px;
  }
  .ticket {
    padding: 24px 20px;
    min-height: 200px;
  }
  .ticket-name {
    font-size: 29px;
  }
  .portraits img {
    height: 280px;
  }
  .band-story {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }
  .band-story > a {
    grid-column: 2;
    max-width: none;
  }
  .dates {
    flex-wrap: wrap;
  }
  .booking {
    gap: 5vw;
  }
  .booking-copy h2 {
    font-size: 46px;
  }
  .submit-row {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .submit-row p {
    max-width: none;
  }
  .booking-lightning {
    left: 0;
    width: 210px;
    height: 190px;
  }
  footer {
    flex-wrap: wrap;
  }
  .socials {
    margin-left: auto;
  }
  .legal {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 760px) {
  .masthead {
    height: 82px;
    padding: 0 22px;
  }
  .brand {
    font-size: 27px;
  }
  .menu {
    display: block;
    padding: 15px 0;
  }
  .masthead nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    padding: 22px;
    background: var(--ink);
    display: none;
    flex-wrap: wrap;
    gap: 20px 26px;
  }
  .masthead nav.open {
    display: flex;
  }
  .nav-book {
    width: 100%;
    text-align: center;
  }
  .hero {
    height: 700px;
    min-height: 640px;
    max-height: none;
  }
  .crew-photo {
    object-position: 58% center;
  }
  .hero-top {
    left: 7%;
    right: 7%;
    top: 50px;
  }
  .hero h1 {
    font-size: clamp(80px, 17vw, 130px);
  }
  .hero-top p {
    font-size: 16px;
    max-width: 155px;
    line-height: 1.5;
    padding: 10px;
    margin-top: 18px;
  }
  .hero-lightning {
    right: -17%;
    width: 70%;
    opacity: 0.48;
  }
  .hero-bottom {
    left: 22px;
    right: 22px;
    bottom: 25px;
    display: block;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding: 15px 18px;
    font-size: 16px;
  }
  .replay {
    margin-top: 14px;
    font-size: 16px;
    padding: 5px 0;
    background: none;
  }
  .hero-rim {
    top: -160px;
  }
  .section {
    padding: 42px 22px;
  }
  .section-top {
    gap: 20px;
    align-items: start;
    margin-bottom: 26px;
  }
  .section-top > p {
    font-size: 16px;
    max-width: 200px;
  }
  .live-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .video-slot {
    aspect-ratio: 4/3;
  }
  .film-load p {
    font-size: 16px;
    max-width: 260px;
    text-align: center;
  }
  .clip-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 0 4px;
    gap: 18px;
  }
  .clip img {
    height: 105px;
  }
  .clip > span {
    font-size: 18px;
    margin-inline: 11px;
  }
  .clip .clip-action {
    font-size: 16px;
  }
  .references {
    margin-top: 28px;
    padding-top: 22px;
    gap: 16px;
  }
  .references ul {
    font-size: 17px;
    gap: 12px 20px;
  }
  .references details {
    margin-top: 0;
  }
  .offer {
    padding-top: 14px;
    padding-bottom: 50px;
  }
  .offer .section-top {
    display: block;
  }
  .offer .section-top p {
    margin-top: 18px;
    max-width: none;
  }
  .offer .section-top p br {
    display: none;
  }
  .tickets {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 0 5px;
  }
  .ticket {
    min-height: 150px;
    padding: 22px 25px 18px;
  }
  .ticket-name {
    font-size: 32px;
  }
  .ticket-messe {
    transform: rotate(1deg);
  }
  .ticket-firma .ticket-name br {
    display: none;
  }
  .ticket-firma .ticket-name {
    font-size: 30px;
  }
  .ticket-bottom {
    margin-top: 20px;
    padding-top: 14px;
  }
  .ticket:before,
  .ticket:after {
    top: calc(100% - 64px);
  }
  .band .section-top {
    display: block;
  }
  .band .section-top p {
    margin-top: 16px;
    max-width: none;
  }
  .band .section-top p br {
    display: none;
  }
  .portraits {
    gap: 12px;
  }
  .portraits img {
    height: 220px;
    object-position: 50% 32%;
  }
  .portraits figcaption {
    font-size: 31px;
    padding: 5px 9px;
    margin: -16px 0 0 4px;
  }
  .band-story {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }
  .band-story p {
    font-size: 16px;
  }
  .band-story > a {
    grid-column: auto;
  }
  .kanji {
    font-size: 44px;
  }
  .dates {
    padding-block: 28px;
    display: block;
  }
  .dates h2 {
    font-size: 27px;
  }
  .dates p {
    margin: 14px 0 10px;
  }
  .booking {
    display: block;
  }
  .booking-copy h2 {
    font-size: 42px;
  }
  .booking-copy p {
    margin-top: 17px;
  }
  .email {
    font-size: 19px;
  }
  .booking-lightning {
    width: 110px;
    height: 150px;
    left: auto;
    right: -10px;
    top: -20px;
    opacity: 0.38;
  }
  .booking-sheet {
    margin-top: 32px;
  }
  .form-row {
    gap: 18px;
  }
  .submit-row {
    gap: 14px;
  }
  .draft-note {
    line-height: 1.4;
  }
  footer {
    padding: 27px 22px;
    gap: 22px;
  }
  .socials {
    margin-left: 0;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
  }
  .legal {
    justify-content: flex-start;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 650px;
    min-height: 650px;
  }
  .crew-photo {
    object-position: 62% center;
  }
  .hero-top {
    top: 35px;
    display: block;
  }
  .hero h1 {
    font-size: 87px;
    line-height: 0.72;
  }
  .hero h1 span {
    font-size: 1.5em;
    margin-top: 12px;
  }
  .hero-top p {
    position: absolute;
    top: 16px;
    right: 0;
    max-width: 133px;
    font-size: 16px;
    padding: 8px;
    background: #08080899;
  }
  .hero-top h1 {
    max-width: 210px;
  }
  .hero h1 span {
    margin-left: 12px;
  }
  .hero-actions .button {
    padding: 15px 16px;
  }
  .hero-bottom {
    bottom: 26px;
  }
  .live .section-top {
    align-items: end;
    gap: 10px;
  }
  .underlink {
    max-width: 110px;
    text-align: right;
  }
  .portraits img {
    height: 185px;
  }
  .ticket-firma .ticket-name {
    font-size: 27px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .optional .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .booking-copy h2 {
    font-size: 39px;
  }
  .hero-lightning {
    width: 75%;
    right: -25%;
    top: 0;
    height: 60%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .intro,
  .skip-intro,
  .replay {
    display: none !important;
  }
}
/* The gallery becomes the viewport; page scroll moves the entire film strip. */
.recordings {
  background: var(--ink);
  position: relative;
}
.recordings-stage {
  position: sticky;
  top: 0;
  height: calc(var(--page-vh, 1svh) * 100);
  min-height: 620px;
  max-height: 960px;
  padding: 42px 0 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.recordings .section-top {
  padding: 0 var(--gutter);
  margin-bottom: 30px;
  flex-shrink: 0;
}
.recordings h2 {
  font-size: clamp(40px, 4.5vw, 66px);
}
.media-window {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  outline-offset: -4px !important;
}
.media-track {
  position: relative;
  display: flex;
  width: max-content;
  gap: 35px;
  padding: 0 var(--gutter);
  will-change: transform;
  align-items: center;
}
.media-item {
  width: min(74vw, 1000px);
  flex: none;
  position: relative;
}
.media-photo {
  width: min(52vw, 670px);
}
.media-picture {
  height: clamp(260px, calc(var(--page-vh, 1svh) * 54), 570px);
  position: relative;
  background: #141414;
  overflow: hidden;
}
.media-picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}
.media-photo .media-picture {
  height: clamp(235px, calc(var(--page-vh, 1svh) * 48), 510px);
}
.media-photo:nth-child(2) {
  transform: rotate(-2deg);
}
.media-photo:nth-child(4) {
  transform: rotate(1.5deg);
}
.media-photo:nth-child(6) {
  transform: rotate(-1deg);
}
.media-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 18px 2px 4px;
  min-height: 50px;
}
.media-caption h3 {
  font-size: 22px;
}
.media-caption a {
  font-size: 16px;
}
.load-recording {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #08080820;
  color: var(--paper);
  font-size: 16px;
}
.load-recording > span:last-child {
  background: #080808c7;
  padding: 7px 14px;
}
.load-recording:hover {
  background: #08080800;
}
.media-picture iframe {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
}
.media-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter) 10px;
  gap: 20px;
}
.media-controls p {
  font-size: 16px;
  color: #bfb7a8;
}
.media-controls > div {
  display: flex;
  gap: 12px;
}
.media-controls button {
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid #f1e7d277;
  color: var(--paper);
  font-size: 24px;
}
.media-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.scroll-line {
  height: 2px;
  background: #f1e7d233;
  margin: 8px var(--gutter) 0;
}
.scroll-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.references {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  display: block;
  border: 0;
  padding-top: 38px;
  padding-bottom: 35px;
}
.references h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.reference-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 28px 0 25px;
}
.reference-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18%;
  height: 85px;
}
.reference-logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.references details {
  font-size: 16px;
  margin-top: 0;
}
.references details p {
  max-width: 900px;
}
.three-paper {
  position: absolute;
  inset: 0;
}
@media (max-width: 760px) {
  .recordings-stage {
    padding: 30px 0 22px;
    min-height: 590px;
  }
  .recordings .section-top {
    padding-inline: 22px;
    align-items: end;
    gap: 20px;
  }
  .recordings h2 {
    font-size: 40px;
  }
  .media-track {
    gap: 22px;
    padding-inline: 22px;
  }
  .media-item {
    width: 86vw;
  }
  .media-photo {
    width: 77vw;
  }
  .media-picture {
    height: calc(var(--page-vh, 1svh) * 49);
    min-height: 260px;
  }
  .media-photo .media-picture {
    height: calc(var(--page-vh, 1svh) * 44);
    min-height: 235px;
  }
  .media-caption {
    align-items: start;
    flex-direction: column;
    gap: 5px;
    min-height: 72px;
    padding-top: 17px;
  }
  .media-caption h3 {
    font-size: 22px;
  }
  .media-controls {
    padding: 17px 22px 10px;
    align-items: end;
  }
  .media-controls p {
    max-width: 230px;
    line-height: 1.4;
  }
  .scroll-line {
    margin-inline: 22px;
  }
  .reference-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 25px 0;
  }
  .reference-logos a {
    width: 100%;
    height: 70px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .button {
    padding-inline: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recordings-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding-block: 40px;
  }
  .media-window {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .media-track {
    transform: none !important;
    will-change: auto;
  }
  .media-item {
    scroll-snap-align: center;
  }
  .scroll-line {
    display: none;
  }
}
.reference-logos .japantag-logo {
  filter: brightness(0);
}
.reference-logos .dokomi-logo {
  object-fit: cover;
  object-position: bottom;
  height: 60px;
  max-width: 180px;
}
.band {
  background-size: 100% 150%;
  background-repeat: no-repeat;
}
@media (max-width: 760px) {
  .hero {
    height: 620px;
    min-height: 620px;
  }
  .hero picture .crew-photo {
    width: 120%;
    max-width: none;
    height: auto;
    left: -10%;
    top: 180px;
    object-fit: contain;
    filter: saturate(0.7) contrast(1.05);
  }
  .hero-top p {
    top: 210px;
    right: auto;
    left: 0;
    max-width: none;
    background: #080808a0;
    margin: 0;
    padding: 8px 12px;
  }
  .hero-top p br {
    display: none;
  }
  .hero-top p {
    font-size: 16px;
  }
  .hero-top p {
    top: 165px;
  }
  .hero-bottom {
    bottom: 24px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding-inline: 10px;
    font-size: 16px;
  }
  .reference-logos .dokomi-logo {
    height: 35px;
  }
  .band {
    background-size: auto 160%;
    background-position: center top;
  }
}
@media (max-width: 480px) {
  .hero picture .crew-photo {
    top: 230px;
  }
  .hero-top p {
    top: 176px;
  }
  .hero {
    height: 610px;
    min-height: 610px;
  }
}
/* Annotation revision: separate paper planes, open offer rows, quiet crew backdrop. */
.masthead {
  background: #080808;
  height: 100px;
}
.brand {
  transform: none;
}
.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.hero {
  overflow: visible;
  z-index: 2;
}
.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.crew-photo {
  z-index: 0;
  filter: saturate(0.64) contrast(1.06);
}
.photo-wash {
  z-index: 1;
  background: rgba(8, 8, 8, 0.17);
}
.photo-grain {
  z-index: 2;
  opacity: 0.07;
  background-image: url("team-washi.png");
  mix-blend-mode: soft-light;
}
.hero-lightning {
  z-index: 0;
  opacity: 0.32;
}
.hero-top {
  z-index: 3;
  top: 65px;
}
.hero h1 {
  font-size: clamp(100px, 9vw, 150px);
}
.hero-bottom {
  bottom: 64px;
  z-index: 5;
}
.paper-edge {
  position: absolute;
  width: 100%;
  max-width: none;
  height: 230px;
  object-fit: fill;
  left: 0;
  z-index: 4;
  pointer-events: none;
}
.edge-top {
  top: -78px;
}
.edge-bottom {
  bottom: -85px;
  transform: rotate(180deg);
}
.intro {
  overflow: hidden;
}
.recordings {
  z-index: 1;
}
.recordings-stage {
  padding-top: 65px;
}
.references {
  padding-block: 24px;
  border-bottom: 1px solid #08080822;
}
.reference-logos {
  padding: 0;
  gap: 7vw;
}
.reference-logos a {
  height: 74px;
}
.offer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3vw;
  align-items: center;
  padding-block: 55px;
  background: var(--paper);
  overflow: hidden;
}
.offer h2 {
  font-size: clamp(40px, 4vw, 60px);
  margin-bottom: 32px;
}
.offer-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #08080866;
  text-decoration: none;
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.offer-list a:last-child {
  border-bottom: 1px solid #08080866;
}
.offer-list a span:last-child {
  font-size: 30px;
  transition: transform 0.2s;
}
.offer-list a:hover {
  color: var(--red);
}
.offer-list a:hover span:last-child {
  transform: translate(4px, -4px);
}
.drum-artwork {
  position: relative;
  aspect-ratio: 1;
  max-height: 510px;
  width: 100%;
  isolation: isolate;
}
.drum-artwork > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.drum-artwork.lit > img {
  visibility: hidden;
}
#drum-light {
  position: absolute;
  inset: 0;
}
#drum-light canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.band {
  background: var(--paper) url("team-washi.png") center/cover no-repeat;
  color: var(--ink);
  padding-block: 64px;
}
.band .section-top {
  max-width: 1050px;
  margin-inline: auto;
}
.band .section-top p {
  max-width: 280px;
}
.portraits {
  gap: 30px;
}
.portraits img {
  height: 335px;
  filter: grayscale(0.9) contrast(1.08);
}
.portraits figcaption {
  background: none;
  color: var(--ink);
  transform: none;
  font-size: 44px;
  margin: 13px 0 0;
  padding: 0;
}
.band-story {
  max-width: 1050px;
  margin: 28px auto 0;
  grid-template-columns: auto 1fr;
  gap: 28px;
}
.band-story p {
  max-width: 760px;
}
.band-story a {
  display: none;
}
.kanji {
  color: var(--red);
  font-size: 58px;
}
.dates {
  display: block;
  padding-block: 60px;
  border: 0;
  background: var(--red);
}
.dates .section-top {
  align-items: center;
  margin-bottom: 30px;
}
.dates h2 {
  font-size: clamp(38px, 4vw, 58px);
}
.dates .section-top > p {
  font-size: 16px;
  max-width: 280px;
}
.show {
  display: grid;
  grid-template-columns: 105px 1.4fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 23px 0;
  border-top: 1px solid #f1e7d260;
}
.show:last-child {
  border-bottom: 1px solid #f1e7d260;
}
.show time {
  display: flex;
  align-items: center;
  gap: 12px;
}
.show time strong {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.show time span {
  font-size: 16px;
  max-width: 40px;
  line-height: 1.2;
}
.show h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.show p {
  font-size: 18px;
  margin: 0;
}
.show p span {
  display: block;
  font-size: 16px;
  margin-top: 3px;
}
.show-time {
  font-size: 16px;
  white-space: nowrap;
}
.booking {
  background: #080808;
  color: var(--paper);
  padding-block: 75px;
  grid-template-columns: 1fr 1.3fr;
  gap: 8vw;
  align-items: start;
}
.booking-copy h2 {
  font-size: clamp(50px, 5vw, 72px);
}
.booking-copy p {
  max-width: 250px;
  line-height: 1.5;
  margin: 28px 0 18px;
}
.booking-sheet {
  background: #f1e7d2;
  color: var(--ink);
  padding: 30px;
  border-top: 4px solid var(--red);
}
.booking-sheet label {
  font-size: 16px;
  margin-bottom: 18px;
}
.booking-sheet input,
.booking-sheet textarea,
.booking-sheet select {
  background: #fff9eb;
  border: 1px solid #bcb29e;
  padding: 13px 14px;
  min-height: 50px;
  margin-top: 7px;
  border-radius: 2px;
}
.booking-sheet input:focus,
.booking-sheet textarea:focus,
.booking-sheet select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.booking-sheet textarea {
  min-height: 112px;
}
.booking-sheet .form-row {
  gap: 18px;
}
.booking-sheet .button {
  width: 100%;
  min-height: 54px;
}
.booking-sheet .draft-note {
  font-size: 16px;
  text-align: center;
  margin: 12px 0 0;
}
.booking-sheet #form-status:empty {
  display: none;
}
footer {
  border-top: 1px solid #f1e7d230;
}
@media (max-width: 1000px) {
  .offer-list a {
    font-size: 26px;
  }
  .show {
    gap: 20px;
    grid-template-columns: 100px 1.2fr 1fr;
  }
  .show-time {
    display: none;
  }
  .booking {
    gap: 4vw;
  }
  .booking-sheet {
    padding: 25px;
  }
  .hero h1 {
    font-size: 110px;
  }
}
@media (max-width: 760px) {
  .masthead {
    height: 82px;
  }
  .brand img {
    width: 60px;
    height: 60px;
  }
  .hero {
    height: 590px;
    min-height: 590px;
  }
  .hero-top {
    top: 40px;
  }
  .hero h1 {
    font-size: 90px;
  }
  .hero picture .crew-photo {
    top: 165px;
  }
  .hero-bottom {
    bottom: 58px;
  }
  .paper-edge {
    height: 140px;
  }
  .edge-top {
    top: -46px;
  }
  .edge-bottom {
    bottom: -50px;
  }
  .recordings-stage {
    padding-top: 46px;
  }
  .reference-logos {
    display: flex;
    overflow-x: auto;
    justify-content: space-between;
    gap: 28px;
    padding: 9px 0;
    scrollbar-width: thin;
  }
  .reference-logos a {
    flex: 0 0 95px;
    height: 62px;
  }
  .references {
    padding-block: 20px;
  }
  .offer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 44px;
  }
  .offer h2 {
    margin-bottom: 24px;
  }
  .offer-list a {
    padding: 21px 0;
    font-size: 25px;
  }
  .drum-artwork {
    max-width: 330px;
    margin: auto;
    max-height: 330px;
  }
  .band {
    padding-block: 44px;
    background-size: auto 100%;
    background-position: center;
  }
  .portraits {
    gap: 12px;
  }
  .portraits img {
    height: 210px;
  }
  .portraits figcaption {
    font-size: 32px;
    margin-top: 10px;
  }
  .band-story {
    gap: 18px;
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .kanji {
    font-size: 34px;
    writing-mode: vertical-rl;
  }
  .band-story p {
    font-size: 16px;
  }
  .dates {
    padding-block: 42px;
  }
  .dates .section-top {
    display: block;
  }
  .dates .section-top p {
    margin-top: 16px;
    max-width: none;
  }
  .dates .section-top p br {
    display: none;
  }
  .show {
    grid-template-columns: 82px 1fr;
    gap: 8px 18px;
    padding: 22px 0;
  }
  .show time {
    grid-row: span 2;
  }
  .show time strong {
    font-size: 37px;
  }
  .show h3 {
    font-size: 22px;
  }
  .show p {
    grid-column: 2;
    font-size: 16px;
  }
  .show p span {
    display: inline;
    margin-left: 8px;
  }
  .booking {
    display: block;
    padding-block: 44px;
  }
  .booking-copy h2 {
    font-size: 50px;
  }
  .booking-copy p {
    max-width: none;
    margin: 20px 0 13px;
  }
  .booking-sheet {
    padding: 22px 18px;
    margin-top: 28px;
  }
  .booking-sheet .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .booking-sheet input,
  .booking-sheet textarea,
  .booking-sheet select {
    padding: 12px;
    min-height: 49px;
  }
  .hero-actions .button {
    padding-inline: 11px;
  }
  .hero-lightning {
    opacity: 0.22;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drum-artwork.lit > img {
    visibility: visible;
  }
  #drum-light {
    display: none;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .hero h1 {
    font-size: 88px;
  }
}
/* Equal media frames, restrained paint motion and continuously drifting references. */
.media-item,
.media-photo {
  width: min(74vw, 1000px);
  transform: none !important;
}
.media-picture,
.media-photo .media-picture {
  height: clamp(260px, calc(var(--page-vh, 1svh) * 54), 570px);
}
.media-picture > img {
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: scale(1.001);
}
.media-item:hover .media-picture > img,
.media-item:focus-within .media-picture > img {
  transform: scale(1.045);
}
.paint-smear {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: scale(1.001);
}
.media-item:hover .paint-smear,
.media-item:focus-within .paint-smear {
  transform: scale(1.045);
}
.media-controls {
  justify-content: flex-end;
  padding-top: 18px;
}
.references {
  padding-block: 30px 35px;
}
.references-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.references-heading h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.carousel-pause {
  background: none;
  color: var(--ink);
  border: 1px solid #08080855;
  padding: 7px 13px;
  font-size: 16px;
}
.logo-window {
  overflow: hidden;
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-drift 30s linear infinite;
  will-change: transform;
}
.reference-logos {
  display: flex;
  flex: none;
  width: max(min(90vw, 1100px), 780px);
  gap: 40px;
  justify-content: space-around;
  padding: 0 40px 0 0;
  overflow: visible;
}
.reference-logos a {
  flex: 0 0 130px;
  width: 130px;
  height: 75px;
}
.logo-window:hover .logo-track,
.logo-window:focus-within .logo-track,
.references.is-paused .logo-track,
.references.is-outside .logo-track {
  animation-play-state: paused;
}
@keyframes logo-drift {
  to {
    transform: translateX(-50%);
  }
}
.offer {
  display: block;
  background: #080808;
  color: var(--paper);
  padding-block: 65px 70px;
}
.offer h2 {
  font-size: clamp(42px, 4.7vw, 68px);
  margin-bottom: 30px;
}
.stage-artwork {
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 3/1;
  margin: 0 auto 25px;
}
.offer-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4vw;
}
.offer-options a {
  padding: 24px 0 0;
  border-top: 1px solid #f1e7d266;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.offer-options a > span:first-child {
  overflow-wrap: anywhere;
}
.offer-options a > span:last-child {
  font-size: 30px;
  transition: transform 0.2s;
}
.offer-options a:hover {
  color: #e7544c;
}
.offer-options a:hover > span:last-child {
  transform: translate(4px, -4px);
}
.band {
  background: #171615;
  color: var(--paper);
  padding-block: 60px;
}
.band .section-top {
  margin-bottom: 32px;
}
.band .portraits figcaption {
  color: var(--paper);
}
.band .band-story {
  padding-top: 25px;
  border-top: 1px solid #f1e7d233;
}
.band .kanji {
  color: #db332f;
}
.booking-copy > p {
  max-width: 340px;
}
@media (max-width: 760px) {
  .media-item,
  .media-photo {
    width: 86vw;
  }
  .media-picture,
  .media-photo .media-picture {
    height: calc(var(--page-vh, 1svh) * 49);
    min-height: 260px;
  }
  .references-heading h2 {
    font-size: 22px;
  }
  .references-heading {
    gap: 12px;
    margin-bottom: 24px;
  }
  .references {
    padding-block: 26px;
  }
  .reference-logos {
    width: 700px;
    gap: 30px;
    padding-right: 30px;
  }
  .reference-logos a {
    flex-basis: 110px;
    width: 110px;
    height: 62px;
  }
  .offer {
    padding-block: 44px;
  }
  .offer h2 {
    font-size: 42px;
    margin-bottom: 25px;
  }
  .stage-artwork {
    display: none;
  }
  .offer-options {
    display: block;
  }
  .offer-options a {
    position: relative;
    min-height: 130px;
    font-size: 25px;
    padding: 20px 0 20px 118px;
    gap: 12px;
  }
  .offer-options a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 105px;
    height: 100px;
    background: url("stage-motifs.png") left center/300% 100% no-repeat;
  }
  .offer-options a:nth-child(2):before {
    background-position: center;
  }
  .offer-options a:nth-child(3):before {
    background-position: right;
  }
  .offer-options a:last-child {
    border-bottom: 1px solid #f1e7d266;
    padding-bottom: 20px;
  }
  .band {
    padding-block: 44px;
  }
  .band .section-top {
    margin-bottom: 26px;
  }
  .band .band-story {
    margin-top: 24px;
  }
  .booking-copy > p {
    max-width: 340px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .media-item:hover .media-picture > img,
  .media-item:focus-within .media-picture > img {
    transform: none;
  }
  .paint-smear {
    display: none;
  }
  .logo-track {
    animation: none;
    transform: none;
    will-change: auto;
  }
  .logo-window {
    overflow-x: auto;
  }
  .logo-track > .reference-logos[aria-hidden] {
    display: none;
  }
  .carousel-pause {
    display: none;
  }
}

/* Revision 4: one paper material, independent torn layers, full-bleed photography. */
body {
  --black-paper: url("black-paper-v4.png");
}
.masthead,
.recordings,
.recordings-stage,
.masthead nav.open {
  background:
    linear-gradient(#0004, #0004),
    #121211 var(--black-paper) repeat 0 0 / 620px 620px;
}
.hero {
  overflow: clip;
}
.hero picture .crew-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center 58%;
}
.paper-edge {
  height: calc(24vw + 180px);
  width: 100%;
  left: 0;
  transform-origin: center;
}
.paper-edge::before,
.paper-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  mask: url("tear-mask-v4.png") center / 100% 100% no-repeat;
  -webkit-mask: url("tear-mask-v4.png") center / 100% 100% no-repeat;
}
.paper-edge::before {
  background: #e9e0cf;
  transform: translateY(3px);
}
.paper-edge::after {
  background:
    linear-gradient(#0004, #0004),
    #121211 var(--black-paper) repeat 0 0 / 620px 620px;
}
.edge-top {
  top: calc(-6vw - 40px);
  transform: skewY(-6deg);
}
.edge-bottom {
  bottom: calc(-6vw - 40px);
  transform: rotate(180deg) skewY(-6deg);
}
.hero-top {
  top: clamp(160px, 14vw, 210px);
}
.hero-bottom {
  bottom: 62px;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.skip-intro {
  position: fixed;
  z-index: 201;
}
.references {
  padding-block: 68px 74px;
}
.references-heading {
  justify-content: center;
  text-align: center;
  margin-bottom: 46px;
}
.references-heading h2 {
  font-size: clamp(26px, 2.5vw, 36px);
}
/* One logo set is never narrower than the window, so the loop has no gap; on wide screens both stay compact. */
.logo-window {
  max-width: 1100px;
  margin-inline: auto;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

/* A performance photograph and a typographic booking menu replace decorative emblems. */
.offer {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 610px;
  padding-block: 80px;
  background: #1b1a18;
}
.offer-photo {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -1;
  overflow: hidden;
}
.offer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: grayscale(0.7) contrast(1.1);
}
.offer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1b1a18, #1b1a18b3 13%, #1b1a1800 48%),
    linear-gradient(0deg, #1b1a1855, transparent 60%);
}
.offer-content {
  width: 49%;
}
.offer h2 {
  font-size: clamp(48px, 5.2vw, 76px);
  margin-bottom: 42px;
}
.offer h2 .brush {
  color: #ef443b;
}
.event-links {
  display: grid;
}
.event-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid #f1e7d250;
  text-decoration: none;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}
.event-links a:first-child {
  border-top: 1px solid #f1e7d250;
}
.event-links a > span:last-child {
  display: inline-flex;
  flex: 0 0 auto;
  transition: transform 0.3s;
}
.arrow-diagonal {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
  transform: rotate(-45deg);
}
.event-links a:hover > span:last-child {
  transform: translate(4px, -4px);
}
.event-links a:hover {
  color: #f98b80;
}
@media (max-width: 760px) {
  .hero {
    height: 680px;
    min-height: 590px;
    max-height: calc(100svh - 82px);
  }
  .hero picture .crew-photo {
    object-position: 56% center;
  }
  .hero-top {
    top: 100px;
    left: 9%;
  }
  .hero h1 {
    font-size: clamp(72px, 15vw, 104px);
  }
  .hero-bottom {
    bottom: 68px;
  }
  .references {
    padding-block: 54px 58px;
  }
  .references-heading {
    margin-bottom: 36px;
  }
  .offer {
    display: block;
    min-height: 0;
    padding: 48px 22px 0;
  }
  .offer-content {
    width: 100%;
  }
  .offer h2 {
    font-size: 52px;
    margin-bottom: 26px;
  }
  .event-links a {
    font-size: clamp(19px, 4.6vw, 26px);
    padding-block: 17px;
  }
  .offer-photo {
    position: relative;
    inset: auto;
    height: 290px;
    margin: 24px -22px 0;
    z-index: 0;
  }
  .offer-photo::after {
    background: linear-gradient(180deg, #1b1a18, transparent 25%);
  }
  .offer-photo img {
    object-position: center 48%;
  }
  .offer-content {
    position: relative;
    z-index: 1;
  }
  .offer {
    display: flex;
    flex-direction: column;
  }
  .offer-photo {
    order: 2;
    width: calc(100% + 44px);
  }
}

#photo-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
}
#photo-light canvas {
  width: 100%;
  height: 100%;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  #photo-light {
    display: none;
  }
}

/* Revision 5: level tears, a torn reference strip, and a viewport-sized gallery. */
.hero > .paper-edge {
  height: 360px;
}
.hero > .edge-top {
  top: -135px;
  transform: none;
}
.hero > .edge-bottom {
  bottom: -135px;
  transform: rotate(180deg);
}
.hero-top {
  top: 100px;
}
.hero-bottom {
  bottom: 64px;
}
.references {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: 100px 104px;
  border: 0;
}
.references > .paper-edge {
  height: 360px;
}
.references > .edge-top {
  top: -135px;
  transform: none;
}
.references > .edge-bottom {
  bottom: -135px;
  transform: rotate(180deg);
}
.references > .edge-bottom::after {
  background: #1b1a18;
}
.references > .paper-edge {
  transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.references:not(.is-revealed) > .edge-top {
  transform: translateY(25px);
}
.references:not(.is-revealed) > .edge-bottom {
  transform: rotate(180deg) translateY(25px);
}
.offer-photo::after {
  background:
    linear-gradient(180deg, #1b1a18, transparent 70px),
    linear-gradient(90deg, #1b1a18, #1b1a18b3 13%, #1b1a1800 48%),
    linear-gradient(0deg, #1b1a1855, transparent 60%);
}
.recordings-stage {
  height: calc(var(--page-vh, 1svh) * 100);
  min-height: 0;
  max-height: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto 2px;
  align-content: stretch;
  justify-content: normal;
  padding-block: clamp(26px, calc(var(--page-vh, 1svh) * 4), 60px) 24px;
}
.recordings .media-window {
  height: 100%;
  min-height: 0;
}
.recordings .media-track {
  height: 100%;
  align-items: stretch;
}
.recordings .media-item {
  height: 100%;
}
.recordings .media-picture {
  height: 100%;
  min-height: 0;
}
.recordings .scroll-line {
  margin-top: 0;
}
.recordings .media-controls {
  padding-block: 16px 12px;
}
.band {
  padding-block: 90px;
}
.band > .section-top,
.band > .portraits,
.band > .band-story {
  max-width: none;
}
.band > .section-top {
  margin-bottom: 48px;
}
.band > .portraits {
  gap: 44px;
}
.band > .portraits img {
  height: clamp(340px, 34vw, 520px);
}
.band > .band-story {
  margin-top: 46px;
  padding-top: 32px;
}
@media (max-width: 760px) {
  .hero-top {
    top: 75px;
  }
  .references {
    padding-block: 80px 84px;
  }
  .recordings-stage {
    padding-top: 26px;
    padding-bottom: 20px;
  }
  .recordings .section-top {
    margin-bottom: 22px;
  }
  .recordings h2 {
    font-size: clamp(30px, 7.5vw, 40px);
  }
  .band {
    padding-block: 60px;
  }
  .band > .section-top {
    margin-bottom: 32px;
  }
  .band > .portraits {
    gap: 16px;
  }
  .band > .portraits img {
    height: 220px;
  }
  .offer-photo::after {
    background: linear-gradient(180deg, #1b1a18, transparent 25%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .references:not(.is-revealed) > .edge-top {
    transform: none;
  }
  .references:not(.is-revealed) > .edge-bottom {
    transform: rotate(180deg);
  }
  .recordings .scroll-line {
    display: block;
  }
}

/* Revision 7: original requested crew photo and sharp, pixel-dense paper fibers. */
.hero picture .crew-photo {
  object-position: right center;
}
.photo-wash {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.44),
      rgba(8, 8, 8, 0.17) 48%,
      rgba(8, 8, 8, 0.1)
    ),
    linear-gradient(0deg, rgba(8, 8, 8, 0.24), transparent 35%);
}
.hero-top {
  top: 70px;
}
.paper-edge {
  --tear-width: 1086px;
  --tear-height: 362px;
  --tear-offset: -156px;
}
.hero > .paper-edge,
.references > .paper-edge {
  height: var(--tear-height);
}
.hero > .edge-top,
.references > .edge-top {
  top: var(--tear-offset);
}
.hero > .edge-bottom,
.references > .edge-bottom {
  bottom: var(--tear-offset);
}
.paper-edge::before,
.paper-edge::after {
  mask-image: url("tear-mask-v7.png");
  mask-size: var(--tear-width) var(--tear-height);
  mask-repeat: repeat-x;
  mask-position: left top;
  mask-mode: luminance;
}
.paper-edge::before {
  transform: translateY(1.25px);
}
@media (min-resolution: 2.5dppx) {
  .paper-edge {
    --tear-width: 724px;
    --tear-height: 241.333px;
    --tear-offset: -95.666px;
  }
}
@media (max-width: 760px) {
  .hero-top {
    top: 75px;
  }
  .photo-wash {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.32),
      rgba(8, 8, 8, 0.1) 60%,
      rgba(8, 8, 8, 0.2)
    );
  }
}

/* Revision 8: a full-screen opening, physical paper and restrained atmosphere. */
body > .masthead {
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  background: transparent;
}
.masthead .brand img { width: 56px; height: 56px; }
.hero {
  height: calc(var(--page-vh, 1svh) * 100);
  min-height: 0;
  max-height: none;
}
.hero > .edge-top { top: calc(78px - var(--tear-height) / 2); }
.hero > .edge-bottom { bottom: calc(20px - var(--tear-height) / 2); }
.paper-edge::before,
.paper-edge::after { mask-image: url("tear-mask-v8-solid.png"); }
.paper-edge::before {
  background: linear-gradient(#e8dfcfee, #e8dfcfee), #ddd2bc var(--black-paper) center / 620px auto;
  transform: translateY(5px);
}
.hero-top { top: 125px; }
.hero h1 { font-size: clamp(58px, min(9vw, calc(var(--page-vh, 1svh) * 17)), 150px); }
.hero-bottom { bottom: 48px; }
.photo-wash {
  background:
    linear-gradient(90deg, #0808089e 0%, #08080861 31%, #0808081a 64%, #08080814),
    linear-gradient(0deg, #0808083d, transparent 38%);
}
.hero-visual {
  inset: -3px;
  animation: taiko-pulse 3.2s linear infinite paused;
}
.photo-grain {
  inset: -12px;
  opacity: 0.055;
  background-image: var(--hero-grain, none);
  background-size: 128px 128px;
  background-repeat: repeat;
  mix-blend-mode: soft-light;
  animation: quiet-grain 0.65s steps(1, end) infinite paused;
}
.hero.is-atmosphere-active .hero-visual,
.hero.is-atmosphere-active .photo-grain { animation-play-state: running; }
@keyframes taiko-pulse {
  0%, 6%, 15%, 39%, 48%, 100% { transform: translate(0, 0); }
  1.5% { transform: translate(0.2px, 0.65px); }
  3.5% { transform: translate(-0.15px, -0.25px); }
  10% { transform: translate(0.1px, 0.35px); }
  34% { transform: translate(-0.15px, 0.55px); }
  36% { transform: translate(0.1px, -0.2px); }
  43% { transform: translate(0, 0.3px); }
}
@keyframes quiet-grain {
  0%, 100% { background-position: 0 0; }
  25% { background-position: -31px 23px; }
  50% { background-position: 17px -41px; }
  75% { background-position: -47px -13px; }
}
@media (max-width: 760px) {
  body > .masthead { height: 64px; }
  .masthead .brand img { width: 48px; height: 48px; }
  .masthead nav { top: 64px; }
  .hero > .edge-top { top: calc(68px - var(--tear-height) / 2); }
  .hero-top { top: 112px; }
  .hero h1 { font-size: clamp(58px, min(18vw, calc(var(--page-vh, 1svh) * 15)), 100px); }
  .hero-bottom { bottom: 46px; }
  .photo-wash {
    background:
      linear-gradient(90deg, #08080873, #08080833 55%, #0808080d),
      linear-gradient(180deg, #08080838, transparent 62%, #08080826);
  }
}
@media (max-height: 500px) {
  .hero-top { top: 105px; }
  .hero h1 { font-size: 52px; }
  .hero-bottom { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual, .photo-grain { animation: none; }
}

/* Revision 9: quieter paper fibers and one centered title/action group. */
.paper-edge::before {
  background: linear-gradient(#948774e6, #948774e6), #766d5f var(--black-paper) center / 620px auto;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(64px, calc(var(--page-vh, 1svh) * 10), 112px);
  padding: 0 var(--gutter);
  pointer-events: none;
}
.hero-content .hero-top,
.hero-content .hero-bottom {
  position: static;
  inset: auto;
  width: auto;
  z-index: auto;
}
.hero-content .hero-actions { width: auto; }
.hero-content .button { pointer-events: auto; }
@media (max-width: 760px) {
  .hero-content { padding-inline: 22px; gap: 64px; }
}
@media (max-height: 500px) {
  .hero-content { gap: 50px; padding-top: 54px; }
}

/* Revision 10: a photographic paper edge and stronger, still quiet atmosphere. */
.hero-content {
  width: min(52%, 800px);
  left: calc(var(--gutter) - 5vw);
  right: auto;
  padding-inline: 5vw;
  align-items: center;
  padding-top: 60px;
  gap: clamp(64px, calc(var(--page-vh, 1svh) * 8), 96px);
}
.hero-content .hero-bottom { align-self: center; }
.photo-wash {
  background:
    linear-gradient(90deg, #080808d6 0%, #080808b3 24%, #08080875 43%, #0808081a 68%, #0808080d),
    linear-gradient(0deg, #0808083d, transparent 40%);
}
.photo-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("wave-pattern-v10.png") repeat center / 420px;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}
.photo-grain {
  opacity: 0.13;
  animation-duration: 0.4s;
}
@keyframes taiko-pulse {
  0%, 6%, 15%, 39%, 48%, 100% { transform: translate(0, 0); }
  1.5% { transform: translate(0.3px, 1.15px); }
  3.5% { transform: translate(-0.2px, -0.4px); }
  10% { transform: translate(0.15px, 0.6px); }
  34% { transform: translate(-0.2px, 0.9px); }
  36% { transform: translate(0.15px, -0.3px); }
  43% { transform: translate(0, 0.5px); }
}
@media (max-width: 760px) {
  .hero-content {
    width: 100%;
    align-items: flex-start;
    padding: 40px 8vw 0;
    gap: 60px;
  }
  .hero-content .hero-bottom { align-self: flex-start; }
  .photo-pattern { background-size: 280px; opacity: 0.13; }
  .photo-wash {
    background:
      linear-gradient(90deg, #080808bd, #0808088c 40%, #0808083d 76%, #0808081a),
      linear-gradient(180deg, #08080833, transparent 70%);
  }
}
@media (max-height: 500px) {
  .hero-content { padding-top: 54px; gap: 50px; }
}

/* The edge itself is photographed paper pulp, with no synthetic outline. */
.paper-edge::before {
  background: url("torn-paper-v10.png") repeat-x left top / var(--tear-width) var(--tear-height);
  -webkit-mask: none;
  mask: none;
  transform: none;
}
.paper-edge::after {
  -webkit-mask: linear-gradient(#000 44%, transparent 52%);
  mask: linear-gradient(#000 44%, transparent 52%);
}

.photo-pattern { z-index: 2; }
.photo-grain { z-index: 3; }

/* Revision 11: brush controls, lighter tears, and continuous section material. */
.paper-edge {
  --tear-height: 230px;
  --tear-offset: calc(18px - var(--tear-height) * .54);
}
.paper-edge::before { filter: brightness(.88); }
@media (min-resolution: 2.5dppx) {
  .paper-edge { --tear-height: 154px; }
}
.references > .edge-bottom::after,
.offer { background: #171615; }
.offer-photo {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 170px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 170px), transparent);
}
.offer-photo::after {
  background:
    linear-gradient(180deg, #171615, transparent 100px),
    linear-gradient(90deg, #171615, #171615b3 13%, #17161500 48%);
}

.ink-button {
  position: relative;
  isolation: isolate;
  gap: 22px;
  min-height: 76px;
  padding: 24px 37px;
  border: 0;
  background: transparent;
  color: var(--paper);
  transition: color .25s, transform .25s;
}
.ink-button::before,
.ink-button::after {
  content: "";
  position: absolute;
  inset: 0 -10px;
  z-index: -1;
  -webkit-mask: url("brush-stroke-v7.png") center / 100% 100% no-repeat;
  mask: url("brush-stroke-v7.png") center / 100% 100% no-repeat;
  mask-mode: luminance;
}
.ink-button::before {
  background: linear-gradient(#c81016e8, #c81016e8), var(--black-paper) center / 420px;
  transform: rotate(-1.5deg);
  transition: transform .35s;
}
.ink-button::after {
  background: var(--paper);
  clip-path: inset(0 100% 0 0);
  transform: rotate(-1.5deg);
  transition: clip-path .4s cubic-bezier(.16, 1, .3, 1);
}
.ink-button svg { flex: 0 0 auto; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ink-button:focus-visible { color: #151413; outline: 2px solid var(--paper); outline-offset: 8px; }
.ink-button:focus-visible::after { clip-path: inset(0); }
.ink-button:focus-visible svg { transform: translateX(4px); }
@media (hover: hover) {
  .ink-button:hover { color: #151413; transform: translateY(-2px); }
  .ink-button:hover::after { clip-path: inset(0); }
  .ink-button:hover svg { transform: translateX(4px); }
  .ink-button:hover::before { transform: rotate(-2.5deg); }
}
.ink-button:active { transform: translateY(1px) scale(.985); }

.menu-stroke {
  position: absolute;
  left: 8px;
  top: 17px;
  width: 36px;
  height: 8px;
  background: var(--paper);
  -webkit-mask: url("brush-stroke-v7.png") center / 100% 100% no-repeat;
  mask: url("brush-stroke-v7.png") center / 100% 100% no-repeat;
  mask-mode: luminance;
  transform: rotate(-5deg);
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), top .32s;
}
.menu-stroke + .menu-stroke { top: 29px; transform: rotate(3deg); }
.menu[aria-expanded="true"] .menu-stroke { top: 23px; transform: rotate(45deg); animation: repaint-cross .48s both; }
.menu[aria-expanded="true"] .menu-stroke + .menu-stroke { transform: rotate(-45deg); animation-delay: .07s; }
@keyframes repaint-cross {
  0% { clip-path: inset(0); }
  28% { clip-path: inset(0 0 0 100%); }
  29% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0); }
}
@media (max-width: 760px) {
  .offer-photo::after { background: linear-gradient(180deg, #171615, transparent 26%); }
  body.menu-open {
    position: fixed;
    top: var(--menu-scroll-top);
    width: 100%;
    overflow: hidden;
  }
  .masthead:has(.menu[aria-expanded="true"]) { z-index: 100; }
  .masthead .brand, .masthead .menu { position: relative; z-index: 102; }
  .masthead .menu { display: block; width: 52px; height: 52px; padding: 0; }
  .masthead #navigation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(16px, 3.5svh, 34px);
    padding: 100px 10vw 64px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 101;
    background: linear-gradient(#111110d9, #111110d9), url("wave-pattern-v10.png") repeat center / 420px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s, visibility .32s;
  }
  .masthead #navigation.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .masthead #navigation a {
    position: relative;
    font-family: Sukajan, Arial, sans-serif;
    font-size: clamp(32px, 8.5vw, 48px);
    line-height: 1.2;
    font-weight: 400;
    text-decoration: none;
    transform: translateY(14px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s, color .2s;
  }
  .masthead #navigation.open a { transform: none; opacity: 1; }
  .masthead #navigation a:nth-child(2) { transition-delay: .035s; }
  .masthead #navigation a:nth-child(3) { transition-delay: .07s; }
  .masthead #navigation a:nth-child(4) { transition-delay: .105s; }
  .masthead #navigation a:last-child { transition-delay: .14s; }
  .masthead #navigation a:focus-visible { outline: 2px solid var(--paper); outline-offset: 8px; }
  .masthead #navigation .nav-book {
    width: auto;
    border: 0;
    padding: 14px 0 0;
    margin-top: 10px;
    color: #f46d60;
    font-size: clamp(27px, 7vw, 38px);
    text-align: left;
  }
  .ink-button { min-height: 72px; padding: 22px 28px; gap: 18px; }
}
@media (max-width: 760px) and (max-height: 540px) {
  .masthead #navigation { padding: 72px 10vw 25px; gap: 8px; }
  .masthead #navigation a { font-size: 27px; }
  .masthead #navigation .nav-book { margin-top: 0; padding-top: 6px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-stroke, .menu[aria-expanded="true"] .menu-stroke,
  .masthead #navigation, .masthead #navigation a,
  .ink-button, .ink-button::before, .ink-button::after, .ink-button svg {
    animation: none;
    transition: none;
  }
}

/* Revision 12: shared booking action and freely browsable recordings. */
.offer-book { display: inline-flex; margin-top: 38px; }
@media (min-width: 761px) {
  .hero-content .hero-bottom { translate: 0 32px; }
  .hero-content .ink-button { min-height: 86px; padding: 28px 44px; font-size: 20px; gap: 28px; }
  .masthead .nav-book { min-height: 44px; padding: 12px 18px; border: 1px solid #f1e7d277; gap: 0; }
  .masthead .nav-book::before, .masthead .nav-book::after, .masthead .nav-book svg { display: none; }
  .masthead .nav-book:hover, .masthead .nav-book:focus-visible { color: var(--paper); background: #f1e7d218; }
}
body > .masthead { position: fixed; top: 0; transition: top .28s ease, background-color .28s; }
body > .masthead.is-scrolled { background: transparent; }
body > .masthead.is-hidden { top: -90px; }
body > .masthead:focus-within, body.menu-open > .masthead { top: 0; }
.recordings { height: auto; }
.recordings-stage { position: relative; top: auto; }
.recordings .media-window {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.recordings .media-window::-webkit-scrollbar { display: none; }
.recordings .media-track { transform: none; }
.recordings .media-item { scroll-snap-align: start; }
@media (max-width: 760px) {
  .recordings .media-window { scroll-padding-inline: 22px; }
  .masthead #navigation .nav-book {
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    min-height: 72px;
    padding: 22px 28px;
    margin-top: 16px;
    gap: 18px;
    color: var(--paper);
    background: transparent;
  }
  .masthead #navigation .nav-book:focus-visible { color: #151413; }
  .masthead #navigation a:not(.nav-book) { font-size: clamp(27px, 7.4vw, 44px); }
  .offer-book { margin-top: 30px; }
}
@media (max-width: 760px) and (max-height: 540px) {
  .masthead #navigation .nav-book { min-height: 58px; padding-block: 16px; margin-top: 4px; }
  .masthead #navigation a:not(.nav-book) { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { body > .masthead { transition: none; } }

@media (max-width: 760px) and (hover: hover) {
  .masthead #navigation .nav-book:hover { color: #151413; }
}

/* Revision 14: one connected paper navbar, compact on scroll-up. */
body > .masthead {
  isolation: isolate;
  transition: top .28s ease;
}
.masthead > .nav-paper {
  z-index: -1;
  height: var(--tear-height);
  top: calc(100% - var(--tear-height) / 2 + 6px);
  transform: none;
  transition: none;
}
body > .masthead.is-scrolled { height: 60px; }
.masthead.is-scrolled > .nav-paper {
  --tear-height: 140px;
  top: calc(100% - var(--tear-height) / 2 + 1px);
}
.masthead .brand img { transition: none; }
.masthead.is-scrolled .brand img { width: 44px; height: 44px; }
body > .masthead.is-hidden { top: -110px; }
body > .masthead:focus-within, body.menu-open > .masthead { top: 0; }
@media (max-width: 760px) {
  body > .masthead.is-scrolled { height: 56px; }
  .masthead.is-scrolled .brand img { width: 40px; height: 40px; }
  .masthead.is-scrolled > .nav-paper { --tear-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  body > .masthead, .masthead > .nav-paper, .masthead .brand img { transition: none; }
}

/* Bottom tears (hero, reference strip) are drawn upright from a mirrored photo instead of as a rotated copy
   of the top tear: some browsers dropped the photo on the rotated layer and left only a straight fill edge. */
.hero > .edge-bottom,
.references > .edge-bottom {
  transform: none;
}
.references:not(.is-revealed) > .edge-bottom {
  transform: translateY(-25px);
}
.hero > .edge-bottom::before,
.references > .edge-bottom::before {
  background: url("torn-paper-v10-up.png") repeat-x left bottom / var(--tear-width) var(--tear-height);
}
.hero > .edge-bottom::after,
.references > .edge-bottom::after {
  -webkit-mask: linear-gradient(transparent 48%, #000 56%);
  mask: linear-gradient(transparent 48%, #000 56%);
}
@media (prefers-reduced-motion: reduce) {
  .references:not(.is-revealed) > .edge-bottom {
    transform: none;
  }
}

/* Language switch in the footer */
footer .langs {
  display: flex;
  gap: 16px;
}
footer .langs a {
  text-decoration: none;
  opacity: 0.6;
}
footer .langs a:hover,
footer .langs a[aria-current] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Impressum / Datenschutz */
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
  background: linear-gradient(#0004, #0004), #121211 var(--black-paper) repeat 0 0 / 620px 620px;
}
.legal-head .brand img { display: block; }
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px max(5vw, 22px) 96px;
}
.legal-page h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.legal-note { color: #f1e7d2aa; margin-bottom: 24px; }
.legal-body { font-size: 18px; line-height: 1.65; }
.legal-body h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal-body h3 { font-size: 20px; margin: 28px 0 8px; }
.legal-body p, .legal-body ul, .legal-body ol { margin: 0 0 16px; }
.legal-body a { color: #ef443b; }
.legal-body blockquote {
  margin: 0 0 32px;
  padding: 14px 18px;
  border-left: 4px solid var(--red);
  background: #f1e7d214;
}
.legal-body blockquote p { margin: 0; }
body:has(.legal-page) { background: #121211 var(--black-paper) repeat 0 0 / 620px 620px; }

/* Footer: legal links and the cookie settings button look alike */
footer .legal a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }

/* YouTube consent prompt inside a recording card */
.media-consent {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: #080808d9;
  color: var(--paper);
  font-size: 17px;
}
.media-consent div { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.media-consent button {
  font: inherit;
  font-size: 16px;
  padding: 10px 18px;
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
}
.media-consent button:first-child { background: var(--red); border-color: var(--red); }

/* Cookie banner (vanilla-cookieconsent) in the site's colours */
#cc-main {
  --cc-font-family: Arial, Helvetica, sans-serif;
  --cc-bg: #f1e7d2;
  --cc-primary-color: #1b1a18;
  --cc-secondary-color: #4a443d;
  --cc-btn-primary-bg: #c81016;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #c81016;
  --cc-btn-primary-hover-bg: #9e0c11;
  --cc-btn-primary-hover-border-color: #9e0c11;
  --cc-btn-secondary-bg: #e4d7bd;
  --cc-btn-secondary-color: #1b1a18;
  --cc-btn-secondary-border-color: #e4d7bd;
  --cc-btn-secondary-hover-bg: #d8c8a8;
  --cc-btn-secondary-hover-border-color: #d8c8a8;
  --cc-separator-border-color: #ddd0b4;
  --cc-toggle-on-bg: #c81016;
  --cc-toggle-readonly-bg: #b9ab90;
  --cc-section-category-border: #ddd0b4;
  --cc-cookie-category-block-bg: #e9dec6;
  --cc-modal-border-radius: 4px;
  --cc-btn-border-radius: 2px;
  --cc-link-color: #c81016;
}
footer .legal { flex-wrap: wrap; row-gap: 10px; }

/* Japanese: break lines between phrases, not inside words */
:lang(ja) :is(h1, h2, h3, p, a, button, span, label, summary) {
  word-break: auto-phrase;
  line-break: strict;
}

/* Loading screen: the paper reveal's first frame as plain HTML, visible from the first paint. Same geometry as
   the canvas in script.js (paper's upper two thirds stretched, logo at 28 %, "TAIKO LION" baseline at 74 %). */
.intro-still {
  position: absolute;
  inset: 0;
  container-type: size;
  background: #121211 url("/intro-paper-full.webp") center top / 100% 151.5% no-repeat; /* upper two thirds */
}
.intro-still img {
  position: absolute;
  left: 50%;
  width: min(35cqw, 40cqh);
  top: calc(28cqh - min(35cqw, 40cqh) * 0.15);
  transform: translateX(-50%);
}
.intro-still span {
  position: absolute;
  left: 50%;
  top: 74cqh;
  transform: translate(-50%, -0.8em);
  font: min(11.5cqw, 12.5cqh) / 1 Sukajan, Arial, sans-serif;
  color: #f1e7d2;
  white-space: nowrap;
}
.intro.is-ready .intro-still {
  display: none;
}
/* safety net: never keep the page hidden if the script fails to start */
.intro:not(.is-ready):not(.is-loading) {
  animation: intro-failsafe 0.4s 12s forwards;
}
@keyframes intro-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none !important;
  }
}
