/* Focus indication follows actual input, including Safari touch focus. */
#site-overlay-menu[data-input-mode="pointer"] a:focus{outline:none!important;box-shadow:none!important}
#site-overlay-menu[data-input-mode="keyboard"] a:focus{outline:2px solid currentColor!important;outline-offset:4px}
.event-date-short{display:none}
@media(max-width:740px){
  .c-header > .o-grid{flex-wrap:nowrap}
  .c-header > .o-grid > .o-grid__col:first-child{width:auto;flex:1;min-width:0}
  .c-header > .o-grid > .o-grid__col:nth-child(2){width:auto;flex:0 0 auto}
  .c-header__brand{white-space:nowrap;font-size:clamp(.7rem,3.45vw,1rem);letter-spacing:.08em}
  .c-overlay__nav a:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
  .c-overlay__nav a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
  .c-overlay__nav-item--social svg,.c-overlay__nav-item--social img{width:24px!important;height:auto!important;max-height:24px;object-fit:contain}
  .c-home .event-date-full{display:none}
  .c-home .event-date-short{display:inline}
  .c-home .c-events .c-event-row{display:grid!important;grid-template-columns:5.8rem minmax(0,1fr);gap:1rem!important}
  .c-home .c-events .c-event-row__datecol{width:auto!important;min-width:0!important}
  .c-home .c-events .c-event-row__contentcol{text-align:right;min-width:0;width:100%!important}
  .c-home .c-events .c-row__title{white-space:normal;overflow-wrap:break-word}
  :is(#neil-young,#manfred-krug) .c-shows-venues{display:grid;grid-template-columns:1fr;gap:.55rem;margin:0;padding:0}
  :is(#neil-young,#manfred-krug) .c-shows-venues>li{display:grid;grid-template-columns:6rem minmax(0,1fr);gap:.7rem;margin:0;padding:0;align-items:baseline}
  :is(#neil-young,#manfred-krug) .c-shows-venue__city{font-size:.98rem;margin:0;line-height:1.35}
  :is(#neil-young,#manfred-krug) .c-shows-venue__name{font-size:.8rem;line-height:1.4;margin:0}
  .c-vita-career{--year-col:4.5rem;--vita-gap:.75rem;gap:0}
  .c-vita-career .c-vita-entry{position:relative;display:grid;grid-template-columns:var(--year-col) minmax(0,1fr);column-gap:var(--vita-gap);row-gap:0;padding:.9rem 0!important;border:0!important}
  .c-vita-career .c-vita-entry::before{content:"";position:absolute;top:0;left:calc(var(--year-col) + var(--vita-gap));right:0;border-top:1px dotted rgba(var(--rgb--main-900),.2)}
  .c-vita-career .c-vita-entry__body{display:contents}
  .c-vita-career .c-vita-entry__year{grid-column:1;grid-row:2;line-height:1.3;padding:0}
  .c-vita-career .c-vita-entry__format-wrap{grid-column:2;grid-row:1;position:static!important;margin:0 0 .3rem!important;line-height:1.2!important}
  .c-vita-career .c-vita-entry__body > :is(.c-vita-entry__title-row,.c-vita-entry__title){grid-column:2;grid-row:2}
  .c-vita-career .c-vita-entry__body > :is(.c-vita-entry__meta,.c-vita-entry__meta-icons,.c-vita-entry__note){grid-column:2;margin-top:.15rem}
  .c-vita-career .c-vita-entry__title-row{display:flex;align-items:baseline;gap:.35rem}
  .c-vita-career .c-vita-entry__title{min-width:0;line-height:1.3;margin:0}
  .c-vita-career .c-vita-entry__video-trigger{order:2;flex:0 0 16px;margin:0}
  .c-vita-film__toggle-wrap{margin:1.75rem 0 0 5.25rem!important}
  .c-contact-page{padding-bottom:5rem!important}
}

/* Page position and language switching are distinct navigation roles. */
#site-overlay-menu .c-overlay__nav > li:is(.current-menu-item,.current-menu-ancestor,.current-page-ancestor,.current_page_parent):not(.trp-language-switcher-container) > a {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.22em;
}
.c-header__nav > .trp-language-switcher-container > a,
#site-overlay-menu .trp-language-switcher-container > a {
  font-family:var(--ff--pri);
  font-weight:400;
  letter-spacing:.08em;
}
.c-header__nav > .trp-language-switcher-container > a {font-size:.75rem}
#site-overlay-menu .trp-language-switcher-container {margin-top:1.5rem;margin-bottom:1rem}
#site-overlay-menu .trp-language-switcher-container > a {
  display:inline-flex;
  align-items:center;
  min-width:44px;
  min-height:44px;
  font-size:.875rem;
  line-height:1.3;
}

/* Vita: dividers stay within the project column on desktop and mobile. */
@media screen and (min-width:741px){
  .c-vita-career{gap:0;--vita-year-column:82px;--vita-column-gap:.95rem}
  #wrapper .c-vita-career .c-vita-entry{
    position:relative;
    grid-template-columns:var(--vita-year-column) minmax(0,1fr);
    column-gap:var(--vita-column-gap);
    padding:.9rem 0!important;
    border:0!important;
  }
  .c-vita-career .c-vita-entry::before{
    content:"";
    position:absolute;
    top:0;
    left:calc(var(--vita-year-column) + var(--vita-column-gap));
    right:0;
    border-top:1px dotted rgba(var(--rgb--main-900),.2);
  }
}

/* Match the mobile title/video order on desktop. */
@media screen and (min-width:741px){
  .c-vita-career .c-vita-entry__title-row{align-items:baseline}
  .c-vita-career .c-vita-entry__video-trigger{order:2;flex:0 0 16px;margin:0}
}

/* Consistent title/year rows and filter inset at every screen size. */
@media screen {
  .c-vita-career > .c-vita-entry:first-child::before,
  .c-vita-career > .c-vita-entry.is-first-visible::before{content:none}
  .c-vita-entry{row-gap:0}
  .c-vita-entry__body{display:contents}
  .c-vita-entry__year{grid-column:1;grid-row:2;align-self:first baseline;padding:0;line-height:1.3}
  .c-vita-entry__format-wrap{grid-column:2;grid-row:1;position:static!important;margin:0 0 .3rem!important}
  .c-vita-entry__body > :is(.c-vita-entry__title-row,.c-vita-entry__title){grid-column:2;grid-row:2;align-self:first baseline}
  .c-vita-entry__body > :is(.c-vita-entry__meta,.c-vita-entry__meta-icons){grid-column:2;grid-row:3}
  .c-vita-entry__body > .c-vita-entry__note{grid-column:2;grid-row:4}
  .c-vita-entry__title-row{align-items:baseline;min-width:0}
  .c-vita-entry__title{min-width:0;margin:0;line-height:1.3}
  .c-vita-film-filter{margin-left:calc(82px + .95rem)}
}
@media screen and (max-width:740px){
  .c-vita-film-filter{margin-left:5.25rem}
}

/* Center the play icon beside the title, within its visible letter height. */
@media screen {
  .c-vita-career .c-vita-entry__title-row{align-items:center}
  .c-vita-career .c-vita-entry__video-trigger{
    align-self:center;
    flex:0 0 .875rem;
    width:.875rem;
    height:.875rem;
    margin:0;
    background-size:contain;
    background-position:center;
  }
}

/* Fine outline symbols for direction and production in the filmography. */
.c-vita-career .c-vita-entry__meta-item--director::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203v11m12-11v11M6%204h12v5H6M3%2011h5m8%200h5M4%2011v4h16v-4M5%2015h14M7%2015l10%206m0-6L7%2021%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}
.c-vita-career .c-vita-entry__meta-item--production::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-8h6v8%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}
[data-theme=dark] .c-vita-career .c-vita-entry__meta-item--director::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203v11m12-11v11M6%204h12v5H6M3%2011h5m8%200h5M4%2011v4h16v-4M5%2015h14M7%2015l10%206m0-6L7%2021%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}
[data-theme=dark] .c-vita-career .c-vita-entry__meta-item--production::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-8h6v8%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}

/* Outline venue / studio symbol for stage and voice credits. */
.c-vita-career .c-vita-entry__meta-item--venue::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-8h6v8%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}
[data-theme=dark] .c-vita-career .c-vita-entry__meta-item--venue::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-8h6v8%22%2F%3E%3C%2Fsvg%3E");background-size:16px 16px}

/* Consistent mobile credit rows in film, stage and voice sections. */
@media screen and (max-width:740px) {
  .c-vita-career .c-vita-entry__meta-icons{
    flex-direction:column;
    align-items:stretch;
    gap:.2rem;
  }
  .c-vita-career .c-vita-entry__meta-item{
    display:grid;
    grid-template-columns:16px minmax(0,1fr);
    align-items:start;
    column-gap:.34rem;
    min-width:0;
  }
  .c-vita-career .c-vita-entry__meta-item::before{
    margin-top:calc(.675em - 8px);
  }
}

/* Compact, consistent desktop credits; keep section dividers content-sized. */
@media screen and (min-width:741px) {
  :is(.c-vita-career--stage,.c-vita-career--voice){width:max-content;max-width:100%}
  .c-vita-career .c-vita-entry__meta-icons{column-gap:.7rem;row-gap:.2rem}
}

/* Film list continuation aligned with the project column on desktop. */
@media screen and (min-width:741px) {
  .c-vita-film__toggle-wrap{
    margin:0 0 0 calc(82px + .95rem);
    padding-top:1rem;
    border-top:1px dotted rgba(var(--rgb--main-900),.2);
  }
}

/* Match film divider lengths to the same intrinsic sizing used on the left. */
@media screen and (min-width:741px) {
  .c-vita-page__col--right > .c-vita-block{width:max-content;max-width:100%}
}
