/* =====================================================================
   SIGNAL — styles
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #EEEBE5;
  --paper-2: #E6E2DA;
  --card: #F6F4F0;
  --ink: #121211;
  --ink-2: #2B2A27;
  --muted: #6F6C65;
  --line: rgba(18, 18, 17, .13);
  --line-2: rgba(18, 18, 17, .24);
  --accent: #FF4D17;
  --accent-ink: #FFFFFF;
  --free: #17945A;
  --hold: #C98A00;
  --booked: var(--ink);
  --scrim: rgba(18, 18, 17, .42);

  --f-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --pad: clamp(16px, 3.2vw, 44px);
  --header-h: 64px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0F0F0E;
  --paper-2: #181816;
  --card: #1B1B19;
  --ink: #ECE9E2;
  --ink-2: #CFCBC2;
  --muted: #8E8A82;
  --line: rgba(236, 233, 226, .12);
  --line-2: rgba(236, 233, 226, .24);
  --accent: #FF5A26;
  --free: #34C27E;
  --hold: #E3A92A;
  --scrim: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

kbd {
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1;
  padding: 3px 5px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--muted);
}

/* ---------- buttons, chips ---------- */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { --h: 32px; padding: 0 12px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, gap .25s var(--ease); }
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px; color: var(--ink);
  border: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-2); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .n { opacity: .55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.free { background: var(--free); box-shadow: 0 0 0 3px color-mix(in srgb, var(--free) 18%, transparent); }
.dot.booked { background: var(--ink); }
.dot.hold { background: var(--hold); }
.dot.off { background: transparent; border: 1px solid var(--muted); }
.dot.live { background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }

.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 19px; letter-spacing: .02em; font-variation-settings: "wdth" 125; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-6px); }
.main-nav { display: flex; gap: 4px; justify-content: center; }
.main-nav a {
  position: relative; padding: 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.search-btn { padding: 0 8px 0 12px; border-color: var(--line); color: var(--muted); font-size: 13px; }
.search-btn:hover { color: var(--ink); }
.book-btn .badge { margin-right: -8px; background: var(--accent); }
.btn-primary:hover .badge { background: var(--ink); }
.menu-btn { display: none; flex-direction: column; gap: 5px; width: 40px; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
  padding: 24px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between;
  animation: fadeUp .35s var(--ease-out);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(36px, 11vw, 64px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; padding: 4px 0; border-bottom: 1px solid var(--line); font-variation-settings: "wdth" 110; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { grid-template-columns: auto 1fr; }
  .header-actions { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .search-label, .search-btn kbd { display: none; }
  .search-btn { padding: 0; border-color: transparent; }
  .site-header { gap: 8px; }
  .header-actions { gap: 2px; }
  .book-btn { --h: 38px; padding: 0 14px; font-size: 13px; }
  .bk-long { display: none; }
  .bk-short { display: inline !important; }
}

/* ---------- layout ---------- */
main { display: block; min-height: 70vh; outline: none; }
#view:focus, #view:focus-visible { outline: none; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(56px, 9vw, 120px) var(--pad); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 14px; }
.eyebrow .num { color: var(--ink); }
.h-xl { font-size: clamp(44px, 7.4vw, 128px); line-height: .9; letter-spacing: -.035em; font-weight: 600; font-variation-settings: "wdth" 92; }
.h-lg { font-size: clamp(34px, 5.4vw, 84px); line-height: .95; letter-spacing: -.03em; font-weight: 600; font-variation-settings: "wdth" 95; }
.h-md { font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -.02em; font-weight: 500; }
.h-sm { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -.01em; max-width: 34ch; }
.prose { max-width: 62ch; color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 1em; }

.page-head { padding: clamp(40px, 7vw, 96px) var(--pad) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.page-head .lead { margin-top: 20px; color: var(--ink-2); }
.page-head.compact { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(18px, 2.4vw, 28px); }
.page-head.compact .lead { margin-top: 12px; max-width: 52ch; }
@media (max-width: 760px) { .page-head { grid-template-columns: minmax(0, 1fr); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) var(--pad) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.hero-title { font-size: clamp(36px, 4.9vw, 86px); line-height: .92; letter-spacing: -.035em; font-weight: 600; font-variation-settings: "wdth" 90; }
.hero-title .serif { font-weight: 400; letter-spacing: -.02em; }
.hero-title .count { font-variant-numeric: tabular-nums; }
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.quick-free { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; background: var(--card); }
.quick-free h2 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.quick-free p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.next-up { color: var(--muted); line-height: 1.8; }
.next-up .dot { margin-right: 8px; vertical-align: 1px; }
.next-up a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } }

/* ---------- roster ---------- */
.roster { padding: 0 var(--pad); }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px 0; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.search-field { position: relative; flex: 1 1 220px; max-width: 320px; }
.search-field input {
  width: 100%; height: 36px; padding: 0 12px 0 34px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card); font-size: 14px; outline: none;
}
.search-field input:focus { border-color: var(--ink); }
.search-field svg { position: absolute; left: 12px; top: 10px; color: var(--muted); }
.toolbar .sep { width: 1px; height: 22px; background: var(--line-2); }
.free-on { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.free-on .label { color: var(--muted); margin-right: 2px; }
.date-chip { position: relative; }
.date-chip input[type="date"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
@media (hover: hover) and (pointer: fine) { .date-chip input[type="date"] { pointer-events: none; } }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; margin-left: auto; }
.view-toggle button { height: 28px; padding: 0 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.roster-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 10px; color: var(--muted); }
.roster-status strong { color: var(--ink); font-weight: 500; }
.roster-status .clear { color: var(--ink); border-bottom: 1px solid var(--line-2); }

.genre-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; padding-bottom: 2px; }
.genre-row::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .toolbar { position: static; gap: 10px; }
  .toolbar .sep { display: none; }
  .search-field { order: 1; flex: 1 1 auto; max-width: none; }
  .toolbar .view-toggle { order: 2; }
  .free-on { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .free-on::-webkit-scrollbar { display: none; }
  .genre-row { order: 4; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); width: auto; }
}

/* index view */
.r-index { border-bottom: 1px solid var(--line); }
.r-row { position: relative; border-top: 1px solid var(--line); }
.r-row > a {
  display: grid; align-items: center;
  grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 220px) minmax(170px, 240px) 48px;
  gap: 16px; padding: clamp(8px, 1.1vw, 16px) 0;
}
.r-num { color: var(--muted); align-self: start; padding-top: .9em; }
.r-name {
  font-size: clamp(38px, 6.6vw, 118px); line-height: .9; letter-spacing: -.03em; font-weight: 550;
  text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variation-settings: "wdth" 88; transition: font-variation-settings .6s var(--ease-out), color .3s, letter-spacing .6s var(--ease-out);
}
.r-meta { color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.r-meta b { color: var(--ink); font-weight: 500; }
.r-avail { display: flex; align-items: center; gap: 8px; }
.r-avail .sub { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.r-add {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease);
}
.r-add:hover { border-color: var(--ink); transform: translateY(-50%) rotate(90deg); }
.r-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.r-add[aria-pressed="true"]:hover { transform: translateY(-50%); }
.r-add svg { width: 14px; height: 14px; }
.r-thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .r-index:hover .r-name { color: color-mix(in srgb, var(--ink) 28%, transparent); }
  .r-row:hover .r-name { color: var(--ink); font-variation-settings: "wdth" 118; letter-spacing: -.02em; }
}
.r-row.is-out { display: none; }
@media (max-width: 1000px) {
  .r-row > a { grid-template-columns: 36px minmax(0, 1fr) minmax(150px, 200px) 48px; }
  .r-meta { display: none; }
}
@media (max-width: 640px) {
  .r-row > a { grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 14px; padding: 12px 0; }
  .r-num { display: none; }
  .r-thumb { display: block; width: 64px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; grid-row: 1 / span 2; grid-column: 1; }
  .r-name { align-self: end; }
  .r-avail { align-self: start; }
  .r-name { font-size: clamp(28px, 9vw, 44px); white-space: normal; overflow-wrap: anywhere; }
  .r-avail { grid-column: 2; grid-row: 2; margin-top: -6px; }
  .r-row > a > .r-name { grid-column: 2; }
}

/* grid view */
.r-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px); padding-top: 8px; }
.card { position: relative; }
.card > a { display: block; }
.card .poster-box { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.card .poster-box > svg, .card .poster-box > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.card:hover .poster-box > svg, .card:hover .poster-box > img { transform: scale(1.04); }
.card .c-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 0; }
@media (max-width: 1099px) { .r-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card .c-name { font-size: 20px; line-height: 1.05; font-weight: 600; letter-spacing: -.015em; text-transform: uppercase; font-variation-settings: "wdth" 96; }
.card .c-meta { color: var(--muted); margin-top: 6px; }
.card .c-avail { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.card .c-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.round-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.round-btn:hover { transform: scale(1.06); }
.round-btn[aria-pressed="true"] { background: var(--accent); color: #fff; }
.round-btn svg { width: 14px; height: 14px; }

.empty { padding: 64px 0; text-align: center; color: var(--muted); }
.empty .h-sm { color: var(--ink); margin-bottom: 8px; }

/* cursor poster */
.cursor-poster {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(200px, 19vw, 320px); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.92);
  transition: opacity .3s var(--ease-out);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45);
}
.cursor-poster.is-on { opacity: 1; }
.cursor-poster svg, .cursor-poster img { width: 100%; height: 100%; object-fit: cover; }

/* poster */
.poster { width: 100%; height: 100%; }
.poster .spin { transform-box: view-box; }
.is-playing .poster .spin, .poster.is-playing .spin { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- artist page ---------- */
.a-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px var(--pad) 0; }
.a-top .crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.a-top .crumbs a:hover { color: var(--ink); }
.a-top .pn { display: flex; gap: 6px; }
.a-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); padding: clamp(20px, 3vw, 40px) var(--pad) clamp(40px, 6vw, 80px); align-items: start; }
.a-visual { position: sticky; top: calc(var(--header-h) + 20px); }
.a-visual .poster-box { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--paper-2);
  width: min(100%, calc((100vh - var(--header-h) - 124px) * .8)); width: min(100%, calc((100svh - var(--header-h) - 124px) * .8)); }
.a-visual.has-thumbs .poster-box { width: min(100%, calc((100vh - var(--header-h) - 204px) * .8)); width: min(100%, calc((100svh - var(--header-h) - 204px) * .8)); }
.poster-box > img { object-position: 50% 22%; }
.a-visual .poster-box > svg, .a-visual .poster-box > img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 500;
  transition: transform .2s var(--ease);
}
.play-btn:hover { transform: scale(1.03); }
.play-btn .pi { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.play-btn .pi svg { width: 12px; height: 12px; }
.play-btn .eq { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.play-btn .eq i { width: 2px; background: currentColor; animation: eq 1s infinite ease-in-out; }
.play-btn .eq i:nth-child(2) { animation-delay: -.3s; } .play-btn .eq i:nth-child(3) { animation-delay: -.6s; }
.is-playing .play-btn .eq { display: inline-flex; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

.a-name { font-size: clamp(52px, 9vw, 168px); line-height: .86; letter-spacing: -.04em; font-weight: 600; text-transform: uppercase; font-variation-settings: "wdth" 84; overflow-wrap: anywhere; }
.a-short { margin-top: 22px; }
.a-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--paper-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.a-nextfree { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); }
.a-nextfree b { color: var(--ink); font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); margin-top: 40px; }
.fact { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--muted); margin-bottom: 4px; }
.fact dd { font-size: 15px; font-weight: 500; }

.a-block { margin-top: clamp(44px, 6vw, 72px); }
.a-block > h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.a-block > h2 .h-sm { font-size: 22px; }
.subnav { position: sticky; top: var(--header-h); z-index: 15; display: flex; gap: 4px; padding: 10px 0; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 36px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 6px 12px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.subnav a:hover, .subnav a.is-on { color: var(--ink); background: var(--paper-2); }

.dates-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.dates-list li:last-child { border-bottom: 1px solid var(--line); }
.dates-list .d { font-family: var(--f-mono); font-size: 13px; }
.dates-list .t { font-weight: 500; }
.dates-list .t small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.dl:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dl .mono { opacity: .6; }
.links-row { display: flex; flex-wrap: wrap; gap: 6px; }

.agent-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 600; letter-spacing: .02em; }
.agent-card .muted { font-size: 14px; }
@media (max-width: 560px) { .agent-card { grid-template-columns: auto 1fr; } .agent-card .btn { grid-column: 1 / -1; } }

.pn-big { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pn-big a { padding: clamp(28px, 4vw, 56px) var(--pad); display: flex; flex-direction: column; gap: 10px; transition: background-color .3s; }
.pn-big a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pn-big a:hover { background: var(--paper-2); }
.pn-big .n { font-size: clamp(28px, 4.4vw, 72px); line-height: .95; font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; font-variation-settings: "wdth" 90; }

.sticky-book {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
}
.sticky-book .mono { opacity: .7; display: block; font-size: 10px; }
.sticky-book .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 860px) {
  .a-hero { grid-template-columns: minmax(0, 1fr); }
  .a-visual { position: relative; top: 0; max-width: 520px; }
  .sticky-book { display: flex; }
  .site-footer { padding-bottom: 96px !important; }
}

/* ---------- calendars ---------- */
.cal-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head .m { font-weight: 600; font-size: 15px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal .wd { text-align: center; color: var(--muted); font-family: var(--f-mono); font-size: 10px; padding-bottom: 4px; }
.day {
  position: relative; aspect-ratio: 1; border-radius: 7px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11.5px; display: flex; align-items: flex-start; justify-content: flex-start; padding: 5px 6px;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease);
}
.day.blank { border: 0; }
.drawer .cal .day { aspect-ratio: auto; height: 44px; }
.drawer .cal .day.blank { height: auto; }
.day.free { border-color: var(--line-2); background: var(--card); }
.day.free::after { content: ''; position: absolute; right: 6px; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--free); }
.day.free:hover { border-color: var(--ink); transform: scale(1.06); z-index: 2; }
.day.booked { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day.hold { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--hold) 30%, transparent) 0 3px, transparent 3px 7px); border-color: color-mix(in srgb, var(--hold) 60%, transparent); }
.day.off { color: var(--muted); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 5px); }
.day.past { opacity: .3; border-color: transparent; }
.day.today { outline: 1.5px solid var(--accent); outline-offset: 1px; }
.day.routing.free::before { content: ''; position: absolute; left: 6px; bottom: 6px; width: 10px; height: 1.5px; background: var(--muted); }
.day.sel, .day.free.sel { background: var(--accent); color: #fff; border-color: var(--accent); }
.day.sel::after { background: #fff; }
button.day { cursor: pointer; }
button.day[disabled], button.day[aria-disabled="true"] { cursor: default; }
button.day[aria-disabled="true"]:hover { transform: none; }
.day .dots { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; gap: 2px; flex-wrap: wrap; }
.day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.day .dots i.free { background: var(--free); } .day .dots i.booked { background: var(--ink); } .day .dots i.hold { background: var(--hold); } .day .dots i.off { background: transparent; border: 1px solid var(--muted); }
.day.multi { background: var(--card); border-color: var(--line-2); }
.day.multi.sel .dots i { box-shadow: 0 0 0 1px #fff; }
.day.multi::after { display: none; }
.day.multi.sel { background: var(--accent); border-color: var(--accent); color: #fff; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); }
.legend .sw.free { background: var(--card); position: relative; }
.legend .sw.free::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--free); }
.legend .sw.booked { background: var(--ink); border-color: var(--ink); }
.legend .sw.hold { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--hold) 40%, transparent) 0 2px, transparent 2px 5px); border-color: var(--hold); }
.legend .sw.off { background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 4px); }
.legend .sw.sel { background: var(--accent); border-color: var(--accent); }

/* ---------- schedule ---------- */
.sch-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px var(--pad); position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.month-nav { display: inline-flex; align-items: center; gap: 4px; }
.month-nav .m { min-width: 150px; text-align: center; font-weight: 600; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; user-select: none; }
.toggle input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.toggle input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { transform: translateX(14px); }

.matrix-scroll { overflow-x: auto; padding: 0 var(--pad) 8px; scrollbar-width: thin; }
.matrix { display: grid; min-width: max-content; position: relative; }
.mx-head { position: sticky; top: 0; z-index: 3; background: var(--paper); }
.mx-corner { position: sticky; left: 0; z-index: 4; background: var(--paper); display: flex; align-items: flex-end; padding: 0 12px 8px 0; color: var(--muted); }
.mx-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0 8px; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); border-radius: 6px; transition: background-color .15s, color .15s; }
.mx-day b { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.mx-day.we { color: var(--ink); }
.mx-day.today b { color: var(--accent); }
.mx-day:hover, .mx-day.is-hl { background: var(--paper-2); color: var(--ink); }
.mx-day .cnt { font-size: 9.5px; color: var(--free); }
.mx-day .mo { height: 12px; font-size: 9.5px; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.mx-name { position: sticky; left: 0; z-index: 2; background: var(--paper); display: flex; align-items: center; gap: 10px; padding-right: 12px; min-width: 0; border-top: 1px solid var(--line); }
.mx-name a { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variation-settings: "wdth" 96; }
.mx-name a:hover { color: var(--accent); }
.mx-name .mini { width: 26px; height: 32px; border-radius: 4px; overflow: hidden; flex: none; }
.mx-name .g { color: var(--muted); font-size: 10px; display: block; }
.mx-cell { border-top: 1px solid var(--line); padding: 3px 1.5px; display: flex; }
.mx-cell .c {
  flex: 1; height: 34px; border-radius: 5px; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 9px; color: transparent; overflow: hidden;
  transition: transform .12s var(--ease), background-color .12s, border-color .12s;
}
.mx-cell .c.free { background: var(--card); border-color: var(--line-2); cursor: pointer; }
.mx-cell .c.free:hover { border-color: var(--ink); transform: scale(1.12); z-index: 2; position: relative; }
.mx-cell .c.free.routing { background: linear-gradient(to top, color-mix(in srgb, var(--free) 22%, transparent) 0 3px, var(--card) 3px); }
.mx-cell .c.booked { background: var(--ink); border-color: var(--ink); }
.mx-cell .c.hold { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--hold) 35%, transparent) 0 3px, transparent 3px 7px); border-color: color-mix(in srgb, var(--hold) 55%, transparent); cursor: pointer; }
.mx-cell .c.off { background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 5px); }
.mx-cell .c.past { opacity: .25; }
.mx-cell .c.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.mx-cell .c.sel::before { content: '✓'; font-size: 12px; }
.mx-col-hl { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.mx-cell.today-col .c { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent); }

.by-date { padding: 8px var(--pad) 0; display: grid; gap: 0; }
.bd-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.bd-row .d { font-family: var(--f-mono); font-size: 13px; }
.bd-row .d small { display: block; color: var(--muted); font-size: 11px; }
.bd-row .chips .chip.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 560px) { .bd-row { grid-template-columns: 1fr; gap: 8px; } }

.sel-bar {
  position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
  transition: transform .45s var(--ease-out); max-width: calc(100vw - 24px);
}
.sel-bar.is-on { transform: translate(-50%, 0); }
.sel-bar .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.sel-bar .x { opacity: .7; font-size: 13px; }
.sel-bar #sel-txt { white-space: nowrap; }
@media (max-width: 560px) {
  .sel-bar { left: 12px; right: 12px; max-width: none; transform: translateY(140%); justify-content: space-between; gap: 10px; padding-left: 16px; }
  .sel-bar.is-on { transform: none; }
}
.sel-bar .x:hover { opacity: 1; }

/* ---------- events ---------- */
.ev-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.select {
  height: 34px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card);
  font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px; background-size: 5px 5px; background-repeat: no-repeat;
}
.select:focus { border-color: var(--ink); }
.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4vw, 56px) var(--pad); align-items: center; }
.featured .art { aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; }
.featured .art svg { width: 100%; height: 100%; }
.featured .lineup { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; font-variation-settings: "wdth" 92; }
.featured .lineup a:hover { color: var(--accent); }
.featured .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; color: var(--muted); }
.featured .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
@media (max-width: 860px) { .featured { grid-template-columns: minmax(0, 1fr); } }

.ev-month { padding: 0 var(--pad); }
.ev-month > h2 { display: flex; justify-content: space-between; padding: 36px 0 12px; color: var(--muted); }
.ev-row { display: grid; grid-template-columns: 92px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 190px; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); position: relative; }
.ev-row:last-child { border-bottom: 1px solid var(--line); }
.ev-date { display: flex; flex-direction: column; }
.ev-date b { font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ev-date .mono { color: var(--muted); margin-top: 4px; }
.ev-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ev-title small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.ev-place { font-size: 15px; position: relative; padding-left: 19px; }
.ev-place > .ic { position: absolute; left: 0; top: 4px; }
.ev-place small { display: block; color: var(--muted); font-size: 13px; }
.ev-lineup { display: flex; flex-wrap: wrap; gap: 2px 10px; font-weight: 500; text-transform: uppercase; font-size: 14px; letter-spacing: .01em; }
.ev-lineup a { border-bottom: 1px solid transparent; }
.ev-lineup a:hover { border-color: currentColor; }
.ev-acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.status.few-left { color: var(--accent); }
.status.sold-out { text-decoration: line-through; }
.prod-mark { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.prod-mark::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 1000px) {
  .ev-row { grid-template-columns: 72px minmax(0, 1fr) 150px; }
  .ev-place, .ev-lineup { grid-column: 2; }
  .ev-acts { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; align-items: flex-end; }
}
@media (max-width: 560px) {
  .ev-row { grid-template-columns: 60px 1fr; row-gap: 8px; }
  .ev-acts { grid-column: 1 / -1; grid-row: auto; flex-direction: row; justify-content: flex-start; }
  .ev-date b { font-size: 24px; }
}

/* ---------- production ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: clamp(20px, 3vw, 40px) var(--pad); }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers b { display: block; font-size: clamp(40px, 5.5vw, 92px); line-height: .9; font-weight: 600; letter-spacing: -.04em; font-variation-settings: "wdth" 85; }
.numbers .mono { color: var(--muted); margin-top: 10px; display: block; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers > div:nth-child(3) { border-left: 0; } .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.acc { border-bottom: 1px solid var(--line); }
.acc-item { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: clamp(14px, 2vw, 24px) 0; text-align: left; }
.acc-btn .t { font-size: clamp(26px, 4vw, 60px); font-weight: 550; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wdth" 90; transition: font-variation-settings .5s var(--ease-out); }
.acc-btn:hover .t { font-variation-settings: "wdth" 110; }
.acc-btn .pm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .2s, color .2s; }
.acc-btn[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 16px; padding-bottom: 28px; }
.acc-inner p { font-size: 18px; max-width: 44ch; grid-column: 2; }
.acc-inner ul { grid-column: 3; display: grid; gap: 0; }
.acc-inner li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.acc-inner li::before { content: '—'; color: var(--muted); }
@media (max-width: 760px) { .acc-inner { grid-template-columns: 1fr; } .acc-inner p, .acc-inner ul { grid-column: 1; } .acc-btn { grid-template-columns: 36px 1fr auto; } }

.cases li { border-top: 1px solid var(--line); }
.cases li:last-child { border-bottom: 1px solid var(--line); }
.case-btn { width: 100%; display: grid; grid-template-columns: 70px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 100px; gap: 16px; align-items: center; padding: 20px 0; text-align: left; }
.case-btn .t { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.case-btn .cap { text-align: right; }
.case-detail { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 16px; padding: 0 0 26px; }
.case-detail p { grid-column: 2; font-size: 17px; max-width: 48ch; }
.case-detail .tags { grid-column: 3; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
@media (max-width: 760px) {
  .case-btn { grid-template-columns: 52px 1fr auto; }
  .case-btn .client, .case-btn .city { display: none; }
  .case-detail { grid-template-columns: 1fr; }
  .case-detail p, .case-detail .tags { grid-column: 1; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 28px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .mono { color: var(--accent); }
.step h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 8px; }
.step p { color: var(--ink-2); max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: clamp(48px, 8vw, 120px) var(--pad); border-top: 1px solid var(--line); }
.cta-band .acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- partners ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0 var(--pad); }
.p-cell { position: relative; aspect-ratio: 3 / 2; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 20px; overflow: hidden; text-align: center; outline: none; }
.p-cell .word { font-size: clamp(20px, 2.3vw, 34px); line-height: 1; transition: transform .5s var(--ease-out), opacity .3s; }
.p-cell .word img { max-height: 44px; width: auto; margin: 0 auto; }
.p-cell .info { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; background: var(--ink); color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease-out); }
.p-cell .info p { font-size: 15px; line-height: 1.35; }
.p-cell:hover .info, .p-cell:focus-visible .info, .p-cell.is-open .info { opacity: 1; transform: none; }
.p-cell.is-out { display: none; }
.w-wide { font-variation-settings: "wdth" 125; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.w-serif { font-family: var(--f-serif); font-style: italic; font-size: 1.25em !important; letter-spacing: -.01em; }
.w-mono { font-family: var(--f-mono); font-weight: 500; text-transform: lowercase; letter-spacing: -.02em; }
.w-heavy { font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; font-variation-settings: "wdth" 80; }
.w-narrow { font-variation-settings: "wdth" 62; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 960px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(22px, 2.6vw, 38px); white-space: nowrap; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- contact ---------- */
.territories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.agent { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 14px; transition: opacity .3s, border-color .3s, transform .3s var(--ease); }
.agent.is-dim { opacity: .35; }
.agent.is-match { border-color: var(--ink); transform: translateY(-2px); }
.agent .top { display: flex; gap: 14px; align-items: center; }
.agent .terr { display: flex; flex-wrap: wrap; gap: 4px; }
.agent .roster-mini { color: var(--muted); font-size: 14px; }
.agent .roster-mini a { color: var(--ink); }
.agent .roster-mini a:hover { color: var(--accent); }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.office { padding: 24px 20px 24px 0; }
.office + .office { padding-left: 20px; border-left: 1px solid var(--line); }
.office .time { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; margin: 10px 0; }
.office .muted { font-size: 14px; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr 1fr; } .office:nth-child(3) { border-left: 0; padding-left: 0; } .office:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- home extras ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how > div { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.how .mono { color: var(--accent); }
.how h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 26px 0 6px; }
.how p { color: var(--muted); }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) var(--pad) 28px; }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.f-top h3 { color: var(--muted); margin-bottom: 14px; }
.f-top li { padding: 3px 0; }
.f-top a:hover { color: var(--accent); }
.f-big { font-size: clamp(64px, 17vw, 300px); line-height: .8; font-weight: 700; letter-spacing: -.05em; margin-top: clamp(40px, 6vw, 80px); font-variation-settings: "wdth" 125; white-space: nowrap; overflow: hidden; user-select: none; }
.f-big span { color: var(--accent); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); margin-top: 22px; }
.clocks { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .f-top { grid-template-columns: 1fr 1fr; } }

/* ---------- drawer (booking) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: var(--scrim); opacity: 0; transition: opacity .35s; }
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(620px, 100vw);
  background: var(--paper); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease-out); box-shadow: -40px 0 80px -40px rgba(0, 0, 0, .35);
}
.drawer.is-on { transform: none; }
.dr-head { padding: 18px 24px 0; border-bottom: 1px solid var(--line); }
.dr-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dr-title h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.dr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.dr-step { text-align: left; padding: 10px 0 12px; border-top: 2px solid var(--line); color: var(--muted); font-size: 13px; transition: border-color .3s, color .3s; }
.dr-step .mono { display: block; font-size: 10px; margin-bottom: 2px; }
.dr-step.is-done { border-color: var(--ink); color: var(--ink); }
.dr-step.is-on { border-color: var(--accent); color: var(--ink); }
.dr-step[disabled] { cursor: default; }
.dr-body { flex: 1; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.dr-body > * + * { margin-top: 28px; }
.dr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.dr-foot .hint { font-size: 13px; color: var(--muted); }
.dr-q { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.dr-help { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.pick-list { display: grid; gap: 8px; }
.pick { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; background: var(--card); }
.pick .mini { width: 40px; aspect-ratio: 4/5; border-radius: 5px; overflow: hidden; }
.pick .nm { font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-variation-settings: "wdth" 96; }
.pick .sub { color: var(--muted); font-size: 13px; }
.pick .dates { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.dchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; background: var(--paper); }
.dchip button { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.dchip button:hover { background: var(--ink); color: var(--paper); }
.dchip.booked { border-color: var(--ink); }
.dchip.hold { border-color: var(--hold); }
.dchip .st { color: var(--muted); }
.suggest { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.suggest button { color: var(--ink); border-bottom: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11.5px; }
.suggest button:hover { border-color: var(--accent); color: var(--accent); }
.x-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.x-btn:hover { background: var(--paper-2); color: var(--ink); }
.add-artist { position: relative; }
.add-list { margin-top: 8px; border: 1px solid var(--line-2); border-radius: 12px; max-height: 280px; overflow-y: auto; background: var(--card); }
.add-list button { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; text-align: left; border-top: 1px solid var(--line); }
.add-list button:first-child { border-top: 0; }
.add-list button:hover, .add-list button:focus-visible { background: var(--paper-2); }
.add-list .mini { width: 30px; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
.add-list .nm { font-weight: 600; text-transform: uppercase; font-size: 14px; }
.add-list .g { color: var(--muted); font-size: 12px; }
.field-input { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); outline: none; font-size: 15px; transition: border-color .2s; }
.field-input:focus { border-color: var(--ink); }
textarea.field-input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 500; }
.field label .req { color: var(--accent); }
.field .err { color: var(--accent); font-size: 12.5px; }
.field.has-err .field-input { border-color: var(--accent); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields-2 + .fields-2, .field + .fields-2, .fields-2 + .field { margin-top: 12px; }
@media (max-width: 520px) { .fields-2 { grid-template-columns: 1fr; } }
.focus-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.summary { border-radius: 12px; border: 1px solid var(--line-2); padding: 16px; background: var(--card); font-size: 14px; }
.summary dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; }
.summary dt { color: var(--muted); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); font-size: 13.5px; color: var(--ink-2); }
.notice .dot { margin-top: 6px; }
.success { text-align: left; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 22px; animation: pop .6s var(--ease-out); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.timeline { border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.timeline li:first-child::before { background: var(--accent); border-color: var(--accent); }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--muted); font-size: 14px; }
.ref { font-family: var(--f-mono); font-size: 13px; padding: 4px 8px; border-radius: 6px; background: var(--paper-2); }
@media (max-width: 640px) { .dr-head { padding: 14px 16px 0; } .dr-body { padding: 18px 16px; } .dr-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } }

/* ---------- palette ---------- */
.palette { position: fixed; inset: 0; z-index: 120; background: var(--scrim); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.palette-box { width: min(640px, 100%); background: var(--paper); border-radius: 16px; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); animation: fadeUp .3s var(--ease-out); }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.palette-input input { flex: 1; height: 58px; border: 0; background: transparent; outline: none; font-size: 18px; color: var(--ink); }
.palette-list { max-height: min(56vh, 460px); overflow-y: auto; padding: 6px; }
.palette-list .grp { padding: 10px 10px 4px; color: var(--muted); }
.palette-list .opt { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.palette-list .opt[aria-selected="true"] { background: var(--paper-2); }
.palette-list .opt .ic { width: 30px; height: 30px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--paper-2); font-size: 13px; }
.palette-list .opt .ic svg { width: 100%; height: 100%; }
.palette-list .opt .t { font-weight: 500; }
.palette-list .opt .s { color: var(--muted); font-size: 13px; }
.palette-list .none { padding: 28px; text-align: center; color: var(--muted); }
.palette-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); }
.palette-foot kbd { margin-right: 3px; }
@media (max-width: 640px) { .palette-foot { display: none; } .palette { padding-top: 8vh; } }

/* ---------- tooltip, toast, player ---------- */
.tooltip { position: fixed; z-index: 130; pointer-events: none; max-width: 260px; padding: 8px 11px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.35; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.tooltip b { display: block; font-weight: 600; }
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 12px); z-index: 140; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px;
  transition: opacity .3s, transform .4s var(--ease-out); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); max-width: calc(100vw - 24px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.drawer-open .toast { left: calc(100vw - min(620px, 100vw) / 2); top: auto; bottom: 86px; transform: translate(-50%, 16px); max-width: min(580px, calc(100vw - 24px)); }
.drawer-open .toast.is-on { transform: translate(-50%, 0); }
.toast button { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; }
.player {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 12px;
  padding: 6px 8px 6px 6px; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); animation: fadeUp .35s var(--ease-out); max-width: calc(100vw - 32px);
}
.player .disc { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.player .disc svg { width: 100%; height: 100%; animation: spin 1.8s linear infinite; }
.player .t { font-size: 13px; font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.player .s { font-size: 10px; opacity: .65; }
.player .bars { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.player .bars i { width: 2px; background: var(--accent); animation: eq .9s infinite ease-in-out; }
.player .bars i:nth-child(2) { animation-delay: -.2s; } .player .bars i:nth-child(3) { animation-delay: -.5s; } .player .bars i:nth-child(4) { animation-delay: -.7s; }
.player button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 14%, transparent); }
.player button:hover { background: var(--accent); }
@media (max-width: 860px) { .player { bottom: 84px; } }

/* ---------- icons and less-text components ---------- */
.ic { flex: none; display: inline-block; vertical-align: -2px; }
.free-ic { display: inline-grid; place-items: center; width: 30px; height: 32px; color: var(--muted); flex: none; }
.date-chip .chip { gap: 6px; }
.date-chip .chip span:empty { display: none; }
.view-toggle button { display: inline-grid; place-items: center; min-width: 34px; }
.r-avail .route { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); margin-left: 6px; }
.roster-status .clear, .btn-sm { display: inline-flex; align-items: center; gap: 6px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .ic { color: var(--muted); }
.empty .h-sm { margin: 0; }
.btn-icon { width: var(--h); padding: 0; }
.btn-icon[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pi { display: inline-grid; place-items: center; }
.nextfree { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 6px 0 8px; color: var(--ink); border-bottom: 1px solid transparent; }
.nextfree:hover { color: var(--accent); }
.fact dt { display: flex; align-items: center; gap: 6px; }
.a-block > .blk-h { justify-content: flex-start; }
.blk-h { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 18px; }
.blk-h .ic { color: var(--muted); }
.bio.is-clamped p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { margin-top: 10px; font-size: 14px; }
.chip-lg { height: 40px; padding: 0 16px; gap: 8px; }
.agent-acts { display: flex; gap: 8px; }
.play-btn { width: 56px; height: 56px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.play-btn .pi { width: auto; height: auto; background: none; color: inherit; }
.play-btn:hover { background: var(--accent); color: #fff; transform: scale(1.05); }
.ev-title small, .ev-place { display: block; }
.ev-place > .ic { margin-right: 0; color: var(--muted); }
.ev-title small .ic, .featured .meta .ic, .case-btn .ic, .office .ic, .roster-mini .ic { color: var(--muted); margin-right: 4px; }
.select-ic { position: relative; display: inline-flex; align-items: center; }
.select-ic > .ic { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.select-ic .select { padding-left: 34px; }
.sch-tools .legend { margin-top: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.svc { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.svc > .ic { color: var(--accent); }
.svc h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 28px 0 12px; }
.svc li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); text-align: left; font-size: 18px; transition: background-color .2s, color .2s, border-color .2s; }
.tile b { font-weight: 600; }
.tile:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.territories { align-items: center; }
.book-band .how { margin-top: 8px; }
.how > li { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.how > li > .ic { color: var(--accent); margin-bottom: 26px; }
.how b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.book-band > .btn { margin-top: 22px; }
.book-band h2 { margin-bottom: 24px; }
.f-statement { font-size: 18px; max-width: 30ch; line-height: 1.35; }
.link-arrow .ic { color: var(--muted); }
#sel-txt { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 13px; }

/* drawer */
.dr-step { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dr-step .ic { color: inherit; }
.dr-q { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.dr-q .ic { color: var(--muted); }
.chip-group .dr-q { margin-bottom: 10px; }
.field-ic { position: relative; display: block; }
.field-ic > .ic { position: absolute; left: 14px; top: 14px; color: var(--muted); pointer-events: none; }
.field-ic .field-input { padding-left: 42px; }
.field-ic .field-input:focus ~ .ic, .field-ic:focus-within > .ic { color: var(--ink); }
.err-line { color: var(--accent); font-size: 13px; margin-top: 10px; }
.dchip.ghost { border-style: dashed; color: var(--muted); padding: 0 10px; gap: 5px; cursor: pointer; }
.dchip.ghost:hover { border-color: var(--ink); color: var(--ink); }
.suggest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.summary { position: relative; }
.summary dl { grid-template-columns: 120px 1fr; }
.summary dt { display: flex; align-items: center; gap: 6px; }
.edit-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.edit-btn:hover { background: var(--paper-2); color: var(--ink); }
.notice { align-items: center; }
.notice .ic { color: var(--muted); }
.dr-foot .grow { flex: 1; display: flex; justify-content: center; }
.hint { display: inline-flex; align-items: center; gap: 4px; }
.ref-line { margin-top: 14px; }
.succ-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.timeline { border-left: 0; margin: 36px 0 0; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; padding: 0 0 18px; }
.timeline li::before { display: none; }
.timeline li > .ic { grid-row: 1 / span 2; color: var(--muted); margin-top: 2px; }
.timeline li:first-child > .ic { color: var(--accent); }
.check span { display: inline-flex; align-items: center; gap: 6px; }
.add-list .dot { vertical-align: 1px; }

/* ---------- photos: gallery and lightbox ---------- */
.zoom-btn { position: absolute; inset: 0; z-index: 1; cursor: zoom-in; background: transparent; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { width: 64px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; flex: none; opacity: .8; transition: opacity .2s, transform .2s var(--ease); }
.thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #080808; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: fade .25s; }
.lightbox figure { position: absolute; inset: 0 0 76px; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.lb-count { min-width: 64px; text-align: center; opacity: .7; }
.lightbox .icon-btn { color: #fff; width: 44px; height: 44px; }
.lightbox .icon-btn:hover { border-color: rgba(255, 255, 255, .35); }
@media (max-width: 640px) {
  .r-grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .card .c-name { font-size: 16px; }
  .card .c-body { flex-direction: column; gap: 4px; padding-top: 8px; }
  .card .c-meta { display: none; }
  .card .c-tools { top: 6px; right: 6px; gap: 4px; }
  .card .round-btn { width: 32px; height: 32px; }
}

/* ---------- view transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
::view-transition-group(poster) { animation-duration: .55s; animation-timing-function: var(--ease-out); }
::view-transition-group(site-header) { animation: none; }
.site-header { view-transition-name: site-header; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
