/* =========================================================================
   /dopamine · The Dopamine Ad — page styles (loaded only on this page, after noir.css)
   Mobile first (375), then 820+ (the site's DA breakpoint) and 1100+.
   Grounds: hero lime · two ads paper · inside black · sample white · X-Ray black ·
   price lime · FAQ paper · final black · cards paper. Buy buttons: black on lime, lime on black.
   Red stays the X-Ray's accent (pins). Reuses noir.css: .btn, .eyebrow, .h2, .faq, .da-pair (da-xray.js), .da-page, .lightbox.
   ========================================================================= */

.page-dopamine { --pd-body: 1.0625rem; }
.page-dopamine .btn { text-align: center; white-space: normal; flex-wrap: wrap; column-gap: .4em; row-gap: 2px; }
.page-dopamine .btn--black { box-shadow: 0 14px 30px -14px rgba(0,0,0,.65); }
.page-dopamine .btn--lime { box-shadow: 0 0 0 0 rgba(239,255,113,0); }
.page-dopamine .btn--lime:hover { box-shadow: 0 16px 34px -14px rgba(239,255,113,.45); }
.pd-buy { margin-top: 18px; }
.pd-h2 { margin-top: 12px; }
.pd-h2 .it { display: block; }
.pd-lede, .pd-body { margin-top: 16px; font-size: clamp(var(--pd-body), 1.6vw, 1.2rem); line-height: 1.6; font-weight: 500; max-width: 40em; }
.pd-fine { margin-top: 10px; font-size: .875rem; line-height: 1.5; font-weight: 500; opacity: .82; }
.pd-under { margin-top: 12px; font-size: .875rem; font-weight: 600; line-height: 1.55; max-width: 36em; }
.pd-under span + span::before { content: "·"; margin: 0 .5em; opacity: .6; }

/* ---------- 1 · Hero ---------- */
.pd-hero { padding: clamp(26px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); }
.pd-hero-grid { display: grid; gap: 34px; }
.pd-eyebrow { display: block; min-height: 1.3em; color: var(--black); }
.pd-h { margin-top: 14px; font-size: clamp(2.75rem, 11.5vw, 6.1rem); line-height: .94; letter-spacing: -.025em; }
.pd-h .it { display: block; }
.pd-sub { margin-top: 18px; font-size: clamp(var(--pd-body), 1.7vw, 1.28rem); line-height: 1.58; font-weight: 500; max-width: 33em; }
.pd-price { margin-top: 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.42rem); line-height: 1.3; }
.pd-price b { font-weight: 900; }
.pd-hero .pd-buy { margin-top: 16px; }
.pd-sample-link { margin-top: 8px; }
.pd-sample-link a, .pd-exit a, .pd-final-exit a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pd-exit a { display: inline; padding: 12px 0; } /* inside a sentence: the padding gives the tap height without breaking the line */

/* the media: the cover tilted behind the mini-VSL. The video is 1:1 (PAGE-FIXES-FABLE, Format), so the frame is square.
   The "Tap for sound" chip sits under the frame's right corner (E2), never on the picture, so the on-screen
   "illustrative" labels stay readable; .is-still (site-video.js) turns it into the lime play chip.
   If the video fails, site-video.js hides the figure and the cover stands alone. */
.pd-media { display: grid; justify-items: center; gap: 18px; }
.pd-stack { display: grid; place-items: center; width: 100%; }
.pd-stack > * { grid-area: 1 / 1; }
.pd-cover { position: relative; z-index: 0; transform: translate(-38%, -16%) rotate(-7deg); }
.pd-cover img { width: min(44vw, 210px); }
.page-dopamine .mvsl { position: relative; z-index: 1; display: grid; margin: 0; width: min(74vw, 300px); aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none;
  transform: translateX(12%) rotate(1.5deg); }
.page-dopamine .mvsl[hidden] { display: none; }
.page-dopamine .mvsl-v { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; background: #0b0b0b;
  box-shadow: 0 0 0 3px var(--black), 0 34px 60px -26px rgba(0,0,0,.7); }
.page-dopamine .mvsl-sound { position: static; justify-self: end; margin-top: 12px; transform: none; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px;
  background: var(--black); color: var(--lime); font: 800 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; box-shadow: none; }
.page-dopamine .mvsl.is-still .mvsl-sound { position: static; top: auto; left: auto; transform: none; min-height: 48px; padding: 12px 20px; background: var(--black); color: var(--lime); }
.page-dopamine .mvsl-sound[hidden] { display: none; }
.pd-stack:has(> .mvsl[hidden]) .pd-cover { transform: rotate(-2deg); }
.pd-stack:has(> .mvsl[hidden]) .pd-cover img { width: min(68vw, 300px); }
.pd-cover-cap { font-size: .875rem; font-weight: 600; line-height: 1.45; text-align: center; max-width: 30em; }

/* ---------- 2 · Two ads (the da-xray.js pair, on paper) ---------- */
.pd-two .pd-pair { margin-top: 26px; }
.pd-two .da-row { background: rgba(0,0,0,.05); }
.pd-two .da-usual { background: #fff; color: rgba(0,0,0,.74); box-shadow: inset 0 0 0 1px var(--line); }
.pd-two .da-usual, .pd-two .da-noir { font-size: var(--pd-body); }
.page-dopamine .da-pin { min-height: 44px; padding: 6px 14px 6px 6px; font-size: .74rem; }
.page-dopamine .da-pin b { min-width: 30px; height: 30px; }
.pd-two .da-left-out { font-size: .95rem; }
.pd-xr-state::before { content: " · off"; }
[aria-pressed="true"] > .pd-xr-state::before { content: " · on"; }
.pd-why { margin-top: clamp(32px, 5vw, 48px); }
.pd-two .da-why-k, .pd-two .da-after { font-size: var(--pd-body); }
.pd-two .da-fig figcaption { font-size: .875rem; }

/* ---------- 3 · What's inside (black) ---------- */
.pd-inside .h2 { color: var(--paper); }
.pd-inside .h2 .it { color: var(--lime); }
.pd-inside-grid { display: grid; gap: 34px; margin-top: 30px; }
.pd-fig figcaption { color: rgba(244,244,233,.78); font-size: .875rem; }
.pd-fig .da-page img { width: min(78vw, 360px); box-shadow: 0 0 0 1px var(--line-dark), 0 30px 60px -24px rgba(0,0,0,.9); }
.pd-inside-list { display: grid; gap: 26px; }
.pd-item h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.15; color: var(--lime); }
.pd-item p, .pd-ticks { margin-top: 10px; font-size: var(--pd-body); line-height: 1.6; color: rgba(244,244,233,.9); }
.pd-ticks { padding: 0; list-style: none; display: grid; gap: 10px; }
.pd-ticks li { position: relative; padding-left: 26px; }
.pd-ticks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); }
.pd-ticks b { color: var(--paper); }
.pd-map { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1.5px solid var(--line-dark); }
.pd-map-h { font-family: var(--sans); font-weight: 800; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lime); }
.pd-map-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; }
.pd-map-list li { display: grid; grid-template-columns: 5.6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: var(--pd-body); line-height: 1.45; }
.pd-pp { font-family: var(--serif); font-weight: 900; color: var(--lime); white-space: nowrap; }
/* the check (p. 52) beside its item: the page that pays "one page" (NS3, DA6) */
.pd-item--check { display: grid; gap: 18px; align-items: start; }
.pd-check-fig { justify-self: start; }
.pd-check-fig .da-page img { width: min(42vw, 180px); box-shadow: 0 0 0 1px var(--line-dark), 0 22px 44px -20px rgba(0,0,0,.9); }
.pd-check-fig figcaption { color: rgba(244,244,233,.78); font-size: .875rem; }
/* who it's for, from page 2 */
.pd-fit { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1.5px solid var(--line-dark); }
.pd-fit-grid { display: grid; gap: 22px; margin-top: 16px; }
.pd-fit-k { font-family: var(--serif); font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2; color: var(--paper); }
.pd-fit .pd-ticks { margin-top: 10px; font-size: var(--pd-body); line-height: 1.55; color: rgba(244,244,233,.9); }
.pd-ticks--no li::before { top: .74em; height: 3px; border-radius: 2px; background: rgba(244,244,233,.55); }

/* ---------- 4 · Sample (white) ---------- */
.pd-sample-grid { display: grid; gap: 40px; align-items: center; }
.pd-sample-btn { margin-top: 20px; }
.pd-fan { position: relative; height: clamp(250px, 70vw, 380px); width: 100%; max-width: 460px; justify-self: center; }
.pd-fan img { position: absolute; top: 6%; left: 50%; width: 46%; height: auto; border-radius: 6px; box-shadow: var(--shadow-page); background: #fff; }
.pd-fan-1 { transform: translateX(-108%) rotate(-8deg); }
.pd-fan-2 { transform: translateX(-50%) translateY(-4%); z-index: 1; }
.pd-fan-3 { transform: translateX(8%) rotate(7deg); }

/* ---------- 5 · X-Ray strip (black, data-xr-local) ---------- */
.pd-xr .h2 { color: var(--paper); }
.pd-xr .h2 .it { color: var(--lime); }
.pd-xr .pd-lede { color: rgba(244,244,233,.86); }
.pd-strip { margin-top: 30px; }
.pd-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 26px; counter-reset: pdl; }
.pd-lines li { display: grid; gap: 8px; }
.pd-where { padding-left: 26px; font-weight: 800; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,244,233,.6); }
.pd-q { margin: 0; padding: 22px 20px 20px 26px; border-radius: 18px; background: #121212; box-shadow: inset 0 0 0 1px var(--line-dark); }
.pd-q > p { font-family: var(--serif); font-weight: 900; font-size: clamp(1.3rem, 3.2vw, 1.9rem); line-height: 1.2; color: var(--paper); }
/* Fallbacks for the local strip (xray.js local mode): pins show without the header switch, notes open inline under the line. */
.pd-strip .xr-pin { display: block; width: 44px; height: 44px; top: -20px; left: -12px; font-size: .9rem; line-height: 44px; box-shadow: 0 0 0 3px var(--black), 0 6px 16px -6px rgba(0,0,0,.6); }
.pd-strip .xr-note { position: relative; top: auto !important; left: auto !important; width: auto; margin-top: 14px; background: #000; box-shadow: 0 0 0 1px var(--line-dark); }
.pd-strip .xr-note .xr-t { padding-right: 34px; }
.pd-close { margin-top: 30px; font-family: var(--serif); font-style: italic; font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.3; color: var(--paper); max-width: 30em; }

/* ---------- 6 · Price, #offer (lime ground, black card) ---------- */
.pd-offer-card { display: grid; gap: 28px; padding: clamp(24px, 5vw, 56px); border-radius: 28px; background: var(--black); color: var(--paper); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pd-offer-media { display: grid; gap: 20px; justify-items: center; }
.pd-product { width: min(56vw, 240px); height: auto; border-radius: 18px; }
.pd-stack-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pd-stack-list li { padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(239,255,113,.7); color: var(--lime); font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.pd-offer .h2 { margin-top: 0; color: var(--lime); }
.pd-offer .pd-body { color: rgba(244,244,233,.92); }
.pd-last { margin-top: 14px; font-weight: 800; color: var(--lime); }
.pd-last:empty { display: none; }
.pd-guar { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: var(--pd-body); line-height: 1.6; color: rgba(244,244,233,.9); max-width: 38em; }
.pd-guar b { color: var(--paper); }
.pd-guar a { color: inherit; }
.pd-exit { margin-top: 8px; font-size: var(--pd-body); font-weight: 600; line-height: 1.5; color: rgba(244,244,233,.9); }
.pd-exit a { color: var(--lime); }
.pd-offer .pd-fine { color: rgba(244,244,233,.7); opacity: 1; }

/* ---------- 7 · FAQ (paper) ---------- */
.pd-faq-list { margin-top: 26px; }
.pd-faq .answer p { font-size: var(--pd-body); line-height: 1.6; }
.pd-faq .answer a { color: inherit; }

/* ---------- 8 · Final (black) ---------- */
.pd-final { text-align: left; }
.pd-final-h { font-size: clamp(2.4rem, 8vw, 5rem); line-height: .98; letter-spacing: -.02em; color: var(--paper); }
.pd-final-h .it { display: block; color: var(--lime); }
.pd-final-p { margin-top: 18px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.3; color: var(--paper); }
.pd-under--dark { color: rgba(244,244,233,.78); }
.pd-final-exit { margin-top: 6px; color: var(--paper); }

/* ---------- 9 · Cards (paper) ---------- */
.pd-card-grid { display: grid; gap: 18px; }
.pd-card { position: relative; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 3.4vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1.5px var(--black); }
.pd-card-h { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.12; }
.pd-card-p { font-size: var(--pd-body); line-height: 1.55; }
.pd-card-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 48px; margin-top: 4px; padding: 10px 20px; border-radius: 999px; background: var(--black); color: var(--lime); font-weight: 800; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.pd-card-link:hover { transform: translateY(-1px); }

/* Sticky bar: the "until Nov 30" text swaps after the deadline (edition.js) inline, not as a block. */
.bn-over .pbar-t .bn-ended { display: inline !important; }

/* ---------- Small phones ---------- */
@media (max-width: 519px) {
  .page-dopamine .pd-buy, .page-dopamine .pd-sample-btn { width: 100%; padding: 16px 18px; font-size: 1rem; letter-spacing: .08em; }
}

/* ---------- 820+ ---------- */
@media (min-width: 820px) {
  .pd-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
  .pd-cover { transform: translate(-40%, -14%) rotate(-7deg); }
  .pd-cover img { width: 230px; }
  .page-dopamine .mvsl { width: 320px; transform: translateX(14%) rotate(1.5deg); }
  .pd-item--check { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .pd-check-fig .da-page img { width: 150px; }
  .pd-fit-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .pd-stack:has(> .mvsl[hidden]) .pd-cover img { width: 320px; }
  .pd-two .pd-pair { background: rgba(0,0,0,.045); }
  .pd-two .da-row { background: none; }
  .pd-inside-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .pd-map-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .pd-sample-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .pd-offer-card { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center; }
  .pd-product { width: 260px; }
  .pd-card-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pd-lines { grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 30px; }
}
@media (min-width: 1100px) {
  .page-dopamine .mvsl { width: 360px; }
  .pd-cover img { width: 260px; }
}
