/* ==========================================================================
   SOUND4 — Brand & Website Stylesheet
   "The Fourth Dimension — Spatial, Tactile, Brutalist Editorial Audio"
   ========================================================================== */

:root {
  --bg-paper: #F5F1E8;
  --bg-card: #FBF8F1;
  --bg-muted: #EFE7D7;
  --ink: #15131A;
  --ink-soft: #4A4654;
  --ink-muted: #6B6573;
  --ink-faint: #8A8391;
  --magenta: #FF2E6D;
  --blue: #2E7CFF;
  --blue-deep: #1D5BD6;
  --lime: #D6FF3A;
  --lime-dark: #A9C400;
  --violet: #6B2EFF;
  --cyan: #00C8E0;
  --orange: #FF5C1A;
  --border: 2px solid #15131A;
  --font-display: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  padding-bottom: 0;
  transition: padding-bottom 0.3s ease;
}

body.has-active-player {
  padding-bottom: 78px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

[id] {
  scroll-margin-top: 76px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

/* ===== Keyframe Animations ===== */
@keyframes s4iNav { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes s4iPow { 0% { transform: scale(.35); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes s4iClip { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes s4iRise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes s4iWipe { from { transform: rotate(-1.5deg) scaleX(0); } to { transform: rotate(-1.5deg) scaleX(1); } }
@keyframes s4iHit { 0% { transform: scale(1.35); opacity: 0; } 45% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes s4iKick { 0%, 100% { transform: none; } 30% { transform: translateX(-4px) rotate(-.6deg); } 60% { transform: translateX(3px); } }
@keyframes s4iDot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes s4iUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes s4iBar { from { transform: translateY(100%); } to { transform: none; } }
@keyframes s4marq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50%, 0, 0); } }
@keyframes s4surr { 0%, 58%, 100% { transform: scale(1); } 9% { transform: scale(1.018); } 24% { transform: scale(.996); } }
@keyframes s4cone { 0%, 58%, 100% { transform: scale(1); } 9% { transform: scale(1.045); } 24% { transform: scale(.985); } 38% { transform: scale(1.008); } }
@keyframes s4cap { 0%, 58%, 100% { transform: translate(-50%, -50%) scale(1); } 10% { transform: translate(-50%, -50%) scale(1.16); } 25% { transform: translate(-50%, -50%) scale(.94); } }
@keyframes s4in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes s4eq { from { transform: scaleY(.28); } to { transform: scaleY(1.08); } }
@keyframes s4blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes s4swap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes s4fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s4rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

.s4i-nav { animation: s4iNav .6s cubic-bezier(.16,.8,.24,1) both; }
.s4i-power { position: absolute; inset: 0; animation: s4iPow 1s cubic-bezier(.34,1.5,.64,1) .12s both; }
.s4i-tag { animation: s4iClip .6s cubic-bezier(.7,0,.2,1) .28s both; }
.s4i-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.s4i-line > span { display: inline-block; animation: s4iRise .85s cubic-bezier(.16,.9,.24,1) both; }
.s4i-l1 > span { animation-delay: .36s; }
.s4i-l2 > span { animation-delay: .48s; }
.s4i-rash { animation: s4iKick .4s ease-out 1.15s both; }
.s4i-bg { transform-origin: right center; animation: s4iWipe .45s cubic-bezier(.7,0,.2,1) .74s both; }
.s4i-hit { display: inline-block; animation: s4iHit .55s cubic-bezier(.2,1.4,.4,1) .95s both; }
.s4i-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--magenta); animation: s4iDot .7s cubic-bezier(.34,1.56,.64,1) 1s both; }
.s4i-p { animation: s4iUp .7s cubic-bezier(.16,.8,.24,1) 1.08s both; }
.s4i-cta { animation: s4iUp .7s cubic-bezier(.16,.8,.24,1) 1.2s both; }
.s4i-bar { animation: s4iBar .7s cubic-bezier(.16,.8,.24,1) 1.3s both; }

.s4surr { animation: s4surr 1.15s cubic-bezier(.3,.72,.3,1) infinite; }
.s4cone { animation: s4cone 1.15s cubic-bezier(.3,.72,.3,1) infinite; }
.s4cap  { animation: s4cap 1.15s cubic-bezier(.3,.72,.3,1) infinite; }

/* Faster speaker pulse when audio is actively playing */
body.is-playing-audio .s4surr { animation-duration: 0.58s; }
body.is-playing-audio .s4cone { animation-duration: 0.58s; }
body.is-playing-audio .s4cap  { animation-duration: 0.58s; }

.s4onair { animation: s4blink 1.1s steps(1) infinite; }

.in[data-reveal] { animation: s4in .8s cubic-bezier(.16,.8,.24,1) both; }
.in[data-stagger] > * { animation: s4in .65s cubic-bezier(.16,.8,.24,1) both; }
.in[data-stagger] > *:nth-child(2) { animation-delay: .06s; }
.in[data-stagger] > *:nth-child(3) { animation-delay: .12s; }
.in[data-stagger] > *:nth-child(4) { animation-delay: .18s; }
.in[data-stagger] > *:nth-child(5) { animation-delay: .24s; }
.in[data-stagger] > *:nth-child(6) { animation-delay: .30s; }

/* ===== Header & Navigation ===== */
.s4nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--bg-paper);
  border-bottom: var(--border);
}

#s4prog {
  position: absolute;
  right: 0;
  bottom: -3px;
  height: 3px;
  width: 0;
  background: var(--magenta);
  transition: width .08s linear;
}

.s4logo {
  position: relative;
  font-size: 28px;
  display: flex;
  align-items: center;
}

.s4mark {
  display: inline-flex;
  align-items: baseline;
  font: 900 1em/1 var(--font-display);
  letter-spacing: -.035em;
}

.s4mark-four {
  display: inline-block;
  margin-left: .07em;
  padding: .1em .13em .03em;
  background: var(--magenta);
  color: #fff;
  letter-spacing: 0;
  line-height: .86;
}

.s4markcone {
  margin-left: .1em;
  width: .36em;
  height: .36em;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
}

.s4markcone > span {
  width: .15em;
  height: .15em;
  border-radius: 50%;
  background: var(--lime);
}

.s4mark:hover .s4markcone,
a:focus-visible .s4markcone {
  animation: s4cone 1.15s cubic-bezier(.3,.72,.3,1) infinite;
}

.s4navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font: 600 15px/1 var(--font-body);
}

.s4navlink {
  position: relative;
  cursor: pointer;
  padding: 4px 0;
}

.s4navlink::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: width .22s ease;
}

.s4navlink:hover::after,
.s4navlink.active::after {
  width: 100%;
}

.s4navlink.active {
  font-weight: 700;
}

.s4navright {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s4shortlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: var(--border);
  background: var(--bg-card);
  color: var(--ink);
  font: 700 13px/1 var(--font-body);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.s4shortlist-btn:hover {
  transform: translateY(-2px);
  background: var(--lime);
}

.s4shortlist-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--ink);
  color: var(--lime);
  font: 800 11px/1 var(--font-display);
}

.s4btn {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: none;
}

.s4btn:hover {
  transform: translateY(-2px);
}

.s4btn:active {
  transform: translateY(0) scale(.98);
}

.s4cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--magenta);
  color: #fff;
  font: 700 14px/1 var(--font-display);
  border: var(--border);
}

.s4menubtn {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--bg-paper);
  border: var(--border);
  cursor: pointer;
}

/* ===== Mobile Menu Drawer ===== */
.s4mobile-menu {
  position: fixed;
  top: 61px;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 59;
  background: var(--ink);
  color: var(--bg-paper);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 24px 32px;
  overflow-y: auto;
  animation: s4fade .2s ease both;
}

.s4mobile-menu.open {
  display: flex;
}

/* ===== Hero Section ===== */
.s4hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-paper);
}

.s4speaker {
  position: absolute;
  left: -130px;
  top: 46px;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
}

.s4dot {
  position: absolute;
  left: 290px;
  top: -28px;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.s4heropad {
  position: relative;
  z-index: 2;
  padding: 72px 40px 0;
  max-width: 1180px;
  margin: 0 auto;
}

.s4h1 {
  margin: 22px 0 0;
  font: 900 clamp(72px, 11.8vw, 164px)/.86 var(--font-display);
  letter-spacing: -.045em;
  color: var(--ink);
}

.s4herop {
  margin: 28px 0 0;
  max-width: 540px;
  font: 500 21px/1.55 var(--font-body);
  color: var(--ink-soft);
}

.s4heroctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  padding-bottom: 72px;
}

/* ===== Marquee ===== */
.s4marquee-wrap {
  position: relative;
  z-index: 2;
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--ink);
  overflow: hidden;
  padding: 15px 0;
}

.s4marqtrack {
  display: flex;
  width: max-content;
  animation: s4marq 38s linear infinite;
  white-space: nowrap;
  will-change: transform;
  font: 800 21px/1 var(--font-display);
  color: var(--bg-paper);
}

/* ===== Sections & Layout ===== */
.s4sec {
  padding: 120px 40px;
}

.s4container {
  max-width: 1180px;
  margin: 0 auto;
}

.s4eyebrow {
  font: 700 13px/1 var(--font-display);
  letter-spacing: .04em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.s4h2 {
  margin: 0;
  font: 900 clamp(38px, 5.8vw, 80px)/.92 var(--font-display);
  letter-spacing: -.04em;
}

/* ===== Filter Chips ===== */
.s4chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font: 700 14px/1 var(--font-body);
  border: var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
  user-select: none;
}

.s4chip:hover {
  background: rgba(21, 19, 26, 0.06);
}

.s4chip.active {
  background: var(--ink);
  color: var(--bg-paper);
}

.s4chip:active {
  transform: scale(.95);
}

/* ===== Audition Booth & Waveform ===== */
.s4booth {
  position: relative;
  border: var(--border);
  overflow: hidden;
  transition: background .35s ease;
}

.s4booth-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 32px;
  border-bottom: var(--border);
  transition: background .35s ease;
}

.s4booth-mid {
  padding: 40px 32px 34px;
}

.s4booth-bot {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 32px 22px;
  border-top: 2px solid rgba(21, 19, 26, .16);
}

.s4wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 84px;
  margin: 30px 0 6px;
  cursor: pointer;
}

.s4wave > span.s4bar {
  flex: 1;
  transition: height .35s cubic-bezier(.16,.8,.24,1), opacity .2s ease;
  transform-origin: center;
  pointer-events: none;
}

.s4wave.on > span.s4bar {
  animation: s4eq .52s ease-in-out infinite alternate;
}
.s4wave.on > span.s4bar:nth-child(3n) { animation-duration: .38s; animation-delay: -.18s; }
.s4wave.on > span.s4bar:nth-child(4n) { animation-duration: .66s; animation-delay: -.32s; }
.s4wave.on > span.s4bar:nth-child(5n) { animation-duration: .44s; animation-delay: -.09s; }
.s4wave.on > span.s4bar:nth-child(7n) { animation-duration: .58s; animation-delay: -.24s; }

.s4arrow {
  width: 50px;
  height: 50px;
  background: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font: 500 22px/1 var(--font-display);
  border: none;
  transition: transform .15s ease;
}

.s4arrow:hover {
  transform: translateY(-2px);
}

/* ===== Voice & Commercial Cards Grid ===== */
.s4voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 20px;
}

.s4voice-card {
  border: var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
}

.s4voice-card:hover {
  transform: translateY(-4px);
  box-shadow: -6px 6px 0 var(--ink);
}

.s4voice-card.is-playing {
  box-shadow: -6px 6px 0 var(--magenta);
}

.s4voice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: var(--border);
}

.s4voice-card-body {
  padding: 22px 20px 18px;
  flex: 1;
}

.s4voice-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-top: 2px solid rgba(21, 19, 26, 0.12);
  background: var(--bg-paper);
}

.s4mini-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  margin-top: 16px;
  cursor: pointer;
}

.s4mini-wave > span {
  flex: 1;
  transition: height .25s ease;
}

.s4voice-card.is-playing .s4mini-wave > span {
  animation: s4eq .48s ease-in-out infinite alternate;
}
.s4voice-card.is-playing .s4mini-wave > span:nth-child(2n) { animation-duration: .36s; }
.s4voice-card.is-playing .s4mini-wave > span:nth-child(3n) { animation-duration: .62s; }

/* ===== Portfolio / Commercials Grid ===== */
.s4cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.s4vcard {
  border: var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.s4vcard:hover {
  transform: translateY(-4px);
  box-shadow: -6px 6px 0 var(--ink);
}

/* ===== Services List ===== */
.s4svc {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 16px;
  border-bottom: var(--border);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, padding .2s ease;
}

.s4svc:hover {
  padding-inline: 24px;
}

/* ===== Sticky Bottom Audio Player Bar ===== */
.s4player-bar {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--bg-paper);
  border-top: 3px solid var(--magenta);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.16,.8,.24,1);
}

.s4player-bar.active {
  transform: translateY(0);
}

.s4player-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
}

.s4player-scrub {
  flex: 1;
  height: 10px;
  background: rgba(245, 241, 232, 0.16);
  position: relative;
  cursor: pointer;
}

.s4player-scrub-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 0%;
  background: var(--lime);
  pointer-events: none;
}

/* ===== Shortlist Drawer & Project Modal ===== */
.s4drawer-backdrop,
.s4modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(21, 19, 26, .78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: s4fade .22s ease both;
}

.s4drawer-backdrop.open,
.s4modal.open {
  display: flex;
}

.s4drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--ink);
  color: var(--bg-paper);
  border-right: 2px solid var(--bg-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 201;
  animation: s4fade .22s ease both;
}

.s4mpanel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--ink);
  color: var(--bg-paper);
  border: 2px solid var(--bg-paper);
  animation: s4rise .4s cubic-bezier(.16,.8,.24,1) both;
}

.s4in {
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(245, 241, 232, .28);
  padding: 10px 0;
  font: 600 17px/1.3 var(--font-body);
  color: var(--bg-paper);
  outline: none;
  border-radius: 0;
  width: 100%;
  transition: border-color .2s;
}

.s4in:focus {
  border-bottom-color: var(--lime);
}

.s4in::placeholder {
  color: rgba(245, 241, 232, .32);
}

textarea.s4in {
  resize: vertical;
  min-height: 80px;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 980px) {
  .s4navlinks { display: none !important; }
  .s4menubtn { display: grid !important; }
  .s4cases { grid-template-columns: 1fr 1fr; }
}

@media (max-height: 540px) {
  #s4pin { height: auto !important; }
  #s4build { position: static !important; }
}

@media (max-width: 760px) {
  .s4nav {
    padding: 0 !important;
    gap: 0 !important;
    height: 60px !important;
    align-items: stretch !important;
  }
  .s4logo {
    padding: 0 14px !important;
    font-size: 23px !important;
    align-items: center !important;
  }
  .s4navright {
    gap: 0 !important;
    align-items: stretch !important;
  }
  .s4navright > * {
    height: auto !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }
  .s4shortlist-btn {
    padding: 0 12px !important;
    border-inline-start: 2px solid #15131A !important;
    border-inline-end: 0 !important;
  }
  .s4shortlist-label {
    display: none !important;
  }
  .s4cta {
    padding: 0 14px !important;
    font-size: 13px !important;
    border-inline-start: 2px solid #15131A !important;
    border-inline-end: 0 !important;
  }
  .s4menubtn {
    width: 54px !important;
    border-inline-start: 2px solid #15131A !important;
    border-inline-end: 0 !important;
  }
  .s4mobile-menu {
    top: 60px !important;
  }
  .s4heropad {
    padding: 32px 18px 0 !important;
  }
  .s4page-hero {
    padding: 42px 18px 38px !important;
  }
  .s4speaker {
    display: none !important;
  }
  .s4dot {
    right: auto !important;
    left: -48px !important;
    top: 135px !important;
    width: 130px !important;
    height: 130px !important;
  }
  .s4h1 {
    font-size: 24vw !important;
    line-height: .85 !important;
    margin-top: 22px !important;
    letter-spacing: -.045em !important;
  }
  .s4herop {
    font-size: 17px !important;
    margin-top: 22px !important;
  }
  .s4heroctas {
    margin-top: 26px !important;
    padding-bottom: 40px !important;
    gap: 10px !important;
  }
  .s4heroctas > * {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .s4sec {
    padding: 68px 18px !important;
  }
  .s4vumeter {
    gap: 6px !important;
  }
  .s4vumeter-bars {
    gap: 2px !important;
  }
  .s4moods {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    padding-bottom: 6px !important;
    scrollbar-width: none;
  }
  .s4moods::-webkit-scrollbar {
    display: none;
  }
  .s4moods > * {
    flex-shrink: 0 !important;
  }
  .s4booth-band {
    padding: 14px 16px !important;
  }
  .s4btags > * {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
  .s4booth-mid {
    padding: 22px 16px 18px !important;
  }
  .s4play {
    width: 60px !important;
    height: 60px !important;
  }
  .s4booth-actions {
    width: 100% !important;
  }
  .s4booth-actions > * {
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .s4booth-bot {
    padding: 12px 16px !important;
  }
  .s4wave {
    height: 52px !important;
    margin: 20px 0 4px !important;
    gap: 2px !important;
  }
  #s4pin {
    height: auto !important;
    margin-top: 26px !important;
  }
  #s4build {
    position: static !important;
  }
  .s4casepad {
    padding: 16px !important;
  }
  .s4casedesc {
    display: none !important;
  }
  .s4caseh3 {
    font-size: 30px !important;
  }
  .s4tlabel {
    width: 96px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
  .s4cases {
    grid-template-columns: 1fr !important;
  }
  .s4voices-grid {
    grid-template-columns: 1fr !important;
  }
  .s4faq-grid {
    grid-template-columns: 1fr !important;
  }
  .s4studio {
    height: 400px !important;
  }
  .s4studiopad {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .s4svcdesc {
    display: none !important;
  }
  .s4svc {
    padding: 20px 6px !important;
    gap: 12px !important;
  }
  .s4foot {
    padding: 40px 18px !important;
  }
  .s4player-bar {
    padding: 10px 14px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .s4player-progress-wrap {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .s4modal {
    padding: 0 !important;
    align-items: stretch !important;
  }
  .s4mpanel {
    max-height: 100vh !important;
    height: 100%;
    border: 0 !important;
  }
  .s4mgrid {
    grid-template-columns: 1fr !important;
  }
  .s4mbody {
    padding: 24px 18px 28px !important;
  }
  .s4mbar {
    padding: 14px 18px !important;
  }
  .s4msubmit {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
