:root {
  --ink: #171515;
  --paper: #f1eadc;
  --paper-deep: #ded0ba;
  --chalk: #fff8ec;
  --blue: #2769a8;
  --teal: #167064;
  --rose: #bc6373;
  --gold: #b98b3b;
  --line: rgba(23, 21, 21, 0.18);
  --shadow: 0 24px 80px rgba(20, 15, 10, 0.26);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--chalk);
  transition: background 220ms ease, color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  color: var(--ink);
  background: rgba(241, 234, 220, 0.88);
  border-bottom: 1px solid rgba(23, 21, 21, 0.1);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark__sign {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 19px;
}

.brand-mark__text {
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 13px;
  font-weight: 700;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid currentColor;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--chalk);
}

.site-header.is-scrolled .nav-cta:hover {
  color: var(--chalk);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 88px) clamp(46px, 8vw, 88px);
  color: var(--chalk);
  isolation: isolate;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-image: url("/assets/juan-gris-violin.jpg");
  background-position: 66% 52%;
  background-size: cover;
  transform: scale(1.04);
  will-change: transform;
}

.hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 12, 12, 0.88), rgba(13, 12, 12, 0.66) 38%, rgba(13, 12, 12, 0.14) 78%),
    linear-gradient(0deg, rgba(13, 12, 12, 0.7), transparent 38%);
}

.hero__content {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rose);
}

.hero .eyebrow {
  color: #f5b7b5;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  max-width: 680px;
  font-size: clamp(62px, 12vw, 154px);
}

h2 {
  font-size: clamp(40px, 7vw, 92px);
}

.hero__copy {
  max-width: 540px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 248, 236, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid currentColor;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ink);
  background: var(--chalk);
  border-color: var(--chalk);
}

.button--ghost {
  color: var(--chalk);
}

.hero__credit {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 22px;
  color: rgba(255, 248, 236, 0.66);
  font-size: 12px;
}

.section-band {
  padding: clamp(62px, 11vw, 132px) clamp(20px, 6vw, 88px);
}

.programme {
  background:
    linear-gradient(135deg, rgba(39, 105, 168, 0.08), transparent 40%),
    linear-gradient(225deg, rgba(22, 112, 100, 0.1), transparent 42%),
    var(--paper);
}

.programme__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 8vw, 104px);
  align-items: start;
}

.programme__intro p,
.journal__copy p,
.closing__inner p {
  max-width: 590px;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.8vw, 21px);
}

.work-list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.work-list__item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.work-list__item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.work-list__item strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.work-list__item p {
  margin: 10px 0 0;
}

.journal {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  padding: clamp(64px, 10vw, 132px) clamp(20px, 6vw, 88px);
  background: #171515;
  color: var(--chalk);
}

.journal__media {
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.journal__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 54% 48%;
  transform: scale(1.06);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journal__media.is-visible img {
  transform: scale(1);
}

.text-link {
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  color: var(--chalk);
  font-weight: 900;
}

.closing {
  padding: clamp(68px, 12vw, 150px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(188, 99, 115, 0.12), transparent 45%),
    linear-gradient(0deg, rgba(185, 139, 59, 0.14), transparent 60%),
    var(--paper-deep);
}

.closing__inner {
  max-width: 920px;
}

.closing .button {
  margin-top: 34px;
  color: var(--chalk);
  background: var(--ink);
  border-color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(23, 21, 21, 0.68);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.login-page {
  min-height: 100svh;
  background: #171515;
}

.entry-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(0, 1fr);
  color: var(--chalk);
}

.entry-panel {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 92px);
  background:
    linear-gradient(135deg, rgba(39, 105, 168, 0.16), transparent 42%),
    linear-gradient(0deg, rgba(185, 139, 59, 0.12), transparent 55%),
    #171515;
}

.entry-panel__brand {
  position: absolute;
  top: 26px;
  left: clamp(34px, 7vw, 92px);
}

.entry-panel h1 {
  max-width: 620px;
  font-size: clamp(58px, 9vw, 116px);
}

.entry-panel__copy {
  max-width: 470px;
  margin: 22px 0 34px;
  color: rgba(255, 248, 236, 0.74);
  font-size: 18px;
}

.entry-form {
  display: grid;
  width: min(100%, 470px);
  gap: 12px;
}

.entry-form label {
  margin-top: 4px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.entry-form input,
.entry-form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 248, 236, 0.28);
  border-radius: 0;
  color: var(--chalk);
  background: rgba(255, 248, 236, 0.06);
  font: inherit;
  outline: none;
}

.entry-form select {
  color-scheme: dark;
}

.entry-form input:focus,
.entry-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 139, 59, 0.2);
}

.entry-form .button {
  margin-top: 14px;
}

.entry-form .button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.entry-status {
  width: min(100%, 470px);
  min-height: 54px;
  margin-top: 22px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255, 248, 236, 0.18);
  color: rgba(255, 248, 236, 0.64);
  font-size: 14px;
}

.entry-status.is-pending {
  color: #f1d59d;
}

.entry-status.is-error {
  color: #f5b7b5;
}

.entry-art {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.entry-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #171515, rgba(23, 21, 21, 0.3) 35%, rgba(23, 21, 21, 0.04)),
    linear-gradient(0deg, rgba(23, 21, 21, 0.55), transparent 45%);
}

.entry-art img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: 64% 50%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 18px;
  }

  .brand-mark__text {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 116px 18px 42px;
  }

  .hero__image {
    background-position: 61% 52%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(13, 12, 12, 0.88), rgba(13, 12, 12, 0.58) 68%, rgba(13, 12, 12, 0.3)),
      linear-gradient(0deg, rgba(13, 12, 12, 0.76), transparent 44%);
  }

  .hero__credit {
    display: none;
  }

  .programme__layout,
  .journal {
    grid-template-columns: 1fr;
  }

  .journal__media,
  .journal__media img {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
  }

  .entry-shell {
    grid-template-columns: 1fr;
  }

  .entry-panel {
    min-height: auto;
    padding: 104px 22px 42px;
  }

  .entry-panel__brand {
    left: 22px;
  }

  .entry-art {
    min-height: 310px;
  }

  .entry-art img {
    min-height: 310px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .work-list__item {
    grid-template-columns: 44px 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
