/* Dill Playbook ebook site v4. Colors and type from Pixel's brand kit v1 (team/artist/assets/brand-kit-v1):
   Dill Orange #FF9A4B, Nebula Purple #8B5CF6, Lilac #B9A3FF, Deep Space Navy #0E1330, Orbit Blue #1C2A6B.
   Wordmark follows the C2b lockup text: spaced DILL in orange (Montserrat 800) over a DILLSLINGER line in lilac (Inter 700). Fonts are OFL-1.1. */
@font-face { font-family: "Kanit"; src: url("assets/fonts/Kanit-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("assets/fonts/Kanit-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-opsz-wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --bg:#05060d; --bg-alt:#0b0e1f; --card:#121633; --line:rgba(185,163,255,.16); --orange:#FF9A4B; --purple:#8B5CF6; --lilac:#B9A3FF; --navy:#0E1330; --blue:#1C2A6B; --yellow:#FFD23F; --text:#fff; --muted:#a7acc8; --wrap:1180px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", system-ui, sans-serif; }
a { color: var(--orange); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draft-strip { background: var(--navy); color: var(--lilac); text-align: center; font-size: 12px; letter-spacing: .06em; padding: 6px 16px; border-bottom: 1px solid var(--line); }
/* header + wordmark */
.top { position: sticky; top: 0; z-index: 5; background: rgba(5,6,13,.94); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { text-decoration: none; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wm-main { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: .32em; color: var(--orange); }
.wm-sub { font-family: "Inter", sans-serif; font-weight: 700; font-size: 9.5px; letter-spacing: .34em; color: var(--lilac); margin-top: 5px; }
.top-nav { display: flex; align-items: center; gap: 26px; }
.top-nav a:not(.pill) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top-nav a:not(.pill):hover { color: #fff; }
/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border: 0; border-radius: 999px; background: var(--orange); color: var(--navy); text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 28px rgba(255,154,75,.25); transition: transform .15s; }
.pill:hover { transform: translateY(-2px); }
.pill:disabled { opacity: .6; cursor: wait; }
.pill--sm { padding: 10px 20px; font-size: 12px; }
.pill--block { display: flex; width: 100%; }
.pill--ghost { background: transparent; color: #fff; border: 2px solid rgba(185,163,255,.45); box-shadow: none; }
.pill .lock { width: 14px; height: 14px; stroke: currentColor; }
/* hero */
.hero { padding: 64px 0 72px; background: radial-gradient(700px 420px at 90% 0%, rgba(139,92,246,.24), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.7fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 10px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--lilac); }
h1, h2 { font-family: "Kanit", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(46px, 6.2vw, 88px); line-height: .92; margin: 0 0 18px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1; margin: 0 0 10px; }
.hl { color: var(--orange); }
.hero-intro p { color: #dfe2f3; font-size: 17px; max-width: 620px; }
.voice { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--purple); background: rgba(139,92,246,.08); border-radius: 0 10px 10px 0; color: #d9d2ff; font-size: 15px; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; margin: 22px 0 26px; }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; color: var(--muted); font-size: 14px; }
.stats b { color: #fff; font-family: "Montserrat", sans-serif; font-size: 18px; margin-right: 4px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cover { margin: 0; }
.cover img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
/* bands */
.band { padding: 80px 0; }
.band--alt { background: var(--bg-alt); }
.sub { margin: 0 0 30px; color: var(--muted); max-width: 720px; }
/* play cards */
.plays { display: grid; gap: 22px; }
.play { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; scroll-margin-top: 90px; }
.play-name { margin: 0 0 8px; font-family: "Kanit", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1.05; color: var(--orange); }
.play-text p, .play-text li { color: #dfe2f3; font-size: 15.5px; }
.play-text strong { color: var(--lilac); }
.play-text ol, .play-text ul { padding-left: 1.3em; margin: 6px 0 12px; }
.play-media { display: grid; gap: 12px; align-content: start; }
.slot { margin: 0; border-radius: 14px; overflow: hidden; }
.slot img { display: block; width: 100%; height: auto; background: #fff; }
.slot--diagram .slot-empty { aspect-ratio: 4 / 3; }
.slot--video .slot-empty { aspect-ratio: 16 / 9; }
.slot-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid rgba(185,163,255,.28); border-radius: 14px; background: linear-gradient(160deg, rgba(28,42,107,.35), rgba(14,19,48,.6)); color: var(--muted); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.slot-empty svg { width: 44px; height: 44px; fill: none; stroke: rgba(185,163,255,.6); stroke-width: 1.6; }
.cta-inline { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 2px solid var(--orange); border-radius: 18px; padding: 20px 26px; background: rgba(255,154,75,.06); }
.cta-inline p { margin: 0; color: #dfe2f3; }
/* full playbook grid (locked preview) */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.fcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.fcard--free { border: 2px solid var(--orange); }
.fcard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fcard h3 { margin: 0; margin-right: auto; font-family: "Kanit", sans-serif; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.fcount { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.tag--free { background: var(--orange); color: var(--navy); }
.tag--lock { background: rgba(185,163,255,.14); color: var(--lilac); }
.tag--red { background: rgba(139,92,246,.22); color: #e2d9ff; }
.tag .lock { width: 11px; height: 11px; stroke: currentColor; }
.lock { fill: none; stroke: var(--lilac); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.plist { list-style: none; padding: 0; margin: 0 0 14px; }
.plist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.plist li:last-child { border-bottom: 0; }
.plist a { color: #fff; text-decoration: none; }
.plist a:hover { color: var(--orange); }
.plist--locked li .lock { width: 15px; height: 15px; }
.blurred { display: grid; gap: 8px; margin: 2px 0 18px; filter: blur(3px); opacity: .55; }
.blurred i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(185,163,255,.55), rgba(185,163,255,.18)); }
.blurred i.s { width: 62%; }
.fcard .pill--block { margin-top: auto; }
/* buy card */
.buy-card { max-width: 440px; margin: 0 auto; text-align: center; background: var(--card); border: 2px solid var(--orange); border-radius: 18px; padding: 28px 30px 30px; }
.buy-name { margin: 0; font-family: "Kanit", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; color: var(--lilac); }
.buy-price { margin: 4px 0; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 56px; line-height: 1.1; }
.buy-meta { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.buy-meta.small { margin: 14px 0 0; font-size: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.copy-list { padding-left: 1.2em; line-height: 1.7; color: #dfe2f3; }
/* signup box (not connected to any service) */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(28,42,107,.3)); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.signup .sub { margin: 0; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input, .co-form input { flex: 1 1 220px; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(185,163,255,.35); background: #0a0d22; color: #fff; font: inherit; }
.signup-msg { flex-basis: 100%; margin: 4px 0 0; color: var(--yellow); font-weight: 600; }
/* FAQ */
.faq { max-width: 780px; margin: 16px 0 0; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 6px 0 0; color: #dfe2f3; }
/* legal / utility pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1; margin: 8px 0 18px; }
.legal h2 { font-family: "Montserrat", sans-serif; font-style: normal; font-size: 14px; letter-spacing: .16em; color: var(--lilac); margin: 30px 0 8px; }
.legal p, .legal li { color: #dfe2f3; line-height: 1.7; }
.muted { color: var(--muted); }
.contact-big { font-size: 22px; font-weight: 700; }
.demo-banner { border: 2px dashed var(--yellow); border-radius: 14px; padding: 14px 18px; background: rgba(255,210,63,.08); color: #fff3c4; margin-bottom: 22px; }
.demo-banner strong { color: var(--yellow); margin-right: 8px; letter-spacing: .1em; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.summary, .co-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sum-row b { font-family: "Montserrat", sans-serif; font-size: 22px; }
.co-form { display: grid; gap: 10px; }
.co-form label { font-weight: 600; font-size: 14px; color: var(--muted); }
.co-err { color: #ffb4a8; margin: 0; }
/* members area */
.mwrap { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 34px; padding-top: 32px; padding-bottom: 72px; }
.mnav { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.home-link { display: block; padding: 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.fnav { list-style: none; margin: 0; padding: 0; }
.fnav a { display: flex; gap: 8px; padding: 9px 10px; border-radius: 10px; color: #e6e8f5; text-decoration: none; font-weight: 600; font-size: 14px; }
.fnav a[aria-current="page"] { background: rgba(255,255,255,.07); box-shadow: inset 3px 0 0 var(--orange); }
.fnav .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.mcontent h1 { font-size: clamp(36px, 4.6vw, 60px); }
.mcontent > p, .mcontent li { color: #dfe2f3; }
/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 52px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.foot-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-cols h3 { margin: 0 0 12px; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.foot-cols a:hover { color: var(--orange); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: #8a8fb0; font-size: 12px; }
@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .top-row { height: 64px; }
  .top-nav a:not(.pill) { display: none; }
  .wm-main { font-size: 21px; }
  .hero { padding: 36px 0 52px; }
  .hero-grid, .play, .two-col, .signup, .co-grid, .mwrap { grid-template-columns: minmax(0,1fr); }
  .hero-grid { gap: 28px; }
  .cover { max-width: 220px; }
  .cta-row .pill { width: 100%; }
  .band { padding: 52px 0; }
  .play { padding: 20px; gap: 18px; }
  .play-name { font-size: 25px; }
  .fgrid { grid-template-columns: minmax(0,1fr); }
  .signup { padding: 22px; }
  .mnav { position: static; }
  .foot-cols { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* v4b: pull-quote, formation line, patch note */
.pull { margin: 18px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); }
.pull p { margin: 0; font-family: "Kanit", sans-serif; font-style: italic; font-weight: 800; font-size: 20px; line-height: 1.35; color: #fff; }
.pull cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--lilac); letter-spacing: .06em; }
.fline { margin: 0 0 12px; color: #dfe2f3; font-size: 14px; line-height: 1.5; }
.mcontent .fline { font-size: 17px; color: var(--orange); font-weight: 600; }
.patch-note { margin: 12px 0 0; color: var(--lilac); font-size: 14px; font-weight: 600; }
.sub + .patch-note { margin: -18px 0 28px; }
@media (max-width: 860px) { .pull p { font-size: 18px; } }

/* v4c: real diagrams. A play with diagrams stacks: text, then diagrams (2-up for setups), then the video slot. */
.play.has-diagram { grid-template-columns: minmax(0,1fr); }
.play.has-diagram .play-media { gap: 16px; }
.diagrams { display: grid; gap: 16px; }
.diagrams--multi { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.slot--diagram img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #0E1330; }
.slot--diagram figcaption { margin-top: 8px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.play.has-diagram .slot--video { max-width: 520px; }
@media (max-width: 860px) { .diagrams--multi { grid-template-columns: minmax(0,1fr); } }

/* v4d: tap-to-zoom lightbox (js/zoom.js) */
a.zoom { display: block; cursor: zoom-in; border-radius: 12px; }
a.zoom:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5,6,13,.94); display: flex; flex-direction: column; touch-action: pinch-zoom pan-x pan-y; }
.lightbox[hidden] { display: none; }
.lb-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 56px 12px 12px; -webkit-overflow-scrolling: touch; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: zoom-in; border-radius: 8px; }
.lightbox.is-100 .lb-stage { display: block; }
.lightbox.is-100 .lb-img { max-width: none; max-height: none; width: 2400px; cursor: zoom-out; }
.lb-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 2px solid rgba(185,163,255,.5); background: var(--navy); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lb-hint { margin: 0; padding: 8px 16px 14px; text-align: center; color: var(--muted); font-size: 13px; }
@media (min-width: 861px) { .lightbox.is-100 .lb-img { width: 2400px; } }

/* v4e: FREE vs PAID */
.badge { display: inline-flex; align-items: center; gap: 5px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-radius: 6px; padding: 4px 9px; white-space: nowrap; line-height: 1.2; flex: none; }
.badge--free { background: #2fd07a; color: #04210f; }
.badge--paid { background: rgba(185,163,255,.14); color: var(--lilac); border: 1px solid rgba(185,163,255,.45); }
.badge .lock { width: 12px; height: 12px; stroke: currentColor; }
.badge--xs { font-size: 9px; padding: 2px 6px; margin-left: 6px; }
.play-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.play-head .play-name { margin: 0; }
.play--free { border-color: rgba(47,208,122,.45); }
.tier { margin-top: 34px; }
.tier-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.tier--free .tier-head { border-color: rgba(47,208,122,.5); }
.tier--paid .tier-head { border-color: rgba(185,163,255,.45); }
.tier-title { margin: 0; font-family: "Kanit", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; }
.tier-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 14px; }
.fcard--free { border-color: #2fd07a; }
.fcard--free .plist li, .fcard--locked .plist li { justify-content: space-between; }
.fcard--locked { background: linear-gradient(180deg, rgba(18,22,51,.75), rgba(10,13,34,.9)); border-style: dashed; }
.fcard--locked .fcard-top h3, .fcard--locked .plist li > span, .fcard--locked .fcount, .fcard--locked .fline { opacity: .62; }
.fcard--locked .plist li > span { filter: blur(.3px); }
.tiers-summary { display: grid; gap: 10px; margin: 22px 0 26px; max-width: 620px; }
.tsum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: #dfe2f3; font-size: 15px; }
.tsum b { color: #fff; }
.tsum--free { background: rgba(47,208,122,.08); border: 1px solid rgba(47,208,122,.45); }
.tsum--paid { background: rgba(185,163,255,.06); border: 1px dashed rgba(185,163,255,.45); }
.top-nav .nav-free { color: #7ee6ab; }
.top-nav .nav-paid { color: var(--lilac); }
.fnav .badge--xs { margin-right: auto; }
@media (max-width: 1080px) { .top-nav a.nav-paid { display: none; } }
.fcard--free .tag--free { background: #2fd07a; color: #04210f; }
