/* ============================================================
   _nightshining — static site styles
   Typeface: JetBrains Mono (SIL Open Font License 1.1)
   Self-hosted — see assets/fonts/OFL.txt
   ============================================================ */
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #b3b3b3;
  --maxw: 1400px;
  --nav-h: 120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 40px;
  min-height: var(--nav-h);
  gap: 20px;
}

.main-nav ul,
.social-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active { border-color: var(--fg); }

.logo {
  justify-self: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img { width: 78%; }

.social-nav { justify-self: end; }
.social-nav a { opacity: 0.85; transition: opacity 0.2s ease; }
.social-nav a:hover { opacity: 1; }
.social-nav svg { width: 24px; height: 24px; fill: #fff; }
/* Instagram is drawn as an outline (camera body + lens + flash dot),
   so it reads at the same visual weight as the solid YouTube/Twitter marks. */
.social-nav svg.ig { fill: none; stroke: #fff; stroke-width: 1.9; }
.social-nav svg.ig .dot { fill: #fff; stroke: none; }

.menu-toggle { display: none; }

/* ---------- Layout ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 40px 100px;
}

.page-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 400;
  margin: 10px 0 50px;
  color: var(--muted);
}

/* ---------- Hero banner (full-bleed, directly under the nav) ---------- */
.hero {
  width: 100%;
  line-height: 0;          /* kill the inline-image gap under the photo */
  margin-bottom: 60px;
}
.hero img {
  width: 100%;
  /* the source is 1.38:1, so a fixed band height crops it to a wide strip */
  height: clamp(200px, 34vw, 500px);
  object-fit: cover;
  object-position: center 48%;
}

/* ---------- Home ---------- */
.statement {
  max-width: 760px;
  margin: 30px auto 70px;
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: #e8e8e8;
}

/* Sits below the bio. The artwork is black-backed, so it's left uncropped —
   the images blend into the page rather than sitting in visible frames. */
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 84px;
  padding-top: 56px;
  border-top: 1px solid #1f1f1f;
}
/* Uniform height + contain: the four differing aspect ratios line up in one
   row, and nothing is cropped — the letterboxing is black on black. */
.home-grid img {
  width: 100%;
  height: clamp(110px, 13vw, 190px);
  object-fit: contain;
}

/* ---------- Sound ---------- */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 44px 34px;
}
.album { text-align: center; }
.album img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 16px;
}
.album h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 2px;
}
.album .year { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.album .listen {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  border: 1px solid #666;
  padding: 8px 22px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.album .listen:hover { background: #fff; color: #000; border-color: #fff; }

/* ---------- Visual ---------- */
.work {
  margin-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.work.single { grid-template-columns: 1fr; max-width: 900px; }
.work .media { display: grid; gap: 14px; }
.work .media img { width: 100%; }
.work h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.work .meta { color: var(--muted); font-size: 14px; margin: 0 0 14px; white-space: pre-line; }
.work p { margin: 0 0 14px; color: #ddd; }
.work .credit { color: #888; font-size: 13px; font-style: italic; }
.work .watch {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px; letter-spacing: 0.12em;
  border: 1px solid #666; padding: 8px 22px;
}
.work .watch:hover { background:#fff; color:#000; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Works / available editions ---------- */
.sale-intro {
  max-width: 900px;
  margin: 0 0 60px;
  color: #ddd;
}
.sale-intro a { border-bottom: 1px solid #666; }
.sale-intro a:hover { border-color: #fff; }

.sale {
  margin-bottom: 96px;
  padding-bottom: 60px;
  border-bottom: 1px solid #1f1f1f;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
  align-items: start;
}
.sale:last-of-type { border-bottom: 0; }
.sale .media { display: grid; gap: 14px; }
.sale .media.two { grid-template-columns: 1fr 1fr; }
.sale .media img { width: 100%; }

.sale h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.sale .spec { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.sale p { color: #ddd; margin: 0 0 14px; }

.price-list { margin: 20px 0 18px; }
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #222;
  max-width: 340px;
}
.price-line .size { color: var(--muted); font-size: 14px; }
.price-line .amt { color: #fff; font-weight: 500; }
.price-solo {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 18px 0;
}

.inquire {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid #777;
  padding: 10px 26px;
  margin-bottom: 20px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.inquire:hover { background: #fff; color: #000; border-color: #fff; }

.editions { margin: 22px 0 20px; }
.editions h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  margin: 0 0 12px;
}
.edition { padding: 8px 0; border-bottom: 1px solid #1c1c1c; }
.edition .name { color: #fff; font-size: 14px; }
.edition .name a { border-bottom: 1px solid #555; }
.edition .name a:hover { border-color: #fff; }
.edition .detail { color: #888; font-size: 13px; }

.coa { color: #888; font-size: 13px; font-style: italic; }

/* ---------- Bio ---------- */
.bio-wrap { max-width: 820px; margin: 0 auto; }
.bio-intro p { font-size: 15px; color: #e8e8e8; margin: 0 0 20px; }
.bio-section { margin-top: 54px; }
.bio-section h2 {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.entry { margin-bottom: 20px; }
.entry .date { color: #888; font-size: 13px; letter-spacing: 0.02em; }
.entry .title { color: #fff; }
.entry .venue { color: var(--muted); font-size: 14px; }

/* ---------- Events ---------- */
.events { max-width: 900px; margin: 0 auto; }
.event {
  padding: 22px 0;
  border-bottom: 1px solid #262626;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.event .when { color: #fff; min-width: 180px; }
.event .what { flex: 1; min-width: 220px; }
.event .what .name { color: #fff; }
.event .what .place { color: var(--muted); font-size: 14px; }
.event .details {
  align-self: center;
  font-size: 12px; letter-spacing: 0.1em;
  border: 1px solid #666; padding: 7px 18px; white-space: nowrap;
}
.event .details:hover { background:#fff; color:#000; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #222;
  padding: 46px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  font-weight: 500; color: #fff; margin: 0 0 10px;
  font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
}
.site-footer .links a { display: inline-block; margin-right: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 18px 20px;
    min-height: auto;
  }
  .logo { width: 84px; height: 84px; order: 0; }
  .menu-toggle {
    display: block; order: -1;
    background: none; border: 0; color: #fff;
    font-size: 26px; cursor: pointer; padding: 0; line-height: 1;
  }
  .main-nav {
    order: 3;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #000; border-top: 1px solid #222;
    display: none; z-index: 20;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; }
  .main-nav a { display: block; width: 100%; padding: 14px 0; }
  .social-nav ul { gap: 18px; }
  main { padding: 20px 20px 70px; }
  .home-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .work { grid-template-columns: 1fr; }
  .sale { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; padding-bottom: 40px; }
  .site-footer { grid-template-columns: 1fr; padding: 34px 20px; }
  .statement { font-size: 14px; line-height: 1.9; }
  body { font-size: 15px; }
}
