:root {
  --font-main: "Seravek-Medium", "Seravek", "Gill Sans", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sand: #e7d1a8;
  --clay: #b45631;
  --rust: #7d2f1d;
  --ink: #14100d;
  --night: #11171a;
  --smoke: rgba(255, 247, 232, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --green: #6e8a74;
  --gold: #d99b4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: #fff7e8;
  font-family: var(--font-main);
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(20, 16, 13, 0.96), rgba(125, 47, 29, 0.96));
  transform: translateY(100%);
}

.page-transition.active {
  animation: sectionWipe 760ms cubic-bezier(0.77, 0, 0.175, 1);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 64px);
  transition: background 260ms ease, padding 260ms ease, border-color 260ms ease;
}

.site-header.scrolled {
  padding-block: 14px;
  background: rgba(17, 23, 26, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-actions,
.language-switch,
.hero-actions,
.contact-actions,
.stats-row,
.card-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.desktop-nav {
  gap: clamp(18px, 3vw, 38px);
  color: rgba(255, 247, 232, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a,
.menu-panel a,
.album-card a,
.track-strip a {
  transition: color 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.menu-panel a:hover,
.album-card a:hover,
.track-strip a:hover {
  color: var(--sand);
}

.header-actions {
  gap: 14px;
}

.language-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

.language-switch button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  color: rgba(255, 247, 232, 0.58);
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--ink);
  background: var(--sand);
}

.language-switch button:disabled {
  cursor: not-allowed;
}

.menu-button {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-content: center;
  padding: 110px clamp(24px, 7vw, 88px) 36px;
  background: rgba(17, 23, 26, 0.96);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease;
}

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

.menu-panel {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
}

.menu-panel a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-main);
  font-size: clamp(42px, 9vw, 92px);
  line-height: 0.98;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  color: rgba(255, 247, 232, 0.62);
  font-size: 13px;
  text-transform: uppercase;
}

.section {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 110px clamp(22px, 7vw, 88px) 80px;
}

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

.hero-media {
  background-image: url("./assets/kyto-outback-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 23, 26, 0.86) 0%, rgba(17, 23, 26, 0.36) 48%, rgba(20, 16, 13, 0.68) 100%),
    linear-gradient(0deg, rgba(20, 16, 13, 1) 0%, rgba(20, 16, 13, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-main);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(76px, 16vw, 184px);
  line-height: 0.82;
}

h2 {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.94;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 3vw, 34px);
}

.hero-copy,
.section-copy p,
.world-card p,
.discography-header p,
.album-card p,
.contact-inner p {
  color: var(--smoke);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
}

.hero-actions,
.contact-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 7vw, 88px);
  bottom: 36px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 70px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 10px;
}

.scroll-cue span {
  width: 4px;
  height: 18px;
  background: var(--sand);
  animation: scrollDot 1.6s ease-in-out infinite;
}

.section-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 150px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.music {
  background: linear-gradient(135deg, #14100d 0%, #221713 45%, #26312a 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.platform-card {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 209, 168, 0.54);
  background: rgba(231, 209, 168, 0.1);
}

.platform-card span,
.platform-card strong {
  display: block;
}

.platform-card span {
  margin-bottom: 24px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-card strong {
  color: #fff7e8;
  font-size: 14px;
  line-height: 1.35;
}

.stats-row {
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.stats-row div {
  min-width: 140px;
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 38px;
}

.stats-row span {
  color: rgba(255, 247, 232, 0.66);
  font-size: 13px;
  text-transform: uppercase;
}

.spotify-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.card-topline {
  justify-content: space-between;
  padding: 18px;
  color: rgba(255, 247, 232, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35d06d;
  box-shadow: 0 0 0 0 rgba(53, 208, 109, 0.42);
  animation: pulse 1.8s infinite;
}

.spotify-card iframe {
  display: block;
}

.world {
  background:
    linear-gradient(rgba(125, 47, 29, 0.78), rgba(20, 16, 13, 0.94)),
    url("./assets/kyto-outback-hero.png") center / cover fixed;
}

.world-header {
  margin-bottom: 44px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.world-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 16, 13, 0.42);
  backdrop-filter: blur(10px);
  transition: transform 240ms ease, background 240ms ease;
}

.world-card:hover {
  transform: translateY(-8px);
  background: rgba(20, 16, 13, 0.62);
}

.world-card span {
  display: block;
  margin-bottom: 90px;
  color: var(--sand);
  font-weight: 800;
}

.discography {
  background:
    radial-gradient(circle at 80% 10%, rgba(180, 86, 49, 0.28), transparent 34%),
    linear-gradient(140deg, #151c1b 0%, #14100d 52%, #261611 100%);
}

.discography-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: end;
  margin-bottom: 44px;
}

.discography-header p {
  margin-bottom: 10px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.album-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.album-card:hover {
  transform: translateY(-8px);
  border-color: rgba(231, 209, 168, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.album-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.album-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.album-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.album-kicker {
  margin-bottom: 12px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.album-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-main);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.album-card:not(.featured) h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.05;
}

.album-card p {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.55;
}

.album-card a {
  margin-top: auto;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.track-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.track-strip span,
.track-strip a {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.track-strip span {
  color: var(--sand);
}

.track-strip a {
  color: rgba(255, 247, 232, 0.72);
}

.contact {
  background: linear-gradient(140deg, var(--sand), #f4ead6 45%, #9eb3a1);
  color: var(--ink);
}

.contact-inner {
  text-align: center;
}

.contact-inner h2,
.contact-inner p {
  margin-inline: auto;
}

.contact-inner p,
.contact .eyebrow {
  color: rgba(20, 16, 13, 0.68);
}

.contact .button.ghost {
  border-color: rgba(20, 16, 13, 0.24);
  background: rgba(20, 16, 13, 0.06);
}

.contact-actions {
  justify-content: center;
  margin-top: 34px;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(22px, 7vw, 88px);
  background: var(--ink);
  color: rgba(255, 247, 232, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes slowDrift {
  from {
    transform: scale(1.04) translate3d(-8px, -4px, 0);
  }
  to {
    transform: scale(1.08) translate3d(10px, 6px, 0);
  }
}

@keyframes sectionWipe {
  0% {
    transform: translateY(100%);
  }
  46% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.36;
  }
  50% {
    transform: translateY(28px);
    opacity: 1;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(53, 208, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 208, 109, 0);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    padding: 18px 20px;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 22px;
  }

  .split,
  .world-grid,
  .discography-header {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 36px, 1180px);
  }

  .platform-grid,
  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-card.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .world {
    background-attachment: scroll;
  }

  .world-card {
    min-height: 230px;
  }

  .world-card span {
    margin-bottom: 54px;
  }

  .menu-footer,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .language-switch {
    display: none;
  }

  h1 {
    font-size: clamp(66px, 24vw, 96px);
  }

  h2 {
    font-size: 42px;
  }

  .hero-copy,
  .section-copy p,
  .world-card p,
  .discography-header p,
  .album-card p,
  .contact-inner p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .stats-row div {
    width: 100%;
  }
}

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