:root {
  color-scheme: dark;
  --ink: #101211;
  --paper: #f0f2ee;
  --muted: #b1b7b1;
  --line: #ffffff29;
  --acid: #d4ed83;
  --cyan: #8fe1d6;
  --lg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --lg-fg: #f0f2ee;
  --lg-radius: 28px;
  --lg-tint-h: 140;
  --lg-tint-a: .16;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--lg-font); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, h1, h2, h3, p { margin: 0; }
button[hidden], [hidden] { display: none !important; }
button:disabled { opacity: .4; cursor: default; }
svg { width: 22px; height: 22px; flex-shrink: 0; stroke-width: 1.65; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; inset-block-start: 10px; inset-inline-start: 15px; padding: 12px 20px; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.icon-button { display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 13px; font-weight: 650; }
.icon-button:hover { background-color: #ffffff18; }
.wordmark { font-size: 20px; line-height: 1; font-weight: 800; display: inline-flex; flex-direction: column; gap: 8px; direction: ltr; }
.wordmark span { font-size: 10px; font-weight: 400; line-height: 1.3; }
.small-mono, .section-index, .choice-index { font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; direction: ltr; unicode-bidi: isolate; }
.section-index { display: block; margin-bottom: 12px; opacity: .7; }
.entry-header, .studio-header { display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 4; padding: max(22px, env(safe-area-inset-top)) 24px 20px; }
.entry-header { padding-inline: 36px; }
.header-actions { display: flex; gap: 8px; }
.entry-title { position: absolute; z-index: 3; top: 115px; inset-inline: 36px; pointer-events: none; font-size: 62px; line-height: 1; font-weight: 650; }
.entry-title small { display: block; margin-top: 18px; font-size: 15px; font-weight: 450; line-height: 1.4; }
.experience-choices { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: max(760px, 100svh); }
.experience-choice { position: relative; min-width: 0; overflow: hidden; display: flex; align-items: flex-end; padding: 50px 36px 95px; }
.experience-choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.experience-choice--mobile img { object-position: 34% 46%; }
.experience-choice--cinematic img { object-position: 69% 50%; }
.experience-choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #03090966, #0309090a 40%, #030909cf); }
.experience-choice--cinematic { border-inline-start: 1px solid var(--line); }
.choice-copy { position: relative; z-index: 2; max-width: 480px; }
.choice-index { opacity: .75; }
.choice-copy h2 { font-size: 35px; font-weight: 550; line-height: 1.25; margin-top: 16px; }
.choice-copy p { margin-top: 12px; font-size: 16px; }
.choice-action { display: inline-flex; align-items: center; gap: 15px; padding: 15px 21px; margin-top: 28px; min-height: 52px; font-size: 14px; background-color: #181e1b66; }
.choice-action svg:last-child { margin-inline-start: 10px; }
.experience-choice:hover img { transform: scale(1.035); }
.entry-footer { position: absolute; z-index: 3; bottom: 25px; inset-inline: 36px; display: flex; justify-content: space-between; font: 10px ui-monospace, monospace; direction: ltr; }

.studio-hero { position: relative; height: min(72svh, calc(100svh - 190px)); min-height: 400px; max-height: 760px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.studio-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #070b1455, transparent 30%, #070b1455 65%, #070b14eb); pointer-events: none; }
.hero-caption { position: absolute; inset-inline: 24px; bottom: 85px; z-index: 1; }
.eyebrow { font-size: 12px; margin-bottom: 14px; }
.hero-caption h1 { font-size: 68px; font-weight: 650; line-height: 1; max-width: 100%; overflow-wrap: anywhere; }
.hero-line { margin-top: 17px; font-size: 17px; }
.hero-link { margin-top: 23px; min-height: 44px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid #ffffff80; font-size: 14px; }
.hero-foot { position: absolute; z-index: 1; bottom: 16px; inset-inline: 24px; display: flex; align-items: center; justify-content: space-between; }
.hero-foot > span { font: 10px ui-monospace, monospace; }
.section-pad { padding: 42px 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.section-heading h2 { font-size: 30px; font-weight: 550; line-height: 1.2; }
.section-heading > svg { width: 30px; height: 30px; }
.section-heading .small-mono { white-space: nowrap; opacity: .6; }
.work-filters { display: flex; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-button { border: 0; padding: 12px; min-height: 46px; background: transparent; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; }
.filter-button svg { width: 16px; height: 16px; }
.filter-button.is-active { background: var(--acid); color: var(--ink); }
.feed-status { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 14px 0 18px; }
.feed-status:empty { display: none; }
.feed-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 2px 0 6px; }
.feed-bar .feed-status { margin: 0; }
.autoplay-toggle { margin-inline-start: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; }
.autoplay-track { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #ffffff2e; transition: background-color .2s; }
.autoplay-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: inset-inline-start .2s, background-color .2s; }
.autoplay-toggle[aria-checked="true"] { color: var(--paper); }
.autoplay-toggle[aria-checked="true"] .autoplay-track { background: var(--acid); }
.autoplay-toggle[aria-checked="true"] .autoplay-track::after { inset-inline-start: 19px; background: var(--ink); }
.works-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 26px; }
.work-item { min-width: 0; }
.work-preview { width: 100%; padding: 0; display: block; position: relative; border: 0; border-radius: 6px; overflow: hidden; background: #232827; aspect-ratio: 16 / 10; }
.work-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.work-preview:hover img { transform: scale(1.035); }
.work-item--instagram .work-preview { aspect-ratio: 4 / 5; }
.work-frame { position: relative; }
.work-sound { position: absolute; left: 15px; bottom: 15px; display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff77; border-radius: 50%; background: #0009; }
.work-sound svg { width: 20px; height: 20px; }
.work-sound[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.work-preview.is-live + .work-sound { display: grid; }
.work-live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .35s; }
iframe.work-live { inset: -6%; width: 112%; height: 112%; max-width: none; }
.work-preview.is-live .work-live { opacity: 1; }
.work-play { position: absolute; left: 15px; bottom: 15px; display: grid; place-items: center; border: 1px solid #ffffff77; border-radius: 50%; width: 44px; height: 44px; background: #0009; transition: opacity .25s; }
.work-preview.is-live .work-play { opacity: 0; }
.work-source { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; align-items: center; padding: 5px 9px; background: #000a; border-radius: 4px; font: 10px ui-monospace, monospace; }
.work-source svg { width: 13px; height: 13px; }
.work-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-top: 12px; }
.work-caption h3 { font-size: 18px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.work-caption > span { font: 10px/1.7 ui-monospace, monospace; opacity: .5; margin-top: 3px; }
.work-caption p { font-size: 10px; opacity: .65; margin-top: 6px; direction: ltr; }
.more-button { width: 100%; display: flex; justify-content: center; align-items: center; gap: 15px; min-height: 54px; margin-top: 30px; background: transparent; border: 1px solid #ffffff4d; border-radius: 6px; font-size: 14px; }
.more-button:hover { background: #ffffff0a; }
.instagram-note { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.instagram-note > div, .instagram-note a { display: inline-flex; align-items: center; gap: 8px; }
.instagram-note a { min-height: 44px; color: #e7b8cc; }
.empty-feed { grid-column: 1 / -1; padding: 30px 0; }
.empty-feed h3 { font-size: 23px; font-weight: 500; margin-bottom: 12px; }
.empty-feed p { font-size: 14px; color: var(--muted); max-width: 500px; }
.empty-feed a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 15px; color: #e7b8cc; }
.studio-about { background: #e5e9e3; color: #18221c; padding-block: 58px; }
.studio-about h2 { font-size: 34px; font-weight: 550; line-height: 1.25; max-width: 650px; }
.about-description { margin-top: 24px; max-width: 680px; font-size: 17px; line-height: 1.8; }
.practice-lines { margin-top: 34px; }
.practice-lines > div { display: grid; grid-template-columns: 26px 1fr; gap: 2px 13px; padding: 19px 0; border-top: 1px solid #18221c30; }
.practice-lines strong { font-size: 17px; font-weight: 600; }
.practice-lines span:first-child { font: 10px/2 ui-monospace, monospace; padding-top: 3px; opacity: .65; }
.practice-lines span:last-child { grid-column: 2; font-size: 12px; opacity: .7; }
.code-section { background: #152523; }
.code-cover { height: 230px; overflow: hidden; position: relative; margin-bottom: 20px; }
.code-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.code-cover-caption { position: absolute; bottom: 12px; left: 12px; background: #101211d6; padding: 4px 10px; font: 10px/1.6 ui-monospace, monospace; }
.repo-list { display: grid; }
.repo-item { display: grid; grid-template-columns: 48px 1fr 22px; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.repo-icon { width: 48px; height: 54px; background: #8fe1d611; color: var(--cyan); display: grid; place-items: center; border-radius: 6px; }
.repo-item h3 { font-size: 17px; font-weight: 550; overflow-wrap: anywhere; line-height: 1.4; direction: ltr; text-align: start; }
.repo-item p { margin-top: 7px; font-size: 13px; color: #baccc7; line-height: 1.6; overflow-wrap: anywhere; }
.repo-meta { display: flex; gap: 15px; margin-top: 12px; font: 10px/1.5 ui-monospace, monospace; color: var(--cyan); flex-wrap: wrap; }
.repo-meta span { display: inline-flex; gap: 4px; align-items: center; }
.repo-meta svg { width: 12px; height: 12px; }
.repo-item > svg { margin-top: 4px; width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; border: 0; background: none; padding: 0; font-size: 13px; }
.code-section > .text-link { margin-top: 15px; color: var(--cyan); }
.play-section { position: relative; overflow: hidden; padding: 65px 24px 44px; min-height: 480px; background: #120a1f; display: flex; align-items: flex-end; }
/* The cover is landscape key art: on phones its middle 43% (the whole logo, the warden and the wand) spans the section width. */
.play-cover { position: absolute; top: 0; left: 50%; width: 232%; max-width: none; height: auto; transform: translateX(-50%); }
.play-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #120a1f00 44%, #120a1fcc 74%, #120a1ff5); pointer-events: none; }
.play-copy { position: relative; z-index: 2; }
.play-copy .play-meta { font-size: 12px; margin-top: 8px; opacity: .85; }
/* The cover art carries the Wandstorm logo; the heading stays for assistive technology. */
.play-copy h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.play-copy p { font-size: 16px; margin-top: 14px; }
.play-launch { display: inline-flex; align-items: center; gap: 18px; min-height: 54px; margin-top: 25px; padding: 12px 24px; border: 0; font-size: 15px; background-color: #e7b8cc18; }
.contact-section { position: relative; overflow: hidden; padding-block: 60px 40px; }
.contact-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; opacity: .32; }
.contact-section::after { content: ""; position: absolute; inset: 0; background: #1012114d; pointer-events: none; }
.contact-content { position: relative; z-index: 1; }
.contact-content h2 { font-size: 38px; font-weight: 550; line-height: 1.2; margin-bottom: 15px; }
.contact-content > p { font-size: 15px; color: #d4d7d2; }
.contact-primary { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 0; margin-top: 30px; border-block: 1px solid #ffffff4d; font-size: 16px; }
.contact-primary > span { flex: 1; overflow-wrap: anywhere; }
.contact-primary svg { width: 20px; height: 20px; }
.contact-links { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; }
.contact-links a { min-height: 44px; display: flex; align-items: center; gap: 7px; }
.contact-links svg { width: 15px; height: 15px; }
.mobile-signal { margin-top: 36px; }
.end-stats { display: flex; justify-content: center; gap: 36px; margin-top: 28px; }
.end-stat { display: flex; flex-direction: column; text-align: center; }
.end-stat strong { font-size: 24px; line-height: 1.3; font-weight: 500; }
.end-stat span { font-size: 11px; margin-top: 6px; color: #bfc7bf; }
.public-stats-status { font-size: 10px; color: #bfc7bf; margin-top: 10px; text-align: center; }
.magic-like-3d { display: flex; flex-direction: column; align-items: center; position: relative; }
.magic-like-3d__stage { position: relative; border: 0; padding: 0; background: transparent; width: 220px; height: 180px; }
.magic-like-3d__canvas, .magic-like-3d__fallback { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.magic-like-3d__canvas { opacity: 0; }
.is-model-ready .magic-like-3d__canvas { opacity: 1; }
.is-model-ready .magic-like-3d__fallback { opacity: 0; }
.magic-like-3d__label { position: absolute; bottom: 0; inset-inline: 0; font-size: 12px; }
.magic-like-3d__bubble { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 165px; min-height: 41px; padding: 8px 16px; margin-top: 14px; border: 1px solid #efc17770; border-radius: 8px; background: #191c1aca; box-shadow: 0 6px 0 #050b08, inset 0 1px 0 #ffe2a43d; position: relative; }
.magic-like-3d__bubble::before { content: ""; position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; background: #191c1a; border-top: 1px solid #efc17770; border-left: 1px solid #efc17770; transform: rotate(45deg); }
.magic-like-3d__count { color: #ffe09c; font-size: 18px; font-weight: 500; }
.magic-like-3d__bubble span { font-size: 11px; }
.magic-like-3d.is-flashing .magic-like-3d__canvas { filter: drop-shadow(0 0 18px #ffaa53); }
.magic-like-3d.is-casting .magic-like-3d__fallback { animation: cast-bounce .7s ease; }
.likebtn-backend { position: absolute !important; left: -10000px !important; width: 200px; height: 50px; opacity: 0; pointer-events: none; overflow: hidden; }
@keyframes cast-bounce { 50% { transform: translateY(-12px) scale(1.08); } }
.studio-footer { display: flex; flex-wrap: wrap; gap: 26px 30px; align-items: center; justify-content: space-between; padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
.studio-footer > a:not(.wordmark) { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 12px; }
.studio-footer > .small-mono { width: 100%; opacity: .4; }
.studio-dock { position: fixed; z-index: 10; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(360px, calc(100% - 32px)); height: 70px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px 7px; background-color: #1b2522b8; --lg-radius: 32px; }
.studio-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; color: #d2d8d3; min-width: 0; border-radius: 26px; }
.studio-dock a.is-active { background: #ffffff19; color: var(--acid); }
.studio-dock svg { width: 21px; height: 21px; }
body:has(dialog[open]) .studio-dock { visibility: hidden; }
dialog { padding: 0; color: var(--paper); background: #161c19; border: 1px solid #ffffff35; border-radius: 8px; box-shadow: 0 20px 100px #0009; width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; }
dialog::backdrop { background: #050908dd; backdrop-filter: blur(8px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 20px; }
.dialog-head h2 { font-size: 18px; font-weight: 500; }
.media-player { aspect-ratio: 16 / 9; position: relative; background: #030604; }
.media-player.is-portrait { aspect-ratio: 9 / 13; max-height: 65dvh; }
.media-player iframe, .media-player video { display: block; border: 0; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.media-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 20px 12px; }
.media-info h2 { font-size: 19px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.media-info a { display: flex; gap: 7px; align-items: center; font-size: 12px; white-space: nowrap; min-height: 44px; }
.media-info svg { width: 16px; height: 16px; }
.media-dialog .feed-status { padding-inline: 20px; }
.media-navigation { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 12px 20px 20px; }
.game-dialog { width: min(420px, calc(100% - 16px)); overflow: hidden; max-height: calc(100dvh - 20px); }
.game-dialog .dialog-head { padding: 6px 12px; }
.game-toolbar { display: flex; }
#mobileGameCanvas { display: block; width: min(100%, calc((100dvh - 191px) * 0.5625)); height: auto; aspect-ratio: 9 / 16; margin: 0 auto; touch-action: none; background: #03080f; }
.game-controls { display: grid; grid-template-columns: 64px 1fr 64px; gap: 12px; padding: 12px 16px; direction: ltr; }
.game-controls button { height: 58px; background: #ffffff14; border: 1px solid #ffffff35; border-radius: 8px; width: 100%; touch-action: none; }
/* A long press charges a spell, so it must not select text or raise the phone's press-and-hold menu. */
#mobileGameCanvas, .game-controls button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* Full screen: the dialog fills the window on every phone; where the browser allows it the shell also takes the whole screen. */
.game-shell { display: flex; flex-direction: column; }
.game-dialog.is-fullscreen { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
.game-dialog.is-fullscreen .game-shell, .game-shell:fullscreen { height: 100%; background: #161c19; }
.game-shell:fullscreen { width: 100vw; height: 100dvh; }
.game-dialog.is-fullscreen #mobileGameCanvas, .game-shell:fullscreen #mobileGameCanvas { width: min(100vw, calc((100dvh - 156px) * 0.5625)); margin: auto; }
.game-controls #castGame { display: flex; align-items: center; justify-content: center; gap: 10px; background: #d4ed831a; color: var(--acid); }
.game-dialog .feed-status { margin: 0; padding: 0 12px 8px; text-align: center; }
.access-dialog { max-width: 530px; padding: 10px 14px 30px; }
.access-dialog > p { padding: 12px; line-height: 1.9; }
.access-dialog > a { padding: 12px; display: inline-block; }
@media (min-width: 700px) {
  .section-pad { padding: 65px max(40px, calc((100% - 1020px) / 2)); }
  .studio-header { padding-inline: 40px; }
  .hero-caption, .hero-foot { inset-inline: max(40px, calc((100% - 1020px) / 2)); }
  .hero-caption h1 { font-size: 92px; }
  .hero-caption { bottom: 100px; }
  .hero-media { object-position: 60% 48%; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .section-heading h2 { font-size: 38px; }
  .studio-about h2 { font-size: 44px; }
  .practice-lines > div { grid-template-columns: 26px 1fr 1fr; }
  .practice-lines span:last-child { grid-column: 3; align-self: center; }
  .repo-list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .code-cover { height: 370px; }
  .code-cover img { object-position: 50% 0; }
  .play-section { padding: 80px max(40px, calc((100% - 1020px) / 2)) 56px; min-height: 560px; }
  .play-cover { left: 0; width: 100%; height: 100%; transform: none; object-fit: cover; object-position: 50% 8%; }
  .contact-content { max-width: 650px; margin: 0 auto; }
  .contact-content h2 { font-size: 50px; }
  .studio-footer { padding-bottom: 150px; }
}
@media (max-width: 699px) {
  .entry-header { padding-inline: 22px; }
  .entry-title { top: 100px; inset-inline: 22px; font-size: 45px; }
  .entry-title small { margin-top: 12px; font-size: 13px; }
  .experience-choices { grid-template-columns: 1fr; grid-template-rows: 1.1fr 1fr; min-height: max(800px, 100svh); }
  .experience-choice { padding: 30px 22px 30px; }
  .experience-choice--mobile { padding-top: 210px; }
  .experience-choice--mobile img { object-position: 40% 42%; }
  .experience-choice--cinematic { border-inline-start: 0; border-top: 1px solid var(--line); padding-bottom: 65px; }
  .experience-choice--cinematic img { object-position: 65% 50%; }
  .choice-copy h2 { font-size: 27px; margin-top: 8px; }
  .choice-copy p { font-size: 13px; margin-top: 7px; }
  .choice-action { margin-top: 16px; padding: 11px 17px; min-height: 48px; font-size: 13px; }
  .entry-footer { bottom: 17px; inset-inline: 22px; font-size: 9px; }
}
@media (max-width: 370px) {
  .studio-hero { min-height: 350px; }
  .section-pad { padding-inline: 18px; }
  .studio-header, .hero-caption, .hero-foot { padding-inline: 18px; }
  .hero-caption, .hero-foot { inset-inline: 0; }
  .hero-caption h1 { font-size: 54px; }
  .section-heading h2 { font-size: 26px; }
  .filter-button { padding-inline: 10px; font-size: 12px; }
  .contact-primary { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .lg-glass { background: #202b26 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  dialog::backdrop { backdrop-filter: none; }
}
