/* ─── CUSTOM PROPERTIES ─── */
:root {
  --bg:           #ffffff;
  --bg-alt:       #F8FAFD;
  --surface:      #E8F1FF;
  --text:         #0A0A2E;
  --muted:        #6B8CAE;
  --accent:       #3A5AD4;
  --accent-light: #8A9CC2;
  --accent-dark:  #1A2560;
  --border:       #E8ECF0;
  --white:        #ffffff;
  --rone-bg:      #F4F4FF;
  --rone-card:    #ffffff;
  --rone-border:  #E0E0F8;
  --rone-accent:  #6B6DE8;
  --rone-accent-soft: #EEEEFF;
  --rone-text:    #12122E;
  --rone-mint:    #7EECD4;
  --rone-mint-text: #0F6E56;
  --nav-h:        64px;
  --bnav-h:       72px;
  --r:            10px;
  --r-sm:         6px;
  --shadow:       0 4px 24px rgba(10,10,46,.10);
  --shadow-sm:    0 2px 12px rgba(10,10,46,.06);
  --ease:         .3s cubic-bezier(.4,0,.2,1);
  --serif:        'Sarabun', Georgia, serif;
  --sans:         'Manrope', system-ui, -apple-system, sans-serif;
  --logo:         'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.12; font-weight: 400; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
p  { font-size: 1rem; line-height: 1.5; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; position: relative; }
.section-label { display: inline-flex; align-items: center; gap: 14px; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--accent); }
.section-label.rone, .rone .section-label { color: var(--rone-accent); }
.section-label.rone::before, .rone .section-label::before { background: var(--rone-accent); }
.divider { width: 36px; height: 1px; background: var(--accent); margin: 22px 0; }

/* TOP NAV */
.top-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; transition: box-shadow var(--ease); }
.top-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { font-family: var(--logo); font-size: 1.15rem; font-weight: 700; letter-spacing: .03em; color: var(--text); }
.nav-logo span { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: .82rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); transition: color var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { color: var(--white) !important; background: var(--accent); padding: 10px 20px; border-radius: 100px; font-size: .79rem; font-weight: 500; letter-spacing: .06em; transition: background var(--ease) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }

/* HAMBURGER */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; z-index: 250; position: relative; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.nav-links.open { display: flex !important; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; background: #fff; z-index: 200; padding: calc(var(--nav-h) + 32px) 28px 40px; gap: 0; align-items: stretch; overflow-y: auto; margin: 0; list-style: none; }
.nav-links.open li { list-style: none; width: 100%; }
.nav-links.open a { display: block; width: 100%; font-size: 1.4rem; font-weight: 300; padding: 22px 0; border-bottom: 1px solid var(--border); color: var(--text); letter-spacing: -.01em; }
.nav-links.open a::after { display: none; }
.nav-links.open a.active { color: var(--accent); font-weight: 500; }
.nav-links.open .nav-cta { margin-top: 32px; border-radius: 999px; padding: 18px 24px; text-align: center; background: var(--accent); color: var(--white) !important; font-size: 1rem; font-weight: 500; border-bottom: none; }

/* BOTTOM NAV */
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: var(--bnav-h); background: rgba(255,255,255,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--border); z-index: 100; padding-bottom: env(safe-area-inset-bottom); }
.bnav-inner { display: flex; height: 100%; align-items: center; }
.bnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; color: var(--muted); transition: color var(--ease); min-height: 44px; position: relative; }
.bnav-item.active { color: var(--accent); }
.bnav-item svg { width: 20px; height: 20px; stroke-width: 1.5; }
.bnav-label { font-size: .6rem; font-weight: 500; letter-spacing: .04em; }

/* HERO */
#home { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 92% -10%, rgba(58,90,212,.12) 0%, rgba(58,90,212,.02) 38%, transparent 65%), radial-gradient(ellipse at -10% 80%, rgba(107,109,232,.08) 0%, transparent 45%), var(--bg); }
#home::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(10,10,46,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,46,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5) 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5) 0%, transparent 70%); pointer-events: none; }
#home > .container { position: relative; z-index: 1; }
.hero-eyebrow { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.hero-title { font-family: var(--serif); font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 32px; }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-sub { font-size: 1.04rem; color: var(--muted); max-width: 480px; line-height: 1.5; margin-bottom: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-size: .84rem; font-weight: 500; letter-spacing: .04em; transition: all var(--ease); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,90,212,.25); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* PAGE HEADER (for inner pages) */
.page-header { padding: calc(var(--nav-h) + 80px) 0 60px; background: radial-gradient(ellipse at 92% -10%, rgba(58,90,212,.10) 0%, transparent 60%), var(--bg); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-header h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 300; line-height: 1.04; letter-spacing: -.02em; margin-bottom: 18px; max-width: 820px; }
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-header .lead { font-size: 1.08rem; color: var(--muted); line-height: 1.5; max-width: 620px; }
.page-header.rone { background: radial-gradient(ellipse at 92% -10%, rgba(107,109,232,.16) 0%, transparent 60%), var(--rone-bg); }
.page-header.rone h1, .page-header.rone h1 em { color: var(--rone-text); }
.page-header.rone h1 em { color: var(--rone-accent); }
.page-header.rone h1 { margin-left: auto; margin-right: auto; }
.page-header.rone .lead { margin-left: auto; margin-right: auto; }

/* ABOUT */
#about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { aspect-ratio: 3/4; background: var(--surface); border-radius: var(--r); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; filter: grayscale(8%) contrast(1.02); }
.about-initials { font-family: var(--serif); font-size: 3.5rem; font-weight: 300; color: var(--accent); opacity: .55; }
.about-badge { position: absolute; bottom: -16px; right: -16px; background: var(--accent); color: var(--white); border-radius: var(--r-sm); padding: 16px 20px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 300; line-height: 1; }
.about-badge span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.about-body p { color: var(--muted); margin-bottom: 18px; }
.about-body p strong { color: var(--text); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { padding: 5px 14px; border: 1px solid var(--border); border-radius: 100px; font-size: .78rem; color: var(--muted); transition: all var(--ease); }
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* TRUST STRIP */
.trust-strip { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-right: 36px; border-right: 1px solid var(--border); }
.trust-marks { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-mark { font-family: var(--logo); font-weight: 600; font-size: .92rem; color: var(--text); letter-spacing: .02em; opacity: .68; transition: opacity var(--ease); }
.trust-mark:hover { opacity: 1; }

/* PILLAR CARDS (home page) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 36px 30px 30px; display: flex; flex-direction: column; transition: all var(--ease); position: relative; }
.pillar-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 32px rgba(10,10,46,.08); transform: translateY(-2px); }
.pillar-card.rone { background: var(--rone-bg); border-color: var(--rone-border); }
.pillar-card.rone:hover { border-color: #b0b2f0; box-shadow: 0 12px 32px rgba(107,109,232,.14); }
.pillar-num { font-family: var(--serif); font-size: .82rem; color: var(--accent); opacity: .55; letter-spacing: .15em; margin-bottom: 28px; }
.pillar-card.rone .pillar-num { color: var(--rone-accent); }
.pillar-card h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 12px; color: var(--text); }
.pillar-card.rone h3 { color: var(--rone-text); }
.pillar-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-bottom: 24px; flex: 1; }
.pillar-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--accent); transition: gap var(--ease); }
.pillar-card.rone .pillar-link { color: var(--rone-accent); }
.pillar-link:hover { gap: 12px; }

/* SERVICE CARDS (shared) */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; counter-reset: svc; }
.svc-card { position: relative; counter-increment: svc; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 34px 26px 30px; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.svc-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 32px rgba(10,10,46,.08); transform: translateY(-2px); }
.svc-card::after { content: counter(svc, decimal-leading-zero); position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: .78rem; font-weight: 400; color: var(--accent-light); letter-spacing: .1em; }
.svc-icon { display: block; width: 52px; height: 52px; padding: 13px; box-sizing: border-box; background: rgba(58,90,212,.08); border-radius: 50%; overflow: visible; color: var(--accent); margin-bottom: 22px; transition: background var(--ease); }
.svc-card:hover .svc-icon { background: rgba(58,90,212,.14); }
.svc-card h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--text); }
.svc-card p  { font-size: .88rem; color: var(--muted); line-height: 1.45; }

.rone-svc .svc-card { background: var(--rone-card); border-color: var(--rone-border); }
.rone-svc .svc-card p { color: #666; }
.rone-svc .svc-card:hover { border-color: #b0b2f0; box-shadow: 0 12px 32px rgba(107,109,232,.14); }
.rone-svc .svc-card::after { color: #b0b2f0; }
.rone-svc .svc-icon { background: rgba(107,109,232,.12); color: var(--rone-accent); }
.rone-svc .svc-card:hover .svc-icon { background: rgba(107,109,232,.20); }

.chip { display: inline-block; margin-top: 14px; padding: 4px 11px; border-radius: 100px; font-size: .7rem; font-weight: 500; letter-spacing: .02em; }
.chip-violet { background: var(--rone-accent-soft); color: var(--rone-accent); }
.chip-green  { background: rgba(126,236,212,.25); color: var(--rone-mint-text); }

/* COUNSEL SECTION (page) */
.counsel-page { background: var(--surface); }
.counsel-page .accordion .acc-item { border-bottom: 1px solid var(--border); }

/* MOSAIC */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: svc; }
.mosaic .svc-card { counter-increment: svc; }
.mosaic-large { grid-column: span 3; grid-row: span 2; padding: 44px 38px 40px; display: flex; flex-direction: column; }
.mosaic-large .svc-icon { width: 64px; height: 64px; padding: 17px; margin-bottom: 28px; }
.mosaic-large h3 { font-size: 1.45rem; margin-bottom: 14px; }
.mosaic-large p { font-size: 1rem; line-height: 1.5; }
.mosaic-large::after { font-size: 1rem !important; top: 28px !important; right: 32px !important; }
.mosaic-small { grid-column: span 3; }

/* RŌNE EDITORIAL */
.rone-emblem-wrap { text-align: center; margin: 0 auto 64px; max-width: 140px; }
.rone-emblem-wrap img { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 36px rgba(107,109,232,.22)); }
.rone-editorial { display: grid; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; counter-reset: rone; }
.rone-row { counter-increment: rone; display: grid; grid-template-columns: 80px 1fr; gap: 36px; padding: 48px 0; border-bottom: 1px solid var(--rone-border); align-items: start; }
.rone-row:last-child { border-bottom: none; }
.rone-row::before { content: counter(rone, decimal-leading-zero); font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: var(--rone-accent); opacity: .55; line-height: 1; }
.rone-row h3 { font-size: 1.5rem; margin-bottom: 14px; color: var(--rone-text); font-weight: 400; }
.rone-row p { color: #555; font-size: 1rem; line-height: 1.5; max-width: 640px; margin-bottom: 14px; }
.rone-row .chip { margin-top: 4px; }

/* COUNSEL ACCORDION */
.accordion { max-width: 820px; margin: 0 auto; counter-reset: acc; }
.acc-item { border-bottom: 1px solid var(--border); counter-increment: acc; }
.acc-item:first-child { border-top: 1px solid var(--border); }
.acc-trigger { width: 100%; display: grid; grid-template-columns: 56px 1fr 24px; gap: 20px; align-items: center; padding: 28px 6px; background: none; border: none; text-align: left; cursor: pointer; font-family: inherit; color: var(--text); transition: padding-left var(--ease); }
.acc-trigger:hover { padding-left: 14px; }
.acc-trigger::before { content: counter(acc, decimal-leading-zero); font-family: var(--serif); font-size: 1rem; color: var(--accent); opacity: .55; letter-spacing: .1em; }
.acc-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--text); }
.acc-toggle { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--border); border-radius: 50%; transition: transform var(--ease), color var(--ease), border-color var(--ease); flex-shrink: 0; }
.acc-toggle svg { width: 12px; height: 12px; }
.acc-item.open .acc-toggle { transform: rotate(45deg); color: var(--accent); border-color: var(--accent); }
.acc-content { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.acc-item.open .acc-content { max-height: 320px; }
.acc-content-inner { padding: 0 6px 32px 76px; color: var(--muted); font-size: .95rem; line-height: 1.5; max-width: 680px; }

/* WORK */
.work-scroll { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; -webkit-overflow-scrolling: touch; }
.work-scroll::-webkit-scrollbar { height: 6px; }
.work-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }
.work-scroll::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 3px; }
.work-card { flex: 0 0 360px; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px 24px; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); display: flex; flex-direction: column; }
.work-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 32px rgba(10,10,46,.08); transform: translateY(-2px); }
.work-card .wc-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 300; color: var(--accent); opacity: .4; line-height: 1; margin-bottom: 22px; }
.work-card h3 { font-size: 1.08rem; margin-bottom: 12px; color: var(--text); line-height: 1.32; }
.work-card p { color: var(--muted); font-size: .9rem; line-height: 1.45; margin-bottom: 18px; flex: 1; }
.work-card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; gap: 12px; flex-wrap: wrap; }
.uc-chip { display: inline-block; padding: 4px 11px; border-radius: 100px; background: rgba(58,90,212,.08); color: var(--accent); font-size: .7rem; font-weight: 500; }
.wc-outcome { font-size: .72rem; color: var(--accent); font-weight: 500; letter-spacing: .04em; }

/* DIAGNOSTIC */
.diag-frame { max-width: 780px; margin: 56px auto 0; background: var(--bg); border: 1px solid var(--rone-border); border-radius: var(--r); padding: 44px 40px; box-shadow: 0 20px 60px rgba(107,109,232,.08); position: relative; }
.diag-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.diag-step-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rone-accent); font-weight: 600; }
.diag-step-count { font-family: var(--serif); font-size: 1rem; color: var(--muted); letter-spacing: .1em; }
.diag-step-count strong { color: var(--rone-text); font-weight: 500; }
.diag-progress { height: 3px; background: var(--rone-border); border-radius: 2px; margin-bottom: 34px; overflow: hidden; }
.diag-progress-bar { height: 100%; background: var(--rone-accent); border-radius: 2px; transition: width .35s cubic-bezier(.4,0,.2,1); }
.diag-question { display: none; }
.diag-question.active { display: block; }
.diag-question h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.34; color: var(--rone-text); margin-bottom: 10px; }
.diag-q-note { font-size: .82rem; color: var(--muted); line-height: 1.45; margin-bottom: 26px; }
.diag-options { display: flex; flex-direction: column; gap: 10px; }
.diag-option { width: 100%; text-align: left; display: grid; grid-template-columns: 18px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--sans); font-size: .92rem; color: var(--text); cursor: pointer; transition: all var(--ease); }
.diag-option:hover { border-color: var(--rone-accent); background: rgba(107,109,232,.04); }
.diag-option.selected { border-color: var(--rone-accent); background: rgba(107,109,232,.08); }
.diag-option-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border); transition: all var(--ease); flex-shrink: 0; }
.diag-option.selected .diag-option-dot { border-color: var(--rone-accent); background: var(--rone-accent); box-shadow: inset 0 0 0 3px var(--bg); }
.diag-option-score { font-size: .66rem; color: var(--muted); letter-spacing: .1em; font-family: var(--serif); }
.diag-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.diag-btn { padding: 10px 20px; border-radius: 100px; font-size: .82rem; font-weight: 500; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: all var(--ease); }
.diag-btn-prev { background: transparent; color: var(--muted); border-color: var(--border); }
.diag-btn-prev:hover:not(:disabled) { color: var(--text); border-color: var(--text); }
.diag-btn-prev:disabled { opacity: .35; cursor: not-allowed; }
.diag-btn-next { background: var(--rone-accent); color: #fff; }
.diag-btn-next:hover:not(:disabled) { background: #5a5cd8; }
.diag-btn-next:disabled { opacity: .35; cursor: not-allowed; }
.diag-result { display: none; text-align: center; }
.diag-result.show { display: block; }
.diag-tier-label { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.diag-score { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 4.8rem); color: var(--rone-text); line-height: 1; }
.diag-score-max { color: var(--rone-accent); opacity: .55; font-size: .45em; margin-left: 4px; }
.diag-tier { display: inline-block; margin-top: 18px; padding: 8px 18px; border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.diag-tier[data-tier="0"] { background: rgba(220,80,80,.1); color: #B83434; }
.diag-tier[data-tier="1"] { background: rgba(220,150,30,.12); color: #A6701A; }
.diag-tier[data-tier="2"] { background: rgba(107,109,232,.12); color: var(--rone-accent); }
.diag-tier[data-tier="3"] { background: rgba(31,166,117,.12); color: var(--rone-mint-text); }
.diag-insight { margin: 30px auto 0; max-width: 540px; font-size: .98rem; line-height: 1.5; color: var(--muted); padding-top: 26px; border-top: 1px solid var(--border); }
.diag-priorities { text-align: left; margin: 28px auto 0; max-width: 540px; padding: 22px 26px; background: var(--bg-alt); border-radius: var(--r-sm); border-left: 3px solid var(--rone-accent); }
.diag-priorities strong { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rone-accent); margin-bottom: 12px; font-weight: 600; }
.diag-priorities ul { margin-left: 18px; }
.diag-priorities li { font-size: .9rem; color: var(--text); margin-bottom: 6px; line-height: 1.45; }
.diag-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.diag-cta .btn { font-size: .82rem; padding: 12px 22px; }
.diag-email { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); max-width: 480px; margin-left: auto; margin-right: auto; }
.diag-email-label { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.diag-email-row { display: flex; gap: 8px; }
.diag-email-row input { flex: 1; padding: 11px 14px; font-size: .88rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--sans); color: var(--text); outline: none; transition: border-color var(--ease); }
.diag-email-row input:focus { border-color: var(--rone-accent); }
.diag-email-row button { padding: 11px 18px; background: var(--rone-text); color: #fff; border: none; border-radius: var(--r-sm); font-size: .82rem; font-weight: 500; letter-spacing: .03em; cursor: pointer; font-family: var(--sans); transition: background var(--ease); }
.diag-email-row button:hover { background: #1f1f4a; }
.diag-email-note { font-size: .72rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* PUBLICATIONS */
.pub-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.pub-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; transition: border-color var(--ease), box-shadow var(--ease); }
.pub-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.pub-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pub-type { font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(58,90,212,.08); padding: 4px 10px; border-radius: 100px; }
.pub-date { font-size: .78rem; color: var(--muted); }
.pub-card h3 { font-size: 1rem; line-height: 1.44; margin-bottom: 10px; flex: 1; color: var(--text); }
.pub-card p { font-size: .88rem; color: var(--muted); line-height: 1.45; margin-bottom: 20px; }
.pub-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: var(--accent); margin-top: auto; transition: gap var(--ease); }
.pub-link:hover { gap: 10px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 40px; font-size: 1.02rem; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(58,90,212,.08); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-ico svg { width: 16px; height: 16px; }
.contact-row-text strong { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 2px; color: var(--text); }
.contact-row-text span  { font-size: .85rem; color: var(--muted); }

.form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--sans); font-size: .9rem; color: var(--text); transition: border-color var(--ease); outline: none; appearance: none; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { height: 115px; resize: vertical; }
.form-group select option, .form-group select optgroup { background: var(--bg-alt); }
.form-submit { width: 100%; padding: 15px; background: var(--accent); color: var(--white); border-radius: var(--r-sm); font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: all var(--ease); border: none; }
.form-submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(58,90,212,.25); }
.form-submit:disabled { opacity: .6; cursor: default; transform: none; }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success.on { display: block; }
.form-success-ico { width: 56px; height: 56px; border-radius: 50%; background: rgba(58,90,212,.10); display: flex; align-items: center; justify-content: center; color: var(--accent); margin: 0 auto 18px; }
.form-success h3 { font-family: var(--serif); margin-bottom: 10px; color: var(--text); }
.form-success p  { color: var(--muted); font-size: .94rem; }
.form-privacy { margin-top: 16px; font-size: .72rem; line-height: 1.5; color: var(--muted); }
.form-privacy a { color: var(--accent); text-decoration: none; }
.form-privacy a:hover { text-decoration: underline; }

/* ─── LEGAL / PRIVACY PAGES ─── */
.legal-body { max-width: 760px; }
.legal-body h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--text); margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--border); position: relative; letter-spacing: -.01em; }
.legal-body h2::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h2:first-child::before { display: none; }
.legal-body p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; font-size: .96rem; }
.legal-body > .container > p, .legal-body p { max-width: 680px; }
.legal-body ul { list-style: none; color: var(--muted); line-height: 1.7; margin: 0 0 16px; padding: 0; font-size: .96rem; }
.legal-body li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.legal-body li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text); font-weight: 600; }
/* identity panel: the first list on the page (publisher / controller details) */
.legal-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px 28px; margin: 0 0 8px; }
.legal-panel ul { margin: 0; }
.legal-panel li { padding-left: 0; }
.legal-panel li::before { display: none; }
.legal-panel li { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid rgba(10,10,46,.06); margin: 0; }
.legal-panel li:last-child { border-bottom: none; }
.legal-updated { margin-top: 40px; font-size: .82rem; font-style: italic; color: var(--accent-light); }
@media (max-width: 480px) {
  .legal-body h2 { font-size: 1.2rem; margin-top: 36px; padding-top: 22px; }
  .legal-panel { padding: 18px 18px; }
  .legal-body p, .legal-body ul { font-size: .92rem; }
}

/* SECTOR STRIP */
.sector-strip { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); }
.sector-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; font-weight: 500; }
.sector-marks { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 28px; }
.sector-mark { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--border); }
.sector-mark:nth-last-child(-n+2) { border-bottom: none; }
.sector-mark strong { font-family: var(--serif); font-size: .98rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.sector-mark span { font-size: .76rem; color: var(--muted); line-height: 1.4; }

/* FOOTER */
footer { background: var(--text); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--logo); font-size: 1.1rem; font-weight: 700; letter-spacing: .03em; color: #E8F1FF; }
.footer-logo span { color: var(--accent); font-weight: 600; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .8rem; color: rgba(232,241,255,.55); transition: color var(--ease); display: inline-flex; align-items: center; min-height: 32px; padding: 4px 0; }
.footer-links a:hover { color: var(--accent-light); }
.footer-copy { font-size: .76rem; color: rgba(232,241,255,.35); }

/* INSTALL BANNER */
.install-banner { position: fixed; left: 16px; right: 16px; background: var(--text); color: var(--white); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); z-index: 200; transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .4s cubic-bezier(.34,1.56,.64,1); }
.install-banner.on { transform: translateY(0); opacity: 1; pointer-events: auto; }
.install-text { flex: 1; }
.install-text strong { display: block; font-size: .88rem; margin-bottom: 2px; color: var(--white); }
.install-text span { font-size: .76rem; color: rgba(232,241,255,.6); }
.install-btn { background: var(--accent); color: var(--white); padding: 8px 16px; border-radius: 100px; font-size: .78rem; font-weight: 500; flex-shrink: 0; transition: background var(--ease); cursor: pointer; border: none; }
.install-btn:hover { background: var(--accent-dark); }
.install-close { color: rgba(232,241,255,.4); font-size: 1.3rem; line-height: 1; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; border: none; background: none; }

/* ANIMATIONS */
.fade { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade.on { opacity: 1; transform: translateY(0); }
.fade:nth-child(2) { transition-delay: .1s; }
.fade:nth-child(3) { transition-delay: .2s; }
.fade:nth-child(4) { transition-delay: .3s; }
.fade:nth-child(5) { transition-delay: .4s; }
.fade:nth-child(6) { transition-delay: .5s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .bottom-nav { display: block; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  body { padding-bottom: var(--bnav-h); padding-top: 0; }

  /* Hero */
  #home { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; min-height: auto; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .hero-sub { font-size: .95rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-eyebrow { margin-bottom: 18px; }

  /* Page headers */
  .page-header { padding: calc(var(--nav-h) + 28px) 0 32px; }
  .page-header h1 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
  .page-header .lead { font-size: .9rem; }

  /* General spacing */
  section { padding: 48px 0; }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h3 { font-size: clamp(1rem, 3vw, 1.25rem); }

  /* Layouts */
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap { max-width: 180px; margin: 0 auto; }
  .about-badge { bottom: -10px; right: -10px; font-size: .75rem; padding: 10px 14px; }
  .about-body p { font-size: .92rem; }
  .services-grid, .pillars { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 18px; }
  .btn { justify-content: center; }
  .top-nav { padding: 0 20px; }
  .method-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Mosaic — full width cards on mobile */
  .mosaic { grid-template-columns: 1fr; gap: 14px; }
  .mosaic-large, .mosaic-small { grid-column: span 1; grid-row: auto; }

  /* Rōne */
  .rone-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .rone-row::before { font-size: 1.5rem; }
  .rone-emblem-wrap img { width: 88px; height: auto; }

  /* Accordion */
  .acc-trigger { grid-template-columns: 36px 1fr 22px; gap: 12px; padding: 20px 4px; }
  .acc-title { font-size: 1rem; }
  .acc-content-inner { padding-left: 48px; font-size: .9rem; }

  /* Work */
  .work-card { flex: 0 0 272px; padding: 24px 20px 18px; }

  /* Sector / trust strips */
  .sector-marks { grid-template-columns: 1fr; }
  .sector-mark:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .trust-inner { gap: 16px; }
  .trust-label { border-right: none; padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .trust-marks { justify-content: center; gap: 18px; }
  .trust-mark { font-size: .8rem; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }

  /* Install banner */
  .install-banner { bottom: calc(var(--bnav-h) + 8px); }

  /* Diagnostic */
  .diag-frame { padding: 24px 16px; }
  .diag-option { padding: 13px 12px; font-size: .87rem; grid-template-columns: 16px 1fr auto; gap: 10px; }
  .diag-question h3 { font-size: 1.1rem; line-height: 1.35; }

  /* Pillar cards */
  .pillar-card { padding: 28px 22px; }
}

@media (min-width: 769px) {
  body { padding-top: var(--nav-h); }
  .install-banner { left: auto; right: 24px; bottom: 24px; max-width: 360px; }
}

/* METHOD */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 48px; }
.method-step { position: relative; padding-top: 26px; }
.method-step::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--accent); }
.method-num { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--accent); opacity: .32; line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.method-step h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.method-step p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ─── SHOWCASE IMAGE BAND ─── */
.showcase-band { position: relative; width: 100%; max-height: 460px; overflow: hidden; line-height: 0; }
.showcase-band img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 460px; }
.showcase-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 48px clamp(20px, 6vw, 80px); background: linear-gradient(90deg, rgba(10,10,46,.55) 0%, rgba(10,10,46,.15) 45%, transparent 70%); line-height: 1.2; }
.showcase-text { color: #fff; font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3.2vw, 2.4rem); max-width: 620px; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(10,10,46,.35); margin: 0; }
@media (max-width: 768px) {
  .showcase-band, .showcase-band img { max-height: 320px; }
  .showcase-overlay { padding: 28px 22px; background: linear-gradient(180deg, rgba(10,10,46,.1) 0%, rgba(10,10,46,.6) 100%); }
}

/* ─── MAVAM CHATBOT ─── */
#mavamChat { position: fixed; bottom: calc(var(--bnav-h) + 16px); right: 20px; z-index: 300; font-family: var(--sans); }
@media (min-width: 769px) { #mavamChat { bottom: 24px; right: 24px; } }
.mc-launcher { width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--rone-accent); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(107,109,232,.4), 0 4px 10px rgba(10,10,46,.15); display: flex; align-items: center; justify-content: center; transition: transform var(--ease), background var(--ease); position: relative; }
.mc-launcher:hover { transform: translateY(-2px); background: #5557d6; }
.mc-launcher svg { width: 24px; height: 24px; position: absolute; transition: opacity var(--ease), transform var(--ease); }
.mc-launcher .mc-icon-close { opacity: 0; transform: scale(.6) rotate(-45deg); }
.mc-launcher.open .mc-icon-open { opacity: 0; transform: scale(.6) rotate(45deg); }
.mc-launcher.open .mc-icon-close { opacity: 1; transform: scale(1) rotate(0); }

.mc-panel { position: absolute; bottom: 72px; right: 0; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100dvh - 120px); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px rgba(10,10,46,.18), 0 8px 20px rgba(10,10,46,.08); display: none; flex-direction: column; overflow: hidden; }
.mc-panel.open { display: flex; animation: mcSlide .22s var(--ease) both; }
@keyframes mcSlide { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, #0A0A2E 0%, #1A2560 100%); color: #fff; }
.mc-head-l { display: flex; align-items: center; gap: 12px; }
.mc-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--rone-accent); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: #fff; }
.mc-head strong { display: block; font-size: .92rem; font-weight: 500; letter-spacing: .01em; }
.mc-head span { display: block; font-size: .7rem; color: rgba(255,255,255,.6); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.mc-min { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; padding: 6px; display: flex; align-items: center; }
.mc-min svg { width: 18px; height: 18px; }
.mc-min:hover { color: #fff; }

.mc-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #FAFBFE; }
.mc-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.mc-msg p { margin: 0 0 6px; }
.mc-msg p:last-child { margin-bottom: 0; }
.mc-msg em { font-style: normal; font-weight: 500; color: var(--rone-accent); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.mc-user { align-self: flex-end; background: var(--rone-accent); color: #fff; border-bottom-right-radius: 4px; }
.mc-bot { align-self: flex-start; background: #fff; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.mc-related { margin-top: 8px !important; padding-top: 8px; border-top: 1px solid var(--border); }

.mc-typing { display: flex; gap: 4px; padding: 14px; }
.mc-typing span { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; opacity: .5; animation: mcBounce 1.2s infinite; }
.mc-typing span:nth-child(2) { animation-delay: .15s; }
.mc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mcBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

.mc-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 4px; background: #FAFBFE; max-height: 100px; overflow-y: auto; }
.mc-chip { font-family: inherit; font-size: .78rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; transition: background var(--ease), border-color var(--ease); }
.mc-chip:hover { background: var(--rone-accent-soft); border-color: var(--rone-accent); color: var(--rone-accent); }

.mc-form { display: flex; padding: 12px 14px 6px; gap: 8px; background: #FAFBFE; border-top: 1px solid var(--border); }
.mc-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; font-family: inherit; font-size: .9rem; background: #fff; outline: none; transition: border-color var(--ease); }
.mc-form input:focus { border-color: var(--rone-accent); }
.mc-form button { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--rone-accent); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--ease); }
.mc-form button:hover { background: #5557d6; }
.mc-form button svg { width: 16px; height: 16px; transform: translate(-1px, 1px); }

.mc-foot { padding: 6px 16px 14px; font-size: .68rem; color: var(--muted); text-align: center; background: #FAFBFE; margin: 0; line-height: 1.4; }
.mc-foot a { color: var(--rone-accent); text-decoration: none; }
.mc-foot a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  #mavamChat { bottom: calc(var(--bnav-h) + 12px); right: 12px; }
  .mc-panel { width: calc(100vw - 24px); right: 0; height: calc(100dvh - var(--bnav-h) - 96px); bottom: 68px; }
  .mc-launcher { width: 52px; height: 52px; }
}
