/* Sponsor page. A lavender cover with the Sustain artwork, color cards for the tiers,
   editorial independence band, and a Transmissions volume spread reusing Undertone graphics.
   Keep body transparent so :root lavender matches the homepage at the top on mobile. */
.sp-tag { margin: 0; font-weight: 400; }
.sp-tag > span { background: var(--ink); color: var(--paper); }

/* Hero: copy on the left, the artwork on the right. One text size under the heading. */
.sp-hero { position: relative; overflow: hidden; min-height: min(860px, 100svh); background: var(--lavender); padding-bottom: clamp(72px, 9vw, 120px); }
.sp-hero .tx-header { position: relative; z-index: 2; }
.sp-hero-art { position: absolute; top: 60px; right: 0; bottom: 40px; width: 50%; z-index: 0; }
.sp-hero-art canvas { display: block; width: 100%; height: 100%; }
.sp-hero-copy { position: relative; z-index: 1; max-width: calc(600px + 2 * var(--home-inset)); padding: clamp(96px, 16vh, 180px) var(--home-inset) 0; }
.sp-hero .tx-tag > span { background: var(--ink); color: var(--lavender); }
.sp-hero h1 { margin: 22px 0 0; padding-bottom: .1em; font-size: clamp(56px, 6.6vw, 112px); font-weight: 400; line-height: .92; letter-spacing: -.06em; }
.sp-lead { max-width: 560px; margin: 24px 0 0; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; }
.sp-lead + .sp-lead { margin-top: 14px; }

/* Tiers: three color cards from the format palette, slightly off square, like objects on a desk. */
.sp-tiers, .sp-promise, .sp-theme, .sp-faq { padding: clamp(64px, 8vw, 120px) var(--home-inset) 0; background: var(--paper); }
.sp-faq { padding-bottom: clamp(72px, 9vw, 128px); }
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 28px 0 0; padding: 0; }
.sp-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px; transition: transform .25s ease; }
.sp-card:nth-child(1) { transform: rotate(-.8deg); }
.sp-card:nth-child(2) { transform: rotate(.5deg) translateY(10px); }
.sp-card:nth-child(3) { transform: rotate(-.3deg); }
.sp-card:hover, .sp-card:focus-within { transform: none; }
.sp-card--member { background: var(--blue); color: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.sp-card--patron { background: var(--orange); color: #000; box-shadow: 8px 8px 0 var(--ink); }
.sp-card--sponsor { background: var(--ink); color: var(--lavender); box-shadow: 8px 8px 0 var(--orange); }
.sp-card--member a:focus-visible, .sp-card--sponsor a:focus-visible { outline-color: var(--lime); }
.sp-card--patron .sp-price { opacity: 1; }
.sp-card > * { position: relative; z-index: 1; }
.sp-card h3 { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.sp-price { margin: 8px 0 0; font-size: 15px; opacity: .8; }
.sp-price b { margin-right: 6px; font-size: 44px; font-weight: 400; letter-spacing: -.04em; opacity: 1; }
.sp-card ul { flex: 1; margin: 24px 0 30px; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.sp-card ul li { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-family: var(--rf-serif); font-size: 17px; line-height: 1.5; }
.sp-card .tx-button { align-self: flex-start; }
.sp-card--patron .tx-button--ink:hover { background: var(--paper); color: var(--ink); }
.sp-button--light { background: transparent; color: var(--lavender); border: 1px solid var(--lavender); padding: 15px 19px; }
.sp-button--light:hover { background: var(--lavender); color: var(--ink); }

/* Give once: a long strip, like a coupon. */
.sp-gift { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin: 40px 0 0; padding: 22px 28px; border: 1px dashed var(--ink); background: var(--lavender); }
.sp-gift h3 { margin: 0; font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.sp-gift p { flex: 1; min-width: 220px; margin: 0; font-family: var(--rf-serif); font-size: 17px; line-height: 1.5; }

/* Editorial independence: a calm ruled masthead note, aligned with the FAQ grid. */
.sp-promise-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; padding: 36px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sp-promise-box .sp-tag { justify-self: start; margin-top: 6px; }
.sp-quote { max-width: 720px; margin: 0; font-family: var(--rf-serif); font-size: clamp(22px, 2.1vw, 29px); line-height: 1.42; letter-spacing: -.01em; color: var(--ink); }

/* Transmissions spread: editorial intro on the left, real Undertone objects on the right. */
.sp-theme { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.sp-theme-head { margin: 0; font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.sp-theme-text { max-width: 480px; margin: 20px 0 0; font-family: var(--rf-serif); font-size: 18px; line-height: 1.62; color: #35313c; }
.sp-theme-text + .sp-theme-text { margin-top: 16px; }
.sp-theme-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 15px; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.sp-theme-link:hover { background: var(--lime); text-decoration: none; }

.sp-spread { position: relative; height: 580px; }
.sp-k { position: relative; z-index: 1; display: block; font-size: 10px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }

/* Vol. 1 lid: dark box with hairline inset, title on top, and Undertone pulsar signal plot. */
.sp-vol { position: absolute; left: 0; top: 0; width: 62%; height: 70%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 24px; background: #121017; color: var(--lavender); text-decoration: none; transform: rotate(-2deg); box-shadow: 12px 12px 0 var(--blue); transition: transform .25s ease; z-index: 1; }
.sp-vol::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(233, 231, 241, .14); pointer-events: none; }
.sp-vol:hover { transform: rotate(-.8deg) translate(-2px, -2px); text-decoration: none; }
.sp-vol-head, .sp-vol-foot { position: relative; z-index: 1; display: block; }
.sp-vol-meta { display: flex; justify-content: space-between; gap: 12px; opacity: .7; }
.sp-vol-title { display: block; margin-top: 8px; font-size: clamp(36px, 4vw, 58px); line-height: .82; letter-spacing: -.06em; text-transform: uppercase; }
.sp-vol-plot { position: relative; min-height: 160px; margin: 12px 0; display: block; }
.sp-vol-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.sp-vol-plot .fill { fill: #121017; }
.sp-vol-plot .stroke { fill: none; stroke: var(--lavender); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke .25s ease; }
.sp-vol-plot .is-under .stroke { stroke-opacity: .36; }
.sp-vol-plot .is-issue .stroke { stroke-width: 1.8; }
.sp-vol-plot .is-sealed .stroke { stroke-dasharray: 3 3; stroke-opacity: .75; }
.sp-vol:hover .sp-vol-plot .is-issue:not(.is-sealed) .stroke { stroke: var(--lime); }
.sp-vol-dek { display: block; font-family: var(--rf-serif); font-size: 14px; line-height: 1.4; opacity: .88; }

/* Issue objects, matching the Undertone desk primitives. */
.sp-obj { position: absolute; display: block; color: inherit; text-decoration: none; transition: transform .25s ease; }
.sp-obj-face { position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; height: 100%; }
.sp-obj-title { position: relative; z-index: 1; display: block; }
.sp-obj-note { position: relative; z-index: 1; display: block; font-size: 11px; opacity: .72; }

/* Release: lime square sleeve, peeking blue disc, Common Form contour canvas. */
.sp-obj--release { right: 6%; top: 4%; width: 34%; aspect-ratio: 1; transform: rotate(4deg); z-index: 3; }
.sp-obj--release:hover { transform: rotate(2deg) translate(-2px, -2px); text-decoration: none; }
.sp-disc { position: absolute; z-index: -1; width: 90%; aspect-ratio: 1; right: -24%; top: 5%; border-radius: 50%; background: radial-gradient(circle, var(--lime) 0 15%, var(--ink) 15.5% 17%, var(--blue) 17.5%); box-shadow: inset 0 0 0 1px rgba(233, 231, 241, .25); transition: right .45s cubic-bezier(.2, .8, .2, 1); }
.sp-obj--release:hover .sp-disc { right: -36%; }
.sp-obj--release .sp-obj-face { padding: 16px; background: var(--lime); color: var(--blue); box-shadow: 8px 8px 0 var(--blue); }
.sp-obj--release .sp-obj-title { margin-top: 8px; font-size: clamp(28px, 2.8vw, 42px); line-height: .9; letter-spacing: -.06em; }
.sp-obj--release canvas { position: absolute; width: 110%; height: 80%; left: 10%; bottom: -16%; pointer-events: none; }

/* Essay: dark ink booklet with blue spine and lime signal strip (matching TX 001 ink stock). */
.sp-obj--essay { right: 3%; bottom: 0; width: 31%; aspect-ratio: 5 / 7; transform: rotate(-3deg); z-index: 4; }
.sp-obj--essay:hover { transform: rotate(-1.5deg) translate(-2px, -3px); text-decoration: none; }
.sp-obj--essay .sp-obj-face { padding: 16px 14px 14px 30px; background: #121017; color: var(--lavender); outline: 1px solid rgba(233, 231, 241, .26); outline-offset: -1px; box-shadow: 8px 8px 0 var(--blue); }
.sp-obj--essay .sp-obj-face::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 15px; background: var(--blue); }
.sp-obj--essay .sp-obj-face::after { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 1px; background: rgba(233, 231, 241, .5); }
.sp-obj-spine { position: absolute; z-index: 1; left: 3px; bottom: 12px; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--paper); font-size: 7px; letter-spacing: .12em; }
.sp-obj--essay .sp-obj-title { margin-top: 10px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.02; letter-spacing: -.045em; }
.sp-obj-strip { position: absolute; left: 30px; right: 14px; bottom: 14px; height: 38%; display: block; }
.sp-obj-strip svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sp-obj-strip .fill { fill: #121017; }
.sp-obj-strip .stroke { fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sp-obj-strip .is-under .stroke { stroke-opacity: .45; }
.sp-obj-strip .is-issue .stroke { stroke: var(--lime); stroke-width: 1.6; }

/* Vol. 2: dashed card tying member support to the next theme. */
.sp-obj--next { left: 10%; bottom: 2%; width: 42%; min-height: 104px; display: flex; flex-direction: column; padding: 14px 16px; border: 1px dashed var(--ink); background: var(--paper); transform: rotate(-2.5deg); z-index: 5; }
.sp-obj--next .sp-obj-title { margin-top: auto; padding-top: 14px; font-size: 20px; line-height: 1.1; letter-spacing: -.03em; }
.sp-obj--next .sp-obj-note { margin-top: 6px; }

/* FAQ and closing return anchor. */
.sp-faq dl { margin: 20px 0 0; border-top: 1px solid var(--ink); }
.sp-faq dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rf-rule); }
.sp-faq dt { font-size: 20px; letter-spacing: -.02em; }
.sp-faq dd { margin: 0; font-family: var(--rf-serif); font-size: 17px; line-height: 1.6; }
.sp-faq a:not(.tx-button) { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.sp-faq a:not(.tx-button):hover { background: var(--lime); }
.sp-back { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 40px; }
.sp-back p { margin: 0; font-family: var(--rf-serif); font-size: 19px; line-height: 1.5; }
.sp-back .tx-button:hover { background: var(--ink); color: var(--lime); }

/* Post-checkout thank-you page (/sponsor/thanks/). */
.sp-thanks-hero { min-height: max(560px, calc(100svh - 160px)); background: var(--lavender); padding-bottom: clamp(72px, 9vw, 120px); }
.sp-thanks-copy { max-width: calc(680px + 2 * var(--home-inset)); padding: clamp(72px, 12vh, 140px) var(--home-inset) 0; }
.sp-thanks-hero .tx-tag > span { background: var(--ink); color: var(--lavender); }
.sp-thanks-hero h1 { margin: 22px 0 0; padding-bottom: .1em; font-size: clamp(44px, 5.6vw, 88px); font-weight: 400; line-height: .96; letter-spacing: -.055em; }
.sp-thanks-next { max-width: 580px; margin: 20px 0 0; font-family: var(--rf-serif); font-size: 19px; line-height: 1.6; color: #35313c; }
.sp-thanks-note { max-width: 580px; margin: 14px 0 0; font-family: var(--rf-serif); font-size: 16px; line-height: 1.55; color: var(--rf-muted); }
.sp-thanks-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.sp-thanks-note a:hover { background: var(--lime); }
.sp-thanks-copy .tx-actions { margin-top: 32px; }
.sp-thanks-copy .tx-button:not(.tx-button--line):hover { background: var(--ink); color: var(--lime); }
.sp-thanks-return { margin: 28px 0 0; }
.sp-thanks-return .sp-theme-link { margin-top: 0; }

@media (max-width: 1100px) {
  .sp-hero { min-height: 0; }
  .sp-hero-art { top: 90px; bottom: auto; left: 0; width: auto; height: 320px; }
  .sp-hero-copy { padding-top: 360px; max-width: none; }
  .sp-cards { grid-template-columns: 1fr; max-width: 560px; gap: 32px; }
  .sp-card:nth-child(2) { transform: rotate(.5deg); }
  .sp-theme { grid-template-columns: 1fr; gap: 40px; }
  .sp-spread { max-width: 640px; }
}
@media (max-width: 700px) {
  .sp-hero-art { top: 70px; height: 200px; }
  .sp-hero-copy { padding-top: 250px; }
  .sp-lead { font-size: 18px; }
  .sp-card { padding: 24px; }
  .sp-card .tx-button { align-self: stretch; }
  .sp-gift { padding: 20px; }
  .sp-gift .tx-button { width: 100%; }
  .sp-promise-box { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .sp-spread { height: auto; display: flex; flex-direction: column; gap: 26px; padding-bottom: 12px; }
  .sp-vol, .sp-obj { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .sp-vol { width: 92%; height: 320px; align-self: flex-start; }
  .sp-obj--release { width: 66%; align-self: flex-end; margin-right: 12%; }
  .sp-disc, .sp-obj--release:hover .sp-disc { right: -18%; }
  .sp-obj--essay { width: 62%; align-self: flex-start; }
  .sp-obj--next { width: 70%; align-self: flex-end; }
  .sp-faq dl > div { grid-template-columns: 1fr; gap: 6px; }
  .sp-back .tx-button { width: 100%; }
  .sp-thanks-copy { padding-top: 48px; }
  .sp-thanks-copy .tx-actions { flex-direction: column; gap: 10px; }
  .sp-thanks-copy .tx-actions .tx-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sp-card, .sp-vol, .sp-obj, .sp-disc, .sp-vol-plot .stroke { transition: none; } }
