/* Bonza — site stylesheet. Tokens from the Modernist design system used in the original design draft. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-accent-2: #e15b47;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff2ef;
  --color-accent-200: #ffe0d9;
  --color-accent-300: #ffc4b8;
  --color-accent-400: #ff9783;
  --color-accent-500: #ff563c;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;
  --color-accent-900: #4d170e;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.section { border-bottom: 0; }
.pad { padding: clamp(20px, 4vw, 48px); }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap;
  padding: var(--space-4) clamp(16px, 4vw, 48px);
  background: var(--color-bg);
}
.brand {
  font-family: var(--font-heading); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; text-transform: uppercase;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--color-text); text-decoration: underline; text-underline-offset: 4px;
}
.nav-toggle {
  display: none; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 16px; min-height: 44px;
  background: none; color: var(--color-text); border: 2px solid var(--color-text); cursor: pointer;
}
.site-nav { display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--space-2); }
.nav-link {
  position: relative;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 14px; background: none; color: var(--color-text);
  border: 2px solid var(--color-text); cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-link:hover { background: var(--color-accent-100); transform: translateY(-2px); color: var(--color-text); }
.nav-link:active { transform: translateY(0); }
.nav-link .indicator {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--color-accent);
  display: none;
}
.nav-link[aria-current="page"] .indicator { display: block; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 20px; border: 0; cursor: pointer;
  display: inline-block; text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); transform: translateY(-2px); }
.btn-outline { background: none; color: var(--color-text); border: 2px solid var(--color-text); }
.btn-outline:hover { background: var(--color-accent-100); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 12px 18px; font-size: 13px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr);
  background-image:
    radial-gradient(ellipse 55% 70% at 50% 50%, var(--color-bg) 0%, rgba(243, 242, 242, 0.85) 45%, rgba(243, 242, 242, 0.25) 75%, rgba(243, 242, 242, 0) 100%),
    url('assets/hero-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.hero-inner {
  padding: clamp(28px, 6vw, 72px) clamp(20px, 4vw, 48px) clamp(48px, 8vw, 104px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; width: 100%; box-sizing: border-box;
  min-height: clamp(420px, 62vh, 620px);
}
.hero-logo { width: min(662px, 90%); max-width: 100%; margin: 0 auto; }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; margin-top: clamp(-24px, -1.5vw, -8px); }
.hero-sub {
  margin: 48px auto 0; font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(18px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -0.01em;
  text-transform: uppercase; text-align: center; max-width: 26ch; text-wrap: pretty;
}
.signup-form {
  margin: var(--space-6) auto 0; display: flex; align-items: stretch;
  width: 100%; max-width: 520px; border: 2px solid var(--color-text); background: var(--color-bg);
}
.signup-form input {
  flex: 1; min-width: 0; box-sizing: border-box; font-family: var(--font-body);
  font-size: 16px; padding: 14px var(--space-4); background: none; color: var(--color-text);
  border: 0; outline-offset: -4px;
}
.signup-form button {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: left;
  padding: 14px 24px; background: var(--color-accent); color: var(--color-bg);
  border: 0; cursor: pointer; transition: background 180ms ease, transform 180ms ease;
}
.signup-form button:hover { background: var(--color-accent-600); transform: translateY(-2px); }
.form-note { margin: var(--space-3) auto 0; font-size: 14px; color: var(--color-accent-700); text-align: center; }
.form-success { margin: var(--space-6) auto 0; font-family: var(--font-heading); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--color-accent-700); text-align: center; }

/* ── Section heads ──────────────────────────────────────────────── */
.section-head {
  padding: clamp(20px, 4vw, 48px);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-6); flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; line-height: 0.9; }
.title-xl { font-size: clamp(36px, 7vw, 96px); }
.title-page { font-size: clamp(48px, 10vw, 150px); line-height: 0.86; letter-spacing: -0.04em; }
.title-lg { font-size: clamp(28px, 4vw, 56px); line-height: 0.95; margin: 0 0 var(--space-6); }

/* ── Shop / product cards ───────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 0; }
.card-grid.tight { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.product-card { display: flex; flex-direction: column; }
.product-media {
  background: var(--color-neutral-100); padding: clamp(20px, 4vw, 48px);
  overflow: hidden; transition: background 220ms ease; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
}
.product-media:hover { background: var(--color-accent-100); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 380ms cubic-bezier(.2,.7,.2,1); }
.product-media:hover img { transform: scale(1.04); }
.product-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.product-title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.product-body .btn { margin-top: auto; align-self: stretch; text-align: left; padding: 12px 16px; font-size: 13px; }

/* ── Tracks / Spotify embed ─────────────────────────────────────── */
.tracks-wrap { padding: 0 clamp(20px, 4vw, 48px) clamp(20px, 4vw, 48px); max-width: 1100px; margin: 0 auto; }
iframe.embed { display: block; width: 100%; border: 0; background: var(--color-neutral-100); }

/* ── Music page ─────────────────────────────────────────────────── */
.release {
  padding: clamp(20px, 4vw, 48px);
}
.release.alt { background: var(--color-neutral-100); }
.release-kicker { margin: 0 0 var(--space-6); font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); }
.release-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--space-8); align-items: center; }
.release-grid img { width: 100%; max-width: 620px; }
.release-info { display: flex; flex-direction: column; gap: var(--space-6); }
.release-title { margin: 0; font-size: clamp(36px, 5vw, 76px); line-height: 0.92; }
.tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.link-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--space-3); max-width: 520px; }
.link-btn {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 14px 18px; display: block;
  transition: background 180ms ease, transform 180ms ease;
}
.link-btn.solid { background: var(--color-accent); color: var(--color-bg); }
.link-btn.solid:hover { background: var(--color-accent-600); color: var(--color-bg); transform: translateY(-2px); }
.link-btn.outline { border: 2px solid var(--color-text); }
.link-btn.outline:hover { background: var(--color-accent-100); transform: translateY(-2px); }

.track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--space-6); }
.track-card { display: flex; flex-direction: column; gap: var(--space-4); }
.track-card p { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; }
.video-frame { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--color-neutral-100); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--space-6); margin-top: 64px; }

/* ── Portfolio ──────────────────────────────────────────────────── */
.pf-grid { columns: 4; column-gap: var(--space-4); }
.pf-grid img {
  width: 100%; display: block; margin: 0 0 var(--space-4);
  transition: opacity 220ms ease, filter 220ms ease; cursor: zoom-in;
}
.pf-grid img:hover { opacity: 0.86; filter: contrast(1.08); }
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(32, 30, 29, 0.9);
  display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px);
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.lightbox[hidden] { display: none; }

/* ── Contact ────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.contact-grid > div { padding: clamp(20px, 4vw, 48px); }
.contact-lead { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.25; max-width: 26ch; text-wrap: pretty; }
.label-kicker { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-grid a { text-decoration: underline; text-underline-offset: 4px; }
.contact-grid p a { font-size: 18px; }

/* ── Modals ─────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(32, 30, 29, 0.62);
  display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); overflow: auto;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--color-bg); border: 2px solid var(--color-text);
  width: 100%; max-width: 520px; padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: var(--space-6);
  box-shadow: 0 24px 60px rgba(32, 30, 29, 0.35);
}
.modal.narrow { max-width: 460px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.modal-kicker { margin: 0 0 var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); }
.modal-title { margin: 0; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.02; }
.modal-close {
  font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1;
  padding: 6px 10px; background: none; border: 2px solid var(--color-text); cursor: pointer;
  color: var(--color-text); transition: background 160ms ease;
}
.modal-close:hover { background: var(--color-accent-100); }
.field-label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.field-label input, .field-label textarea {
  font-family: var(--font-body); font-weight: 400; font-size: 16px; letter-spacing: 0; text-transform: none;
  padding: 12px var(--space-3); background: var(--color-bg); color: var(--color-text);
  border: 2px solid var(--color-text); box-sizing: border-box; width: 100%;
}
.field-label textarea { resize: vertical; }
.inquiry-form { display: flex; flex-direction: column; gap: var(--space-4); }
.price-note { margin: 0; font-size: 13px; color: var(--color-neutral-700); }
.modal-submit { align-self: flex-start; }

/* ── Promo toast ────────────────────────────────────────────────── */
@keyframes promoIn { 0% { opacity: 0; transform: translateY(20px) scale(0.94) } 60% { opacity: 1; transform: translateY(-3px) scale(1.015) } 100% { opacity: 1; transform: translateY(0) scale(1) } }
.promo {
  position: fixed; right: clamp(12px, 3vw, 28px); bottom: clamp(12px, 3vw, 28px); z-index: 70;
  width: min(360px, calc(100vw - 24px)); background: var(--color-bg);
  box-shadow: 0 18px 44px rgba(32, 30, 29, 0.22);
  animation: promoIn 460ms cubic-bezier(.16,.84,.24,1) both;
}
.promo[hidden] { display: none; }
.promo-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 12px var(--space-3) 10px var(--space-4); }
.promo-head p { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.promo-close { font-family: var(--font-heading); font-weight: 700; font-size: 13px; line-height: 1; padding: 5px 8px; background: none; border: 0; cursor: pointer; color: var(--color-neutral-700); transition: color 160ms ease; }
.promo-close:hover { color: var(--color-accent-700); }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer-links { display: flex; flex-direction: column; }
.footer-link {
  padding: var(--space-6) clamp(20px, 4vw, 48px);
  font-size: clamp(36px, 8vw, 110px); line-height: 0.9; letter-spacing: -0.04em;
  font-family: var(--font-heading); font-weight: 800; text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease, padding-left 220ms ease;
}
.footer-link:hover { background: var(--color-accent); color: var(--color-bg); padding-left: clamp(28px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.footer-grid > div { padding: clamp(20px, 4vw, 48px); }
.footer-listen { text-align: right; justify-self: end; margin-left: auto; }
.footer-listen p:last-of-type { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.3; }
.footer-listen audio { width: 100%; max-width: 320px; display: block; margin-left: auto; }
.footer-studio p { margin: 0; font-size: 15px; line-height: 1.6; }
.footer-studio a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Pages ──────────────────────────────────────────────────────── */
.page { display: none; }
.page.is-active { display: block; }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; position: sticky; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; width: 100%; order: 3; padding-bottom: var(--space-3);
  }
  .site-header[data-menu="open"] .site-nav { display: flex; }
  .site-nav .nav-link { width: 100%; text-align: left; padding-top: 14px; padding-bottom: 14px; min-height: 44px; }
  .product-body .btn { padding-top: 14px; padding-bottom: 14px; min-height: 44px; }
  .footer-listen { text-align: left; justify-self: stretch; margin-left: 0; }
  .footer-listen audio { margin-left: 0; }
}
