/* Load last. The chapter controller pairs each complete foreground with its
   actual surface. Static and reduced-motion rendering uses soft silver. */
body.sds-premium {
  --sds-chapter-surface: #caced0;
  --sds-chapter-ink: #000;
  --sds-chapter-muted: #333a3d;
}

body.sds-premium main.sds-premium-content[data-mood-chapter],
body.sds-premium main.sds-premium-content [data-mood-chapter] {
  background: var(--sds-chapter-surface);
  color: var(--sds-chapter-ink);
  color-scheme: light;
}

/* Contact must own an actual paper surface even with JavaScript or motion off. */
body.sds-premium.page-contact main.sds-contact-main.sds-repair-contact {
  --contact-gray: var(--sds-chapter-surface);
  --contact-black: var(--sds-chapter-surface);
  --contact-ink: var(--sds-chapter-ink);
  --contact-body: var(--sds-chapter-muted);
  --contact-muted: var(--sds-chapter-muted);
  --contact-rule: var(--sds-chapter-muted);
  --contact-control: var(--sds-chapter-muted);
  background: var(--sds-chapter-surface) !important;
  color: var(--sds-chapter-ink);
}
body.sds-premium.page-contact main.sds-contact-main.sds-repair-contact > section {
  background: transparent;
}

/* Uniform glyph colors follow the actual chapter surface. The controller
   holds neutral gray while the complete foreground changes between its paired
   white and black values. No gradient, clipped text, opacity blend or split word.
   ID specificity deliberately outranks the earlier package/detail repairs. */
body.sds-premium main#main.sds-premium-content[data-mood-chapter] :is(h1,h2,h3,h4,h5,h6,p,dt,dd,blockquote,figcaption,legend,summary,.eyebrow,.film-card__title,.film-card__meta,.projects-kicker,.project-index__title,.project-index__category,.production-package__price,.sds-production-preview__price,.production-package__name,.production-package__deliverables,.production-package__capture,.production-package__quantity,.production-package__choice strong,.production-package__choice span,.local-core__name,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.link-arrow,.sds-contact-text-link,code,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *),
body.sds-premium main#main.sds-premium-content :is([data-mood-chapter],#core-commercial) :is(h1,h2,h3,h4,h5,h6,p,dt,dd,blockquote,figcaption,legend,summary,.eyebrow,.film-card__title,.film-card__meta,.projects-kicker,.project-index__title,.project-index__category,.production-package__price,.sds-production-preview__price,.production-package__name,.production-package__deliverables,.production-package__capture,.production-package__quantity,.production-package__choice strong,.production-package__choice span,.local-core__name,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.link-arrow,.sds-contact-text-link,code,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *) {
  background-color: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  -webkit-text-stroke-width: 0 !important;
  color: var(--sds-chapter-ink) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.sds-premium main#main.sds-premium-content[data-mood-chapter] :is(p,dd,blockquote,figcaption,.eyebrow,.film-card__meta,.projects-kicker,.project-index__category,.production-package__deliverables,.production-package__capture,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *),
body.sds-premium main#main.sds-premium-content :is([data-mood-chapter],#core-commercial) :is(p,dd,blockquote,figcaption,.eyebrow,.film-card__meta,.projects-kicker,.project-index__category,.production-package__deliverables,.production-package__capture,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *) {
  color: var(--sds-chapter-muted) !important;
}
body.sds-premium main#main.sds-premium-content[data-mood-chapter] :is(h1,h2,h3,h4,h5,h6,p,dt,dd,blockquote,figcaption,legend,summary,.eyebrow,.film-card__title,.film-card__meta,.projects-kicker,.project-index__title,.project-index__category,.production-package__price,.sds-production-preview__price,.production-package__name,.production-package__deliverables,.production-package__capture,.production-package__quantity,.production-package__choice strong,.production-package__choice span,.local-core__name,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.link-arrow,.sds-contact-text-link,code,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li) :is(a,span,strong,em,b,i,s,small,code):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *),
body.sds-premium main#main.sds-premium-content :is([data-mood-chapter],#core-commercial) :is(h1,h2,h3,h4,h5,h6,p,dt,dd,blockquote,figcaption,legend,summary,.eyebrow,.film-card__title,.film-card__meta,.projects-kicker,.project-index__title,.project-index__category,.production-package__price,.sds-production-preview__price,.production-package__name,.production-package__deliverables,.production-package__capture,.production-package__quantity,.production-package__choice strong,.production-package__choice span,.local-core__name,.local-core__line,.sds-working-stages__number,.process-flow__number,.num,.link-arrow,.sds-contact-text-link,code,.sds-process-card__body li,.production-package__deliverables li,.offer__details-body li,.faq .a li,.prose li) :is(a,span,strong,em,b,i,s,small,code):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *) {
  background-color: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  -webkit-text-stroke-width: 0 !important;
  color: inherit !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.sds-premium main#main.sds-premium-content[data-mood-chapter] :is(h1,h2,h3,h4,h5,h6,dt,summary,legend,strong,.production-package__price,.sds-production-preview__price,.production-package__name,.local-core__name,.link-arrow,.sds-contact-text-link,code):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *),
body.sds-premium main#main.sds-premium-content :is([data-mood-chapter],#core-commercial) :is(h1,h2,h3,h4,h5,h6,dt,summary,legend,strong,.production-package__price,.sds-production-preview__price,.production-package__name,.local-core__name,.link-arrow,.sds-contact-text-link,code):not(.btn,.btn *,.frame-cue,.frame-cue *,.player,.player *,.scene-hero__content,.scene-hero__content *,.sds-home-hero__intro,.sds-home-hero__intro *,button,button *,input,select,textarea,[role="tab"],[role="tab"] *,.sds-contact-action,.sds-contact-action *,.sds-contact-copy,.sds-contact-copy *) {
  color: var(--sds-chapter-ink) !important;
}

/* Strong copy remains primary even inside a muted paragraph or list item. */
body.sds-premium.sds-premium main#main.sds-premium-content[data-mood-chapter] strong:not(.btn *,.frame-cue *,.player *,.scene-hero__content *,.sds-home-hero__intro *,button *,[role="tab"] *,.sds-contact-action *,.sds-contact-copy *),
body.sds-premium.sds-premium main#main.sds-premium-content :is([data-mood-chapter],#core-commercial) strong:not(.btn *,.frame-cue *,.player *,.scene-hero__content *,.sds-home-hero__intro *,button *,[role="tab"] *,.sds-contact-action *,.sds-contact-copy *) {
  color: var(--sds-chapter-ink) !important;
}

/* Controls retain complete black/white surfaces through every lighting state. */
body.sds-premium main.sds-premium-content :is(.btn-light,.sds-contact-action,.production-packages__tab[aria-selected="true"]) {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
}
body.sds-premium main.sds-premium-content :is(.btn-glass,.production-packages__tab[aria-selected="false"],.sds-contact-copy) {
  background: #fff !important;
  border-color: #000 !important;
  color: #000 !important;
  -webkit-text-fill-color: currentColor !important;
}
body.sds-premium main.sds-premium-content :is(.btn,.sds-contact-action,.sds-contact-copy,.production-packages__tab) * {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
body.sds-premium .sds-arrow-icon {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A 44px play circle stays visible. Only the adjacent desktop label slides up;
   touch and keyboard visitors always receive a complete, uncut control. */
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue,
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 68px;
  padding: 12px;
  opacity: 1 !important;
  overflow: visible;
  background: none !important;
}
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__control,
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  overflow: visible;
  transform: none !important;
  transition: none;
}
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__control::before {
  content: none;
  display: none;
}
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__play,
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__play {
  display: block;
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #000;
  color: #fff;
  fill: currentColor;
}
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__control:not(:has(.frame-cue__play))::before {
  content: "";
  display: block;
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M6 3.5 16 10 6 16.5Z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__label,
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__label {
  position: static;
  display: flex;
  align-items: center;
  min-height: 44px;
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fff;
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  font: 400 13px/1.4 var(--sans);
  white-space: nowrap;
  opacity: 1 !important;
  overflow: visible;
  visibility: visible;
  transform: none;
}
body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__arrow,
body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__arrow {
  display: none;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__control,
  body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__control {
    gap: 0;
  }
  body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__label,
  body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__label {
    position: absolute;
    right: calc(100% + 8px);
    bottom: 0;
    width: max-content;
    visibility: hidden;
    transform: translateY(12px);
    transition: transform .2s ease;
  }
  body.sds-premium.page-work .sds-mobile-projects a[data-play]:is(:hover,:focus-visible,:focus-within) .frame-cue__label,
  body.sds-premium .sds-mobile-home .sds-selected-films a[data-play]:is(:hover,:focus-visible,:focus-within) .frame-cue__label {
    visibility: visible;
    transform: translateY(0);
  }
}

/* Calm section rhythm; the existing header remains clear of location headings. */
body.sds-premium.page-local main.sds-premium-content {
  padding-top: calc(var(--header-h, 80px) + env(safe-area-inset-top, 0px) + 32px);
}
body.sds-premium.page-local .sds-local-head {
  padding-top: 0;
}
body.sds-premium.page-commercials .commercial-approach,
body.sds-premium.page-commercials .commercial-process,
body.sds-premium.page-commercials main .contrast-chapter > .section[aria-labelledby="process-title"],
body.sds-premium.page-about main .about-process,
body.sds-premium.page-about main > .section:has(.about-approach) {
  padding-block: 40px;
}
body.sds-premium main.sds-premium-content .sds-content-grid .sds-section-heading h2,
body.sds-premium.page-commercials main .commercial-process .h2,
body.sds-premium.page-about .sds-mobile-about .process-editorial__heading > .h2 {
  max-width: 24ch;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.04em;
}
body.sds-premium .sds-process-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
body.sds-premium .sds-process-cards > .sds-process-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line-2, #51585c);
  background: transparent;
}
body.sds-premium .sds-process-card__head,
body.sds-premium .sds-process-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}
body.sds-premium .sds-process-card__head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
body.sds-premium .sds-process-card__head .eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
body.sds-premium .sds-process-card__body > p {
  max-width: 56ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
body.sds-premium .sds-process-card__body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
}
@media (min-width: 900px) {
  body.sds-premium.page-commercials .commercial-approach,
  body.sds-premium.page-commercials .commercial-process,
  body.sds-premium.page-commercials main .contrast-chapter > .section[aria-labelledby="process-title"],
  body.sds-premium.page-about main .about-process,
  body.sds-premium.page-about main > .section:has(.about-approach) {
    padding-block: 56px;
  }
  body.sds-premium .sds-process-cards > .sds-process-card {
    grid-template-columns: minmax(0, .35fr) minmax(0, .65fr);
    gap: 32px;
  }
  body.sds-premium .sds-process-card__head h3 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.sds-premium.page-work .sds-mobile-projects a[data-play] .frame-cue__label,
  body.sds-premium .sds-mobile-home .sds-selected-films a[data-play] .frame-cue__label {
    transition: none;
    transform: none;
  }
}
@media (forced-colors: active) {
  body.sds-premium main.sds-premium-content [data-mood-chapter] *,
  body.sds-premium main.sds-premium-content[data-mood-chapter] * {
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
  }
}
