/* ---------------------------------------------------------------
   Sections - one block per frame. Desktop values are authored for
   the 1600x900 canvas; html[data-layout="compact"] reflows them.
--------------------------------------------------------------- */

.frame[data-theme="dark"] {
  background:
    radial-gradient(900px 600px at 85% 0%, hsla(var(--hue-blue), 90%, 50%, 0.10), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, hsla(245, 70%, 45%, 0.18), transparent 70%),
    var(--bg);
}
.frame[data-theme="light"]::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(500px 340px at 92% 0%, hsla(var(--hue-blue), 90%, 55%, 0.10), transparent 70%),
    radial-gradient(420px 300px at 6% 100%, hsla(var(--hue-amber), 90%, 55%, 0.08), transparent 70%);
}
html[data-layout="compact"] .frame[data-theme="light"]::before { position: fixed; }

.lead { max-width: 52ch; }

/* ============ 1 · HERO ============ */
.hero__stage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { font-size: var(--fs-h1); max-width: 20ch; margin-top: var(--space-lg); color: var(--text); }
.hero__accent { display: block;
  background: linear-gradient(110deg, hsl(var(--hue-blue) 95% 62%), hsl(var(--hue-amber) 95% 62%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 680px; margin-top: var(--space-md); font-size: var(--fs-lead); }
.hero__cta { margin-top: var(--space-lg); }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
html[data-layout="compact"] .hero__lead { font-size: 17px; }
html[data-layout="compact"] .lockup--lg { gap: 14px; }
html[data-layout="compact"] .lockup--lg .logo-servion { height: 24px; }
html[data-layout="compact"] .lockup--lg .lockup__cresyn { font-size: 21px; }
html[data-layout="compact"] .hero__title { margin-top: 28px; }

/* ============ 2 · OPPORTUNITY ============ */
.opp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--space-xl); align-items: center; }
.opp__copy .lead { margin-top: var(--space-sm); }
.opp__vs { display: flex; align-items: center; gap: 18px; margin-top: var(--space-lg); }
.opp__side { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); flex: 1; position: relative; }
.opp__side b { font-size: 20px; }
.opp__side small { color: var(--text-dim); font-size: 14px; }
.opp__dot { position: absolute; top: 20px; right: 20px; width: 10px; height: 10px; border-radius: 50%; }
.opp__side--up { border-color: hsla(var(--hue-blue), 90%, 60%, 0.45); }
.opp__side--up .opp__dot { background: var(--blue); box-shadow: var(--glow-blue); }
.opp__side--fixed { border-color: hsla(var(--hue-amber), 90%, 60%, 0.4); }
.opp__side--fixed .opp__dot { background: var(--amber); }
.opp__versus { font-family: var(--font-display); font-style: italic; color: var(--text-faint); }
.opp__chart { padding: 22px 24px 18px; margin: 0; }
.opp__chart svg { width: 100%; height: auto; display: block; color: var(--text); }
.opp__demand { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; }
.opp__flex { fill: none; stroke: #fff; stroke-opacity: .22; stroke-width: 16; stroke-linecap: round; }
.opp__stairs { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 2 0; stroke-linejoin: round; }
.opp__labels text { font-family: var(--font-sans); font-size: 14px; font-weight: 600; fill: var(--text-dim); }
.opp__labels .l-demand { fill: var(--blue); }
.opp__idle { fill: var(--amber); fill-opacity: .28; }
.opp__missed { fill: var(--blue); fill-opacity: .25; }
.opp__labels .l-fixed, .opp__labels .l-idle { fill: var(--amber); }
.opp__labels .l-gap { fill: var(--blue); }
.opp__labels .l-axis { font-size: 12px; fill: var(--text-faint); letter-spacing: .08em; }
.opp__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 14px; color: var(--text-dim); }
.opp__legend .k { display: inline-block; width: 22px; height: 4px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.k--demand { background: var(--blue); } .k--fixed { background: var(--amber); } .k--flex { background: rgba(255,255,255,.4); height: 10px !important; }
.opp__close { grid-column: 1 / -1; text-align: center; font-family: var(--font-display); font-size: 34px; color: var(--text-dim); margin-top: 6px; }
.opp__close b { color: var(--text); font-weight: 600; }

/* ============ 3 · TEAM ============ */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.team__copy .lead { margin-top: var(--space-sm); }
.team__punch { margin-top: var(--space-lg); font-family: var(--font-display); font-size: 30px; line-height: 1.2; color: var(--text); border-left: 4px solid var(--amber); padding-left: 20px; }

.orbit { --R: 280px; position: relative; width: 680px; height: 680px; margin: 0 auto; }
.orbit__ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit__ring--outer { width: calc(var(--R) * 2); height: calc(var(--R) * 2); border: 1.5px dashed hsla(var(--hue-blue), 80%, 40%, 0.7); }
.orbit__ring--inner { width: 250px; height: 250px; border: 1px solid var(--border-strong); background: var(--bg-1); box-shadow: var(--shadow-card); }
.orbit__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.orbit__core .logo-servion { height: 26px; color: #1e1d58; }
.orbit__core-sub { font-size: 13px; color: var(--text-dim); letter-spacing: .04em; max-width: 14ch; }
.orbit__list { list-style: none; }
.orbit__list li {
  position: absolute; left: 50%; top: 50%;
  --a: calc(var(--i) * 40deg - 90deg);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1));
  white-space: nowrap;
  font-size: 15px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  background: var(--bg-1); border: 1px solid hsla(var(--hue-blue), 80%, 40%, 0.5);
  box-shadow: 0 6px 18px rgba(20,20,60,.10);
  color: var(--text);
  opacity: 0;
  transition: opacity .6s var(--ease-soft) calc(var(--i) * .12s + .7s);
}
.orbit.is-in .orbit__list li, html.reduced .orbit__list li { opacity: 1; }
.orbit__ring--outer { opacity: 0; transition: opacity .8s var(--ease-soft) .2s; }
.orbit.is-in .orbit__ring--outer, html.reduced .orbit__ring--outer { opacity: 1; }
html[data-layout="compact"] .orbit__list li { opacity: 1; transition: none; }
.orbit__tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(326px); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text-dim); }
.orbit__tag .cresyn-mark { width: 22px; height: 22px; color: var(--text); }
.orbit__tag::after { content: 'adds capacity around Servion'; letter-spacing: .04em; text-transform: none; font-weight: 500; }

html[data-layout="compact"] .team__grid { grid-template-columns: 1fr; gap: 28px; }
html[data-layout="compact"] .team__punch { font-size: 22px; margin-top: 20px; padding-left: 16px; }
html[data-layout="compact"] .orbit { width: 100%; height: auto; max-width: 520px; display: grid; grid-template-columns: 1fr; gap: 18px; }
html[data-layout="compact"] .orbit__ring--outer { display: none; }
html[data-layout="compact"] .orbit__ring--inner { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; border-radius: var(--radius-lg); padding: 20px; display: none; }
html[data-layout="compact"] .orbit__core { position: relative; left: auto; top: auto; transform: none; flex-direction: row; justify-content: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); }
html[data-layout="compact"] .orbit__core-sub { max-width: none; }
html[data-layout="compact"] .orbit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; padding-left: 0; }
html[data-layout="compact"] .orbit__list li:last-child { grid-column: 1 / -1; }
html[data-layout="compact"] .orbit__list li { position: static; transform: none; white-space: normal; text-align: center; font-size: 14px; padding: 12px 10px; border-radius: var(--radius-sm); }
html[data-layout="compact"] .orbit__core { order: 1; }
html[data-layout="compact"] .orbit__list { order: 3; }
html[data-layout="compact"] .orbit__tag { display: inline-flex; position: static; transform: none; justify-self: center; align-items: center; gap: 6px; order: 2; white-space: normal; text-align: center; flex-wrap: wrap; justify-content: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text-dim); }

/* ============ 4 · SCALE ============ */
.lane { margin-top: 26px; }
.lane__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.lane__head b { font-size: 17px; letter-spacing: .02em; }
.lane__head span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.lane__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lane__steps li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.1; min-height: 96px;
  border: 1px solid var(--border);
}
.lane__steps li:not(:last-child)::after {
  content: ''; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: currentColor; opacity: .45;
}
.lane__steps i { font-style: normal; font-family: var(--font-sans); font-size: 13px; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.lane--old { color: var(--text-dim); }
.lane--old .lane__head span { color: var(--amber); }
.lane--old li { background: transparent; border-style: dashed; border-color: hsla(var(--hue-amber), 80%, 60%, 0.35); }
.lane--old i { border: 1.5px solid hsla(var(--hue-amber), 80%, 60%, 0.6); color: var(--amber); }
.lane--new { color: var(--text); }
.lane--new .lane__head span { color: var(--blue); }
.lane--new li { background: hsla(var(--hue-blue), 90%, 55%, 0.10); border-color: hsla(var(--hue-blue), 90%, 60%, 0.5); }
.lane--new i { background: var(--blue); color: #04121a; }
.lane__exposure { position: relative; margin-top: 14px; height: 6px; border-radius: 3px; background: var(--surface-strong); }
.lane__exposure i { position: absolute; top: 0; bottom: 0; left: var(--from); right: 0; border-radius: 3px; transform-origin: left; }
.lane__exposure span { position: absolute; top: 14px; left: var(--from); font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.lane--old .lane__exposure i { background: var(--amber); }
.lane--old .lane__exposure span { color: var(--amber); }
.lane--new .lane__exposure i { background: var(--blue); }
.lane--new .lane__exposure span { color: var(--blue); right: 0; left: auto; }
.scale__stats { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); justify-content: space-between; }
.scale__stats .stat__num { font-size: 46px; }
.scale__stats .stat__num em { font-size: 24px; }

html[data-layout="compact"] .lane__steps { grid-template-columns: 1fr 1fr; gap: 10px; }
html[data-layout="compact"] .lane__exposure span { white-space: normal; max-width: 60%; font-size: 12px; }
html[data-layout="compact"] .lane--old .lane__exposure span { max-width: 88%; }
html[data-layout="compact"] .lane { margin-top: 20px; }
html[data-layout="compact"] .lane__steps li { min-height: 0; }
html[data-layout="compact"] .lane__steps li { font-size: 17px; padding: 14px; gap: 10px; }
html[data-layout="compact"] .lane__steps li::after { display: none; }
html[data-layout="compact"] .lane__steps i { width: 24px; height: 24px; font-size: 12px; }
html[data-layout="compact"] .scale__stats { margin-top: 44px; }
html[data-layout="compact"] .scale__stats .stat__num { font-size: 32px; }

/* ============ 5 · HELP ============ */
.help { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-lg); align-items: stretch; }
.help__tabs { display: flex; flex-direction: column; gap: 12px; }
.help__tab {
  text-align: left; padding: 22px 26px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--text-dim);
  background: var(--bg-1); border: 1px solid var(--border); cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}
.help__tab:hover { border-color: var(--blue); color: var(--text); }
.help__tab[aria-selected="true"] { background: hsl(245 50% 22%); color: #fff; border-color: transparent; transform: translateX(10px); box-shadow: 0 14px 34px rgba(30,29,88,.28); }
.help__tab:focus-visible, .offer__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.help__panels { position: relative; background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: var(--shadow-card); min-height: 330px; }
.help__panel, .offer__panel { display: none; }
.help__panel.is-active, .offer__panel.is-active { display: block; }
.help__panel h3 { font-size: 36px; line-height: 1.12; margin-bottom: 24px; max-width: 20ch; }
.help__panel ul { list-style: none; display: grid; gap: 14px; }
.help__panel li { position: relative; padding-left: 30px; font-size: 20px; line-height: 1.4; color: var(--text-dim); }
.help__panel li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 2px; background: var(--blue); }
.help__caps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; }
.help__caps::before { content: 'Across all four:'; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--text-faint); margin-right: 6px; }
.help__caps li { font-size: 15px; font-weight: 600; padding: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }

html[data-layout="compact"] .help { grid-template-columns: 1fr; gap: 14px; }
html[data-layout="compact"] .help__tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
html[data-layout="compact"] .help__tab { flex: 1 1 calc(50% - 8px); padding: 14px 16px; font-size: 19px; }
html[data-layout="compact"] .help__tab[aria-selected="true"] { transform: none; }
html[data-layout="compact"] .help__panels { padding: 24px 22px; min-height: 0; border-radius: var(--radius-md); }
html[data-layout="compact"] .help__panel h3 { font-size: 24px; margin-bottom: 16px; }
html[data-layout="compact"] .help__panel li { font-size: 16px; }
html[data-layout="compact"] .help__caps { margin-top: 18px; gap: 8px; }
html[data-layout="compact"] .help__caps::before { flex-basis: 100%; }
html[data-layout="compact"] .help__caps li { font-size: 13px; padding: 6px 12px; }

/* ============ 6 · OFFERINGS ============ */
.offer { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-lg); }
.offer__tabs { display: flex; flex-direction: column; gap: 12px; }
.offer__tab {
  display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 20px 24px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text-dim);
  background: var(--bg-1); border: 1px solid var(--border); cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}
.offer__tab i { font-style: normal; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-faint); }
.offer__tab:hover { border-color: var(--blue); color: var(--text); }
.offer__tab[aria-selected="true"] { background: hsl(245 50% 22%); color: #fff; border-color: transparent; transform: translateX(10px); box-shadow: 0 14px 34px rgba(30,29,88,.28); }
.offer__tab[aria-selected="true"] i { color: var(--amber); }
.offer__stage { padding: 44px 48px; border-radius: var(--radius-lg); min-height: 440px; display: flex; flex-direction: column; justify-content: center; }
.offer__panel h3 { font-size: 36px; line-height: 1.12; margin-bottom: 16px; }
.offer__panel > p { font-size: 20px; color: var(--text-dim); max-width: 46ch; line-height: 1.45; }
.offer__note { margin-top: 26px; font-weight: 600; color: var(--text) !important; font-size: 18px !important; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 34px; counter-reset: s; position: relative; }
.flow li { display: flex; flex-direction: column; gap: 12px; font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--text); position: relative; }
.flow li i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: hsl(245 50% 22%); color: #fff; font-size: 15px; position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 50px; right: -6px; top: 21px; height: 2px; background: hsla(var(--hue-blue), 80%, 40%, .4); }

.brandstack { position: relative; margin-top: 36px; height: 150px; max-width: 460px; }
.brandstack__front, .brandstack__back { position: absolute; left: 0; right: 0; border-radius: var(--radius-md); padding: 22px 26px; font-weight: 600; }
.brandstack__front { top: 0; z-index: 2; font-family: var(--font-display); font-size: 26px; background: hsl(245 50% 22%); color: #fff; box-shadow: 0 18px 40px rgba(30,29,88,.3); }
.brandstack__back { top: 66px; padding-top: 52px; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 15px; background: hsla(var(--hue-blue), 90%, 55%, .12); border: 1px dashed hsla(var(--hue-blue), 80%, 40%, .6); color: var(--text-dim); }
.brandstack__back .cresyn-mark { width: 20px; height: 20px; color: var(--text); }
.wrap { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.wrap span { padding: 16px 22px; border-radius: var(--radius-md); border: 1px dashed var(--border-strong); color: var(--text-dim); font-weight: 600; font-size: 18px; }
.wrap i { font-style: normal; font-size: 26px; color: var(--blue); }
.wrap b { padding: 16px 24px; border-radius: var(--radius-md); background: hsl(245 50% 22%); color: #fff; font-family: var(--font-display); font-size: 22px; box-shadow: 0 14px 34px rgba(30,29,88,.28); }

html[data-layout="compact"] .offer { grid-template-columns: 1fr; gap: 14px; }
html[data-layout="compact"] .offer__tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
html[data-layout="compact"] .offer__tab { flex: 1 1 calc(50% - 8px); padding: 12px 14px; font-size: 16px; gap: 8px; }
html[data-layout="compact"] .offer__tab i { display: none; }
html[data-layout="compact"] .offer__tab[aria-selected="true"] { transform: none; }
html[data-layout="compact"] .offer__stage { padding: 24px 22px; min-height: 0; border-radius: var(--radius-md); }
html[data-layout="compact"] .offer__panel h3 { font-size: 24px; }
html[data-layout="compact"] .offer__panel > p { font-size: 16px; }
html[data-layout="compact"] .flow { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
html[data-layout="compact"] .flow li { flex-direction: row; align-items: center; font-size: 16px; }
html[data-layout="compact"] .flow li:not(:last-child)::after { left: 19px; right: auto; width: 2px; height: 22px; top: 38px; }
html[data-layout="compact"] .flow li i { width: 38px; height: 38px; flex: none; }
html[data-layout="compact"] .offer__note { font-size: 15px !important; margin-top: 18px; }
html[data-layout="compact"] .brandstack { margin-top: 24px; }
html[data-layout="compact"] .brandstack__front { font-size: 20px; padding: 18px 20px; }
html[data-layout="compact"] .wrap { margin-top: 22px; gap: 10px; }
html[data-layout="compact"] .wrap span, html[data-layout="compact"] .wrap b { font-size: 16px; padding: 12px 16px; }

/* ============ 7 · EXPAND ============ */
.expand__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-xl); align-items: center; }
.expand__copy .lead { margin-top: var(--space-sm); }
.sandler { margin-top: 28px; padding: 26px 28px 24px; border-radius: var(--radius-lg); background: hsl(245 50% 22%); color: #fff; box-shadow: 0 22px 50px rgba(30,29,88,.30); position: relative; }
.sandler__badge { position: absolute; top: -13px; left: 28px; background: var(--amber); color: #1a1000; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.sandler__logo { display: block; width: 100%; max-width: 440px; height: auto; border-radius: var(--radius-md); margin-bottom: 18px; }
.sandler h3 { font-size: 27px; line-height: 1.15; margin-bottom: 10px; }
.sandler p { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.78); }
.sandler blockquote { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.35; }
.sandler cite { display: block; margin-top: 6px; font-family: var(--font-sans); font-style: normal; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { padding: 22px 24px; border-radius: var(--radius-md); background: var(--bg-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); font-family: var(--font-display); font-size: 24px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.tile small { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tile--base { background: hsl(245 50% 22%); color: #fff; border-color: transparent; }
.tile--base small { color: hsl(var(--hue-amber) 95% 66%); }
.tile--wide { grid-column: 1 / -1; background: hsla(var(--hue-blue), 90%, 50%, .08); border-color: hsla(var(--hue-blue), 80%, 40%, .5); }
.meter { margin-top: 28px; display: grid; gap: 14px; }
.meter__row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.meter__bar { height: 12px; border-radius: 6px; background: var(--surface-strong); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--blue); transform-origin: left; }
.meter__bar--flat i { background: var(--amber); }

html[data-layout="compact"] .expand__grid { grid-template-columns: 1fr; gap: 26px; }
html[data-layout="compact"] .sandler { margin-top: 24px; padding: 22px 20px; }
html[data-layout="compact"] .sandler h3 { font-size: 22px; }
html[data-layout="compact"] .sandler p { font-size: 15px; }
html[data-layout="compact"] .tile { padding: 14px 14px 16px; font-size: 18px; }
html[data-layout="compact"] .tiles { gap: 10px; }
html[data-layout="compact"] .meter__row { grid-template-columns: 110px 1fr; font-size: 12px; gap: 10px; }

/* ============ 8 · CLOSE ============ */
.close__glow { position: absolute; left: 50%; top: 40%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, hsla(var(--hue-blue), 90%, 50%, .16), transparent); }
.close__stage { text-align: center; display: flex; flex-direction: column; align-items: center; }
.close__title { font-size: 100px; line-height: 1; margin: 10px 0 20px; }
.close__lead { font-size: 26px; line-height: 1.45; color: var(--text-dim); }
.close__lead b { color: var(--text); font-weight: 600; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 36px; width: 100%; max-width: 1100px; text-align: left; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 22px 24px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.steps i { grid-row: span 2; font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #1a1000; font-weight: 700; font-size: 15px; }
.steps b { font-size: 19px; }
.steps span { font-size: 15px; color: var(--text-dim); }
.close__cta { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.close__cta .btn { font-size: 20px; padding: 18px 36px; }
.close__cta p { max-width: 62ch; color: var(--text-dim); font-size: 17px; line-height: 1.5; }

html[data-layout="compact"] .close__title { font-size: clamp(48px, 15vw, 96px); }
html[data-layout="compact"] .close__lead { font-size: 19px; }
html[data-layout="compact"] .steps { grid-template-columns: 1fr; margin: 28px 0; gap: 10px; }
html[data-layout="compact"] .steps li { padding: 16px 18px; }
html[data-layout="compact"] .close__cta .btn { font-size: 17px; padding: 16px 24px; width: 100%; }
html[data-layout="compact"] .close__cta p { font-size: 15px; }

/* ============ Compact: shared stacking ============ */
html[data-layout="compact"] .opp__grid { grid-template-columns: 1fr; gap: 22px; }
html[data-layout="compact"] .opp__vs { margin-top: 20px; gap: 10px; }
html[data-layout="compact"] .opp__side { padding: 14px 16px; }
html[data-layout="compact"] .opp__side b { font-size: 17px; }
html[data-layout="compact"] .opp__side small { font-size: 12px; }
html[data-layout="compact"] .opp__dot { top: 14px; right: 14px; }
html[data-layout="compact"] .opp__chart { padding: 14px 14px 12px; }
html[data-layout="compact"] .opp__close { font-size: 22px; }
html[data-layout="compact"] .tile--wide small { font-size: 11px; }

/* Tablet-sized compact (portrait iPad): give content more room */
@media (min-width: 700px) {
  html[data-layout="compact"] .frame__stage { max-width: 760px; margin-inline: auto; }
  html[data-layout="compact"] .team__grid, html[data-layout="compact"] .expand__grid, html[data-layout="compact"] .opp__grid { max-width: 640px; margin-inline: auto; }
}
@media (min-width: 700px) and (min-height: 1000px) {
  html[data-layout="compact"] { --fs-body: 18px; }
}

html[data-layout="compact"] .lane__exposure { margin-bottom: 30px; }
html[data-layout="compact"] .scale__stats .stat__num { white-space: nowrap; font-size: 28px; }
html[data-layout="compact"] .scale__stats .stat__num em { font-size: 15px; }
html[data-layout="compact"] .scale__stats .stat__label { font-size: 12px; }

.hl { color: var(--blue); font-weight: 600; }

/* Team page: core, inner ring and Cresyn tag also wait for the build (opacity only,
   so the centering transforms are untouched) */
.orbit__ring--inner, .orbit__core, .orbit__tag { opacity: 0; transition: opacity .7s var(--ease-soft) .1s; }
.orbit.is-in .orbit__ring--inner, .orbit.is-in .orbit__core, .orbit.is-in .orbit__tag,
html.reduced .orbit__ring--inner, html.reduced .orbit__core, html.reduced .orbit__tag { opacity: 1; }
.orbit.is-in .orbit__tag { transition-delay: 1.6s; }

.orbit.is-reset, .orbit.is-reset * { transition: none !important; }
