/* Maggie Joanna Nyzell · brand tokens */
:root {
  --ink: #0E0E0E;
  --paper: #FFFFFF;
  --mist: #F5F5F5;
  --stone: #EDEDED;
  --rule: #E0E0E0;
  --body: #1F1F1F;
  --muted: #595959;
  --graphite: #3A3A3A;
  --silver: #BDBDBD;

  --display: "Jost", "Futura", system-ui, sans-serif;
  --label: "Inter", system-ui, sans-serif;
  --script: "Nothing You Could Do", cursive;

  --wrap: 1240px;
  --section: clamp(72px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 5%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

.label {
  font-family: var(--label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-ink .label { color: var(--silver); }

.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--paper); }

h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.05; }
h3 { font-weight: 600; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.nav-name { font-weight: 600; font-size: 15px; letter-spacing: 0.24em; text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; gap: 0; padding: 8px 5% 16px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding-top: 48px; }
.hero-photo { flex: 1 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-block { position: absolute; left: 8%; right: 4%; top: 10%; bottom: 0; background: var(--stone); }
.hero-photo picture { position: relative; width: 100%; max-width: 620px; }
.hero-text { flex: 1 1 420px; min-width: 0; padding-block: 24px 48px; }
.hero-name { font-weight: 600; font-size: clamp(56px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.01em; }
.typed { margin-top: 28px; font-weight: 300; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; min-height: 1.3em; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 4px; background: var(--ink); vertical-align: -0.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 24px; gap: 8px; }
  .hero-text { padding-block: 16px 56px; }
}

/* Numbers strip */
.strip { background: var(--ink); color: var(--paper); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 42%), 1fr)); gap: 28px 32px; padding-block: 40px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat svg { width: 36px; height: 36px; flex: none; }
.stat strong { display: block; font-weight: 600; font-size: 30px; line-height: 1.1; }
.stat .label { color: var(--silver); font-size: 12px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px 96px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.script { font-family: var(--script); font-size: clamp(46px, 4.8vw, 66px); line-height: 1.3; transform: rotate(-5deg); transform-origin: left bottom; margin-bottom: 24px; }
.script-sm { font-size: 42px; transform: rotate(-4deg); margin-bottom: 8px; }
.body-lg { font-size: 19px; line-height: 1.75; font-weight: 300; color: var(--body); }
.brings { flex: 1 1 340px; min-width: 0; align-self: flex-end; }
.brings-list { list-style: none; margin: 16px 0 0; padding: 0; }
.brings-list li { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 20px; font-weight: 500; }
.brings-list span { font-family: var(--label); font-size: 12px; font-weight: 500; color: var(--muted); }

/* Work */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.work-head .label { margin-bottom: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 15px; cursor: pointer; border-radius: 0; }
.chip:hover { background: var(--stone); }
.chip.is-on { background: var(--ink); color: var(--paper); }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .projects { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--rule); min-width: 0; }
.card[hidden] { display: none; }
.projects.show-all .card-wide { grid-column: 1 / -1; }
.card h3 { font-size: 26px; margin: 10px 0 12px; }
.card p:not(.label) { font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--body); }
.card-pad { padding: 32px 40px 40px; }

.cs { display: flex; flex-wrap: wrap; }
.cs-cover { flex: 1 1 480px; min-width: 0; min-height: 320px; background: var(--ink); color: var(--silver); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-family: var(--label); font-size: 13px; }
.cs-cover svg { width: 40px; height: 40px; stroke: var(--paper); }
.cs-cover img { width: 100%; height: 100%; object-fit: cover; }
.cs-text { flex: 1 1 340px; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.cs-text h3 { font-size: 30px; }
.cs-text .btn { align-self: flex-start; margin-top: 16px; }
.slides { padding: 0 40px 40px; }
.slides-ratio { position: relative; aspect-ratio: 16 / 9; background: var(--stone); }
.slides-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player { display: flex; align-items: center; gap: 16px; background: var(--mist); padding: 16px; margin-top: 24px; }
.play { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play svg { width: 20px; height: 20px; fill: var(--paper); stroke: none; }
.play .i-pause { display: none; }
.play.is-playing .i-play { display: none; }
.play.is-playing .i-pause { display: block; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 40px; cursor: pointer; }
.wave span { flex: 1; border-radius: 2px; background: var(--silver); }
.wave span.on { background: var(--ink); }
.time { font-family: var(--label); font-size: 12px; color: var(--muted); min-width: 34px; text-align: right; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; }
.tile { aspect-ratio: 4 / 5; background: var(--stone); display: flex; align-items: center; justify-content: center; font-family: var(--label); font-size: 11px; color: var(--muted); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.projects.show-all .card-wide .tile { aspect-ratio: 4 / 3; }
.card-wide .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Experience */
.exp { display: flex; flex-wrap: wrap; gap: 64px; }
.exp-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.certs { width: 100%; margin-top: 64px; }
.certs .label { margin-bottom: 8px; font-size: 12px; }
.cert { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--graphite); }
.cert svg { width: 28px; height: 28px; flex: none; margin-top: 2px; }
.cert strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.35; }
.cert span { display: block; margin-top: 4px; font-size: 15px; font-weight: 300; color: var(--silver); }
.timeline { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--graphite); }
.timeline .when { flex: 0 0 140px; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); padding-top: 5px; }
.timeline li > div { flex: 1 1 280px; min-width: 0; }
.timeline h3 { font-size: 22px; font-weight: 500; }
.timeline .where { margin-top: 6px; font-size: 15px; color: var(--silver); }
.timeline p:not(.where) { margin-top: 10px; font-size: 16px; line-height: 1.6; font-weight: 300; color: #E0E0E0; }

.brands { border-top: 1px solid var(--graphite); margin-top: 72px; padding-top: 48px; }
.brands .label, .sectors .label { font-size: 12px; margin-bottom: 24px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.logo { height: 88px; border: 1px solid var(--graphite); display: flex; align-items: center; justify-content: center; padding: 16px; font-weight: 600; font-size: 18px; text-align: center; }
.logo img { max-height: 40px; width: auto; }
.sectors { margin-top: 64px; }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sector-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--graphite); font-size: 17px; }
.sector-grid svg { width: 30px; height: 30px; flex: none; }

/* Testimonials */
.quotes { max-width: 1040px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.quote { display: none; flex-direction: column; align-items: center; gap: 28px; margin-top: 28px; }
.quote.is-on { display: flex; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--stone); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.45; font-weight: 300; }
.who strong { display: block; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.who .label { font-size: 12px; }
.dots { display: flex; gap: 4px; margin-top: 24px; }
.dot { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--silver); transition: width .2s, background .2s; }
.dot[aria-current="true"]::after { width: 28px; background: var(--ink); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px 96px; }
.contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-title { font-size: clamp(48px, 6vw, 88px); line-height: 0.98; }
.contact-text p:not(.script) { font-size: 18px; line-height: 1.6; font-weight: 300; color: #E0E0E0; }
.form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form-row { display: flex; flex-wrap: wrap; gap: 24px; }
.form-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1px solid #6B6B6B; color: var(--paper); padding: 12px 0; font-size: 18px; min-height: 44px; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--paper); }
.form .btn { align-self: flex-start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--graphite); font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.footer a { color: var(--silver); text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* Thank-you page */
.thanks { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }

/* Playlists strip (compact) */
.playlists { background: var(--mist); padding-block: 48px 56px; border-bottom: 1px solid var(--rule); }
.pl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.pl-head h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 8px; }
.pl-arrows { display: flex; gap: 8px; }
.pl-arrow { width: 44px; height: 44px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; }
.pl-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.pl-arrow:disabled { opacity: .3; cursor: default; }
.pl-arrow svg { width: 18px; height: 18px; }
.pl-track { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--silver) transparent; }
.pl-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .pl-track { scroll-behavior: auto; } }
@media (max-width: 1000px) { .pl-track { grid-auto-columns: 58%; } }
@media (max-width: 560px) { .pl-track { grid-auto-columns: 88%; } .pl-arrows { display: none; } }
.pl { scroll-snap-align: start; min-width: 0; height: 152px; display: grid; grid-template-columns: 152px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 18px; background: var(--paper); border: 1px solid var(--rule); padding-right: 16px; }
.pl-media { grid-row: 1 / -1; position: relative; height: 150px; background: var(--stone); overflow: hidden; }
.pl-cover { position: absolute; inset: 0; }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-play { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s; }
.pl-play:hover { transform: scale(1.06); }
.pl-play svg { width: 16px; height: 16px; fill: var(--ink); stroke: none; margin-left: 2px; }
.pl .label { padding-top: 16px; font-size: 11px; }
.pl h3 { font-size: 18px; font-weight: 600; line-height: 1.25; margin-top: 6px; }
.pl-note { font-size: 13.5px; line-height: 1.45; font-weight: 300; color: var(--body); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pl-link { align-self: end; justify-self: start; margin-bottom: 14px; font-family: var(--label); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-underline-offset: 4px; padding: 4px 0; }
.pl.is-playing { grid-template-columns: 1fr; padding: 0; border: 0; background: transparent; }
.pl.is-playing > :not(.pl-media) { display: none; }
.pl.is-playing .pl-media { height: 152px; background: transparent; }
.pl-media iframe { position: absolute; inset: 0; width: 100%; height: 152px; border: 0; border-radius: 12px; }

/* Work cards (v2) */
.card { position: relative; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } .card:hover .card-img img { transform: none; } }
.card-text { padding: 32px 40px 36px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-text h3 { font-size: 26px; margin: 8px 0 6px; }
.card-text > p:not(.label) { font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--body); }
.card-open { align-self: flex-start; margin-top: auto; padding: 18px 0 0; background: none; border: 0; cursor: pointer; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; color: var(--ink); }
.card-open::after { content: ""; position: absolute; inset: 0; }
.card .player { position: relative; z-index: 2; margin: 20px 0 4px; }
.card-split { display: flex; flex-wrap: wrap; flex: 1; }
.card-split .card-text { flex: 1 1 340px; justify-content: center; padding: 40px; }
.card-split .card-text h3 { font-size: 30px; }
.cosmos-cover { flex: 1 1 480px; min-width: 0; min-height: 320px; background: var(--ink); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 32px 36px; }
.cosmos-cover svg { position: absolute; right: -60px; top: -80px; width: 380px; height: 380px; stroke: none; fill: none; }
.card p.cosmos-title { position: relative; color: var(--paper); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.card .cosmos-title span { display: block; font-weight: 300; font-size: 0.6em; margin-top: 6px; color: #E0E0E0; }

/* Case study panels */
.case { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
.case::backdrop { background: rgba(14, 14, 14, .6); }
body.case-open { overflow: hidden; }
.case-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 5%; background: var(--paper); border-bottom: 1px solid var(--rule); }
.case-close { width: 48px; height: 48px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.case-close:hover { background: var(--ink); color: var(--paper); }
.case-close svg { width: 22px; height: 22px; }
.case-body { max-width: 980px; margin: 0 auto; padding: 56px 5% 96px; display: flex; flex-direction: column; gap: 40px; }
.case-body h2 { font-size: clamp(38px, 5vw, 64px); }
.case-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; font-weight: 300; color: var(--body); margin-top: -16px; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 32px; margin: 0; border-top: 2px solid var(--ink); }
.case-meta > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.case-meta dt { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin: 6px 0 0; font-size: 17px; line-height: 1.45; }
.case-sec { display: flex; flex-direction: column; gap: 12px; }
.case-sec h3 { font-size: 24px; }
.case-sec p, .case-sec li, .case-also { font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--body); }
.case-sec ul, .case-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.case-sec b, .case-also b { font-weight: 500; color: var(--ink); }
.case-quote { margin: 0; padding: 40px; background: var(--ink); color: var(--paper); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; font-weight: 300; }
.case-quote span { display: block; margin-top: 16px; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.case-gallery { display: grid; gap: 12px; }
.case-gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-gallery img { width: 100%; height: auto; border: 1px solid var(--rule); }
@media (max-width: 640px) { .case-gallery-2, .case-gallery-3 { grid-template-columns: minmax(0, 1fr); } }
.case-ads { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 42%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: -24px; align-items: start; }
.case-ads img { width: 100%; height: auto; scroll-snap-align: start; border: 1px solid var(--rule); background: var(--paper); }
@media (max-width: 640px) { .case-ads { grid-auto-columns: 82%; } }
.case-results { background: var(--mist); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; }
.stats strong { display: block; font-weight: 600; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.case-cues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.case-cues > div { background: var(--ink); color: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.case-cues .label { color: var(--silver); }
.case-cues h3 { font-size: 34px; }
.case-cues .who { color: var(--silver); font-size: 16px; }
.case-cues p:last-child { font-size: 16px; line-height: 1.6; font-weight: 300; color: #E0E0E0; margin-top: 8px; }
.case-film { aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.case-film p { font-family: var(--label); font-size: 14px; color: var(--silver); }
.case-film iframe { width: 100%; height: 100%; border: 0; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.player-lg { margin: 0; padding: 24px; }
.radio-media { background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 32px 40px; }
.card .radio-label { color: var(--silver); }
.radio-media .player { background: transparent; padding: 0; margin: 0; }
.radio-media .play { background: var(--paper); }
.radio-media .play svg { fill: var(--ink); }
.radio-media .wave span { background: var(--graphite); }
.radio-media .wave span.on { background: var(--paper); }
.radio-media .time { color: var(--silver); }

/* Logos */
.logo-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logo { height: 104px; padding: 24px; }
.logo img { max-width: 140px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.sector-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 32px; }

/* Testimonial initials */
.avatar { display: flex; align-items: center; justify-content: center; background: var(--ink); }
.avatar span { font-family: var(--label); font-weight: 500; font-size: 26px; letter-spacing: 0.06em; color: var(--paper); }
.quote blockquote { max-width: 860px; }

/* Cosmos shortlist */
.shortlist { display: flex; flex-direction: column; gap: 14px; margin-top: -16px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.track { padding: 22px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.track h4 { margin: 0; font-size: 22px; font-weight: 600; }
.track h4 span { font-weight: 300; color: var(--muted); }
.track-theme { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.track p:last-child { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--body); }
.badge { font-family: var(--label); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 10px; }
.listen { align-self: flex-start; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-underline-offset: 5px; padding: 6px 0; }

/* Rights tables */
.rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: -16px; align-items: start; }
.rights > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rights-table { overflow-x: auto; }
.rights table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.5; }
.rights th, .rights td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); }
.rights thead th { font-family: var(--label); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rights tbody th { font-weight: 500; width: 38%; color: var(--ink); }
.rights td { font-weight: 300; color: var(--body); }

/* PDF viewer */
.pdf-viewer { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #2A2A2A; color: var(--ink); overflow-y: auto; }
.pdf-viewer::backdrop { background: rgba(14, 14, 14, .7); }
.pdf-actions { display: flex; align-items: center; gap: 20px; }
.pdf-open { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-underline-offset: 5px; color: var(--ink); }
.pdf-pages { max-width: 1100px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
.pdf-page { width: 100%; background: #3A3A3A; position: relative; }
.pdf-page canvas { display: block; width: 100%; height: 100%; }
.pdf-status { color: #E0E0E0; font-family: var(--label); font-size: 14px; text-align: center; padding: 64px 0; }

/* Playlist cards with descriptions */
.pl { height: auto; min-height: 152px; grid-template-rows: auto auto auto 1fr; }
.pl-media { grid-row: 1 / 5; height: auto; min-height: 150px; align-self: stretch; }
.pl .pl-note { display: block; overflow: visible; -webkit-line-clamp: unset; font-size: 13.5px; line-height: 1.5; font-weight: 300; color: var(--body); margin-top: 6px; }
.pl-link { margin: 10px 0 14px; }
.pl.is-playing .pl-media { grid-row: auto; height: 152px; min-height: 0; }
@media (max-width: 560px) {
  .pl { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding-right: 14px; }
  .pl-media { grid-row: 1 / 3; height: 96px; min-height: 0; }
  .pl .pl-note, .pl-link { grid-column: 1 / -1; padding-left: 14px; }
  .pl-link { justify-self: start; }
}

/* Keep the headshot in proportion */
.hero-photo img { width: 100%; height: auto; }

/* Playlist cards without track counts */
.pl h3 { padding-top: 16px; }
@media (max-width: 560px) { .pl h3 { padding-top: 12px; } }

/* Cosmos: film and track embeds */
.track p:last-child { font-size: inherit; }
.track > p:not(.track-theme) { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--body); }
.track-embed { margin-top: 8px; }
.track-embed iframe { width: 100%; height: 80px; border: 0; border-radius: 12px; display: block; }
.case-film { padding: 0; }
.film-link { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 16px 24px; border: 1px solid var(--paper); }
.film-link:hover { background: var(--paper); color: var(--ink); }
.film-link svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* Waveforms in the decision boxes */
.case-cues > div { position: relative; }
.cue-wave { display: block; width: 100%; height: 28px; margin-top: auto; padding-top: 20px; box-sizing: content-box; }
.case-cues p:not(.label):not(.who) { font-size: 16px; line-height: 1.6; font-weight: 300; color: #E0E0E0; margin-top: 8px; }

/* Clickable links inside PDF pages */
.pdf-link { position: absolute; display: block; border-radius: 4px; cursor: pointer; }
.pdf-link:hover, .pdf-link:focus-visible { background: rgba(255,255,255,.12); outline: 2px solid #FFFFFF; outline-offset: 1px; }
