/* Klangfader website
   Built from the "Klangfader Website" design: Velvet hero bands, Instrument Serif headlines
   with a Sunfire italic accent, Geist for everything else, and the "l" of the logo drawn as a fader. */
:root {
  /* The four brand colours and two fonts can be overridden by theme.css (the editor's Design tab). */
  --velvet: var(--kf-velvet, #50000B);
  --sun: var(--kf-sun, #ED7D33);
  --paper: var(--kf-paper, #F7F0E8);
  --blush: var(--kf-blush, #F3C9B1);
  --velvet-deep: color-mix(in srgb, var(--velvet) 75%, #000);
  --velvet-night: color-mix(in srgb, var(--velvet) 52%, #000);
  --mist: color-mix(in srgb, var(--paper) 88%, var(--velvet));   /* soft text on Velvet */
  --clay: color-mix(in srgb, var(--velvet) 75%, var(--paper));   /* soft text on Paper */
  --line: color-mix(in srgb, var(--velvet) 12%, var(--paper));
  --serif: var(--ce-font-serif, "Instrument Serif", Georgia, "Times New Roman", serif);
  --sans: var(--ce-font-sans, "Geist", system-ui, -apple-system, "Segoe UI", sans-serif);
  --pad: 32px;
  color-scheme: light;
}
@media (max-width: 640px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--velvet); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
em { font-style: italic; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dark { background: var(--velvet); color: var(--paper); }
.dark .kicker, .dark .soft { color: var(--mist); }
.soft { color: var(--clay); }
.accent { color: var(--sun); }

/* ---------- Logo: KLANGFADER in capitals, with a fader dial on the L and the D ---------- */
.kf-logo { display: inline-flex; align-items: baseline; min-height: 44px; padding-top: 6px; font: 400 36px/1 var(--serif); letter-spacing: 0.06em; color: inherit; white-space: nowrap; }
.kf-dial { position: relative; display: inline-block; }
.kf-dial::after { content: ""; position: absolute; left: var(--kf-stem, 0.13em); top: 0.3em; width: 0.2em; height: 0.26em; transform: translateX(-50%); border-radius: 0.025em;
  background: linear-gradient(var(--velvet), var(--velvet)) center / 100% max(1px, 0.03em) no-repeat, var(--sun); }
@media (max-width: 767px) { .kf-nav .kf-logo { font-size: 28px; } }

/* ---------- Header and menu ---------- */
.site-head { background: var(--velvet); color: var(--paper); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 28px; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 16px; font-weight: 500; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; }
.navlink:hover, .navlink[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; transition: transform 0.2s ease, background-color 0.2s ease; }
.pill:hover { transform: translateY(-2px); }
.pill--line { min-height: 36px; padding: 0 14px; border: 1px solid currentColor; font-size: 14px; }
.pill--sun { min-height: 40px; padding: 0 18px; background: var(--sun); color: var(--velvet); font-size: 15px; font-weight: 600; }
.pill--big { min-height: 56px; padding: 0 30px; font-size: 18px; }
.pill svg { flex: none; }

/* ---------- Home hero ---------- */
.hero .wrap { display: flex; flex-direction: column; min-height: 600px; }
.hero__main { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 72px 0; text-align: center; }
.hero h1 { max-width: 1100px; font-size: clamp(54px, 8.4vw, 124px); line-height: 0.98; letter-spacing: -0.02em; }
.hero__sub { max-width: 620px; font-size: 20px; color: var(--mist); }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid rgba(247,240,232,0.3); }
.chan { display: flex; align-items: center; gap: 18px; padding: 24px 20px; min-height: 96px; transition: background-color 0.3s ease; }
.chan + .chan { border-left: 1px solid rgba(247,240,232,0.3); }
@media (max-width: 760px) { .chan + .chan { border-left: 0; border-top: 1px solid rgba(247,240,232,0.3); } }
.chan:hover, .chan:focus-visible { background: rgba(247,240,232,0.08); }
.chan__fader { position: relative; flex: 0 0 18px; height: 46px; }
.chan__fader::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: rgba(247,240,232,0.35); }
.chan__fader i { position: absolute; left: 0; width: 18px; height: 8px; border-radius: 2px; background: var(--sun); }
.chan__text { flex: 1 1 auto; display: flex; flex-direction: column; }
.chan__text b { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--mist); }
.chan__text span { font: 400 32px/1.1 var(--serif); }
.chan svg { transition: transform 0.3s ease; }
.chan:hover svg { transform: translateX(6px); }

/* ---------- Inner page header ---------- */
.page-hero__main { display: flex; flex-direction: column; gap: 22px; padding: 72px 0 104px; max-width: 1080px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; }
.page-hero__sub { max-width: 640px; font-size: 20px; color: var(--mist); }

/* ---------- Sections ---------- */
.section { padding-block: 120px; }
.section--tight { padding-block: 96px; }
@media (max-width: 640px) { .section { padding-block: 80px; } .section--tight { padding-block: 64px; } }
.h-xl { font-size: clamp(42px, 4.6vw, 64px); line-height: 1; }
.h-display { font-size: clamp(54px, 8vw, 116px); line-height: 0.98; letter-spacing: -0.02em; }
.poster { margin: 0 0 56px; text-align: center; font: 800 clamp(52px, 9vw, 132px)/0.9 var(--sans); letter-spacing: -0.045em; text-transform: uppercase; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 64px; }
@media (max-width: 400px) { .services { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--velvet); padding-top: 24px; }
.service h2 { font-size: clamp(48px, 5.4vw, 76px); line-height: 1; }
.service p { max-width: 520px; font-size: 21px; line-height: 1.45; }
.num { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }

.band { background: var(--velvet-deep); color: var(--paper); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: stretch; }
.band__media { flex: 1 1 420px; min-height: 380px; margin-left: calc(var(--pad) * -1); background: var(--velvet-night); display: flex; align-items: flex-end; padding: 24px var(--pad); font-size: 13px; letter-spacing: 0.04em; color: var(--mist); }
.band__copy { flex: 1 1 420px; padding: 72px 0 72px clamp(0px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.band__lead { font-size: 22px; font-weight: 500; line-height: 1.35; }
.band__text { max-width: 520px; font-size: 18px; color: var(--mist); }
@media (max-width: 900px) { .band__media { margin-right: calc(var(--pad) * -1); } .band__copy { padding-left: 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { min-height: 300px; border-radius: 4px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card p { font: 400 34px/1.1 var(--serif); }
.card--velvet { background: var(--velvet); color: var(--paper); }
.card--velvet .num { color: var(--mist); }
.card--blush { background: var(--blush); }
.card--sun { background: var(--sun); }

.split { display: flex; flex-wrap: wrap; gap: 20px 72px; }
.split__intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.split__body { flex: 999 1 560px; min-width: 0; }
.rows { border-top: 1px solid var(--velvet); }
.row { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background-color 0.25s ease; }
.row:last-child { border-bottom-color: var(--velvet); }
.row:hover { background: var(--blush); }
.row__name { font: 400 40px/1 var(--serif); }
.row__text { font-size: 19px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 6px; } }

.list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--velvet); }
.list li { padding: 22px 0; border-bottom: 1px solid var(--line); font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); transition: background-color 0.25s ease; }
.list li:last-child { border-bottom-color: var(--velvet); }
.list li:hover { background: var(--blush); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--velvet); border-radius: 999px; font: 400 26px/1 var(--serif); }

.note { background: var(--blush); }
.note .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-block: 72px; }
.note__text { flex: 1 1 520px; font: 400 clamp(30px, 3.4vw, 46px)/1.12 var(--serif); }

.djs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 32px; }
.dj { display: flex; flex-direction: column; gap: 16px; }
.dj__photo { aspect-ratio: 4 / 5; border-radius: 4px; display: flex; align-items: flex-end; padding: 18px; font-size: 13px; }
.dj__photo--velvet { background: var(--velvet-deep); color: var(--mist); }
.dj__photo--sun { background: var(--sun); color: var(--velvet); }
.dj h2 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--velvet); border-radius: 999px; font-size: 15px; font-weight: 500; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }

/* ---------- Enquiry ---------- */
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; padding-block: 128px; text-align: center; }
@media (max-width: 640px) { .closing .wrap { padding-block: 88px; } }
.form { width: 100%; max-width: 880px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 32px; text-align: left; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--mist); }
.form .full { grid-column: 1 / -1; }
.field { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(247,240,232,0.45); border-radius: 0; background: transparent; color: var(--paper); font: 400 19px/1.4 var(--sans); }
.field::placeholder { color: rgba(247,240,232,0.55); }
.field:focus { outline: none; border-bottom-color: var(--sun); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F0E8' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 18px; }
select.field option { color: var(--velvet); }
textarea.field { resize: vertical; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form button { border: 0; font-family: inherit; cursor: pointer; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.foot { background: var(--velvet-deep); color: var(--paper); }
.foot .wrap { display: flex; flex-direction: column; gap: 36px; padding-block: 56px 40px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.kf-footer-logo { font-size: clamp(52px, 10vw, 150px); line-height: 1; }
.kf-footer-logo .kf-logo { font-size: inherit; min-height: 0; padding: 0; }
.foot__line { font: italic 400 26px/1.2 var(--serif); color: var(--mist); }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 6px 24px; border-top: 1px solid rgba(247,240,232,0.25); padding-top: 22px; font-size: 15px; }

/* ---------- Motion: rise on load, reveal on scroll (browsers that support it) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) backwards; }
  .rise--2 { animation-delay: 0.15s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  }
}

/* ---------- Inner pages ---------- */
.statement { max-width: 980px; font: 400 clamp(34px, 4vw, 56px)/1.1 var(--serif); text-wrap: balance; }
.band--plain .wrap { padding-block: 88px; flex-direction: column; align-items: flex-start; gap: 28px; }
.band--plain h2 { max-width: 900px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; }
.end { padding-block: 96px 120px; }
@media (max-width: 640px) { .end { padding-block: 64px 80px; } }
.partner a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- Pictures: a placeholder until a photo is added ---------- */
.ce-media { position: relative; overflow: hidden; }
.ce-media__fill { width: 100%; height: 100%; }
img.ce-media__fill { position: absolute; inset: 0; object-fit: cover; }
.ph { display: flex; align-items: flex-end; padding: 18px; font-size: 13px; letter-spacing: 0.04em; }
.band__media { padding: 0; }
.band__media .ph { padding: 24px var(--pad); }
.dj__photo { padding: 0; }
.ce-field-label { display: block; }

/* ---------- One-page version: a heading block opens each channel's section ---------- */
.market { border-top: 1px solid var(--velvet); padding-block: 120px 56px; }
@media (max-width: 640px) { .market { padding-block: 80px 40px; } }
.market__head { display: flex; flex-direction: column; gap: 22px; max-width: 1080px; }
.market__title { font-size: clamp(48px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em; }
.market__sub { max-width: 640px; font-size: 20px; color: var(--clay); }
.section--after { padding-top: 0; }

/* ---------- Header on one line; on phones a Menu button opens the links ---------- */
.menu-btn { display: none; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font: 500 15px/1 var(--sans); cursor: pointer; }
@media (min-width: 820px) {
  .head:has(.menu-btn) { flex-wrap: nowrap; }
  .head:has(.menu-btn) .menu { flex-wrap: nowrap; white-space: nowrap; gap: 4px clamp(14px, 2vw, 26px); }
}
@media (max-width: 819px) {
  .head:has(.menu-btn) { padding-bottom: 12px; }
  .menu-btn { display: inline-flex; }
  .head:has(.menu-btn) .menu { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 0 12px; }
  .site-head.is-open .menu { display: flex; }
}

/* ---------- Header: logo left and links on one line (computers, tablets);
   on phones the logo is centred with the four links on one line beneath ---------- */
@media (min-width: 768px) {
  .head--stack { flex-wrap: nowrap; }
  .head--stack .menu { flex-wrap: nowrap; white-space: nowrap; gap: 4px clamp(14px, 2vw, 26px); }
}
@media (max-width: 767px) {
  .head--stack { flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px; padding-block: 24px 14px; }
  .head--stack .menu { display: flex; flex-wrap: nowrap; justify-content: center; white-space: nowrap; gap: 4px clamp(12px, 3vw, 32px); font-size: clamp(14px, 3.6vw, 16px); }
  .head--stack .pill--sun { min-height: 36px; padding: 0 clamp(12px, 3.5vw, 18px); font-size: clamp(13px, 3.4vw, 15px); }
}
.head--stack .menu-btn { display: none; }
