:root {
  --ink: #07130d;
  --forest: #102c1e;
  --moss: #78966f;
  --sage: #c4d1b5;
  --paper: #e9eadf;
  --violet: #a77ddb;
  --line: rgba(233, 234, 223, 0.24);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  background: rgba(7, 19, 13, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 2.5rem;
}

.site-nav a,
footer a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 94svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 8rem var(--gutter) clamp(5rem, 9vh, 7rem);
  isolation: isolate;
}

.hero-image,
.hero-shade,
.grain {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: url("assets/hero.jpg") center 36% / cover no-repeat;
  filter: saturate(0.85) contrast(1.08);
  scale: 1.035;
  transform: translate3d(0, var(--hero-shift, 0), 0);
  will-change: transform;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 10, 6, 0.82) 0%, rgba(2, 10, 6, 0.38) 49%, rgba(2, 10, 6, 0.14) 75%),
    linear-gradient(0deg, rgba(2, 10, 6, 0.88) 0%, transparent 50%);
}

.grain {
  z-index: -1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  width: min(100%, 68rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker,
.hero h1 span,
.hero-line,
.hero .primary-link {
  opacity: 0;
  animation: enter 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.2rem, 14vw, 11rem);
  font-weight: 400;
  line-height: 0.69;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  margin-left: clamp(1.2rem, 6vw, 7.5rem);
  color: var(--sage);
  font-style: italic;
  animation-delay: 140ms;
}

.hero-kicker {
  animation-delay: 40ms;
}

.hero-line {
  margin: clamp(1.6rem, 4vh, 3rem) 0 1.75rem;
  color: rgba(233, 234, 223, 0.8);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  animation-delay: 250ms;
}

.primary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link {
  color: var(--violet);
  animation-delay: 350ms;
}

.primary-link span,
.text-link span {
  transition: transform 180ms ease;
}

.primary-link:hover span,
.text-link:hover span {
  transform: translate(0.18rem, -0.18rem);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 3rem;
  background: var(--paper);
  animation: pulse 1.8s ease-in-out infinite;
  transform-origin: top;
}

.section {
  position: relative;
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
}

.section-label {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid rgba(7, 19, 13, 0.3);
  padding-top: 1rem;
  color: var(--forest);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label p {
  margin: 0;
}

.section-label.light {
  border-color: var(--line);
  color: var(--sage);
}

.manifest {
  display: grid;
  min-height: 85svh;
  grid-template-columns: minmax(9rem, 1fr) minmax(18rem, 3fr) auto;
  gap: clamp(2rem, 7vw, 8rem);
  background: var(--sage);
  color: var(--ink);
}

.manifest-copy h2,
.music h2,
.contact h2 {
  margin: 0 0 2.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.manifest-copy h2 em,
.music h2 em,
.contact h2 em {
  color: var(--violet);
  font-weight: 400;
}

.manifest-copy > p {
  max-width: 38rem;
  margin: 0 0 0 auto;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.vertical-note {
  margin: 0;
  align-self: center;
  color: rgba(7, 19, 13, 0.55);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.music {
  min-height: 92svh;
  overflow: hidden;
  background: #0b2116;
}

.music-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 33, 22, 0.98), rgba(11, 33, 22, 0.66)),
    url("assets/hero.jpg") center / cover no-repeat;
  filter: saturate(0.5);
  opacity: 0.55;
}

.music .section-label,
.music-content {
  position: relative;
}

.music-content {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 0.85fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
  padding-top: clamp(4rem, 9vw, 8rem);
}

.music h2 {
  margin-bottom: 0;
}

.player-wrap {
  border-top: 1px solid var(--violet);
  padding-top: 1.5rem;
}

.player-wrap iframe {
  display: block;
  border: 0;
  border-radius: 0.35rem;
}

.contact {
  min-height: 88svh;
  background: var(--paper);
  color: var(--ink);
}

.contact-content {
  max-width: 67rem;
  margin: clamp(5rem, 10vw, 9rem) auto 0;
}

.contact .eyebrow {
  color: #59704f;
}

.placeholder-note {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(7, 19, 13, 0.68);
}

.text-link {
  color: #67408f;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

footer p {
  margin: 0;
  color: rgba(233, 234, 223, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes enter {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.65); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.75rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 2;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  }

  .menu-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .menu-lines {
    display: grid;
    gap: 0.32rem;
    width: 1.25rem;
  }

  .menu-lines i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
    transform: translateY(0.18rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
    transform: translateY(-0.18rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    background: rgba(7, 19, 13, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 15vw, 5rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 4.5rem;
  }

  .hero-image {
    background-position: 58% 38%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 10, 6, 0.68), rgba(2, 10, 6, 0.08)),
      linear-gradient(0deg, rgba(2, 10, 6, 0.94) 0%, rgba(2, 10, 6, 0.16) 68%);
  }

  .hero h1 {
    font-size: clamp(5.1rem, 28vw, 8rem);
    line-height: 0.72;
  }

  .hero h1 span:last-child {
    margin-left: 0.55rem;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .manifest {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .manifest-copy > p {
    margin-left: 0;
  }

  .vertical-note {
    display: none;
  }

  .music-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 5rem;
  }

  .contact {
    min-height: auto;
  }

  .contact-content {
    margin-top: 5rem;
  }

  footer {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

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

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

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