:root {
  color-scheme: dark;
  --bg: #1b1c1b;
  --surface: #252625;
  --surface-2: #323331;
  --surface-3: #40413e;
  --ink: #f4f4f1;
  --muted: #c4c5bf;
  --accent: #8fa68e;
  --accent-hi: #b3c7b1;
  --accent-ink: #141514;
  --field-1: #d2cfc5;
  --field-1-ink: #141514;
  --field-2: #e4e1d8;
  --field-3: #efece4;
  --field-line: #8f8c83;
  --field-muted: #34332f;
  --field-btn-hover: #3a3b38;
  --stage: #151615;
  --stage-floor: #2c2d2b;
  --fig-str: #d9c697;
  /* chapter fields: prices on deep green with a gold ticket, quote on paper, repertoire on sage */
  --pr-bg: #1f2a23;
  --pr-2: #2b382f;
  --pr-3: #37473b;
  --pr-ink: #f4f4f1;
  --pr-muted: #c9d2c8;
  --ticket: #d9c697;
  --ticket-ink: #141514;
  --ticket-muted: #3b3524;
  --q-band: #e4e1d8;
  --q-chip: #f5f5f5;
  --q-chip-hover: #ffffff;
  --rp-bg: #8fa68e;
  --rp-1: #9fb39e;
  --rp-2: #afc1ae;
  --rp-btn: #c3d1c2;
  --rp-ink: #141514;
  --rp-muted: #283127;
  --img: .94;
  --portrait: .72;
  --scrim: rgba(0, 0, 0, .7);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --m: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Switzer", "Pretendard Variable", Pretendard, system-ui, sans-serif;
}


/* light theme: follows the system unless the visitor picked one */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f5f0;
    --surface: #ebeae3;
    --surface-2: #dddcd4;
    --surface-3: #cfcec5;
    --ink: #111211;
    --muted: #45463f;
    --accent: #3e5d3d;
    --accent-hi: #2f4a2e;
    --accent-ink: #ffffff;
    --field-1: #1f201e;
    --field-1-ink: #f4f4f1;
    --field-2: #30312e;
    --field-3: #3d3e3a;
    --field-line: #6a6b65;
    --field-muted: #cfd0ca;
    --field-btn-hover: #ffffff;
    --stage: #e5e4dd;
    --stage-floor: #d3d2c9;
    --fig-str: #7d5f22;
    --pr-bg: #e2e9de;
    --pr-2: #d3dccf;
    --pr-3: #c4cfc0;
    --pr-ink: #111211;
    --pr-muted: #3a4338;
    --q-band: #2c2d2a;
    --q-chip: #3b3c38;
    --q-chip-hover: #4a4b46;
    --rp-bg: #cfdccd;
    --rp-1: #dde6db;
    --rp-2: #e8efe6;
    --rp-btn: #f3f7f2;
    --rp-ink: #111211;
    --rp-muted: #364034;
    --img: 1;
    --portrait: .9;
    --scrim: rgba(0, 0, 0, .66);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f0;
  --surface: #ebeae3;
  --surface-2: #dddcd4;
  --surface-3: #cfcec5;
  --ink: #111211;
  --muted: #45463f;
  --accent: #3e5d3d;
  --accent-hi: #2f4a2e;
  --accent-ink: #ffffff;
  --field-1: #1f201e;
  --field-1-ink: #f4f4f1;
  --field-2: #30312e;
  --field-3: #3d3e3a;
  --field-line: #6a6b65;
  --field-muted: #cfd0ca;
  --field-btn-hover: #ffffff;
  --stage: #e5e4dd;
  --stage-floor: #d3d2c9;
  --fig-str: #7d5f22;
  --pr-bg: #e2e9de;
  --pr-2: #d3dccf;
  --pr-3: #c4cfc0;
  --pr-ink: #111211;
  --pr-muted: #3a4338;
  --q-band: #2c2d2a;
  --q-chip: #3b3c38;
  --q-chip-hover: #4a4b46;
  --rp-bg: #cfdccd;
  --rp-1: #dde6db;
  --rp-2: #e8efe6;
  --rp-btn: #f3f7f2;
  --rp-ink: #111211;
  --rp-muted: #364034;
  --img: 1;
  --portrait: .9;
  --scrim: rgba(0, 0, 0, .66);
}
:root[data-size="lg"] { font-size: 118.75%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.005em;
  transition: background-color .45s, color .45s;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2 { font-size: var(--step-head); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }

/* buttons: square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0; cursor: pointer;
  font-size: 1rem; font-weight: 500; white-space: nowrap;
  transition: background-color .2s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: scale(.97); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-text {
  background: none; border: 0; padding: 12px 4px; cursor: pointer;
  font-size: 1rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 5px;
  transition: text-decoration-color .2s, color .2s;
}
.btn-text:hover { text-decoration-color: var(--accent); color: var(--accent-hi); }

.btn-line { background: rgba(0, 0, 0, .35); color: #fff; border: 2px solid rgba(255, 255, 255, .85); }
.btn-line:hover { background: #fff; color: #111; }

/* curtain (page entrance) */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  background: #111211;
  display: grid; place-items: center;
  transition: transform 1s var(--ease) .15s;
}
.curtain-name { display: grid; justify-items: center; color: #f4f4f1; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -0.05em; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease); }
.curtain-name small { font-size: .2em; letter-spacing: .32em; text-transform: uppercase; margin-top: .9em; color: #c4c5bf; }
.is-loaded .curtain-name { opacity: 1; transform: none; }
.is-open .curtain { transform: translateY(-101%); }
.is-open .curtain-name { opacity: 0; transform: translateY(-40px); transition-duration: .5s; }

/* page: one screen each on desktop */
.page { position: relative; min-height: 100svh; padding: var(--top) var(--m) var(--bot); }
:root { --top: clamp(84px, 11svh, 116px); --bot: clamp(28px, 5svh, 56px); }

/* top bar: transparent over the film, solid after */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 26px;
  padding: 12px var(--m);
  background: var(--bg); color: var(--ink);
  transition: background-color .4s, color .4s, transform .45s var(--ease);
}
.bar.is-over { background: transparent; color: #fff; }
.brand { display: flex; align-items: baseline; gap: 10px; margin-right: auto; line-height: 1; }
.brand b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.045em; }
.brand span { font-size: 0.9375rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.bar-links { display: flex; gap: 22px; font-size: 1rem; font-weight: 500; }
.bar-links a { opacity: .78; transition: opacity .2s; padding: 6px 0; }
.bar-links a:hover, .bar-links a.is-here { opacity: 1; }
.bar.is-over .bar-links a { opacity: .92; }
.bar-links a.is-here { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.0625rem; font-weight: 500; padding: 10px 0; cursor: pointer; color: inherit; }
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  padding: 88px var(--m) 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a { font-size: 1.875rem; letter-spacing: -0.03em; }
.sheet-tel { font-size: 1.25rem; color: var(--accent-hi); }

/* view controls: theme and text size */
.view { display: flex; gap: 6px; }
.view button {
  min-height: 40px; padding: 0 12px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--surface-2); color: var(--ink); font-size: 0.9375rem; font-weight: 500;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.view button:hover { background: var(--surface-3); }
.view button:active { transform: scale(.95); }
.view button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.bar.is-over .view button { background: rgba(0, 0, 0, .55); color: #fff; }
.bar.is-over .view button[aria-pressed="true"] { background: #fff; color: #111; }
.sheet .view { margin-bottom: 16px; }
.sheet .view button { min-height: 48px; font-size: 1rem; }

/* 1. HERO */
.hero { height: 100svh; min-height: 640px; padding: 0; overflow: hidden; background: #0d0d0d; color: #fff; display: grid; grid-template-rows: 1fr auto; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%;
  filter: grayscale(1) brightness(.9) contrast(1.1);
  transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.12) translate(-1.2%, 1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .66) 38%, rgba(0, 0, 0, .2) 72%, rgba(0, 0, 0, .1) 100%); /* taste-skill-ignore: neutral scrim under hero copy */ }
.hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .6), transparent); /* taste-skill-ignore: neutral scrim under the bar */ }
.hero > *:not(video) { position: relative; z-index: 2; }
.hero-side {
  position: absolute !important; left: var(--m); top: 110px; bottom: 150px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #e6e6e1; white-space: nowrap;
}
.hero-side i { width: 6px; height: 6px; background: var(--accent); }
.hero-copy { align-self: center; padding: 96px var(--m) 0 calc(var(--m) + 72px); max-width: 980px; }
.hero-brand { display: flex; align-items: baseline; gap: 14px; font-size: 1.125rem; font-weight: 500; color: #ececE8; }
.hero-brand b { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.05em; color: #fff; }
.hero-h { margin: 18px 0 22px; font-size: clamp(2.75rem, 5vw, 5.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.04em; }
.hero-h > span { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h > span > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-h > span:nth-child(2) > span { transition-delay: .1s; }
.is-open .hero-h > span > span { transform: none; }
.hero-lede { max-width: 33em; font-size: 1.1875rem; line-height: 1.6; color: #ececE8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-cta .btn { min-height: 56px; font-size: 1.0625rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 48px; margin-top: 44px; }
.hero-facts div { display: flex; flex-direction: column-reverse; }
.hero-facts dt { font-size: 0.9375rem; color: #d6d6d1; }
.hero-facts dd { font-size: 1.875rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-credit { position: absolute !important; right: var(--m); top: 84px; font-size: 0.9375rem; color: #deded9; }
.hero-occ { display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(14, 15, 14, .86); }
.hero-occ a { display: grid; gap: 2px; padding: 20px var(--m) 22px; transition: background-color .25s, color .25s; }
.hero-occ a + a { border-left: 2px solid rgba(255, 255, 255, .1); }
.hero-occ b { font-size: 1.1875rem; font-weight: 500; }
.hero-occ span { font-size: 0.9375rem; color: #d6d6d1; }
.hero-occ a:hover { background: var(--accent); color: #111; }
.hero-occ a:hover span { color: #111; }

/* 2. ABOUT */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.about-photo { grid-column: 1 / 6; position: relative; height: calc(100svh - var(--top) - var(--bot)); min-height: 420px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img)); }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 20px; color: #fff; font-size: 1.0625rem; font-weight: 500; background: linear-gradient(transparent, var(--scrim)); /* taste-skill-ignore: neutral scrim under caption */ }
.about-body { grid-column: 7 / 13; }
.about-body h2 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); font-weight: 500; }
.about-text { margin-top: 24px; max-width: 34em; font-size: 1.1875rem; }
.about-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about-steps li { font-size: 1rem; color: var(--muted); padding: 20px 22px; background: var(--surface); }
.about-steps b { display: block; font-size: 1.25rem; font-weight: 500; color: var(--accent-hi); margin-bottom: 6px; }

/* 3. OCCASIONS */
.occ { display: flex; flex-direction: column; gap: 28px; }
.occ-head, .artists-head, .quote-head, .rep-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 6vw; }
.occ-head p, .artists-head p, .quote-head p, .rep-head p { max-width: 34em; font-size: 1.0625rem; }
.occ h2, .artists h2, .quote h2, .rep h2 { font-weight: 500; }
.occ-cards { flex: 1; min-height: 360px; display: flex; gap: 10px; }
.card { position: relative; flex: 1; overflow: hidden; background: #111; color: #fff; transition: flex-grow .7s var(--ease); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img)); transform: scale(1.04); transition: transform 1.2s var(--ease); }
.card:hover, .card:focus-visible { flex-grow: 1.9; }
.card:hover img { transform: scale(1); }
.card-txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 90px 22px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); /* taste-skill-ignore: neutral scrim under caption */ }
.card-txt b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.card-txt span { font-size: 1rem; color: #e2e2dd; }
.card-more { display: grid; gap: 2px; max-height: 0; overflow: hidden; opacity: 0; font-size: 0.9375rem; color: #ececE8; transition: max-height .7s var(--ease), opacity .4s, margin .5s var(--ease); }
.card-more span:nth-child(2) { font-size: 1.25rem; font-weight: 500; color: #fff; }
.card:hover .card-more, .card:focus-visible .card-more { max-height: 7em; opacity: 1; margin-top: 10px; transition-delay: .15s; }
.card-txt em { font-style: normal; font-weight: 500; font-size: 1rem; margin-top: 8px; color: var(--accent-hi); }
:root[data-theme="light"] .card-txt em { color: #b3c7b1; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .card-txt em { color: #b3c7b1; } }

/* 4. ARTISTS */
.artists { display: flex; flex-direction: column; gap: 32px; background: var(--surface); }
.artists-row { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }
.portrait img { width: 100%; height: min(50svh, 30vw); object-fit: cover; filter: brightness(var(--portrait)); transition: filter .4s, transform .8s var(--ease); }
.portrait { overflow: hidden; }
.portrait:hover img { filter: brightness(1); transform: scale(1.02); }
.portrait figcaption { margin-top: 14px; font-size: 1rem; }
.portrait b { display: block; font-weight: 500; font-size: 1.25rem; }
.portrait figcaption span { display: block; color: var(--accent-hi); font-size: 1rem; margin-bottom: 6px; }

/* 5. PRICES */
/* 5. PRICES: a deep green chapter; the chosen line-up is printed on a gold concert ticket */
.prices { display: flex; flex-direction: column; background: var(--pr-bg); color: var(--pr-ink); }
.prices ::selection { background: var(--ticket); color: var(--ticket-ink); }
.prices-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 6vw; }
.prices-head h2 { font-weight: 500; }
.prices-head p { max-width: 36em; font-size: 1.0625rem; color: var(--pr-muted); }

/* the tabs sit on the ticket's top edge; the chosen one takes the ticket's colour */
.tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: clamp(20px, 3svh, 36px); }
.tabs button {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 64px; padding: 8px 16px; border: 0; border-radius: 0; cursor: pointer; text-align: left;
  background: var(--pr-2); color: var(--pr-ink); font-size: 1.0625rem; font-weight: 500;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.tabs button span { font-size: 0.9375rem; font-weight: 450; color: var(--pr-muted); font-variant-numeric: tabular-nums; }
.tabs button:hover { background: var(--pr-3); transform: translateY(-3px); }
.tabs button[aria-selected="true"] { background: var(--ticket); color: var(--ticket-ink); transform: none; }
.tabs button[aria-selected="true"] span { color: var(--ticket-muted); }

.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 9.8fr); background: var(--ticket); color: var(--ticket-ink); }
.ticket ::selection { background: var(--ticket-ink); color: var(--ticket); }
.prices-photo { position: relative; overflow: hidden; background: var(--ticket-ink); }
.prices-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.4s var(--ease); filter: brightness(var(--img)); }
.prices-photo img.is-on { opacity: 1; transform: none; }
.panels { display: flex; flex-direction: column; }
.panel[hidden] { display: none; }
.panel { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 30%); min-height: var(--panel-h, 0); animation: panel .5s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(14px); } }
.ticket-main { padding: clamp(22px, 2.6vw, 40px); }
.panel h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.panel-note { margin-top: 10px; font-size: 1rem; color: var(--ticket-muted); max-width: 40em; }
.panel dl { margin-top: clamp(16px, 2.4svh, 28px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 40px; }
.panel dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; animation: row .55s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
@keyframes row { from { opacity: 0; transform: translateX(-14px); } }
.panel dt { font-size: 1.0625rem; }
.panel dd { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the stub: notches bitten out of the top and bottom edge, a line of punched dots, the price and the one action */
.ticket-stub { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(22px, 2.6vw, 40px) clamp(20px, 2.2vw, 34px); }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--pr-bg); }
.ticket-stub::before { top: -15px; }
.ticket-stub::after { bottom: -15px; }
.perf { position: absolute; left: -4px; top: 22px; bottom: 22px; width: 8px; height: calc(100% - 44px); }
.perf rect { fill: url(#perf-dots); }
.perf-dot { fill: var(--pr-bg); }
.stub-price { font-size: 1.25rem; font-weight: 500; line-height: 1; }
.stub-price b { display: block; margin-bottom: 6px; font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 500; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.stub-sub { font-size: 0.9375rem; color: var(--ticket-muted); }
.ticket-stub .btn { margin-top: 10px; width: 100%; background: var(--ticket-ink); color: var(--ticket); }
.ticket-stub .btn:hover { background: var(--pr-bg); color: var(--pr-ink); }
.budget { margin-top: 18px; max-width: 60ch; font-size: 1rem; color: var(--pr-muted); }

/* 6. QUOTE (live thing): choices on the left, a receipt on the right */
.quote { display: flex; flex-direction: column; gap: 22px; background: var(--field-1); color: var(--field-1-ink); }
.quote ::selection { background: var(--field-1-ink); color: var(--field-1); }
/* the calculator sits on paper: its controls take the paper's tones, the receipt stays a dark stage box */
.quote-head, .q-form {
  --ink: var(--field-1-ink); --muted: var(--field-muted); --bg: var(--q-chip);
  --surface-2: var(--q-chip); --surface-3: var(--q-chip-hover);
}
.quote-head > div:first-child { display: grid; gap: 10px; }
.quote-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: stretch; }

/* shared pressed-button language: one dark fill means "chosen" */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.q-form .chips button { flex: 1 1 auto; padding: 0 12px; font-size: 0.9375rem; } /* each row fills its line like one segmented control */
.chips button, .q-mode button, .vat button, .q-presets button {
  min-height: 44px; padding: 0 15px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--surface-2); color: var(--ink); font-size: 1rem;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.chips button:hover, .q-mode button:hover, .vat button:hover, .q-presets button:hover { background: var(--surface-3); }
.chips button:active, .q-mode button:active, .vat button:active, .q-presets button:active { transform: scale(.96); }
.chips button.is-on, .chips button[aria-pressed="true"], .q-mode button[aria-pressed="true"], .vat button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chips button:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.q-mode { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); }
.q-mode button { background: transparent; font-weight: 500; }
.q-mode button:hover { background: var(--surface-3); }

.q-form { display: grid; gap: 4px; }
.q-fits { background: var(--q-band); }
.q-presets[hidden] { display: none; }
.q-presets .q-label { padding-top: 2px; line-height: 1.35; }
.q-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.q-quick button:nth-child(-n+3) { grid-column: span 2; }
.q-quick button:nth-child(n+4) { grid-column: span 3; }
.q-presets button { min-height: 40px; padding: 0 13px; font-size: 0.9375rem; background: var(--bg); }
.q-presets button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* each topic is its own band, so the eye reads the form one question at a time */
.q-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 14px; background: var(--q-band); }
.q-presets { background: none; padding: 0 0 6px; }
.q-label { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.q-presets .q-label { font-weight: 500; color: var(--muted); }
.q-build[hidden], .q-budget[hidden], [data-show][hidden] { display: none; }
.q-hint { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.q-fixed { padding-top: 10px; font-size: 1.0625rem; }
.q-extras em { font-style: normal; margin-left: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.q-extras button[aria-pressed="true"] em { color: inherit; }

.q-people { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.q-sub { margin-right: 10px; font-size: 0.9375rem; color: var(--muted); }
.q-strings { display: flex; align-items: center; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--surface-2); font-size: 1.375rem; cursor: pointer; transition: background-color .2s, transform .2s, opacity .2s; }
.stepper button:hover { background: var(--surface-3); }
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.stepper > span:not(.q-sub) { margin-right: 6px; color: var(--muted); }

/* budget mode */
.q-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding-top: 4px; }
.q-range input { width: 100%; height: 36px; accent-color: var(--accent); cursor: pointer; }
.q-range output { min-width: 8.5em; text-align: right; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.q-fits { padding: 4px 14px 12px calc(5.5rem + 30px); }
.q-fits-head { font-size: 0.9375rem; color: var(--muted); margin-bottom: 10px; }
.q-fits-list { display: grid; gap: 4px; max-height: min(30svh, 260px); overflow: auto; overscroll-behavior: contain; }
.q-fits-list button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 8px 16px;
  border: 0; border-radius: 0; cursor: pointer; text-align: left; background: var(--bg); color: var(--ink);
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.q-fits-list button:hover { background: var(--surface-3); transform: translateX(4px); }
.q-fits-list button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.q-fits-list b { font-size: 1.0625rem; font-weight: 500; margin-right: 10px; }
.q-fits-list small { font-size: 0.9375rem; opacity: .8; }
.q-fits-list em { font-style: normal; font-size: 1.125rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* the receipt */
.receipt { display: grid; gap: 12px; padding: clamp(18px, 1.8vw, 26px); background: var(--bg); color: var(--ink); }
.receipt ::selection { background: var(--ink); color: var(--bg); }
.stage-wrap { position: relative; min-height: 0; background: var(--stage); }
.stage { display: block; width: 100%; height: auto; max-height: 36svh; }
.stage-floor { fill: var(--stage-floor); }
.seat { transition: opacity .5s, transform .6s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.seat.is-off { opacity: 0; transform: translateY(14px) scale(.8); }
.seat .pool { fill: var(--accent); opacity: .28; }
.seat .fig { fill: var(--ink); }
.seat .fig-str { fill: var(--fig-str); }
.seat text { fill: var(--ink); font-size: 1.0625rem; text-anchor: middle; font-family: var(--font); }
.receipt-h { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.receipt-lines { display: grid; gap: 3px; font-size: 1rem; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.receipt-lines b { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-songs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 0.9375rem; color: var(--muted); }
.receipt-songs a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 4px; }
.receipt-total { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; padding-top: 6px; }
.receipt-total .total-sub { grid-column: 1 / -1; }
.vat { display: flex; gap: 4px; grid-column: 2; grid-row: 1; margin-bottom: 6px; }
.vat button { min-height: 34px; padding: 0 12px; font-size: 0.9375rem; }
.total-num { font-size: clamp(3rem, 5vw, 5.25rem); letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.total-num span { font-size: .3em; letter-spacing: -0.02em; margin-left: .15em; }
.total-sub { font-size: 1rem; color: var(--accent-hi); }
.receipt-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.receipt-tools button, .receipt-tools a {
  padding: 8px 2px; border: 0; background: none; cursor: pointer; font-size: 0.9375rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s;
}
.receipt-tools button:hover, .receipt-tools a:hover { color: var(--accent-hi); text-decoration-color: var(--accent); }
.receipt-note { font-size: 0.875rem; color: var(--muted); }

/* wide screens: under the stage, the bill reads like a programme: items on the left, the total on the right */
@media (min-width: 1240px) {
  .receipt {
    grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(20px, 2vw, 32px); row-gap: 8px;
    grid-template-areas: "stage stage" "head vat" "lines total" "songs sub" "send send" "tools tools" "note note";
  }
  .stage-wrap { grid-area: stage; margin-bottom: 6px; }
  .receipt-h { grid-area: head; align-self: center; }
  .receipt-lines { grid-area: lines; align-self: end; }
  .receipt-songs { grid-area: songs; align-self: center; justify-content: flex-start; }
  .receipt-total { display: contents; }
  .receipt-total .vat { grid-area: vat; justify-self: end; margin: 0; }
  .total-num { grid-area: total; justify-self: end; align-self: end; font-size: clamp(2.5rem, 3.8vw, 4.5rem); }
  .receipt-total .total-sub { grid-area: sub; justify-self: end; align-self: center; }
  .receipt [data-send-quote] { grid-area: send; margin-top: 4px; }
  .receipt-tools { grid-area: tools; }
  .receipt-note { grid-area: note; }
}

.qbar { display: none; }

/* printed quotation: only this sheet goes to paper or PDF */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 18mm 16mm; }
  body { background: #fff !important; color: #000 !important; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block !important; font: 11pt/1.6 var(--font); color: #000; }
  .ps-title { font-size: 26pt; font-weight: 600; letter-spacing: .4em; text-align: center; margin-bottom: 8mm; }
  .ps-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 2mm 10mm; margin-bottom: 6mm; }
  .ps-meta div { display: flex; gap: 4mm; }
  .ps-meta dt { width: 18mm; color: #555; }
  .ps-blank { flex: 1; border-bottom: 1px solid #000; text-align: right; } /* taste-skill-ignore: a signature line on paper */
  .print-sheet table { width: 100%; border-collapse: collapse; }
  .print-sheet th, .print-sheet td { padding: 2.4mm 2mm; border-bottom: 1px solid #bbb; text-align: left; } /* taste-skill-ignore: printed table rules */
  .print-sheet td:last-child, .print-sheet tfoot td { text-align: right; white-space: nowrap; }
  .print-sheet thead th { border-bottom: 2px solid #000; }
  .ps-sum th, .ps-sum td { font-size: 13pt; font-weight: 600; border-bottom: 2px solid #000; }
  .ps-note { margin-top: 6mm; font-size: 9.5pt; color: #333; }
  .ps-from { margin-top: 10mm; display: flex; flex-wrap: wrap; gap: 1mm 6mm; font-size: 10pt; }
}

/* 7. REPERTOIRE */
/* 7. REPERTOIRE: a sage chapter. Filters stand as a column of tabs on the left, each song is its own band */
.rep { display: flex; flex-direction: column; height: 100svh; background: var(--rp-bg); color: var(--rp-ink); }
.rep ::selection { background: var(--rp-ink); color: var(--rp-bg); }
.rep-head p { color: var(--rp-muted); }
.rep-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); gap: 0 clamp(20px, 2.6vw, 40px); margin-top: clamp(18px, 3svh, 36px); }
.rep-tools { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.search input { min-height: 48px; width: 100%; padding: 0 14px; border: 0; border-radius: 0; background: var(--rp-btn); color: var(--rp-ink); font-size: 1rem; }
.search input::placeholder { color: var(--rp-muted); opacity: 1; }
.rep .chips { flex-direction: column; flex-wrap: nowrap; gap: 4px; margin-top: 6px; }
.rep .chips button { justify-content: flex-start; text-align: left; min-height: 42px; background: var(--rp-1); color: var(--rp-ink); font-weight: 500; transition: background-color .2s, color .2s, transform .25s var(--ease); }
.rep .chips button:hover { background: var(--rp-2); transform: translateX(4px); }
.rep .chips button.is-on { background: var(--rp-ink); color: var(--rp-bg); transform: none; }
.rep-count { margin-top: auto; padding-top: 12px; font-size: 1.0625rem; }
.rep-count span { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-right: 6px; }
.rep-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.rep-scroll:focus-visible { outline-offset: -3px; }
.rep-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; margin-top: -4px; font-size: 1.0625rem; }
.rep-table th { position: sticky; top: 0; z-index: 1; background: var(--rp-bg); text-align: left; font-weight: 500; font-size: 0.9375rem; color: var(--rp-muted); padding: 8px 16px 6px; }
.rep-table td { padding: 12px 16px; background: var(--rp-1); vertical-align: middle; transition: background-color .2s; }
.rep-table tbody tr:hover td { background: var(--rp-2); }
.rep-table td:first-child { font-size: 1.125rem; font-weight: 500; }
.rep-table td:nth-child(2), .rep-table td:nth-child(3) { color: var(--rp-muted); }
.rep-table td:last-child { text-align: right; width: 1%; white-space: nowrap; padding: 8px 10px; }
.rep-table tr.is-picked td { background: var(--rp-2); }
.pick { min-height: 40px; padding: 0 16px; border: 0; border-radius: 0; cursor: pointer; background: var(--rp-btn); color: var(--rp-ink); font-size: 1rem; font-weight: 500; transition: background-color .2s, color .2s, transform .2s; }
.pick:hover { background: var(--rp-ink); color: var(--rp-bg); }
.pick:active { transform: scale(.95); }
.pick[aria-pressed="true"] { background: var(--rp-ink); color: var(--rp-bg); }
.rep-empty { margin-top: 24px; }

/* 8. CONTACT + FAQ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5vw; padding-right: 0; padding-bottom: 0; }
.contact-info { padding-bottom: var(--bot); }
.contact h2 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); font-weight: 500; }
.contact-tel { margin-top: 14px; display: grid; gap: 2px; }
.contact-tel a { font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -0.03em; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.contact-tel span { font-size: 1rem; color: var(--muted); }
.faq { margin-top: 32px; display: grid; gap: 6px; }
.faq details { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 10px 18px; font-size: 1.0625rem; font-weight: 500; transition: background-color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--accent-hi); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--surface-2); }
.faq details p { padding: 0 18px 16px; font-size: 1rem; max-width: 42em; }
.contact-side { position: relative; margin-top: calc(var(--top) * -1); display: grid; place-items: center; padding: var(--top) 5vw var(--bot); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(.7); }
.contact-card { position: relative; width: min(460px, 100%); background: var(--field-1); color: var(--field-1-ink); padding: 22px 24px; }
.contact-card form { display: grid; gap: 9px; }
.contact-card label { display: grid; gap: 4px; font-size: 0.9375rem; font-weight: 500; }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0; background: var(--field-2); color: var(--field-1-ink); font-size: 1rem; resize: vertical;
}
.contact-card input:focus-visible, .contact-card select:focus-visible, .contact-card textarea:focus-visible { outline: 3px solid var(--field-1-ink); outline-offset: 0; }
.attach { margin-left: 10px; padding: 1px 8px; font-style: normal; background: var(--field-1-ink); color: var(--field-1); font-size: 0.875rem; animation: panel .5s var(--ease); }
.attach:empty { display: none; }
.contact-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card .btn { margin-top: 6px; background: var(--field-1-ink); color: var(--field-1); }
.contact-card .btn:hover { background: var(--field-btn-hover); }
.contact-card .btn-text { color: var(--field-1-ink); justify-self: center; text-decoration-color: currentColor; }

/* FOOTER */
.foot { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px 32px; padding: 36px var(--m) 32px; font-size: 0.9375rem; color: var(--muted); background: var(--bg); }
.foot-brand { color: var(--ink); font-size: 1rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.foot-brand b { font-size: 1.5rem; letter-spacing: -0.04em; text-transform: none; margin-right: 6px; }
.foot-credits { grid-column: 1 / -1; max-width: 90ch; }
/* links to the event pages */
.foot-events { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 1rem; color: var(--ink); }
.foot-events a { text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 5px; }
.foot-events a:hover { text-decoration-color: var(--accent); }
.foot-tools { grid-column: 1 / -1; }
.foot-tools .btn-text { padding: 4px 0; color: var(--muted); }
.sheet-motion { align-self: flex-start; }

.dock { display: none; }

.pager {
  position: fixed; right: 10px; top: 50%; z-index: 45; transform: translateY(-50%);
  display: grid; justify-items: end; gap: 2px;
  color: var(--ink); transition: color .4s;
}
.pager[data-tone="film"] { color: #fff; }
.pager[data-tone="field"] { color: var(--field-1-ink); }
.pager[data-tone="rep"] { color: var(--rp-ink); }
.pager button { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 26px; padding: 0 6px; border: 0; background: none; color: inherit; cursor: pointer; }
.pager button::after { content: ""; width: 14px; height: 2px; background: currentColor; opacity: .55; transition: width .5s var(--ease), opacity .3s; }
.pager button:hover::after { opacity: 1; width: 22px; }
.pager button[aria-current]::after { width: 30px; opacity: 1; }
.pager button span { position: absolute; right: 52px; white-space: nowrap; font-size: 0.9375rem; font-weight: 500; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.pager button:hover span, .pager button:focus-visible span { opacity: 1; transform: none; }
.pager-name { margin: 14px 13px 0 0; writing-mode: vertical-rl; font-size: 0.9375rem; font-weight: 500; letter-spacing: .24em; white-space: nowrap; }
.pager-name.is-new { animation: name .7s var(--ease); }
@keyframes name { from { opacity: 0; transform: translateY(-12px); } }

.btn-small.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { from { transform: translateY(10px); opacity: .3; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 14px 20px; font-size: 1rem; font-weight: 500; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* entrance for section parts */
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* DESKTOP PAGING: every page is one screen and its content sits in the middle */
@media (min-width: 861px) and (min-height: 640px) {
  :root { --top: clamp(100px, 14svh, 140px); --bot: clamp(36px, 7svh, 72px); }
  .page:not(.hero, .contact) { padding-right: calc(var(--m) + 56px); }
  .occ, .artists, .quote { justify-content: center; }
  .occ-cards { flex: none; height: min(56svh, 600px); min-height: 0; }
  .artists-row { flex: none; }
  .portrait img { height: min(42svh, 27vw); }
  /* the calculator fills the screen: choices on the left, a large stage on the right that takes what height is left */
  .quote { height: 100svh; justify-content: center; gap: clamp(14px, 2.2svh, 24px); padding-top: calc(var(--top) - 12px); }
  .quote h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
  .quote-grid { flex: 1 1 auto; min-height: 0; max-height: 740px; }
  /* rows spread evenly down the column so its top and bottom line up with the stage card */
  .q-form { align-content: stretch; gap: 4px; }
  .q-build:not([hidden]), .q-budget:not([hidden]) { display: contents; }
  .q-row { padding: clamp(6px, 1svh, 12px) 14px; }
  .q-presets { padding: 0 0 6px; }
  .receipt { grid-template-rows: minmax(0, 1fr); align-content: stretch; gap: 10px; }
  /* the stage takes whatever height is left, without pushing the card taller */
  .stage-wrap { min-height: 150px; }
  .quote .stage { position: absolute; inset: 0; height: 100%; max-height: none; }
  .about-photo { height: calc(100svh - var(--top) - var(--bot)); }
  .prices { min-height: 100svh; justify-content: center; }  /* 11/4 내용이 많으면 늘어남(잘림 방지) */
  .ticket { flex: 0 1 auto; min-height: 0; }
  .budget { margin-top: 18px; }
  .contact-info { align-self: center; padding: 0 0 var(--bot); }
  .rep { padding-bottom: var(--bot); }

  /* pictures open when their page reaches the middle of the screen */
  .js .about-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .1s; }
  .js .about-photo img { transform: scale(1.18); transition: transform 1.8s var(--ease) .1s; }
  .js .about.is-here .about-photo { clip-path: inset(0); }
  .js .about.is-here .about-photo img { transform: none; }

  .js .occ .card { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease), flex-grow .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms), 0s; }
  .js .occ.is-here .card { clip-path: inset(0); }

  .js .portrait img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) calc(var(--i, 0) * 90ms + 150ms), filter .4s, transform .8s var(--ease); }
  .js .artists.is-here .portrait img { clip-path: inset(0); }

  .js .prices-photo { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) .35s; }
  .js .prices.is-here .prices-photo { clip-path: inset(0); }

  .js .contact-bg { transform: scale(1.14); transition: transform 2.2s var(--ease); }
  .js .contact.is-here .contact-bg { transform: none; }

  .js .stage { clip-path: inset(0 50% 0 50%); transition: clip-path 1.1s var(--ease) .15s; }
  .js .quote.is-here .stage { clip-path: inset(0); }
}

/* MID: menu replaces the link row */
@media (max-width: 1240px) {
  .bar-links, .bar .view { display: none; }
  .menu-btn { display: block; }
  .bar { z-index: 70; }
}

/* short screens: let pages grow instead of squeezing */
/* paging on a narrower desktop: the chips wrap, so the calculator page grows instead of overflowing */
@media (min-width: 861px) and (max-width: 1279px) and (min-height: 640px) {
  .quote { height: auto; }
  .quote-grid { max-height: none; }
  .q-form { align-content: start; }
  .quote .stage { position: static; height: auto; max-height: 34svh; }
}
@media (max-height: 999px) and (min-width: 861px) {
  .receipt-note { display: none; }
}
@media (max-height: 800px) and (min-width: 861px) {
  .q-hint { display: none; }
  .quote-head p { display: none; }
  .chips button, .stepper button { min-height: 40px; }
  .stepper button { height: 40px; }
  .q-presets button { min-height: 36px; }
}
@media (max-height: 700px) and (min-width: 861px) {
  .rep { height: auto; }
  .rep-scroll { max-height: 70svh; }
}

/* PHONE */
@media (max-width: 860px) {
  .bar .btn-small { display: none; }
  .brand b { font-size: 1.5rem; }
  .brand span { font-size: 0.8125rem; letter-spacing: .12em; }
  .page { min-height: 0; padding: 96px 16px 72px; }

  .hero { height: 100svh; min-height: 600px; padding: 0; grid-template-rows: 1fr; }
  .hero::before { background: linear-gradient(rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .86) 70%); /* taste-skill-ignore: neutral scrim under hero copy */ }
  .hero-side, .hero-credit, .hero-occ { display: none; }
  .hero-copy { align-self: end; padding: 0 16px 36px; }
  .hero-brand { font-size: 1rem; }
  .hero-brand b { font-size: 1.875rem; }
  .hero-h { font-size: clamp(2rem, 8.6vw, 2.75rem); margin: 12px 0 14px; }
  .hero-lede { font-size: 1.0625rem; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 26px; }
  .hero-facts dd { font-size: 1.375rem; }

  .about { display: block; }
  .about-photo { height: 46svh; min-height: 0; }
  .about-body { margin-top: 32px; }
  .about-steps { grid-template-columns: 1fr; gap: 22px; }

  .occ-head, .artists-head, .quote-head, .rep-head { flex-direction: column; align-items: flex-start; }
  .occ-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
  .card { aspect-ratio: 4 / 5; }
  .card:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .card-txt { padding: 60px 14px 14px; }
  .card-txt b { font-size: 1.1875rem; }
  .card-txt span { font-size: 0.9375rem; }
  .card-txt em { display: none; }

  .artists-row { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .portrait:first-child { grid-column: 1 / -1; }
  .portrait img { height: auto; aspect-ratio: 4 / 5; }
  .portrait:first-child img { aspect-ratio: 16 / 10; }

  .prices-head { flex-direction: column; align-items: flex-start; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tabs button { font-size: 1rem; padding: 8px 12px; min-height: 60px; }
  .ticket { grid-template-columns: 1fr; margin-top: 6px; }
  .prices-photo { display: none; }
  .panel { grid-template-columns: 1fr; }
  .panel dl { grid-template-columns: 1fr; }
  .panel dt { font-size: 1rem; }
  /* upright ticket: the notches move to the left and right edges, the dots run across */
  .ticket-stub::before, .ticket-stub::after { top: -15px; bottom: auto; }
  .ticket-stub::before { left: -15px; }
  .ticket-stub::after { left: auto; right: -15px; }
  .perf { left: 22px; right: 22px; top: -8px; bottom: auto; width: calc(100% - 44px); height: 16px; }

  .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .quote-head { gap: 16px; }
  .q-mode { align-self: stretch; }
  .q-mode button { flex: 1; }
  .q-row { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .q-presets { padding: 0 0 6px; }
  .q-label { padding-top: 0; }
  .q-br { display: none; }
  .q-quick { display: flex; flex-wrap: wrap; }
  .q-quick button { flex: 1 1 auto; }
  .q-fits { padding-left: 14px; }
  .q-fits-list { max-height: 50svh; }
  .q-range output { min-width: 0; font-size: 1.25rem; }
  .stage { max-height: 30svh; }
  .total-num { font-size: 3.25rem; }
  .total-label, .total-sub { font-size: 0.9375rem; }
  /* a slim total bar follows the visitor until the receipt is in view */
  .qbar {
    position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    margin: 18px -16px -72px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bg);
    transition: transform .45s var(--ease), opacity .3s;
  }
  .qbar.is-off { transform: translateY(100%); opacity: 0; pointer-events: none; }
  .qbar small { display: block; font-size: 0.875rem; opacity: .8; }
  .qbar b { font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .qbar .btn { min-height: 46px; }
  .dock.is-away, .dock.is-shown.is-away { transform: translateY(110%); }

  .rep { height: auto; }
  .rep-scroll { max-height: 70svh; }
  .rep-body { grid-template-columns: 1fr; gap: 14px; }
  .rep .chips { flex-direction: row; flex-wrap: wrap; }
  .rep .chips button { flex: 1 1 auto; text-align: center; }
  .rep-count { margin-top: 4px; padding-top: 0; }
  .rep-count span { font-size: 1.75rem; }
  .rep-table { border-spacing: 0; }
  .rep-table thead { display: none; }
  .rep-table tr { display: grid; grid-template-columns: 1fr auto; margin-bottom: 4px; padding: 10px 12px; background: var(--rp-1); }
  .rep-table td { padding: 2px 0; background: none; }
  .rep-table tbody tr:hover td, .rep-table tr.is-picked td { background: none; }
  .rep-table td:nth-child(1) { grid-column: 1; }
  .rep-table td:nth-child(2) { grid-column: 1; font-size: 0.9375rem; }
  .rep-table td:nth-child(3) { display: none; }
  .rep-table td:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }

  .contact { display: block; padding: 96px 0 0; }
  .contact-info { padding: 0 16px 48px; }
  .contact-side { margin: 0; padding: 48px 16px; }

  .foot { grid-template-columns: 1fr; padding: 32px 16px 96px; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--bg); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock a { display: grid; place-items: center; min-height: 48px; background: var(--surface-2); font-size: 1rem; }
  .dock a:first-child { background: var(--accent); color: var(--accent-ink); }
  .pager, .card-more { display: none; }
}

/* visitors who ask the system for more contrast */
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --img: 1; --portrait: .9; }
  .chips button, .stepper button, .q-mode button, .vat button, .q-presets button, .q-fits-list button, .pick, .search input, .view button, .tabs button, .faq summary { outline: 2px solid currentColor; outline-offset: -2px; } /* taste-skill-ignore: high-contrast mode only */
}
/* Windows high contrast and other forced colour modes */
@media (forced-colors: active) {
  .btn, .chips button, .stepper button, .q-mode button, .vat button, .q-fits-list button, .pick, .dock a, .view button, .tabs button { border: 2px solid ButtonText; } /* taste-skill-ignore: forced colours only */
  .chips button.is-on, .chips button[aria-pressed="true"], .q-mode button[aria-pressed="true"], .vat button[aria-pressed="true"], .q-fits-list button[aria-pressed="true"], .pick[aria-pressed="true"], .view button[aria-pressed="true"], .tabs button[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .hero::before, .hero::after { display: none; }
  .card-txt, .about-photo figcaption { background: Canvas; color: CanvasText; }
}

/* 움직임 줄이기: chosen by the visitor on the page */
:root[data-motion="less"] *, :root[data-motion="less"] *::before, :root[data-motion="less"] *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
:root[data-motion="less"] [data-rise] { opacity: 1; transform: none; }
:root[data-motion="less"] .hero-h > span > span { transform: none; }
:root[data-motion="less"] .curtain { display: none; }
:root[data-motion="less"] .page * { clip-path: none !important; }


/* =========================================================
   Round 11: chapter refinements (decided 2026-10-20)
   occasion colours, a serif for chapter titles, the paper about chapter,
   artists as a name list with one large photo, quote read-back, the draft card
   ========================================================= */
@font-face { font-family: "MaruBuri"; src: url("assets/fonts/maruburi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MaruBuri"; src: url("assets/fonts/maruburi-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --serif: "MaruBuri", "Noto Serif KR", serif;
  /* dusty pastels: quiet next to the near-black page, all carrying the same dark ink */
  --ev-ceremony: #9aa6be;
  --ev-dinner: #bf9ea4;
  --ev-school: #93b3ad;
  --ev-plaza: #cfb98a;
  --ev-wedding: #dcc4c3;
  --ev-ink: #141514;
  --paper: #e7e6e2; --paper-2: #dcdbd6; --paper-ink: #141514; --paper-muted: #3c3b36;
}
[data-ev="ceremony"], [data-group="occasion"] [data-v="ceremony"], .q-sentence [data-v="ceremony"], [data-rep-filter] [data-v="기념식"] { --ev: var(--ev-ceremony); --ev-ico: url("assets/ico/ceremony.svg"); }
[data-ev="dinner"], [data-group="occasion"] [data-v="dinner"], .q-sentence [data-v="dinner"], [data-rep-filter] [data-v="만찬"] { --ev: var(--ev-dinner); --ev-ico: url("assets/ico/dinner.svg"); }
[data-ev="school"], [data-group="occasion"] [data-v="school"], .q-sentence [data-v="school"], [data-rep-filter] [data-v="학교"] { --ev: var(--ev-school); --ev-ico: url("assets/ico/school.svg"); }
[data-ev="plaza"], [data-group="occasion"] [data-v="plaza"], .q-sentence [data-v="plaza"] { --ev: var(--ev-plaza); --ev-ico: url("assets/ico/plaza.svg"); }
[data-ev="wedding"], [data-group="occasion"] [data-v="wedding"], .q-sentence [data-v="wedding"], [data-rep-filter] [data-v="웨딩"] { --ev: var(--ev-wedding); --ev-ico: url("assets/ico/wedding.svg"); }

/* chapter titles and the two big prices in the serif; the hero keeps its own type */
.about-body h2, .occ h2, .artists h2, .prices h2, .quote h2, .rep h2, .contact h2, .panel h3, .receipt-h { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.stub-price b, .total-num { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }

/* about: a paper chapter whose top edge is a proscenium arch; each step answers a worry */
.about { background: var(--paper); color: var(--paper-ink); border-radius: 50% 50% 0 0 / 120px 120px 0 0; --ink: var(--paper-ink); --muted: var(--paper-muted); --surface: var(--paper-2); --accent-hi: #3d5a3c; }
.about-steps b { color: var(--paper-ink); }
.about-steps li { color: var(--paper-muted); border-top: 4px solid var(--paper-ink); }
.about-steps q { display: block; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid currentColor; font-size: 1rem; }
.pager[data-tone="paper"] { color: var(--paper-ink); }
:root[data-theme="light"] .about { background: #1f2a23; color: #f4f4f1; --ink: #f4f4f1; --muted: #c9d2c8; --surface: #2b382f; --accent-hi: #c3d1c2; }
:root[data-theme="light"] .about-steps b { color: #f4f4f1; }
:root[data-theme="light"] .about-steps li { color: #c9d2c8; border-top-color: #f4f4f1; }
:root[data-theme="light"] .pager[data-tone="paper"] { color: #f4f4f1; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .about { background: #1f2a23; color: #f4f4f1; --ink: #f4f4f1; --muted: #c9d2c8; --surface: #2b382f; --accent-hi: #c3d1c2; }
  :root:not([data-theme="dark"]) .about-steps b { color: #f4f4f1; }
  :root:not([data-theme="dark"]) .about-steps li { color: #c9d2c8; border-top-color: #f4f4f1; }
  :root:not([data-theme="dark"]) .pager[data-tone="paper"] { color: #f4f4f1; }
}

/* occasion cards: photo above, a block of the occasion colour below; the photo is washed in that colour until pointed at */
.card { display: flex; flex-direction: column; background: var(--ev); color: var(--ev-ink); isolation: isolate; }
.card img { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; height: auto; filter: grayscale(.25) brightness(.95); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: var(--txt-h, 150px); background: var(--ev); mix-blend-mode: color; opacity: .6; pointer-events: none; transition: opacity .5s var(--ease); z-index: 1; }
.card:hover::after, .card:focus-visible::after { opacity: 0; }
.card-txt { position: relative; padding: 20px 22px 22px; background: var(--ev); color: var(--ev-ink); }
.card-txt span, .card-more, .card-more span:nth-child(2), .card .card-txt em, :root[data-theme="light"] .card-txt em { color: var(--ev-ink); }
.card-txt em { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .card-txt em { color: var(--ev-ink); } }
.card-txt b { display: flex; align-items: center; gap: 12px; }
.card-txt b::before { content: ""; flex: none; width: 32px; height: 32px; background: currentColor; -webkit-mask: var(--ev-ico) center / contain no-repeat; mask: var(--ev-ico) center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .card::after { transition: none; } }

/* artists: a filter, then a list of names beside one large photo (desktop); the list scrolls by itself when it grows */
.artist-tabs { margin-top: -12px; }
.artist-tabs button { min-height: 40px; padding: 0 16px; }
@media (min-width: 861px) {
  .artists-row { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 48px; }
  .artist-list { grid-column: 1; min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .portrait { overflow: visible; padding: 16px 0; border-top: 2px solid var(--surface-3); outline-offset: 4px; }
  .portrait figcaption { margin-top: 0; display: grid; grid-template-columns: 9em 1fr; column-gap: 20px; }
  .portrait b { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; grid-row: span 2; }
  .portrait figcaption span { margin-bottom: 2px; }
  .portrait img { position: absolute; right: 0; top: 0; width: calc(58.33% - 24px); height: 100%; opacity: 0; transform: none; transition: opacity .5s var(--ease); }
  .portrait.is-lead img { opacity: 1; }
  .artists-row:has(.portrait:hover, .portrait:focus) .portrait img { opacity: 0; }
  .artists-row .portrait:hover img, .artists-row .portrait:focus img { opacity: 1; filter: brightness(1); }
  .portrait:hover b, .portrait:focus b { color: var(--accent-hi); }
}
@media (max-width: 860px) { .artist-list { display: contents; } }

/* prices: a quiet rule between the two columns, so each amount reads with its own line */
@media (min-width: 861px) {
  .panel dl { position: relative; column-gap: 64px; }
  .panel dl::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: currentColor; opacity: .28; } /* taste-skill-ignore: requested column divider */
}

/* quote: a bold topic word with a lighter question; occasion chips carry their colour; the read-back sentence */
.q-lab { display: grid; gap: 2px; }
.q-lab .q-label::after { content: "."; }
.q-ask { font-size: 0.9375rem; line-height: 1.35; color: var(--muted); }
.q-form .q-row { grid-template-columns: 8.5rem minmax(0, 1fr); }
.q-form .chips[data-group="occasion"] button { border-left: 5px solid var(--ev); }
.q-form .chips[data-group="occasion"] button.is-on { background: var(--ev); color: var(--ev-ink); }
.quote-head p.q-sentence { margin: 10px 0 0; max-width: 40em; font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); line-height: 1.5; }
.q-sentence button { font: inherit; font-weight: 600; padding: 0 .1em; border: 0; border-bottom: 3px solid currentColor; border-radius: 0; background: none; color: inherit; min-height: 0; cursor: pointer; transition: background-color .2s; }
.q-sentence button:hover, .q-sentence button:focus-visible { background: rgba(0, 0, 0, .08); }
.q-sentence button[data-jump="occasion"] { border-bottom-color: var(--ev, currentColor); }
.q-sentence button[data-jump="occasion"]::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .25em; vertical-align: -0.15em; background: currentColor; -webkit-mask: var(--ev-ico) center / contain no-repeat; mask: var(--ev-ico) center / contain no-repeat; }
.q-row.is-flash { animation: q-flash 1s var(--ease); }
@keyframes q-flash { 0% { box-shadow: inset 0 0 0 3px currentColor; } 100% { box-shadow: inset 0 0 0 3px transparent; } } /* taste-skill-ignore: focus flash, not a resting shadow */
.q-quick button:nth-child(n) { grid-column: span 2; }
@media (min-width: 861px) and (max-width: 1439px) { .q-form .q-row { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; } .q-ask { font-size: 0.875rem; } }
@media (min-width: 861px) and (max-height: 820px) {
  .q-lab { display: block; }
  .q-ask { display: none; }
  .q-form .q-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .quote-head p.q-sentence { display: block; margin-top: 4px; font-size: 1.3125rem; }
}
@media (max-width: 860px) { .q-form .q-row { grid-template-columns: 1fr; } .q-lab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } }
@media (prefers-reduced-motion: reduce) { .q-row.is-flash { animation: none; } }
/* the stage dresses for the occasion behind the players */
.backdrop .bd-line { fill: none; stroke: var(--ev, var(--ink)); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.backdrop .bd-thin { stroke-width: 1.5; }
.backdrop .bd-fill { fill: var(--ev, var(--ink)); }
.backdrop { opacity: 0; transition: opacity .6s var(--ease); }
.backdrop.is-in { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .backdrop { transition: none; } }

/* the draft: a small card that keeps the visitor's quote in sight on other chapters (desktop; phones have the bottom bar) */
.draft { position: fixed; z-index: 40; top: 76px; right: var(--m); width: 270px; padding: 14px 16px; background: var(--paper); color: var(--paper-ink); display: grid; gap: 2px; animation: draft-in .45s var(--ease); }
.draft[hidden] { display: none; }
.draft-h { font-size: 0.875rem; color: var(--paper-muted); }
.draft-t { font-size: 1rem; font-weight: 600; line-height: 1.35; padding-right: 20px; }
.draft-n { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.draft-a { display: flex; gap: 6px; margin-top: 8px; }
.draft-a a, .draft-a button { flex: 1; display: grid; place-items: center; min-height: 36px; padding: 0 8px; font-size: 0.875rem; font-weight: 600; }
.draft-a a { background: var(--paper-2); }
.draft-a button { background: var(--paper-ink); color: var(--paper); }
.draft-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; font-size: 1.25rem; color: var(--paper-muted); }
.draft-x:hover, .draft-a a:hover { color: var(--paper-ink); }
@keyframes draft-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 860px) { .draft { display: none; } }
@media (prefers-reduced-motion: reduce) { .draft { animation: none; } }

/* repertoire: occasion filters in their colours; titles set like a programme */
[data-rep-filter] [data-v="기념식"], [data-rep-filter] [data-v="만찬"], [data-rep-filter] [data-v="학교"], [data-rep-filter] [data-v="웨딩"] { border-left: 6px solid var(--ev); }
[data-rep-filter] button.is-on[data-v="기념식"], [data-rep-filter] button.is-on[data-v="만찬"], [data-rep-filter] button.is-on[data-v="학교"], [data-rep-filter] button.is-on[data-v="웨딩"] { background: var(--ev); color: var(--ev-ink); }
.rep-table td:first-child { font-family: var(--sans, inherit); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; } /* 곡명은 스크립트가 넣어 MaruBuri 부분 글꼴에 없는 글자가 생깁니다. 본문 글꼴로 선명하게 */
.rep-table td:nth-child(2) { color: var(--rp-muted); }

/* contact: the papers a public client needs, as file tabs */
.docs { list-style: none; padding: 0; margin: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.docs li { position: relative; padding: 10px 14px 10px 30px; background: var(--paper); color: var(--paper-ink); font-size: 0.9375rem; font-weight: 600; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.docs li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 13px; margin-top: -6.5px; border: 2px solid currentColor; }
.docs small { margin-left: 6px; font-weight: 400; font-size: 0.8125rem; color: var(--paper-muted); }
@media (min-width: 861px) and (max-height: 820px) {
  .docs { margin: 10px 0 4px; gap: 4px; }
  .docs li { padding: 6px 10px 6px 26px; font-size: 0.875rem; }
  .docs li::before { left: 9px; }
  .faq details:nth-child(2) { display: none; } /* the papers question, now shown as tabs above */
}

/* closing: the name rises out of the footer, answering the curtain the page opens with */
.foot { overflow: hidden; }
.foot-name { grid-column: 1 / -1; margin: 0 0 24px -0.04em; font-weight: 500; font-size: 27vw; line-height: .76; letter-spacing: -0.06em; color: var(--ink); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .foot-name { animation: name-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes name-rise { from { transform: translateY(42%); } to { transform: none; } }
  }
}
.draft .draft-x { background: none; border: 0; }
.draft-x:hover { background: var(--paper-2); }

/* round 11, fitting every chapter in one screen while paging */
@media (min-width: 861px) and (min-height: 640px) {
  .artists { height: 100svh; }
  .artists-row { grid-template-rows: minmax(0, 1fr); }
  .artist-list { max-height: none; height: 100%; }
}
@media (min-width: 861px) and (max-height: 999px) {
  .artists { gap: 22px; }
  .artists-head p, .rep-head p { max-width: 46em; }
  .faq { margin-top: 18px; gap: 4px; }
  .faq summary { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
  .docs { margin: 14px 0 8px; }
}
@media (min-width: 861px) and (max-height: 820px) {
  .about-text { margin-top: 16px; font-size: 1.0625rem; }
  .about-steps { margin-top: 20px; }
  .about-steps li { padding: 14px 18px; }
  .about-steps q { margin-bottom: 6px; padding-bottom: 6px; font-size: 0.9375rem; }
  .about-steps b { font-size: 1.125rem; margin-bottom: 4px; }
  .rep-head p { font-size: 1rem; }
  .faq summary { min-height: 40px; padding: 6px 16px; }
}
.rep-head h2 { white-space: nowrap; }
@media (min-width: 861px) and (max-height: 820px) { .faq details:nth-child(3) { display: none; } } /* the winds answer; winds are named on the hero and the strings ticket */
@media (min-width: 861px) and (max-height: 820px) { .contact-side { padding-bottom: 0; } }

/* round 12: a deep partner for each pastel, used where a thin stripe sits on a light chip */
[data-ev="ceremony"], [data-group="occasion"] [data-v="ceremony"], [data-rep-filter] [data-v="기념식"] { --ev-deep: #3e4a63; }
[data-ev="dinner"], [data-group="occasion"] [data-v="dinner"], [data-rep-filter] [data-v="만찬"] { --ev-deep: #6a4450; }
[data-ev="school"], [data-group="occasion"] [data-v="school"], [data-rep-filter] [data-v="학교"] { --ev-deep: #33534d; }
[data-ev="plaza"], [data-group="occasion"] [data-v="plaza"] { --ev-deep: #6a5525; }
[data-ev="wedding"], [data-group="occasion"] [data-v="wedding"], [data-rep-filter] [data-v="웨딩"] { --ev-deep: #74443f; }
[data-rep-filter] button[data-v] { border-left-color: var(--ev-deep, var(--ev)); }
/* the quote field turns its chips near-white on the dark theme, so the stripe goes deep there and stays pastel on the light theme's dark chips */
.q-form .chips[data-group="occasion"] button { border-left-color: var(--ev-deep); }
:root[data-theme="light"] .q-form .chips[data-group="occasion"] button { border-left-color: var(--ev); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .q-form .chips[data-group="occasion"] button { border-left-color: var(--ev); }
}
.sheet .sheet-ev { margin-bottom: 14px; }

/* round 12: the phone menu offers the five occasions as colour tiles */
.sheet .sheet-ev { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 18px; }
.sheet .sheet-ev a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; background: var(--ev); color: var(--ev-ink); font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; transition: transform .2s var(--ease); }
.sheet .sheet-ev a:active { transform: scale(.97); }
.sheet .sheet-ev a::before { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ev-ico) center / contain no-repeat; mask: var(--ev-ico) center / contain no-repeat; }
.sheet .sheet-ev a:last-child { grid-column: 1 / -1; }
.sheet nav:not(.sheet-ev) a[data-ev] { display: flex; align-items: center; gap: 12px; }
.sheet nav:not(.sheet-ev) a[data-ev]::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--ev); }
@media (max-height: 700px) {
  .sheet nav a { font-size: 1.5rem; }
  .sheet .sheet-ev a { min-height: 44px; }
}

/* round 12: the missing page is a bar of rest, an empty staff with one whole-bar rest */
.nf { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px 5vw; padding: 64px var(--m); }
.nf-copy h1 { margin-top: 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.15; letter-spacing: -0.02em; }
.nf-copy > p:not(.foot-brand):not(.hero-cta) { margin-top: 18px; max-width: 30em; font-size: 1.125rem; color: var(--muted); }
.nf-copy .hero-cta { margin-top: 28px; }
.nf-copy .nf-line { background: none; color: var(--ink); border-color: var(--ink); }
.nf-copy .nf-line:hover { background: var(--ink); color: var(--bg); }
.nf-ev { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.nf-ev a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--ev); color: var(--ev-ink); font-size: 1rem; transition: transform .2s var(--ease); }
.nf-ev a:hover { transform: translateY(-2px); }
.nf-ev a::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ev-ico) center / contain no-repeat; mask: var(--ev-ico) center / contain no-repeat; }
.nf-staff { width: 100%; height: auto; color: var(--ink); }
.nf-staff line { stroke: currentColor; stroke-width: 2; opacity: .55; }
.nf-staff .bar { stroke-width: 3; opacity: .9; }
.nf-staff .rest { fill: currentColor; }
.nf-staff text { fill: var(--muted); font-family: var(--serif); font-size: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .nf-staff .rest { animation: nf-rest 3.2s var(--ease) infinite alternate; transform-box: fill-box; transform-origin: center; }
}
@keyframes nf-rest { from { opacity: .55; } to { opacity: 1; } }
@media (max-width: 860px) {
  .nf { grid-template-columns: 1fr; align-content: center; padding-top: 40px; }
  .nf-staff { order: -1; max-width: 420px; }
}

/* ---------- 시안C: 편성 고르면 아래로 펼쳐지는 인원 칸 ---------- */
.ens-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .35s, margin-top .5s var(--ease); }
.ens-panel.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.ens-inner { overflow: hidden; min-height: 0; }
.ens-panel:not(.is-open) .ens-inner { visibility: hidden; transition: visibility 0s .5s; }
.ens-box { position: relative; padding: 10px 12px; background: var(--bg); }
.ens-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .1s; }
.ens-panel.is-open .ens-box::before { transform: scaleX(1); }
.ens-panel + .ens-panel.is-open { margin-top: 6px; }
.ens-cap { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 0.9375rem; color: var(--muted); }
.ens-cap b { font-size: 1rem; font-weight: 600; color: var(--ink); }
.ens-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ens-cards button {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; justify-content: center; column-gap: 8px; min-height: 52px; padding: 6px 6px; border: 0; cursor: pointer; text-align: left;
  background: var(--surface-2); color: var(--ink);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.ens-panel.is-open .ens-cards button { animation: ens-in .5s var(--ease) both; }
.ens-panel.is-open .ens-cards button:nth-child(2) { animation-delay: .05s; }
.ens-panel.is-open .ens-cards button:nth-child(3) { animation-delay: .1s; }
.ens-panel.is-open .ens-cards button:nth-child(4) { animation-delay: .15s; }
@keyframes ens-in { from { opacity: 0; transform: translateY(8px); } }
.ens-cards button:hover { background: var(--surface-3); }
.ens-cards button:active { transform: scale(.96); }
.ens-cards button.is-on { background: var(--ink); color: var(--bg); }
.ens-cards button:disabled { opacity: .35; cursor: not-allowed; }
.ens-cards b { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ens-cards small { font-size: 0.8125rem; color: inherit; opacity: .7; }
.ens-ico { grid-row: span 2; }
.ens-ico svg { display: block; width: 46px; height: 23px; fill: currentColor; }
.ens-cards b { line-height: 1.1; }
.ens-cards small { line-height: 1.2; }
.ens-ico .bow { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; opacity: .8; }
.ens-foot { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 8px; }
.ens-switch { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; background: var(--surface-2); cursor: pointer; }
.ens-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ens-switch .sw { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--surface-3); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 25%, transparent); transition: background-color .25s; }
.ens-switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease), background-color .25s; }
.ens-switch input:checked + .sw { background: var(--accent); }
.ens-switch input:checked + .sw::after { transform: translateX(18px); background: var(--accent-ink); }
.ens-switch input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw-t { display: grid; }
.sw-t b { font-size: 1rem; font-weight: 600; }
.sw-t small { font-size: 0.8125rem; color: var(--muted); }
.ens-note { font-size: 0.875rem; color: var(--muted); }
[data-ens-note]::before, [data-wind-note]::before { content: "구성 (예시)  "; color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .ens-panel, .ens-box::before, .ens-switch .sw::after { transition: none; }
  .ens-panel.is-open .ens-cards button { animation: none; }
}

.ens-major { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ens-major button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; cursor: pointer;
  background: var(--surface-2); color: var(--ink); text-align: left;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.ens-major button b { font-size: 1rem; font-weight: 600; }
.ens-major button small { font-size: 0.8125rem; color: var(--muted); }
.ens-major button:hover { background: var(--surface-3); }
.ens-major button:active { transform: scale(.97); }
.ens-major button.is-on { background: var(--ink); color: var(--bg); }
.ens-major button.is-on small { color: inherit; opacity: .7; }
.ens-major button:disabled { opacity: .35; cursor: not-allowed; }
.ens-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.ens-subs button { display: grid; gap: 1px; padding: 8px 12px; border: 0; cursor: pointer; text-align: left; background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: background-color .2s, box-shadow .2s; }
.ens-subs button b { font-size: 0.9375rem; font-weight: 600; }
.ens-subs button small { font-size: 0.8125rem; color: var(--muted); }
.ens-subs button:hover { background: var(--surface-3); }
.ens-subs button.is-on { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.ens-panel .ens-subs:only-of-type:last-child { margin-bottom: 0; }
.ens-note-solo { margin-top: 6px; }
[data-group="orch"] b { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .ens-major { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ens-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 861px) { .quote-grid { align-items: start; } .receipt { position: sticky; top: 84px; } }
/* 시안C: rendered stage replaces the line drawing */
.stage-wrap .stage { display: none; }
.stage3d { position: relative; overflow: hidden; aspect-ratio: 2560 / 1200; background: #0b0a0a; }
.stage3d .st-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-cast { position: absolute; inset: 0; }
.st-cast img { position: absolute; height: auto; max-width: none; transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), opacity .45s, transform .6s var(--ease); }
.st-cast img.is-off { opacity: 0; transform: translateY(6%); }
.st-cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; padding: 3px 9px; font-size: 0.8125rem; color: #f2ede4; background: rgb(10 10 10 / .55); }
.st-cap:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .st-cast img { transition: opacity .2s; } }
/* 시안C: '이 자리에 많이 쓰는 편성' 표시 */
.ens-major button, .ens-cards button, .ens-subs button { position: relative; }
.ens-major button.is-rec::after, .ens-cards button.is-rec::after, .ens-subs button.is-rec::after {
  content: "많이 찾음"; position: absolute; top: -10px; right: 4px; padding: 1px 6px; font-size: 0.6875rem; font-weight: 600; line-height: 1.5;
  background: var(--accent); color: var(--accent-ink); pointer-events: none;
}
.st-zoom { position: absolute; inset: 0; transform: scale(1.08); transform-origin: 50% 70%; } /* 시안D: was 1.22, which cut wide line-ups at the sides */
.stage3d { aspect-ratio: 2560 / 1100; }

/* ---------- 시안D: 질문 하나씩, 고르면 다음 질문이 아래로 열림 ---------- */
.q-form { --ease-o: cubic-bezier(.23, 1, .32, 1); --line: color-mix(in srgb, var(--ink) 14%, transparent); }
.q-lede { color: var(--muted); }
.steps { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* a later step is folded to nothing and unfolds when its turn comes */
.step { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(6px); transition: grid-template-rows .3s var(--ease-o), opacity .25s var(--ease-o), transform .3s var(--ease-o); }
.step.is-shown { grid-template-rows: 1fr; opacity: 1; transform: none; }
.step:not(.is-shown) { pointer-events: none; }
.steps .step:not(.is-shown) + .step:not(.is-shown) { margin-top: -8px; }
.step-wrap { min-height: 0; overflow: hidden; background: var(--q-chip); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.step.is-open .step-wrap { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }

.step-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 18px 10px 14px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .2s; }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font-family: var(--serif); font-size: 0.9375rem; font-weight: 600; transition: background-color .2s, color .2s; }
.step-n i { font-style: normal; }
.step.is-open .step-n { background: var(--ink); color: var(--q-chip); box-shadow: none; }
/* done: the number turns into a tick */
.step.is-done:not(.is-open) .step-n { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.step.is-done:not(.is-open) .step-n i { display: none; }
.step.is-done:not(.is-open) .step-n::after { content: ""; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.step-t { display: grid; gap: 1px; }
.step-q { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.step-q em { margin-left: 6px; font-family: initial; font-family: inherit; font-style: normal; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.step-pick { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.step-pick:empty { display: none; }
.step.is-done:not(.is-open) .step-q { font-family: inherit; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.step-edit { font-size: 0.875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; opacity: 0; transition: opacity .2s, color .2s; }
.step.is-done:not(.is-open) .step-edit { opacity: 1; }
.step-opt:not(.is-open) .step-n { box-shadow: inset 0 0 0 1.5px var(--muted); color: var(--muted); background: none; }
.step-opt:not(.is-open) .step-n i { display: inline; }
.step-opt:not(.is-open) .step-n::after { content: none; }
@media (hover: hover) and (pointer: fine) {
  .step-head:hover .step-edit { color: var(--ink); }
  .step:not(.is-open) .step-head:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
}

.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-o); }
.step.is-open .step-body { grid-template-rows: 1fr; }
.step-inner { min-height: 0; overflow: hidden; padding: 0 18px; transition: padding .3s var(--ease-o); }
.step.is-open .step-inner { padding: 2px 18px 18px; }
.step:not(.is-open) .step-inner { visibility: hidden; transition: padding .3s var(--ease-o), visibility 0s .3s; }

/* shared card language inside the steps: hairline, ring on hover, ink when chosen */
.occ-pick button, .q-form .ens-major button, .q-form .ens-cards button, .q-form .ens-subs button, .q-form .t-pick button, .q-form .m-pick button {
  position: relative; border: 0; border-radius: 0; cursor: pointer; text-align: left;
  background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .16s var(--ease-o);
}
.occ-pick button:active, .q-form .ens-major button:active, .q-form .ens-cards button:active, .q-form .ens-subs button:active, .q-form .t-pick button:active, .q-form .m-pick button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .occ-pick button:hover, .q-form .ens-major button:hover, .q-form .ens-cards button:hover, .q-form .ens-subs button:hover, .q-form .t-pick button:hover, .q-form .m-pick button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--bg); }
}
.q-form .ens-major button.is-on, .q-form .ens-cards button.is-on, .q-form .t-pick button.is-on, .q-form .m-pick button.is-on, .q-form .m-pick button[aria-pressed="true"] { background: var(--ink); color: var(--q-chip); box-shadow: none; }
.q-form .ens-subs button.is-on { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }

/* step 1: five occasion cards with their colour and icon */
.occ-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.occ-pick button { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 112px; padding: 14px; border-top: 4px solid var(--ev); }
.occ-pick button::before { content: ""; width: 30px; height: 30px; margin-bottom: auto; background: currentColor; -webkit-mask: var(--ev-ico) center / contain no-repeat; mask: var(--ev-ico) center / contain no-repeat; }
.occ-pick b { margin-top: 14px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.occ-pick small { font-size: 0.8125rem; color: var(--muted); }
.occ-pick button.is-on { background: var(--ev); color: var(--ev-ink); box-shadow: none; }
.occ-pick button.is-on small { color: inherit; opacity: .75; }
/* before an answer nothing looks chosen */
.q-form:not(.has-occasion) .occ-pick button.is-on { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.q-form:not(.has-occasion) .occ-pick button.is-on small { color: var(--muted); opacity: 1; }
.q-form:not(.has-ensemble) .ens-major button.is-on { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.q-form:not(.has-ensemble) .ens-major button.is-on small { color: var(--muted); opacity: 1; }
.q-form:not(.has-ensemble) .ens-panel { grid-template-rows: 0fr; opacity: 0; margin-top: 0; }
.q-form:not(.has-ensemble) .ens-panel .ens-inner { visibility: hidden; }
.q-form:not(.has-time) .t-pick button.is-on { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* step 2: six line-up cards; the chosen one opens its own row below */
.q-form .ens-major { gap: 8px; }
.q-form .ens-major button { display: grid; align-content: center; justify-content: stretch; gap: 2px; min-height: 64px; padding: 10px 14px; }
.q-form .ens-major button b { font-size: 1.0625rem; }
.q-form .ens-major button:disabled { display: none; }
.q-form .ens-box { padding: 14px 0 0; background: none; }
.q-form .ens-box::before { height: 1px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.q-form .ens-cards, .q-form .ens-subs { gap: 8px; }
.q-form .ens-cards button { min-height: 60px; }
.q-form .ens-switch { background: none; box-shadow: inset 0 0 0 1px var(--line); }
.q-form .ens-major button.is-rec::after, .q-form .ens-cards button.is-rec::after, .q-form .ens-subs button.is-rec::after { top: 6px; right: 6px; }
.q-form .ens-panel { transition: grid-template-rows .3s var(--ease-o), opacity .25s, margin-top .3s var(--ease-o); }
.q-form .ens-panel.is-open .ens-cards button { animation-duration: .3s; }
.q-form .ens-panel.is-open .ens-cards button:nth-child(2) { animation-delay: .04s; }
.q-form .ens-panel.is-open .ens-cards button:nth-child(3) { animation-delay: .08s; }
.q-form .ens-panel.is-open .ens-cards button:nth-child(4) { animation-delay: .12s; }

/* step 3 and the optional step */
.q-form .t-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 8px; }
.q-form .t-pick[hidden] { display: none; }
.q-form .t-pick button { min-height: 56px; padding: 0 16px; font-size: 1rem; font-weight: 500; text-align: center; }
.step .q-fixed { padding: 4px 0 0; }
.m-cap { margin: 4px 0 8px; font-size: 0.9375rem; font-weight: 600; }
.m-cap small { margin-left: 6px; font-weight: 400; color: var(--muted); }
.q-form .m-pick { gap: 8px; margin-bottom: 12px; }
.q-form .m-pick button { flex: 1 1 auto; min-height: 46px; padding: 0 14px; font-size: 0.9375rem; text-align: center; }
.m-ok { min-height: 44px; padding: 0 22px; border: 0; background: var(--ink); color: var(--q-chip); font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: transform .16s var(--ease-o); }
.m-ok:active { transform: scale(.97); }

/* the receipt waits, softly blurred, until the three answers are in */
.receipt-wait { font-size: 0.9375rem; color: var(--muted); }
.receipt-lines, .receipt-h, .total-num, .total-sub, .receipt .vat { transition: filter .4s var(--ease-o), opacity .4s var(--ease-o); }
.quote:not(.is-ready) :is(.receipt-lines, .receipt-h, .total-num, .total-sub, .vat) { filter: blur(6px); opacity: .3; user-select: none; pointer-events: none; }
.quote:not(.is-ready) [data-send-quote], .quote:not(.is-ready) .receipt-tools { opacity: .4; pointer-events: none; }
.quote.is-ready .receipt-wait { display: none; }
.receipt-songs, .receipt-tools [data-sms] { display: none; }

@media (max-width: 1100px) { .occ-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .occ-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occ-pick button { min-height: 92px; }
  .step-q { font-size: 1.125rem; }
}
@media (min-width: 861px) and (max-height: 820px) { .occ-pick button { min-height: 92px; } .step-head { min-height: 52px; } }
@media (prefers-reduced-motion: reduce) {
  .step, .step-body, .step-inner, .q-form .ens-panel { transition: opacity .2s; transform: none; }
}

/* 시안D: every price panel sits in the same cell, so the box always has the tallest panel's height */
.panels { display: grid; }
.panel { grid-area: 1 / 1; min-height: 0; }
.panel[hidden] { display: grid; visibility: hidden; animation: none; }
.panel[hidden] dl div { animation: none; }

/* 시안D v2: all four bars from the start, locked ones dimmed; a done step keeps its tick even while open */
.step.is-locked .step-wrap { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.step.is-locked .step-head { cursor: default; opacity: .45; }
.step.is-done .step-n { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.step.is-done .step-n i { display: none; }
.step.is-done .step-n::after { content: ""; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.step.is-done .step-q { font-family: inherit; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.step.is-open .step-edit { opacity: 0; }
/* answered occasions shrink to a slim row so the next question has room */
.step.is-done .occ-pick button { flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; }
.step.is-done .occ-pick button::before { width: 22px; height: 22px; margin: 0; flex: none; }
.step.is-done .occ-pick b { margin: 0; font-size: 0.9375rem; }
.step.is-done .occ-pick small { display: none; }
.occ-pick button { transition: min-height .3s var(--ease-o), padding .3s var(--ease-o), background-color .2s, color .2s, box-shadow .2s, transform .16s var(--ease-o); }
@media (min-width: 861px) and (min-height: 640px) {
  .q-form { min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
}
@media (min-width: 861px) and (min-height: 640px) { .quote-grid { grid-template-rows: minmax(0, 1fr); } .q-form { align-self: stretch; align-content: start; } }
.q-form .ens-cards button.is-rec::after { top: -9px; right: 6px; }
.q-form .ens-cards { margin-top: 12px; }

/* ---------- 시안D v3: quieter, finer choice cards ----------
   resting: paper card with a hairline; hover: the line darkens and the card lifts a little;
   chosen: a white card, a firm ink outline and a small check in the corner (no heavy black fill) */
.q-form { --card: #fbfaf6; --rec: #3d5a3c; }
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button {
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .22s var(--ease-o), background-color .22s, color .22s, transform .16s var(--ease-o);
}
@media (hover: hover) and (pointer: fine) {
  .q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button:hover:not(:disabled) {
    background: #fff; transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 45%, transparent), 0 12px 24px -18px rgb(0 0 0 / .45);
  }
}
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button:active:not(:disabled) { transform: scale(.98); }
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button.is-on,
.q-form .m-pick > button[aria-pressed="true"] {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 26px -20px rgb(0 0 0 / .5);
}
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button.is-on small { color: var(--muted); opacity: 1; }
/* the check: a small ink disc in the top right corner */
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button::after,
.q-form :is(.ens-major, .ens-cards, .ens-subs) > button.is-rec::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; padding: 0; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  opacity: 0; transform: scale(.6); transition: opacity .18s, transform .22s var(--ease-o);
}
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button.is-on::after,
.q-form .m-pick > button[aria-pressed="true"]::after { opacity: 1; transform: none; }
.q-form:not(.has-occasion) .occ-pick > button.is-on::after,
.q-form:not(.has-ensemble) .ens-major > button.is-on::after,
.q-form:not(.has-time) .t-pick > button.is-on::after { opacity: 0; transform: scale(.6); }
.q-form:not(.has-occasion) .occ-pick > button.is-on,
.q-form:not(.has-ensemble) .ens-major > button.is-on,
.q-form:not(.has-time) .t-pick > button.is-on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
/* '많이 찾음': quiet green text in the lower right instead of a filled tag */
.q-form :is(.ens-major, .ens-cards, .ens-subs) > button.is-rec::before {
  content: "많이 찾음"; position: absolute; right: 10px; bottom: 7px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0; color: var(--rec);
}

/* occasion: a coloured top edge; chosen card takes a light wash of its colour */
.q-form .occ-pick > button { border-top: 3px solid var(--ev); }
.q-form .occ-pick > button.is-on { background: color-mix(in srgb, var(--ev) 26%, #fff); }
.q-form .occ-pick > button.is-on small { color: var(--ink); opacity: .7; }

/* line-up and people cards */
.q-form .ens-major > button { padding: 12px 14px 22px; }
.q-form .ens-major > button b { font-size: 1.0625rem; letter-spacing: -0.01em; }
.q-form .ens-cards > button { min-height: 66px; padding: 8px 8px 14px; }
.q-form .ens-cards b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.q-form .ens-cards .ens-ico { opacity: .45; transition: opacity .2s; }
.q-form .ens-cards > button.is-on .ens-ico { opacity: 1; }
.q-form .ens-subs > button { padding: 10px 34px 10px 14px; }
.q-form .t-pick > button { min-height: 58px; font-size: 1rem; }
.q-form .m-pick > button { min-height: 48px; }
.q-form .ens-foot { margin-top: 10px; }

/* step 2 moves on only with its own button */
.ens-ok { display: flex; justify-content: flex-end; margin-top: 16px; }
.m-ok { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 24px; border: 0; border-radius: 0; background: var(--ink); color: #fbfaf6; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; transition: opacity .2s, transform .16s var(--ease-o); }
.m-ok::after { content: "→"; font-weight: 400; transition: transform .2s var(--ease-o); }
@media (hover: hover) and (pointer: fine) { .m-ok:hover:not(:disabled)::after { transform: translateX(3px); } }
.m-ok:disabled { opacity: .3; cursor: not-allowed; }
.m-ok:active:not(:disabled) { transform: scale(.97); }

/* desktop: the choices panel and the stage card share one height; the choices scroll inside */
@media (min-width: 861px) and (min-height: 640px) {
  .quote-grid { align-items: stretch; }
  .receipt { position: relative; top: auto; height: 100%; min-height: 0; }
  .q-form { height: 100%; padding: 10px; background: color-mix(in srgb, var(--field-1-ink) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button { transition: box-shadow .2s, background-color .2s; }
  .q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button:hover { transform: none; }
}
/* 시안D v3: answered occasion row is text only, so names stay on one line beside the check */
.q-form .step.is-done .occ-pick > button { justify-content: center; padding: 8px 28px 8px 12px; min-height: 48px; }
.q-form .step.is-done .occ-pick > button::before { display: none; }
.q-form .step.is-done .occ-pick b { font-size: 0.875rem; white-space: nowrap; }
.q-form .step.is-done .occ-pick > button::after { top: 50%; margin-top: -9px; }
/* desktop: the whole stage shows in a rounded frame, nothing trimmed; the same room, blurred, fills the space around it */
.st-amb { display: none; }
@media (min-width: 861px) and (min-height: 640px) {
  .stage-wrap { display: grid; place-items: center; overflow: hidden; isolation: isolate; container-type: size; background: #14110f; }
  .st-amb { display: block; position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(36px) saturate(1.25) brightness(.62); z-index: -1; pointer-events: none; transition: opacity .6s; }
  .st-amb:not([src]) { opacity: 0; }
  .stage3d { grid-area: 1 / 1; width: min(calc(100cqw - 24px), calc((100cqh - 24px) * 2560 / 1100)); height: auto; max-width: none; aspect-ratio: 2560 / 1100; border-radius: var(--r-md, 14px); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .06); }
}
.q-form .ens-cards > button.is-rec::before { top: 6px; left: 8px; right: auto; bottom: auto; }
/* 시안D: the inquiry text (with the quote put in) gets a tall box so the whole quote reads without scrolling */
.contact-card { width: min(520px, 100%); }
.contact-card textarea[data-msg] { min-height: clamp(220px, 36svh, 380px); line-height: 1.6; }
/* desktop: the card fills the screen height and the message box takes whatever is left */
@media (min-width: 861px) and (min-height: 640px) {
  .contact-side { align-items: stretch; }
  .contact-card { display: flex; flex-direction: column; min-height: 0; }
  .contact-card form { flex: 1; min-height: 0; grid-template-rows: auto; align-content: start; display: flex; flex-direction: column; }
  .contact-card form > label:has(textarea[data-msg]) { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .contact-card textarea[data-msg] { flex: 1; min-height: 160px; resize: none; }
}
@media (max-width: 860px) { .contact-card textarea[data-msg] { min-height: 280px; } }
@media (max-width: 860px) { .contact-card .two-id { grid-template-columns: 1fr; } }

/* ---------- 시안D: reply choice on the inquiry card ---------- */
.reply { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; }
.reply legend { grid-column: 1 / -1; padding: 0; margin-bottom: 4px; font-size: 0.9375rem; font-weight: 500; }
.reply label { position: relative; display: block; }
.reply input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.reply span { display: grid; place-items: center; min-height: 44px; background: var(--field-2); font-size: 0.9375rem; font-weight: 500; box-shadow: inset 0 0 0 1px transparent; transition: background-color .2s, box-shadow .2s, color .2s; }
.reply input:checked + span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--field-1-ink); font-weight: 600; }
.reply input:focus-visible + span { outline: 3px solid var(--field-1-ink); outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .reply label:hover span { background: #f3f0e8; } }
.contact-card input:invalid:not(:placeholder-shown) { box-shadow: inset 0 0 0 1.5px #a33; }

/* ---------- 시안D: phone, everything a size smaller (the 글자 크게 button still brings it back) ---------- */
@media (max-width: 860px) {
  :root:not([data-size="lg"]) { font-size: 87.5%; }
  .btn { min-height: 44px; padding: 0 18px; }
  .bar { min-height: 52px; }
  .dock a { min-height: 42px; font-size: 0.9375rem; }
  .step-head { min-height: 50px; padding: 8px 12px 8px 10px; gap: 10px; }
  .step-n { width: 28px; height: 28px; }
  .step.is-open .step-inner { padding: 0 12px 14px; }
  .step-inner { padding: 0 12px; }
  .occ-pick { gap: 6px; }
  .occ-pick button { min-height: 76px; padding: 10px; }
  .occ-pick button::before { width: 24px; height: 24px; }
  .occ-pick b { margin-top: 8px; }
  .q-form .ens-major, .q-form .ens-cards, .q-form .ens-subs, .q-form .t-pick, .q-form .m-pick { gap: 6px; }
  .q-form .ens-major > button { min-height: 52px; padding: 8px 10px 18px; }
  .q-form .ens-cards > button { min-height: 52px; padding: 6px 6px 10px; }
  .q-form .ens-cards b { font-size: 1.125rem; }
  .q-form .ens-subs > button { padding: 8px 30px 8px 10px; }
  .q-form .t-pick > button { min-height: 46px; }
  .q-form .m-pick > button { min-height: 40px; padding: 0 10px; }
  .m-ok { min-height: 42px; padding: 0 16px 0 18px; }
  .ens-switch { padding: 4px 10px 4px 6px; }
  .receipt { padding: 14px; gap: 10px; }
  .contact-card { padding: 16px; }
  .contact-card input, .contact-card select, .contact-card textarea { min-height: 40px; padding: 8px 10px; }
  .reply span { min-height: 40px; }
  .contact-card textarea[data-msg] { min-height: 220px; }
  .faq summary { min-height: 44px; padding: 8px 14px; }
}
@media (max-width: 860px) { .hero-cta .btn { min-height: 46px; font-size: 1rem; } }

/* ---------- 시안D v7: date, running order, consent ---------- */
.m-date { display: grid; gap: 6px; margin-bottom: 12px; }
.m-date .m-cap { margin: 4px 0 0; }
.m-date input { min-height: 46px; max-width: 18rem; padding: 0 12px; border: 0; border-radius: 0; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; }
.m-date input:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; }
.receipt-date { padding: 8px 10px; background: rgb(255 255 255 / .08); font-size: 0.9375rem; color: #f2ede4; }
.rep-moments { margin-top: 6px; }
.rep-m { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 500; color: var(--rp-muted); }
.consent { display: flex !important; align-items: flex-start; gap: 8px; font-size: 0.8125rem !important; font-weight: 400 !important; line-height: 1.5; }
.consent input { width: 18px !important; min-height: 18px !important; height: 18px; margin: 2px 0 0; padding: 0 !important; flex: none; accent-color: var(--field-1-ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.foot-guide { margin-top: 8px; }

/* ---------- 시안D v8: menu button and popover menu (MoodFactory pattern) ---------- */
.menu-btn { position: relative; width: 40px; height: 40px; padding: 0; border-radius: 50%; display: none; place-items: center; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover { background: rgb(255 255 255 / .1); } }
.mb-ico { position: relative; display: block; width: 20px; height: 14px; }
.mb-ico i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s cubic-bezier(.23, 1, .32, 1), opacity .15s; }
.mb-ico i:nth-child(1) { top: 0; }
.mb-ico i:nth-child(2) { top: 6px; }
.mb-ico i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .mb-ico i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-ico i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-ico i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 60; display: block; padding: 0; background: none; }
.sheet[hidden] { display: none; }
.sheet-dim { position: absolute; inset: 0; background: rgb(0 0 0 / .32); }
.sheet-card {
  position: absolute; right: 12px; top: 64px; width: 19.5rem; max-width: calc(100vw - 24px); max-height: calc(100dvh - 80px); overflow-y: auto;
  display: grid; gap: 8px; padding: 8px; border-radius: 16px; background: var(--bg); color: var(--ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 18px 48px -16px rgb(0 0 0 / .45);
  transform-origin: top right;
}
@media (prefers-reduced-motion: no-preference) { :root:not([data-motion="less"]) .sheet:not([hidden]) .sheet-card { animation: menu-pop .16s cubic-bezier(.23, 1, .32, 1) both; } }
@keyframes menu-pop { from { opacity: 0; transform: scale(.97) translateY(-4px); } }
.sheet-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sheet .sheet-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 1rem; letter-spacing: 0; transition: background-color .15s, transform .15s; }
.sheet-list a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); opacity: .4; }
.sheet-list a:active { transform: scale(.99); background: var(--surface-2); }
@media (hover: hover) and (pointer: fine) { .sheet-list a:hover { background: var(--surface-2); } }
.mi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }
.mi svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mt { display: grid; gap: 1px; min-width: 0; }
.mt b { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.mt small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.75rem; color: var(--muted); }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 4px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.sheet .sheet-foot .view { margin: 0; }
.sheet .sheet-foot .view button { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 0.8125rem; }
.sheet .sheet-motion { font-size: 0.8125rem; }
@media (max-width: 1240px) { .menu-btn { display: grid; } }

/* ---------- 시안D v8: phone, one section about one screen ---------- */
@media (max-width: 860px) {
  .bar { min-height: 52px; }
  .page { padding: 72px 16px 40px; }
  .page h2 { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  .occ-head p, .artists-head p, .rep-head p, .prices-head p { font-size: 0.9375rem; }

  /* hero: short headline, quiet lede, buttons side by side, facts on one row */
  .hero-copy { padding: 0 16px 28px; }
  .hero-brand { font-size: 0.875rem; gap: 8px; }
  .hero-brand b { font-size: 1.375rem; }
  .hero-h { font-size: clamp(1.875rem, 8vw, 2.375rem); margin: 8px 0 10px; }
  .hero-lede { font-size: 0.875rem; line-height: 1.55; color: #e4e4df; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .hero-cta .btn { min-height: 44px; padding: 0 8px; font-size: 0.9375rem; }
  .hero-facts { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0 6px; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .18); }
  .hero-facts dd { font-size: 1rem; font-weight: 600; }
  .hero-facts dt { font-size: 0.6875rem; color: #cfcfca; }

  /* about: a short picture band and four steps in a 2 x 2 grid */
  .about-photo { height: 18svh; }
  .about-photo figcaption { font-size: 0.75rem; }
  .about-body { margin-top: 18px; }
  .about-text { font-size: 0.9375rem; }
  .about-steps { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 16px; }
  .about-steps li { font-size: 0.8125rem; line-height: 1.5; }
  .about-steps q { display: none; }
  .about-steps b { font-size: 0.9375rem; }

  /* occasions and artists: one row that swipes sideways */
  .occ-cards, .artists-row { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .occ-cards::-webkit-scrollbar, .artists-row::-webkit-scrollbar { display: none; }
  .card, .card:first-child { flex: 0 0 74%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .portrait, .portrait:first-child { flex: 0 0 58%; scroll-snap-align: start; }
  .portrait img, .portrait:first-child img { aspect-ratio: 4 / 5; }
  .artist-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }

  /* prices: tabs as a sideways strip, a compact ticket */
  .tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 0 0 auto; min-height: 48px; padding: 6px 12px; font-size: 0.875rem; }
  .ticket-main { padding: 16px; }
  .panel h3 { font-size: 1.375rem; }
  .panel-note { font-size: 0.875rem; }
  .panel dl { margin-top: 10px; }
  .panel dl div { padding: 6px 0; }
  .panel dt { font-size: 0.875rem; }
  .panel dd { font-size: 1rem; }
  .ticket-stub { padding: 16px; gap: 6px; }

  /* repertoire: the list scrolls inside, the chips get smaller */
  .rep-scroll { max-height: 44svh; }
  .rep .chips button { min-height: 34px; font-size: 0.8125rem; padding: 0 8px; }
  .search input { min-height: 40px; }
  .rep-count { font-size: 0.8125rem; }
  .rep-count span { font-size: 1.25rem; }

  /* contact */
  .contact { padding-top: 72px; }
  .contact h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .contact-tel a { font-size: 1.75rem; }
  .docs li { font-size: 0.8125rem; }
  .faq { margin-top: 18px; }
  .faq summary { min-height: 42px; font-size: 0.9375rem; }
  .contact-info { padding-bottom: 28px; }
  .contact-side { padding: 28px 16px; }
}

@media (max-width: 860px) { .page h2 { font-size: clamp(1.625rem, 6.8vw, 2.125rem); } }

/* ---------- 시안D v9: reviews (appear only with real ones) ---------- */
.reviews { margin: 18px 0 8px; display: grid; gap: 10px; }
.reviews-h { font-size: 1.0625rem; font-weight: 600; }
.reviews [hidden] { display: none; }  /* 11/9 .reviews ul 의 display:grid 가 hidden 을 덮던 것 */
.reviews ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.reviews li { display: grid; gap: 6px; padding: 14px 16px; background: var(--surface); }
.reviews q { font-size: 1rem; line-height: 1.6; }
.reviews li span { font-size: 0.8125rem; color: var(--muted); }

/* other occasions under the five cards */
.occ-more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.occ-more a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-size: 0.875rem; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .occ-more a:hover { background: var(--surface-3); } }
@media (max-width: 860px) { .occ-more { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px; } .occ-more a { flex: none; } }

.q-form .sing-note { flex-basis: 100%; color: var(--ink); }

/* the Korean name as a small champagne accent next to the logo */
.hero-ko { padding: 3px 10px; border: 1px solid rgb(217 198 151 / .55); border-radius: 999px; color: #e3d3a6; font-size: 0.8125rem; font-weight: 500; letter-spacing: .08em; }
.hero-what { color: #ececE8; }
@media (max-width: 860px) { .hero-brand { flex-wrap: wrap; row-gap: 6px; } .hero-ko { font-size: 0.6875rem; padding: 2px 8px; } .hero-what { flex-basis: 100%; font-size: 0.8125rem; } }

/* the English line above the headline: small champagne caps */
.hero-en { margin: 18px 0 -6px; font-size: 0.8125rem; letter-spacing: .24em; text-transform: uppercase; color: #e3d3a6; }
@media (max-width: 860px) { .hero-en { margin: 10px 0 -4px; font-size: 0.6875rem; letter-spacing: .2em; } }

/* Korean lines break between words, never inside one */
body { word-break: keep-all; overflow-wrap: break-word; }
/* 시안D (10/30): phone ticket stub as one row (price on the left, button on the right), so the whole ticket fits one screen */
@media (max-width: 860px) {
  .ticket-stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 18px 16px 16px; }
  .stub-price { display: flex; align-items: baseline; gap: 4px; font-size: 1rem; }
  .stub-price b { display: inline; margin: 0; font-size: 2.5rem; }
  .stub-sub { grid-column: 1; font-size: 0.8125rem; }
  .ticket-stub .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; margin: 0; padding-inline: 16px; font-size: 0.875rem; }
}
/* 10/30: 7개 탭 요금표가 한 화면 표 안에 들어가도록 줄 간격을 줄임(데스크톱) */
@media (min-width: 861px) {
  .panel dl { margin-top: clamp(10px, 1.6svh, 18px); }
  .panel dl div { padding: 5px 0; }
  .panel-note { font-size: 0.875rem; line-height: 1.55; }
  .ticket-main { padding: clamp(20px, 2.2vw, 30px) clamp(22px, 2.4vw, 34px); }
}
@media (min-width: 861px) and (max-height: 860px) {
  .panel h3 { font-size: 1.5rem; }
  .panel dl div { padding: 3px 0; }
  .panel dt { font-size: 0.875rem; }
  .panel dd { font-size: 1rem; }
  .stub-price b { font-size: clamp(3rem, 5vw, 4.5rem); }
}

/* 10/31: 데스크톱도 햄버거 메뉴. '밝게', '글자 크게'는 메뉴 아래쪽에만 작게 */
.menu-btn { display: grid; }
.bar .view { display: none; }
@media (min-width: 861px) {
  .sheet-card { top: 68px; right: 16px; width: 21rem; } /* 메뉴 버튼 바로 아래(버튼은 화면 오른쪽 끝) */
}

/* ---------- 11/1 점검 반영: 본문 바로가기, 누름 영역 24px 이상, 휴대폰에서 읽는 글자 13px 이상, 진행 표시 이름 가로 ---------- */
.skip { position: fixed; left: 12px; top: calc(-120px - env(safe-area-inset-top, 0px)); z-index: 1000; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus, .skip:focus-visible { top: calc(12px + env(safe-area-inset-top, 0px)); }
.brand { padding-block: 6px; margin-block: -6px; }
.foot-events a { padding-block: 4px; margin-block: -4px; }
.pager-name { writing-mode: horizontal-tb; margin: 12px 6px 0 0; text-align: right; letter-spacing: .04em; }
@media (max-width: 860px) {
  .hero-what { font-size: max(13px, 0.9375rem); }
  .about-steps li, .about-photo figcaption { font-size: max(13px, 0.9375rem); }
  .next-cards small { font-size: max(12.5px, 0.8125rem); }
}
/* 휴대폰은 한 단계 작게(87.5%) 그대로 두되, 읽어야 하는 작은 글자에는 바닥을 둠(장식 영문·로고 글자는 제외) */
@media (max-width: 860px) {
  /* 11/4 바닥값 올림: 보조 13px, 본문 15px(검토 제안서 '모바일 본문 15~16px') */
  small:not(#_), dt:not(#_), em:not(#_), .stub-sub:not(#_), .ss-cap:not(#_), .ss-cap b:not(#_), .st-cap:not(#_), .ss-sample:not(#_), .ss-g span:not(#_), .ss-g button:not(#_), .ss-price span:not(#_),
  .sibs a:not(#_), .tabs button:not(#_), .pr-jump a:not(#_), .pr-strip span:not(#_), .sec-more a:not(#_), cite:not(#_), .ticket-stub .btn:not(#_), .occ-more a:not(#_), .pf-k:not(#_), .pf-note:not(#_) { font-size: max(13px, 0.8125rem); }
  :is(.fees dt, .ticket dl dt, .ticket dl dd, .fit li, .fit li span, details p, details summary, .sec-lead, .fees-note, .ss-head p, .flow-head p, .flow li span, .songs li span,
    .pn-rows dd, .prices-head p, .panel-note, .budget, .hero-lede, .pp-list span, .rel-list span, .faq p, .faq summary):not(#_) { font-size: max(15px, 0.9375rem); }
  .consent span:not(#_) { font-size: max(12.5px, 0.875rem); }
}

/* ---------- 11/1 홈 넘김이 화면에 딱 맞게(데스크톱 한 장씩 넘김일 때) ----------
   '공연' 장은 화면 높이에 맞춰 사진 칸이 줄고, 마지막 '다음으로 볼 곳'은 한 화면을 차지, 바닥글은 그 뒤 마지막 멈춤 */
@media (min-width: 861px) and (min-height: 640px) {
  [data-paged] .occ { height: 100svh; }
  [data-paged] .occ-cards { flex: 1 1 0; height: auto; min-height: 0; }
  [data-paged] .home-next { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--top); padding-bottom: var(--bot); }
}
.next-title { margin: 0 0 clamp(20px, 3.5svh, 40px); font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.foot-credits summary { cursor: pointer; width: fit-content; padding-block: 4px; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 5px; }
.foot-credits p { margin: 8px 0 0; }
/* 11/1 날짜 칸: 흰 칸 위의 달력 아이콘이 어두운 테마 색으로 그려져 안 보이던 문제. 칸 바탕에 맞춰 밝은 판으로, 칸 어디를 눌러도 달력이 열림(app.js·sub.js) */
.m-date input { color-scheme: light; cursor: pointer; }
input[type="date"] { cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .85; }

/* 11/1 홈 마지막 장 = 아티스트 + '다음으로 볼 곳' 한 줄 */
.next-row { margin-top: auto; }
.next-cards.next-slim { gap: 10px; }
.next-cards.next-slim a { grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 16px 20px; border-radius: var(--r-md, 14px); }
.next-cards.next-slim small { grid-column: 1; }
.next-cards.next-slim b { grid-column: 1; font-size: 1.1875rem; }
.next-cards.next-slim span { display: none; }
.next-cards.next-slim a::after { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 860px) { .next-row { margin-top: 28px; } }
@media (min-width: 861px) and (min-height: 640px) {
  [data-paged] .artists .portrait img, [data-paged] .artists .portrait.is-lead img { height: auto; max-height: clamp(130px, calc(100svh - 560px), 46svh); }
  [data-paged] .artists { gap: clamp(16px, 3svh, 32px); }
}
@media (min-width: 861px) and (max-height: 820px) {
  [data-paged] .artists .portrait figcaption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
}
.next-cards.next-slim a { box-shadow: inset 0 0 0 1px var(--line, rgb(255 255 255 / .12)); }

/* 11/1 홈 보강: 소개 장 숫자 띠, 공연 카드 진행 예시, 마지막 장 시기 안내 */
.about-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: clamp(18px, 3svh, 32px) 0 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.about-facts div { padding: 14px 16px 0 0; }
.about-facts dt { font-size: 0.8125rem; color: var(--muted); }
.about-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.card-flow { display: block; margin-top: 6px; font-size: 0.875rem; opacity: .85; }
.season { margin: 0 0 12px; font-size: 0.9375rem; color: var(--muted); }
.season a { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-hi); display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 860px) { .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-facts div:last-child { grid-column: 1 / -1; } }
@media (min-width: 861px) and (max-height: 820px) { .card-flow { display: none; } }
@media (min-width: 861px) and (min-height: 640px) { [data-paged] .artists .portrait img, [data-paged] .artists .portrait.is-lead img { max-height: clamp(120px, calc(100svh - 600px), 46svh); } }
@media (min-width: 861px) and (max-height: 820px) {
  .js [data-paged] .about .about-photo, [data-paged] .about .about-photo { height: clamp(96px, 14svh, 150px); }
  [data-paged] .about .about-steps q { display: none; }
}
@media (min-width: 861px) and (max-height: 700px) {
  .js [data-paged] .about .about-photo, [data-paged] .about .about-photo { display: none; }
}
.about-link { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-hi); font-weight: 600; }
.about-link::after { content: " →"; }
/* 11/1 견적 '많이 찾는 구성 바로 보기' (요금 쪽 바로가기와 같은 주소 규칙) */
.q-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 0; font-size: 0.9375rem; }
.q-quick span { color: var(--muted); }
.q-quick a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-hi); font-weight: 500; }

/* ---------- 11/2 홈 3·4장 시안 B: 노란 원형 조명 걷고, 3장 먹색+옅은 필름 질감, 4장 밝은 종이(회사 소개와 같은 결), 장 번호 머리표 ---------- */
[data-home] .occ.page::after, [data-home] .artists.page::after { background: none; }
[data-home] .occ.page {
  background-color: var(--bg);  /* 11/2: 밝게 모드에서도 글자와 바탕이 맞게 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-home] .artists.page { background: #f4f1ea; color: #1d1c19; --ink: #1d1c19; --muted: #5b5850; --bg: #f4f1ea; --surface: #e9e3d6; --surface-2: #ddd5c4; --surface-3: #d2c8b4; --accent-hi: #3d5a3c; --line: rgb(29 28 25 / .16); }
[data-home] .artists .portrait b, [data-home] .artists-head h2 { color: #1d1c19; }
[data-home] .artists .next-cards.next-slim a { background: #fff; color: #1d1c19; box-shadow: inset 0 0 0 1px rgb(29 28 25 / .12); }
[data-home] .artists .season a { color: #1d1c19; }
[data-home] .occ-head h2::before, [data-home] .artists-head h2::before { display: block; margin-bottom: 12px; font-family: var(--font); font-size: 0.8125rem; font-weight: 600; letter-spacing: .24em; color: var(--accent-hi); }
[data-home] .occ-head h2::before { content: "03 — PERFORMANCE"; }
[data-home] .artists-head h2::before { content: "04 — ARTISTS"; }
@media (max-height: 760px) { [data-home] .occ-head h2::before, [data-home] .artists-head h2::before { display: none; } }
.pager[data-tone="ivory"] { color: #1d1c19; }

/* 11/3 머리글 '간편한 견적 내기' 알림 점 */
[data-bar-quote] { position: relative; }
[data-bar-quote]::after { content: ""; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: #e5322d; box-shadow: 0 0 0 2px var(--bg); pointer-events: none; }
.bar.is-over [data-bar-quote]::after { box-shadow: 0 0 0 2px #0d0d0d; }

/* 11/3 쉬는 시간 작은 메모 */
.rest-note { display: block; margin-top: 6px; font-size: 0.8125rem; opacity: .78; }

/* 11/4 견적 계산기 고르기 카드: 어두운 구역 안에서도 글자는 진하게(검토 제안서 치명 1) */
.q-form { --card-ink: #151615; }
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button { color: var(--card-ink); }
.q-form :is(.occ-pick, .ens-major, .ens-cards, .ens-subs, .t-pick, .m-pick) > button small { color: #5e635c; }


/* 11/6: 휴대폰에서 홈 2장 제목이 3줄로 끊기지 않게 */
@media (max-width: 480px) { #about-h:not(#_) { font-size: min(6vw, 1.5rem); line-height: 1.3; } }
/* 11/10 AVIF: <picture> 로 감싸도 배치·선택자 영향 없게(tools/avif.mjs) */
picture { display: contents; }
