.df-wrap { max-width: 1040px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) 16px 24px; }
.df-hero { text-align: center; max-width: 40em; margin: 0 auto clamp(26px, 4vw, 44px); }
.df-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; line-height: 1.1; margin: 12px 0 10px; }
.df-hero p { color: var(--muted); font-size: 17px; margin: 0; }
.df-sec { margin: 0 auto clamp(40px, 6vw, 80px); }
.df-sec > header { text-align: center; margin-bottom: 18px; }
.df-sec h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; margin: 0 0 6px; }
.df-sec header p { color: var(--muted); margin: 0; font-size: 15.5px; }
.df-stage { max-width: 940px; margin: 0 auto; }
.df-view { position: relative; aspect-ratio: 1440 / 810; overflow: hidden; background: var(--bg); contain: layout paint; }
.df-scene { position: absolute; inset: 0; transition: opacity .45s ease; }
.df-scene.out { opacity: 0; }
.df-cam { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; transform-origin: 0 0; will-change: transform; }
.df-cam img { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; opacity: 0; transition: opacity .35s ease; display: block; }
.df-cam img.on { opacity: 1; }
.df-cur { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -3px 0 0 -3px; pointer-events: none; z-index: 4; filter: drop-shadow(0 2px 3px rgba(11, 27, 58, .35)); will-change: transform; }
.df-cur svg { width: 100%; height: 100%; display: block; }
.df-rip { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; pointer-events: none; z-index: 3; }
.df-rip.go { animation: dfRip .55s ease-out; }
@keyframes dfRip { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.3); } }
.df-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.df-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2, #cfd7e6); cursor: pointer; transition: background .2s, transform .2s; }
.df-dots button[aria-current=true] { background: var(--brand); transform: scale(1.35); }
.df-dots button:focus-visible { outline: 3px solid #9bb8ff; outline-offset: 2px; }
.df-foot { text-align: center; margin: 8px auto 0; }
.df-foot p { color: var(--muted); margin: 0 0 14px; }
@media (max-width: 720px) { .df-cur { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .df-cam img { transition: none; } .df-rip.go { animation: none; } }
/* captions + badge (editions, plots) */
.df-badge { position: absolute; bottom: 14px; right: 14px; z-index: 5; padding: 5px 11px; border-radius: 999px; font: 600 12px/1 Inter, system-ui, sans-serif; color: #fff; background: rgba(11, 27, 58, .82); backdrop-filter: blur(6px); letter-spacing: .01em; }
.df-cap { position: absolute; left: 14px; bottom: 14px; z-index: 5; max-width: min(62%, 420px); padding: 11px 15px 12px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, rgba(31, 79, 216, .94), rgba(91, 148, 255, .92)); box-shadow: 0 10px 30px rgba(11, 27, 58, .35); opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.df-cap.on { opacity: 1; transform: none; }
.df-cap b { display: block; font: 700 clamp(14px, 2vw, 19px)/1.15 Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.df-cap span { display: block; margin-top: 3px; font: 450 clamp(11.5px, 1.4vw, 13.5px)/1.35 Inter, system-ui, sans-serif; opacity: .92; }
.df-cap span:empty { display: none; }
@media (max-width: 560px) { .df-cap { left: 8px; bottom: 8px; max-width: 80%; padding: 8px 11px; } .df-badge { bottom: 8px; right: 8px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .df-cap { transition: none; } }
/* editions section */
.df-ed { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 940px; margin: 22px auto 0; }
.df-ed article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.df-ed h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.02em; }
.df-ed .who { color: var(--brand); font-weight: 600; font-size: 13px; margin: 0 0 8px; }
.df-ed ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.df-ed-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }
@media (max-width: 720px) { .df-ed { grid-template-columns: 1fr; } }
/* home: plots customization */
.pl-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pl-txt h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.04em; line-height: 1.08; margin: 12px 0 12px; }
.pl-txt > p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.pl-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 4px; }
.pl-list button { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; background: none; font: inherit; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.pl-list button b { font-weight: 650; font-size: 15px; white-space: nowrap; }
.pl-list button span { color: var(--muted); font-size: 13.5px; }
.pl-list button:hover { background: var(--surface-2, #f3f6fc); }
.pl-list button.on { background: var(--surface, #fff); border-color: var(--brand); box-shadow: 0 6px 18px rgba(31, 79, 216, .14); transform: translateX(6px); }
.pl-list button.on b { color: var(--brand); }
.pl-list button:focus-visible { outline: 3px solid #9bb8ff; outline-offset: 2px; }
.pl-stage { position: relative; }
.pl-stage::before { content: ''; position: absolute; inset: -6% -4% -6% 6%; z-index: -1; border-radius: 28px; background: linear-gradient(135deg, #dfe9ff, #f3ecff 60%, #e1f6f0); filter: blur(2px); }
.pl-stage .win { box-shadow: 0 40px 90px rgba(31, 79, 216, .22); transform: perspective(1400px) rotateY(-4deg); }
.pl-stage .df-cap { display: none; }
@media (max-width: 880px) { .pl-grid { grid-template-columns: 1fr; } .pl-stage { order: 2; } .pl-stage .win { transform: none; } .pl-list button span { display: none; } .pl-list { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .pl-list button { transition: none; } .pl-list button.on { transform: none; } }
