/* self-hosted fonts */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Carte Blanche Cologne 2026, website v2 (reduced). Shared by version A and version B. */
:root {
  --paper: #F0ECEA;
  --room: #F7F4F2;
  --paper-2: #E4DFDB;
  --cobalt: #3B53A3;
  --logo-blue: #002FA7;
  --ink: #14182B;
  --soft: #4A4F66;
  --hair: rgba(59, 83, 163, 0.35);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gut: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 var(--mono); }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, canvas:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gut); }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; padding: 16px 0; }
.top.with-logo { justify-content: space-between; }
.top .home { display: inline-flex; align-items: center; min-height: 44px; }
.top .home img { height: 56px; width: auto; display: block; }
.navs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav a, .lang button, .lang a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px;
  text-decoration: none; font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.lang { display: flex; }
.lang button { background: none; border: 0; color: var(--soft); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
/* language switch as links: German pages at the root, English under /en/ */
.lang a { color: var(--soft); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* title and hero */
.title { max-width: 1440px; margin: 0 auto; padding: 24px var(--gut) 0; display: flex; flex-direction: column; gap: 22px; }
.title h1 { margin: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 400; }
.title h1 img { width: min(760px, 100%); height: auto; display: block; }
.subtitle { display: block; white-space: nowrap; padding-left: 0.5%; font-family: var(--mono); font-weight: 500; font-size: calc(min(760px, 100vw - 2 * var(--gut)) / 43); line-height: 1.4; letter-spacing: 0.6em; text-transform: uppercase; color: var(--logo-blue); }
.dates { margin: 0; font: 700 28px/1 var(--display); text-transform: uppercase; color: var(--cobalt); }
/* dates scale with the logo width so they never compete with it */
.dates { font-size: clamp(14px, calc(min(760px, 100vw - 2 * var(--gut)) / 27), 28px); line-height: 1.1; }
/* C: thinner dates; festival line vertical at the side, moves above the logo under 900 px */
.hero-c .dates { font-weight: 500; }
.stage-title { max-width: 1440px; margin: 56px auto 0; padding: 0 var(--gut); text-align: center; font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cobalt); }
.stage { position: relative; height: 800px; max-width: 1440px; margin: 0 auto; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
#plan { cursor: crosshair; }
/* version B: festival line stands vertically at the right edge like the poster; on narrow screens it becomes a normal line under the dates */
.hero-b { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; }
.hero-b .title { grid-column: 1; grid-row: 1; width: 100%; }
.hero-b .still { grid-column: 1; grid-row: 2; width: 100%; }
.hero-b .side { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 51px var(--gut) 0 0; writing-mode: vertical-rl; white-space: nowrap; font: 500 clamp(32px, 3.9vw, 56px)/1 var(--display); color: var(--logo-blue); }
.hero-c .side { padding-bottom: 44px; } /* keep the vertical line of text clear of the rule under the hero */
@media (max-width: 900px) {
  .hero-b { display: flex; flex-direction: column; }
  .hero-b .side { order: 2; writing-mode: horizontal-tb; white-space: normal; padding: 20px var(--gut) 0; font-size: clamp(26px, 6.4vw, 40px); line-height: 1.05; }
  .hero-b .title { order: 1; }
  .hero-b .still { order: 3; }
  .hero-b .still { margin-top: 32px; }
  .hero-c .side { order: 0; padding: 24px var(--gut) 0; font: 500 calc(min(760px, 100vw - 2 * var(--gut)) / 53)/1.4 var(--mono); letter-spacing: 0.5em; text-transform: uppercase; }
  .hero-c .title { padding-top: 14px; }
}
.still { max-width: 1440px; margin: 56px auto 0; padding-inline: var(--gut); }
.still img { width: 100%; height: auto; display: block; }
.stage-foot { position: absolute; left: var(--gut); bottom: 40px; display: flex; flex-direction: column; gap: 4px; max-width: 46ch; }
.small { margin: 0; font-size: 12px; letter-spacing: 0.08em; color: var(--soft); }
.pause {
  align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft);
  text-decoration: underline; text-underline-offset: 4px;
}
.no-canvas .stage canvas, .no-canvas .pause { display: none; }

/* sections */
.sec { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: 120px 0; border-top: 1px solid var(--cobalt); }
.sec > h2 { flex: 0 0 220px; margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
.spacer { flex: 0 0 220px; }
.col { flex: 999 1 560px; min-width: 0; max-width: 880px; }
.prose { max-width: 64ch; display: flex; flex-direction: column; gap: 20px; }
.prose p { margin: 0; }
.day + .day { margin-top: 72px; }
.daylabel { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0 24px; border-top: 1px solid var(--hair); }
.list li.last { border-bottom: 1px solid var(--hair); }
.list h3 { margin: 0; font: 700 44px/0.95 var(--display); text-transform: uppercase; color: var(--cobalt); }
.list h3 a { color: inherit; text-decoration: none; }
.list h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.list p { margin: 0; max-width: 64ch; }
.w { font-weight: 500; }
strong { font-weight: 700; }
figure { margin: 0; }
.photo { display: flex; flex-direction: column; gap: 14px; }
.photo img { width: 100%; height: auto; display: block; }
.cap { font-size: 12px; letter-spacing: 0.06em; color: var(--soft); }
.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; font: 700 32px/1.2 var(--display); text-transform: uppercase; }
.names a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
dl.info { margin: 0; flex: 999 1 520px; min-width: 0; max-width: 64ch; }
dl.info > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--hair); }
dl.info > div:last-child { border-bottom: 1px solid var(--hair); }
dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
dd { margin: 0; }
.tap { display: inline-flex; align-items: center; min-height: 44px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--cobalt); text-decoration: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.stipple { flex: 1 1 420px; min-width: 0; width: 100%; max-width: 820px; height: auto; align-self: center; margin-left: auto; display: block; }

/* footer */
.foot { border-top: 1px solid var(--cobalt); padding: 72px 0 64px; display: flex; flex-direction: column; gap: 48px; }
.foot p { margin: 0; max-width: 64ch; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; }
.foot-row img { height: 64px; width: auto; max-width: 100%; display: block; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.funders { list-style: none; margin: 0; padding: 32px 40px; background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.funders img { height: 48px; width: auto; display: block; }
.funders .s img { height: 44px; }
.funders .l img { height: 56px; }
/* C: all logos in black, straight on the paper colour */
.funders.mono { background: none; padding: 0; }
.funders.mono .bkm img { height: 64px; }
.funders.mono .knrw img { height: 58px; }
/* C: organiser and cooperation partner before the funders */
.partners { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.partners .daylabel { margin: 0 0 16px; }
.partners img { height: 80px; width: auto; display: block; }
.partners .kgnm img { height: 128px; }
.note { font-size: 12px; color: var(--soft); }

/* artist page */
.artist-head { display: flex; flex-direction: column; gap: 40px; padding: 72px 0 72px; }
.artist-head .spacer { flex: none; }
.artist-head h1 { margin: 0; font: 700 clamp(40px, 9vw, 128px)/0.88 var(--display); text-transform: uppercase; color: var(--cobalt); }
/* C: sideways photo strip, one photo per act */
.strip-sec { padding: 96px 0 140px; }
.strip-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.strip-btn { width: 44px; height: 44px; border: 1px solid var(--cobalt); background: none; color: var(--cobalt); font: 500 18px/1 var(--mono); cursor: pointer; }
.strip-btn:hover { background: var(--cobalt); color: var(--paper); }
.strip { list-style: none; margin: 0; padding: 0 0 16px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }
.strip li { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.strip a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.strip img { height: 480px; width: auto; display: block; }
.strip-name { font: 700 28px/1 var(--display); text-transform: uppercase; color: var(--cobalt); }
.strip a:hover .strip-name { color: var(--ink); }
@media (max-width: 700px) {
  .strip-sec { padding: 56px 0 72px; }
  .strip img { height: 320px; }
  .strip-name { font-size: 22px; }
  .strip-nav { display: none; }
}
.artist-photo { padding-bottom: 120px; }
.artist-photo.tall { max-width: 720px; }
.prose h3.work { margin: 24px 0 0; font: 700 44px/0.95 var(--display); text-transform: uppercase; color: var(--cobalt); }
.prose h3.work:first-child { margin-top: 0; }

/* phone */
@media (max-width: 700px) {
  .top { padding: 4px 0; }
  .top .home img { height: 40px; }
  .subtitle { white-space: normal; padding-left: 0; font-size: 14px; letter-spacing: 0.24em; line-height: 1.5; }
  .hero-c .side { font-size: 12px; letter-spacing: 0.2em; line-height: 1.5; }
  .stage-title { margin-top: 40px; }
  .stage { height: 540px; margin-bottom: 104px; }
  .stage-foot { left: 0; right: 0; top: 100%; bottom: auto; max-width: none; padding: 8px var(--gut) 0; }
  .sec { padding: 56px 0 72px; }
  .sec > h2, .spacer { flex-basis: 100%; }
  .spacer { display: none; }
  .list h3 { font-size: 30px; }
  .names { font-size: 26px; }
  .stipple { display: none; }
  .foot-row img { width: 100%; height: auto; }
  .funders { gap: 24px 32px; padding: 24px 20px; }
  .funders img { height: 40px; }
  .funders .s img { height: 36px; }
  .artist-head { padding: 40px 0 48px; }
}

/* phone menu */
.menu-btn { display: none; min-height: 44px; padding: 0 0 0 8px; background: none; border: 0; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
@media (max-width: 700px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .navs { width: 100%; justify-content: flex-end; }
  .top.with-logo .navs { width: auto; }
  .navs nav { order: 3; flex-basis: 100%; display: none; }
  .navs.open nav { display: block; }
  .navs.open .nav { flex-direction: column; }
}

/* Tickets page (/t) */
.tix li.show { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.tix h3 { font-size: clamp(32px, 6vw, 56px); }
.btn.soon { color: var(--soft); border-color: var(--hair); }
a.btn { background: var(--cobalt); color: var(--paper); }
a.btn:hover { background: var(--ink); color: var(--paper); }
.names.team li { display: flex; align-items: center; min-height: 44px; }
