:root {
  --ink: #171717;
  --muted: #66615d;
  --paper: #f7f4ee;
  --chalk: #fffaf2;
  --line: rgba(23, 23, 23, 0.14);
  --red: #a83232;
  --teal: #0f766e;
  --blue: #274c77;
  --gold: #b8872d;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  gap: 0;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 640;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: #34302d;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  border-bottom: 2px solid transparent;
  padding-block: 4px;
}

nav a:hover {
  border-color: var(--red);
}

.lang-link {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.64) 44%, rgba(10, 10, 10, 0.28)),
    url("assets/kahlia/kahlia-cover.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  width: min(820px, 100%);
  color: var(--chalk);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(58px, 12vw, 154px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-line {
  margin-bottom: 18px;
  color: #f3e1bf;
  font-size: clamp(20px, 3.4vw, 38px);
  font-weight: 780;
  line-height: 1.08;
}

.hero-copy {
  width: min(680px, 100%);
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-weight: 850;
  line-height: 1;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 250, 242, 0.1);
  color: #fffaf2;
}

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

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--chalk);
}

.release-strip article {
  min-height: 128px;
  padding: clamp(20px, 4vw, 38px);
  border-right: 1px solid var(--line);
}

.release-strip article:last-child {
  border-right: 0;
}

.release-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 44px;
  font-weight: 880;
  line-height: 0.95;
}

.release-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 720;
}

.feature,
.catalog,
.products,
.updates,
.connect {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
}

.feature-copy p:not(.eyebrow),
.section-heading p,
.about-copy p,
.connect-panel p {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.feature-art {
  margin: 0;
  box-shadow: var(--shadow);
}

.feature-art img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 36px;
}

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

.wave-card {
  display: grid;
  min-height: 420px;
  background: var(--chalk);
  border: 1px solid var(--line);
}

.wave-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wave-card-content {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.wave-card header {
  display: grid;
  gap: 6px;
}

.wave-card strong {
  color: var(--red);
  font-size: 13px;
  text-transform: uppercase;
}

.wave-card h3 {
  margin: 0;
}

.song-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.about-band {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: #202321;
  color: var(--chalk);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(30px, 7vw, 120px);
  align-items: start;
}

.about-title {
  display: grid;
  gap: 26px;
}

.profile-art {
  width: min(280px, 72vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 242, 0.24);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

.about-copy p {
  color: rgba(255, 250, 242, 0.78);
}

.philosophy-note {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 250, 242, 0.08);
}

.philosophy-note strong {
  color: #fffaf2;
  font-size: 18px;
}

.philosophy-note span {
  color: rgba(255, 250, 242, 0.72);
}

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

.product-grid article {
  min-height: 228px;
  padding: 26px;
  background: var(--chalk);
  border-top: 5px solid var(--teal);
}

.product-grid article:nth-child(2) {
  border-color: var(--red);
}

.product-grid article:nth-child(3) {
  border-color: var(--blue);
}

.product-grid p {
  color: var(--muted);
}

.updates {
  background: #efebe2;
}

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

.update-card {
  display: grid;
  align-content: start;
  background: var(--chalk);
  border: 1px solid var(--line);
}

.update-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.update-card-content {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.update-card-content span {
  width: fit-content;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.update-card-content strong {
  color: var(--blue);
}

.update-card-content p {
  color: var(--muted);
}

.connect {
  background: #ded8cc;
}

.feedback {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: var(--chalk);
}

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: start;
}

.feedback-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.feedback-form label,
.auth-card label {
  display: grid;
  gap: 8px;
  color: #34302d;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.feedback-form input,
.feedback-form textarea,
.auth-card input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: grid;
  grid-template-columns: auto 120px;
  gap: 12px;
  align-items: center;
}

.captcha-row span {
  font-size: 20px;
  font-weight: 850;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.feedback-list {
  display: grid;
  gap: 12px;
}

.feedback-card {
  padding: 20px;
  background: var(--paper);
  border-left: 5px solid var(--teal);
}

.feedback-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.connect-panel {
  width: min(1000px, 100%);
}

.platform-hub {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.platform-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: var(--chalk);
  border: 1px solid var(--line);
}

.platform-group h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.platform-group p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 4px 10px 4px 5px;
  background: #fff;
  border: 1px solid var(--line);
  color: #393531;
  font-size: 13px;
  font-weight: 780;
}

.platform-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--platform-color);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 250, 242, 0.78);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 150px;
  }

  .release-strip,
  .feature,
  .about-inner,
  .product-grid,
  .update-grid {
    grid-template-columns: 1fr;
  }

  .wave-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.cms-body {
  background: #ebe6dc;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 23, 23, 0.72);
  backdrop-filter: blur(16px);
}

.auth-gate.hidden {
  display: none;
}

.auth-card {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  padding: 30px;
  background: var(--chalk);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(34px, 7vw, 64px);
}

.auth-card p:not(.eyebrow) {
  color: var(--muted);
}

.locked {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.cms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: #34302d;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.file-button input {
  display: none;
}

.cms-shell {
  padding: clamp(32px, 6vw, 72px);
}

.cms-intro {
  width: min(980px, 100%);
  margin-bottom: 28px;
}

.cms-intro h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(44px, 8vw, 96px);
}

.cms-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.cms-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1.2fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.cms-form,
.cms-list-panel {
  background: var(--chalk);
  border: 1px solid var(--line);
  padding: 24px;
}

.cms-form {
  display: grid;
  gap: 16px;
}

.cms-form label {
  display: grid;
  gap: 8px;
  color: #34302d;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.cms-form input,
.cms-form select,
.cms-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px;
}

.cms-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.status-toggle {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  text-transform: none !important;
}

.status-toggle input {
  width: 18px;
  height: 18px;
}

.cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cms-list-header h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
}

.cms-list-header span {
  color: var(--muted);
  font-weight: 760;
}

.cms-list {
  display: grid;
  gap: 12px;
}

.cms-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.cms-list-item h3 {
  margin: 6px 0 4px;
  font-size: 20px;
}

.cms-list-item p {
  margin: 0;
  color: var(--muted);
}

.content-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.content-status.published {
  color: var(--teal);
}

.content-status.draft {
  color: var(--red);
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.item-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}

.feedback-moderation {
  margin-top: 22px;
}

.security-note {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .cms-header,
  .cms-grid,
  .cms-list-item,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cms-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .item-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(50px, 18vw, 82px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 54px);
  }

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

  .site-footer {
    flex-direction: column;
  }
}
