/* ==============================================================
   Pianomen — modern theme
   Tokens → base → nav → hero/keyboard → sections → footer → mobile
   ============================================================== */

:root {
  --bg: #f7f5f1;
  --bg-2: #efebe4;
  --surface: #ffffff;
  --ink: #111014;
  --ink-soft: #45424b;
  --muted: #7d7983;
  --line: rgba(17, 16, 20, 0.09);
  --line-strong: rgba(17, 16, 20, 0.18);
  --accent: #9a7534;
  --accent-soft: rgba(168, 129, 63, 0.14);
  --glow-1: rgba(214, 170, 96, 0.35);
  --glow-2: rgba(120, 110, 255, 0.18);
  --key-white: #fdfcf9;
  --key-black: #16151a;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(20,16,10,.18);

  --display: "Inter Tight", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", "Noto Sans KR", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1160px;
  --radius: 22px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0a0d;
    --bg-2: #121116;
    --surface: #16151b;
    --ink: #f3f1ec;
    --ink-soft: #c2bfc8;
    --muted: #8c8993;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #d8b273;
    --accent-soft: rgba(216, 178, 115, 0.14);
    --glow-1: rgba(216, 170, 96, 0.22);
    --glow-2: rgba(110, 100, 255, 0.20);
    --key-white: #ebe8e1;
    --key-black: #050506;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0a0d;
  --bg-2: #121116;
  --surface: #16151b;
  --ink: #f3f1ec;
  --ink-soft: #c2bfc8;
  --muted: #8c8993;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #d8b273;
  --accent-soft: rgba(216, 178, 115, 0.14);
  --glow-1: rgba(216, 170, 96, 0.22);
  --glow-2: rgba(110, 100, 255, 0.20);
  --key-white: #ebe8e1;
  --key-black: #050506;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* grain overlay for depth */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot { position: relative; z-index: 1; }

/* ============ nav (floating pill) ============ */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled .nav-inner, body.menu-open .nav-inner {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links > a {
  text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: .5rem .9rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-links > a.is-current { color: var(--ink); background: var(--accent-soft); }
.nav-tools { display: flex; align-items: center; gap: .35rem; margin-left: .5rem; }
.seg {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.lang-btn, .icon-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 .74rem/1 var(--sans); letter-spacing: .06em;
  padding: .5rem .7rem; border-radius: 999px; transition: color .2s, background .2s;
}
.lang-btn:hover, .icon-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.icon-btn { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.nav-cta { margin-left: .25rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 12px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; }

/* ============ buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 .93rem/1 var(--sans); letter-spacing: .005em; text-decoration: none;
  padding: 1rem 1.5rem; min-height: 48px; border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { box-shadow: 0 10px 30px -10px var(--glow-1), 0 0 0 4px var(--accent-soft); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: var(--surface); }
.btn-sm { padding: .7rem 1.1rem; min-height: 40px; font-size: .84rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ hero ============ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(4rem, 12vh, 8rem)) 0 clamp(3rem, 8vh, 5rem);
  text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { width: 620px; height: 520px; top: -160px; left: 50%; margin-left: -520px; background: var(--glow-1); }
.hero::after  { width: 560px; height: 460px; top: 40px; left: 50%; margin-left: 40px; background: var(--glow-2); animation-delay: -9s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .95rem .45rem .5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 2rem; text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease);
}
.pill:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.pill-dot {
  display: inline-grid; place-items: center; height: 22px; padding: 0 .55rem; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: .68rem; font-weight: 700; letter-spacing: .06em;
}
.hero-mark {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.6rem, 15vw, 10.5rem);
  line-height: .9; letter-spacing: -.055em; margin: 0;
  background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, var(--accent)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-mark .serif { letter-spacing: -.02em; color: var(--accent); -webkit-text-fill-color: var(--accent); padding-right: .04em; }
.hero-sub {
  margin: 1.25rem 0 0; font-size: .82rem; font-weight: 600; letter-spacing: .38em;
  text-transform: uppercase; color: var(--muted); padding-left: .38em;
}
.hero-lede {
  font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: var(--ink-soft);
  max-width: 36rem; margin: 1.6rem auto 2.2rem; line-height: 1.65;
}
.actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- interactive keyboard ---------- */
.stage { margin: clamp(3rem, 8vh, 4.5rem) auto 0; max-width: 820px; }
.piano {
  position: relative;
  display: flex;
  padding: 18px 14px 18px;
  border-radius: 20px 20px 26px 26px;
  background: linear-gradient(180deg, #232129, #0d0c10);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.piano::before { /* felt strip */
  content: ""; position: absolute; left: 14px; right: 14px; top: 12px; height: 4px;
  background: linear-gradient(90deg, #7a1f2b, #9b2c3a, #7a1f2b); border-radius: 2px; z-index: 3;
}
.octave { position: relative; flex: 1; display: flex; }
.key-w {
  flex: 1; height: clamp(120px, 22vw, 190px);
  background: linear-gradient(180deg, var(--key-white) 85%, #d8d3c9);
  border: 1px solid rgba(0,0,0,.25); border-top: 0;
  border-radius: 0 0 7px 7px;
  margin: 0 1px; cursor: pointer; position: relative;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.08);
  transition: transform .08s, box-shadow .08s, background .15s;
}
.key-b {
  position: absolute; top: 0; z-index: 2;
  width: calc(100% / 7 * .6); height: 62%;
  background: linear-gradient(180deg, #2c2a31, var(--key-black) 70%);
  border-radius: 0 0 5px 5px; cursor: pointer;
  box-shadow: inset 0 -5px 0 rgba(255,255,255,.07), 0 4px 6px rgba(0,0,0,.4);
  transform: translateX(-50%);
  transition: height .08s, box-shadow .08s, background .15s;
}
.key-w.is-down {
  transform: translateY(2px);
  background: linear-gradient(180deg, #f1e3c4 60%, #d6c49d);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.key-b.is-down { height: 61%; background: linear-gradient(180deg, #5a4a2e, #1b1710); box-shadow: inset 0 -2px 0 rgba(255,255,255,.05); }
.key-label {
  position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
  font: 600 .66rem/1 var(--sans); color: rgba(0,0,0,.35); letter-spacing: .04em; pointer-events: none;
}
.key-b .key-label { color: rgba(255,255,255,.4); bottom: 8px; }
.stage-hint { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }
.stage-hint kbd {
  font: 600 .72rem/1 var(--sans); padding: .25rem .45rem; border-radius: 6px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft);
}
.note-float {
  position: absolute; z-index: 4; pointer-events: none; font-size: 1.4rem; color: var(--accent);
  animation: floatUp 1.4s var(--ease) forwards;
}
@keyframes floatUp {
  from { opacity: 1; transform: translate(-50%, 0) scale(.8); }
  to   { opacity: 0; transform: translate(-50%, -120px) scale(1.2) rotate(-12deg); }
}

/* ============ marquee ============ */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden; padding: 1.3rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink-soft); padding: 0 1.4rem; white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--accent); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { padding: clamp(5rem, 12vw, 9rem) 0; }
.section + .section { padding-top: 0; }
.sec-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 46rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.sec-title {
  font-family: var(--display); font-weight: 700; margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.04em;
}
:lang(ko) .sec-title, :lang(ko) .card h3 { letter-spacing: -.02em; word-break: keep-all; }
:lang(ko) .prose, :lang(ko) .hero-lede { word-break: keep-all; }
.sec-title .serif { color: var(--accent); }
.prose { font-size: clamp(1.02rem, 2.2vw, 1.14rem); color: var(--ink-soft); margin: 0 0 1.1rem; }

/* about: bento */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .3s, opacity .9s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card-lg { grid-column: span 4; }
.card-md { grid-column: span 2; }
.card-sm { grid-column: span 2; }
.card-dark { background: var(--ink); color: var(--bg); border-color: transparent; }
.card-dark .prose { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.card-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 1.2rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 .4rem;
}
.card p { margin: 0; }
.card .prose + .prose { margin-top: 1rem; }
.card-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2;
  margin: 0 0 1rem !important; letter-spacing: -.01em;
}
.staff { position: absolute; right: -10px; bottom: -6px; width: 240px; opacity: .14; color: currentColor; pointer-events: none; }

/* concerts: ticket */
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, var(--glow-1), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, var(--glow-2), transparent 55%),
    var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ticket-main { padding: clamp(1.8rem, 5vw, 3.2rem); }
.ticket-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px; background: var(--ink); color: var(--bg); margin-bottom: 1.4rem;
}
.ticket-year {
  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: .85; letter-spacing: -.06em; margin: 0 0 .8rem;
}
.ticket-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.02em; margin: 0 0 .3rem; }
.ticket-sub { margin: 0 0 1.8rem; }
.ticket-stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  border-left: 2px dashed var(--line-strong);
  min-width: 220px; text-align: center;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
}
.ticket-stub::before { top: -15px; }
.ticket-stub::after { bottom: -15px; }
.stub-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.barcode {
  width: 150px; height: 56px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px);
  opacity: .85; border-radius: 2px;
}

/* join + contact split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel {
  border-radius: var(--radius); padding: clamp(1.8rem, 4.5vw, 3.2rem);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
}
.panel .sec-title { font-size: clamp(2rem, 4.5vw, 3rem); margin: .6rem 0 .8rem; }
.panel .prose { margin-bottom: 1.6rem; }
.panel .btn { margin-top: auto; }
.panel-accent {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--surface) 70%);
}
.contact-email {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  letter-spacing: -.03em; margin: auto 0 0; word-break: break-word;
}
.contact-email a {
  text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .35s var(--ease), color .2s;
}
.contact-email a:hover { color: var(--accent); background-size: 0 2px; background-position: 100% 100%; }

/* ============ footer ============ */
.foot { border-top: 1px solid var(--line); padding: clamp(3rem, 8vw, 5rem) 0 2.5rem; overflow: hidden; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.foot-line { margin: .3rem 0 0; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
.foot-links a:hover { color: var(--accent); }
.foot-giant {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(4rem, 20vw, 16.5rem); margin: clamp(2.5rem, 6vw, 4rem) 0 0; text-align: center;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  user-select: none; white-space: nowrap;
}
.foot-rights { margin: 1.5rem 0 0; text-align: center; }

/* ============ 404 ============ */
.lost { min-height: 100vh; display: grid; place-items: center; }

/* ============ reveal on scroll ============ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 960px) {
  .card-lg { grid-column: span 6; }
  .card-md, .card-sm { grid-column: span 3; }
}

@media (max-width: 860px) {
  .nav { top: 10px; }
  .nav-inner { padding: 0 6px 0 16px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 20px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  body.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-links > a { padding: 1rem 1.1rem; font-size: 1.05rem; border-radius: 14px; }
  .nav-tools { margin: .5rem 0 0; padding: .8rem .5rem .3rem; border-top: 1px solid var(--line); justify-content: space-between; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 2px dashed var(--line-strong); flex-direction: row; justify-content: space-between; min-width: 0; padding: 1.4rem 1.8rem; }
  .ticket-stub::before, .ticket-stub::after { top: -15px; bottom: auto; }
  .ticket-stub::before { left: -15px; }
  .ticket-stub::after { left: auto; right: -15px; }
  .barcode { width: 110px; height: 40px; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .octave + .octave { display: none; } /* one octave on phones */
  .piano { padding: 16px 10px 14px; }
  .piano::before { left: 10px; right: 10px; }
  .card-md, .card-sm { grid-column: span 6; }
  .hero::before { width: 380px; height: 340px; margin-left: -300px; }
  .hero::after { width: 340px; height: 300px; margin-left: 0; }
  .actions .btn { flex: 1 1 100%; }
  .stage-hint .desk { display: none; }
  .foot-grid { flex-direction: column; align-items: flex-start; }
}
