:root {
  --sand: #f8f2ea;
  --paper: #fefcf8;
  --ink: #0d1821;
  --ink-soft: rgba(13, 24, 33, 0.66);
  --sea: #2f9ddf;
  --sea-dark: #1e608a;
  --accent: #ff726a;
  --ring: rgba(13, 24, 33, 0.08);
  --radius-lg: 34px;
  --radius-sm: 14px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, #fdfbf6 0%, #f0f7fb 40%, #fefcf8 100%);
  min-height: 100vh;
  color: var(--ink);
}

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

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

.frame {
  width: min(1200px, calc(100% - 3.5rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(254, 252, 248, 0.85);
  border-bottom: 1px solid rgba(13, 24, 33, 0.08);
  z-index: 20;
}

.header .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.92rem;
}

.tag {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--ring);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--ring);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
}

.pill.primary {
  background: var(--sea);
  color: white;
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(47, 157, 223, 0.3);
}

.pill.ghost {
  color: var(--ink);
  background: transparent;
}

.hero-block {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.overline {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.hero-copy h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 1.5rem;
}

.hero-copy h1 span {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--sea-dark);
}

.summary {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--paper);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(13, 24, 33, 0.08);
  border: 1px solid rgba(13, 24, 33, 0.05);
}

.cover-wrap {
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  border: 1px solid rgba(13, 24, 33, 0.08);
}

.cover-wrap img {
  width: 100%;
  height: auto;
}

.card-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section {
  padding: 4.5rem 0;
}

.section-head h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.8rem;
  margin: 0.5rem 0 2.2rem;
}

.release-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.release-track {
  display: flex;
  gap: 1.2rem;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
  flex: 1;
}

.release-card {
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 24, 33, 0.08);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex: 0 0 clamp(260px, 28vw, 340px);
  scroll-snap-align: start;
}

.release-art {
  width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13, 24, 33, 0.15);
  flex-shrink: 0;
}

.release-card h3 {
  margin: 0.2rem 0 0.6rem;
  font-size: 1.4rem;
}

.links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.65rem;
  color: var(--sea-dark);
}

.release-nav {
  border: 1px solid rgba(13, 24, 33, 0.1);
  background: white;
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.release-nav:hover,
.release-nav:focus-visible {
  background: var(--sea);
  color: white;
  transform: scale(1.05);
}

.release-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.storyboard {
  background: radial-gradient(circle at top right, rgba(47, 157, 223, 0.1), transparent 40%), #fefcf8;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.story-card {
  padding: 1.4rem;
  border-radius: 24px;
  background: white;
  box-shadow: 0 28px 60px rgba(13, 24, 33, 0.08);
}

.ratio {
  position: relative;
  width: 100%;
  padding-top: 56%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(13, 24, 33, 0.08);
}

.ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}

.story-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-panel {
  background: #0d1821;
  color: white;
}

.contact-panel .summary {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.social-links {
  display: grid;
  gap: 0.6rem;
}

.social-links a {
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(6px);
}

.footer {
  padding: 2rem 0 3rem;
  background: var(--paper);
  border-top: 1px solid rgba(13, 24, 33, 0.08);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .frame {
    width: calc(100% - 2rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .header .frame {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    display: none;
    padding: 1.2rem;
    border-radius: 22px;
    border: 1px solid var(--ring);
    background: rgba(255, 255, 255, 0.9);
    gap: 0.6rem;
    order: 3;
  }

  .nav.open {
    display: flex;
  }

  .pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .release-card {
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 85%;
  }

  .release-slider {
    gap: 0.4rem;
  }

  .release-nav {
    position: static;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-block {
    flex: 1 1 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .card-footer {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .release-card {
    flex: 0 0 90%;
  }

  .pill {
    letter-spacing: 0.12em;
  }

  .links {
    letter-spacing: 0.16em;
  }
}
