/* Hallmark · custom · Nightjar Coffee · record sleeve, dusk and lilac */
/* Critique: The listening-room sleeve and flight selector carry the identity. */
@font-face {
  font-family: "DMS";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DMSER";
  src: url("./fonts/dm-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #201c30;
  --ink: #f1ebdb;
  --line: #5d556d;
  --focus: #ffbda9;
  --cta: #d2c1e9;
  --cta-ink: #251d30;
  --display: "DMSER", Georgia, serif;
  --body: "DMS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 1.5rem;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: var(--heading-weight, 400);
  line-height: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  max-width: 65ch;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: -7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  width: min(91%, 81rem);
  margin-inline: auto;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
}
.site-head nav {
  display: flex;
  gap: clamp(0.7rem, 2.1vw, 2.4rem);
  align-items: center;
  flex-wrap: wrap;
}
.site-head nav a {
  text-decoration: none;
  font-size: 0.9rem;
}
.site-head nav a:hover {
  text-decoration: underline;
}
.wordmark {
  color: inherit;
  font-family: var(--display);
  text-decoration: none;
  line-height: 1;
}
.site-foot {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.site-foot p {
  font-size: 0.83rem;
}
.site-foot a {
  white-space: nowrap;
}
.jump,
.action {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid currentColor;
  color: var(--cta-ink);
  background: var(--cta);
  font-weight: 650;
}
.jump:hover,
.action:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section {
  padding-block: clamp(3.4rem, 7vw, 7.5rem);
}
.section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  margin-bottom: 1rem;
}
.section h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 1rem 0 1.2rem;
}
.choices button,
.stepper button {
  padding: 0.55rem 0.9rem;
  min-height: 2.75rem;
  border: 1px solid currentColor;
}
.choices button[aria-pressed="true"],
.stepper button:hover {
  background: var(--cta);
  color: var(--cta-ink);
}
form,
fieldset {
  min-width: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend,
label {
  font-weight: 650;
}
select {
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  border: 1px solid currentColor;
  background: var(--control, var(--paper));
  border-radius: 0;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.stepper button {
  min-width: 2.75rem;
  padding-inline: 0.5rem;
}
.stepper button:disabled {
  background: var(--paper);
  color: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}
.stepper output {
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: center;
}
.note {
  font-size: 0.82rem;
  line-height: 1.45;
}
.section p + p {
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .site-head {
    min-height: 4.25rem;
    gap: 0.8rem;
  }
  .site-head nav {
    gap: 0.8rem;
  }
  .site-head nav a {
    font-size: 0.825rem;
  }
  .site-foot .wrap {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --lavender: #d2c1e9;
  --sleeve: #b3a0cf;
  --muted: #d2c9d9;
  --dark: #201c30;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 1.65rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 4%;
  align-items: center;
  padding-block: clamp(2.3rem, 5vw, 5.8rem);
}
.hero h1 {
  font-size: clamp(5rem, 9.15vw, 9.5rem);
  line-height: 0.87;
  color: var(--lavender);
  letter-spacing: -0.06em;
}
.hero-copy > p {
  max-width: 33ch;
  margin-block: 1.65rem;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}
.jump {
  border-radius: 2rem;
  border-color: var(--lavender);
}
.sleeve {
  position: relative;
  padding: 0 6% 0 0;
}
.sleeve img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(22rem, 34vw, 36rem);
  object-fit: cover;
  border-radius: 50% 50% 3px 3px;
}

.sleeve figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.listening {
  background: var(--lavender);
  color: var(--dark);
}
.listening .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 9%;
}
.listening .wrap > div > p {
  max-width: 32ch;
}
.menu-card {
  border-block: 1px solid currentColor;
  padding-block: 1.3rem;
}
.menu-card ol {
  padding-left: 1.4rem;
}
.menu-card li {
  padding-block: 0.3rem;
}
.menu-card .choices button {
  border-radius: 2rem;
}
.menu-card .choices button[aria-pressed="true"] {
  background: var(--dark);
  color: var(--lavender);
}
.menu-card .price {
  font-size: 1.18rem;
  font-weight: 700;
}
.menu-card h3 {
  margin-bottom: 0.5rem;
}
.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8%;
  align-items: center;
}
.visit img {
  max-height: 28rem;
  height: 30vw;
  min-height: 17rem;
}
.visit p {
  max-width: 36ch;
}
.visit address {
  font-style: normal;
  margin-top: 1.1rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: clamp(4.1rem, 15vw, 7rem);
  }
  .hero h1 br {
    display: none;
  }
  .hero-copy {
    padding-block: 0.7rem 1.6rem;
  }
  .sleeve {
    max-width: 32rem;
    width: 96%;
  }
  .sleeve img {
    height: min(78vw, 26rem);
  }
  .listening .wrap,
  .visit {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .visit img {
    height: 56vw;
  }
}

button,
a {
  touch-action: manipulation;
}
button:enabled:active,
.jump:active {
  transform: translateY(1px);
}
.choices button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:where(img) {
  height: auto;
}

.chapter {
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
}
.chapter .chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.chapter-intro h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 1.15rem;
}
.chapter-intro > p {
  max-width: 39ch;
}
.chapter-tool {
  min-width: 0;
}
.chapter-tool h3 {
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  margin-bottom: 0.6rem;
}
.chapter-tool h4 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.chapter-tool .small {
  font-size: 0.88rem;
}
.chapter-tool button,
.chapter-tool input,
.chapter-tool select {
  max-width: 100%;
}
.chapter-tool .work-button {
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.chapter-tool .work-button:hover {
  text-decoration: underline;
}
.chapter-tool .work-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chapter-tool .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1rem;
}
.chapter-link {
  display: inline-block;
  font-size: 0.95rem;
  text-underline-offset: 0.3em;
  padding: 0.7rem 0.4rem;
  margin-left: 0.6rem;
}
.chapter-intro details {
  border-block-start: 1px solid currentColor;
  margin-top: 1.3rem;
  padding-block: 0.8rem;
}
.chapter-intro summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 2.3rem;
}
.chapter-intro details p {
  max-width: 40ch;
}
@media (max-width: 730px) {
  .chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .chapter-link {
    margin-left: 0.15rem;
  }
  .chapter-intro h2 {
    max-width: 16ch;
  }
}

.shelf-chapter {
  background: #302a42;
  color: #f4ebdc;
  border-top: 1px solid var(--line);
}
.record-rack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.8rem 0 1.35rem;
}
.sleeve-tile {
  display: grid;
  align-content: end;
  gap: 0.6rem;
  position: relative;
  aspect-ratio: 1;
  border: 2px solid transparent;
  padding: 0.65rem;
  text-align: left;
  background: #bda9d4;
  color: #211b28;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.4rem);
  line-height: 1;
}
.sleeve-tile[aria-pressed="true"] {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
}
.sleeve-tile.copper {
  background: #e7a274;
}
.sleeve-tile.window {
  background: #b4c9ad;
}

.liner {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.liner > p:first-child {
  color: var(--lavender);
  margin-bottom: 0.4rem;
}
.liner .work-button {
  border-radius: 2rem;
}
.liner .work-button:first-child {
  background: var(--lavender);
  color: var(--dark);
}
@media (max-width: 400px) {
  .sleeve-tile {
    padding: 0.45rem;
  }
  .record-rack {
    gap: 0.45rem;
  }
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 385px) {
  .site-head .wordmark {
    font-size: 1.17rem;
    gap: 0.38rem;
  }

  .site-head nav {
    gap: 0.6rem;
  }
}

/* Nightjar gatefold */

.gatefold-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: clamp(1rem, 2.5vw, 2.5rem) 0 2.5rem;
  align-items: stretch;
}
.lp-cover {
  background: #c8b6dc;
  color: #272035;
  padding: clamp(0.8rem, 1.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  border-right: 7px solid #483853;
}
.jacket-top,
.jacket-bottom {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.jacket-top {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.7vw, 3rem);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.lp-cover figure {
  min-height: 0;
  position: relative;
  flex: 1;
  background: #2f2539;
}
.lp-cover img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.lp-cover figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.4rem 0.65rem;
  background: #c8b6dc;
  color: #272035;
  font-size: 0.8rem;
}
.lp-cover figcaption span + span {
  display: none;
}
.jacket-bottom {
  margin-top: 0.45rem;
}
.lp-liner {
  background: #342c43;
  color: #f7efd9;
  padding: clamp(1.3rem, 3.4vw, 3.6rem);
  border: 1px solid #86758b;
}
.lp-liner h1 {
  font-size: clamp(3.8rem, 6.7vw, 7.3rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.lp-liner > p {
  margin: 1rem 0;
  max-width: 39ch;
}
.lp-tracks ol {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}
.lp-tracks li {
  border-top: 1px solid #8d8098;
}
.lp-tracks li:last-child {
  border-bottom: 1px solid #8d8098;
}
.lp-tracks li :is(button, .front-key) {
  width: 100%;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem;
  min-height: 2.8rem;
  text-align: left;
  border: 0;
  color: inherit;
}
.lp-tracks :is(button, .front-key):is([aria-pressed="true"], [data-default]) {
  background: #d5c5e4;
  color: #272035;
}
.lp-tracks time {
  font-variant-numeric: tabular-nums;
}
.transport-key {
  min-height: 2.8rem;
  border: 1px solid #d5c5e4;
  color: #f7efd9;
  padding: 0.4rem 0.9rem;
}
.liner-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.liner-links .jump,
.menu-card .choices button,
.liner .work-button {
  border-radius: 0;
}

@media (max-width: 700px) {
  .gatefold-wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0.7rem;
  }
  .lp-cover {
    border-right: none;
    border-bottom: 5px solid #483853;
  }
  .lp-cover figure {
    min-height: clamp(9rem, 36vw, 15rem);
  }
  .jacket-top {
    font-size: 1.45rem;
  }
  .jacket-bottom {
    font-size: 0.75rem;
  }
  .lp-liner {
    padding: 1.15rem;
  }
  .lp-liner h1 {
    font-size: clamp(3.4rem, 12vw, 5rem);
  }
  .lp-liner h1 br {
    display: none;
  }
  .lp-liner h1 br:after {
    content: " ";
  }
}

.jacket-bottom {
  align-items: center;
}

.programme-leaf {
  width: min(1200px, 92%);
  margin: 2rem auto 4rem;
}
.programme-heading {
  border-block: 2px solid #d0bedf;
  padding: 0.85rem 0 1.4rem;
}
.programme-heading p:first-child {
  font: 600 0.85rem var(--body);
  letter-spacing: 0.06em;
}
.programme-heading h1 {
  font: clamp(3.65rem, 8.3vw, 8.2rem)/0.9 var(--display);
  margin: 0.5rem 0 0.95rem;
}
.programme-heading p:last-child {
  max-width: 51em;
}
.programme-fold {
  display: grid;
  grid-template-columns: 0.66fr 1.3fr;
  gap: clamp(1rem, 4vw, 4rem);
  margin: 1.45rem 0;
}
.programme-fold aside {
  background: #bfacd5;
  color: #30243b;
  padding: clamp(0.8rem, 2vw, 2rem);
  align-self: start;
  border-right: 7px solid #806c92;
}

.programme-fold aside p {
  line-height: 1.4;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}
.programme-index article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  padding: 1rem 0;
  gap: 0.7rem;
  border-top: 1px solid #aa98b9;
}
.programme-index article > span {
  font: 700 1.1rem monospace;
}
.programme-index h2 {
  font-size: clamp(2.1rem, 3.7vw, 4rem);
}
.programme-index p {
  line-height: 1.45;
}
.programme-index .artist-line {
  font-weight: bold;
  color: #dac8eb;
  margin: 0.25rem 0 0.55rem;
}
.programme-index dl {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.86rem;
}
.programme-index dt {
  font-weight: bold;
}
.programme-foot,
.programme-fold a {
  font-weight: bold;
}
@media (max-width: 700px) {
  .programme-heading h1 {
    font-size: clamp(2.85rem, 12vw, 5rem);
  }
  .programme-fold {
    grid-template-columns: 1fr;
  }
  .programme-fold aside {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 0.45rem;
  }

  .programme-fold aside p {
    margin: 0;
  }
  .programme-index article {
    grid-template-columns: 1.6rem 1fr;
  }
  .programme-index dl {
    display: block;
  }
}

/* The printed panel is available before the interactive controls load. */
#front-panel [data-front-preview] .front-key {
  cursor: default;
}
#front-panel [data-front-preview] a.front-key {
  cursor: pointer;
}
:where(.front-key, .front-value) {
  display: inline-block;
  box-sizing: border-box;
  font: inherit;
  line-height: inherit;
  text-align: center;
}
#front-panel [data-front-preview] a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 740px) {
}

.jacket-bottom {
  display: block;
}
.programme-fold aside {
  display: block;
}
.sleeve-tile {
  display: block;
  text-align: left;
}
.record-rack .sleeve-tile span {
  display: block;
}
.record-rack .sleeve-tile b {
  margin: 0;
}
