.os3-seq, .os3-seq * { box-sizing: border-box; }
.os3-seq {
 --os3-seq-current-height: var(--os3-seq-height,80);
 --os3-seq-stage-height: calc(var(--os3-seq-current-height) * 1vh);
 position: relative;
 width: 100%;
 min-width: 0;
 margin: 0;
 padding: 0;
 background: transparent;
}
@supports (height: 1svh) {
 .os3-seq { --os3-seq-stage-height: calc(var(--os3-seq-current-height) * 1svh); }
}
.os3-seq .os3-seq__stage {
 position: relative;
 width: 100%;
 height: var(--os3-seq-stage-height);
 min-height: 180px;
 overflow: hidden;
}
.os3-seq.os3-seq--active[data-layout="sticky"] { height: calc(var(--os3-seq-scroll,2000) * 1px + max(180px, var(--os3-seq-stage-height))); }
.os3-seq.os3-seq--active[data-layout="sticky"] .os3-seq__stage { position: sticky; top: calc(var(--os3-seq-top,0) * 1px); }
.os3-seq .os3-seq__poster, .os3-seq .os3-seq__canvas {
 position: absolute;
 inset: 0;
 display: block;
 width: 100%;
 height: 100%;
 max-width: none;
 margin: 0;
 padding: 0;
 border: 0;
 border-radius: 0;
 box-shadow: none;
 outline: 0;
 object-fit: var(--os3-seq-fit,contain);
}
.os3-seq .os3-seq__canvas { visibility: hidden; }
.os3-seq.os3-seq--ready .os3-seq__canvas { visibility: visible; }
.os3-seq.os3-seq--ready .os3-seq__poster { visibility: hidden; }
.os3-seq .os3-seq__status { position: absolute; inset: auto 12px 12px; text-align: center; font: inherit; }
.os3-seq .os3-seq__status[hidden] { display: none; }
@media (max-width: 599px) {
 .os3-seq { --os3-seq-current-height: var(--os3-seq-mobile-height,60); }
}
@media (prefers-reduced-motion: reduce) {
 .os3-seq.os3-seq--active { height: auto; }
 .os3-seq.os3-seq--active .os3-seq__stage { position: relative; top: auto; }
 .os3-seq.os3-seq--ready .os3-seq__canvas { visibility: hidden; }
 .os3-seq.os3-seq--ready .os3-seq__poster { visibility: visible; }
}

/* Match shorter exports without adding unused space above/below the image. */
@supports (width: 1cqw) {
 .os3-seq { container-type: inline-size; --os3-seq-stage-height: min(calc(var(--os3-seq-current-height) * 1svh),calc(100cqw / var(--os3-seq-ratio,1.777778))); }
}

/* Compact sequences stay in document flow: no spacer and no scroll interception. */
.os3-seq[data-layout="compact"] { height: auto; }
@media (prefers-reduced-motion: reduce) {
 .os3-seq.os3-seq--active[data-layout="sticky"] { height: auto; }
 .os3-seq.os3-seq--active[data-layout="sticky"] .os3-seq__stage { position: relative; top: auto; }
}

.os3-seq .os3-seq__controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.os3-seq .os3-seq__controls button { font: inherit; font-size: 13px; line-height: 1.4; padding: 6px 12px; border: 1px solid #b2c7d9; border-radius: 4px; background: #fff; color: #041b50; cursor: pointer; }
.os3-seq .os3-seq__controls button[aria-pressed="true"] { background: #dceff9; }
.os3-seq .os3-seq__controls button:focus-visible { outline: 2px solid #087fae; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .os3-seq .os3-seq__controls { display: none; } }

/* Leave a usable fully-visible scroll interval, even with a tall height attribute. */
.os3-seq[data-layout="compact"][data-start="visible"] .os3-seq__stage {
 max-height: max(100px,calc(100svh - var(--os3-seq-top,0) * 1px - 120px));
 min-height: min(180px,max(100px,calc(100svh - var(--os3-seq-top,0) * 1px - 120px)));
}

/* Complete logo presentation: introduction and image remain visible together. */
.os3-seq[data-layout="section"] .os3-seq__panel {
 display: flex; flex-direction: column; gap: clamp(12px,2vh,24px);
 min-height: 0; height: calc(100svh - var(--os3-seq-top,0) * 1px);
 padding: clamp(16px,3vh,32px) 16px 20px; background: #fff;
}
.os3-seq[data-layout="section"].os3-seq--active { height: calc(var(--os3-seq-panel-size,100svh) + var(--os3-seq-scroll,2200) * 1px); }
.os3-seq[data-layout="section"].os3-seq--active .os3-seq__panel { position: sticky; top: calc(var(--os3-seq-top,0) * 1px); }
.os3-seq[data-layout="section"] .os3-seq__intro { flex: 0 0 auto; text-align: center; max-width: 1120px; margin: 0 auto; }
.os3-seq[data-layout="section"] .os3-seq__heading { margin: 0 0 16px; font-family: inherit; font-size: clamp(28px,3vw,48px); line-height: 1.15; color: inherit; }
.os3-seq[data-layout="section"] .os3-seq__heading::after { content: ""; display: block; width: min(240px,55%); height: 1px; background: #00a5df; margin: 14px auto 0; }
.os3-seq[data-layout="section"] .os3-seq__description { margin: 0; font: inherit; font-size: clamp(13px,1.1vw,16px); line-height: 1.6; }
.os3-seq[data-layout="section"] .os3-seq__stage { flex: 1 1 0; height: auto; min-height: 100px; }
@media (max-width:599px) {
 .os3-seq[data-layout="section"] .os3-seq__panel { padding: 12px 12px 16px; gap: 12px; }
 .os3-seq[data-layout="section"] .os3-seq__heading { font-size: 28px; margin-bottom: 12px; }
 .os3-seq[data-layout="section"] .os3-seq__description { font-size: 13px; line-height: 1.45; }
}
@media (max-height:500px) {
 .os3-seq[data-layout="section"] .os3-seq__panel { flex-direction: row; align-items: stretch; }
 .os3-seq[data-layout="section"] .os3-seq__intro { width: 45%; overflow: auto; }
 .os3-seq[data-layout="section"] .os3-seq__stage { width: 55%; }
}
@media (prefers-reduced-motion:reduce) {
 .os3-seq[data-layout="section"].os3-seq--active { height: auto; }
 .os3-seq[data-layout="section"].os3-seq--active .os3-seq__panel { position: relative; top: auto; }
}
