/* The opening title and the first workshop spread define the site's four text roles. */
@font-face {
  font-family: DM;
  src: url('/fonts/studio-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --type-family: DM, Arial, sans-serif;
  --type-title-size: clamp(2.9375rem, 5vw, 6.125rem);
  --type-subtitle-size: clamp(1.3125rem, 2.05vw, 2.125rem);
  --type-body-size: clamp(1rem, 1.1vw, 1.2rem);
  --type-small-size: .8125rem;
  --type-title: 750 var(--type-title-size)/.98 var(--type-family);
  --type-subtitle: 750 var(--type-subtitle-size)/1.13 var(--type-family);
  --type-body: 400 var(--type-body-size)/1.5 var(--type-family);
  --type-small: 500 var(--type-small-size)/1.4 var(--type-family);
  --type-title-tracking: -.064em;
  --type-subtitle-tracking: -.036em;
  --type-ink-light: #201f1e;
  --type-copy-light: #474543;
  --type-ink-dark: #faf5e9;
  --type-copy-dark: #e2ddd2;
  --type-accent: #d73522;
  --type-title-ink: var(--type-ink-light);
  --type-text-ink: var(--type-copy-light);
}
@media (max-width: 860px) {
  :root { --type-title-size: clamp(2.875rem, 7.2vw, 4.375rem); }
}
@media (max-width: 560px) {
  :root { --type-title-size: clamp(1.8125rem, 8.3vw, 2.875rem); --type-body-size: .96rem; }
}
:where(.cinema-page .mast, .cinema-page .bottom, .multi, .studio-gallery, .studio-opening,
       .studio-projection, .workshop-menu, .access-mast, .access-mast + main) {
  --type-title-ink: var(--type-ink-dark);
  --type-text-ink: var(--type-copy-dark);
}
:where(.plain, .studio-feature, .workshop-intro) {
  --type-title-ink: var(--type-ink-light);
  --type-text-ink: var(--type-copy-light);
}
/* The original designs contain isolated font shorthands. These role defaults have
   no selector specificity; a component can assign its content a more precise role. */
:where(body, body *) { font-family: var(--type-family) !important; }
:where(body) { font-synthesis: style; font-size: var(--type-body-size); line-height: 1.5; }
:where(h1,h2) {
  font: var(--type-title);
  letter-spacing: var(--type-title-tracking);
  color: var(--type-title-ink);
}
:where(h3,h4,h5,h6) {
  font: var(--type-subtitle);
  letter-spacing: var(--type-subtitle-tracking);
  color: var(--type-title-ink);
}
:where(p,dd,li,dt,label,legend,textarea,select,input,button,summary,td,th,blockquote) {
  font-size: var(--type-body-size);
  line-height: 1.5;
  letter-spacing: normal;
}
:where(p,dd,li,dt,blockquote) { color: var(--type-text-ink); }
:where(small,figcaption,.over,.prem-over,.cin-eyebrow) {
  font: var(--type-small);
  color: var(--type-text-ink);
}
:where(h1,h2) :is(em,.title-accent,.type-accent) {
  color: var(--type-accent) !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}
:where(p,dd,li,figcaption) :where(strong,b,em,i,a) { font-size: inherit; }
:where(.mast,.bottom) :is(a:not(.brand),button) {
  font-size: var(--type-body-size) !important;
  letter-spacing: normal !important;
  color: var(--type-title-ink) !important;
}
.bottom small { font-size: var(--type-small-size) !important; color: var(--type-text-ink); }
/* Opening film and the first full spread. */
.cinema .studio-opening #cin-title {
  font-size: var(--type-title-size) !important;
  line-height: .98 !important;
  letter-spacing: var(--type-title-tracking) !important;
}
.opening-copy .cin-eyebrow,
.cinema .studio-heading :is(.cin-eyebrow,.prem-over) {
  font-size: var(--type-small-size) !important;
  letter-spacing: .07em !important;
}
.opening-copy .cin-eyebrow i { background: var(--type-accent); }
.opening-actions a, .workshop-menu :is(summary,a), .workshop-details summary {
  font-size: var(--type-body-size) !important;
  letter-spacing: normal !important;
}
.workshop-intro :is(.workshop-swiss strong,.workshop-swiss span,.workshop-capabilities a) {
  font-size: inherit !important;
  color: var(--type-text-ink) !important;
}
.workshop-menu-groups h3 {text-transform: none; }
@media (max-width: 720px) {
  .mast:not(.cin-nav-ready) nav { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .cinema .workshop-menu-groups {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,10.5rem),1fr));
  }
}

/* These areas precede the two example layouts and occur on the first page only. */
#inhalt .workshop-intro h2,
#inhalt .workshop-menu h2 {
  font: var(--type-title);
  letter-spacing: var(--type-title-tracking);
  color: var(--type-title-ink);
}
#inhalt .workshop-intro :is(h3,dt,.workshop-support strong),
#inhalt .workshop-menu h3 {
  font: var(--type-subtitle);
  letter-spacing: var(--type-subtitle-tracking);
  color: var(--type-title-ink);
}
#inhalt .workshop-intro :is(p,dd),
#inhalt .opening-copy .opening-deck {
  font: var(--type-body);
  color: var(--type-text-ink);
}
#inhalt .opening-copy .cin-eyebrow { color: var(--type-text-ink); }
#inhalt .studio-projection :is(button,.projection-seek span) {
  font-size: var(--type-body-size);
  letter-spacing: normal;
}
#inhalt .studio-projection .projection-error { font: var(--type-small); color: var(--type-text-ink); }
#inhalt .studio-opening #cin-title { color: var(--type-title-ink); }


/* The title rule also applies to titles inserted by the galleries and account panels.
   The shared rule takes precedence over the wrapping used by legacy card and table layouts. */
:where(h1,h2,h3,h4,h5,h6,[role="heading"],.style-card summary b,.studio-choice strong,
       .workshop-capabilities dt,.group th,.table-wrap caption,.swatch b,.monitor-image strong) {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.cinema nav.workshop-menu, .cinema .opening-copy {container-type:inline-size}
#inhalt .workshop-menu h2#werkstatt-menue-title {font-size:min(var(--type-title-size),8.7cqi)}
html:lang(de) .cinema .studio-opening #cin-title {
  font-size:min(var(--type-title-size),9cqi) !important;
  white-space:nowrap;
}
html:lang(de) .studio-opening #cin-title :is(span,em) {display:inline}
@media (min-width:861px) {
  html:lang(de) .cinema .opening-copy {width:48%}
  html:lang(de) .opening-copy .opening-deck {max-width:min(35vw,40ch)}
}
.title-word {white-space:nowrap}
.workshop-when {container-type:inline-size}
#inhalt .workshop-when h2 {font-size:min(var(--type-title-size),20cqi)}
