/* Zak Waxman Audio — zakwaxman.com
   Mobile-first rebuild of the Wix original: same black/white studio
   identity (ZDUB mic mark, lotus artwork, Helvetica-family type),
   none of the Wix runtime. No frameworks. */

:root {
  --bg: #0b0b0d;
  --panel: #131316;
  --panel-2: #18181c;
  --text: #f4f4f5;
  --muted: #a3a3ad;
  --line: #26262c;
  --accent: #c5a1f5;      /* from the lotus centre */
  --accent-dim: #8f6cc4;
  --max: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); }
h3 { font-size: 1.05rem; letter-spacing: .08em; }
p  { margin: 0 0 1em; }
.muted { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,13,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .95rem; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--muted); font-weight: 400; }

.nav-toggle { display: none; }
.nav-btn { display: none; }

.site-nav { margin-left: auto; padding-left: 32px; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  display: block; padding: 8px 12px;
  color: var(--muted); font-size: .92rem;
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .cta a {
  color: #0b0b0d; background: var(--text);
  border-radius: 999px; padding: 9px 16px; font-weight: 700;
  font-size: .85rem; margin-left: 10px;
}
.site-nav .cta a:hover { background: var(--accent); }

/* narrow-desktop squeeze: just above the hamburger cutoff, trim nav
   padding so the full row always clears the container */
@media (min-width: 1041px) and (max-width: 1160px) {
  .site-nav { padding-left: 20px; }
  .site-nav a { padding: 8px 8px; font-size: .85rem; }
  .site-nav .cta a { padding: 8px 13px; font-size: .8rem; margin-left: 6px; }
}

@media (max-width: 1040px) {
  .nav-btn {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; margin-left: auto; padding: 10px; cursor: pointer;
  }
  .nav-btn span {
    width: 22px; height: 2px; background: var(--text);
    transition: transform .2s, opacity .2s;
  }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .site-nav a { padding: 13px 24px; font-size: 1rem; }
  .site-nav .cta a { margin: 10px 24px 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 12vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.hero::after {           /* lotus line-art, glows out of the black */
  content: ""; position: absolute; inset: 0;
  background: url("/assets/lotus-glow-2.png") no-repeat
              right clamp(-30px, 3vw, 90px) center / min(440px, 42vw);
  opacity: .85;
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero::after {
    background-position: center top 12px;
    background-size: min(340px, 88vw);
    opacity: .45;
  }
}
.hero .wrap { position: relative; z-index: 1; }
.kicker {
  color: var(--accent); text-transform: uppercase;
  letter-spacing: .22em; font-size: .8rem; margin-bottom: 14px;
}
.hero p.lead { max-width: 560px; color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-size: .9rem; border: 1px solid var(--text); color: var(--text);
  margin: 6px 10px 0 0;
}
.btn:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.btn.solid { background: var(--text); color: #0b0b0d; }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: #0b0b0d; }

.cert-chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0b0b0d;
  border-radius: 12px; padding: 8px 18px 8px 10px; margin-top: 26px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  font-size: .82rem; border: 1px solid transparent;
}
a.cert-chip:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(197,161,245,.25); }
.cert-chip img { width: 46px; height: auto; }
.cert-chip span { display: flex; flex-direction: column; line-height: 1.3; }
.cert-chip small {
  font-weight: 400; text-transform: none; letter-spacing: .02em;
  color: #55555f; font-size: .78rem;
}

/* ---------- sections ---------- */
section { padding: clamp(40px, 8vw, 72px) 0; }
section + section { border-top: 1px solid var(--line); }

.clients {
  color: var(--muted); font-size: .95rem; line-height: 2;
  letter-spacing: .04em;
}
.clients b { color: var(--text); font-weight: 600; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .price { color: var(--text); font-weight: 700; font-size: 1.2rem; margin: 10px 0 2px; }

.note {
  background: var(--panel-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-dim);
  border-radius: 10px; padding: 14px 18px;
  color: var(--muted); font-size: .92rem;
}

/* ---------- portfolio ---------- */
.vids { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.yt {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); cursor: pointer; padding: 0; display: block; width: 100%;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .3s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 64px; height: 44px; border-radius: 10px;
  background: rgba(11,11,13,.78) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') center/26px no-repeat;
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.playing::after { display: none; }
.vid-title { font-size: .95rem; color: var(--muted); margin: 8px 2px 0; }

/* Muso.AI credits card: a plain link, not an iframe (muso.ai refuses to be framed) */
.muso {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  margin-bottom: 28px; padding: 20px 22px;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-dim); border-radius: 14px;
  color: var(--text);
}
.muso:hover { text-decoration: none; border-color: var(--accent-dim); }
.muso:hover .btn { border-color: var(--accent); color: var(--accent); }
.muso .btn { margin: 0; }
.muso-tag {
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .8rem; color: var(--accent);
}
.muso-body { flex: 1 1 240px; display: flex; flex-direction: column; }
.muso-body span { color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px; color: var(--muted); font-size: .95rem;
}
.site-foot .wrap { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-foot h3 { color: var(--text); font-size: .85rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.copy { margin-top: 30px; text-align: center; color: #6c6c76; font-size: .85rem; }
