/*
 * NOWON Band - About, version 2 (about-2.html)
 * Page-only styles. Shared tokens and components are in ../style.css.
 *
 * TABLE OF CONTENTS
 *  1. Shared bits: top row, pills
 *  2. 01 Manifesto: mixing desk
 *  3. 02 Story: tape line
 *  4. 03 Line-up: film strip
 *  5. 04 Numbers: year ruler
 *  6. 05 Press: pinboard
 *  7. 06 Booking: doors
 *  8. Media queries
 */

/* ==========================================================================
   1. Shared bits: top row, pills
   ========================================================================== */
.page-about-2 .section-head {
  margin-bottom: 56px;
}

.page-about-2 .ab2-nums .section-head,
.page-about-2 .ab2-book .section-head {
  margin-bottom: 44px;
}

.ab-toprow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.ab-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--ink);
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2em;
  white-space: nowrap;
}

/* ==========================================================================
   2. 01 Manifesto: mixing desk
   One channel is soloed every four seconds; hover, focus or tap holds one.
   ========================================================================== */
.ab2-man__lead {
  margin-top: 24px;
  font-weight: 200;
  font-size: clamp(30px, 3.9vw, 74px);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ab2-man__lead strong {
  color: var(--acc);
  font-weight: 900;
}

.ab2-desk {
  display: flex;
  gap: 12px;
  height: clamp(380px, 37.5vw, 720px);
  margin-top: 40px;
}

.ab2-ch {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  color: var(--cream);
  text-align: left;
  transition: flex .55s cubic-bezier(.6, 0, .2, 1), height .5s cubic-bezier(.6, 0, .2, 1);
}

.ab2-ch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px transparent;
  pointer-events: none;
  transition: box-shadow .3s ease;
}

.ab2-ch.is-on {
  flex: 4 1 0;
}

.ab2-ch.is-on::after {
  box-shadow: inset 0 0 0 1.5px var(--acc);
}

.ab2-ch__photo {
  position: absolute;
  inset: 0;
  display: block;
}

.ab2-ch__photo .slot-size {
  top: 22%;
  opacity: 0;
  transition: opacity .3s ease;
}

.ab2-ch.is-on .ab2-ch__photo .slot-size {
  opacity: 1;
}

.ab2-ch__num {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.ab2-ch__solo {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--ink);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .2em;
  opacity: 0;
  transition: opacity .3s ease;
}

.ab2-ch.is-on .ab2-ch__solo {
  opacity: 1;
}

.ab2-ch__vert {
  position: absolute;
  left: clamp(8px, 1.5vw, 22px);
  bottom: 22px;
  z-index: 2;
  color: transparent;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  writing-mode: vertical-rl;
  -webkit-text-stroke: 1.2px rgba(245, 237, 216, .6);
  transform: rotate(180deg);
  transition: opacity .3s ease;
}

.ab2-ch.is-on .ab2-ch__vert {
  opacity: 0;
}

.ab2-ch__info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  width: calc((100vw - 2 * clamp(20px, 2.344vw, 60px) - 36px) * .571);
  padding: 120px clamp(16px, 2vw, 30px) 28px;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0), rgba(18, 17, 16, .95) 55%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .4s ease .15s, transform .4s ease .15s;
}

.ab2-ch.is-on .ab2-ch__info {
  opacity: 1;
  transform: translateY(0);
}

.ab2-ch__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.ab2-ch__name {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 84px);
  line-height: .9;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.ab2-ch__eq {
  display: flex;
  flex: none;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-bottom: 6px;
}

.ab2-ch__bar {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--acc);
  transform-origin: bottom;
  animation: eq .5s ease-in-out infinite;
}

.ab2-ch__bar:nth-child(2) {
  animation-duration: .63s;
  animation-delay: .07s;
}

.ab2-ch__bar:nth-child(3) {
  animation-duration: .76s;
  animation-delay: .14s;
}

.ab2-ch__bar:nth-child(4) {
  animation-duration: .89s;
  animation-delay: .21s;
}

.ab2-ch__bar:nth-child(5) {
  animation-duration: 1.02s;
  animation-delay: .28s;
}

.ab2-ch__role {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .25em;
}

.ab2-ch__quote {
  display: block;
  max-width: 560px;
  margin-top: 16px;
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 24px);
  line-height: 1.4;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.ab2-segs {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.ab2-seg {
  display: block;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line-2);
}

.ab2-seg__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acc);
}

/* ==========================================================================
   3. 02 Story: tape line
   ========================================================================== */
.ab2-tape {
  position: relative;
}

.ab2-tape__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(245, 237, 216, .14);
}

.ab2-tape__fill {
  display: block;
  width: 100%;
  height: 30%;
  background: var(--acc);
  transition: height .2s linear;
}

.ab2-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(70px, 8.3vw, 120px) minmax(0, 1fr);
  align-items: center;
  gap: 20px 0;
  padding: 26px 0;
}

.ab2-row__card {
  min-width: 0;
  padding: clamp(20px, 2.1vw, 30px);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.ab2-row.is-on .ab2-row__card {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--acc);
}

.ab2-row__node {
  display: flex;
  order: 1;
  justify-content: center;
}

.ab2-row__node span {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--acc);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.ab2-row.is-past .ab2-row__node span {
  background: var(--acc);
}

.ab2-row.is-on .ab2-row__node span {
  box-shadow: 0 0 0 7px var(--acc-22);
}

.ab2-row__rel {
  display: flex;
  flex-wrap: wrap;
  order: 2;
  align-items: center;
  gap: 16px 26px;
  min-width: 0;
}

.ab2-row--flip .ab2-row__card {
  order: 2;
}

.ab2-row--flip .ab2-row__rel {
  order: 0;
}

.ab2-row__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 18px;
}

.ab2-row__top .ab-pill {
  margin-bottom: 4px;
}

.ab2-row__year {
  color: transparent;
  font-weight: 800;
  font-size: clamp(64px, 6.7vw, 128px);
  line-height: .8;
  letter-spacing: 0;
  -webkit-text-stroke: 1.5px rgba(245, 237, 216, .5);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}

.ab2-row.is-on .ab2-row__year {
  color: var(--acc);
  -webkit-text-stroke-color: var(--acc);
}

.ab2-row__title {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(22px, 1.95vw, 36px);
  letter-spacing: -.02em;
}

.ab2-row__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.ab2-row__sleeve {
  position: relative;
  flex: none;
  width: clamp(140px, 13.9vw, 240px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
}

.ab2-row__sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab2-row__info {
  flex: 1 1 160px;
  min-width: 0;
}

.ab2-row__rel-label {
  color: var(--acc);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .25em;
}

.ab2-row__rel-name {
  margin-top: 6px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
}

.ab2-row__rel-kind {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ab2-row__stats {
  display: flex;
  gap: 26px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ab2-row__stat {
  display: block;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}

.ab2-row__stat-label {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .2em;
}

/* ==========================================================================
   4. 03 Line-up: film strip
   ========================================================================== */
.ab2-film {
  margin-top: 30px;
  padding: 16px 0;
  border-radius: 8px;
  background: #1f1d1b;
}

.ab2-film__holes {
  height: 16px;
  margin: 0 22px;
  background: repeating-linear-gradient(90deg, var(--bg) 0 18px, transparent 18px 40px);
}

.ab2-film__frames {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 22px;
}

.ab2-film__cell {
  min-width: 0;
}

.ab2-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cream);
  text-align: left;
  transform: translateY(0) scale(1);
  transition: transform .45s var(--spring);
}

.ab2-frame.is-on {
  z-index: 2;
  transform: translateY(-30px) scale(1.05);
}

.ab2-frame__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  white-space: nowrap;
}

.ab2-frame__photo {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  box-shadow: 0 0 0 2px transparent, 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow .3s ease;
}

.ab2-frame.is-on .ab2-frame__photo {
  background: repeating-linear-gradient(135deg, #2b2825 0 14px, #35312d 14px 28px);
  box-shadow: 0 0 0 2px var(--acc), 0 30px 60px rgba(0, 0, 0, .6);
}

.ab2-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 50px 16px 14px;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0), rgba(18, 17, 16, .95) 62%);
}

.ab2-frame__name {
  display: block;
  font-weight: 900;
  font-size: clamp(20px, 2.1vw, 40px);
  line-height: .95;
  letter-spacing: -.04em;
  transition: color .3s ease;
}

.ab2-frame.is-on .ab2-frame__name {
  color: var(--acc);
}

.ab2-frame__role {
  display: block;
  margin-top: 6px;
  color: var(--acc);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .25em;
}

.ab2-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: 30px clamp(30px, 4.2vw, 80px);
  margin-top: 50px;
}

.ab2-detail[hidden] {
  display: none;
}

.ab2-detail__who,
.ab2-detail > * {
  min-width: 0;
}

.ab2-detail__frame {
  color: var(--acc);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
}

.ab2-detail__name {
  margin-top: 14px;
}

.ab2-detail__first {
  display: block;
  font-weight: 200;
  font-size: clamp(40px, 3.9vw, 74px);
  line-height: .9;
  letter-spacing: -.03em;
}

.ab2-detail__last {
  display: block;
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(60px, 6.4vw, 122px);
  line-height: .86;
  letter-spacing: -.05em;
}

.ab2-detail__quote {
  font-weight: 300;
  font-size: clamp(22px, 2.1vw, 38px);
  line-height: 1.35;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.ab2-detail__bio {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.ab2-detail__fav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-3);
  font-size: 14px;
}

.ab2-detail__fav-label {
  color: var(--acc);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .25em;
}

.ab2-detail__fav-name {
  font-weight: 700;
}

/* ==========================================================================
   5. 04 Numbers: year ruler
   ========================================================================== */
.ab2-rul__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
}

.ab2-rul__year {
  color: transparent;
  font-weight: 800;
  font-size: clamp(80px, 18vw, 340px);
  font-variant-numeric: tabular-nums;
  line-height: .8;
  letter-spacing: 0;
  -webkit-text-stroke: 2px var(--acc);
}

.ab2-rul__caps {
  flex: 1 1 280px;
  max-width: 420px;
  padding-bottom: 10px;
  text-align: right;
}

.ab2-rul__cap[hidden] {
  display: none;
}

.ab2-rul__tag {
  color: var(--acc);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .25em;
}

.ab2-rul__title {
  margin-top: 8px;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
}

.ab2-rul__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.ab2-rul__track {
  --pos: 100%;
  position: relative;
  display: block;
  height: 96px;
  margin: 40px 12px 0;
  border-radius: 6px;
  cursor: ew-resize;
  touch-action: pan-y;
}

.ab2-rul__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 237, 216, .14);
}

.ab2-rul__fill {
  display: block;
  width: var(--pos);
  height: 100%;
  border-radius: 2px;
  background: var(--acc);
}

.ab2-rul__tick {
  position: absolute;
  top: 32px;
  display: block;
  width: 2px;
  height: 20px;
  margin-left: -1px;
  background: rgba(245, 237, 216, .3);
}

.ab2-rul__tick--big {
  top: 22px;
  height: 40px;
}

.ab2-rul__tick.is-past {
  background: var(--acc);
}

.ab2-rul__tick--0 {
  left: 0;
}

.ab2-rul__tick--1 {
  left: 11.111%;
}

.ab2-rul__tick--2 {
  left: 22.222%;
}

.ab2-rul__tick--3 {
  left: 33.333%;
}

.ab2-rul__tick--4 {
  left: 44.444%;
}

.ab2-rul__tick--5 {
  left: 55.556%;
}

.ab2-rul__tick--6 {
  left: 66.667%;
}

.ab2-rul__tick--7 {
  left: 77.778%;
}

.ab2-rul__tick--8 {
  left: 88.889%;
}

.ab2-rul__tick--9 {
  left: 100%;
}

.ab2-rul__tick-label {
  position: absolute;
  left: 50%;
  top: 34px;
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.ab2-rul__tick--big .ab2-rul__tick-label {
  top: 44px;
  color: var(--cream);
  font-size: 13px;
}

.ab2-rul__tick--big.is-past .ab2-rul__tick-label {
  color: var(--acc);
}

.ab2-rul__needle {
  position: absolute;
  left: var(--pos);
  top: 0;
  bottom: 30px;
  display: block;
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
}

.ab2-rul__knob {
  position: absolute;
  left: var(--pos);
  top: 30px;
  display: block;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 2px var(--acc);
}

.ab2-rul__nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px 24px;
  margin-top: 36px;
}

.ab2-rnum {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-3);
}

.ab2-rnum__value {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(72px, 10.4vw, 200px);
  font-variant-numeric: tabular-nums;
  line-height: .82;
  letter-spacing: -.05em;
}

.ab2-rnum__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 16px;
}

.ab2-rnum__label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
}

.ab2-rnum__of {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

/* ==========================================================================
   6. 05 Press: pinboard
   main.js-free layout: the cards sit on a 1320-wide grid in percent; this
   page's script writes --f (vertical scale) and draws the thread.
   ========================================================================== */
.ab2-board {
  --f: 1;
  --ms: 15px;
  position: relative;
  height: calc(470px * var(--f));
}

.ab2-board__word {
  position: absolute;
  left: calc(-1 * var(--pad));
  right: calc(-1 * var(--pad));
  top: 12%;
  overflow: hidden;
  color: transparent;
  font-weight: 800;
  font-size: 30.5vw;
  line-height: .8;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  -webkit-text-stroke: 2px rgba(245, 237, 216, .1);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform .3s ease-out;
}

.ab2-board__threads {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ab2-board__thread {
  position: absolute;
  display: block;
  height: 1.5px;
  background: var(--acc);
  transform-origin: 0 50%;
}

.ab2-board__list {
  position: absolute;
  inset: 0;
}

.ab2-pin {
  position: absolute;
  min-width: 0;
}

.ab2-pin--0 {
  --r: -3deg;
  left: 0;
  top: calc(70px * var(--f));
  z-index: 1;
  width: 18.939%;
}

.ab2-pin--1 {
  --r: 2.5deg;
  left: 20.303%;
  top: calc(10px * var(--f));
  z-index: 2;
  width: 17.879%;
}

.ab2-pin--2 {
  --r: -2deg;
  left: 39.545%;
  top: calc(150px * var(--f));
  z-index: 3;
  width: 21.97%;
}

.ab2-pin--3 {
  --r: 3deg;
  left: 62.879%;
  top: calc(30px * var(--f));
  z-index: 4;
  width: 17.879%;
}

.ab2-pin--4 {
  --r: -2.5deg;
  left: 81.061%;
  top: calc(110px * var(--f));
  z-index: 5;
  width: 18.939%;
}

.ab2-pin.is-on {
  z-index: 6;
}

.ab2-pin__card,
.ab2-pin__card:hover {
  position: relative;
  display: block;
  color: var(--cream);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6));
  transform: rotate(var(--r, 0deg));
  transform-origin: 50% 0;
  transition: transform .45s var(--spring), color .3s ease;
}

.ab2-pin.is-on .ab2-pin__card {
  color: var(--ink);
  transform: rotate(0deg) scale(1.04);
}

.ab2-pin__paper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px 34px;
  background: #262320;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 95% 100%, 90% calc(100% - 9px), 85% 100%, 80% calc(100% - 9px), 75% 100%, 70% calc(100% - 9px), 65% 100%, 60% calc(100% - 9px), 55% 100%, 50% calc(100% - 9px), 45% 100%, 40% calc(100% - 9px), 35% 100%, 30% calc(100% - 9px), 25% 100%, 20% calc(100% - 9px), 15% 100%, 10% calc(100% - 9px), 5% 100%, 0 calc(100% - 9px));
  transition: background-color .3s ease;
}

.ab2-pin.is-on .ab2-pin__paper {
  background: var(--acc);
}

.ab2-pin__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.ab2-pin__src {
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(245, 237, 216, .4);
  font-weight: 900;
  font-size: var(--ms);
  line-height: 1.05;
  letter-spacing: .08em;
}

.ab2-pin.is-on .ab2-pin__src {
  border-bottom-color: var(--ink);
}

.ab2-pin__quote {
  font-weight: 500;
  font-size: calc(17px * var(--f));
  line-height: 1.33;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.ab2-pin--2 .ab2-pin__quote {
  font-size: calc(22px * var(--f));
}

.ab2-pin__about {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.ab2-pin__dot {
  position: absolute;
  left: 50%;
  top: -10px;
  display: block;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px var(--bg);
}

/* ==========================================================================
   7. 06 Booking: doors
   ========================================================================== */
.ab2-doors {
  display: flex;
  gap: 12px;
  height: clamp(420px, 34vw, 600px);
}

.ab2-door,
.ab2-door:hover {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(245, 237, 216, .14);
  transition: flex .55s cubic-bezier(.6, 0, .2, 1), height .45s cubic-bezier(.6, 0, .2, 1), background-color .3s ease, color .3s ease;
}

.ab2-door.is-on {
  flex: 5 1 0;
  background: var(--acc);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--acc);
}

.ab2-door__n {
  position: absolute;
  left: 28px;
  top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.ab2-door__vert {
  position: absolute;
  left: clamp(18px, 2vw, 34px);
  bottom: 26px;
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 46px);
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: opacity .3s ease;
}

.ab2-door.is-on .ab2-door__vert {
  opacity: 0;
}

.ab2-door__open {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: calc((100vw - 2 * clamp(20px, 2.344vw, 60px) - 28px) * .714);
  padding: 76px clamp(22px, 2.4vw, 34px) 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease .15s;
}

.ab2-door.is-on .ab2-door__open {
  opacity: 1;
}

.ab2-door__title {
  display: block;
  font-weight: 900;
  font-size: clamp(40px, 6.7vw, 128px);
  line-height: .86;
  letter-spacing: -.05em;
}

.ab2-door__text {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.45;
  text-wrap: pretty;
}

.ab2-door__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 30px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1.5px solid var(--ink);
}

.ab2-door__who {
  display: block;
  min-width: 0;
}

.ab2-door__person {
  display: block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .25em;
}

.ab2-door__mail {
  display: block;
  margin-top: 6px;
  font-weight: 900;
  font-size: clamp(22px, 2.5vw, 44px);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.ab2-door__go {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acc);
  font-size: 24px;
}

/* ==========================================================================
   8. Media queries
   ========================================================================== */
@media (max-width: 1099px) {
  .ab2-board {
    height: auto;
    padding-top: 14px;
  }

  .ab2-board__threads {
    display: none;
  }

  .ab2-board__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px 24px;
  }

  .ab2-pin,
  .ab2-pin--0,
  .ab2-pin--1,
  .ab2-pin--2,
  .ab2-pin--3,
  .ab2-pin--4 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  .ab2-pin__card,
  .ab2-pin__card:hover {
    transform: rotate(calc(var(--r, 0deg) / 2));
  }

  .ab2-pin__src {
    font-size: 16px;
  }

  .ab2-pin__quote,
  .ab2-pin--2 .ab2-pin__quote {
    font-size: 18px;
  }
}

@media (max-width: 999px) {
  .ab2-tape__line,
  .ab2-row__node {
    display: none;
  }

  .ab2-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab2-row--flip .ab2-row__card {
    order: 0;
  }

  .ab2-row--flip .ab2-row__rel {
    order: 2;
  }
}

@media (max-width: 799px) {
  .ab2-doors {
    flex-direction: column;
    height: auto;
  }

  .ab2-door,
  .ab2-door:hover,
  .ab2-door.is-on {
    flex: none;
    height: 84px;
  }

  .ab2-door.is-on {
    height: 420px;
  }

  .ab2-door__vert {
    left: 96px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ab2-door__open {
    width: 100%;
  }

  .ab2-door__title {
    font-size: clamp(26px, 8.5vw, 64px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 699px) {
  .ab2-desk {
    flex-direction: column;
    height: auto;
  }

  .ab2-ch,
  .ab2-ch.is-on {
    flex: none;
    height: 84px;
  }

  .ab2-ch.is-on {
    height: 420px;
  }

  .ab2-ch__vert {
    left: 18px;
    bottom: 12px;
    font-size: 24px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ab2-ch__info {
    width: 100%;
  }

  .ab2-film__frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab2-frame.is-on {
    transform: scale(1.03);
  }
}

@media (max-width: 599px) {
  .ab2-rul__tick:not(.ab2-rul__tick--big) .ab2-rul__tick-label {
    display: none;
  }

  .ab2-rul__tick--big .ab2-rul__tick-label {
    font-size: 11px;
  }

  .ab2-rul__caps {
    text-align: left;
  }

  .ab2-rul__year {
    font-size: 25vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab2-ch__bar {
    animation: none !important;
  }
}
