:root {
  --bg: #080808;
  --ink: #f6f3ec;
  --muted: #b7b1a6;
  --dim: #8f897f;
  --line: rgba(246, 243, 236, 0.16);
  --serif: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif;
  --sans: Outfit, "Avenir Next", "Gill Sans", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.045;
  background-image: url("assets/noise.svg");
  background-size: 220px;
  mix-blend-mode: overlay;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3,
.program-title,
.audience-name,
.about-name,
.detail-title,
.pull p {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1,
h2,
.detail-title,
.pull p {
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.8rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.wrap {
  width: min(1180px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.kicker-name {
  text-transform: none;
  letter-spacing: 0.04em;
}

.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav-bar.is-scrolled {
  background: #080808;
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  gap: 1.5rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-menu a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.nav-cta:hover,
.text-link:hover,
.submit:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  position: relative;
}

.nav-toggle-box,
.nav-toggle-box::before,
.nav-toggle-box::after {
  display: block;
  height: 1px;
  background: var(--ink);
  width: 1.3rem;
}

.nav-toggle-box {
  position: relative;
  margin-inline: auto;
}

.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-box::before {
  top: -6px;
}

.nav-toggle-box::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: 7.5rem 0 2rem;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 0.9;
}

h1 em {
  font-style: italic;
  font-weight: 500;
}

.deck,
.section-intro,
.detail-text,
.about-copy p,
.thanks p,
.abda figcaption,
.footer-by,
.footer-end p {
  color: var(--muted);
}

.deck {
  max-width: 38ch;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.text-link,
.submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-actions .text-link::after {
  content: "→";
}

.seal img {
  width: min(420px, 100%);
  margin-inline: auto;
  height: auto;
}

.upcoming {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.upcoming-label {
  margin: 0;
  margin-right: auto;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.upcoming-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-align: left;
}

.upcoming-item span {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.upcoming-item small {
  color: var(--dim);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.upcoming-item:hover span {
  font-style: italic;
}

.band {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  scroll-margin-top: 5rem;
}

.split,
.about-grid,
.brief-grid,
.section-head {
  display: grid;
  gap: 1rem 4rem;
}

.section-head .kicker,
.split .kicker,
.about-grid .kicker,
.brief-grid .kicker {
  margin-bottom: 0.35rem;
}

.split,
.about-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  align-items: center;
}

h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 0.95;
}

.abda {
  margin: 0;
}

.abda img {
  width: min(520px, 100%);
  height: auto;
}

.abda figcaption {
  max-width: 36ch;
  margin-top: 1.4rem;
  font-size: 0.98rem;
}

.section-intro {
  max-width: 42ch;
}

.audience-list,
.program-list {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.audience,
.program {
  width: 100%;
  display: grid;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.35rem 0.25rem;
  border-top: 1px solid var(--line);
  text-align: left;
  color: inherit;
}

.audience {
  grid-template-columns: 3rem minmax(9rem, 14rem) minmax(0, 1fr) auto;
}

.program {
  grid-template-columns: 3rem minmax(0, 1.4fr) minmax(9rem, 0.8fr) auto;
}

.idx {
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.audience-name,
.program-title {
  display: block;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1;
}

.audience-line,
.program-mood,
.program-meta,
.steps p {
  color: var(--muted);
}

.program-mood,
.audience-line {
  display: block;
  margin-top: 0.4rem;
}

.program-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  color: var(--ink);
}

.arrow {
  color: var(--dim);
  transition: transform 0.2s ease;
}

.audience:hover .arrow,
.program:hover .arrow,
.audience:hover .audience-name,
.program:hover .program-title {
  color: var(--ink);
}

.audience:hover .arrow,
.program:hover .arrow {
  transform: translateX(4px);
}

.audience:hover,
.program:hover,
.filter.is-on,
.filter:hover {
  background: rgba(246, 243, 236, 0.035);
}

.pull {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
}

.pull p {
  font-style: italic;
  font-size: clamp(1.55rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  max-width: none;
}

.pull p span {
  display: block;
  white-space: nowrap;
}

/* Second line is tuned to stay one line through 390px.
   Only allow it to wrap once the viewport is narrower than that fit. */
@media (max-width: 336px) {
  .pull p {
    font-size: 1.28rem;
  }

  .pull p span:last-child {
    white-space: normal;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.filter {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter.is-on {
  color: var(--ink);
  border-color: var(--line);
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.steps li {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.steps h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin: 0.8rem 0 0.7rem;
  line-height: 1.05;
}

.about-name {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.brief-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr);
  align-items: start;
}

.brief-contact {
  margin: 2.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  font-style: normal;
}

.brief-contact a {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.brief-contact a:hover {
  color: var(--ink);
}

.brief-contact-name {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brief-panel {
  min-width: 0;
}

.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.5rem;
}

.brief-form label,
.brief-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.brief-form span,
.brief-form legend {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  font-size: max(16px, 1em);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0;
  outline: none;
}

.brief-form select {
  text-overflow: ellipsis;
}

.brief-form label span,
.brief-form legend {
  overflow-wrap: anywhere;
}

.brief-form textarea {
  resize: vertical;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-bottom-color: var(--ink);
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: var(--dim);
}

.full {
  grid-column: 1 / -1;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice label {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: max(16px, 0.92rem);
  color: var(--ink);
}

.choice label:has(input:checked) span,
.choice label:hover span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.form-row {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.4rem;
}

.submit {
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  cursor: pointer;
}

.thanks h3 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.thanks .text-link {
  margin-top: 1.5rem;
  background: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-size: 1rem;
}

.footer-by,
.footer-end p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.footer-links button,
.footer-end a {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links button:hover,
.footer-end a:hover {
  color: var(--ink);
}

.footer-end {
  text-align: right;
}

.concept-source {
  display: none;
}

dialog {
  width: 100%;
  height: 100dvh;
  max-width: 100%;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding: 1.5rem 0 2rem;
}

.dialog-top,
.dialog-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dialog-body {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 2rem 0;
}

.dialog-body .concept-source {
  display: block;
}

.detail-title {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.detail-mood {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--ink);
}

.detail-text {
  max-width: 46ch;
  margin-top: 1.2rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0;
}

.specs div {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.specs dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.specs dd {
  margin: 0.4rem 0 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .about-grid,
  .brief-grid,
  .steps,
  .footer-grid,
  .specs {
    grid-template-columns: 1fr;
  }

  .seal {
    order: -1;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .seal img {
    width: min(260px, 68vw);
  }

  .upcoming {
    align-items: center;
    gap: 0.65rem 1.15rem;
  }

  .upcoming-label {
    flex: 1 1 100%;
    margin-right: 0;
  }

  .audience,
  .program {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .program-meta,
  .arrow,
  .audience .arrow {
    grid-column: 2;
  }

  .audience .arrow,
  .program .arrow {
    display: none;
  }

  .footer-end {
    text-align: left;
  }

  .brief-form {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  h1,
  .deck {
    min-width: 0;
    max-width: 100%;
  }

  .deck {
    max-width: min(38ch, 100%);
  }

  h1 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 1120px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 0.2rem;
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.55rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .nav-menu {
    flex: 1 1 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem 1.1rem;
    width: 100%;
  }

  .nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
  }

  .nav-cta {
    min-height: 44px;
  }
}

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

  .nav-menu,
  .arrow,
  .nav-bar {
    transition: none;
  }
}
