/* Rapture Records homepage: the frontispiece and the four stages. */

.home main { padding-top: 64px; }
.home section, .home header.frontis { scroll-margin-top: 80px; }

/* ---------- shared section heads ---------- */
.sec-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head .label, .codex-head .label {
  display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 .6rem;
}
.sec-head .label::before, .sec-head .label::after,
.codex-head .label::before, .codex-head .label::after {
  content: ''; width: 46px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .45;
}
.sec-head.left .label::before { display: none; }
.sec-head h2, .codex-head h2, .labels-band h2, .final h2, .lottery-title {
  font-family: var(--f-display); font-weight: 400; color: var(--ink);
  font-size: clamp(2.1rem, 3.8vw, 3.25rem); line-height: 1.06; letter-spacing: -0.012em; margin: 0;
}
.sec-head p:not(.label) { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; margin: 1rem auto 0; }
.sec-head.left p:not(.label) { margin-left: 0; }

/* ---------- frontispiece ---------- */
.frontis { max-width: 1240px; margin: 0 auto; padding: 3.2rem 2rem 4.5rem; overflow-x: clip; }
.frontis-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 3.5rem; align-items: center; }
.masthead { display: block; width: min(560px, 100%); height: auto; margin: 0 0 .2rem -12px; mix-blend-mode: multiply; }
.imprint {
  font-family: var(--f-caps); color: var(--ink-3); letter-spacing: .14em; font-size: 1rem;
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: 0 0 1.6rem;
}
.frontis h1 {
  font-family: var(--f-display); font-weight: 400; color: var(--ink);
  font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.018em;
  margin: 0 0 1.1rem; max-width: 15ch;
}
.frontis .lede { font-size: 1.24rem; line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 0; }
.frontis-ctas { display: flex; align-items: center; gap: 1.2rem 1.8rem; flex-wrap: wrap; margin: 2rem 0 2.4rem; }
.tally { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--hair-strong); max-width: 560px; }
.tally > div { display: flex; flex-direction: column-reverse; padding: 0 1.6rem; border-left: 1px solid var(--hair); }
.tally > div:first-child { padding-left: 0; border-left: 0; }
.tally dt { font-family: var(--f-caps); font-size: .92rem; letter-spacing: .03em; color: var(--ink-3); line-height: 1.25; max-width: 12ch; }
.tally dd { margin: 0 0 .25rem; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }

.frontis-text > * { animation: settle 1.3s var(--ease-deco) both; }
.frontis-text > :nth-child(2) { animation-delay: .12s; }
.frontis-text > :nth-child(3) { animation-delay: .22s; }
.frontis-text > :nth-child(4) { animation-delay: .32s; }
.frontis-text > :nth-child(5) { animation-delay: .42s; }
.frontis-text > :nth-child(6) { animation-delay: .52s; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.frontis-plate { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.frontis-plate .ring {
  position: absolute; left: 50%; top: 21%; width: min(470px, 120%); aspect-ratio: 1;
  color: var(--gold-leaf); opacity: .5; transform: translate(-50%, -50%);
  animation: spin 180s linear infinite; pointer-events: none;
}
.frontis-plate .glow {
  position: absolute; left: 50%; top: 21%; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 190, 96, .55), rgba(232, 190, 96, .12) 45%, transparent 70%);
  transform: translate(-50%, -50%); animation: breathe 7s ease-in-out infinite; pointer-events: none;
}
.frontis-plate .trumpet {
  position: relative; z-index: 1; width: min(380px, 100%); height: auto;
  animation: float 10s ease-in-out infinite;
  filter: drop-shadow(0 22px 26px rgba(70, 44, 16, .16));
}
.frontis-plate figcaption, .plate figcaption, .workshop-plate figcaption {
  font-style: italic; color: var(--ink-3); font-size: .98rem; text-align: center; margin-top: 1rem;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .95; transform: translate(-50%, -50%) scale(1.07); } }

/* ---------- the codex (story) ---------- */
.codex { max-width: 1180px; margin: 0 auto; padding: 5rem 2rem 2rem; position: relative; }
.codex::before {
  content: ''; display: block; height: 7px; margin: 0 auto 5rem; max-width: 760px;
  border-top: 1px solid var(--hair-strong); border-bottom: 1px solid var(--hair-strong);
}
.codex-head { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.codex-head .intro { text-align: left; font-size: 1.22rem; color: var(--ink-2); margin: 1.6rem auto 0; max-width: 58ch; }
.initial {
  float: left; font-family: var(--f-display); font-size: 4.9em; line-height: .78;
  color: var(--rubric); padding: .1em .14em 0 0; margin-top: .02em;
  text-shadow: 1px 1px 0 rgba(194, 154, 62, .55);
}

.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; margin: 5.5rem 0; }
.chapter.flip .plate { order: 2; }
.plate { margin: 0; text-align: center; }
.plate img { width: 100%; max-width: 500px; height: auto; mix-blend-mode: multiply; }
/* the plate opens like an iris: a feathered circular mask on the image (the figure itself
   stays unmasked so the IntersectionObserver and lazy loading see it) */
@property --iris { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.plate.reveal { opacity: 1; transform: none; filter: none; }
.plate.reveal img {
  --iris: 0%;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 var(--iris), transparent calc(var(--iris) + 14%));
          mask-image: radial-gradient(circle at 50% 46%, #000 var(--iris), transparent calc(var(--iris) + 14%));
  transition: --iris 2.2s var(--ease-deco);
}
.plate.reveal.visible img { --iris: 90%; }

.chapter-text { position: relative; z-index: 0; }
.big-numeral {
  position: absolute; z-index: -1; top: -4.6rem; left: -2rem;
  font-family: var(--f-display); font-size: 13rem; line-height: 1; color: var(--gold-leaf); opacity: .17;
  pointer-events: none; user-select: none;
}
.stage { font-family: var(--f-caps); color: var(--ink-3); letter-spacing: .06em; font-size: 1.02rem; margin: 0 0 .3rem; }
.stage span { font-family: var(--f-display); font-style: italic; color: var(--rubric); font-size: 1.45rem; letter-spacing: 0; margin-right: .35rem; }
.chapter h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1rem; color: var(--ink); }
.chapter p { color: var(--ink-2); font-size: 1.14rem; max-width: 52ch; margin: 0 0 1rem; }
.chapter blockquote { margin: 1.8rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--hair-strong); max-width: 46ch; }
.chapter blockquote p { font-family: var(--f-display); font-style: italic; font-size: 1.55rem; line-height: 1.3; color: var(--ink); margin: 0 0 .5rem; }
.chapter blockquote cite { font-family: var(--f-caps); font-style: normal; color: var(--rubric); letter-spacing: .05em; }

/* rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: -1.5rem 0 5rem; }
.room { position: relative; padding: 2.3rem 2.2rem 2.1rem; background: var(--vellum); border: 1px solid var(--hair); box-shadow: var(--shadow-paper); display: flex; flex-direction: column; }
.room::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--hair); pointer-events: none; }
.room-status { font-family: var(--f-caps); color: var(--ink-3); letter-spacing: .04em; font-size: .98rem; display: flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; }
.room h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.95rem; line-height: 1.1; margin: 0 0 .3rem; }
.room-tag { font-style: italic; color: var(--ink-2); margin: 0 0 1.5rem; }
.room-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.6rem; padding: 1rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.room-stats > div { display: flex; flex-direction: column-reverse; }
.room-stats dt { font-family: var(--f-caps); font-size: .9rem; color: var(--ink-3); letter-spacing: .03em; }
.room-stats dd { margin: 0; font-family: var(--f-display); font-size: 1.55rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.room .link-gold { margin-top: auto; align-self: flex-start; }
.room-night {
  background: var(--lapis);
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255, 236, 190, .9), transparent 60%),
    radial-gradient(1px 1px at 72% 14%, rgba(255, 236, 190, .8), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 46%, rgba(255, 236, 190, .9), transparent 60%),
    radial-gradient(1px 1px at 38% 70%, rgba(255, 236, 190, .6), transparent 60%),
    radial-gradient(1px 1px at 60% 86%, rgba(255, 236, 190, .7), transparent 60%),
    radial-gradient(1.2px 1.2px at 24% 92%, rgba(255, 236, 190, .7), transparent 60%),
    radial-gradient(ellipse at 80% 0%, rgba(120, 140, 190, .25), transparent 60%);
  color: #EADFC4; border-color: #10192C;
  box-shadow: 0 26px 46px -26px rgba(16, 25, 44, .8);
}
.room-night::before { border-color: rgba(234, 223, 196, .16); }
.room-night h3, .room-night .room-stats dd { color: #F2E7CC; }
.room-night .room-tag { color: #CFC5AC; }
.room-night .room-status, .room-night .room-stats dt { color: #ABA48F; }
.room-night .room-stats { border-color: rgba(234, 223, 196, .16); }
.room-night .link-gold { color: #E5C27A; border-color: rgba(229, 194, 122, .45); }
.rooms-more { grid-column: 1 / -1; text-align: center; margin: .4rem 0 0; }

/* catalogue */
.catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: -1.5rem 0 2rem; }
.leaf {
  position: relative; display: flex; flex-direction: column; gap: .35rem; min-height: 250px;
  padding: 1.9rem 1.7rem 1.6rem; background: var(--vellum); border: 1px solid var(--hair);
  box-shadow: var(--shadow-paper); text-decoration: none; color: var(--ink);
  transition: transform .5s var(--ease-deco), box-shadow .5s var(--ease-deco);
}
.leaf::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--hair); pointer-events: none; }
.leaf:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 26px 44px -26px rgba(60, 38, 14, .55); }
.leaf-kicker { font-family: var(--f-caps); color: var(--rubric); letter-spacing: .06em; font-size: .95rem; }
.leaf-title { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; }
.leaf-artist { font-style: italic; color: var(--ink-2); }
.leaf-meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-family: var(--f-caps); font-size: .92rem; color: var(--ink-3); letter-spacing: .02em; margin-top: .3rem; font-variant-numeric: lining-nums; }
.leaf-go { margin-top: auto; padding-top: 1rem; font-family: var(--f-caps); color: var(--rubric); letter-spacing: .04em; }
.leaf-blank { background: transparent; box-shadow: none; border: 1px dashed var(--hair-strong); }
.leaf-blank::before { border-style: dashed; }
.catalogue-note { grid-column: 1 / -1; text-align: center; font-style: italic; font-size: .95rem; color: var(--ink-3); margin: .4rem 0 0; }

/* ---------- ledger ---------- */
.ledger-sec { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem 2rem; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; background: var(--vellum); border: 1px solid var(--hair); box-shadow: var(--shadow-paper); position: relative; }
.ledger::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--hair); pointer-events: none; }
.ledger-col { padding: 2.4rem 2.4rem 2rem; }
.ledger-col + .ledger-col { border-left: 3px double var(--hair-strong); }
.ledger h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--hair-strong); }
.ledger ol { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px dotted var(--hair-strong); align-items: baseline; }
.ledger li:last-child { border-bottom: 0; }
.ledger li b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.ledger li span { color: var(--ink-2); font-size: 1.04rem; line-height: 1.45; }
.ledger .minus { color: var(--rubric); }
.ledger-direct b { color: var(--gold); }
.ledger .up { color: var(--rubric); }
.ledger-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; margin: 2.6rem 0 0; }
.ledger-notes dt { font-family: var(--f-display); font-size: 1.32rem; margin-bottom: .35rem; }
.ledger-notes dd { margin: 0; color: var(--ink-2); font-size: 1.02rem; }

/* ---------- submit ---------- */
.submit-sec { max-width: 1180px; margin: 0 auto; padding: 6rem 2rem 3rem; }
.submit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.submit-aside { position: sticky; top: 96px; }
.aside-plate { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 1.6rem; mix-blend-mode: multiply; }
.rite { list-style: none; margin: 0; padding: 0; }
.rite li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem; padding: 1rem 0; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 1.06rem; }
.rite li > span { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; line-height: 1.1; color: var(--rubric); }
.rite b { font-weight: 600; color: var(--ink); }

.pitch-wrap { position: relative; background: var(--vellum); border: 1px solid var(--hair); box-shadow: var(--shadow-paper); padding: 2.6rem 2.6rem 2.2rem; }
.pitch-wrap::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--hair); pointer-events: none; }
.pitch-title { font-family: var(--f-display); font-weight: 400; font-size: 1.95rem; margin: 0 0 .3rem; }
.pitch-sub { font-style: italic; color: var(--ink-3); margin: 0 0 1.8rem; }
.field { margin-bottom: 1.25rem; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-help { font-size: .92rem; color: var(--ink-3); margin: .45rem 0 0; line-height: 1.45; }
.field-help .warn { color: #8A4436; }
.field-error { display: none; color: var(--rubric); font-size: .98rem; margin: .45rem 0 0; }
.field-error.show { display: block; }
#termsError { margin: -.4rem 0 1rem; }
#checkoutError { margin-top: .8rem; text-align: center; }
.input.is-invalid, .textarea.is-invalid { border-color: var(--rubric); box-shadow: 0 0 0 3px rgba(142, 42, 26, .12); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; margin: 1.8rem 0 .6rem; padding: 1rem 0; border-top: 3px double var(--hair-strong); border-bottom: 1px solid var(--hair-strong); }
.price-row .k { font-family: var(--f-caps); letter-spacing: .05em; color: var(--ink-2); font-size: 1.05rem; }
.price-row .v { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; font-variant-numeric: lining-nums; }
.price-row .v i { font-size: .55em; font-style: normal; color: var(--ink-3); }
.stripe-note { font-size: .95rem; font-style: italic; color: var(--ink-3); margin: 0 0 1.4rem; }
.terms-check { display: grid; grid-template-columns: 22px 1fr; gap: .85rem; align-items: start; cursor: pointer; margin: 0 0 1.4rem; }
.terms-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.terms-box { width: 20px; height: 20px; margin-top: .25rem; border: 1px solid var(--ink-2); background: #FFFBF1; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.terms-check input:checked + .terms-box { background: var(--rubric); border-color: var(--rubric-deep); }
.terms-check input:checked + .terms-box::after { content: '✓'; color: #F8EFDD; font-size: 14px; line-height: 1; }
.terms-check input:focus-visible + .terms-box { outline: 2px solid var(--rubric); outline-offset: 2px; }
.terms-check.invalid .terms-box { border: 2px solid var(--rubric); }
.terms-text { font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
.terms-text a { color: var(--rubric); }
.pay-btn { width: 100%; }
.pitch-wrap .terms { text-align: center; font-size: .93rem; font-style: italic; color: var(--ink-3); margin: 1rem 0 0; }
.pitch-success { text-align: center; padding: 1.5rem 0; }
.pitch-success .pitch-sub { max-width: 40ch; margin: .5rem auto 1.8rem; }
.seal {
  display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1.1rem;
  border-radius: 47% 53% 49% 51% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 38% 35%, #B4432C, var(--rubric) 55%, var(--rubric-deep));
  color: #F8E9CF; font-size: 2rem; box-shadow: 0 6px 14px -6px rgba(110, 31, 18, .8), inset 0 0 0 5px rgba(0, 0, 0, .08);
}

/* ---------- monthly draw ---------- */
.lottery-block { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.lottery-card { position: relative; text-align: center; padding: 3rem 2.6rem 2.2rem; background: var(--vellum); border: 3px double var(--sand-dim); box-shadow: var(--shadow-paper); }
.lottery-card .label { margin: 0 0 .5rem; }
.lottery-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.lottery-sub { color: var(--ink-2); max-width: 54ch; margin: 1rem auto 1.6rem; }
.lottery-row { display: flex; gap: .7rem; max-width: 520px; margin: 0 auto; }
.lottery-row .input { flex: 1; min-width: 0; }
.lottery-submit { white-space: nowrap; padding: .9rem 1.4rem; }
.lottery-consent { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; text-align: left; max-width: 520px; margin: 1rem auto 0; font-size: .9rem; color: var(--ink-3); line-height: 1.45; cursor: pointer; }
.lottery-consent input { margin-top: .2rem; accent-color: var(--rubric); }
.lottery-error { text-align: center; }
.lottery-success .ls-title { font-family: var(--f-display); font-size: 2rem; margin: .4rem 0; }
.lottery-success .ls-sub { color: var(--ink-2); max-width: 46ch; margin: 0 auto; }
.lottery-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-family: var(--f-caps); font-size: .92rem; color: var(--ink-3); letter-spacing: .03em; }
.lottery-foot span::before { content: '✦'; color: var(--gold-leaf); margin-right: .45rem; }

/* ---------- workshop ---------- */
.workshop { max-width: 1180px; margin: 0 auto; padding: 5rem 2rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: center; }
.workshop-plate { margin: 0; text-align: center; }
.workshop-plate img { width: 100%; max-width: 460px; height: auto; mix-blend-mode: multiply; }
.instruments { list-style: none; margin: 0; padding: 0; counter-reset: inst; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.2rem; }
.instruments li { counter-increment: inst; }
.instruments a { display: grid; grid-template-columns: 2.6rem 1fr; padding: .85rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.instruments a::before { content: counter(inst, upper-roman); font-family: var(--f-display); font-style: italic; color: var(--rubric); font-size: 1.1rem; grid-row: span 2; padding-top: .15rem; }
.instruments b { font-family: var(--f-display); font-weight: 400; font-size: 1.24rem; color: var(--ink); transition: color .3s; }
.instruments span { font-style: italic; font-size: .95rem; color: var(--ink-3); line-height: 1.35; }
.instruments a:hover b { color: var(--rubric); }

/* ---------- questions ---------- */
.questions { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem 3rem; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 3.6rem; margin: 0; }
.qa dt { font-family: var(--f-display); font-size: 1.36rem; line-height: 1.2; color: var(--ink); padding-top: .9rem; border-top: 1px solid var(--hair-strong); }
.qa dd { margin: .5rem 0 0; color: var(--ink-2); font-size: 1.04rem; }
.questions-more { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin: 2.8rem 0 0; }

/* ---------- labels + closing ---------- */
.closing { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 2rem; }
.labels-band { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-top: 3px double var(--hair-strong); border-bottom: 3px double var(--hair-strong); }
.labels-band img { width: 100%; height: auto; mix-blend-mode: multiply; }
.labels-band .label { margin: 0 0 .4rem; }
.labels-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.labels-band p:not(.label) { color: var(--ink-2); max-width: 52ch; margin: .8rem 0 1.2rem; }
.final { text-align: center; padding: 5rem 0 2rem; }
.final .diamond-lg { display: block; margin: 0 auto 1.2rem; background: var(--rubric); }
.final h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.8rem; }

/* ---------- responsive ---------- */
@media (max-width: 999px) {
  .frontis { padding: 2.2rem 1.5rem 3rem; }
  .frontis-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .masthead { margin-left: -6px; }
  .frontis-plate .trumpet { width: min(330px, 70vw); }
  .frontis-plate .ring { width: min(400px, 94vw); }
  .codex { padding: 3.5rem 1.5rem 1rem; }
  .codex::before { margin-bottom: 3.5rem; }
  .chapter { grid-template-columns: 1fr; gap: 1.8rem; margin: 4rem 0; }
  .chapter.flip .plate { order: 0; }
  .plate img { max-width: min(460px, 88vw); }
  .big-numeral { font-size: 9rem; top: -3.4rem; left: -.6rem; }
  .rooms { grid-template-columns: 1fr; margin: -1rem 0 3.5rem; }
  .catalogue { grid-template-columns: 1fr; }
  .leaf { min-height: 0; }
  .ledger-sec { padding: 4rem 1.5rem 1rem; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col { border-left: 0; border-top: 3px double var(--hair-strong); }
  .ledger-notes { grid-template-columns: 1fr; gap: 1.4rem; }
  .submit-sec { padding: 4rem 1.5rem 2rem; }
  .submit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .submit-aside { position: static; display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; align-items: center; }
  .aside-plate { margin: 0; }
  .workshop { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .workshop-plate img { max-width: 360px; }
  .questions { padding: 4rem 1.5rem 2rem; }
  .qa { grid-template-columns: 1fr; gap: 1.6rem; }
  .closing { padding: 2rem 1.5rem 1rem; }
  .labels-band { grid-template-columns: 1fr; text-align: center; gap: 1.6rem; }
  .labels-band img { max-width: 240px; margin: 0 auto; }
  .labels-band p:not(.label) { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .frontis { padding: 1.4rem 1.15rem 2.4rem; }
  .imprint { font-size: .9rem; gap: .5rem; margin-bottom: 1.2rem; }
  .frontis .lede { font-size: 1.12rem; }
  .frontis-ctas { margin: 1.6rem 0 2rem; }
  .frontis-ctas .btn { width: 100%; }
  .tally { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tally > div { padding: 0 .7rem; }
  .tally dd { font-size: 1.75rem; }
  .tally dt { font-size: .8rem; }
  .codex { padding: 2.5rem 1.15rem 1rem; }
  .chapter p { font-size: 1.08rem; }
  .room { padding: 2rem 1.4rem 1.8rem; }
  .room-stats dd { font-size: 1.3rem; }
  .ledger-sec, .submit-sec, .questions, .closing { padding-left: 1.15rem; padding-right: 1.15rem; }
  .ledger-col { padding: 2rem 1.4rem 1.6rem; }
  .ledger li { grid-template-columns: 3.8rem 1fr; gap: .8rem; }
  .ledger li b { font-size: 1.4rem; }
  .submit-aside { grid-template-columns: 1fr; }
  .aside-plate { max-width: 240px; margin: 0 auto; }
  .pitch-wrap { padding: 2rem 1.3rem 1.6rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .lottery-block { padding: 2rem 1.15rem 3rem; }
  .lottery-card { padding: 2.4rem 1.3rem 1.8rem; }
  .lottery-row { flex-direction: column; }
  .workshop { padding: 3rem 1.15rem; }
  .instruments { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .frontis-plate .ring, .frontis-plate .glow, .frontis-plate .trumpet, .frontis-text > * { animation: none !important; }
  .plate.reveal img { -webkit-mask-image: none; mask-image: none; }
}
