:root {
  --ink: #1a1a1a;
  --paper: #fcfbf9;
  --orange: #ed7d50;
  --rose: #dd5859;
  --magenta: #d53274;
  --violet: #93247c;
  --deep-violet: #68267e;
  --line: rgba(26,26,26,.34);
  --shadow: 0 28px 80px rgba(52, 45, 39, .20);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #f5f3ed; }
body { margin: 0; min-width: 320px; background: #f5f3ed; color: var(--ink); font-family: "DM Sans", sans-serif; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 18px; top: -60px; padding: 12px 16px; color: #111; background: #fff; border: 1px solid #111; border-radius: 0 0 10px 10px; transition: top .18s ease; }
.skip-link:focus { top: 0; }
.site-shell { position: relative; min-height: 100vh; overflow: hidden; padding: 24px clamp(16px, 4vw, 64px) 18px; background: #f5f3ed url("/assets/plm-light-background.png") center top / cover fixed no-repeat; }
.site-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(255,255,255,.12); }
.masthead, .deck-stage, .controller, .media-rack, .site-footer { position: relative; z-index: 2; max-width: 1480px; margin-inline: auto; }
.masthead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; color: #1a1a1a; }
.brand-capsule { display: flex; align-items: center; justify-content: center; width: 170px; height: 34px; background: transparent; box-shadow: none; }
.brand-capsule img { width: 170px; height: 34px; object-fit: contain; }
.masthead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.deck-label, .media-kicker { color: #1a1a1a; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title { overflow: hidden; color: #1a1a1a; font-family: "Nunito", sans-serif; font-size: clamp(17px, 2vw, 24px); font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.divider { width: 1px; height: 24px; background: rgba(26,26,26,.42); }
.masthead-actions { display: flex; gap: 10px; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; color: #1a1a1a; background: rgba(255,255,255,.72); border: 1px solid rgba(26,26,26,.6); border-radius: 999px; font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.header-cta:hover { background: #fff; box-shadow: 0 8px 20px rgba(52,45,39,.15); transform: translateY(-1px); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #1a1a1a; background: rgba(255,255,255,.72); border: 1px solid rgba(26,26,26,.42); border-radius: 50%; font-size: 21px; line-height: 1; backdrop-filter: blur(12px); }
.icon-button:hover { background: #fff; }
.deck-stage { margin-top: 22px; }
.stage-glow { display: none; }
.deck-frame { position: relative; overflow: hidden; width: min(100%, 1380px); margin: 0 auto; aspect-ratio: 16/9; background: #fcfbf9; border: 1px solid rgba(26,26,26,.35); border-radius: 18px; box-shadow: var(--shadow); }
.stage-arrow { position: absolute; z-index: 4; top: calc(50% - 4px); display: grid; place-items: center; width: 62px; height: 62px; padding: 0 0 7px; color: #1a1a1a; background: rgba(255,255,255,.88); border: 1px solid rgba(26,26,26,.52); border-radius: 50%; box-shadow: 0 8px 20px rgba(52,45,39,.18); font-family: "Nunito", sans-serif; font-size: 54px; font-weight: 900; line-height: .7; transform: translateY(-50%); transition: transform .18s ease, background .18s ease, opacity .18s ease; }
.stage-arrow-previous { left: 18px; }
.stage-arrow-next { right: 18px; }
.stage-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.stage-arrow:disabled { opacity: .32; cursor: not-allowed; transform: translateY(-50%); }
.slide-viewport { position: absolute; inset: 0; overflow: hidden; background: var(--paper); }
.slide-frame { position: absolute; inset: 0; width: 1280px; height: 720px; border: 0; transform-origin: 0 0; opacity: 1; }
.slide-frame.enter-forward { animation: enterForward .42s cubic-bezier(.22,.77,.18,1) both; }
.slide-frame.enter-backward { animation: enterBackward .42s cubic-bezier(.22,.77,.18,1) both; }
.slide-frame.exit-forward { animation: exitForward .34s ease both; pointer-events: none; }
.slide-frame.exit-backward { animation: exitBackward .34s ease both; pointer-events: none; }
@keyframes enterForward { from { opacity: 0; transform: translateX(4.5%) scale(var(--deck-scale)); } to { opacity: 1; transform: translateX(0) scale(var(--deck-scale)); } }
@keyframes enterBackward { from { opacity: 0; transform: translateX(-4.5%) scale(var(--deck-scale)); } to { opacity: 1; transform: translateX(0) scale(var(--deck-scale)); } }
@keyframes exitForward { from { opacity: 1; transform: translateX(0) scale(var(--deck-scale)); } to { opacity: 0; transform: translateX(-4.5%) scale(var(--deck-scale)); } }
@keyframes exitBackward { from { opacity: 1; transform: translateX(0) scale(var(--deck-scale)); } to { opacity: 0; transform: translateX(4.5%) scale(var(--deck-scale)); } }
.footer-stripe { height: 9px; margin: 0 auto; width: min(100%, 1380px); background: linear-gradient(90deg, var(--orange) 0%, var(--rose) 17.3%, var(--magenta) 43.3%, var(--violet) 77.9%, var(--deep-violet) 100%); border-radius: 0 0 8px 8px; }
.controller { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 18px; color: #1a1a1a; }
.nav-button { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 0 17px; color: #1a1a1a; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.nav-button:hover { background: #fff; transform: translateY(-1px); }
.nav-button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.progress-wrap { display: flex; align-items: center; justify-content: center; gap: 18px; }
.progress-meta { display: flex; gap: 4px; align-items: baseline; font-family: "Nunito", sans-serif; font-size: 14px; font-weight: 900; }
.progress-dots { display: flex; justify-content: center; gap: 5px; max-width: 520px; overflow-x: auto; padding: 6px 3px; scrollbar-width: none; }
.progress-dots::-webkit-scrollbar { display: none; }
.progress-dot { width: 10px; height: 10px; flex: 0 0 10px; padding: 0; border: 1px solid rgba(26,26,26,.72); border-radius: 50%; background: rgba(255,255,255,.6); transition: transform .2s ease, background .2s ease; }
.progress-dot[aria-current="true"] { background: #1a1a1a; transform: scale(1.3); }
.media-rack { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 18px 20px; color: #1a1a1a; border: 1px solid rgba(26,26,26,.34); border-radius: 14px; background: rgba(255,255,255,.76); backdrop-filter: blur(18px); }
.media-copy { display: grid; gap: 4px; }
.media-copy strong { font-family: "Nunito", sans-serif; font-size: clamp(18px, 2vw, 25px); font-weight: 900; }
.media-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.reel-button, .download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.reel-button { color: #1a1a1a; background: #fff; border: 1px solid #1a1a1a; }
.download-button { color: #1a1a1a; background: rgba(255,255,255,.36); border: 1px solid rgba(26,26,26,.66); }
.reel-button:hover, .download-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(53, 43, 43, .16); }
.play-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; color: #fff; background: var(--magenta); border-radius: 50%; font-size: 10px; }
.sound-note { margin-left: 5px; opacity: .72; font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 28px; padding: 22px 0 8px; color: #1a1a1a; font-size: 13px; line-height: 1.55; }
.site-footer p { max-width: 680px; margin: 0; }
.footer-instruction { text-align: right; }
.section-drawer { position: fixed; z-index: 30; top: 0; right: 0; width: min(450px, 100vw); height: 100dvh; padding: 28px; transform: translateX(102%); color: var(--ink); background: var(--paper); box-shadow: -28px 0 70px rgba(33,4,32,.34); transition: transform .34s cubic-bezier(.22,.77,.18,1); overflow-y: auto; }
.section-drawer.is-open { transform: translateX(0); }
.drawer-scrim { position: fixed; inset: 0; z-index: 25; background: rgba(43,8,39,.52); backdrop-filter: blur(2px); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #dfd7dc; font-family: "Nunito", sans-serif; font-size: 23px; font-weight: 900; }
.text-button { color: #1a1a1a; border: 0; background: transparent; font-weight: 800; }
.section-list { display: grid; gap: 2px; margin: 16px 0; padding: 0; list-style: none; }
.section-link { display: grid; grid-template-columns: 34px 1fr; gap: 8px; width: 100%; padding: 12px 8px; color: var(--ink); text-align: left; background: transparent; border: 0; border-radius: 8px; font-weight: 700; }
.section-link:hover, .section-link[aria-current="true"] { color: #1a1a1a; background: #e8e6e1; }
.section-link-number { opacity: .6; font-size: 12px; letter-spacing: .1em; }
.drawer-note { margin-top: 26px; color: #666; font-size: 13px; line-height: 1.5; }
.reel-dialog { width: min(980px, calc(100vw - 28px)); padding: 0; color: var(--ink); border: 0; border-radius: 16px; background: var(--paper); box-shadow: 0 28px 90px rgba(20,0,20,.62); }
.reel-dialog::backdrop { background: rgba(40,4,39,.72); backdrop-filter: blur(5px); }
.dialog-shell { padding: 22px; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.dialog-head .media-kicker { color: #1a1a1a; }
.dialog-head h2 { margin: 4px 0 0; font-family: "Nunito", sans-serif; font-size: clamp(24px, 4vw, 38px); line-height: 1; }
.close-dialog { color: var(--ink); background: #eee; border-color: #ddd; }
.reel-video { display: block; width: 100%; max-height: 70vh; background: #111; border-radius: 8px; }
.dialog-shell p { margin: 13px 0 0; color: #555; font-size: 14px; }
.crawler-content { position: relative; z-index: 2; max-width: 1480px; margin: 40px auto 0; padding: 28px; color: #332334; background: var(--paper); border-radius: 12px; }
.crawler-content h1, .crawler-content h2 { margin: 0; font-family: "Nunito", sans-serif; font-weight: 900; }
.crawler-content h1 { font-size: 28px; }
.crawler-content h2 { margin-top: 18px; font-size: 18px; }
.crawler-content p, .crawler-content ul { max-width: 880px; margin: 10px 0 0; line-height: 1.6; }
.crawler-content ul { padding-left: 20px; }
@media (max-width: 720px) { .site-shell { padding: 15px 12px; } .masthead { grid-template-columns: auto 1fr auto; gap: 10px; min-height: 56px; } .brand-capsule { width: 102px; height: 22px; } .brand-capsule img { width: 102px; height: 22px; } .deck-label, .divider, .section-title { display: none; } .header-cta { min-height: 36px; padding: 0 10px; font-size: 11px; } .icon-button { width: 36px; height: 36px; font-size: 17px; } .masthead-actions { gap: 5px; } .deck-stage { margin-top: 14px; } .deck-frame { border-radius: 10px; } .stage-arrow { width: 42px; height: 42px; padding-bottom: 5px; font-size: 38px; } .stage-arrow-previous { left: 6px; } .stage-arrow-next { right: 6px; } .controller { gap: 8px; margin-top: 12px; } .nav-button { min-width: 40px; min-height: 38px; padding: 0 10px; } .button-word { display: none; } .progress-wrap { gap: 9px; } .progress-dots { max-width: 190px; gap: 4px; } .progress-dot { width: 8px; height: 8px; flex-basis: 8px; } .media-rack { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 15px; padding: 16px; } .media-actions { justify-content: stretch; } .reel-button, .download-button { flex: 1 1 100%; } .site-footer { flex-direction: column; gap: 8px; padding: 18px 4px 6px; } .footer-instruction { text-align: left; } .crawler-content { margin-top: 22px; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }
