/* Selected film concept: original text geometry, a full-width moving backdrop. */
.nav nav .nav-mobile-contact { display: inline-flex; }
.nav .nav-right a.nav-cta { display: none; }
.nav-right .language-toggle { order: 2; }
.hero-video { background: #25251f; }
.hero-video .hero-art { background: #141914; }
.hero-film { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82); }
.hero-video::after { background: linear-gradient(90deg, #182019f0, #20291ea3 35%, #21251c26 72%), linear-gradient(180deg, #11171012 30%, #182018ca 100%); }
.hero-video .photo-tag { color: #eee4d1; border-color: #dac29966; }

/* Keep both native umlaut dots clear of the italic f's round terminal. */
.hero h1 em .hero-word { white-space: nowrap; }
.hero h1 em .hero-umlaut { display: inline-block; margin-left: .1em; }

/* Case audio uses the existing overlay buttons, without loading on page entry. */
.case-audio-status { margin: 10px 0 0; font-size: 13px; line-height: 1.65; }
.case-audio-status:empty { display: none; }
.client-play[aria-pressed="true"] span { transform: none; }

/* Portrait uses the original photograph, without changing the surrounding copy. */
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 96px); }
.about-portrait { width: 100%; max-width: 420px; justify-self: center; margin: 0 auto; padding: 10px; border: 1px solid #e3c59399; background: #d3bf99; box-shadow: 0 18px 40px #1d241b40; }
.portrait-window { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #665b44; }
.portrait-window img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translateX(-4%); transform-origin: 58% 52%; filter: sepia(.32) saturate(.66) contrast(.95) brightness(1.02); }
.portrait-window::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(140deg, #e6c88c12, #61472512), radial-gradient(ellipse, transparent 55%, #31251e24); box-shadow: inset 0 0 24px #493a2524; }
.about-layout .about-copy { display: block; }
.about-layout .about-copy h2 { margin-bottom: 28px; }
.about-layout .about-copy > div { padding-top: 0; }

/* Studio details and the location map share one fitted mosaic. */
.photo-archive { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); grid-template-areas: 'guitars guitars desk microphone' 'guitars guitars instruments speakers' 'desk-side desk-side instruments speakers' 'equipment equipment map map' 'equipment equipment map map'; aspect-ratio: 4 / 3; gap: 16px; }
.photo-archive .studio-shot { position: relative; display: block; min-height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; aspect-ratio: auto; background: #181c18; box-shadow: none; text-decoration: none; }
.photo-archive .studio-shot:first-child { aspect-ratio: auto; }
.photo-archive [data-photo-number="01"] { grid-area: guitars; }
.photo-archive [data-photo-number="03"] { grid-area: desk; }
.photo-archive [data-photo-number="04"] { grid-area: microphone; }
.photo-archive [data-photo-number="08"] { grid-area: instruments; }
.photo-archive [data-photo-number="13"] { grid-area: desk-side; }
.photo-archive [data-photo-number="14"] { grid-area: speakers; }
.photo-archive [data-photo-number="16"] { grid-area: equipment; }
.photo-archive .studio-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
@media (max-width: 960px) {
  .hero-video::after { background: linear-gradient(90deg, #182019ee, #20291ead 55%, #21251c40), linear-gradient(0deg, #182018b3, transparent 40%); }
  .about-layout { gap: 40px; }
  .photo-archive { gap: 12px; }
}
@media (max-width: 700px) {
  .hero-video::after { background: linear-gradient(90deg, #182019e6, #18201999), linear-gradient(0deg, #182018c9, transparent 60%); }
  .hero-film { object-position: 62% center; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-layout .about-copy { grid-row: 1; }
  .about-portrait { max-width: 360px; }
  .photo-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, clamp(100px, 35vw, 180px))) 280px; grid-template-areas: 'guitars guitars' 'guitars guitars' 'desk microphone' 'instruments speakers' 'instruments speakers' 'desk-side desk-side' 'desk-side desk-side' 'equipment equipment' 'map map'; aspect-ratio: auto; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-archive .studio-shot img { transition: none; }
}

/* Matching static analog bands frame the moving film at the same full width. */
:root { --analog-panel-bg: repeating-linear-gradient(90deg, #100f0a12 0 2px, transparent 2px 85px), radial-gradient(ellipse at 80% 40%, #7a604044, transparent 65%), linear-gradient(125deg, #25291e, #4e4934 65%, #1c241b); }
.hero-video { min-height: clamp(580px, calc(100svh - var(--header-height) - 112px), 760px); padding-top: 104px; padding-bottom: 64px; }
.hero-top-band { position: absolute; inset: 0 0 auto; z-index: 4; height: 80px; padding: 0 var(--rail); display: flex; justify-content: flex-end; align-items: center; border-bottom: 5px solid #b99b6b; background: var(--analog-panel-bg); box-shadow: inset 0 -1px #eed3a280; }
.hero-top-band .photo-tag { position: static; margin: 0; }
.hero-recognition { width: 100%; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px var(--rail); margin: 0; border-top: 5px solid #b99b6b; border-bottom: 3px solid #cba56b; box-shadow: inset 0 1px #eed3a280; background: var(--analog-panel-bg); }
.hero-recognition .hero-achievement { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 50px minmax(24px, auto); align-items: center; gap: 4px; padding: 0 16px; text-align: center; }
.hero-recognition .award-logo { grid-row: 1; justify-self: center; align-self: center; }
.hero-recognition .hero-achievement > span { grid-row: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 .4em; max-width: none; min-height: 24px; }
.billboard-heading { grid-row: 1; display: flex; justify-content: center; align-items: center; gap: 10px; min-width: 0; }
.billboard-rank { flex: none; color: #dfc399; font: 700 22px/1 Manrope, Arial, sans-serif; letter-spacing: -.04em; }
.smask-logo { display: block; width: 160px; max-width: 100%; height: 50px; object-fit: contain; filter: grayscale(1) sepia(.2) saturate(.4); }
/* Keep the historic artwork intact; the display treatment matches the cream wordmarks. */
.svensktoppen-logo { display: block; width: 144px; max-width: 100%; height: 50px; object-fit: contain; filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.first-screen + .marquee { border-top: 0; }

/* On desktop the opening and merits fit one viewport; clients follow on scroll. */
@media (min-width: 961px) {
  .first-screen { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100svh - var(--header-height)); }
  .first-screen .hero-video { min-height: 0; padding-top: 104px; padding-bottom: 24px; gap: 0; }
  .first-screen .hero-copy { min-height: 0; }
  .first-screen .hero h1 { max-width: none; font-size: clamp(56px, min(7.4vw, 10svh), 104px); }
  .first-screen .intro { margin: 16px 0; font-size: 16px; line-height: 1.6; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .first-screen .hero-video { padding-top: 76px; padding-bottom: 12px; }
  .first-screen .hero-top-band { height: 60px; }
  .first-screen .hero h1 { font-size: clamp(44px, min(6.8vw, 8.5svh), 64px); }
  .first-screen .intro { max-width: 55ch; margin: 10px 0; font-size: 15px; line-height: 1.5; }
  .first-screen .hero-recognition { padding-top: 16px; padding-bottom: 16px; }
}

/* All case artwork opens a project, including cards awaiting audio. */
.client-cover[data-case="trassbergs-cement"] { --case-bg: #f3eee1; }
.case-category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.case-category-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #a9916780; color: #454c36; font-size: 13px; font-weight: 700; text-decoration: none; }
.case-category-nav a:hover { background: #454c36; color: #f0eadb; }
.case-category-nav a:focus-visible { outline: 3px solid #795937; outline-offset: 3px; }
.case-category { margin-top: 64px; scroll-margin-top: calc(var(--header-height) + 24px); }
.case-category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid #a9916780; }
.case-category-heading h3 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.04em; }
.case-category-heading > span { font: 400 12px/1.6 'DM Mono', monospace; color: #795937; }
.case-category .release-grid { margin-top: 28px; }
@media (min-width: 701px) and (max-width: 1100px) {
  .case-category .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.track-cover { padding: 0; background: #292820; overflow: hidden; }
.track-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.release-meta .track-artist { display: block; margin-top: 6px; font: 400 13px/1.6 Manrope, Arial, sans-serif; color: #625c4d; letter-spacing: 0; }
.film-placeholder { align-items: center; justify-content: space-between; text-align: center; padding: 24px; color: #e4cfaa; background: radial-gradient(ellipse at 100% 0, #8a70453d, transparent 70%), #30382c; }
.film-placeholder-2 { background: radial-gradient(ellipse at 0 100%, #c9a36b33, transparent 70%), #403529; }
.film-placeholder strong { font: 500 clamp(24px, 3vw, 44px)/1.12 Manrope, Arial, sans-serif; letter-spacing: -.04em; }
.film-placeholder strong em { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
.film-placeholder-label, .film-placeholder-note { font: 400 10px/1.6 'DM Mono', monospace; letter-spacing: .08em; }
.film-placeholder-note { opacity: .7; }
.release .cover-art > button:not(.case-open) { display: none; }
#galleri .release .cover-art { border: 0; box-shadow: none; }
#galleri [data-spotify-track="5BrkPZIau5NjoZF4pDDEKJ"] .cover-art { background: #00345b; }
#galleri [data-spotify-track="49M2a44svfLMEU9fURKSWm"] .cover-art { background: #fff; }
#galleri [data-spotify-track="5BrkPZIau5NjoZF4pDDEKJ"] .cover-art > img,
#galleri [data-spotify-track="49M2a44svfLMEU9fURKSWm"] .cover-art > img {
  position: absolute; top: 50%; left: 50%; width: 74%; height: 74%;
  transform: translate(-50%, -50%); object-fit: contain;
}
#galleri [data-case-youtube="t3cZKQtyFqI"] .cover-art {
  background-image: url('assets/cases/kickstiff-logo.jpg') !important;
  background-size: 100% 500% !important; background-position: center top !important;
}
#galleri [data-case-youtube="t3cZKQtyFqI"] .cover-art > img {
  position: absolute; top: 50%; left: 50%; width: 74%; height: 74%;
  transform: translate(-50%, -50%); object-fit: contain;
}
.case-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.case-open > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #eee7d8; border-radius: 50%; background: #292820dc; box-shadow: 0 2px 12px #0003; transition: opacity .2s ease; }
.case-open:focus-visible { outline: 3px solid #cba56b; outline-offset: -4px; }
#galleri .cover-art > .release-meta { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px 16px 16px; pointer-events: none; color: #f0eadb; background: linear-gradient(transparent, #141914ed 36%); opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
#galleri .cover-art > .release-meta p { color: #f0eadb; overflow-wrap: anywhere; }
#galleri .cover-art > .release-meta > span { color: #e0d5c0; }
#galleri .release:hover .release-meta, #galleri .release:focus-within .release-meta { opacity: 1; transform: none; }
#galleri .release > .video-fallback, #galleri .release > .case-audio-status { display: none; }
footer > div { flex-wrap: wrap; gap: 12px 24px; }
footer > p, footer > div > a, footer > div > button.analytics-settings { font-size: 12px; line-height: 1.6; }
footer > div > button.analytics-settings { display: inline-flex; align-items: center; min-height: 44px; }
footer > div a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about .text-link { position: relative; display: inline-flex; align-items: center; width: fit-content; min-height: 44px; gap: 10px; padding: 0; border-bottom: 0; line-height: 1.4; vertical-align: middle; }
.about .text-link::after { content: ''; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: currentColor; }
.about .text-link span { display: inline-block; flex: none; font-size: 20px; line-height: 1; }
@media (max-width: 700px), (hover: none), (pointer: coarse) {
  /* Titles and playback controls belong in the opened case, not on touch artwork. */
  #galleri .cover-art > .release-meta { display: none; }
  #galleri .release-kia .cover-art > span, #galleri .release-kia .cover-art > i { display: none; }
  #galleri .case-open > span { display: none; }
  #galleri .release-kia .kia-brand { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 701px) {
  .case-open > span { opacity: 0; }
  .release:hover .case-open > span, .release:focus-within .case-open > span { opacity: 1; }
}

body.case-dialog-open { overflow: hidden; }
.case-dialog { width: min(1020px, calc(100% - 48px)); max-width: none; max-height: calc(100svh - 48px); padding: 28px; border: 1px solid #b99b6b; background: #ece4d2; color: #292820; box-shadow: 0 24px 90px #0006; }
.case-dialog::backdrop { background: #151a16dc; }
.case-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #a9916770; }
.case-dialog-toolbar > span, .case-dialog-category { font: 400 11px/1.6 'DM Mono', monospace; letter-spacing: .09em; }
.case-dialog-toolbar button { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; border: 1px solid #a9916770; background: transparent; color: inherit; }
.case-dialog-toolbar button:hover { background: #dcccad; }
.case-dialog-toolbar button span { font-size: 24px; line-height: 1; }
.case-dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.case-dialog-art { min-width: 0; }
.case-dialog-art .cover-art { width: 100%; transform: none; }
.case-local-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 65svh; object-fit: contain; background: #141914; }
.case-dialog-copy { min-width: 0; }
.case-listening-note { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid #a9916780; background: #454c360d; color: #454c36; font-size: 14px; font-weight: 700; line-height: 1.5; }
.case-listening-note[hidden] { display: none; }
.case-listening-note svg { flex: 0 0 26px; }
.case-dialog-copy h2 { margin: 10px 0 20px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.055em; overflow-wrap: anywhere; }
.case-dialog-category { color: #795937; margin: 0; }
#caseDialogDescription { font-size: 16px; line-height: 1.8; color: #625c4d; }
.case-dialog-controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.case-dialog-controls .kia-play, .case-dialog-controls .client-play { position: static; top: auto; left: auto; bottom: auto; transform: none; display: grid; flex: 0 0 56px; width: 56px; height: 56px; opacity: 1; pointer-events: auto; border-color: #454c36; background: #454c36; color: #f0eadb; }
.case-dialog-controls button:hover { background: #795937; }
.case-player-label { font-size: 14px; font-weight: 700; }
.case-dialog-availability { color: #795937; font-size: 14px; line-height: 1.7; margin-top: 26px; }
.case-dialog-availability:empty { display: none; }
.case-spotify-embed { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; margin-top: 20px; background: #292820; }
.case-extra-track-label { margin: 20px 0 8px; color: #795937; font-size: 14px; font-weight: 700; }
.case-extra-track-label + .case-spotify-embed { margin-top: 8px; }
.case-spotify-link { display: inline-block; margin-top: 16px; color: #795937; font-size: 14px; text-underline-offset: 4px; }
.case-dialog .case-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; margin-top: 20px; }
.case-dialog .video-fallback { margin-top: 16px; }

/* Film cases get a larger viewing area; audio and musician dialogs are unchanged. */
.case-dialog-film { width: min(1360px, calc(100% - 48px)); }
.case-dialog-film .case-dialog-layout { grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); gap: 28px; }
.case-dialog-film .case-dialog-art { width: 100%; }
.case-dialog-film .case-local-video, .case-dialog-film .case-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 68svh; margin: 0; object-fit: contain; background: #141914; }
.case-dialog-film .wintergatan-cover { aspect-ratio: 16 / 9; }
@media (max-width: 960px) {
  .case-dialog-film .case-dialog-layout { grid-template-columns: 1fr; gap: 22px; }
  .case-dialog-film .case-dialog-art { width: 100%; }
}

.contact-location { min-width: 0; }
/* The live spam check follows the form rail, without the old placeholder box. */
.contact-form .captcha-slot { min-width: 0; }
.contact-form #captchaMount[data-sitekey] { display: block; width: 100%; min-width: 0; min-height: 65px; padding: 0; border: 0; background: transparent; }
.studio-map { grid-area: map; display: flex; flex-direction: column; min-width: 0; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 0; overflow: hidden; border: 1px solid #b99b6b80; background: #c9b997; color: #eee4d1; box-shadow: none; }
.studio-map iframe { display: block; flex: 1 1 0; min-height: 0; width: 100%; height: 100%; border: 0; background: #ded6c3; filter: none; }
.studio-map figcaption { display: flex; flex: none; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #b99b6b80; background: #343c2e; font: 400 11px/1.6 'DM Mono', monospace; }
.studio-map a { color: inherit; }
.studio-map a:focus-visible { outline: 2px solid #e3c593; outline-offset: 3px; }

@media (max-width: 700px) {
  footer > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .case-category-nav { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 5px; }
  .case-category-nav a { justify-content: center; text-align: center; min-width: 0; padding: 8px 4px; font-size: clamp(9px, 2.5vw, 12px); white-space: nowrap; }
  html[lang="en"] .case-category-nav { grid-template-columns: 1.15fr 1fr 1.35fr; }
  html[lang="en"] .case-category-nav a { padding-inline: 1px; }
  .gear { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 8px; font-size: clamp(9px, 2.6vw, 11px); letter-spacing: 0; }
  .gear > span { white-space: nowrap; }
  .case-category { margin-top: 44px; }
  .case-category .release-grid { margin-top: 24px; }
  .film-placeholder { padding: 16px; }
  .film-placeholder strong { font-size: 24px; }
  .release-meta .track-artist { font-size: 11px; }
  .first-screen { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: calc(100svh - var(--header-height)); }
  .first-screen .hero-video { min-height: 0; padding-top: 96px; padding-bottom: 32px; gap: 0; }
  .first-screen .intro { margin: 16px 0; line-height: 1.6; }
  .hero-top-band { height: 72px; }
  .hero-recognition { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 14px 10px; }
  .hero-recognition .hero-achievement { grid-template-rows: 32px minmax(34px, auto); gap: 5px; padding: 0 5px; }
  .hero-recognition .hero-achievement + .hero-achievement { border-left: 1px solid #b9a57a60; }
  .hero-recognition .hero-achievement > span { min-height: 34px; font-size: clamp(7px, 1.85vw, 10px); line-height: 1.5; letter-spacing: 0; }
  .hero-recognition .hero-achievement > span b { font-size: 15px; }
  .hero-recognition .guldorat-logo { font-size: clamp(15px, 4.4vw, 25px); }
  .hero-recognition .billboard-logo { font-size: clamp(16px, 4.6vw, 26px); }
  .hero-recognition .billboard-heading { gap: 4px; }
  .hero-recognition .billboard-heading .billboard-logo { font-size: clamp(12px, 3.4vw, 20px); }
  .hero-recognition .billboard-rank { font-size: clamp(10px, 2.6vw, 15px); }
  .hero-recognition .billboard-logo i { top: 3px; width: 2px; height: 2px; }
  .hero-recognition .smask-logo, .hero-recognition .svensktoppen-logo { width: 100%; height: 32px; }
  .case-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); padding: 16px; }
  .case-dialog-film { width: calc(100% - 24px); }
  .case-dialog-toolbar { margin-bottom: 16px; }
  .case-dialog-layout { grid-template-columns: 1fr; gap: 24px; }
  .case-dialog-art { width: min(100%, 330px); justify-self: center; }
  .case-dialog-copy h2 { font-size: 32px; }
  .case-dialog-controls { margin-top: 20px; }
  .studio-map figcaption { flex-wrap: wrap; }
}

/* Keep case popups inside a phone's visible viewport, with a fixed close row. */
@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) {
  #caseDialog {
    --case-safe-x: max(10px, env(safe-area-inset-left), env(safe-area-inset-right));
    --case-safe-y: max(10px, env(safe-area-inset-top), env(safe-area-inset-bottom));
    width: calc(100% - var(--case-safe-x) - var(--case-safe-x));
    max-height: calc(100svh - var(--case-safe-y) - var(--case-safe-y));
    max-height: calc(100dvh - var(--case-safe-y) - var(--case-safe-y));
    padding: 12px;
    overflow: hidden;
  }
  #caseDialog[open] { display: flex; flex-direction: column; }
  #caseDialog .case-dialog-toolbar { flex: none; margin-bottom: 12px; padding-bottom: 10px; gap: 8px; }
  #caseDialog .case-dialog-toolbar button { flex: none; gap: 10px; }
  #caseDialog .case-dialog-layout {
    flex: 0 1 auto; min-height: 0; grid-template-columns: minmax(0, 1fr);
    align-items: start; gap: 14px; padding: 3px 4px 4px;
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  }
  #caseDialog .case-dialog-art { width: min(100%, 180px, 26svh); justify-self: center; }
  #caseDialog.case-dialog-film .case-dialog-art { width: min(100%, 440px); }
  #caseDialog .case-local-video, #caseDialog .case-video { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; margin: 0; }
  #caseDialog .case-dialog-copy h2 { margin: 6px 0 10px; font-size: 26px; }
  #caseDialog .case-dialog-category { font-size: 10px; overflow-wrap: anywhere; }
  #caseDialogDescription { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
  #caseDialog .case-listening-note { margin-bottom: 12px; padding: 10px; font-size: 13px; }
  #caseDialog .case-dialog-controls { gap: 12px; margin-top: 12px; }
  #caseDialog .case-dialog-controls .kia-play, #caseDialog .case-dialog-controls .client-play { flex-basis: 48px; width: 48px; height: 48px; }
  #caseDialog .case-player-label { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  #caseDialog .case-dialog-availability { margin: 12px 0; font-size: 13px; }
  #caseDialog .case-spotify-link { margin-top: 12px; }
}
@media (min-width: 701px) and (max-width: 960px) and (max-height: 500px) {
  #caseDialog .case-dialog-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  #caseDialog .case-dialog-art { width: min(100%, 160px, 42svh); }
}
@media (prefers-reduced-motion: reduce) {
  .case-open > span { transition: none; }
  #galleri .cover-art > .release-meta { transition: none; transform: none; }
}
