:root {
  --ink: oklch(12% 0.008 285);
  --ink-raised: oklch(16% 0.01 285);
  --metal-dark: oklch(31% 0.012 275);
  --metal: oklch(73% 0.018 275);
  --paper: oklch(94% 0.008 92);
  --muted: oklch(72% 0.013 285);
  --rule: oklch(31% 0.012 285);
  --focus: oklch(82% 0.07 92);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: clamp(6rem, 12vw, 12rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

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

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

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, 90rem);
  margin: 0 auto;
}

.site-header {
  min-height: 5.25rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark,
.header-link,
.eyebrow,
.section-number,
.stage-index,
.release-code,
footer {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark {
  color: var(--metal);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.header-link,
.text-link,
.contact-details a,
footer a {
  text-underline-offset: 0.28em;
  text-decoration-color: var(--metal-dark);
  transition: color 160ms ease-out, text-decoration-color 160ms ease-out;
}

.header-link:hover,
.text-link:hover,
.contact-details a:hover,
footer a:hover {
  color: var(--metal);
  text-decoration-color: currentColor;
}

.hero {
  display: grid;
  gap: var(--space-xl);
  min-height: calc(100svh - 5.25rem);
  padding: clamp(4rem, 10vw, 9rem) max(1.25rem, calc((100vw - 90rem) / 2)) var(--space-xl);
}

.hero-copy { align-self: center; }

.eyebrow,
.section-number,
.stage-index,
.release-code {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

h1, h2, p { margin-top: 0; }

h1, h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  line-height: 0.9;
  text-wrap: balance;
}

h1 {
  max-width: 8ch;
  margin: var(--space-sm) 0 var(--space-md);
  color: var(--paper);
  font-size: clamp(5.5rem, 17vw, 15rem);
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 26ch;
  margin-bottom: var(--space-lg);
  color: var(--metal);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.45;
}

.listen-button {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--metal);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.listen-button:hover { background: var(--metal); transform: translateY(-2px); }
.play-icon { font-size: 0.75rem; }

.mark-stage {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.mark-glow {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  top: -24%;
  right: -22%;
  background: radial-gradient(circle, oklch(55% 0.018 275 / 38%), transparent 63%);
  filter: blur(12px);
}

.mark-window {
  position: absolute;
  inset: 1rem 0 2.75rem;
  background-image: url("assets/meyan-logo-contact.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 425% auto;
  mix-blend-mode: screen;
}

.stage-index {
  position: absolute;
  right: 0;
  bottom: 0.8rem;
}

.about,
.contact {
  display: grid;
  gap: var(--space-md);
  padding: 6rem 1.25rem;
  padding: var(--space-2xl) max(1.25rem, calc((100vw - 90rem) / 2));
  border-bottom: 1px solid var(--rule);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -0.035em;
}

.about-copy {
  max-width: 51ch;
  margin: 0;
  color: var(--metal);
  font-size: 1.12rem;
  line-height: 1.75;
}

.release {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding: 6rem 1.25rem;
  padding: var(--space-2xl) max(1.25rem, calc((100vw - 90rem) / 2));
  overflow: hidden;
  background: var(--ink-raised);
}

.release-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--metal-dark), transparent 85%);
}

.release-content { max-width: 45rem; }
.release-content h2 { margin: var(--space-sm) 0 var(--space-md); }
.release-content p { max-width: 50ch; color: var(--metal); }
.text-link { display: inline-block; margin-top: var(--space-sm); font-weight: 700; }

.release-code { align-self: end; color: var(--muted); }

.contact { padding-bottom: var(--space-xl); }
.contact-details { display: grid; gap: 0.75rem; align-content: start; }
.contact-details a { width: fit-content; color: var(--metal); }

footer {
  min-height: 6rem;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (min-width: 48rem) {
  .site-header, footer { width: min(100% - 5rem, 90rem); }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 10rem);
  }

  .mark-stage { min-height: min(50vw, 35rem); }

  .about,
  .contact {
    grid-template-columns: 4rem minmax(14rem, 0.72fr) minmax(20rem, 0.82fr);
    align-items: start;
    column-gap: clamp(1.5rem, 6vw, 8rem);
  }

  .release {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    align-items: end;
  }

  .release-line { grid-column: 1 / -1; }
  .release-content { grid-column: 2; }
  .release-code { grid-column: 3; padding-bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
