/* RSA Press site. Old print: Puck lithographs and press engravings on paper, serif headlines, product cards set on the art. */
:root {
  --paper: #f4ecdc;
  --card: #fffdf7;
  --ink: #17130f;
  --muted: #5d5548;
  --rule: #cdbfa5;
  --navy: #1c3557;
  --navy-ink: #ffffff;
  --sky: #a9c8e2;
  --rose: #ecc6ba;
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(80px, 11vw, 176px);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --small: 0.875rem;
  --lead: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --head: clamp(2.5rem, 1.4rem + 4vw, 5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 var(--body)/1.5 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--head); }
ul { list-style: none; padding: 0; }
figure { margin: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--sky); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
section { scroll-margin-top: 24px; }

.btn { display: inline-block; background: var(--navy); color: var(--navy-ink); padding: 0.9em 1.6em; text-decoration: none; font-weight: 500; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: #0f2238; transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-small { padding: 0.65em 1.1em; font-size: var(--small); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link { text-underline-offset: 5px; }

/* hero */
.hero { padding: var(--m) var(--m) 0; }
.hero-art { position: relative; overflow: hidden; height: min(56svh, 42vw); min-height: 300px; background: var(--sky); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.bar { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 28px; }
.mark { background: var(--card); padding: 0.3em 0.7em 0.38em; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; text-decoration: none; }
.bar nav { display: flex; gap: 6px; margin-left: auto; }
.bar nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; background: var(--card); padding: 0.6em 0.9em; transition: background-color .2s; }
.bar nav a:hover { background: var(--sky); }
.hero-text { text-align: center; padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 72px); max-width: 1000px; margin: 0 auto; }
h1 { font-size: clamp(2.6rem, 1.2rem + 6.4vw, 7rem); line-height: 0.95; }
.lead { font-size: var(--lead); line-height: 1.4; max-width: 34em; margin: 28px auto 32px; }
.hero-actions { display: flex; gap: 16px 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 2rem); text-align: center; }
.strip li { padding: 0.7em 0.2em; }
.strip li + li { border-left: 1px solid var(--rule); }

/* shared split: text beside an art panel with a product card set on it */
.split { margin: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split-text h2 { margin: 36px 0 20px; transition: opacity .2s; min-height: 2em; }
.how-note, .b-fact { font-size: var(--lead); line-height: 1.4; max-width: 28em; transition: opacity .2s; min-height: 5.6em; }
.tabbar { display: inline-flex; flex-wrap: wrap; background: var(--navy); padding: 4px; gap: 2px; max-width: 100%; }
.tabbar button { background: none; border: 0; color: var(--navy-ink); padding: 0.6em 1.1em; font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.tabbar button:hover { background: #2c4a73; }
.tabbar button.cur { background: var(--card); color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.art-panel { position: relative; background: var(--sky); }
.art-panel img { width: 100%; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: 50% 20%; }
.flip .art-panel img { aspect-ratio: 5 / 4.4; }
.frag, .sheet { position: absolute; left: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); width: min(400px, calc(100% - 24px)); background: var(--card); padding: 20px 22px; font-size: 1rem; line-height: 1.4; box-shadow: 0 18px 40px -18px rgba(23, 19, 15, .55); }
.flip .sheet { left: auto; right: clamp(12px, 3vw, 32px); }
.frag { display: grid; }
.frag-state { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.frag-state.show { opacity: 1; visibility: visible; }
.frag-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.frag-head b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.tag { background: var(--paper); padding: 3px 10px; font-size: var(--small); white-space: nowrap; }
.tag-up { background: var(--navy); color: var(--navy-ink); }
.tag-wait { background: var(--rose); }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid #e9dfcb; }
.ticket-row.muted { color: var(--muted); }
.filing { background: var(--paper); padding: 12px 14px; margin-bottom: 8px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.filing mark { background: var(--sky); color: inherit; }
.frag-foot { margin-top: 10px; font-size: var(--small); color: var(--muted); }
.sheet, .b-fact { transition: opacity .3s; }
.sheet.swap, .b-fact.swap { opacity: 0; }

/* the sum: a card set on the art */
.sum { margin: var(--gap) var(--m) 0; position: relative; min-height: min(86svh, 62vw); display: flex; align-items: center; padding: clamp(16px, 4vw, 56px); overflow: hidden; background: #c9b79b; }
.sum-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.sum-card { position: relative; background: var(--card); padding: clamp(22px, 3vw, 44px); width: min(560px, 100%); box-shadow: 0 24px 60px -24px rgba(23, 19, 15, .6); }
.sum-card h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 22px; }
.sum-control label { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 4px; }
.sum-control output { font-variant-numeric: tabular-nums; font-weight: 600; }
.sum-control p { font-size: var(--small); color: var(--muted); margin-top: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; display: block; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--ink); }
input[type=range]::-moz-range-track { height: 6px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); border: 4px solid var(--card); margin-top: -12px; transition: transform .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); border: 4px solid var(--card); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.figure { font-family: var(--serif); font-size: clamp(5rem, 11vw, 9.5rem); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; margin: 22px 0 16px; color: var(--navy); }
.figure .unit { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; font-weight: 500; margin-left: 12px; color: var(--ink); }
.sum-how { font-size: 1rem; color: var(--muted); }

/* the odds: the dark block */
.odds { margin: var(--gap) var(--m) 0; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.odds-art img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 50% 30%; }
.odds-text { padding: clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.odds-text h2 { max-width: 9em; }
.odds-text > p { max-width: 34em; margin: 28px 0 0; color: #d9cfbc; }
.odds-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(36px, 5vw, 72px); padding-top: 28px; border-top: 1px solid #4a4238; }
.odds-nums dd { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.odds-nums div:first-child dd:not(.count) { color: var(--sky); }
.odds-nums dt { font-weight: 500; margin-bottom: 10px; }
.odds-nums .count { font-family: var(--sans); font-size: var(--small); color: #b9ae99; margin-top: 8px; }

/* statement and number rows */
.say-block { margin: var(--gap) var(--m) 0; }
.statement { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.12; max-width: 24em; letter-spacing: -0.01em; }
.statement span { color: #8d8271; }
.rows { margin-top: clamp(48px, 7vw, 104px); border-bottom: 1px solid var(--rule); }
.rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--rule); padding: 10px 0 4px; }
.rows dt { font-size: var(--lead); max-width: 16em; }
.rows dd { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); line-height: 1; }
.rows dd.blue { color: var(--navy); }

/* switches */
.switches { margin: var(--gap) var(--m) 0; }
.switches h2 { margin-bottom: 36px; }
.band { padding: 26px clamp(0px, 2vw, 28px); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--rule); transition: background-color .35s, padding .35s var(--ease); }
.band:last-child { border-bottom: 1px solid var(--rule); }
.band .say { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.05; color: #8d8271; transition: color .3s; }
.band .then { max-width: 62ch; height: 0; opacity: 0; overflow: hidden; transition: opacity .3s; }
.band.on { padding-inline: clamp(16px, 2vw, 28px); }
.band.on .then { height: auto; opacity: 1; margin-top: 10px; }
.band.on .say { color: var(--ink); }
.band.on[data-c="1"] { background: var(--sky); }
.band.on[data-c="2"] { background: var(--rose); }
.sw { width: 84px; height: 46px; border-radius: 999px; border: 0; background: #9a8f7d; position: relative; cursor: pointer; flex: none; transition: background-color .25s; }
.sw i { position: absolute; top: 5px; left: 5px; width: 36px; height: 36px; border-radius: 50%; background: var(--card); transition: transform .3s var(--ease); }
.sw[aria-checked=true] { background: var(--navy); }
.sw[aria-checked=true] i { transform: translateX(38px); }

/* calendar */
.cal { margin: var(--gap) var(--m) 0; background: var(--ink); color: var(--paper); padding: clamp(28px, 5vw, 80px); }
.cal-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 12px; }
.cal-head p { max-width: 56ch; color: #d9cfbc; }
.lineup { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-variant-numeric: tabular-nums; }
.lineup td { padding: 0.18em 0; border-top: 1px solid #3a342c; }
.lineup td:last-child { text-align: right; }
.lineup tr.day th { text-align: left; font: 500 1rem/1.4 var(--sans); color: var(--sky); padding: 44px 0 10px; }
.lineup tbody tr:not(.day) { transition: color .15s; }
.lineup tbody tr:not(.day):hover { color: var(--sky); }

/* your pc */
.pc { margin: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pc-pic { border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: var(--rose); }
.pc-pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.pc-pic:hover img { transform: scale(1.06); }
.pc-text h2 { max-width: 9em; margin-bottom: 28px; }
.pc-text > p { max-width: 60ch; margin-bottom: 24px; }
.dots li { position: relative; padding: 12px 0 12px 1.6em; max-width: 60ch; border-top: 1px solid var(--rule); }
.dots li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--navy); }

/* price */
.price { margin: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.price-text h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.amount { font-family: var(--serif); font-size: clamp(8rem, 19vw, 17rem); line-height: 0.9; letter-spacing: -0.03em; white-space: nowrap; margin: 8px 0 20px; }
.amount .cur { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.04em; }
.amount .per { font-family: var(--sans); font-size: 1.0625rem; letter-spacing: 0; font-weight: 500; margin-left: 12px; }
.price-text > p:not(.amount) { max-width: 30em; }
.incl { margin: 24px 0 28px; }
.incl li { padding: 9px 0; border-top: 1px solid var(--rule); max-width: 30em; }
.price-art { background: var(--card); padding: clamp(16px, 3vw, 40px); }
.price-art img { width: 100%; mix-blend-mode: multiply; }

/* questions */
.faq { margin: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.cards details { border-top: 1px solid var(--rule); }
.cards details:last-child { border-bottom: 1px solid var(--rule); }
.cards summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; padding: 20px 48px 20px 0; position: relative; transition: padding .3s var(--ease); }
.cards summary::-webkit-details-marker { display: none; }
.cards summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -55%; font-family: var(--sans); font-size: 1.6rem; transition: rotate .3s var(--ease); }
.cards details[open] summary::after { rotate: 45deg; }
.cards summary:hover { padding-left: 10px; }
.cards details p { padding: 0 0 26px; max-width: 60ch; }

/* access: the Whop checkout */
.access { margin: var(--gap) var(--m); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.access h2 { font-size: clamp(2.5rem, 5.6vw, 6rem); line-height: 1.05; }
.access p { margin-top: 24px; max-width: 46ch; font-size: 1.125rem; }
.access .small { font-size: 1rem; color: var(--muted); }
.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; max-width: 46ch; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em 1fr; font-size: 1.0625rem; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--navy); }
.checkout { background: var(--card); min-height: 520px; padding: 8px; display: grid; place-items: center; }
.checkout iframe { width: 100%; border: 0; }
.checkout:has(iframe) > .btn { display: none; }
.checkout:has(iframe) { place-items: stretch; }
.bar-acts { display: flex; align-items: center; gap: 6px; }
.bar-acts .link-light { text-decoration: none; font-size: 0.9375rem; font-weight: 500; background: var(--card); padding: 0.6em 0.9em; }
.bar-acts .link-light:hover { background: var(--sky); }

/* footer */
.foot { background: var(--ink); color: var(--paper); }
.foot-art { width: 100%; height: clamp(120px, 20vw, 260px); object-fit: cover; filter: sepia(.35); }
.foot-inner { padding: clamp(28px, 5vw, 72px) var(--m) 28px; }
.foot-mark { font-family: var(--serif); font-size: clamp(4.5rem, 17vw, 16rem); line-height: 0.85; letter-spacing: -0.03em; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr) 2.2fr; gap: 32px; margin-top: 48px; font-size: 1rem; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-cols li { padding: 3px 0; }
.foot-note { color: #d9cfbc; }
.credits { margin-top: 44px; font-size: var(--small); color: #b9ae99; max-width: 80ch; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-size: var(--small); }

/* entrances: only when script is running */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .pc-pic.rv { transform: scale(.92); }
.js .pc-pic.rv.in { transform: none; }
.js .lineup tbody tr { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .lineup tbody tr.in { opacity: 1; transform: none; }
.js .hero h1, .js .hero .lead, .js .hero-actions { animation: rise .9s var(--ease) both; }
.js .hero .lead { animation-delay: .08s; } .js .hero-actions { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .lineup tbody tr { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .bar nav { display: none; }
  .bar-acts { margin-left: auto; }
  .access { grid-template-columns: minmax(0, 1fr); }
  .hero-art { height: auto; aspect-ratio: 3 / 2.1; min-height: 0; }
  .split, .split.flip, .pc, .price, .faq { grid-template-columns: minmax(0, 1fr); }
  .split .art-panel { order: -1; }
  .art-panel img, .flip .art-panel img { aspect-ratio: 4 / 4.4; }
  .frag, .sheet, .flip .sheet { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -72px 12px 0; }
  .split-text h2 { margin-top: 28px; min-height: 0; }
  .how-note, .b-fact { min-height: 0; }
  .sum { display: block; padding: 0; min-height: 0; background: none; overflow: visible; }
  .sum-art { position: static; height: auto; aspect-ratio: 3 / 2; }
  .sum-card { width: auto; margin: -56px 12px 0; }
  .odds { grid-template-columns: minmax(0, 1fr); }
  .odds-art img { aspect-ratio: 4 / 3.4; height: auto; min-height: 0; }
  .cal-head { grid-template-columns: 1fr; }
  .pc-pic { max-width: 460px; }
  .price-art { order: -1; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero { padding: 0; }
  .hero-text { padding-inline: 16px; }
  .bar { top: 12px; left: 12px; right: 12px; }
  .mark { font-size: 1.35rem; }
  .strip { grid-template-columns: 1fr 1fr; margin-inline: 16px; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .tabbar button { padding: 0.75em 0.2em; font-size: 0.875rem; }
  .facts { gap: 16px 20px; }
  .odds-nums { grid-template-columns: 1fr; gap: 0; }
  .odds-nums div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; border-top: 1px solid #4a4238; }
  .odds-nums div:first-child { border-top: 0; padding-top: 0; }
  .odds-nums .count { grid-column: 1 / -1; margin-top: 0; }
  .odds-nums dt { margin: 0; }
  .rows dt { font-size: 1.0625rem; max-width: 9em; }
  .statement { font-size: 1.5rem; line-height: 1.2; }
  .band { gap: 16px; }
  .lineup, .lineup tbody { display: block; }
  .lineup tbody tr { display: grid; grid-template-columns: 1fr 1fr auto; align-items: baseline; }
  .lineup tr.day th { grid-column: 1 / -1; }
  .lineup td:nth-child(3) { display: none; }
  .checkout { min-height: 460px; padding: 0; }
}
