/* Kate Bailey hub: a quiet homage to Dieter Rams and Braun.
   One family (Inter Tight), warm off-white and light grey surfaces,
   near-black type, one signal accent used sparingly. */

/* Self-hosted fonts (SIL OFL 1.1, from @fontsource). No external font requests. */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext-300-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-tight-latin-300-normal.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: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-tight-latin-400-normal.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: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-tight-latin-500-normal.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: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-tight-latin-600-normal.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: 'Inter Tight'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-tight-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-tight-latin-800-normal.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: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/archivo-black-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/archivo-black-latin-400-normal.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; }

:root {
  --paper: #f2f0eb;
  --surface: #e7e5df;
  --surface-2: #dcdad3;
  --white: #fbfaf7;
  --ink: #1b1b19;
  --ink-2: #3b3a36;
  --muted: #64625c;          /* 5.3:1 on paper */
  --rule: #cfccc4;
  --rule-strong: #1b1b19;
  --signal: #e4572e;         /* Braun orange: buttons, LEDs, dots only */
  --signal-ink: #b23c17;     /* text-safe variant, 5:1 on paper */
  --dark: #161614;

  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --step--1: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --step-hero: clamp(3.2rem, 1.6rem + 7.4vw, 8.5rem);
  --step-num: clamp(4.5rem, 2.5rem + 8vw, 10rem);

  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --player-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--player-h);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.label {
  display: block;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 240, 235, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; font-size: 1rem; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; display: inline-flex; gap: 6px; align-items: baseline; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-n { font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: var(--white); position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Grille ---------- */
.grille {
  display: block;
  background-image: radial-gradient(circle, var(--ink) 1.6px, transparent 2px);
  background-size: 12px 12px;
  background-position: center;
  opacity: .85;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  padding-top: clamp(3rem, 2rem + 6vw, 8rem);
  padding-bottom: 0;
}
.hero-text { grid-column: 1 / span 8; align-self: end; }
.hero-name {
  font-size: var(--step-hero);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0.35em 0 0.3em;
}
.hero-line { font-size: var(--step-2); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; margin: 0; max-width: 28ch; color: var(--ink-2); }
.hero-grille {
  grid-column: 10 / span 3;
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: 6px;
  padding: 14%;
  align-self: end;
}
.hero-grille .grille { width: 100%; height: 100%; border-radius: 50%; }
.hero-dial {
  position: absolute; right: 9%; bottom: 9%;
  width: 18%; aspect-ratio: 1; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--rule);
}

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: end;
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
  margin-bottom: clamp(2rem, 3vw, 3.5rem);
}
.sec-num {
  grid-column: 1 / span 2;
  font-size: var(--step-num);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sec-head > div { grid-column: 3 / -1; }
.sec-title { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 0; max-width: 20ch; }
.sub-label { margin: clamp(2.5rem, 4vw, 4rem) 0 16px; }

.cta { display: inline-flex; gap: 8px; align-items: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.arrow { display: inline-block; transition: transform .2s ease; letter-spacing: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 2rem; }
.portrait { grid-column: 3 / span 4; margin: 0; background: var(--surface); }
.portrait img { width: 100%; height: auto; }
.about-body { grid-column: 8 / span 5; align-self: end; }
.about-body p { margin: 0 0 1.1em; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.about-body p:first-child { color: var(--ink); }
.about-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--signal); }

/* ---------- Listen console ---------- */
.console {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.console-plate {
  grid-column: 1 / span 5;
  background: var(--dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  min-height: 320px;
}
.h6-insignia { width: 56px; height: auto; }
.h6-wordmark { width: 100%; max-width: 380px; height: auto; }
.console-face { grid-column: 6 / -1; padding: clamp(1.5rem, 3vw, 2.75rem); display: flex; flex-direction: column; gap: 2rem; }
.console-tag { font-size: var(--step-2); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; margin: 0; max-width: 22ch; }
.console-controls { display: flex; align-items: center; gap: 22px; }
.dial-btn {
  flex: none; width: 88px; height: 88px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--signal); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--rule), 0 8px 18px rgba(0,0,0,.12);
  transition: transform .15s ease;
}
.dial-btn svg { width: 34px; height: 34px; }
.dial-btn:hover { transform: scale(1.03); }
.dial-btn:active { transform: scale(.97); }
.console-now { font-size: var(--step-1); font-weight: 600; margin: 4px 0 2px; }
.console-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.platforms { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.platforms li { margin: 0; }
.platforms a { display: inline-block; padding: 14px 18px 2px 0; font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.platforms a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.episodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.ep-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start;
  text-decoration: none; padding: 14px; background: var(--white); border: 1px solid var(--rule); border-radius: 6px;
  transition: border-color .2s ease;
}
.ep-card img { width: 112px; height: 112px; object-fit: cover; border-radius: 3px; }
.ep-body { display: flex; flex-direction: column; gap: 4px; }
.ep-title { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.ep-desc { font-size: 0.9rem; color: var(--muted); }
.ep-card .cta { margin-top: 6px; }
.ep-card:hover { border-color: var(--ink); }
.ep-card:hover .arrow, .feature-card:hover .arrow, .door:hover .arrow { transform: translateX(3px); }

/* ---------- Work ---------- */
.feature-list { border-top: 1px solid var(--rule); }
.feature-card {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  align-items: start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.feature-idx { grid-column: 1 / span 2; font-size: var(--step-2); font-weight: 300; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.feature-art { grid-column: 3 / span 3; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--surface); }
.feature-body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 10px; }
.feature-title { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.feature-desc { font-size: var(--step-1); color: var(--ink-2); max-width: 32em; line-height: 1.45; }
.feature-card .cta { margin-top: 8px; }
.feature-card:hover .feature-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--signal); }

.more { margin-top: clamp(2rem, 3vw, 3rem); }
.switch-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 16px; cursor: pointer;
  background: var(--white); border: 1px solid var(--rule); border-radius: 999px;
  font-weight: 600; font-size: 0.92rem;
}
.switch-btn .label { font-size: 0.68rem; }
.switch-btn:hover { border-color: var(--ink); }
.switch-led { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s ease; }
.switch-btn.is-open .switch-led, .switch-led.is-on { background: var(--signal); box-shadow: 0 0 0 3px rgba(228, 87, 46, .18); }

.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 1.75rem; }
.thumb-grid[hidden] { display: none; }
.thumb { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.thumb-art { display: block; aspect-ratio: 1; background: var(--surface); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.thumb-art img { width: 100%; height: 100%; object-fit: cover; }
.thumb-art--type { display: grid; place-items: center; text-align: center; padding: 1rem; }
.thumb-art--type span { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.thumb-title { font-weight: 600; font-size: 1rem; }
.thumb:hover .thumb-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--signal); }

/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.door {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--white); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.door:hover { border-color: var(--ink); }
.door-face { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 12%; position: relative; }
.door-face--haus6 { background: var(--dark); flex-direction: column; gap: 22px; }
.door-insignia { width: 44px; height: auto; position: absolute; top: 18px; left: 18px; }
.door-wordmark { width: 100%; max-width: 280px; height: auto; }
.door-face--kdb { background: #E9E7E1; }
.kdb-tiles { display: flex; gap: 10px; }
.kdb-sq {
  width: clamp(54px, 5.5vw, 76px); aspect-ratio: 1; display: grid; place-items: center;
  font-family: 'Archivo Black', var(--font); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1;
}
.kdb-k { background: #3A5D9F; color: #fff; }
.kdb-d { background: #4E895B; color: #fff; }
.kdb-b { background: #B59040; color: #1C1C1A; }
.door-face--hh { background: var(--surface); }
.hh-word { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.door-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 22px; border-top: 1px solid var(--rule); flex: 1; }
.door-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.door-led { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); flex: none; transition: background .2s ease; }
.door:hover .door-led { background: var(--signal); box-shadow: none; }
.door-desc { font-size: 1.02rem; color: var(--ink-2); line-height: 1.45; }
.door .cta { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 3rem; }
.contact-list { grid-column: 3 / span 4; margin: 0; border-top: 1px solid var(--rule); align-self: start; }
.contact-item { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-item dd { margin: 4px 0 0; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--signal); }
.contact-item a:hover .arrow { transform: translate(2px, -2px); }

.contact-form { grid-column: 8 / span 5; background: var(--surface); border-radius: 8px; padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 18px; position: relative; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px;
  padding: 11px 12px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--signal-ink); }
.topic legend { margin-bottom: 6px; padding: 0; }
.topic-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 4px; }
.topic-switch label { position: relative; cursor: pointer; }
.topic-switch input { position: absolute; opacity: 0; inset: 0; }
.topic-switch span { display: block; text-align: center; padding: 9px 6px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: background .15s ease; }
.topic-switch input:checked + span { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.topic-switch input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.send-btn {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 13px 22px 13px 16px; font-weight: 600; font-size: 0.95rem;
}
.send-btn:hover { background: #000; }
.send-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.form-error { margin: 0; font-size: 0.88rem; color: var(--signal-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-privacy a { color: var(--ink-2); text-underline-offset: 3px; }
.send-btn:disabled { opacity: .6; cursor: progress; }
.form-done { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border-radius: 6px; border: 1px solid var(--rule); }
.form-done[hidden] { display: none; }
.form-done p { margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-inner a { color: var(--ink-2); text-underline-offset: 3px; }

/* ---------- Player: Braun radio panel ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #e2e0da;
  border-top: 1px solid #c9c6be;
  box-shadow: 0 -6px 20px rgba(0,0,0,.05);
}
.player-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--white); }
.player.is-expanded .player-panel { max-height: 190px; border-bottom: 1px solid var(--rule); }
.player-panel iframe { display: block; border: 0; }
.player-bar { height: var(--player-h); display: flex; align-items: center; gap: 18px; }
.pb-grille {
  flex: none; width: 96px; height: 40px;
  background-image: radial-gradient(circle, #6e6c66 1.3px, transparent 1.7px);
  background-size: 8px 8px;
}
.pb-play {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--signal); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 4px #f4f2ed, 0 0 0 5px #c9c6be;
}
.pb-play svg { width: 22px; height: 22px; }
.pb-play .i-pause { display: none; }
.player.is-playing .pb-play .i-play { display: none; }
.player.is-playing .pb-play .i-pause { display: block; }
.pb-meta { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; align-items: center; }
.pb-station { display: inline-flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.pb-chip { width: 22px; height: 22px; border-radius: 4px; background: var(--dark); display: grid; place-items: center; }
.pb-chip img { width: 15px; height: auto; }
.pb-title { font-size: 0.95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pb-vu {
  grid-column: 1 / -1; position: relative; height: 8px; max-width: 520px;
  background-image: repeating-linear-gradient(90deg, #b9b6ae 0 3px, transparent 3px 6px);
}
.pb-vu span {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background-image: repeating-linear-gradient(90deg, var(--signal) 0 3px, transparent 3px 6px);
  transition: width .25s linear;
}
.pb-expand {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: #f4f2ed; border: 1px solid #c9c6be; display: grid; place-items: center; color: var(--ink);
}
.pb-expand svg { width: 18px; height: 18px; transition: transform .2s ease; }
.player.is-expanded .pb-expand svg { transform: rotate(180deg); }

/* Two-click consent notice */
.player-consent { background: var(--white); border-bottom: 1px solid var(--rule); }
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.consent-inner p { margin: 0; font-size: 0.95rem; font-weight: 500; max-width: 46ch; }
.consent-actions { display: flex; gap: 10px; }
.consent-yes, .consent-no { cursor: pointer; border-radius: 999px; font-weight: 600; font-size: 0.9rem; padding: 10px 18px; }
.consent-yes { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border: 0; padding-left: 14px; }
.consent-no { background: transparent; border: 1px solid var(--rule); color: var(--ink); }
.consent-no:hover { border-color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(2.5rem, 2rem + 4vw, 6rem); }
.legal .sec-head { margin-bottom: 2.5rem; }
.legal-summary { grid-column: 3 / span 8; margin: 0 0 2.5rem; padding: 14px 16px; background: var(--surface); border-radius: 6px; font-size: 0.95rem; color: var(--ink-2); }
.legal-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.legal-body > * { grid-column: 3 / span 7; }
.legal-body h2 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; margin: 2.25rem 0 0.5rem; padding-top: 14px; border-top: 1px solid var(--rule); }
.legal-body h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.35rem; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.6; }
.legal-body p { margin: 0 0 0.9em; }
.legal-body ul { padding-left: 1.1em; margin: 0 0 1em; }
.legal-body a { text-decoration-color: var(--signal); text-underline-offset: 3px; }
.legal-body address { font-style: normal; line-height: 1.6; margin-bottom: 0.9em; color: var(--ink); }
.legal-email { font-weight: 600; color: var(--ink); }
.legal-stand { margin-top: 2.5rem; font-size: 0.88rem; color: var(--muted) !important; }
body.legal-page { padding-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .portrait { grid-column: 1 / span 5; }
  .about-body { grid-column: 7 / -1; }
  .contact-list { grid-column: 1 / span 5; }
  .contact-form { grid-column: 7 / -1; }
  .doors { grid-template-columns: repeat(2, 1fr); }
  .thumb-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --player-h: 68px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 4px var(--gutter) 12px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav-links a:last-child { border-bottom: 0; }

  .hero { padding-top: 2rem; }
  .hero-text { grid-column: 1 / -1; }
  .hero-grille { display: none; }

  .sec-num { grid-column: 1 / span 3; }
  .sec-head > div { grid-column: 4 / -1; }

  .about-grid > * { grid-column: 1 / -1 !important; }
  .portrait { max-width: 420px; }

  .console-plate, .console-face { grid-column: 1 / -1; }
  .console-plate { min-height: 0; gap: 1.75rem; }
  .dial-btn { width: 72px; height: 72px; }
  .episodes { grid-template-columns: 1fr; }
  .ep-card { grid-template-columns: 88px 1fr; gap: 14px; padding: 12px; }
  .ep-card img { width: 88px; height: 88px; }

  .feature-idx { grid-column: 1 / -1; font-size: 1rem; margin-bottom: 12px; }
  .feature-art { grid-column: 1 / span 5; }
  .feature-body { grid-column: 6 / -1; }
  .feature-title { font-size: var(--step-2); }
  .feature-desc { font-size: 0.95rem; }

  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: 1fr; }
  .door-face { aspect-ratio: 16 / 9; }

  .contact-list, .contact-form { grid-column: 1 / -1; }
  .legal-summary, .legal-body > * { grid-column: 1 / -1; }

  .pb-grille { display: none; }
  .player-bar { gap: 14px; }
  .pb-play { width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  .feature-art { grid-column: 1 / -1; margin-bottom: 14px; max-width: 220px; }
  .feature-body { grid-column: 1 / -1; }
  .topic-switch span { font-size: 0.8rem; padding: 9px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
