/* Layout concept: one page split down a seam. Left is the score (warm oxblood, brass, engraved italic serif),
   right is the stage (deep teal, signal blue-green, condensed technical caps). The name sits on the seam.
   Choosing a side moves the seam; shared sections (credits, about, contact) carry both colors. */
@property --seam {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}
:root {
  --ink: #f3ede6;          /* main text, readable on both grounds */
  --dim: #bdb3b6;          /* secondary text, neutral between warm and cool */
  --line: rgba(243, 237, 230, .14);   /* hairlines that sit on either ground */
  --raise: rgba(243, 237, 230, .06);  /* faint lift that sits on either ground */

  --m-bg: #2b1519;         /* music side ground, oxblood */
  --m-raise: #3a1e23;
  --m-line: #55313a;
  --brass: #e6b660;        /* music accent */
  --ember: #ef6a3c;        /* hot accent, music side only */
  --m-ink: #f7ead6;
  --m-dim: #c9ae9d;

  --p-bg: #0d1f27;         /* post side ground, deep teal */
  --p-raise: #13303b;
  --p-line: #23495a;
  --teal: #62c6d2;         /* post accent */
  --peak: #ef6a4f;         /* meter peaks only */
  --p-ink: #e6f3f5;
  --p-dim: #95b4bd;

  --on-accent: #17110c;

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --score: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --tc: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 5vw, 3.25rem);
  --step-4: clamp(3rem, 9.5vw, 8rem);

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1200px;
  --seam: 50%;
  --hero-seam: 50%;
  --ease: cubic-bezier(.65, 0, .25, 1);
  color-scheme: dark;
}
@property --hero-seam {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}
/* The whole page is the split: Both = half and half, a chosen side takes over the page */
@property --soft {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}
/* Landing: both worlds blended. A chosen side sweeps across and takes the page. */
:root { --soft: 0%; }
[data-side="gate"] { --seam: 50%; --soft: 34%; --hero-seam: 50%; }
[data-side="music"] { --seam: 100%; --soft: 0%; --hero-seam: 68%; }
[data-side="post"] { --seam: 0%; --soft: 0%; --hero-seam: 32%; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  background: linear-gradient(90deg, var(--m-bg) calc(var(--seam) - var(--soft)), var(--p-bg) calc(var(--seam) + var(--soft)));
  background: linear-gradient(90deg in oklab, var(--m-bg) calc(var(--seam) - var(--soft)), var(--p-bg) calc(var(--seam) + var(--soft)));
  transition: --seam .9s var(--ease), --soft .9s var(--ease);
}
body {
  margin: 0;
  background: linear-gradient(90deg, var(--m-bg) calc(var(--seam) - var(--soft)), var(--p-bg) calc(var(--seam) + var(--soft)));
  background: linear-gradient(90deg in oklab, var(--m-bg) calc(var(--seam) - var(--soft)), var(--p-bg) calc(var(--seam) + var(--soft)));
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  transition: --seam .9s var(--ease), --soft .9s var(--ease), --hero-seam .9s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, * { transition: none !important; animation: none !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* The seam color: name and shared headings split brass | teal at the seam */
.split-name {
  background: linear-gradient(90deg, var(--brass) 0 var(--seam), var(--teal) var(--seam) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.seam-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--brass) 0 var(--seam), var(--teal) var(--seam) 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: linear-gradient(90deg, color-mix(in srgb, var(--m-bg) 90%, transparent) calc(var(--seam) - var(--soft)), color-mix(in srgb, var(--p-bg) 90%, transparent) calc(var(--seam) + var(--soft)));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 20px;
  padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.45rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; justify-self: start; }
.brand-mark { width: auto; height: 30px; display: block; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.nav a { font-size: var(--step--1); font-weight: 600; text-decoration: none; color: var(--dim); }
.nav a:hover { color: var(--ink); }

.switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
}
.sw {
  font: 600 var(--step--1)/1 var(--body);
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.sw:hover { color: var(--ink); }
.sw-music[aria-pressed="true"] { background: var(--brass); color: var(--on-accent); }
.sw-post[aria-pressed="true"] { background: var(--teal); color: var(--on-accent); }
.sw-both[aria-pressed="true"] { background: var(--ink); color: var(--m-bg); }

@media (max-width: 760px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(36px, 6vw, 72px); }
.hero-name-band { text-align: center; padding-inline: var(--gutter); }
.hero h1 {
  font: 900 var(--step-4)/.86 var(--display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.hero h1 span { display: inline-block; transition: color .6s var(--ease); }
.w-music, .w-post { color: var(--ink); }
.hero-tagline { margin: 16px auto 0; color: var(--dim); font-size: var(--step-1); max-width: 40ch; }

.halves {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: var(--hero-seam) calc(100% - var(--hero-seam));
  min-height: 0;
}
.half {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4.5vw, 64px) clamp(20px, 4.5vw, 64px) clamp(32px, 5vw, 64px);
  overflow: hidden;
  min-width: 0;
}
.half-music { background: var(--m-bg); color: var(--m-ink); align-items: flex-end; text-align: right; }
.half-post { background: var(--p-bg); color: var(--p-ink); align-items: flex-start; text-align: left; }
.half > * { position: relative; max-width: 30rem; }

.half-label { font: 600 var(--step--1)/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.half-music .half-label { color: var(--brass); }
.half-post .half-label { color: var(--teal); }
.half-title { line-height: .95; }
.half-music .half-title { font: italic 600 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--score); }
.half-post .half-title { font: 800 clamp(2rem, 3.8vw, 3.2rem)/.95 var(--display); text-transform: uppercase; max-width: 26rem; }
.half-music .half-text { color: var(--m-dim); }
.half-post .half-text { color: var(--p-dim); }

/* Music half: staff lines with a melodic contour */
.staff {
  width: 100%;
  max-width: 30rem;
  height: 92px;
  margin-bottom: 6px;
  background: repeating-linear-gradient(to bottom, transparent 0 17px, color-mix(in srgb, var(--brass) 38%, transparent) 17px 18px) top / 100% 92px no-repeat;
}
.staff svg { width: 100%; height: 100%; display: block; overflow: visible; }
.melody { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Post half: meter bridge */
.bridge { width: 100%; max-width: 30rem; margin-bottom: 6px; }
.bridge-top { display: flex; justify-content: space-between; color: var(--p-dim); font-size: .75rem; margin-bottom: 10px; }
.tc { font: 500 .95rem/1 var(--tc); color: var(--teal); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.meters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.meter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.meter-col { position: relative; width: 100%; max-width: 26px; height: 78px; display: flex; flex-direction: column-reverse; gap: 2px; }
.seg { flex: 1; border-radius: 1px; background: var(--teal); }
.seg.hot { background: var(--peak); }
.meter-mask { position: absolute; inset: 0 0 auto 0; height: var(--rest, 40%); background: var(--p-bg); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .meter-mask { animation: ride var(--dur, 2.6s) ease-in-out infinite alternate; }
}
@keyframes ride {
  0% { height: var(--rest, 40%); }
  40% { height: calc(var(--rest, 40%) - 14%); }
  70% { height: calc(var(--rest, 40%) + 8%); }
  100% { height: calc(var(--rest, 40%) - 5%); }
}
.meter-label { font: 700 .75rem/1 var(--display); letter-spacing: .06em; color: var(--p-dim); }

/* A chosen side dims the other half */
.half { transition: opacity .5s var(--ease), filter .5s var(--ease); }
body[data-side="music"] .half-post,
body[data-side="post"] .half-music { opacity: .55; filter: saturate(.6); }
body[data-side="music"] .half-post > :not(.btn),
body[data-side="post"] .half-music > :not(.btn) { pointer-events: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font: 600 var(--step-0)/1 var(--body);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--on-accent);
}
.btn:hover { filter: brightness(1.08); }
.btn-music { background: var(--brass); }
.btn-post { background: var(--teal); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--dim); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.clients { padding-block: 22px 0; text-align: center; color: var(--dim); font-size: var(--step--1); }

@media (max-width: 720px) {
  .halves { grid-template-columns: minmax(0, 1fr); }
  .half-music { align-items: flex-start; text-align: left; }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(26px, 4vw, 40px); }
.shared-head { font: 900 var(--step-3)/1 var(--display); text-transform: uppercase; }

/* Duo columns: services and work */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: grid-template-columns .7s var(--ease);
}
body[data-side="music"] .duo { grid-template-columns: 1fr 0fr; }
body[data-side="post"] .duo { grid-template-columns: 0fr 1fr; }
.duo-col { min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3.5vw, 44px); }
.col-music { color: var(--m-ink); padding-left: 0; }
.col-post { color: var(--p-ink); padding-right: 0; }
body[data-side="music"] .col-music,
body[data-side="post"] .col-post { padding-inline: 0; }
body[data-side="music"] .col-post,
body[data-side="post"] .col-music { padding: 0; overflow: hidden; }
body[data-side="music"] .col-post > *,
body[data-side="post"] .col-music > * { display: none; }

.col-music .col-head { font: italic 600 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--score); color: var(--brass); }
.col-post .col-head { font: 800 var(--step-3)/1 var(--display); text-transform: uppercase; color: var(--teal); }
.col-intro { display: grid; gap: 8px; }
.col-music .col-intro p { color: var(--m-dim); }
.col-post .col-intro p { color: var(--p-dim); }

.svc { display: grid; gap: 18px; }
.svc article { display: grid; gap: 6px; padding-top: 16px; }
.col-music .svc article { border-top: 1px solid var(--m-line); }
.col-post .svc article { border-top: 1px solid var(--p-line); }
.col-music .svc h3 { font: 600 1.6rem/1.1 var(--score); }
.col-post .svc h3 { font: 800 1.4rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.col-music .svc p { color: var(--m-dim); }
.col-post .svc p { color: var(--p-dim); }

/* Revealed only when one side is chosen, inside the open column */
.other-side {
  display: none;
  align-self: flex-start;
  margin-top: 8px;
  font: 600 var(--step--1)/1 var(--body);
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.col-music .other-side { color: var(--teal); border: 1px solid var(--p-line); }
.col-post .other-side { color: var(--brass); border: 1px solid var(--m-line); }
body[data-side="music"] .col-music .other-side,
body[data-side="post"] .col-post .other-side { display: inline-flex; }

@media (max-width: 760px) {
  .duo, body[data-side] .duo { grid-template-columns: minmax(0, 1fr); }
  .duo { gap: 0; }
  .col-music, .col-post, body[data-side] .col-music, body[data-side] .col-post {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .col-music { background: var(--m-bg); }
  .col-post { background: var(--p-bg); }
}

/* Credits */
.legend { display: flex; gap: 18px; color: var(--dim); font-size: var(--step--1); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 18px; height: 4px; border-radius: 2px; }
.key-music::before { background: var(--brass); }
.key-post::before { background: var(--teal); }

.posters {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: clamp(18px, 2.4vw, 28px) clamp(12px, 2vw, 22px);
}
.poster { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--raise);
  border: 1px solid var(--line);
}
.poster-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; position: relative; }
a.poster-frame:hover img { transform: scale(1.03); }
.tagbar { height: 4px; border-radius: 2px; }
.tag-music { background: var(--brass); }
.tag-post { background: var(--teal); }
.tag-both { background: linear-gradient(90deg, var(--brass) 50%, var(--teal) 50%); }

.slate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.slate.s-music { background: linear-gradient(to bottom, transparent 0 18px, var(--m-line) 18px 19px, transparent 19px 26px, var(--m-line) 26px 27px, transparent 27px 34px, var(--m-line) 34px 35px), var(--m-bg); color: var(--m-ink); }
.slate.s-post { background: repeating-linear-gradient(135deg, var(--p-raise) 0 12px, var(--p-bg) 12px 24px) top / 100% 20px no-repeat, var(--p-bg); color: var(--p-ink); }
.slate.s-both { background: linear-gradient(90deg, var(--m-bg) 50%, var(--p-bg) 50%); color: var(--ink); }
.slate-title { font: 800 1.3rem/.98 var(--display); text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.s-music .slate-title { font: italic 600 1.7rem/1 var(--score); text-transform: none; }
.poster-frame.has-img .slate { display: none; }

.poster h3 { font: 700 1.15rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.poster .role { color: var(--dim); font-size: var(--step--1); line-height: 1.4; }
.poster .yr { font: 500 .78rem/1 var(--tc); color: var(--dim); font-variant-numeric: tabular-nums; }
.poster.fade { display: none; }
.credits-foot { margin-top: 36px; color: var(--dim); }

/* Music styles */
.styles { list-style: none; margin: 0; padding: 0; }
.styles li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 4px 20px; padding-block: 14px; border-top: 1px solid var(--m-line); }
.styles h3 { font: italic 600 1.45rem/1.1 var(--score); }
.styles p { color: var(--m-dim); }
.styles audio { grid-column: 2; width: 100%; height: 36px; margin-top: 6px; }
.track-name { grid-column: 2; font-size: var(--step--1); margin-top: 6px; }
@media (max-width: 520px) { .styles li { grid-template-columns: minmax(0, 1fr); } .styles audio, .track-name { grid-column: 1; } }
.stream { display: grid; gap: 14px; padding: 20px; border-radius: 10px; background: var(--m-raise); }
.stream p { color: var(--m-dim); }

/* Reels */
.reels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
body[data-side="post"] .reels { grid-template-columns: minmax(0, 32rem); }
@media (max-width: 760px) { body[data-side="post"] .reels { grid-template-columns: minmax(0, 1fr); } }
.reel { display: grid; gap: 8px; min-width: 0; }
.reel-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--p-line);
  background: repeating-linear-gradient(90deg, var(--p-raise) 0 2px, var(--p-bg) 2px 9px);
  cursor: pointer;
  color: var(--p-ink);
  text-decoration: none;
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.play {
  position: absolute; left: 16px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
}
.play::before {
  content: ""; width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%2317110c'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.reel h3 { font: 800 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.reel p { color: var(--p-dim); font-size: var(--step--1); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 6px; overflow: hidden; background: linear-gradient(90deg, var(--m-bg) 50%, var(--p-bg) 50%); }
.portrait img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.portrait-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 900 5rem/1 var(--display); }
.portrait.has-img .portrait-fallback { display: none; }
.facts { margin: 20px 0 0; display: grid; gap: 14px; }
.facts dt { font-size: .78rem; color: var(--dim); }
.facts dd { margin: 2px 0 0; }
.lang-toggle { display: flex; gap: 8px; }
.chip {
  font: 600 var(--step--1)/1 var(--body);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--dim); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--m-bg); }
.bio { display: grid; gap: 1.1em; max-width: 64ch; font-size: 1.075rem; line-height: 1.7; }
.bio p { color: color-mix(in srgb, var(--ink) 86%, var(--dim)); }
.bio p:first-child { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.awards { margin-top: 36px; display: grid; gap: 14px; max-width: 64ch; }
.award { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 4px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.award .res { font: italic 600 1.35rem/1.1 var(--score); color: var(--brass); }
.award .what { color: var(--dim); font-size: var(--step--1); }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 280px; } }

/* Contact: lead on the music half, details on the post half */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 8vw, 120px);
  row-gap: 20px;
  align-items: start;
}
.contact-lead { display: grid; gap: 16px; max-width: 30rem; }
.contact-name { font: 900 var(--step-3)/1 var(--display); text-transform: uppercase; color: var(--ink); }
.contact-intro { color: var(--dim); font-size: var(--step-1); line-height: 1.5; }
.contact-list { margin: 0; display: grid; border-top: 1px solid var(--line); }
.cl-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 6px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: baseline; }
.cl-row dt { font-size: .78rem; color: var(--dim); letter-spacing: .04em; }
.cl-row dd { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
#email { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
#email:hover, #phone:hover { text-decoration: underline; text-underline-offset: 4px; }
#phone { text-decoration: none; font-variant-numeric: tabular-nums; }
.copy-btn { font: 600 .78rem/1 var(--body); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); cursor: pointer; }
.copy-btn:hover { color: var(--ink); border-color: var(--dim); }
.cl-links { gap: 6px 22px; }
.cl-links a { text-underline-offset: 4px; }
.ln-music { text-decoration-color: var(--brass); }
.ln-post { text-decoration-color: var(--teal); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.socials a { text-decoration: none; color: var(--ink); font-size: var(--step--1); }
.socials a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-note { grid-column: 2; font-size: var(--step--1); color: var(--dim); min-height: 1.4em; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .copy-note { grid-column: 1; }
  .cl-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
}

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; color: var(--dim); font-size: var(--step--1); }

/* Artist statement: Chipi's own voice, sitting across the seam */
.statement { padding-block: clamp(28px, 4.5vw, 64px) clamp(20px, 3vw, 44px); }
.statement .wrap { display: grid; justify-items: center; text-align: center; gap: 16px; }
.statement-text { display: grid; gap: .5em; max-width: min(100%, 54rem); }
.statement-text p { font: 500 clamp(1.45rem, 2.8vw, 2.15rem)/1.35 var(--score); color: var(--ink); }
.statement-text p + p { color: color-mix(in srgb, var(--ink) 80%, var(--dim)); }
.signature { font: italic 600 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--score); color: var(--ink); }
.signature::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto 12px; background: var(--line); }

/* Records: own releases, music side */
.records-block { display: grid; gap: 18px; }
.records-head { font: italic 600 1.7rem/1 var(--score); color: var(--brass); }
.records { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 18px 16px; }
.record { display: grid; gap: 4px; min-width: 0; align-content: start; }
.cover {
  position: relative; display: block; aspect-ratio: 1; max-width: 100%;
  border-radius: 4px; overflow: hidden; margin-bottom: 6px;
  background: var(--m-raise); text-decoration: none;
}
.cover img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; font: italic 600 1.3rem/1 var(--score); color: var(--m-ink);
  background: repeating-linear-gradient(to bottom, transparent 0 11px, var(--m-line) 11px 12px) top 14px left 0 / 100% 60px no-repeat, var(--m-raise); }
.cover.has-img .cover-fallback { display: none; }
.record h4 { margin: 0; font: 600 1.25rem/1.1 var(--score); }
.rec-meta { font-size: var(--step--1); color: var(--m-dim); }
.rec-with { font-size: .8rem; color: var(--brass); }

/* ReelCrafter players */
.rc-slot { display: grid; gap: 32px; }
.rc-item { display: grid; gap: 14px; }
.rc-head { font: 800 1.6rem/1 var(--display); text-transform: uppercase; color: var(--teal); }
.rc-frame { border-radius: 8px; overflow: hidden; background: var(--raise); }
.rc-frame iframe { display: block; width: 100%; height: 520px; border: 0; }
.rc-link {
  position: relative; display: block; min-height: 120px; border-radius: 8px; text-decoration: none; color: inherit;
  background: repeating-linear-gradient(90deg, var(--raise) 0 2px, transparent 2px 7px);
  border: 1px solid var(--line);
}
.col-music .rc-link .play::before { background-color: var(--brass); }

/* Post side: featured credits and call sheet */
.featured { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
body[data-side="post"] .featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { body[data-side="post"] .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat { display: grid; gap: 6px; min-width: 0; align-content: start; }
.feat .poster-frame { border-color: var(--p-line); background: var(--p-raise); margin-bottom: 4px; }
.feat h4 { margin: 0; font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.feat .yr { font: 500 .74rem/1.3 var(--tc); color: var(--teal); font-variant-numeric: tabular-nums; white-space: pre-wrap; }
.feat .role { color: var(--p-dim); font-size: var(--step--1); line-height: 1.4; }

.callsheet { display: grid; gap: 16px; }
.callsheet-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.col-post .chip { border-color: var(--p-line); color: var(--p-dim); }
.col-post .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-accent); }
.chip .n { font-variant-numeric: tabular-nums; opacity: .7; }
.cs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--p-line); }
.cs-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4px 16px;
  padding-block: 11px;
  border-bottom: 1px solid var(--p-line);
  align-items: baseline;
}
.cs-year { font: 500 .82rem/1.4 var(--tc); color: var(--teal); font-variant-numeric: tabular-nums; }
.cs-title { display: grid; gap: 1px; min-width: 0; }
.cs-title strong { font-weight: 600; }
.cs-format { font-size: .78rem; color: var(--p-dim); }
.cs-role { font-size: var(--step--1); color: var(--p-dim); }
@media (max-width: 560px) {
  .cs-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .cs-role { grid-column: 2; }
}
.cs-more { justify-self: start; color: var(--p-ink); border-color: var(--p-line); }
.in-post { display: grid; gap: 12px; }
.in-post ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.in-post li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 2px 16px; font-size: var(--step--1); }
.in-post li span { color: var(--p-dim); }
@media (max-width: 560px) { .in-post li { grid-template-columns: minmax(0, 1fr); } }

/* The post side carries its own full credit list, so the shared wall steps aside */
body[data-side="post"] #credits { display: none; }
.feat-note { font-size: .8rem; line-height: 1.4; color: var(--teal); }
.cs-note { font-size: .78rem; color: var(--teal); }
.feat-info { display: grid; gap: 6px; align-content: start; min-width: 0; }
.feat.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
body[data-side="post"] .feat.wide { grid-column: span 2; }
.feat.wide .poster-frame { margin-bottom: 0; }
.feat.wide h4 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.laurels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; max-width: 220px; align-items: center; }
.laurels img { width: 100%; height: auto; opacity: .75; }
@media (max-width: 520px) { .feat.wide { grid-template-columns: minmax(0, 1fr); } }

/* Music side mirrors the post credits in its own colors */
.featured-block { display: grid; gap: 16px; }
body[data-side="music"] .featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { body[data-side="music"] .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.col-music .feat .poster-frame { border-color: var(--m-line); background: var(--m-raise); }
.col-music .feat h4 { font: 600 1.35rem/1.1 var(--score); text-transform: none; letter-spacing: 0; }
.col-music .feat .yr { color: var(--brass); }
.col-music .feat .role { color: var(--m-dim); }
.col-music .feat-note, .col-music .cs-note { color: var(--brass); }
.col-music .cs-list { border-top-color: var(--m-line); }
.col-music .cs-row { border-bottom-color: var(--m-line); }
.col-music .cs-year { color: var(--brass); }
.col-music .cs-format, .col-music .cs-role { color: var(--m-dim); }
.col-music .chip { border-color: var(--m-line); color: var(--m-dim); }
.col-music .chip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--on-accent); }
.col-music .cs-more { color: var(--m-ink); border-color: var(--m-line); }
.imdb-link { justify-self: start; font-size: var(--step--1); text-underline-offset: 4px; }
.col-music .imdb-link { color: var(--m-dim); text-decoration-color: var(--brass); }
.col-post .imdb-link { color: var(--p-dim); text-decoration-color: var(--teal); }


/* Logo mark sitting on the seam above the name */
.hero-mark { display: block; width: auto; height: clamp(96px, 13vw, 150px); margin: 0 auto clamp(18px, 2.5vw, 28px); }
.portrait img { object-position: 50% 20%; }

/* ---------- Landing state ---------- */
body[data-side="gate"] main > section:not(.hero),
body[data-side="gate"] .site-footer,
body[data-side="gate"] .switch,
body[data-side="gate"] .nav { display: none; }
body[data-side="gate"] .hero {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(24px, 5vh, 56px);
}
body[data-side="gate"] .half-music,
body[data-side="gate"] .half-post { background: transparent; }
body[data-side="gate"] .halves { margin-top: clamp(8px, 2vh, 20px); }
.half-music, .half-post { transition: background-color .6s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
@media (max-width: 720px) {
  body[data-side="gate"] .hero { min-height: 0; }
}

/* The narrower, dimmed half keeps its title inside its column */
body[data-side="music"] .half-post .half-title,
body[data-side="post"] .half-music .half-title { font-size: clamp(1.35rem, 2.3vw, 2rem); }
.half-title { overflow-wrap: break-word; }

/* Landing intro: only shown before a side is chosen */
.gate-intro { display: none; }
body[data-side="gate"] .gate-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: clamp(22px, 3.5vh, 36px) auto 0;
  max-width: 40rem;
}
.gate-line { font: italic 500 clamp(1.3rem, 2.3vw, 1.8rem)/1.4 var(--score); color: var(--ink); text-wrap: balance; }
.gate-prompt { font-size: var(--step--1); color: var(--dim); letter-spacing: .04em; }
.gate-prompt::after { content: ""; display: block; width: 1px; height: 22px; margin: 10px auto 0; background: var(--line); }

/* Landing choices: minimal. Small graphics, label and title, a quiet link. */
body[data-side="gate"] .half { gap: 10px; padding-block: clamp(20px, 3vw, 36px); cursor: pointer; }
body[data-side="gate"] .half-text { display: none; }
body[data-side="gate"] .staff { max-width: 16rem; height: 80px; margin-bottom: 4px; background-size: 100% 60px; background-position: left bottom;
  background-image: repeating-linear-gradient(to bottom, transparent 0 11px, color-mix(in srgb, var(--brass) 38%, transparent) 11px 12px); }
body[data-side="gate"] .staff svg { height: 60px; margin-top: 20px; }
body[data-side="gate"] .bridge { max-width: 16rem; height: 80px; margin-bottom: 4px; display: flex; flex-direction: column; justify-content: flex-end; }
body[data-side="gate"] .bridge-top { margin-bottom: 6px; font-size: .68rem; }
body[data-side="gate"] .tc { font-size: .78rem; }
body[data-side="gate"] .meters { gap: 5px; }
body[data-side="gate"] .meter-col { height: 44px; max-width: 18px; }
body[data-side="gate"] .meter-label { font-size: .62rem; }
body[data-side="gate"] .half-music .half-title { font-size: clamp(2rem, 4.1vw, 3.3rem); }
body[data-side="gate"] .half-post .half-title { font-size: clamp(1.6rem, 3.2vw, 2.7rem); max-width: none; }
body[data-side="gate"] .half .half-title { transition: opacity .3s var(--ease); }
body[data-side="gate"] .halves:hover .half:not(:hover) { opacity: .6; }

/* Landing: both halves start their text on the same line */
body[data-side="gate"] .halves { align-items: start; }
body[data-side="gate"] .half { justify-content: flex-start; }

/* Landing order: label, title, graphic, button. Rows are shared so both sides line up. */
body[data-side="gate"] .halves { grid-template-rows: auto auto auto auto; row-gap: 0; }
body[data-side="gate"] .half {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px;
  justify-items: start;
}
body[data-side="gate"] .half-music { justify-items: end; }
body[data-side="gate"] .half-label { order: 1; align-self: end; }
body[data-side="gate"] .half-title { order: 2; align-self: last baseline; line-height: 1.05; }
body[data-side="gate"] .staff,
body[data-side="gate"] .bridge { order: 3; align-self: center; margin: 10px 0 6px; }
body[data-side="gate"] .half .btn { order: 4; align-self: start; padding: 14px 26px; font-size: 1.05rem; opacity: .9; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 8px 24px -10px rgba(0,0,0,.6); }
body[data-side="gate"] .half .btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
@media (max-width: 720px) {
  body[data-side="gate"] .half-music { justify-items: start; }
}

/* Landing titles: one line each on wider screens */
body[data-side="gate"] .half-music .half-title,
body[data-side="gate"] .half-post .half-title { max-width: none; }
@media (min-width: 721px) {
  body[data-side="gate"] .half-title { white-space: nowrap; }
  body[data-side="gate"] .half-music .half-title { font-size: clamp(1.6rem, 3.2vw, 2.9rem); }
  body[data-side="gate"] .half-post .half-title { font-size: clamp(1.15rem, 2.45vw, 2.2rem); }
}

/* Each side shows its own statement */
.statement-text > div { display: grid; gap: .5em; }
body[data-side="music"] .st-post,
body[data-side="post"] .st-music,
body[data-side="gate"] .statement-text > div { display: none; }

/* ---------- Music side with more bite ---------- */
/* Heavier section heads on the music side */
.col-music .records-head {
  font: 900 clamp(1.7rem, 2.6vw, 2.2rem)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
}
.col-music .records-head::before { content: ""; width: 22px; height: 4px; background: var(--brass); border-radius: 2px; }
.col-music .col-intro .attitude { font: italic 600 clamp(1.4rem, 2.4vw, 1.85rem)/1.25 var(--score); color: var(--m-ink); margin-top: 2px; }

/* Hot accent on interaction */
.col-music .cover:hover img { transform: scale(1.04); }
.col-music .cover img { transition: transform .35s var(--ease); }

/* The melody surges when you hover the music half */
.melody { transform-box: fill-box; transform-origin: center; transition: stroke .3s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .half-music:hover .melody { animation: surge .55s ease-in-out infinite alternate; stroke: var(--ember); }
}
@keyframes surge {
  from { transform: scaleY(1); }
  to { transform: scaleY(1.6); }
}

/* Phones: once a side is chosen, the other side disappears completely */
@media (max-width: 720px) {
  body[data-side="music"] .half-post,
  body[data-side="post"] .half-music,
  body[data-side="music"] .col-post,
  body[data-side="post"] .col-music,
  body[data-side="music"] .other-side,
  body[data-side="post"] .other-side { display: none !important; }
  body[data-side="music"] .halves,
  body[data-side="post"] .halves { grid-template-columns: minmax(0, 1fr); }
}

/* "All credits" sections: collapsed until opened */
.cs-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left;
  text-transform: inherit; letter-spacing: inherit;
}
.cs-toggle::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ease);
}
.callsheet.open .cs-toggle::after { transform: rotate(-135deg) translateY(-3px); }
.cs-toggle:hover { opacity: .85; }
.callsheet:not(.open) .filters,
.callsheet:not(.open) .cs-list,
.callsheet:not(.open) .cs-more,
.callsheet:not(.open) .imdb-link { display: none !important; }

/* Post clients: a typographic list, no logos */
.clients { display: grid; gap: 16px; }
.client-list {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--p-line);
}
.client-list li {
  padding: 14px 10px;
  flex: 0 0 calc(100% / var(--client-cols, 4));
  border-bottom: 1px solid var(--p-line);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 700 1.15rem/1.15 var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--p-ink);
}
@media (max-width: 760px) { .client-list { --client-cols: 2 !important; } .client-list li { font-size: 1rem; flex-basis: 50%; } }
