/* julianmartin.pro — V2 additions.
   styles.css (V1) is untouched; this file only adds the multipage components and reuses
   the same tokens: DM Sans + Instrument Serif, --ink, --muted, --line, --alt, --ease. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.title.small { font-size: clamp(40px, 5vw, 72px); }
.note { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 760px; margin: 28px 0 0; }
.actions.left { justify-content: flex-start; }
code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: .92em; }
/* Image baseline for V2 components only (V1 styles its portrait itself). */
main img { max-width: 100%; height: auto; }
.pv img, .hv img, .dm img, .shot img, .feat-media img, .dm-shot img { display: block; width: 100%; }

/* ---------- Header: active page + mobile-only Download entry ---------- */
.navlinks a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.navlinks .nav-dl { display: none; }
@media (min-width: 761px) and (max-width: 940px) {
  .navlinks { gap: 14px; font-size: 11px; }
  .navin { gap: 18px; }
  .brand-wordmark { font-size: 21px; }
  .nav .btn { padding-inline: 18px; gap: 12px; }
}
@media (max-width: 400px) {
  .navlinks .nav-dl { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; }
}

/* ---------- Breadcrumbs + explore links ---------- */
.crumbs { padding-top: 22px; font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #b9b4ae; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #cfcac4; }
.crumbs a:hover { color: var(--ink); }
.case-page .crumbs { position: relative; z-index: 2; }
.explore-row { margin-top: 48px; display: flex; }
.explore-row.center { justify-content: center; }
.explore-link { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .045em; border-bottom: 1px solid currentColor; padding-bottom: 6px; transition: gap .3s var(--ease); }
.explore-link:hover { gap: 22px; }
.explore-link i { font-style: normal; }
a.project { color: inherit; }
.center-copy { margin-inline: auto; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 96px; }
.page-hero::before { content: ''; position: absolute; z-index: -1; inset: 40% -20% -40%; background: radial-gradient(ellipse at 20% 60%, rgba(172,70,187,.20), transparent 50%), radial-gradient(ellipse at 60% 50%, rgba(238,99,154,.18), transparent 52%), radial-gradient(ellipse at 90% 40%, rgba(255,215,138,.26), transparent 45%); filter: blur(30px); }
.page-hero h1, .phero h1 { margin: 0; max-width: 1000px; line-height: .95; letter-spacing: -.07em; font-weight: 650; }
.page-hero h1 em, .phero h1 em { font-size: 1.09em; }
.page-hero h1 { font-size: clamp(56px, 8vw, 112px); }
.page-hero .copy { max-width: 700px; }
.page-hero .actions { margin-top: 36px; }
.page-hero.nf { min-height: 60vh; }
.page-hero + .section { padding-top: clamp(44px, 5vw, 76px); }

/* ---------- Products bento (home + /products/) ---------- */
.pbento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 70px; }
.pcard { --pc: #555; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 470px; padding: 32px; border: 1px solid #e4e0dc; border-radius: 8px; background: #fff; color: inherit; transition: transform .45s var(--ease), box-shadow .45s; }
.pcard::before { content: ''; position: absolute; z-index: -1; inset: 30% -30% -50%; background: radial-gradient(ellipse at 70% 70%, rgba(var(--pcr), .26), transparent 64%); transition: transform .7s var(--ease); }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(30,20,15,.07); }
.pcard:hover::before { transform: scale(1.08); }
.pcard-thundy { grid-column: span 4; }
.pcard-thunderland-launcher { grid-column: span 2; }
.pcard-thunderscreen, .pcard-wordpress-plugins { grid-column: span 3; }
.pcard-pov { grid-column: span 6; }
.pcard-thundy, .pcard-pov { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); grid-template-rows: 1fr auto; column-gap: 40px; row-gap: 0; }
.pcard-thundy .pcard-copy, .pcard-pov .pcard-copy { grid-column: 1; grid-row: 1; }
.pcard-thundy .pv, .pcard-pov .pv { grid-column: 2; grid-row: 1 / 3; }
.pcard-thundy > .explore, .pcard-pov > .explore { grid-column: 1; grid-row: 2; }
.pcard-copy { position: relative; z-index: 1; }
.pcard-head { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.pcard-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.pcard-logo.wide { width: auto; height: 30px; }
.pcard-cat { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard h2, .pcard h3 { font-size: clamp(36px, 3.6vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.06em; margin: 26px 0 12px; }
.pcard-tag { font: italic clamp(21px, 1.9vw, 26px)/1.2 var(--serif); margin: 0 0 14px; letter-spacing: -.02em; }
.pcard-tag em { font-style: italic; }
.pcard-desc { font-size: 15px; color: #545150; margin: 0; max-width: 430px; line-height: 1.6; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.pcard-meta li { border: 1px solid rgba(var(--pcr), .25); border-radius: 999px; padding: 5px 11px; font-size: 10.5px; background: rgba(255,255,255,.7); }
.pcard-meta .st { display: inline-flex; align-items: center; gap: 7px; }
.pcard-meta .st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1d9a5b; }
.pcard-meta .st-private::before { background: #8b8681; }
.pcard > .explore { border-top-color: rgba(var(--pcr), .22); margin-top: 0; padding-top: 18px; }
.pcard-thundy > .explore, .pcard-pov > .explore { margin-top: 28px; }
.explore i { font-style: normal; transition: transform .3s var(--ease); }
.pcard:hover .explore i, .project:hover .explore i, .rel-card:hover .explore i, .suite-card:hover .explore i { transform: translateX(5px); }

/* Card visuals */
.pv { position: relative; flex: 1; min-height: 200px; pointer-events: none; }
.pv img { height: auto; object-fit: contain; }
.pv-shot { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(20,10,40,.35); background: #111; }
.pv-thundy { min-height: 420px; }
.pv-thundy .pv-back { position: absolute; width: 60%; left: 0; top: 2%; transform: rotate(-3deg); opacity: .96; }
.pv-thundy .pv-front { position: absolute; width: 60%; right: 0; top: 16%; }
.pv-thundy .pv-char { position: absolute; width: 27.2%; left: 6%; bottom: 0; transform: translate(-9.5%, 9.5%); filter: drop-shadow(0 12px 20px rgba(91,22,224,.35)); }
.pv-launcher { display: flex; align-items: flex-end; }
.pv-launcher, .pv-ts { min-height: 0; }
.pv-launcher .pv-shot, .pv-ts .pv-shot { width: 100%; }
.pv-ts { display: flex; align-items: flex-end; }
.pv-plugins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: end; }
.pv-mod { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 8px; background: rgba(var(--mcr), .1); border: 1px solid rgba(var(--mcr), .22); min-height: 104px; }
.pv-mod img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; margin-bottom: 6px; }
.pv-mod img.wide { width: auto; height: 24px; max-width: 100%; }
.pv-mod b { font-size: 14px; font-weight: 550; letter-spacing: -.02em; }
.pv-mod small { font-size: 11px; color: var(--muted); line-height: 1.35; }
.pv-pov { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.pv-pov-shot { border-radius: 8px; }
.pov-stage { position: relative; padding: 18px 16px 16px; border-radius: 10px; background: #0b0d14; }
.pov-screen { height: 6px; margin: 0 14% 18px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(90deg, #e8738f, #f5a06b, #8e8ac4); box-shadow: 0 6px 22px rgba(232,115,143,.55); }
.pov-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 5px; }
.pov-grid i { aspect-ratio: 1; border-radius: 3px 3px 2px 2px; background: #3a3f52; }
.pov-grid i.s { background: #232634; }
.pov-grid i.h { background: #f5a06b; box-shadow: 0 0 10px rgba(245,160,107,.8); }

/* ---------- Product pages ---------- */
.product-page { --pc: #555; --pcr: 90,90,90; --cr: var(--pcr); --ca: var(--pc); }
.phero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 96px; }
.phero::before { content: ''; position: absolute; z-index: -1; inset: 30% -25% -30%; background: radial-gradient(ellipse at 70% 55%, rgba(var(--pcr), .30), transparent 58%), radial-gradient(ellipse at 15% 75%, rgba(var(--pcr), .12), transparent 50%); filter: blur(30px); }
.phero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.phero-cat { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.phero-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.phero-logo.wide { width: auto; height: 30px; }
.phero h1 { font-size: clamp(56px, 7.4vw, 108px); line-height: .95; overflow-wrap: break-word; }
.phero h1.long-word { font-size: clamp(40px, 5.4vw, 80px); }
.phero-tag { font: italic clamp(26px, 3vw, 40px)/1.15 var(--serif); margin: 22px 0 0; letter-spacing: -.02em; }
.phero .copy { margin-top: 22px; }
.phero .actions { margin-top: 32px; }
.phero-meta { margin-top: 24px; }
.hv { position: relative; }
.hv img { height: auto; object-fit: contain; }
.hv-thundy { min-height: 520px; }
.hv-thundy .hv-a { position: absolute; width: 58%; left: 0; top: 2%; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(20,10,40,.45); transform: rotate(-2.5deg); }
.hv-thundy .hv-b { position: absolute; width: 58%; right: 0; top: 14%; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(20,10,40,.45); }
.hv-thundy .hv-char { position: absolute; width: 32.1%; left: 30%; bottom: -2%; transform: translate(-9.5%, 9.5%); filter: drop-shadow(0 16px 26px rgba(91,22,224,.4)); }
.hv-wide img { border-radius: 12px; box-shadow: 0 34px 70px -24px rgba(20,10,40,.5); }
.hv-plugins .pv-plugins { min-height: 0; }
.hv-plugins .pv-mod { background: rgba(255,255,255,.75); min-height: 140px; padding: 20px; }
.hv-pov { display: flex; flex-direction: column; gap: 18px; }
.hv-pov-shot img { border-radius: 10px; }
.hv-mark { display: grid; place-items: center; min-height: 340px; border-radius: 14px; background: #fff; border: 1px solid #e4e0dc; padding: 48px; }
.hv-mark.dark { background: var(--pink); border-color: transparent; }
.hv-mark img { max-width: 420px; max-height: 160px; width: 100%; }
.on-yellow .hv-mark.dark { background: #0f0f0f; }

/* In-page navigation */
.subnav { position: sticky; top: var(--nav); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 15px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.on { color: var(--ink); border-bottom-color: var(--pc, var(--ink)); }
.product-page .section, .capx { scroll-margin-top: calc(var(--nav) + 56px); }
.product-page .eyebrow { color: var(--ink); }
.product-page .title em, .phero-tag em { color: inherit; }

.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 56px; }
.split-head .copy { margin: 0; }
.blockhead { font: italic clamp(26px, 2.4vw, 34px)/1.15 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; font-weight: 400; }
.ps-story .casesticky h2 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; margin: 0; }
.ps-story .caseblock + .caseblock { padding-top: 32px; }
.ps-story .casebody { display: grid; gap: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.feat-grid.compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feat { border-top: 1px solid var(--line); padding-top: 18px; }
.feat h3 { font-size: 21px; font-weight: 500; letter-spacing: -.035em; margin: 16px 0 8px; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.feat small { font: italic 22px var(--serif); color: var(--pc); }
.feat-media { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #0c0a14; aspect-ratio: 1; cursor: zoom-in; }
.feat-media img { height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.feat-media:hover img { transform: scale(1.04); }

.deflist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
.deflist > div { display: grid; grid-template-columns: minmax(130px, .38fr) 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.deflist dt { font-weight: 550; font-size: 15px; letter-spacing: -.01em; }
.deflist dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hierarchy { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 40px; counter-reset: h; }
.hierarchy li { display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(var(--pcr), .1); font-size: 13px; }
.hierarchy li + li::before { content: '›'; margin-right: 6px; color: var(--muted); }

.gallery { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.g-1 { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.gallery.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { margin: 0; }
.shot-btn { display: block; width: 100%; padding: 0; border: 1px solid #e4e0dc; border-radius: 10px; overflow: hidden; background: #0c0a14; cursor: zoom-in; }
.shot-btn img { height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.shot-btn:hover img { transform: scale(1.025); }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

.timeline { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.timeline li { position: relative; padding-top: 30px; border-top: 2px solid var(--pc); }
.timeline li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--pc); }
.timeline time { font: italic 22px var(--serif); }
.timeline h3 { font-size: 20px; font-weight: 500; letter-spacing: -.03em; margin: 10px 0 8px; }
.timeline p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.mode { padding: 28px; border-radius: 8px; background: #fff; border: 1px solid #e4e0dc; }
.mode code { font-size: 12px; color: var(--muted); }
.mode h3 { font-size: 24px; font-weight: 500; letter-spacing: -.04em; margin: 16px 0 10px; }
.mode p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.7; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
.compare .panel { border-top-color: var(--pc); }
.compare .panel h3 { font: italic 38px/1.1 var(--serif); letter-spacing: -.025em; margin: 0 0 18px; font-weight: 400; }
.compare .panel p { color: var(--muted); line-height: 1.75; }
.demo-links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }

.tech .stack { margin: 0; }
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.stack > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.stack dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.stack dd { margin: 0; font-size: 15px; line-height: 1.65; }
.stack.single { grid-template-columns: 1fr; }
.code { margin: 0 0 40px; padding: 22px 24px; border-radius: 10px; background: #141414; color: #f2efe9; overflow-x: auto; font-size: 13px; line-height: 1.7; }
.diagram { margin: 56px 0 0; }
.diagram figcaption { margin-top: 14px; font-size: 12px; color: var(--muted); }
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 10px; background: #fff; border: 1px solid #e4e0dc; }
.layer-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.layer ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.layer li { padding: 7px 13px; border-radius: 999px; background: rgba(var(--pcr), .1); border: 1px solid rgba(var(--pcr), .2); font-size: 13px; }
.dg-modules .layers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dg-modules .layer { grid-template-columns: 1fr; align-content: start; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.flow li { padding: 10px 16px; border-radius: 8px; background: #fff; border: 1px solid #e4e0dc; font-size: 14px; }
.flow li + li::before { content: '→'; margin-right: 10px; color: var(--pc); }
.flow.small { margin: 4px 0 16px; }
.flow.small li { padding: 7px 12px; font-size: 13px; background: rgba(var(--pcr), .06); }
.details-group { margin-top: 48px; border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; width: 14px; height: 14px; flex: none; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; inset: 6px 0 auto; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc[open] summary i::after { transform: rotate(0); }
.acc-body { padding: 0 0 26px; max-width: 820px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.acc-body p { margin: 0 0 12px; }
.acc-body ul { margin: 0 0 12px; padding-left: 20px; }
.acc-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.caps-section .chips { margin-top: 42px; }
.caps-section .chip, .case-page .chip { list-style: none; }
.product-page .chip { border-color: rgba(var(--pcr), .28); }
.chips { padding: 0; margin: 0; }
.caps-link { margin-top: 36px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.caps-link a { display: inline-flex; gap: 12px; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.caps-link i { font-style: normal; }
.status { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.notes { margin: 24px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Suites */
.suite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.suite-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 330px; padding: 30px; border-radius: 8px; border: 1px solid #e4e0dc; background: #fff; transition: transform .45s var(--ease), box-shadow .45s; }
.suite-card::before { content: ''; position: absolute; z-index: -1; inset: 40% -30% -50%; background: radial-gradient(ellipse at 70% 70%, rgba(var(--scr), .26), transparent 64%); }
.suite-card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(30,20,15,.07); }
.suite-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.suite-top img { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; }
.suite-top img.wide { width: auto; height: 30px; }
.suite-top small { font-size: 10.5px; color: var(--muted); text-align: right; }
.suite-card h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.055em; line-height: 1; margin: 34px 0 10px; }
.suite-tag { font: italic 22px/1.2 var(--serif); margin: 0 0 12px; }
.suite-card p { font-size: 15px; color: #545150; margin: 0; line-height: 1.6; }
.suite-card .explore { margin-top: auto; padding-top: 18px; border-top-color: rgba(var(--scr), .25); }
.suite-card p.suite-tag { color: var(--ink); }

/* Related + keep exploring */
.related { padding-top: clamp(70px, 8vw, 110px); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.rel-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 26px; border-radius: 8px; border: 1px solid #e4e0dc; background: #fff; transition: transform .45s var(--ease), box-shadow .45s; }
.rel-card::before { content: ''; position: absolute; z-index: -1; inset: 50% -30% -60%; background: radial-gradient(ellipse at 70% 80%, rgba(var(--rcr), .22), transparent 62%); }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(30,20,15,.07); }
.rel-kind { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.rel-card strong { font-size: 28px; font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.rel-card p { margin: 0; font-size: 14px; color: #545150; line-height: 1.6; }
.rel-card .explore { margin-top: auto; border-top-color: rgba(var(--rcr), .22); }
.rel-note { margin-top: -40px; padding-bottom: 20px; }
.keep { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; margin-bottom: 90px; padding-top: 28px; border-top: 1px solid var(--line); }
.keep p { margin: 0; font: italic 30px var(--serif); }
.keep-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rel-cta .keep-links { margin-top: 8px; }

/* ---------- Project pages ---------- */
.case-page .casehero { min-height: 500px; padding-top: 60px; }
.casehero h1 { font-size: clamp(62px, 10vw, 146px); line-height: .98; font-weight: 550; letter-spacing: -.065em; margin: 28px auto; max-width: none; overflow-wrap: anywhere; }
.casehero .case-role { margin-top: 26px !important; font: 500 11px/1.4 var(--sans) !important; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.casesticky .h3 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; margin: 0; }
.panel .h4 { font: italic 42px/1.1 var(--serif); letter-spacing: -.025em; margin: 0 0 28px; font-weight: 400; }
.init .h4 { margin: 40px 0 16px; font-size: 24px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.case-impact .impact-text { font-size: clamp(26px, 3.2vw, 44px); font-weight: 450; line-height: 1.3; letter-spacing: -.035em; }
.case-page .related .eyebrow { color: var(--ink); }
.case-page .rel-note { margin-top: 0; }

/* ---------- Profile + capabilities ---------- */
.roles { list-style: none; margin: 56px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.roles a { display: grid; grid-template-columns: 16px minmax(180px, .8fr) minmax(160px, .7fr) 1.4fr 24px; gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); transition: background .3s; }
.roles a:hover { background: linear-gradient(90deg, rgba(var(--pr), .08), transparent 70%); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--p); }
.tl-role { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.roles strong { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.05em; }
.tl-desc { font-size: 15px; color: var(--muted); }
.tl-go { transition: transform .3s var(--ease); }
.roles a:hover .tl-go { transform: translateX(5px); }
.capx-list { padding-bottom: 60px; }
.capx { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); }
.capx .num { font: italic 26px var(--serif); color: var(--accent); }
.capx h2 { font-size: clamp(42px, 5vw, 70px); font-weight: 550; letter-spacing: -.06em; line-height: 1; margin: 14px 0 18px; }
.capx-short { font-size: 17px; color: var(--muted); margin: 0; line-height: 1.6; }
.capx-body > p { font-size: 18px; line-height: 1.8; color: var(--muted); margin: 0 0 32px; }
.capx-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.capx-links .eyebrow { margin-bottom: 14px; }
.capx-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.capx-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; border-bottom: 1px solid transparent; }
.capx-links a:hover { border-bottom-color: currentColor; }
.capx-links a i { width: 8px; height: 8px; border-radius: 50%; background: var(--rc); }

/* ---------- Contact ---------- */
.contact-access-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: end; }
.contact-quick { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-mail { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ccard { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; padding: 34px; border-radius: 8px; border: 1px solid #e4e0dc; background: #fff; transition: transform .45s var(--ease), box-shadow .45s; }
.ccard::before { content: ''; position: absolute; z-index: -1; inset: 45% -30% -60%; background: radial-gradient(ellipse at 75% 75%, rgba(74,144,226,.26), transparent 62%); transition: transform .7s var(--ease); }
.ccard.tone-green::before { background: radial-gradient(ellipse at 75% 75%, rgba(37,190,102,.26), transparent 62%); }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 22px 42px rgba(30,20,15,.07); }
.ccard:hover::before { transform: scale(1.1); }
.ccard-value { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.045em; margin: 0 0 12px; overflow-wrap: anywhere; }
.ccard-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 26px; box-shadow: 0 12px 24px -12px rgba(20,30,60,.35); }
.ccard-icon svg { width: 34px; height: 34px; display: block; }
.ci-mail { background: linear-gradient(145deg, #3b82f6, #1a5fd6); }
.ci-gmail { background: #fff; border: 1px solid #e4e0dc; }
.ci-gmail svg { width: 30px; height: 23px; }
.ci-whatsapp { background: linear-gradient(145deg, #38d878, #1fae55); }
.ci-linkedin { background: #0a66c2; }
.ccard-title { margin: 0 0 12px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 550; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.ccard-text { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 28px; }
.ccard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.copy-status { min-height: 24px; margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.contact-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Download Center ---------- */
body.dlc-open { overflow: hidden; }
dialog.dlc { width: min(calc(100% - 40px), 640px); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -20px rgba(20,10,30,.45); overflow: auto; overscroll-behavior: contain; }
dialog.dlc::backdrop { background: rgba(20,20,20,.5); backdrop-filter: blur(6px); }
.dlc-panel { position: relative; isolation: isolate; overflow: hidden; padding: 44px 40px 36px; }
.dlc-panel::before { content: ''; position: absolute; z-index: -1; inset: -40% -20% 55%; background: radial-gradient(ellipse at 20% 80%, rgba(172,70,187,.18), transparent 55%), radial-gradient(ellipse at 70% 70%, rgba(238,99,154,.16), transparent 55%), radial-gradient(ellipse at 95% 50%, rgba(255,215,138,.25), transparent 45%); filter: blur(20px); }
.dlc h2 { font-size: clamp(38px, 5vw, 54px); line-height: 1; letter-spacing: -.06em; font-weight: 600; margin: 0; }
.dlc-lead { color: var(--muted); font-size: 15px; margin: 14px 0 28px; line-height: 1.6; }
.dlc-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; }
.dlc-close:hover { background: var(--ink); color: #fff; }
.dlc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dlc-card { display: grid; grid-template-columns: 46px 1fr auto; gap: 18px; align-items: center; padding: 20px; border: 1px solid #e4e0dc; border-radius: 10px; background: rgba(255,255,255,.85); }
.dlc-icon { color: var(--dc); }
.dlc-icon svg { width: 40px; height: 48px; display: block; }
.dlc-copy strong { font-size: 18px; font-weight: 550; letter-spacing: -.03em; }
.dlc-copy p { margin: 4px 0 6px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.dlc-copy small { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.dlc-btn { min-height: 44px; padding: 11px 18px; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  dialog.dlc[open] { animation: dlc-in .42s var(--ease); }
  dialog.dlc[open]::backdrop { animation: dlc-fade .3s ease; }
  dialog.dlc.closing { animation: dlc-out .22s ease forwards; }
  dialog.dlc.closing::backdrop { animation: dlc-fade .22s ease reverse forwards; }
}
@keyframes dlc-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dlc-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes dlc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Lightbox ---------- */
dialog.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,10,16,.94); color: #fff; }
dialog.lb::backdrop { background: transparent; }
.lb-fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 70px 80px 40px; }
.lb-fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 8px; }
.lb-fig figcaption { max-width: 760px; text-align: center; font-size: 14px; color: #d8d4cf; line-height: 1.6; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 20px; }
.lb-btn:hover { background: #fff; color: #111; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; font-size: 12px; color: #b9b4ae; letter-spacing: .08em; }

/* ---------- Demos (shared frame) ---------- */
.demo { border-radius: 14px; border: 1px solid #e4e0dc; background: #fff; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(var(--pcr), .45); }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #eee9e4; background: #faf9f7; }
.demo-bar::before { content: ''; width: 34px; height: 8px; background: radial-gradient(circle, #e3ded8 3.5px, transparent 4px) 0 0 / 13px 8px repeat-x; }
.demo-label { margin-left: auto; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid #e4e0dc; background: #fff; }
.demo-section .actions { margin-top: 26px; }
.dm { padding: 26px; }
.dm img { height: auto; object-fit: contain; }
.dm-k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.dm-note, .dm-foot { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.dm-live { min-height: 22px; font-size: 14px; margin: 16px 0 0; }
.dm-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #f2efeb; margin-bottom: 20px; }
.dm-tabs [role="tab"] { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font-size: 12.5px; color: var(--muted); }
.dm-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.dm-ctrl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dm-ctrl.col { flex-direction: column; align-items: stretch; }
.dm .btn { min-height: 42px; padding: 10px 18px; font-size: 10.5px; gap: 10px; }
.dm .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; background: transparent; color: var(--ink); }
.dm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: st; }
.dm-steps li { position: relative; padding: 11px 14px 11px 44px; border-radius: 8px; border: 1px solid #ece8e3; font-size: 14px; color: var(--muted); counter-increment: st; transition: background .3s, color .3s, border-color .3s; }
.dm-steps li::before { content: counter(st); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #f2efeb; color: var(--muted); }
.dm-steps li.on { color: var(--ink); border-color: rgba(var(--pcr), .45); background: rgba(var(--pcr), .07); }
.dm-steps li.on::before { background: var(--pc); color: #fff; }
.dm-steps li.done { color: var(--ink); }
.dm-steps li.done::before { content: '✓'; background: #1d9a5b; color: #fff; }
.dm-steps.h { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-bottom: 22px; }
.dm-steps.h li { padding: 10px 10px 10px 40px; font-size: 12.5px; }
.dm-chat { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; min-height: 120px; align-content: start; }
.dm-chat li { padding: 10px 14px; border-radius: 10px; background: #f6f4f1; font-size: 14px; line-height: 1.5; }
.dm-chat li b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.dm-chat li.staff { background: rgba(var(--pcr), .1); }
.dm-form { display: grid; gap: 14px; align-content: start; }
.dm-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.dm-form input:not([type="radio"]) { font: inherit; font-size: 15px; color: var(--ink); padding: 11px 13px; border: 1px solid #ddd8d2; border-radius: 8px; background: #fff; }
.dm-form fieldset { border: 0; padding: 0; margin: 0; }
.dm-form legend { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.dm-swatches { display: flex; gap: 10px; }
.dm-swatches label { position: relative; }
.dm-swatches input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dm-swatches i { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--s); border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd8d2; }
.dm-swatches input:checked + i { box-shadow: 0 0 0 2px var(--ink); }
.dm-swatches input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Thundy */
.dm-desk { position: relative; border-radius: 12px; padding: 26px; background: radial-gradient(ellipse at 20% 20%, #3a1d7a, transparent 60%), radial-gradient(ellipse at 80% 90%, #7a2bd9, transparent 55%), #12081f; min-height: 420px; }
.dm-desk .dm-panel { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dm-desk .dm-panel[hidden] { display: none; }
.dm-shot img { border-radius: 10px; box-shadow: 0 26px 60px -20px rgba(0,0,0,.6); }
.dm-side { width: min(100%, 420px); margin-left: auto; }
.dm-top { width: min(100%, 460px); margin-inline: auto; }
.dm-cap { color: #e9e3f5; font-size: 14px; margin: 0; text-align: center; }
.dm-voice { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: start; }
.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-chips button { text-align: left; border: 1px solid #e0dbd5; border-radius: 999px; background: #fff; padding: 9px 15px; font-size: 13.5px; }
.dm-chips button[aria-pressed="true"] { border-color: var(--pc); background: rgba(var(--pcr), .08); }
.dm-route { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dm-route li { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; border: 1px dashed #d8d3cd; opacity: .45; transition: opacity .35s, border-color .35s, background .35s; }
.dm-route li.on { opacity: 1; border-style: solid; border-color: rgba(var(--pcr), .5); background: rgba(var(--pcr), .06); }
.dm-route b { font-size: 13.5px; font-weight: 550; }
.dm-route small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.dm-voice-shot { max-width: 280px; justify-self: center; }

/* Launcher */
.dm-sync-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.dm-sync-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: end; padding: 16px; border-radius: 12px; background: #1C1330; color: #fff; }
.dm-sync-card .dm-cover { border-radius: 6px; aspect-ratio: 2 / 3; object-fit: cover; height: auto; }
.dm-game { display: block; font-size: 20px; font-weight: 550; letter-spacing: -.03em; margin-bottom: 12px; }
.dm-sync-card .btn { border-color: #F5C518; background: #F5C518; color: #1C1330; }
.dm-sync-card .btn:hover { background: #fff; border-color: #fff; }
.dm-progress { height: 6px; border-radius: 999px; background: #eee9e4; margin: 20px 0 14px; overflow: hidden; }
.dm-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pc), var(--pa2, var(--pc))); transition: width .5s var(--ease); }
.dm-files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 13px; }
.dm-files li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f0ece7; }
.dm-files span { color: var(--muted); }
.dm-files li.upd span { color: #b35b00; }
.dm-files li.ok span { color: #1d9a5b; }
.dm-themes .dm-panel[hidden] { display: none; }
.dm-pair { display: flex; gap: 18px; align-items: flex-start; justify-content: center; padding: 24px; border-radius: 12px; background: #1C1330; }
.dm-themes .light .dm-pair { background: #ece8f5; }
.dm-pair .dm-menu { width: 180px; border-radius: 8px; }
.dm-pair .dm-menu.compact { width: 60px; }
.dm-pair .dm-conf { width: min(100%, 440px); border-radius: 8px; }

/* ThunderScreen */
.dm-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.dm-lane { padding: 18px; border-radius: 12px; background: #0f0d18; color: #eee; }
.dm-lane header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.dm-lane header small { color: #a7a2b5; font-size: 12px; }
.dm-q { display: flex; gap: 5px; min-height: 34px; padding: 6px; border-radius: 8px; background: #1b1828; overflow: hidden; }
.dm-q i { flex: none; display: grid; place-items: center; width: 30px; height: 22px; border-radius: 4px; background: #3b3552; font-style: normal; font-size: 10px; color: #d9d4e8; }
.dm-q i.old { background: #6b2b3a; }
.dm-lane.good .dm-q i { background: #5E17EB; }
.dm-q i.drop { background: transparent; border: 1px dashed #6b6585; color: #6b6585; text-decoration: line-through; }
.dm-screen { display: grid; place-items: center; height: 92px; margin: 14px 0; border-radius: 8px; background: linear-gradient(135deg, #20193a, #0b0a12); font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.dm-lane.good .dm-screen { box-shadow: inset 0 0 0 1px #5E17EB; }
.dm-stat { margin: 0; font-size: 13px; color: #c7c2d6; }
.dm-av { outline-offset: 4px; border-radius: 8px; }
.dm-av-tracks { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: #0f0d18; }
.dm-av-tracks::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,.25); }
.dm-track { position: relative; display: flex; align-items: center; height: 40px; border-radius: 6px; background: repeating-linear-gradient(90deg, #1d1a2c 0 22px, #221e33 22px 23px); }
.dm-track span { position: absolute; left: 10px; font-size: 11px; color: #a7a2b5; text-transform: uppercase; letter-spacing: .08em; }
.dm-mark { position: absolute; left: 50%; width: 14px; height: 28px; margin-left: -7px; border-radius: 4px; transition: transform .25s var(--ease), opacity .25s; }
.dm-mark.v { background: #fff; }
.dm-mark.a { background: #FFC000; }
.dm-av.muted .dm-mark.a { opacity: .25; }
.dm-av-read { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0 10px; }
.dm-av-read span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dm-av-read b { font-size: 32px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dm-av-read em { font-family: var(--sans); font-style: normal; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #f2efeb; }
.dm-av-read em.ok { background: #e3f5ea; color: #136b3f; }
.dm-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-keys button { border: 1px solid #e0dbd5; border-radius: 8px; background: #fff; padding: 8px 11px; font-size: 12.5px; }
.dm-keys button:hover, .dm-keys button[aria-pressed="true"] { border-color: var(--pc); background: rgba(var(--pcr), .07); }
kbd { font-family: inherit; font-size: 11px; padding: 2px 6px; border-radius: 4px; border: 1px solid #d8d3cd; border-bottom-width: 2px; background: #faf9f7; }

/* POV */
.dm-pov { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); gap: 24px; }
.dm-pov-map { padding: 22px; border-radius: 12px; background: #0b0d14; color: #cfd2de; overflow-x: auto; }
.dm-pov-screen { margin: 0 12% 22px; padding-bottom: 8px; text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8e91a3; border-top: 4px solid; border-image: linear-gradient(90deg, #e8738f, #f5a06b, #8e8ac4) 1; }
.dm-seats { display: grid; gap: 6px; min-width: 430px; }
.dm-row { display: flex; align-items: center; gap: 5px; justify-content: center; }
.dm-rl { width: 14px; font-size: 10px; color: #6f7386; }
.dm-aisle { width: 12px; }
.dm-seat { width: 24px; height: 22px; padding: 0; border: 0; border-radius: 5px 5px 3px 3px; background: #3b4156; transition: background .2s, transform .2s; }
.dm-seat:hover:not([aria-disabled="true"]) { transform: translateY(-2px); background: #59607a; }
.dm-seat.s-sold { background: #1e2130; cursor: not-allowed; }
.dm-seat.s-blocked { background: repeating-linear-gradient(45deg, #2a2d3d 0 3px, #1a1c28 3px 6px); cursor: not-allowed; }
.dm-seat.s-selected { background: #e8738f; }
.dm-seat.s-held { background: #f5a06b; box-shadow: 0 0 10px rgba(245,160,107,.7); }
.dm-seat.s-taken { background: #c23b3b; animation: none; }
.dm-legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 10.5px; letter-spacing: .06em; }
.dm-legend li { display: flex; align-items: center; gap: 6px; }
.dm-legend i { width: 14px; height: 12px; border-radius: 3px; background: #3b4156; }
.dm-legend i.s-selected { background: #e8738f; }
.dm-legend i.s-held { background: #f5a06b; }
.dm-legend i.s-sold { background: #1e2130; outline: 1px solid #3b4156; }
.dm-legend i.s-blocked { background: repeating-linear-gradient(45deg, #2a2d3d 0 3px, #1a1c28 3px 6px); }
.dm-sel { font-size: 15px; margin: 0 0 8px; }
.dm-timer { font-size: 13px; color: var(--muted); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.dm-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 190px; overflow: auto; font-size: 12.5px; }
.dm-log li { padding: 7px 10px; border-radius: 6px; background: #f6f4f1; }
.dm-log code { font-weight: 600; }
.dm-log li.err { background: #fbe8e8; }

/* Plugins: editor, tickets, wizard, catalog, db, proposal, url, stats */
.dm-editor { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.dm-preview { border-radius: 12px; overflow: hidden; border: 1px solid #e4e0dc; display: flex; flex-direction: column; }
.dm-pv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #1C1330; color: #b9b0d6; font-size: 11px; }
.dm-pv-logo { width: 120px !important; }
.dm-pv-hero { flex: 1; padding: 46px 28px; background: radial-gradient(ellipse at 80% 100%, color-mix(in srgb, var(--pg) 55%, transparent), transparent 70%), #120d20; color: #fff; transition: background .4s; min-height: 220px; }
.dm-pv-hero h4 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 12px; }
.dm-pv-hero p { color: #d4cde8; margin: 0 0 22px; font-size: 14.5px; max-width: 420px; }
.dm-pv-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--pg); color: #fff; font-size: 12px; font-weight: 600; }
.dm-pv-foot { padding: 12px 18px; background: #0b0814; color: #7f77a0; font-size: 11px; }
.dm-tk-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-bottom: 14px; }
.dm-tk-web, .dm-tk-chat { padding: 18px; border-radius: 12px; border: 1px solid #ece8e3; }
.dm-tk-chat { background: #1e1f29; color: #e8e8ef; }
.dm-tk-chat .dm-k { color: #9a9cb0; }
.dm-tk-chat .dm-chat li { background: #2a2b38; }
.dm-tk-chat .dm-chat li b { color: #9a9cb0; }
.dm-tk-chat .dm-chat li.staff { background: rgba(91,63,212,.35); }
.dm-tk-chat .btn { color: #fff; border-color: #fff; }
.dm-tk-chat .btn:disabled { color: #fff; }
.dm-field { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; font-size: 14px; }
.dm-field span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dm-wz-body { min-height: 190px; padding: 20px; border-radius: 12px; background: #0d1b3a; color: #eaf0ff; }
.dm-wz-body .dm-k, .dm-wz-body .dm-note { color: #9fb2d9; }
.dm-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.dm-dl div { padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.06); }
.dm-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9fb2d9; }
.dm-dl dd { margin: 4px 0 0; font-size: 15px; }
.dm-cover-ph { width: 140px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #105CDB, #7b4dff 60%, #ff5fa2); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.dm-tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dm-tracks li { display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 8px; background: rgba(255,255,255,.06); }
.dm-tracks small { margin-left: auto; color: #9fb2d9; }
.dm-review { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.dm-review li { padding: 8px 12px; border-radius: 6px; background: rgba(255,255,255,.08); }
.dm-wz-body .btn { color: #fff; border-color: #fff; margin-top: 10px; }
.dm-catalog { position: relative; padding: 22px; border-radius: 12px; background: #0e0716; color: #fff; display: grid; gap: 24px; }
.dm-crow h4 { margin: 0 0 12px; font-size: 16px; font-weight: 550; }
.dm-crow ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 10px; overflow-x: auto; }
.dm-tile { width: 100%; padding: 0; border: 0; background: transparent; color: #eee; text-align: left; font-size: 12.5px; }
.dm-tile-art { display: block; aspect-ratio: 16 / 9; border-radius: 8px; margin-bottom: 7px; background: linear-gradient(135deg, hsl(var(--h) 70% 45%), color-mix(in srgb, var(--cc) 70%, #000)); transition: transform .3s var(--ease); }
.dm-tile:hover .dm-tile-art, .dm-tile:focus-visible .dm-tile-art { transform: scale(1.05); }
.dm-modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,2,10,.82); border-radius: 12px; }
.dm-modal[hidden] { display: none; }
.dm-modal-in { position: relative; width: min(92%, 520px); padding: 20px; border-radius: 12px; background: #1a1024; }
.dm-player { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 8px; background: linear-gradient(135deg, #2d1747, #0b0612); font-size: 34px; }
.dm-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 18px; }
.dm-modal-in .dm-note { color: #b7a8c9; }
.dm-db-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.dm-db-top .dm-tabs { margin: 0; }
.dm-search input { font: inherit; font-size: 14px; padding: 10px 14px; border: 1px solid #ddd8d2; border-radius: 999px; min-width: 220px; }
.dm-types { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0; padding: 0; font-size: 12px; }
.dm-types li { padding: 5px 11px; border-radius: 999px; background: rgba(var(--pcr), .08); }
.dm-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid #ece8e3; }
.dm-db table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.dm-db th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; padding: 12px 14px; background: #faf9f7; }
.dm-db td { padding: 12px 14px; border-top: 1px solid #f0ece7; }
.dm-mail { color: #6d2bd0; }
.dm-tag { padding: 3px 9px; border-radius: 999px; background: #f2efeb; font-size: 12px; }
.dm-pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dm-pr-items { border: 1px solid #ece8e3; border-radius: 12px; padding: 18px; margin: 0; display: grid; gap: 4px; }
.dm-pr-items label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0ece7; font-size: 14px; }
.dm-pr-items b { font-weight: 550; font-variant-numeric: tabular-nums; }
.dm-total { margin: 10px 0 0; font-size: 15px; text-align: right; }
.dm-url { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dm-url .dm-form input { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 13.5px; }
.dm-url-preview { padding: 22px; border-radius: 12px; background: #0f0f0f; color: #fff; }
.dm-url-preview .dm-k { color: #9b9b9b; }
.dm-url-short { font-family: ui-monospace, Consolas, monospace; font-size: clamp(17px, 2vw, 22px); margin: 0 0 10px; overflow-wrap: anywhere; }
.dm-url-short span { color: #9b9b9b; }
.dm-url-short b { color: #FFD81C; font-weight: 600; }
.dm-url-dest { font-size: 13px; color: #bdbdbd; margin: 0 0 16px; overflow-wrap: anywhere; }
.dm-url-ok { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #1f3a2a; color: #7fe0a6; margin: 0; }
.dm-url-ok.bad { background: #3a1f1f; color: #ff9c9c; }
.dm-cards { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dm-stat-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 10px; background: #0f0f0f; color: #fff; }
.dm-num { font-size: 26px; font-weight: 600; letter-spacing: .1em; color: #FFD81C; }
.dm-stat-card svg { width: 100%; height: 30px; color: #FFD81C; opacity: .7; }
.dm-stat-card small { color: #8f8f8f; font-size: 11px; }
.dm-sponsors { overflow: hidden; border-radius: 8px; background: #FFD81C; color: #0f0f0f; padding: 12px 0; }
.dm-track-run { display: flex; gap: 48px; width: max-content; font: italic 800 18px/1 Montserrat, var(--sans); text-transform: uppercase; letter-spacing: -.01em; padding-left: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .dm-track-run { animation: dm-run 18s linear infinite; }
  .dm-sponsors.paused .dm-track-run { animation-play-state: paused; }
}
@keyframes dm-run { to { transform: translateX(-50%); } }
.dm-obs .btn { margin-top: 12px; }

/* Suite pages: JM Studio uses black text on its yellow */
.on-yellow .phero::before { background: radial-gradient(ellipse at 70% 55%, rgba(255,216,28,.45), transparent 58%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-modules .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .pcard-thundy, .pcard-pov { grid-column: span 6; }
  .pcard-thunderland-launcher, .pcard-thunderscreen, .pcard-wordpress-plugins { grid-column: span 3; }
  .pcard-wordpress-plugins { grid-column: span 6; }
  .phero-in { grid-template-columns: 1fr; gap: 48px; }
  .hv-thundy { min-height: 460px; max-width: 640px; }
  .split-head, .status, .capx, .contact-access-in { grid-template-columns: 1fr; gap: 28px; }
  .deflist, .stack { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; gap: 40px; }
  .roles a { grid-template-columns: 16px 1fr 24px; row-gap: 6px; }
  .roles .tl-role { grid-column: 2; grid-row: 1; }
  .roles strong { grid-column: 2; }
  .roles .tl-desc { grid-column: 2; }
  .roles .tl-go { grid-column: 3; grid-row: 1 / 4; }
  .dm-voice, .dm-sync-body, .dm-editor, .dm-tk-grid, .dm-pr-grid, .dm-url, .dm-pov { grid-template-columns: 1fr; }
  .dm-voice-shot { max-width: 240px; }
  .dm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pbento { grid-template-columns: 1fr; gap: 18px; margin-top: 48px; }
  .pcard, .pcard-thundy, .pcard-pov, .pcard-thunderland-launcher, .pcard-thunderscreen, .pcard-wordpress-plugins { grid-column: auto; display: flex; flex-direction: column; gap: 22px; min-height: 0; padding: 26px; }
  .pcard-thundy .pcard-copy, .pcard-pov .pcard-copy { flex: none; }
  .pv-thundy { min-height: 260px; }
  .pcard h2, .pcard h3 { font-size: clamp(34px, 9vw, 46px); }
  .page-hero { padding: 48px 0 70px; }

  .dm-pov-map { padding: 16px 8px; }
  .dm-seats { min-width: 0; gap: 4px; }
  .dm-row { gap: 2.5px; }
  .dm-seat { width: 15px; height: 14px; border-radius: 4px 4px 2px 2px; }
  .dm-aisle { width: 6px; }
  .dm-rl { width: 10px; }
  .dm-chat:empty { min-height: 0; margin: 0; }
  .page-hero h1, .phero h1 { font-size: clamp(46px, 12vw, 72px); }
  .phero { padding: 36px 0 70px; }
  .hv-thundy { min-height: 340px; }
  .hv-mark { min-height: 220px; padding: 28px; }
  .split-head { margin-bottom: 36px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-grid.compact { grid-template-columns: 1fr; }
  .deflist > div, .stack > div { grid-template-columns: 1fr; gap: 6px; }
  .layer { grid-template-columns: 1fr; gap: 10px; }
  .dg-modules .layers { grid-template-columns: 1fr; }
  .gallery, .gallery.g-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .suite-grid, .rel-grid, .ccards { grid-template-columns: 1fr; }
  .capx { padding: 48px 0; }
  .capx-links { grid-template-columns: 1fr; }
  .keep { flex-direction: column; align-items: flex-start; }
  .case-page .casehero { min-height: 380px; }
  .casehero h1 { font-size: clamp(52px, 13vw, 90px); }
  .dlc-panel { padding: 36px 22px 26px; }
  dialog.dlc { width: 100%; max-width: none; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92dvh; }
  .dlc-card { grid-template-columns: 40px 1fr; }
  .dlc-btn { grid-column: 1 / -1; width: 100%; }
  .lb-fig { padding: 70px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .dm { padding: 16px; }
  .dm-desk { padding: 14px; min-height: 0; }
  .dm-route { grid-template-columns: 1fr 1fr; }
  .dm-lanes { grid-template-columns: 1fr; }
  .dm-steps.h { grid-auto-flow: row; }
  .dm-files { grid-template-columns: 1fr; }
  .dm-dl { grid-template-columns: 1fr; }
  .dm-pair { padding: 14px; gap: 10px; }
  .dm-pair .dm-menu { width: 110px; }
  .dm-search input { min-width: 0; width: 100%; }
  .dm-cards { grid-template-columns: 1fr 1fr; }
  .contact-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-track-run { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .crumbs, .subnav, .keep, .explore-row, .dm-ctrl, .dm-tabs, .dm-keys, .demo-bar, dialog.dlc, dialog.lb, .ccopy, .copy-status { display: none !important; }
  .pcard, .rel-card, .suite-card, .ccard, .feat, .mode, .demo { break-inside: avoid; box-shadow: none; }
  .pcard::before, .phero::before, .page-hero::before, .rel-card::before, .suite-card::before, .ccard::before { display: none; }
  .subnav { position: static; }
  details.acc > .acc-body { display: block; }
  .dm-panel[hidden] { display: block !important; }
}
