/* All Around Polymer, v2 layer: mega menu, 3D explorer, breakers, infrastructure ring,
   industry pages, journal cards, media. Loaded after main.css and uses its tokens. */

:root {
  --spec-a: #22d3ee;
  --spec-b: #7c5cff;
  --spec-c: #f472d0;
  --spectral: linear-gradient(90deg, var(--spec-a), var(--spec-b) 55%, var(--spec-c));
  --glass: rgba(13, 18, 54, .62);
}

/* Highlighted words in copy ([[...]] in the dictionary) */
.hl { font-style: normal; color: var(--orange); }
[data-theme="light"] .hl, [data-theme="paper"] .hl { color: #d4660a; }
.statement__text .sw.hl, .statement__text .hl .sw { color: color-mix(in srgb, #d4660a 25%, transparent); }
.statement__text .hl .sw.on, .statement__text .sw.hl.on { color: #d4660a; }
html:not(.js) .statement__text .hl, html.rm .statement__text .hl { color: #d4660a; }

/* No section numbers in labels */
.eyebrow__idx { display: none; }

/* Real OSA bubble mark replaces the drawn letter */
.fam-letter--logo { width: 92px; height: 92px; }
.fam-letter--logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 30px color-mix(in srgb, var(--c) 45%, transparent)); }
.fam-letter--logo.fam-letter--sm { width: 58px; height: 58px; }
.fam-letter--logo.fam-letter--xs { width: 26px; height: 26px; }
.fam-letter--logo.fam-letter--xs img { filter: none; }
.fam-letter--logo.fam-letter--xl { width: clamp(120px, 14vw, 200px); height: clamp(120px, 14vw, 200px); }
.fam-logo { display: block; height: auto; }

/* ------------------------------------------------------------------ mega menu */
.nav--mega { margin: 0 auto; }
.nav--mega .nav__list { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 18px); }
.nav--mega .nav__link { height: auto; overflow: visible; display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; border-radius: 99px; background: none; border: 0; color: inherit; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: background .3s, color .3s; }
.nav--mega .nav__link span { transform: none !important; }
.nav--mega .nav__link span::after { content: none; }
.nav--mega .nav__link:hover, .nav--mega .mm__trigger[aria-expanded="true"] { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav--mega .nav__link.is-active::before { left: 12px; right: 12px; bottom: 4px; }
.mm__caret { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.mm__trigger[aria-expanded="true"] .mm__caret { transform: rotate(180deg); }
.nav__badge { font-size: .62rem; letter-spacing: .08em; padding: 3px 6px; border-radius: 6px; background: var(--spectral); color: #fff; font-weight: 600; }
.mm { position: static; }
.mm__panel { position: absolute; left: 50%; top: calc(100% - 6px); transform: translateX(-50%); width: min(1100px, calc(100vw - 2 * var(--gutter))); padding: 14px; color: var(--ink); }
.mm__panel[hidden] { display: none; }
.mm__panel::before { content: ""; position: absolute; inset: 14px 0 0; border-radius: 22px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); box-shadow: 0 40px 90px rgba(7, 11, 36, .28), inset 0 0 0 1px rgba(11, 15, 44, .06); z-index: -1; }
.mm__panel.is-open .mm__grid { animation: mmIn .45s var(--ease) both; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mm__grid { display: grid; gap: 28px; padding: 30px 30px 26px; }
.mm__grid--materials { grid-template-columns: 1.25fr 1fr .95fr; }
.mm__grid--industries { grid-template-columns: 1fr; }
.mm__grid--company { grid-template-columns: 2fr 1fr; }
.mm__grid--insights { grid-template-columns: 1fr; }
.mm__title { color: #b25a0c; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.mm__fams { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.mm__fam, .mm__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .25s; }
.mm__fam:hover, .mm__item:hover { background: var(--paper); }
.mm__fam b, .mm__item b { display: block; font-size: .92rem; font-weight: 600; letter-spacing: -.005em; }
.mm__fam small, .mm__item small { display: block; font-size: .8rem; color: var(--text-2); line-height: 1.35; }
.mm__famicon { width: 34px; height: 34px; flex: none; }
.mm__famicon img { width: 100%; height: 100%; object-fit: contain; }
.mm__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--paper); color: var(--indigo); }
.mm__icon .i { width: 20px; height: 20px; }
.mm__item:hover .mm__icon { background: var(--ink); color: #fff; }
.mm__list { display: grid; gap: 2px; }
.mm__list--2col { grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.mm__grid--industries .mm__list--2col { grid-template-columns: repeat(4, 1fr); }
.mm__feature { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.mm__feature-media { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 6px; }
.mm__feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mm__feature:hover img { transform: scale(1.06); }
.mm__badge { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 7px; background: var(--spectral); font-size: .66rem; color: #fff; }
.mm__feature b { font-size: 1rem; }
.mm__feature small { color: var(--muted-d); font-size: .82rem; }
.mm__feature .link-arrow { margin-top: 4px; color: var(--orange); font-size: .85rem; }
.mm__all { justify-self: start; font-size: .9rem; }
.mm__contact { display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 16px; background: var(--paper); }
.mm__contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .9rem; }
.mm__contact .i { width: 18px; height: 18px; color: var(--indigo); }
.mm__posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mm__post { display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: var(--paper); text-decoration: none; height: 100%; transition: background .25s, color .25s; }
.mm__post:hover { background: var(--ink); color: #fff; }
.mm__post span { font-size: .68rem; color: #b25a0c; text-transform: uppercase; letter-spacing: .12em; }
.mm__post b { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.mm-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(7, 11, 36, .28); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.mm-scrim.is-on { opacity: 1; }
.site-header.is-mm { color: var(--white); }
@media (max-width: 1180px) { .nav--mega { display: none; } }

/* mobile menu groups */
.menu__groups { display: grid; gap: 2px; margin-bottom: 40px; }
.menu__group summary, .menu__solo { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-d); list-style: none; cursor: pointer; text-decoration: none; }
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group .menu__label, .menu__solo .menu__label { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 600; font-stretch: 110%; letter-spacing: -.03em; }
.menu__plus { position: relative; width: 18px; height: 18px; }
.menu__plus::before, .menu__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu__plus::after { transform: rotate(90deg); }
.menu__group[open] .menu__plus::after { transform: rotate(0); }
.menu__group ul { display: grid; gap: 4px; padding: 10px 0 18px; }
.menu__group ul a { display: block; padding: 6px 0; color: var(--muted-d); text-decoration: none; font-size: 1.05rem; }
.menu__group ul a:hover { color: #fff; }

/* ------------------------------------------------------------------ manifesto + waveform */
.statement--v2 .statement__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.statement--v2 .statement__text { font-size: clamp(1.6rem, 3vw, 3rem); max-width: 24ch; }
.wave { position: relative; margin: 0; aspect-ratio: 1 / .92; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 70% 30%, #12184a 0%, #070b24 58%); isolation: isolate; }
.wave__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wave__lines polyline { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wave__nodes { position: absolute; inset: 0; }
.wave__node { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .72rem; letter-spacing: .06em; white-space: nowrap; transform: translate(-6px, -6px); opacity: 0; transition: opacity .6s var(--ease); }
.wave.is-live .wave__node { opacity: 1; }
.wave__node i { width: 11px; height: 11px; border: 1.5px solid #fff; background: rgba(7, 11, 36, .6); flex: none; }
.wave__plant { position: absolute; right: -4%; bottom: -2%; width: 62%; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%), radial-gradient(90% 80% at 60% 70%, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); -webkit-mask-composite: source-in; mask-composite: intersect; opacity: .55; }
.wave__plant img { width: 100%; height: auto; filter: saturate(.6) hue-rotate(12deg) brightness(.8); }
.statement--v2 .stats { margin-top: clamp(40px, 5vw, 72px); }

/* ------------------------------------------------------------------ 3D explorer */
.c3d-sec { position: relative; overflow: hidden; }
.c3d-sec__glow { position: absolute; inset: auto -10% -30% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 60%, rgba(124, 92, 255, .32), transparent 70%), radial-gradient(30% 40% at 25% 50%, rgba(34, 211, 238, .2), transparent 70%); pointer-events: none; }
.c3d-sec__head { display: grid; gap: 14px; margin-bottom: 28px; }
.c3d-sec__head .lede, .journal__head .lede, .media-sec__head .lede { max-width: 58ch; }
.c3d-sec__head .h2 { margin-bottom: 0; }
.c3d-sec__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 28px; }
.c3d-sec__note { color: var(--muted-d); font-size: .78rem; max-width: 80ch; }

.c3d { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, 360px); grid-template-areas: "bar bar" "stage card" "list list"; gap: 16px; }
.c3d__bar { grid-area: bar; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.c3d__tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); }
.c3d__tab { position: relative; padding: 10px 18px; border-radius: 99px; border: 0; background: none; color: #d6d9ef; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; transition: background .35s, color .35s; }
.c3d__tab sup { font-size: .62rem; margin-left: 4px; opacity: .7; }
.c3d__tab:hover { color: #fff; }
.c3d__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--orange); }
.c3d__tools { display: inline-flex; gap: 6px; }
.c3d__ctl { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04); color: #e6e8f6; font: inherit; font-size: .82rem; cursor: pointer; transition: background .3s, border-color .3s; }
.c3d__ctl .i { width: 17px; height: 17px; }
.c3d__ctl:hover { background: rgba(255, 255, 255, .1); }
.c3d__ctl[aria-pressed="true"] { border-color: transparent; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--spectral) border-box; border: 1px solid transparent; color: #fff; }
.c3d__stage { grid-area: stage; position: relative; height: clamp(380px, 62vh, 680px); border-radius: 26px; overflow: hidden; background: radial-gradient(70% 70% at 50% 62%, #1a2061 0%, #0b0f30 55%, #060920 100%); border: 1px solid var(--line-d); cursor: grab; touch-action: pan-y; }
.c3d__stage:active { cursor: grabbing; }
.c3d__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 60%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 60%, #000, transparent); pointer-events: none; }
.c3d__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.c3d__hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.c3d__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted-d); z-index: 3; transition: opacity .6s; }
.c3d__loader.is-done { opacity: 0; pointer-events: none; }
.c3d__ring { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--spec-a), var(--spec-b), var(--spec-c), var(--spec-a)); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.c3d__nogl { display: none; position: absolute; inset: auto 20px 20px; color: var(--muted-d); font-size: .9rem; z-index: 3; }
.c3d.is-nowebgl .c3d__nogl { display: block; }
.c3d.is-nowebgl .c3d__loader { display: none; }
.c3d__hint { position: absolute; left: 18px; top: 16px; z-index: 3; color: rgba(255, 255, 255, .55); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transition: opacity .5s; }
.c3d.is-touched .c3d__hint { opacity: 0; }
.c3d__paints { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; border-radius: 99px; background: rgba(7, 11, 36, .55); backdrop-filter: blur(10px); border: 1px solid var(--line-d); }
.c3d__paints .mono { font-size: .66rem; color: var(--muted-d); text-transform: uppercase; letter-spacing: .12em; margin-right: 4px; }
.c3d__swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 40%, #fff), var(--c) 60%); cursor: pointer; transition: transform .3s var(--ease), border-color .3s; }
.c3d__swatch:hover { transform: scale(1.12); }
.c3d__swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px var(--orange); }

.hs3d { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; pointer-events: auto; transition: opacity .35s; will-change: transform; }
.hs3d.is-hidden { opacity: 0; pointer-events: none; }
.hs3d__dot { position: relative; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, var(--c) 34%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 0 22px var(--c); }
.hs3d__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--c); opacity: 0; animation: hsPulse 2.2s var(--ease) infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes hsPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.hs3d__label { padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.hs3d.is-hover .hs3d__label, .hs3d.is-active .hs3d__label, .hs3d:focus-visible .hs3d__label { opacity: 1; transform: none; }
.hs3d.is-active .hs3d__dot { background: radial-gradient(circle, #fff 0 40%, var(--orange) 44%); box-shadow: 0 0 0 5px rgba(245, 130, 32, .35), 0 0 26px var(--orange); }

.c3d__card { grid-area: card; position: relative; align-self: stretch; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--c, #7c5cff) 22%, var(--ink-2)), var(--ink-2) 55%); border: 1px solid var(--line-d); }
.c3d__card.is-swap > * { animation: cardIn .55s var(--ease) both; }
.c3d__card.is-swap > *:nth-child(2) { animation-delay: .04s; } .c3d__card.is-swap > *:nth-child(3) { animation-delay: .08s; } .c3d__card.is-swap > *:nth-child(4) { animation-delay: .12s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.c3d__card-head { display: flex; align-items: center; gap: 12px; }
.c3d__card-head img { width: 44px; height: 44px; object-fit: contain; }
.c3d__card-head img[src=""] { visibility: hidden; }
.c3d__fam { color: var(--c, var(--orange)); letter-spacing: .14em; font-size: .78rem; }
.c3d__name { font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.c3d__grade { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); }
.c3d__grade .mono { color: var(--muted-d); font-size: .72rem; }
.c3d__grade b { font-size: 1.2rem; letter-spacing: -.01em; }
.c3d__why { color: #cfd3ea; font-size: .95rem; line-height: 1.55; }
.c3d__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; }
.c3d__list { grid-area: list; }
.c3d__list > .mono { color: var(--muted-d); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.c3d__list ul { display: flex; flex-wrap: wrap; gap: 8px; }
.c3d__list li[hidden] { display: none; }
.c3d__list button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-d); background: none; color: #dfe2f4; font: inherit; font-size: .84rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.c3d__list button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.c3d__list button:hover, .c3d__list li.is-active button { background: #fff; color: var(--ink); border-color: #fff; }
.c3d--section .c3d__list { display: none; }

/* tool page */
.tool { position: relative; padding: calc(var(--header-h) + 36px) 0 60px; overflow: hidden; }
.tool__glow { position: absolute; inset: 0; background: radial-gradient(40% 50% at 70% 40%, rgba(124, 92, 255, .22), transparent 70%), radial-gradient(30% 40% at 20% 70%, rgba(34, 211, 238, .14), transparent 70%); pointer-events: none; }
.tool__head { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px 64px; align-items: end; margin-bottom: 26px; }
.tool__head .crumbs { grid-column: 1 / -1; }
.tool__title { margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.tool__app { position: relative; padding: 0 var(--gutter); max-width: 1680px; margin: 0 auto; }
.c3d--tool .c3d__stage { height: clamp(460px, 74vh, 860px); }
.c3d--tool:fullscreen { background: var(--ink); padding: 18px; grid-template-rows: auto 1fr auto; }
.c3d--tool:fullscreen .c3d__stage { height: auto; }
.tool__foot { position: relative; margin-top: 18px; }

/* ------------------------------------------------------------------ customers marquee (CSS only) */
.logos--v2 { display: grid; gap: clamp(10px, 1.4vw, 18px); margin-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lm { overflow: hidden; }
.lm__track { display: flex; width: max-content; animation: lmSlide var(--d, 70s) linear infinite; will-change: transform; backface-visibility: hidden; }
.lm--rev .lm__track { animation-direction: reverse; }
.lm__set { display: flex; align-items: center; flex: none; padding-right: clamp(24px, 3vw, 48px); gap: clamp(24px, 3vw, 48px); }
.lm__set img { height: clamp(46px, 5.2vw, 70px); width: auto; max-width: none; filter: grayscale(1) contrast(1.05); opacity: .8; transition: opacity .3s, filter .3s; }
.logos--v2:hover .lm__track { animation-play-state: paused; }
.lm__set img:hover { filter: none; opacity: 1; }
@keyframes lmSlide { to { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------------ breakers (ONE STOP / SPEED / QUALITY) */
.brk { position: relative; overflow: hidden; }
.brk__word { font-size: clamp(3.6rem, 13.5vw, 14.5rem); font-weight: 500; font-stretch: 125%; letter-spacing: -.02em; line-height: .86; text-transform: uppercase; white-space: nowrap; margin: 0; will-change: transform; }
.brk__body { font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 500; line-height: 1.5; max-width: 34ch; }
.brk--type { padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--line-l); }
.brk--type .brk__inner { display: grid; grid-template-columns: minmax(0, auto) minmax(240px, 34ch); justify-content: space-between; gap: 24px clamp(28px, 4vw, 72px); align-items: center; }
.brk--type .brk__word { font-size: clamp(3rem, 7.6vw, 9rem); }
.brk--type .brk__word { color: var(--ink); }
.brk--quality .brk__word { background: linear-gradient(100deg, var(--ink) 30%, #2e3192 70%, #d4660a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brk__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.brk__badges li { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo); }
.brk__badges .i { width: 22px; height: 22px; }
.brk__badges .mono { color: var(--text); font-size: .78rem; }
.brk--band { min-height: clamp(360px, 52vh, 560px); display: flex; align-items: center; }
.brk__media { position: absolute; inset: -8% 0; }
.brk__media img, .brk__media video { width: 100%; height: 100%; object-fit: cover; }
.brk--band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 36, .78) 0%, rgba(7, 11, 36, .25) 55%, rgba(7, 11, 36, .45)); pointer-events: none; }
.brk--band .brk__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(240px, 34ch) minmax(0, auto); justify-content: space-between; gap: 24px 48px; align-items: center; width: 100%; }
.brk--band .brk__word { font-size: clamp(3.2rem, 11vw, 12.5rem); }
.brk--band .brk__word { color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, .35); }
.brk--band .brk__body { color: #eef0fb; }

/* ------------------------------------------------------------------ families: fit one screen */
.families__pin { height: 100svh; min-height: 0; padding: calc(var(--header-h) + 18px) 0 28px; justify-content: center; }
.families__head { grid-template-columns: 1.1fr 1fr; margin-bottom: clamp(16px, 2.4vh, 32px); }
.families__head .h2 { font-size: clamp(2rem, min(4.6vw, 7.2vh), 4.4rem); }
.families__head .lede { font-size: clamp(.98rem, 1.15vw, 1.15rem); }
.fam-panel { min-height: 0; height: min(58vh, 540px); }
.fam-panel__body { padding: clamp(20px, 2.6vw, 40px); justify-content: center; gap: 4px; overflow: hidden; }
.fam-panel__name { margin: 0 0 10px; font-size: 0; line-height: 0; }
.fam-panel__name .fam-logo { width: min(100%, 360px); height: auto; }
.fam-panel__type { font-size: .95rem; }
.fam-panel__tag { margin-top: 8px; font-size: 1.1rem; }
.fam-panel .chips { margin-top: 12px; }
.fam-panel .link-arrow { margin-top: 16px; }
.families__progress { margin-top: clamp(14px, 2vh, 26px); }
@media (max-height: 760px) and (min-width: 901px) {
  .fam-panel { height: 56vh; }
  .fam-panel .chips li:nth-child(n+3) { display: none; }
  .families__head .lede { display: none; }
}

/* ------------------------------------------------------------------ finder with motion */
.finder2 { position: relative; overflow: hidden; }
.finder2__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.finder2__ribbons path { fill: none; stroke: url(#rib); stroke-width: 1.4; stroke-dasharray: 1200 2400; animation: ribbon 9s linear infinite; opacity: .7; }
.finder2__ribbons path:nth-child(3) { animation-duration: 12s; animation-delay: -4s; stroke-width: 1; }
.finder2__ribbons path:nth-child(4) { animation-duration: 15s; animation-delay: -8s; stroke-width: .8; }
@keyframes ribbon { from { stroke-dashoffset: 3600; } to { stroke-dashoffset: 0; } }
.finder2__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.finder2__title { font-size: clamp(2.4rem, 5.4vw, 5.4rem); font-weight: 620; font-stretch: 108%; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 26px; }
.finder2__pill { display: inline-block; vertical-align: -.08em; width: 2.2em; height: .78em; border-radius: 99px; overflow: hidden; background: var(--ink); box-shadow: 0 10px 30px rgba(46, 49, 146, .25); }
.finder2__pill video, .finder2__pill img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ infrastructure ring */
.infra { position: relative; overflow: hidden; padding-bottom: clamp(40px, 6vw, 90px); }
.infra__blueprint { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(124, 92, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 92, 255, .08) 1px, transparent 1px), linear-gradient(rgba(124, 92, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 92, 255, .04) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; -webkit-mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); pointer-events: none; }
.infra__head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; }
.infra__side .lines { margin: 22px 0; }
.ring { --fw: clamp(220px, 27vw, 430px); position: relative; height: clamp(340px, 50vw, 620px); margin-top: clamp(20px, 3vw, 40px); perspective: 1300px; cursor: grab; touch-action: pan-y; user-select: none; }
.ring:active { cursor: grabbing; }
.ring__scene { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transform: rotateX(-8deg); }
.ring__spin { position: relative; width: var(--fw); aspect-ratio: 4 / 3; transform-style: preserve-3d; will-change: transform; }
.ring__face { --r: calc(var(--fw) * 1.62); position: absolute; inset: 0; margin: 0; border-radius: 14px; overflow: hidden; transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(var(--r)); backface-visibility: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.ring__face img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring__face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 36, .45)); }
.ring__hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); color: var(--muted-d); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

/* ------------------------------------------------------------------ industries reveal */
.ind2 { position: relative; margin-top: clamp(20px, 3vw, 40px); }
.ind2__list { border-top: 1px solid var(--line-l); }
.ind2__row a { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1.2fr) minmax(0, 1.4fr) 40px; align-items: center; gap: 18px; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line-l); text-decoration: none; color: inherit; transition: padding .5s var(--ease); }
.ind2__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); color: var(--indigo); transition: background .35s, color .35s, transform .5s var(--ease); }
.ind2__icon .i { width: 24px; height: 24px; }
.ind2__name { min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.5rem, 3.2vw, 3.2rem); font-weight: 600; font-stretch: 110%; letter-spacing: -.035em; line-height: 1; color: color-mix(in srgb, var(--ink) 30%, transparent); transition: color .4s; }
.ind2__desc { color: var(--text-2); font-size: .98rem; transition: color .4s; }
.ind2__go { justify-self: end; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #b25a0c; transition: background .35s, color .35s, transform .5s var(--ease); }
.ind2__go .i { width: 20px; height: 20px; }
.ind2__img { display: none; }
.ind2__row a:hover, .ind2__row a:focus-visible, .ind2__row.is-on a { padding-left: 14px; }
.ind2__row a:hover .ind2__name, .ind2__row a:focus-visible .ind2__name, .ind2__row.is-on .ind2__name { color: var(--ink); }
.ind2__row a:hover .ind2__icon, .ind2__row.is-on .ind2__icon { background: var(--ink); color: #fff; transform: rotate(-8deg); }
.ind2__row a:hover .ind2__go { background: var(--orange); color: var(--ink); transform: rotate(45deg); }
.ind2__float { position: fixed; left: 0; top: 0; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.86); transition: opacity .35s, transform .45s var(--ease); box-shadow: 0 30px 70px rgba(7, 11, 36, .35); }
.ind2__float.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.ind2__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
@media (hover: none), (max-width: 900px) {
  .ind2__float { display: none; }
  .ind2__row a { grid-template-columns: 46px minmax(0, 1fr) 34px; }
  .ind2__desc { grid-column: 2 / 3; grid-row: 2; font-size: .9rem; }
  .ind2__go { grid-row: 1 / 3; grid-column: 3; }
  .ind2__name { color: var(--ink); }
}

/* ------------------------------------------------------------------ journal cards (expanding) */
.journal { position: relative; overflow: hidden; }
.journal__wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.journal .wrap { position: relative; }
.journal__head { display: grid; gap: 14px; margin-bottom: clamp(26px, 3vw, 44px); }
.journal__head .h2 { margin-bottom: 0; }
.jcards { display: flex; gap: 14px; height: clamp(420px, 56vh, 560px); }
.jc { flex: 1 1 0; min-width: 0; position: relative; border-radius: 22px; overflow: hidden; transition: flex-grow .8s var(--ease); background: var(--ink); }
.jc.is-open { flex-grow: 2.4; }
.jc a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.jc__media { position: absolute; inset: 0; }
.jc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jc.is-open .jc__media img { transform: scale(1.04); }
.jc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 36, .05), rgba(7, 11, 36, .55)); }
.jc__panel { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 10px; padding: 18px 70px 18px 20px; border-radius: 16px; background: #fff; color: var(--ink); transition: background .6s var(--ease), color .6s, padding .6s var(--ease); }
.jc.is-open .jc__panel { background: var(--tone); color: #fff; padding: 26px 80px 26px 26px; }
.jc__meta { font-size: .7rem; color: #b25a0c; text-transform: uppercase; letter-spacing: .12em; transition: color .6s; }
.jc.is-open .jc__meta { color: rgba(255, 255, 255, .8); }
.jc__title { font-size: clamp(1.05rem, 1.4vw, 1.4rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jc.is-open .jc__title { font-size: clamp(1.3rem, 2vw, 2rem); }
.jc__excerpt { display: none; font-size: .95rem; line-height: 1.5; opacity: .9; }
.jc.is-open .jc__excerpt { display: block; animation: cardIn .7s .15s var(--ease) both; }
.jc__go { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .5s var(--ease), background .4s, color .4s; }
.jc__go .i { width: 20px; height: 20px; }
.jc a:hover .jc__go { background: #fff; color: var(--ink); border-color: #fff; transform: rotate(45deg); }
.journal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 30px; }
@media (max-width: 900px) {
  .jcards { flex-direction: column; height: auto; }
  .jc { flex: none; height: 360px; }
  .jc.is-open { flex: none; }
  .jc .jc__excerpt { display: none; }
}

/* ------------------------------------------------------------------ media */
.media-sec__head { display: grid; gap: 14px; margin-bottom: 30px; }
.yts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.yt--lead { grid-column: span 2; grid-row: span 2; }
.yt__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; }
.yt__btn img, .yt__btn iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__btn img { transition: transform .9s var(--ease), opacity .4s; opacity: .85; }
.yt__btn:hover img { transform: scale(1.05); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); transition: transform .4s var(--ease); }
.yt__play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt__btn:hover .yt__play { transform: scale(1.08); }
.yt__title { margin-top: 10px; font-size: .95rem; color: #d7daee; }
.media-empty { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.media-empty__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.media-empty .lede { grid-column: 1 / -1; color: var(--muted-d); }

/* ------------------------------------------------------------------ industry pages */
.ind-hero .page-hero__bg::after { background: linear-gradient(180deg, rgba(7, 11, 36, .35), rgba(7, 11, 36, .9)); }
.ind-hero__icon { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--orange); }
.ind-hero__icon .i { width: 34px; height: 34px; }
.ind-hero__icon .mono { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.ind-intro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 90px); }
.ind-intro__text p { font-size: var(--fs-lede); line-height: 1.6; color: var(--text-2); margin-bottom: 1em; }
.ind-intro__text p:first-child { color: var(--ink); font-weight: 500; }
.h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; margin-bottom: 18px; }
.ind-needs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ind-needs__grid li { padding: 22px; border-radius: 20px; background: var(--paper); }
.ind-needs__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 14px; }
.ind-needs__icon .i { width: 24px; height: 24px; }
.ind-needs__grid h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.ind-needs__grid p { color: var(--text-2); font-size: .94rem; line-height: 1.5; }
.ind-parts__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.ind-parts__list li { padding: 12px 20px; border-radius: 99px; border: 1px solid var(--line-d); font-size: clamp(1rem, 1.3vw, 1.2rem); background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(90deg, rgba(34, 211, 238, .5), rgba(124, 92, 255, .5), rgba(244, 114, 208, .5)) border-box; border: 1px solid transparent; }
.ind-fams__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.ind-fam { position: relative; display: grid; gap: 10px; padding: 24px; border-radius: 22px; background: var(--paper); text-decoration: none; color: inherit; transition: transform .5s var(--ease), box-shadow .5s; }
.ind-fam:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(7, 11, 36, .12); }
.ind-fam__logo .fam-logo { width: min(100%, 230px); }
.ind-fam__type { font-weight: 600; }
.ind-fam__tag { color: var(--text-2); font-size: .92rem; }
.ind-fam__go { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--c); }
.ind-fam__go .i { width: 18px; height: 18px; }
.ind-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ind-grade { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-l); text-decoration: none; color: inherit; border-left: 4px solid var(--c); transition: background .3s; }
.ind-grade:hover { background: var(--paper); }
.ind-grade .mono { color: var(--c); font-size: .72rem; letter-spacing: .12em; }
.ind-grade b { font-size: 1.15rem; }
.ind-grade span:last-child { color: var(--text-2); font-size: .88rem; }
.ind-faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 90px); }
.faq2 .faq__item { border-bottom: 1px solid var(--line-l); }
.faq2 .faq__item summary { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.12rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq2 .faq__item summary::-webkit-details-marker { display: none; }
.faq2 .faq__plus { position: relative; flex: none; width: 18px; height: 18px; margin-top: 5px; }
.faq2 .faq__plus::before, .faq2 .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq2 .faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq2 .faq__plus::after { transform: rotate(0); }
.faq2 .faq__item p { padding: 0 0 22px; color: var(--text-2); line-height: 1.6; max-width: 65ch; }
.ind-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ind-tile { position: relative; display: block; min-height: 360px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.ind-tile--wide { grid-column: 1 / -1; min-height: 440px; }
.ind-tile__media { position: absolute; inset: 0; }
.ind-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ind-tile:hover .ind-tile__media img { transform: scale(1.05); }
.ind-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 36, .05) 30%, rgba(7, 11, 36, .85)); }
.ind-tile__body { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 8px; padding-right: 60px; }
.ind-tile__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); margin-bottom: 6px; }
.ind-tile__icon .i { width: 24px; height: 24px; }
.ind-tile b { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -.025em; }
.ind-tile small { color: #dfe2f4; font-size: .95rem; max-width: 60ch; }
.ind-tile__go { position: absolute; right: 0; bottom: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); transition: transform .5s var(--ease); }
.ind-tile:hover .ind-tile__go { transform: rotate(45deg); }

/* ------------------------------------------------------------------ footer */
.footer__grid { grid-template-columns: repeat(4, 1fr) 1.2fr; }
.footer__fam { display: inline-flex; align-items: center; gap: 10px; }
.footer__fam .fam-logo { width: 22px; height: 22px; object-fit: contain; }
.footer__credit { color: var(--muted-d); }
.footer__credit a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-d); }
.footer__credit a:hover { border-color: var(--orange); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .brk--type .brk__inner, .brk--band .brk__inner { grid-template-columns: 1fr; }
  .brk--band .brk__word { order: -1; }
  .mm__grid--materials { grid-template-columns: 1fr 1fr; }
  .mm__feature { display: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .statement--v2 .statement__grid, .c3d-sec__head, .infra__head, .journal__head, .media-sec__head, .finder2__grid, .ind-intro__grid, .ind-faq__grid, .tool__head { grid-template-columns: 1fr; }
  .c3d { grid-template-columns: 1fr; grid-template-areas: "bar" "stage" "card" "list"; }
  .c3d__stage { height: 64svh; min-height: 360px; }
  .c3d__ctl span { display: none; }
  .c3d__ctl { padding: 0 11px; }
  .c3d__tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .c3d__tab { white-space: nowrap; padding: 9px 14px; }
  .c3d--section .c3d__list { display: block; }
  .brk--type .brk__inner, .brk--band .brk__inner { grid-template-columns: 1fr; }
  .brk__word { font-size: clamp(3rem, 17vw, 7rem); white-space: normal; }
  .yts { grid-template-columns: 1fr; }
  .yt--lead { grid-column: auto; grid-row: auto; }
  .ind-tiles, .ind-needs__grid { grid-template-columns: 1fr; }
  .ind-tile, .ind-tile--wide { min-height: 320px; }
  .media-empty { grid-template-columns: 1fr; }
  .fam-panel { height: auto; }
  .families__pin { height: auto; padding-top: clamp(70px, 12vw, 120px); }
  .wave { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .c3d__paints .mono { display: none; }
  .finder2__pill { display: none; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lm__track, .finder2__ribbons path, .hs3d__dot::after, .c3d__ring { animation: none !important; }
  .jc, .jc__panel, .ind2__row a { transition: none !important; }
}
html.rm .lm__track, html.rm .finder2__ribbons path { animation: none !important; }

/* journal index */
.page-hero--journal { position: relative; overflow: hidden; }
.journal__wave--dark { opacity: 1; mix-blend-mode: screen; }
.journal--index { padding-bottom: 0; }
