/* Kevin Riley Sheet Music
   Palette from the client's logo: stage indigo, the violet writing hand, the aqua glow and teal sparkles,
   on cool score-paper white. Display: Newsreader (piece titles always italic, as in a printed concert programme).
   Body: Hanken Grotesk. */

@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/hanken-grotesk.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader Fallback'; src: local('Georgia'); size-adjust: 93%; ascent-override: 79%; descent-override: 28.5%; line-gap-override: 0%; }
@font-face { font-family: 'Hanken Fallback'; src: local('Arial'); size-adjust: 101%; ascent-override: 99%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --night: #120c29;
  --night-2: #1a1240;
  --plum: #2b1d57;
  --violet: #7c3fd2;
  --violet-lt: #bda2ff;
  --aqua: #8ff0f4;
  --aqua-dk: #0f6f78;
  --teal: #3fb3b8;
  --paper: #f3f4fa;
  --paper-2: #e6e8f4;
  --ink: #1a1432;
  --ink-2: #474163;
  --on-dark: #eeebfb;
  --on-dark-2: #c7c1e6;
  --f-display: 'Newsreader', 'Newsreader Fallback', Georgia, serif;
  --f-body: 'Hanken Grotesk', 'Hanken Fallback', Arial, sans-serif;
  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --media-cap: min(76vh, 760px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --staff-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='150'%3E%3Cg stroke='%231a1432' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M0 40.5h400M0 50.5h400M0 60.5h400M0 70.5h400M0 80.5h400'/%3E%3C/g%3E%3C/svg%3E");
  --staff-aqua: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='150'%3E%3Cg stroke='%238ff0f4' stroke-opacity='.08' stroke-width='1'%3E%3Cpath d='M0 40.5h400M0 50.5h400M0 60.5h400M0 70.5h400M0 80.5h400'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 520; line-height: 1.1; letter-spacing: -.01em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em, .work { font-family: var(--f-display); font-style: italic; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.sec--paper :focus-visible, .on-paper :focus-visible { outline-color: var(--violet); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--aqua); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h1 { font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; }
.h1 em { font-weight: 450; color: var(--aqua); }
.h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.08; }
.h2 em { color: var(--violet); }
.sec--night .h2 em, .on-night .h2 em { color: var(--aqua); }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.15; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.55; }
.muted { color: var(--ink-2); }
.sec--night .muted, .on-night .muted { color: var(--on-dark-2); }
.split-line { display: block; }
[data-split] { display: flow-root; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: .8em 1.5em; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; position: relative; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--aqua { --bg: var(--aqua); --fg: var(--night); box-shadow: 0 0 0 0 rgba(143, 240, 244, .5); }
.btn--aqua:hover { box-shadow: 0 0 30px 2px rgba(143, 240, 244, .45); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); border-color: rgba(238, 235, 251, .5); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn--violet { --bg: var(--violet); --fg: #fff; }
.btn--violet:hover { --bg: #6a2fc0; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: rgba(26, 20, 50, .35); }
.btn--line:hover { border-color: var(--violet); color: var(--violet); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--aqua-dk); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.sec--night .link-arrow, .on-night .link-arrow { color: var(--aqua); }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--on-dark); transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.site-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 12, 41, .78), rgba(18, 12, 41, 0)); pointer-events: none; transition: opacity .4s; }
.site-head.is-solid { background: rgba(18, 12, 41, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.site-head.is-solid::before { opacity: 0; }
.site-head__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); transition: padding .4s; }
.site-head.is-solid .site-head__in { padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.brand__logo { width: 72px; height: 72px; transition: width .4s var(--ease), height .4s var(--ease); filter: drop-shadow(0 0 18px rgba(143, 240, 244, .35)); }
.site-head.is-solid .brand__logo { width: 56px; height: 56px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__kr { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; font-weight: 500; }
.brand__sm { font-size: .875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; transition: opacity .4s; }
.js:not(.fonts-in) .nav { opacity: 0; }
.nav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 0; background: none; color: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; border-radius: 999px; position: relative; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-current::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__trigger::after { right: 36px; }
.nav__chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__cta { min-height: 48px; padding: .6em 1.4em; }
.drop { position: absolute; top: calc(100% + 10px); left: -12px; width: 380px; padding: 10px; border-radius: 16px; background: rgba(26, 18, 64, .97); border: 1px solid rgba(143, 240, 244, .18); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 30px 0; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--drop.is-open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.drop__list { list-style: none; margin: 0; padding: 0; }
.drop__link { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--on-dark); transition: background-color .25s; }
.drop__link img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.drop__link strong { display: block; font-weight: 600; }
.drop__link small { display: block; font-size: .875rem; color: var(--on-dark-2); }
.drop__link:hover, .drop__link:focus-visible, .drop__link[aria-current="page"] { background: rgba(143, 240, 244, .1); }
.burger { display: none; width: 48px; height: 48px; border: 1.5px solid rgba(238, 235, 251, .4); border-radius: 50%; background: rgba(18, 12, 41, .5); cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 99; background: var(--night) var(--staff-aqua); overflow-y: auto; padding: 110px var(--gutter) 40px; }
.mmenu[hidden] { display: none; }
.mmenu__list, .mmenu__sub { list-style: none; margin: 0; padding: 0; }
.mmenu__list > li { border-bottom: 1px solid rgba(143, 240, 244, .15); }
.mmenu__list a, .mmenu__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 10px 0; font-family: var(--f-display); font-size: 1.6rem; color: var(--on-dark); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.mmenu__toggle svg { width: 24px; height: 24px; transition: transform .3s; }
.mmenu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mmenu__sub { padding: 0 0 12px 16px; }
.mmenu__sub a { font-family: var(--f-body); font-size: 1.1rem; min-height: 48px; color: var(--on-dark-2); }
.mmenu a[aria-current="page"] { color: var(--aqua); }
.is-menu-open { overflow: hidden; }
.is-menu-open .site-head { background: var(--night); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .brand__logo { width: 64px; height: 64px; }
  .site-head.is-solid .brand__logo { width: 52px; height: 52px; }
  .brand__kr { font-size: 1.4rem; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(64px, 7vw, 104px) 0; }
.sec--paper { background: var(--paper) var(--staff-ink); }
.sec--paper2 { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--on-dark); }
.sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head .h2 + p { margin-top: 18px; }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.sec__head--split p { margin: 0; }
@media (max-width: 900px) { .sec__head--split { grid-template-columns: minmax(0, 1fr); } }

/* sparkles, from the stars in the logo */
.spark { position: absolute; width: 22px; height: 22px; fill: var(--aqua); opacity: .8; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.spark--v { fill: var(--violet-lt); }
@keyframes twinkle { 0%, 100% { transform: scale(.55) rotate(0deg); opacity: .35; } 50% { transform: scale(1) rotate(45deg); opacity: .95; } }

/* framed image composition: offset outline plus a sparkle */
.frame { position: relative; border-radius: var(--radius); isolation: isolate; }
.frame__img { position: relative; overflow: hidden; border-radius: var(--radius); height: 100%; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--teal); border-radius: calc(var(--radius) + 4px); z-index: -1; }
.frame--violet::before { border-color: var(--violet); }
.frame figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(18, 12, 41, .78); color: var(--on-dark); font-size: .9375rem; backdrop-filter: blur(6px); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); display: flex; align-items: center; color: var(--on-dark); background: var(--night); overflow: clip; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 41, .92) 0%, rgba(18, 12, 41, .74) 34%, rgba(18, 12, 41, .12) 66%, rgba(18, 12, 41, .05) 100%), linear-gradient(0deg, rgba(18, 12, 41, .85) 0%, rgba(18, 12, 41, 0) 30%); }
.hero__staff { position: absolute; left: 0; right: 0; top: 50%; z-index: -1; width: 100%; height: 150px; transform: translateY(-50%); pointer-events: none; overflow: visible; }
.hero__staff path { stroke: var(--aqua); stroke-opacity: .22; stroke-width: 1.2; fill: none; }
.hero__in { width: 100%; padding-top: 120px; padding-bottom: 96px; }
.hero__copy { max-width: min(760px, 58vw); }
.hero .h1 { margin-bottom: 26px; }
.hero .lede { color: var(--on-dark-2); max-width: 600px; margin-bottom: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(143, 240, 244, .22); list-style: none; padding-left: 0; }
.hero__facts li { display: flex; align-items: baseline; gap: 10px; color: var(--on-dark-2); font-size: 1rem; }
.hero__facts strong { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; color: var(--aqua); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(238, 235, 251, .45); border-radius: 20px; }
.hero__scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--aqua); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.hero .spark:nth-of-type(1) { top: 22%; left: 58%; }
.hero .spark:nth-of-type(2) { top: 70%; left: 48%; width: 14px; height: 14px; animation-delay: -1.2s; }
.hero .spark:nth-of-type(3) { top: 30%; left: 88%; width: 16px; height: 16px; animation-delay: -2.1s; }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(18, 12, 41, .96) 0%, rgba(18, 12, 41, .8) 45%, rgba(18, 12, 41, .25) 80%, rgba(18, 12, 41, .4) 100%); }
  .hero__copy { max-width: none; }
  .hero__in { padding-bottom: 72px; }
  .hero__staff { top: 36%; }
  .hero__scroll { display: none; }
}
/* first-screen intro: hidden until the script plays it; failsafe reveals it if scripts never run */
.js .hero [data-intro] { opacity: 0; animation: kr-failsafe 0s 3.5s forwards; }
@keyframes kr-failsafe { to { opacity: 1; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--night); overflow: clip; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 41, .9) 0%, rgba(18, 12, 41, .6) 45%, rgba(18, 12, 41, .15) 100%), linear-gradient(0deg, rgba(18, 12, 41, .9) 0%, rgba(18, 12, 41, 0) 45%); }
.phero__in { width: 100%; padding-top: 150px; padding-bottom: clamp(56px, 7vw, 96px); }
.phero__copy { max-width: min(820px, 62vw); }
.phero .h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); margin-bottom: 22px; }
.phero .lede { color: var(--on-dark-2); max-width: 640px; }
.phero .btns { margin-top: 30px; }
.phero .spark:nth-of-type(1) { top: 30%; right: 12%; }
.phero .spark:nth-of-type(2) { top: 58%; right: 30%; width: 14px; height: 14px; animation-delay: -1.4s; }
.js .phero [data-intro] { opacity: 0; animation: kr-failsafe 0s 3.5s forwards; }
.no-motion .hero [data-intro], .no-motion .phero [data-intro] { opacity: 1; animation: none; }
@media (max-width: 900px) {
  .phero__copy { max-width: none; }
  .phero::after { background: linear-gradient(0deg, rgba(18, 12, 41, .95) 0%, rgba(18, 12, 41, .7) 55%, rgba(18, 12, 41, .3) 100%); }
}

/* ---------- programme entries (every arrangement is listed like a concert programme) ---------- */
.entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.entry__dots { flex: 1 1 24px; min-width: 24px; }
.entry__c { margin-left: auto; }
.entry__t { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; line-height: 1.25; }
.entry__dots { border-bottom: 2px dotted currentColor; opacity: .35; transform: translateY(-5px); }
.entry__c { font-size: .95rem; text-align: right; color: var(--ink-2); }
.on-night .entry__c { color: var(--on-dark-2); }
.lvl { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--aqua-dk); white-space: nowrap; }
.lvl__dots { display: inline-flex; gap: 3px; }
.lvl__dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.lvl__dots i.on { background: currentColor; }
.on-night .lvl { color: var(--aqua); }

/* ---------- home: service drivers ---------- */
.drivers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.driver { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; max-height: min(64vh, 520px); border-radius: var(--radius); overflow: hidden; color: var(--on-dark); text-decoration: none; isolation: isolate; background: var(--night); transform-style: preserve-3d; will-change: transform; }
.driver__img { position: absolute; inset: 0; z-index: -2; }
.driver__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.driver:hover .driver__img img { transform: scale(1.09); }
.driver::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 12, 41, .95) 0%, rgba(18, 12, 41, .55) 45%, rgba(18, 12, 41, 0) 75%); }
.driver__glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(143, 240, 244, .28), transparent 55%); opacity: 0; transition: opacity .4s; }
.driver:hover .driver__glare { opacity: 1; }
.driver__body { padding: clamp(18px, 1.8vw, 28px); }
.driver__count { display: block; font-family: var(--f-display); font-size: 1rem; color: var(--aqua); margin-bottom: 6px; font-style: italic; }
.driver .h3 { margin-bottom: 8px; }
.driver p { font-size: .98rem; color: var(--on-dark-2); margin-bottom: 14px; }
.driver__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aqua); }
.driver__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.driver:hover .driver__go svg { transform: translateX(5px); }
@media (max-width: 1100px) { .drivers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .driver { aspect-ratio: 5 / 4; } }
@media (max-width: 600px) { .drivers__grid { grid-template-columns: minmax(0, 1fr); } .driver { aspect-ratio: 4 / 3; } }

/* ---------- home: the programme scene ---------- */
.prog { background: var(--night) var(--staff-aqua); color: var(--on-dark); overflow: clip; }
.prog__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 28px; }
.prog__top .h2 { flex: 1 1 520px; }
.prog__tabs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.prog__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; font-size: .95rem; color: var(--on-dark-2); border: 1px solid rgba(143, 240, 244, .2); background: none; cursor: pointer; transition: color .3s, background-color .3s, border-color .3s; }
.prog__tab i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.prog__tab.is-on { color: var(--night); background: var(--aqua); border-color: var(--aqua); }
.prog__tab.is-on i { opacity: 1; }
.prog__stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.prog__pics { position: sticky; top: 104px; height: min(62vh, 560px); border-radius: var(--radius); overflow: hidden; background: var(--night-2); }
.prog__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prog__pics img:not(:first-child) { display: none; }
.prog__caption { position: absolute; left: 18px; bottom: 18px; z-index: 2; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(18, 12, 41, .8); font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--on-dark); backdrop-filter: blur(6px); }
.prog__card { position: relative; background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(24px, 2.6vw, 40px); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.prog__card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(26, 20, 50, .22); border-radius: 3px; pointer-events: none; }
.prog__card::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(26, 20, 50, .12); border-radius: 2px; pointer-events: none; }
.prog__label { display: block; text-align: center; font-size: .875rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--violet); }
.prog__concert { padding: 6px 0 22px; }
.prog__concert + .prog__concert { border-top: 1px solid rgba(26, 20, 50, .14); padding-top: 18px; }
.prog__concert h3 { text-align: center; font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-style: italic; margin: 8px 0 6px; }
.prog__concert .prog__sub { text-align: center; font-size: .95rem; color: var(--ink-2); margin-bottom: 18px; }
.prog__concert ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prog__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(26, 20, 50, .14); font-size: .95rem; }
.prog__count { font-family: var(--f-display); font-style: italic; color: var(--ink-2); }
.prog__progress { position: relative; height: 2px; background: rgba(143, 240, 244, .18); margin-top: 26px; border-radius: 2px; overflow: hidden; }
.prog__progress span { position: absolute; inset: 0; background: var(--aqua); transform-origin: left; transform: scaleX(0); }
.prog__tabs, .prog__progress { display: none; }
/* pinned scene (desktop, motion allowed): one screen tall, concerts share one grid cell */
.prog.is-scene { height: 100vh; min-height: 620px; padding: 0; }
.prog.is-scene > .wrap { height: 100%; display: flex; flex-direction: column; padding-top: 104px; padding-bottom: 30px; }
.prog.is-scene .prog__top { margin-bottom: 20px; }
.prog.is-scene .prog__tabs { display: flex; }
.prog.is-scene .prog__progress { display: block; margin-top: 18px; flex: none; }
.prog.is-scene .prog__stage { flex: 1; min-height: 0; align-items: center; }
.prog.is-scene .prog__pics { position: relative; top: 0; height: 100%; max-height: 600px; }
.prog.is-scene .prog__pics img { display: block; }
.prog.is-scene .prog__concerts { display: grid; }
.prog.is-scene .prog__concert { grid-area: 1 / 1; padding: 6px 0 0; border: 0; }
.prog.is-scene .prog__concert:not(:first-child) { visibility: hidden; }
@media (max-height: 820px) {
  .prog.is-scene .prog__card { padding: 22px 28px; }
  .prog.is-scene .prog__concert h3 { font-size: 1.6rem; margin-top: 4px; }
  .prog.is-scene .prog__concert .prog__sub { margin-bottom: 10px; }
  .prog.is-scene .prog__concert ol { gap: 8px; }
  .prog.is-scene .prog__foot { margin-top: 12px; padding-top: 10px; }
}
@media (max-width: 900px) {
  .prog__stage { grid-template-columns: minmax(0, 1fr); }
  .prog__pics { position: relative; top: 0; height: auto; aspect-ratio: 16 / 10; }
}

/* ---------- home: match the music to your players ---------- */
.match__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 2.6vw, 40px); align-items: stretch; }
.match .frame { height: min(52vh, 460px); }
.match__controls { display: flex; flex-direction: column; gap: 26px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px rgba(26, 20, 50, .08); }
.ctl__label { display: block; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid rgba(26, 20, 50, .18); background: var(--paper); cursor: pointer; font-weight: 500; font-size: .98rem; transition: background-color .25s, border-color .25s, color .25s; }
.seg button:hover { border-color: var(--violet); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stave-level { position: relative; }
.stave-level svg { width: 100%; height: 96px; overflow: visible; }
.stave-level .sl-line { stroke: rgba(26, 20, 50, .35); stroke-width: 1.2; }
.stave-level .sl-note { fill: #fff; stroke: var(--violet); stroke-width: 2; cursor: pointer; transition: fill .25s; }
.stave-level .sl-note.on { fill: var(--violet); }
.stave-level .sl-stem { stroke: var(--violet); stroke-width: 2; }
.stave-level input[type="range"] { width: 100%; margin: 6px 0 0; accent-color: var(--violet); height: 32px; }
.stave-level__out { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.stave-level__out strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 520; }
.stave-level__out span { color: var(--ink-2); font-size: .95rem; }
.match__results { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); background: var(--night) var(--staff-aqua); color: var(--on-dark); }
.match__count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.match__count strong { font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--aqua); font-variant-numeric: tabular-nums; }
.match__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; flex: 1; align-content: start; }
.match__list li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(143, 240, 244, .14); }
.match__list .entry__t { font-size: 1.2rem; }
.match__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; color: var(--on-dark-2); }
.match__empty { color: var(--on-dark-2); }
@media (max-width: 1100px) { .match__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .match .frame { display: none; } }
@media (max-width: 720px) { .match__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home: what you get ---------- */
.gets__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.gets .frame { height: min(68vh, 600px); }
.gets .frame__img img { transform-origin: 60% 40%; }
.gets__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.gets__list li { position: relative; }
.gets__icon { width: 52px; height: 52px; margin-bottom: 14px; }
.gets__icon path, .gets__icon circle, .gets__icon rect, .gets__icon line { fill: none; stroke: var(--aqua); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gets__list h3 { font-size: 1.4rem; margin-bottom: 8px; }
.gets__list p { color: var(--on-dark-2); font-size: 1rem; }
@media (max-width: 1000px) { .gets__grid { grid-template-columns: minmax(0, 1fr); } .gets .frame { height: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .gets__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home: stores ---------- */
.marquee { overflow: clip; padding: 0 0 clamp(28px, 3vw, 44px); margin-top: -12px; }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 60s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.6rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(124, 63, 210, .55); display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ''; width: 18px; height: 18px; background: var(--teal); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stores__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.store { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(42vh, 350px); padding: clamp(22px, 2vw, 28px); border-radius: var(--radius); overflow: hidden; color: var(--on-dark); text-decoration: none; isolation: isolate; }
.store__img { position: absolute; inset: 0; z-index: -2; }
.store__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.store:hover .store__img img { transform: scale(1.06); }
.store::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 12, 41, .96) 10%, rgba(18, 12, 41, .5) 60%, rgba(18, 12, 41, .2)); }
.store .h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.store p { color: var(--on-dark-2); }
.store__go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aqua); }
.store__go svg { width: 18px; height: 18px; }
.stores__note { margin-top: 22px; color: var(--ink-2); }
@media (max-width: 760px) { .stores__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- call to action band ---------- */
.cta { position: relative; color: var(--on-dark); background: var(--night); overflow: clip; isolation: isolate; }
.cta__img { position: absolute; inset: 0; z-index: -2; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 41, .95) 0%, rgba(18, 12, 41, .75) 50%, rgba(18, 12, 41, .35) 100%); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 60px; align-items: end; }
.cta .h2 { margin-bottom: 16px; }
.cta p { color: var(--on-dark-2); margin: 0; }
.cta .fill-text { background: linear-gradient(90deg, var(--aqua) 0 var(--fill, 0%), rgba(238, 235, 251, .35) var(--fill, 0%) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no-js .cta .fill-text, .reduce .cta .fill-text { --fill: 100%; }
@media (max-width: 800px) { .cta__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--night); color: var(--on-dark-2); padding: 80px 0 30px; overflow: clip; }
.site-foot__staff { position: absolute; inset: 0 0 auto 0; height: 150px; background: var(--staff-aqua); opacity: .9; }
.site-foot__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-foot__brand img { width: 84px; height: 84px; margin-bottom: 16px; }
.site-foot__name { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--on-dark); margin-bottom: 8px; }
.site-foot__brand p:last-child { max-width: 420px; }
.site-foot__h { font-family: var(--f-body); font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-foot ul a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; color: var(--on-dark); }
.site-foot ul a:hover { color: var(--aqua); }
.site-foot ul svg { width: 15px; height: 15px; opacity: .7; }
.site-foot__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(143, 240, 244, .15); font-size: .95rem; }
.site-foot__base p { margin: 0; }
.site-foot__base a { color: var(--aqua); }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- full orchestra: level guide ---------- */
.levels { background: var(--night); color: var(--on-dark); overflow: clip; isolation: isolate; }
.levels__bg { position: absolute; inset: -8% 0; z-index: -2; background: url('../img/music-stands.webp') center / cover no-repeat; opacity: .28; }
.levels::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 12, 41, .7), rgba(18, 12, 41, .92)); }
.levels__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ladder { position: relative; }
.ladder svg { width: 100%; height: auto; overflow: visible; }
.ladder .ld-line { stroke: rgba(143, 240, 244, .45); stroke-width: 1.4; }
.ladder .ld-note { cursor: pointer; }
.ladder .ld-note ellipse { fill: var(--night); stroke: var(--aqua); stroke-width: 2.4; transition: fill .3s; }
.ladder .ld-note line { stroke: var(--aqua); stroke-width: 2.4; }
.ladder .ld-note text { fill: var(--on-dark-2); font: 600 15px var(--f-body); }
.ladder .ld-note.on ellipse, .ladder .ld-note:hover ellipse { fill: var(--aqua); }
.ladder .ld-note.on text { fill: var(--aqua); }
.ladder__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ladder__btns button { min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(143, 240, 244, .3); background: rgba(18, 12, 41, .5); color: var(--on-dark); cursor: pointer; font-size: .95rem; }
.ladder__btns button[aria-selected="true"] { background: var(--aqua); color: var(--night); border-color: var(--aqua); }
.ladder__panel { padding: clamp(24px, 2.6vw, 38px); border-radius: var(--radius); background: rgba(26, 18, 64, .85); border: 1px solid rgba(143, 240, 244, .18); backdrop-filter: blur(6px); }
.ladder__panel h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); margin-bottom: 10px; }
.ladder__panel p { color: var(--on-dark-2); }
.ladder__panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ladder__panel li { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 12px; }
.ladder__panel li span { font-family: var(--f-body); font-style: normal; font-size: .95rem; color: var(--on-dark-2); }
@media (max-width: 900px) { .levels__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- full orchestra + finder: catalogue list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid rgba(26, 20, 50, .2); background: #fff; cursor: pointer; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--violet); }
.filters button[aria-pressed="true"] { background: var(--violet); color: #fff; border-color: var(--violet); }
.cat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.cat__card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(26, 20, 50, .06); border: 1px solid rgba(26, 20, 50, .06); }
.cat__card[hidden] { display: none; }
.cat__card .entry__t { font-size: 1.35rem; }
.cat__by { font-size: .95rem; color: var(--ink-2); margin: 0; }
.cat__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .9375rem; color: var(--ink-2); margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(26, 20, 50, .15); }
.cat__buy { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cat__buy a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: .9375rem; font-weight: 600; color: var(--aqua-dk); text-decoration: none; }
.cat__buy a:hover { text-decoration: underline; }
.cat__buy svg { width: 14px; height: 14px; }
.cat__more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 1100px) { .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- full orchestra: concert themes with a picture pane ---------- */
.themes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.themes__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(26, 20, 50, .15); }
.themes__list li { border-bottom: 1px solid rgba(26, 20, 50, .15); }
.theme { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: center; padding: 13px 8px; text-decoration: none; color: inherit; transition: background-color .3s, padding .35s var(--ease); border-radius: 10px; }
.theme h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-style: italic; }
.theme p { grid-column: 1; margin: 0; font-size: .98rem; color: var(--ink-2); }
.theme svg { grid-row: 1 / span 2; grid-column: 2; width: 26px; height: 26px; color: var(--violet); transition: transform .35s var(--ease); }
.theme:hover, .theme.is-on, .theme:focus-visible { background: #fff; padding-left: 20px; }
.theme:hover svg, .theme.is-on svg { transform: translateX(6px); }
.themes__pane { position: relative; height: min(56vh, 500px); }
.themes__pane .frame__img { position: relative; height: 100%; }
.themes__pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 1.4s var(--ease); transform: scale(1.06); }
.themes__pane img.is-on { opacity: 1; transform: scale(1); }
@media (max-width: 900px) { .themes__grid { grid-template-columns: minmax(0, 1fr); } .themes__pane { height: auto; aspect-ratio: 16 / 10; order: -1; } }

/* ---------- steps ---------- */
.steps { background: var(--night); color: var(--on-dark); overflow: clip; isolation: isolate; }
.steps__bg { position: absolute; inset: 0; z-index: -2; }
.steps__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.steps::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 41, .95), rgba(18, 12, 41, .75)); }
.steps__wrap { --sgap: clamp(20px, 3vw, 48px); position: relative; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sgap); position: relative; }
.steps__list li { position: relative; padding-top: 70px; }
.steps__n { position: absolute; top: 0; left: 0; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1.5px solid var(--aqua); color: var(--aqua); font-family: var(--f-display); font-size: 1.4rem; }
/* runs from the first marker's centre to the last: two column widths plus two gaps */
.steps__line { position: absolute; top: 25px; left: 26px; height: 2px; width: calc((200% + 2 * var(--sgap)) / 3); z-index: 1; overflow: visible; }
.steps__line line { stroke: var(--aqua); stroke-opacity: .6; stroke-width: 2; }
.steps__list h3 { font-size: 1.5rem; margin-bottom: 8px; }
.steps__list p { color: var(--on-dark-2); }
@media (max-width: 800px) { .steps__list { grid-template-columns: minmax(0, 1fr); } .steps__line { display: none; } }

/* ---------- concert finder ---------- */
.finder { background: var(--paper) var(--staff-ink); }
.finder__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 340px; gap: clamp(18px, 2vw, 30px); align-items: start; }
.finder__filters, .finder__prog { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px rgba(26, 20, 50, .08); }
.finder__prog { position: sticky; top: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(26, 20, 50, .2); background: var(--paper); font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.chip input:checked + span { background: var(--violet); color: #fff; border-color: var(--violet); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.finder__filters fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.finder__filters legend { padding: 0; }
.finder__filters .seg button { font-size: .95rem; padding: 8px 12px; }
.finder__search { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(26, 20, 50, .2); background: var(--paper); }
.finder__search:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(124, 63, 210, .2); }
.finder__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .98rem; cursor: pointer; }
.finder__check input { width: 20px; height: 20px; accent-color: var(--violet); }
.finder__reset { background: none; border: 0; padding: 8px 0; color: var(--aqua-dk); font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }
.finder__status { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.finder__status strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 520; }
.finder__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.fr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(26, 20, 50, .07); }
.fr__t { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; line-height: 1.2; }
.fr__by { font-size: .95rem; color: var(--ink-2); }
.fr__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9375rem; color: var(--ink-2); align-items: center; }
.fr__meta a { color: var(--aqua-dk); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.fr__meta a:hover { text-decoration: underline; }
.fr__meta svg { width: 13px; height: 13px; }
.fr__add { grid-column: 2; grid-row: 1 / span 3; min-width: 48px; min-height: 48px; border-radius: 50%; border: 1.5px solid var(--violet); background: #fff; color: var(--violet); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.fr__add:hover { background: var(--violet); color: #fff; }
.fr__add[aria-pressed="true"] { background: var(--violet); color: #fff; transform: rotate(45deg); }
.finder__none { padding: 30px; border-radius: 14px; background: #fff; text-align: center; color: var(--ink-2); }
.finder__prog { background: var(--paper); border: 1px solid rgba(26, 20, 50, .12); }
.finder__prog::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(26, 20, 50, .12); border-radius: 12px; pointer-events: none; }
.finder__prog h2 { font-size: 1.7rem; font-style: italic; text-align: center; margin-bottom: 4px; }
.finder__prog > p { text-align: center; font-size: .95rem; color: var(--ink-2); }
.prog-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; counter-reset: pi; max-height: max(160px, calc(100vh - 470px)); overflow-y: auto; }
.prog-list[hidden] { display: none; }
.prog-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; counter-increment: pi; font-size: .98rem; }
.prog-list li::before { content: counter(pi); font-family: var(--f-display); color: var(--violet); font-size: 1.1rem; }
.prog-list .work { font-size: 1.08rem; }
.prog-list small { display: block; color: var(--ink-2); font-size: .875rem; }
.prog-list__btns { display: flex; }
.prog-list__btns button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink-2); border-radius: 8px; font-size: 1rem; }
.prog-list__btns button:hover { background: var(--paper-2); color: var(--violet); }
.prog-empty { text-align: center; padding: 18px 8px; color: var(--ink-2); font-size: .98rem; border: 1.5px dashed rgba(26, 20, 50, .18); border-radius: 12px; margin: 16px 0; }
.prog-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(26, 20, 50, .14); font-size: .98rem; }
.prog-total strong { font-variant-numeric: tabular-nums; }
.finder__prog .btns { margin-top: 16px; }
.finder__prog .btn { min-height: 46px; padding: .6em 1.1em; font-size: .95rem; }
.finder__copied { min-height: 1.5em; margin-top: 8px; font-size: .95rem; color: var(--aqua-dk); text-align: center; }
@media (max-width: 1200px) { .finder__grid { grid-template-columns: 260px minmax(0, 1fr); } .finder__prog { grid-column: 1 / -1; position: relative; top: 0; } }
@media (max-width: 800px) { .finder__grid { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .site-head, .mmenu, .site-foot, .phero, .finder__filters, .finder__main, .tips, .cta, .finder .sec__head, .finder__prog .btns, .finder__copied, .skip { display: none !important; }
  .finder { background: #fff; padding: 0; }
  .finder__grid { display: block; }
  .finder__prog { position: static; box-shadow: none; border: 0; }
  .prog-list { max-height: none; overflow: visible; }
  .prog-list__btns { display: none; }
}

/* ---------- tips (finder page) ---------- */
.tips__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.tips .frame { height: min(60vh, 520px); }
.tips__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.tips__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.tips__list svg { width: 26px; height: 26px; fill: var(--teal); margin-top: 4px; }
.tips__list h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tips__list p { color: var(--ink-2); }
@media (max-width: 900px) { .tips__grid { grid-template-columns: minmax(0, 1fr); } .tips .frame { height: auto; aspect-ratio: 16 / 10; } }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.form { padding: clamp(22px, 2.2vw, 32px); border-radius: var(--radius); background: #fff; box-shadow: 0 24px 60px rgba(26, 20, 50, .08); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 600; font-size: 1rem; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid rgba(26, 20, 50, .2); background-color: var(--paper); font-size: 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237c3fd2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 63, 210, .2); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: .95rem; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .95rem; color: var(--ink-2); margin-top: 14px; }
.form__done { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--night) var(--staff-aqua); color: var(--on-dark); }
.form__done h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.form__done p { color: var(--on-dark-2); }
.contact__side { display: grid; gap: 24px; }
.contact__side .frame { height: min(40vh, 340px); }
.side-card { padding: 26px; border-radius: var(--radius); background: var(--night); color: var(--on-dark); }
.side-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.side-card p { color: var(--on-dark-2); }
.side-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.side-card a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; border-radius: 12px; background: rgba(143, 240, 244, .08); border: 1px solid rgba(143, 240, 244, .2); color: var(--on-dark); text-decoration: none; font-weight: 600; transition: background-color .25s; }
.side-card a:hover { background: rgba(143, 240, 244, .18); }
.side-card svg { width: 18px; height: 18px; color: var(--aqua); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- holding pages ---------- */
.hold__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 40px); align-items: center; }
.hold__cover { margin-top: 0; }
.hold .frame { height: min(56vh, 480px); }
.hold__cover { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.hold__cover li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.hold__cover svg { width: 22px; height: 22px; fill: var(--teal); margin-top: 5px; }
.hold__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hold__link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 22px; border-radius: var(--radius); overflow: hidden; color: var(--on-dark); text-decoration: none; isolation: isolate; }
.hold__link img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hold__link:hover img { transform: scale(1.07); }
.hold__link::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 12, 41, .95) 5%, rgba(18, 12, 41, .2) 80%); }
.hold__link h3 { font-size: 1.5rem; margin-bottom: 6px; }
.hold__link p { font-size: .98rem; color: var(--on-dark-2); margin: 0; }
@media (max-width: 1000px) { .hold__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hold__grid { grid-template-columns: minmax(0, 1fr); } .hold .frame { height: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .hold__links { grid-template-columns: minmax(0, 1fr); } .hold__link { min-height: 200px; } }

/* ---------- motion helpers ---------- */
/* padded line masks: .2em above and .5em below each line, pulled back so layout matches the unsplit heading */
.split-line-mask { display: block; overflow: clip; padding: .2em .15em .5em; margin: 0 -.15em -.7em; }
.split-line-mask:first-child { margin-top: -.2em; }
.split-line-mask:last-child { margin-bottom: -.5em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .marquee__track { animation: none; }
  .js .hero [data-intro], .js .phero [data-intro] { opacity: 1; animation: none; }
}

/* contact section kept to one screen */
.sec.contact { padding: clamp(56px, 6vw, 88px) 0; }
.contact .field { margin-bottom: 16px; }
.contact .field textarea { min-height: 104px; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__send .form__note { margin: 0; }

/* paper cards inside dark sections keep dark text */
.on-night .on-paper .entry__c { color: var(--ink-2); }
.on-night .on-paper .lvl { color: var(--aqua-dk); }
.on-night .on-paper .link-arrow { color: var(--aqua-dk); }

/* tap targets at least 44px tall */
.link-arrow { min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.site-foot ul a { min-height: 44px; }
.cat__buy a, .fr__meta a { min-height: 44px; }
.stave-level input[type="range"] { height: 44px; }

@media (max-width: 640px) {
  .fr { grid-template-columns: minmax(0, 1fr); }
  .fr__add { grid-column: 1; grid-row: auto; justify-self: start; }
  .theme { grid-template-columns: minmax(0, 1fr); }
  .theme svg { display: none; }
}
