/* The Bio page, laid out and measured the way Komi lays one out (a 402px phone; values in CSS px).
   Phone first. Nothing here depends on app.css. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
}
:root {
  --bg: #121212;
  --card: #292929;
  --tile: #393939;
  --btn: #3f3f3f;
  --frame: #616161;
  --ink: #ffffff;
  --ink-2: #bfbfbf;
  --ink-3: #888888;
  --line: rgba(255, 255, 255, 0.2);
  --tab: rgba(255, 255, 255, 0.2);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: 16px;
  --col: 300px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.k {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
.k-page { width: 100%; max-width: 480px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.k-hero, .k-pills, .k-main, .k-foot { width: 100%; min-width: 0; }
.k-sec { min-width: 0; }
@media (max-width: 480px) { :root { --col: 75vw; } }

/* ---- the hero: the photo across the top, fading into the page; the name over its last stretch */
.k-hero { position: relative; height: min(80vw, 384px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 var(--gutter) 0; }
.k-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; animation: k-in 0.9s var(--ease) both; }
.k-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 62%, rgba(18, 18, 18, 0.7) 82%, var(--bg) 98%); }
.no-photo .k-hero { height: auto; padding-top: 64px; }
.k-head { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; transform: translateY(30px); animation: k-rise 0.7s var(--ease) 0.15s both; }
.k-head h1 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; line-height: 1.1; }
.k-tag { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; max-width: 36ch; }
.is-live .k-tag { color: var(--ink-2); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.k-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 18px; }
.k-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -8px; border-radius: 10px; opacity: 0.96; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); }
.k-socials a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.k-socials a:hover { opacity: 1; transform: translateY(-2px); }
.k-socials img { width: 18px; height: 18px; }
.k-main { padding-top: 34px; }
.no-photo .k-head { transform: none; }
.no-photo .k-main { padding-top: 0; }

/* ---- the tabs: one per section, scrolling sideways */
.k-pills { display: flex; gap: 8px; padding: 46px 8px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.k-pills::-webkit-scrollbar { display: none; }
.k-pills a { position: relative; flex: none; height: 27px; padding: 4px 8px; border-radius: 8px; font-size: 16px; font-weight: 450; line-height: 19px; color: var(--ink); white-space: nowrap; transition: background 0.18s var(--ease); }
.k-pills a::before { content: ""; position: absolute; inset: -9px 0; }
.k-pills a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.k-pills a.is-active { background: var(--tab); }
.k-pills + .k-main { padding-top: 0; }
.no-photo .k-pills { padding-top: 20px; }

/* ---- sections: a line above each but the first, the heading 24px under it */
.k-sec { position: relative; padding: 24px 0 16px; margin: 0 var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.k-main > .k-sec:first-child { border-top: 0; padding-top: 24px; }
.k-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 27px; margin-bottom: 14px; }
.k-sec h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; }
.k-sec.is-heading { padding-bottom: 4px; }
.k-sec.is-heading + .k-sec { border-top: 0; padding-top: 12px; }
.k-text { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.k-arrows { display: flex; gap: 4px; margin-right: -8px; }
.k-arrows button { width: 36px; height: 36px; border: 0; padding: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: opacity 0.18s var(--ease), background 0.18s var(--ease); }
.k-arrows button:hover { background: var(--tab); }
.k-arrows button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.k-arrows button[disabled] { opacity: 0.5; pointer-events: none; }
.k-none { color: var(--ink-3); font-size: 14px; margin: 0; }
.k-more { display: inline-block; margin-top: 14px; color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* rails: 300px columns, 16px apart, the next one peeking in */
.k-rail { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
.k-rail::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .k-rail { scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 8px; } .k-rail::-webkit-scrollbar { display: block; height: 6px; } .k-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; } }
.k-col { flex: none; width: var(--col); display: flex; flex-direction: column; gap: 16px; }

/* a track: a 112px tile of artwork as the start of a 116px card, then the words and Play */
.k-track { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 0 12px; height: 116px; padding-right: 12px; border-radius: 8px; background: var(--card); overflow: hidden; }
.k-track .k-art { position: relative; width: 112px; height: 116px; background: var(--tile); }
.k-track .k-art img { width: 100%; height: 100%; object-fit: cover; }
.k-track .k-w { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.k-track b { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-track small { color: var(--ink-2); font-size: 14px; line-height: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-track .k-pill { margin-top: 8px; }
.k-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); transition: transform 0.18s var(--ease); }
.k-play::after { content: ""; position: absolute; left: 15px; top: 14px; border-style: solid; border-width: 6px 0 6px 11px; border-color: transparent transparent transparent #111; }
.k-track:hover .k-play, .k-video:hover .k-play { transform: scale(1.06); }

/* the outline pill: Play, Tickets, Contact; 24px tall */
.k-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; height: 24px; padding: 0 14px; border: 1px solid #fff; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; color: var(--ink); background: transparent; cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
/* the pill is 24px to look at and 44px to the finger */
.k-pill::before { content: ""; position: absolute; inset: -10px -6px; }
.k-pill:hover { background: #fff; color: #111; }
.k-pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.k-pill.is-off { border-color: rgba(255, 255, 255, 0.35); color: var(--ink-2); pointer-events: none; }
.k-pill.is-send { height: 36px; padding: 0 22px; font-size: 14px; }

/* stacked cards */
.k-stack { display: flex; flex-direction: column; gap: 16px; }

/* an event: a 112px date tile over the left edge of a 136px card that starts 65px in */
.k-event { position: relative; display: grid; grid-template-columns: 65px minmax(0, 1fr); align-items: center; min-height: 136px; }
.k-event .k-date { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; padding: 8px; border-radius: 8px; background: var(--tile); line-height: 1; }
.k-event .k-date::before { content: ""; position: absolute; inset: 8px; border: 2px solid var(--frame); border-radius: 8px; }
.k-event .k-date small { font-size: 14px; font-weight: 600; text-transform: uppercase; color: #c3c3c3; }
.k-event .k-date b { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0; }
.k-event .k-date small:last-child { font-weight: 500; }
.k-event .k-w { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 136px; padding: 16px 12px 16px 59px; border-radius: 8px; background: var(--card); }
.k-event .k-w b { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 21px; }
.k-event .k-w small { color: var(--ink-2); font-size: 14px; line-height: 21px; }
.k-event .k-pill { margin-top: 8px; }
.k-event.is-out .k-date, .k-event.is-out .k-pic { opacity: 0.6; }

/* a link card: full width, 160px, the picture hanging 16px over the top, a platform button across */
.k-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "pic words" "btn btn"; align-items: center; gap: 12px 12px; padding: 12px; margin-top: 16px; border-radius: 8px; background: var(--card); }
/* with no heading above it, the first card keeps Komi's 16px more from the line */
.k-sec > .k-stack:first-child > .k-card:first-child { margin-top: 32px; }
.k-card.no-pic { grid-template-columns: minmax(0, 1fr); grid-template-areas: "words" "btn"; margin-top: 0; min-height: 136px; }
.k-card .k-pic { grid-area: pic; width: 112px; height: 112px; border-radius: 8px; object-fit: cover; margin-top: -28px; background: var(--tile); }
.k-card .k-w { grid-area: words; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 84px; }
.k-card b { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 21px; }
.k-card small { color: var(--ink-2); font-size: 14px; line-height: 21px; }
.k-btn { grid-area: btn; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--btn); font-size: 12px; font-weight: 600; transition: background 0.18s var(--ease); }
.k-btn:hover { background: #4a4a4a; }
.k-btn img { width: 18px; height: 18px; }

/* the contact card: the words and a pill; the form opens under them. With a picture it is the events shape. */
.k-card.is-form { display: block; padding: 0; margin-top: 0; }
.k-card.is-form.has-pic { display: grid; grid-template-columns: 65px minmax(0, 1fr); grid-template-areas: "pic head" "form form"; align-items: center; gap: 0; background: transparent; }
.k-card.is-form.has-pic > .k-pic { grid-area: pic; z-index: 1; width: 112px; height: 112px; margin: 0; align-self: center; }
.k-card.is-form.has-pic > .k-form-head { grid-area: head; padding-left: 59px; border-radius: 8px; background: var(--card); }
.k-card.is-form.has-pic > .k-form { grid-area: form; margin-top: 12px; padding: 12px; border-radius: 8px; background: var(--card); }
.k-form-head { display: flex; flex-direction: column; justify-content: center; gap: 0; min-height: 136px; padding: 16px 12px; }
.k-form-head b { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 21px; }
.k-form-head .k-text { margin: 0; line-height: 18px; }
.k-form-head .k-pill { margin-top: 8px; }
.k-form { display: flex; flex-direction: column; gap: 12px; padding: 0 12px 16px; }
.js .k-card.is-form:not(.is-open) .k-form { display: none; }
.k-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.k-form input, .k-form textarea { font: inherit; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; padding: 11px 12px; transition: border-color 0.18s var(--ease); }
.k-form input:focus-visible, .k-form textarea:focus-visible { border-color: rgba(255, 255, 255, 0.7); outline: 2px solid #fff; outline-offset: 2px; }
.k-form textarea { resize: vertical; min-height: 96px; }
.k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-sent { margin: 0; font-size: 15px; font-weight: 600; }
.k-err { margin: 0 0 12px; color: #ffb4a6; font-size: 14px; }

/* videos: 300 x 169 cards, the title over the top, play in the middle */
.k-video { position: relative; flex: none; width: var(--col); aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--card); }
.k-video img { width: 100%; height: 100%; object-fit: cover; }
.k-video .k-vt { position: absolute; left: 12px; right: 12px; top: 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; z-index: 1; }
.k-video::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); }
.k-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.k-video.is-playing::before, .k-video.is-playing .k-vt, .k-video.is-playing .k-play { display: none; }

/* footer */
.k-foot { margin-top: auto; padding: 24px var(--gutter) max(40px, env(safe-area-inset-bottom)); display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; color: var(--ink-3); font-size: 12px; }
.k-foot::before { content: ""; display: block; width: 100%; height: 1px; background: var(--line); margin-bottom: 20px; }
.k-foot a { padding: 8px 4px; margin: -8px -4px; }
.k-foot a:hover { color: var(--ink); }
.k-back { padding: 8px 0; }
.k-more { padding: 6px 0; }
.k-skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: #fff; color: #111; font-weight: 600; }
.k-skip:focus { left: 8px; }

@keyframes k-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(30px); } }
@keyframes k-rise-flat { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes k-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .k-photo, .k-head { animation: none; } html { scroll-behavior: auto; } }

/* the chooser: where a track can be heard */
.k-chooser { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px var(--gutter) 24px; }
.k-back { align-self: flex-start; color: var(--ink-2); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.k-chooser-art { width: 240px; height: 240px; border-radius: 8px; object-fit: cover; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5); background: var(--tile); }
.k-chooser h1 { margin: 20px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.k-chooser .k-tag { margin-top: 4px; }
.k-places { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.k-places .k-btn { height: 48px; border-radius: 24px; font-size: 15px; }

/* a wider window: Komi's desktop, a card over the photo blurred behind it */
.k-backdrop { display: none; }
@media (min-width: 720px) {
  body.k { background: #0a0a0a; }
  .k-backdrop { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; }
  .k-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(64px) brightness(0.55); transform: scale(1.2); }
  .k-page { position: relative; z-index: 1; width: 736px; max-width: calc(100% - 48px); margin: 80px auto; padding: 32px 48px; border-radius: 12px; background: var(--bg); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; align-items: center; }
  .k-hero { border-radius: 8px; overflow: hidden; height: 384px; }
  .k-hero .k-head { animation-name: k-rise-flat; transform: none; padding-bottom: 8px; }
  .k-head h1 { font-size: 48px; }
  .k-main { padding-top: 0; }
  .k-pills { padding-top: 20px; }
  .k-hero, .k-pills, .k-main, .k-foot, .k-chooser { max-width: 100%; }
  :root { --col: 296px; }
  .k-foot { margin-top: 24px; }
}
