/* ==========================================================================
   Диана Аванесян — ищу музыкантов в джаз-блюзовый бэнд
   Ар-деко, сдержанно: эспрессо-чёрный, состаренное золото, слоновая кость, бордо.
   Шрифты: Prata (дидона, заголовки) + Jost (геометрический гротеск в духе Futura 1927).
   ========================================================================== */

:root {
  --ink: #130E0B;          /* основной фон: очень тёмный коричневый */
  --ink-2: #1B1410;        /* приподнятые плоскости */
  --ink-3: #251C16;
  --gold: #B39260;         /* состаренное золото */
  --gold-hi: #DCC594;
  --gold-lo: #7D6440;
  --gold-ink: #87683A;     /* золото на светлом фоне */
  --line: rgba(179, 146, 96, .5);
  --line-soft: rgba(179, 146, 96, .22);
  --ivory: #F0E7D5;        /* слоновая кость */
  --ivory-2: #C9BEA9;
  --ivory-3: #9C907C;
  --paper: #EEE6D5;        /* светлый блок */
  --paper-ink: #1C1410;
  --paper-ink-2: #4B3F34;
  --wine: #7E1F2E;         /* бордовый */
  --wine-hi: #962A3B;

  --gold-grad: linear-gradient(105deg, #8C6F45 0%, #D9C08E 30%, #A9874F 55%, #E2CC9C 78%, #94744A 100%);

  --serif: "Prata", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --col-gap: clamp(16px, 2vw, 28px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--wine); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  --c: 10px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  padding: 1px;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1.2;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.btn > span {
  display: block;
  width: 100%;
  padding: 1.05em 1.9em;
  background: var(--wine);
  text-align: center;
  clip-path: polygon(calc(var(--c) - .4px) 0, calc(100% - var(--c) + .4px) 0, 100% calc(var(--c) - .4px), 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, calc(var(--c) - .4px) 100%, 0 calc(100% - var(--c) + .4px), 0 calc(var(--c) - .4px));
  transition: background-color .3s ease;
}
.btn:hover > span { background: var(--wine-hi); }
.btn:active > span { background: #6C1825; }

.btn--small { --c: 8px; font-size: .9rem; }
.btn--small > span { padding: .62em 1.15em; }

.btn--large { --c: 14px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.btn--large > span { padding: 1.25em 2.6em; }

.link {
  color: var(--ivory);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  transition: color .25s ease, border-color .25s ease;
}
.link:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease;
}
.site-header.is-scrolled {
  background: rgba(19, 14, 11, .88);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark { width: 52px; height: 33px; overflow: visible; flex: none; }
.brand__mark path { fill: none; stroke: var(--gold); stroke-width: 1.3; }
.brand__mark text { font-family: var(--serif); font-size: 18px; fill: var(--ivory); letter-spacing: .06em; }
.brand__name { font-size: .95rem; letter-spacing: .03em; color: var(--ivory-2); white-space: nowrap; }

.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.site-nav a {
  position: relative;
  padding-block: 6px;
  font-size: .95rem;
  color: var(--ivory-2);
  text-decoration: none;
  transition: color .25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ivory); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-content: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(40px, 7vh, 88px));
  padding-bottom: clamp(32px, 5vh, 56px);
}

.hero__title {
  grid-column: 1 / 10;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, .9rem + 5.3vw, 6rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--ivory);
}
.line {
  display: block;
  overflow: hidden;
  padding-block: .1em .12em;
  margin-block: -.1em -.12em;
}
.line > span { display: inline-block; }
.line--rule { display: flex; align-items: center; gap: .32em; }
.hero__rule {
  display: block;
  width: min(3.2em, 30vw);
  height: 1px;
  margin-top: .14em;
  background: linear-gradient(90deg, var(--gold), rgba(179, 146, 96, 0));
  transform-origin: left;
}

.hero__figure {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: min(100%, 420px);
  margin-top: 40px;
}

.hero__body {
  grid-column: 1 / 7;
  grid-row: 2;
  align-self: start;
  margin-top: clamp(28px, 4.5vh, 48px);
}
.hero__lede {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem);
  line-height: 1.42;
  color: var(--ivory);
}
.hero__text {
  max-width: 44ch;
  margin-top: 18px;
  color: var(--ivory-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  margin-top: 34px;
}

.hero__facts {
  grid-column: 1 / 13;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line-soft);
}
.hero__facts > div { padding: 22px 24px 0 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.hero__facts dt { margin-bottom: 4px; font-size: .85rem; color: var(--ivory-3); }
.hero__facts dd { font-size: 1.02rem; line-height: 1.45; color: var(--ivory); }

/* Portrait in a stepped deco arch */
.portrait__frame { position: relative; }
.portrait__photo {
  aspect-ratio: 460 / 600;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: 50% 50% 0 0 / 38.333% 38.333% 0 0;
}
.portrait__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 30%;
}
.portrait__lines {
  position: absolute;
  left: -15.217%;
  top: -11.667%;
  width: 130.435%;
  height: 118.333%;
  overflow: visible;
  pointer-events: none;
}
.portrait__lines path { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.portrait__lines .draw--2 { stroke-opacity: .55; }
.portrait__lines .draw--3 { stroke-opacity: .4; }
.portrait__lines .rays { stroke-opacity: .75; }

.portrait__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 13%;
  text-align: center;
}
.portrait__name { font-family: var(--serif); font-size: 1.2rem; }
.portrait__role { font-size: .9rem; color: var(--ivory-3); }

/* Page-load sequence (only when JS is on) */
html.js .line > span { transform: translateY(112%); transition: transform 1.2s var(--ease); }
html.js .line:nth-child(2) > span { transition-delay: .12s; }
html.js .line:nth-child(3) > span { transition-delay: .24s; }
html.js .hero__rule { transform: scaleX(0); transition: transform 1.4s var(--ease) 1s; }
html.js .portrait__photo img {
  opacity: 0;
  transform: scale(1.07);
  filter: brightness(.35);
  transition: opacity 1.4s ease .25s, transform 2.6s var(--ease) .25s, filter 2.2s ease .25s;
}
html.js .portrait__lines .draw,
html.js .portrait__lines .rays {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(.6, .05, .2, 1) .45s;
}
html.js .portrait__lines .draw--2 { transition-delay: .7s; }
html.js .portrait__lines .draw--3 { transition-delay: .95s; transition-duration: 1.8s; }
html.js .portrait__lines .rays { transition-delay: 1.5s; transition-duration: 1.6s; transition-timing-function: linear; }
html.js .hero__body,
html.js .hero__facts,
html.js .portrait__caption {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease .8s, transform 1.2s var(--ease) .8s;
}
html.js .hero__facts { transition-delay: 1.1s; }
html.js .portrait__caption { transition-delay: 1.6s; }

html.is-loaded .line > span,
html.is-loaded .hero__rule,
html.is-loaded .portrait__photo img,
html.is-loaded .hero__body,
html.is-loaded .hero__facts,
html.is-loaded .portrait__caption {
  opacity: 1;
  transform: none;
  filter: none;
}
html.is-loaded .portrait__lines .draw,
html.is-loaded .portrait__lines .rays { stroke-dashoffset: 0; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(80px, 9vw, 136px);
}
.music { padding-top: clamp(64px, 7vw, 112px); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.01em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem);
  line-height: 1.2;
}
.h-small {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--gold);
}

.section-head {
  display: grid;
  gap: 20px;
  max-width: 780px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head__text {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  color: var(--ivory-2);
}

/* ---------- Music ---------- */
.era {
  display: inline-grid;
  margin-bottom: clamp(48px, 7vw, 104px);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
}
.era__pre,
.era__post {
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.6rem);
  color: var(--ivory);
}
.era__pre { margin-bottom: .1em; padding-left: .06em; }
.era__post { justify-self: end; margin-top: .05em; }
.era__years {
  font-size: clamp(3.3rem, .8rem + 11.2vw, 12.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  white-space: nowrap;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.music__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 88px) var(--col-gap);
}
.statement {
  grid-column: 1 / 9;
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.35rem);
  line-height: 1.34;
  color: var(--ivory);
}
.repertoire { grid-column: 1 / 8; }
.repertoire__list li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.repertoire__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.repertoire__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.repertoire__text {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1rem + .45vw, 1.42rem);
  line-height: 1.35;
}
.repertoire__list .is-future .repertoire__text { color: var(--ivory-2); }
.repertoire__list .is-future::before { background: transparent; border: 1px solid var(--gold); }
.repertoire__list em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px 2px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .78rem;
  font-style: normal;
  color: var(--gold-hi);
  white-space: nowrap;
  vertical-align: .2em;
}

.clip {
  display: grid;
  justify-items: start;
  gap: 6px;
  width: 128px;
  text-decoration: none;
}
.clip__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.clip__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(.35) brightness(.72) contrast(1.08);
  transition: filter .5s ease, transform .8s var(--ease);
}
.clip__thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid var(--gold-hi);
  border-radius: 50%;
  background: rgba(19, 14, 11, .55);
  transition: background-color .3s ease;
}
.clip__thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 9px;
  height: 11px;
  margin: -5.5px 0 0 -3px;
  background: var(--gold-hi);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.clip:hover .clip__thumb img,
.clip:focus-visible .clip__thumb img { filter: grayscale(.25) sepia(.2) brightness(.92) contrast(1.02); transform: scale(1.05); }
.clip:hover .clip__thumb::before { background: var(--wine); }
.clip__title {
  font-size: .78rem;
  line-height: 1.3;
  color: var(--ivory-2);
  transition: color .3s ease;
}
.clip:hover .clip__title { color: var(--gold-hi); }


.reference {
  grid-column: 9 / 13;
  grid-row: 2;
  align-self: start;
  padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.reference__label { font-size: .95rem; color: var(--ivory-3); }
.reference__name {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem);
  line-height: 1.08;
  color: var(--gold-hi);
}
.reference__note { color: var(--ivory-2); }

/* ---------- Lineup: the stage ---------- */
.lineup {
  background: linear-gradient(180deg, var(--ink) 0%, #17110D 45%, var(--ink) 100%);
}

.stage { margin: 0; }
.stage__scene { position: relative; }
.stage__svg { display: block; width: 100%; height: auto; }

.stage__svg .scene { pointer-events: none; }
.act { cursor: pointer; outline: none; }
.act .hit { fill: transparent; }
.act .lit,
.act .glow,
.act .beam { pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.act .lit { filter: brightness(1.9) contrast(1.04) saturate(1.1); }
.act .glow,
.act .beam { mix-blend-mode: screen; }
.act.is-on .lit,
.act.is-on .glow,
.act.is-on .beam,
.act:focus-visible .lit { opacity: 1; }
.act:focus-visible .hit { stroke: var(--gold-hi); stroke-width: 2; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.star image { filter: drop-shadow(0 0 28px rgba(244, 217, 174, .14)); pointer-events: none; }

.stage__label {
  position: absolute;
  left: var(--x);
  bottom: 1.6%;
  transform: translateX(-50%);
  font-size: clamp(.68rem, .5rem + .55vw, .95rem);
  letter-spacing: .04em;
  color: var(--ivory-2);
  white-space: nowrap;
  pointer-events: none;
  transition: color .4s ease;
}
.stage__label--or { font-family: var(--serif); color: var(--gold); }
.stage__label.is-on { color: var(--gold-hi); }

.stage__credit { margin-top: 10px; font-size: .78rem; color: var(--ivory-3); text-align: right; }

.frame {
  --c: 18px;
  position: relative;
  isolation: isolate;
  padding: 1px;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(220, 197, 148, .75), rgba(125, 100, 64, .3) 42%, rgba(179, 146, 96, .6));
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.frame__in {
  height: 100%;
  background: var(--ink-2);
  clip-path: polygon(calc(var(--c) - .5px) 0, calc(100% - var(--c) + .5px) 0, 100% calc(var(--c) - .5px), 100% calc(100% - var(--c) + .5px), calc(100% - var(--c) + .5px) 100%, calc(var(--c) - .5px) 100%, 0 calc(100% - var(--c) + .5px), 0 calc(var(--c) - .5px));
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 56px);
}
.role__in { padding: clamp(24px, 3vw, 40px); }
.role::before { transition: opacity .5s ease; }
.role.is-on::before { background: linear-gradient(160deg, var(--gold-hi), var(--gold) 50%, var(--gold-hi)); }
.role__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1.1;
}
.role__text { max-width: 40ch; margin-top: 12px; color: var(--ivory-2); }

.lineup__note {
  max-width: 46ch;
  margin-top: clamp(48px, 6vw, 80px);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem);
  line-height: 1.42;
  color: var(--ivory);
}

/* ---------- Terms (light block) ---------- */
.terms {
  background: var(--paper);
  color: var(--paper-ink);
}
.terms ::selection { background: var(--wine); color: var(--ivory); }
.terms .h2, .terms .h3 { color: var(--paper-ink); }

.terms__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: start;
}

.expect .h3 { margin-bottom: 22px; }
.expect__list li {
  position: relative;
  padding: 16px 0 16px 32px;
  border-top: 1px solid rgba(135, 104, 58, .35);
  color: var(--paper-ink);
  line-height: 1.5;
}
.expect__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(16px + .55em);
  width: 7px;
  height: 7px;
  background: var(--gold-ink);
  transform: rotate(45deg);
}
.expect__list .is-optional { color: var(--paper-ink-2); }
.expect__list .is-optional::before { background: transparent; border: 1px solid var(--gold-ink); }
.expect__note {
  padding-top: 20px;
  border-top: 1px solid rgba(135, 104, 58, .35);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--paper-ink);
}

.schedule { --c: 22px; }
.schedule::before { background: linear-gradient(160deg, #C9AE78, #87683A 50%, #B39260); }
.schedule__in { padding: clamp(28px, 3.4vw, 48px); color: var(--ivory); }
.schedule .h3 { color: var(--ivory); margin-bottom: 18px; }
.schedule__list > div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 4px 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}
.schedule__list dt { font-size: .92rem; color: var(--gold); padding-top: .15em; }
.schedule__list dd { line-height: 1.5; color: var(--ivory); }
.schedule__big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.15;
  color: var(--gold-hi);
}
.schedule__note {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: .98rem;
  color: var(--ivory-2);
}

.commitment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px clamp(48px, 6vw, 104px);
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 32px;
  border-top: 2px solid var(--wine);
}
.commitment__lead {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem);
  line-height: 1.38;
}
.commitment__text {
  max-width: 40ch;
  font-weight: 500;
  color: var(--wine);
}

/* ---------- Future ---------- */
.future__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.future__head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.future__lead {
  max-width: 24ch;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem);
  line-height: 1.38;
}
.benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.benefit__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 2rem + 3vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.benefit__text { max-width: 30ch; font-size: 1rem; color: var(--ivory-2); }

.road { position: relative; --p: 0; }
.road::before,
.road::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--line-soft);
}
.road::after {
  background: var(--gold);
  transform: scaleY(var(--p));
  transform-origin: top;
}
.road__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  padding-bottom: clamp(52px, 6vw, 84px);
}
.road__step:last-child { padding-bottom: 0; }
.road__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.road__num::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--gold);
  background: var(--ink);
  transform: rotate(45deg);
  transition: background-color .6s ease;
}
.road__num span {
  position: relative;
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1;
  color: var(--gold-hi);
  transition: color .6s ease;
}
.road__step.is-lit .road__num::before { background: var(--gold); }
.road__step.is-lit .road__num span { color: var(--ink); }
.road__title {
  margin-bottom: 10px;
  padding-top: 2px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1.1;
}
.road__body p { max-width: 40ch; color: var(--ivory-2); }
.road__venues li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ivory);
}
.road__venues li:first-child { border-top: 1px solid var(--line-soft); }

/* ---------- Contact ---------- */
.contact {
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 128px);
  text-align: center;
  background: radial-gradient(60% 50% at 50% 30%, rgba(126, 31, 46, .16), rgba(126, 31, 46, 0) 70%), var(--ink);
}

/* Faded portraits of early jazz and blues artists behind the call to action */
.legends {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  pointer-events: none;
}
.legends::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(40% 52% at 50% 44%, rgba(19, 14, 11, .9), rgba(19, 14, 11, .62) 62%, rgba(19, 14, 11, .3) 100%),
    linear-gradient(to bottom, var(--ink) 0%, rgba(19, 14, 11, 0) 7%);
}
.legend {
  position: relative;
  margin: 0;
}
.legend + .legend { border-left: 1px solid var(--line-soft); }
.legend img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--pos, 50% 20%);
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.legend figcaption {
  position: absolute;
  left: 16px;
  bottom: 26px;
  z-index: 2;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ivory-3);
  white-space: nowrap;
}
.legend:nth-child(n+3) figcaption { left: auto; right: 16px; }
.contact__credit { margin-top: 18px; font-size: .74rem; color: var(--ivory-3); opacity: .8; }
.contact__fan {
  display: block;
  width: min(640px, 100%);
  margin: 0 auto;
  overflow: visible;
}
.contact__fan path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: .5; }
.contact__fan path + path { stroke-opacity: .8; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__title {
  max-width: 14ch;
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.1rem + 4.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.contact__text {
  max-width: 48ch;
  margin: 28px auto 44px;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  color: var(--ivory-2);
}
.contact__hint {
  max-width: 44ch;
  margin-top: 24px;
  font-size: .95rem;
  color: var(--ivory-3);
}
.contact__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: clamp(64px, 8vw, 96px);
  font-size: .95rem;
  color: var(--ivory-3);
}
.contact__name { font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  font-size: .9rem;
  color: var(--ivory-3);
}
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.contact__listen { margin-top: 28px; }
.site-footer a { color: var(--ivory-2); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold-hi); }

/* ---------- Sticky CTA (phones) ---------- */
.sticky-cta { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__title { grid-column: 1 / 11; }
  .hero__body { grid-column: 1 / 8; }
  .hero__figure { grid-column: 8 / 13; width: min(100%, 360px); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-nav { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: calc(var(--header-h) + 40px);
  }
  .hero__title { grid-column: 1; grid-row: 1; }
  .hero__figure {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(72%, 340px);
    margin-top: clamp(72px, 18vw, 110px);
  }
  .hero__body { grid-column: 1; grid-row: 3; margin-top: 36px; }
  .hero__facts { grid-column: 1; grid-row: 4; grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 56px; }
  .hero__facts > div,
  .hero__facts > div + div {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .hero__facts > div:last-child { border-bottom: 1px solid var(--line-soft); }
  .hero__facts dt { margin: 0; padding-top: .1em; }

  .music__grid { grid-template-columns: minmax(0, 1fr); }
  .statement, .repertoire, .reference { grid-column: 1; grid-row: auto; }

  .roles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stage { margin-inline: calc(-1 * var(--gutter)); }
  .stage__credit { padding-inline: var(--gutter); }

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

  .future__grid { grid-template-columns: minmax(0, 1fr); }
  .future__head { position: static; }

  .legends { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .legend:nth-child(3) { border-left: 0; }
  .legend:nth-child(n+3) img {
    opacity: .42;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 50%, transparent 100%);
  }
  .legend figcaption { display: none; }

  .sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: block;
    padding: 18px var(--gutter) calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(19, 14, 11, .97) 62%, rgba(19, 14, 11, 0));
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { display: flex; width: 100%; }
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .repertoire__list li { grid-template-columns: 7px minmax(0, 1fr); }
  .clip {
    grid-column: 2;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: auto;
    margin-top: 14px;
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .btn > span { width: 100%; }
  .hero__actions .link { margin-inline: auto; }
  .schedule__list > div { grid-template-columns: minmax(0, 1fr); }
  .site-footer__inner { flex-direction: column; }
  .btn--large { display: flex; width: 100%; }
}

@media (max-width: 350px) {
  .brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .line > span,
  html.js .hero__rule,
  html.js .portrait__photo img,
  html.js .hero__body,
  html.js .hero__facts,
  html.js .portrait__caption {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  html.js .portrait__lines .draw,
  html.js .portrait__lines .rays { stroke-dashoffset: 0; transition: none; }
  .act .lit, .act .glow, .act .beam { transition: none; }
  .road::after { transform: none; }
}
