/* Home v2: hero, animated product demos, three-way toggle, dOS stage, journeys, numbers.
   Loaded after home.css. Scroll-scrubbed pieces read --p (0 to 1), which site.js sets on [data-scrub] elements.
   One panel radius (10px), one accent (#2A6FDB), audience tints: blue #E9F1FB, coral #FBEDE8, lilac #EDEBF8. */

/* ---------- hero ---------- */
.hero {max-width:1280px; margin:0 auto; padding:clamp(98px,10vw,150px) 32px clamp(96px,10vw,140px) 32px; text-align:center}
.hero-in {display:flex; flex-direction:column; align-items:center; transform:translate3d(0,calc(var(--p,0) * 80px),0); opacity:calc(1 - var(--p,0) * 1.2)}
.hero-h {margin:0; max-width:1000px}
/* The three statement headlines are set in Erode, tight; every other heading stays in Spline Sans. */
.hero-h, .num-v, .fair-h {font-family:"Erode",Georgia,serif; font-weight:500; letter-spacing:-0.045em}
/* Display type sized like the reference: 72px with 1.22 leading, 40px with 1.2 on phones, 32px on the narrowest. */
.hero-h {font-size:4.5rem; line-height:1.05}
.fair-h {line-height:1.05 !important}
@media (max-width:767px) {
.hero-h {font-size:2.5rem; line-height:1.05}
}
@media (max-width:359px) {
.hero-h {font-size:2rem}
}
/* The small link above the headline: grey, types itself in from the left */
.hero-k {display:inline-flex; align-items:center; gap:4px; margin:0 0 10px 0; font-size:14px; font-weight:500; line-height:1.6; color:rgba(17,18,22,.6); text-decoration:none; transition:color .2s ease}
.hero-k:hover {color:#111216}
.hero-k svg {transition:transform .3s cubic-bezier(.22,1,.36,1)}
.hero-k:hover svg {transform:translate3d(2px,0,0)}
.dy-on .hero-k {animation:hk-in .9s cubic-bezier(.7,0,.3,1) .1s both}
@keyframes hk-in {0% {clip-path:inset(0 100% 0 0); opacity:.4} 100% {clip-path:inset(0 0 0 0); opacity:1}}
/* Headline letters (js/letters.js): each falls a tenth of an em into place, a few pass through a brand colour,
   and the whole line gives a small uneven hop when pointed at or tapped. */
.hl-w {white-space:nowrap}
.hl-l {display:inline-block}
.hl-on .hl-l {opacity:0}
.hl-play .hl-l {animation:hl-in .72s cubic-bezier(.4,0,.2,1) calc(90ms + var(--i) * 14ms) both}
.hl-play .hl-l[data-c] {animation-name:hl-in-c}
.hl-hop .hl-l {opacity:1; animation:hl-hop .62s cubic-bezier(.4,0,.2,1) var(--hop,0ms) both}
.hl-hop .hl-l[data-c] {animation-name:hl-hop-c}
@keyframes hl-in {0% {opacity:0; transform:translate3d(0,-.1em,0)} 100% {opacity:1; transform:none}}
@keyframes hl-in-c {0% {opacity:0; transform:translate3d(0,-.1em,0); color:var(--c)} 58% {opacity:1; transform:none; color:var(--c)} 100% {opacity:1; transform:none; color:inherit}}
@keyframes hl-hop {0%, 100% {transform:none} 42% {transform:translate3d(0,calc(-.1em / var(--mass,1)),0)}}
@keyframes hl-hop-c {0%, 100% {transform:none; color:inherit} 42% {transform:translate3d(0,calc(-.1em / var(--mass,1)),0); color:var(--c)}}
@media (prefers-reduced-motion:reduce) {
.hl-l {opacity:1 !important; animation:none !important}
.dy-on .hero-k {animation:none}
}

/* ---------- product panes ---------- */
/* The two panels sit edge to edge: the space between them is padding inside each panel, not a gap,
   so the pointer passes straight from one to the other without both resetting in between.
   .duo is a size container so each demo window can be given a fixed width (cqw) that does not
   change while its panel grows or shrinks. Nothing inside the window re-wraps mid-transition. */
.duo {max-width:1312px; margin:0 auto; padding:0 16px; display:flex; container-type:inline-size}
.duo .pane {padding:0 16px}
.duo .win {flex:none; width:auto; width:calc(50cqw - 72px); contain:layout}
.solo {max-width:1280px; margin:0 auto; padding:64px 32px 0 32px}
.pane {flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:20px; transition:flex-grow .9s cubic-bezier(.4,0,.1,1)}
.pane-h {display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap}
@media (min-width:981px) {
.duo .pane-h {flex-wrap:nowrap}
.duo .pane-h > div {flex:1 1 auto; min-width:0}
.duo .pane-k, .duo .pane-t {white-space:nowrap; overflow:hidden}
.duo .pane-h .btn {flex:0 0 auto}
}
@container (max-width:1229px) {
.pane-h {flex-direction:column; align-items:flex-start}
}
.pane-k {margin:0; font-size:21px; font-weight:500; letter-spacing:-0.025em; color:#7A7D85}
.pane-t {margin:2px 0 0 0; font-size:21px; font-weight:500; letter-spacing:-0.025em}
.pane-tags {margin:-6px 0 0 0; font-size:13px; line-height:1.5; color:#7A7D85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.frame {position:relative; height:480px; padding:40px 0 0 40px; box-sizing:border-box; overflow:hidden; border-radius:10px; transform:scale(calc(.94 + var(--p,1) * .06)); transform-origin:50% 100%}
.f-stu {background:#E9F1FB}
.f-emp {background:#FBEDE8}
.f-uni {background:#EDEBF8; height:470px}
.demo {position:relative; z-index:1; height:100%; transform-origin:0 0; transition:transform .9s cubic-bezier(.4,0,.1,1)}
.win {position:relative; height:100%; display:flex; overflow:hidden; border-radius:10px 0 0 0; background:#FFFFFF; box-shadow:0 24px 60px rgba(24,73,128,.14); font-size:12px; line-height:1.4; text-align:left; transition:border-radius .9s cubic-bezier(.4,0,.1,1)}
.f-emp .win {box-shadow:0 24px 60px rgba(255,107,74,.16)}
.f-uni .win {box-shadow:0 24px 60px rgba(111,103,171,.18)}
.win-side {flex:0 0 150px; display:flex; flex-direction:column; gap:3px; padding:18px 12px; box-sizing:border-box; border-right:1px solid #EEEDE8; background:#FBFBF9; color:#6A6D75}
.win-side > span {padding:7px 9px; border-radius:6px; white-space:nowrap}
.win-side .is-on {background:#F0EFEA; color:#111216; font-weight:500}
.win-brand {padding:2px 9px 14px 9px}
.logo-s {display:block; height:14px; width:auto; overflow:hidden}
.win-main {flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:10px; padding:16px 18px; box-sizing:border-box; transition:opacity .45s ease}
.demo.fading .win-main, .demo.fading .toast, .demo.fading .alert {opacity:0 !important}

/* flow items: take no space until the timeline switches them on */
.dy-on .demo .fl {display:none}
.dy-on .demo .fl.on {display:flex; animation:demo-in .55s cubic-bezier(.22,1,.36,1) both}
@keyframes demo-in {
from {opacity:0; transform:translate3d(0,10px,0) scale(.98)}
to {opacity:1; transform:none}
}
.typing::after {content:""; display:inline-block; width:1.5px; height:1.05em; margin-left:1px; vertical-align:-2px; background:#2A6FDB; animation:dy-caret .9s steps(1) infinite}
@keyframes dy-caret {
50% {opacity:0}
}

/* shared demo pieces */
.lbl, .card-k {font-size:9.5px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:#8A8D94}
.pill {flex:0 0 auto; display:inline-flex; align-items:center; min-height:24px; padding:0 10px; border-radius:6px; font-size:10.5px; font-weight:500; white-space:nowrap}
.pill-fit {background:#E3EEFB; color:#1B55B0}
.pill-ghost {border:1px solid #E2E1DB}
.pill-btn {background:#111216; color:#FFFFFF; transition:background-color .35s ease, color .35s ease, transform .18s ease}
.pill-btn .b {display:none}
.pill-btn.on {background:#2A6FDB}
.pill-btn.on .a {display:none}
.pill-btn.on .b {display:inline}
.pill-btn.press {transform:scale(.9)}
.role-b {flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px}
.role-b b {font-size:12.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.role-b i {font-style:normal; font-size:11.5px; color:#6A6D75; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.bar-t {flex:1 1 auto; display:block; height:4px; border-radius:4px; background:#EEEDE8; overflow:hidden}
.bar-t i {display:block; height:100%; width:var(--w); border-radius:inherit; background:#111216; transform-origin:left center; transition:transform 1.3s cubic-bezier(.7,0,.3,1)}
.dy-on .demo .bar-t i {transform:scaleX(0)}
.dy-on .demo .on .bar-t i {transform:none}
.chat, .feed {-webkit-mask-image:linear-gradient(180deg, transparent 0, #000 26px); mask-image:linear-gradient(180deg, transparent 0, #000 26px)}

/* chat (students) */
.chat {flex:1 1 auto; min-height:0; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; gap:8px}
.msg {max-width:84%; padding:9px 12px; border-radius:10px; font-size:12.5px; line-height:1.45}
.msg.me {align-self:flex-end; border-bottom-right-radius:4px; background:#111216; color:#FFFFFF}
.msg.ai {align-self:flex-start; border-bottom-left-radius:4px; background:#F3F2ED}
.msg.think {padding:13px 14px; color:#6A6D75}
.role {display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid #EEEDE8; border-radius:8px; background:#FFFFFF}
.role-ic {flex:0 0 30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; background:#111216; color:#FFFFFF; font-size:11px; font-weight:600}
.sys {align-self:center; display:flex; align-items:center; gap:8px; padding:5px 12px 5px 5px; border-radius:8px; background:#E3EEFB; color:#184980; font-size:11.5px}
.sys b {font-weight:600}
.sys-av {flex:0 0 22px; height:22px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#184980; color:#FFFFFF; font-size:9px; font-weight:600}
.chips {display:flex; gap:6px; align-self:flex-start}
.chips span {padding:6px 11px; border:1px solid #D9D8D2; border-radius:7px; font-size:11.5px; font-weight:500}
.composer {flex:0 0 auto; display:flex; align-items:center; gap:8px; min-height:40px; padding:0 6px 0 14px; border:1px solid #E2E1DB; border-radius:8px; font-size:12.5px}
.composer-t {flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden}
.composer-ph {flex:1 1 auto; color:#9A9CA3}
.dy-on .composer-t:not(.on) {display:none}
.dy-on .composer-t.on + .composer-ph {display:none}
.page:not(.dy-on) .composer-t {display:none}
.send {flex:0 0 28px; height:28px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:#111216; color:#FFFFFF}

/* shortlist (employers) */
.win-main.col {gap:9px}
.brief-bar {flex:0 0 auto; display:flex; align-items:center; gap:10px; min-height:38px; padding:0 12px; border:1px solid #E2E1DB; border-radius:8px; font-size:12.5px}
.brief-t {white-space:nowrap; overflow:hidden}
.scan {display:flex; flex-direction:column; gap:8px; padding:11px 12px; border-radius:8px; background:#F3F2ED; color:#44474E}
.scan b {font-weight:600; color:#111216; font-variant-numeric:tabular-nums}
.scan-bar {display:block; height:3px; border-radius:3px; background:#E2E1DB; overflow:hidden}
.scan-bar i {display:block; height:100%; background:#2A6FDB; transform-origin:left center; transform:scaleX(0)}
.scan.on .scan-bar i {animation:dy-scan 1.9s cubic-bezier(.4,0,.2,1) forwards}
@keyframes dy-scan {
to {transform:none}
}
.found {display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11.5px}
.found-t {display:inline-flex; align-items:center; gap:6px; color:#1B55B0; font-weight:500}
.found-a {display:inline-flex; gap:6px}
.cand {display:flex; align-items:center; gap:10px}
.cand-av {flex:0 0 36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#FBEDE8; font-size:12px; font-weight:600}
.card {display:flex; flex-direction:column; gap:5px; padding:10px 12px; border:1px solid #EEEDE8; border-radius:8px; font-size:11.5px; line-height:1.5; color:#44474E}
.card ul {margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:2px}
.card li {position:relative; padding-left:12px}
.card li::before {content:""; position:absolute; left:2px; top:.62em; width:4px; height:4px; border-radius:50%; background:#111216}
.dy-on .demo li[data-at] {opacity:0; transform:translate3d(-6px,0,0); transition:opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1)}
.dy-on .demo li[data-at].on {opacity:1; transform:none}
.bars {display:flex; flex-direction:column; gap:7px; font-size:10.5px; color:#6A6D75}
.bar-r {display:flex; align-items:center; gap:10px}
.bar-r > span:first-child {flex:0 0 62px}
.toast {position:absolute; right:14px; bottom:14px; z-index:3; display:inline-flex; align-items:center; gap:8px; padding:9px 13px; border-radius:8px; background:#111216; color:#FFFFFF; font-size:11.5px; font-weight:500; box-shadow:0 12px 30px rgba(17,18,22,.25)}
.dy-on .demo .toast, .dy-on .demo .alert {opacity:0; transform:translate3d(0,14px,0) scale(.97); transition:opacity .45s ease, transform .6s cubic-bezier(.22,1,.36,1)}
.dy-on .demo .toast.on, .dy-on .demo .alert.on {opacity:1; transform:none}

/* dashboard (universities) */
.win-main.uni {display:grid; grid-template-columns:1.2fr 1fr; grid-template-rows:auto minmax(0,1fr); gap:12px}
.uni-kpis {grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
.kpi {min-width:0; display:flex; flex-direction:column; gap:2px; padding:12px 14px; border:1px solid #EEEDE8; border-radius:8px}
.kpi-l {font-size:11px; color:#6A6D75}
.kpi b {font-size:26px; font-weight:400; letter-spacing:-0.03em; line-height:1.15; font-variant-numeric:tabular-nums}
.kpi-d {font-size:10.5px; color:#1B55B0}
.kpi-w .kpi-d {color:#B4532A}
.kpi-b {display:none; color:#1B55B0}
.dy-on .demo .kpi-a.off {display:none}
.dy-on .demo .kpi-b.on {display:block}
.uni-chart, .uni-feed {min-width:0; min-height:0; display:flex; flex-direction:column; gap:10px; padding:12px 14px; border:1px solid #EEEDE8; border-radius:8px; overflow:hidden}
.ch-r {display:grid; grid-template-columns:minmax(0,132px) 1fr 30px; align-items:center; gap:10px; font-size:11.5px; color:#44474E}
.ch-r > span:first-child {white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ch-r b {font-weight:500; text-align:right; color:#111216}
.ch-r .bar-t {height:8px; border-radius:8px}
.ch-r .bar-t i {background:#2A6FDB}
.ch-r:nth-of-type(2) .bar-t i {background:#7FB6E3}
.ch-r:nth-of-type(3) .bar-t i {background:#8B84C0}
.ch-r:nth-of-type(4) .bar-t i {background:#C9C3E6}
.feed {flex:1 1 auto; min-height:0; display:flex; flex-direction:column; justify-content:flex-end; gap:8px; overflow:hidden}
.fd {display:flex; flex-direction:column; gap:1px; padding:8px 10px; border-radius:7px; background:#F7F6F2; font-size:11.5px}
.fd-t {font-size:10px; color:#8A8D94}
.fd-b {color:#111216}
.fd-m {color:#1B55B0; font-weight:500}
.fd-wait {color:#B4532A}
.dy-on .demo .fd-m {max-height:0; opacity:0; overflow:hidden; transition:max-height .45s ease, opacity .45s ease}
.dy-on .demo .fd-m.on {max-height:22px; opacity:1}
.alert {position:absolute; left:178px; bottom:30px; z-index:3; max-width:340px; display:flex; align-items:center; gap:14px; padding:12px 12px 12px 14px; border-radius:10px; background:#111216; color:#FFFFFF; box-shadow:0 16px 40px rgba(17,18,22,.28)}
.alert-b {display:flex; flex-direction:column; gap:2px; font-size:11.5px; line-height:1.4}
.alert-b b {font-weight:500}
.alert-b span {color:rgba(255,255,255,.66)}
.alert .pill-btn {background:#FFFFFF; color:#111216}
.alert .pill-btn.on {background:#2AB1F4; color:#06263B}

/* the demo pointer */
.demo-cur {position:absolute; left:0; top:0; z-index:6; width:20px; height:20px; margin:-2px 0 0 -4px; opacity:0; pointer-events:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 2l11.5 9.2-5.2.6 3 6-2.4 1.2-3-6.1L4 16.6z' fill='%23111216' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; transition:transform .95s cubic-bezier(.6,0,.2,1), opacity .3s ease}
.demo-cur.show {opacity:1}
.demo-cur::after {content:""; position:absolute; left:-8px; top:-10px; width:26px; height:26px; border-radius:50%; border:1.5px solid #2A6FDB; opacity:0}
.demo-cur.click::after {animation:dy-click .5s ease-out}
@keyframes dy-click {
0% {opacity:.9; transform:scale(.3)}
100% {opacity:0; transform:scale(1.5)}
}

/* ---------- hover focus ----------
   Whatever is under the pointer stays sharp; its neighbours fade back. Pointer devices only. */
.pane > * {transition:opacity .7s ease}
@media (hover:hover) {
.page:has(.pane:hover) .pane:not(:hover) > * {opacity:.34}
/* The hovered panel takes a larger share of the row and its demo eases up a touch in scale.
   Only flex-grow, a transform and opacity move, all on one curve, so the hand-over stays even. */
.duo .pane:hover {flex-grow:1.3}
.duo .pane:hover .demo {transform:scale(1.035)}
.duo .pane:hover .win {border-radius:10px 10px 0 0}
.duo:has(.pane:hover) .pane:not(:hover) .pane-k, .duo:has(.pane:hover) .pane:not(:hover) .pane-t {-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image:linear-gradient(90deg, #000 calc(100% - 44px), transparent)}
.rail:has(.jr:hover) .jr:not(:hover) > * {opacity:.4}
}

/* ---------- partner logos ---------- */
.logos {max-width:1280px; margin:0 auto; padding:76px 0}
.marq-g img {flex:0 0 auto; height:38px; width:auto; filter:grayscale(1) contrast(1.05); opacity:.78; mix-blend-mode:multiply}
/* The Black Excellence Network mark is a round emblem, so it needs more height to sit level with the wordmarks. */
.marq-g img[src*="black-excellence"] {height:56px}

/* ---------- what is broken today: one card per audience ---------- */
.broken {max-width:1280px; margin:0 auto; padding:128px 32px 128px 32px}
.broken-head {max-width:900px; margin:0 auto 52px auto; text-align:center}
.broken-h {margin:0; font-size:clamp(32px,4.4vw,60px); line-height:1.05}
.broken-h2 {color:#8A8D94}
.broken-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px}
.bk {padding:28px 28px 14px 28px; border-radius:10px; background:#F7F6F2}
.bk > * {transition:opacity .45s ease}
.bk-k {display:flex; align-items:center; gap:9px; margin:0 0 18px 0; font-size:14px; font-weight:500; color:#5B5E66}
.bk-dot {width:8px; height:8px; border-radius:50%}
.bk-t {margin:0 0 20px 0; font-size:clamp(23px,2.2vw,30px); line-height:1.1}
.bk-l {list-style:none; margin:0; padding:0}
.bk-l li {display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-top:1px solid rgba(17,18,22,.1); font-size:15.5px; line-height:1.45; color:#3C3F46}
.bk-x {flex:0 0 22px; height:22px; margin-top:0; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; background:#FFFFFF; color:#C2412A; box-shadow:0 0 0 1px rgba(17,18,22,.06)}
/* the lines of each card arrive one after another once the card is on screen */
.dy-on .bk li {opacity:0; transform:translate3d(-8px,0,0); transition:opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1)}
.dy-on .bk.in li {opacity:1; transform:none}
.dy-on .bk.in li:nth-child(1) {transition-delay:.25s}
.dy-on .bk.in li:nth-child(2) {transition-delay:.36s}
.dy-on .bk.in li:nth-child(3) {transition-delay:.47s}
.dy-on .bk.in li:nth-child(4) {transition-delay:.58s}
@media (hover:hover) {
.broken-grid:has(.bk:hover) .bk:not(:hover) > * {opacity:.4}
}
.broken-foot {max-width:640px; margin:44px auto 0 auto; text-align:center; font-size:clamp(17px,1.5vw,20px); line-height:1.45; letter-spacing:-0.015em; color:#3C3F46}

/* ---------- the data section: proprietary data, shown working ---------- */
.engine {margin:0 16px; border-radius:10px; background:#F7F6F2}
.engine-in {max-width:1248px; margin:0 auto; padding:clamp(64px,8vw,116px) 32px; box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); gap:clamp(36px,5vw,72px); align-items:center}
.engine-k {margin:0 0 16px 0; font-size:15px; font-weight:500; color:#7A7D85}
.engine-h {margin:0; font-size:clamp(32px,3.9vw,54px); line-height:1.05}
.engine-h2 {color:#8A8D94}
.engine-p {margin:22px 0 0 0; max-width:520px; font-size:17px; line-height:1.6; color:#3C3F46}
.engine-p strong {font-weight:500; color:#111216; background:linear-gradient(transparent 62%, rgba(42,177,244,.28) 62%)}
.engine-pts {list-style:none; margin:30px 0 0 0; padding:0; max-width:520px}
.engine-pts li {display:flex; align-items:baseline; gap:12px; padding:13px 0; border-top:1px solid rgba(17,18,22,.1); font-size:15.5px; line-height:1.4; color:#3C3F46}
.engine-pts li:last-child {border-bottom:1px solid rgba(17,18,22,.1)}
.engine-pts .bk-dot {flex:0 0 8px; transform:translate3d(0,-1px,0)}
.engine-pts b {flex:0 0 100px; font-weight:500; color:#111216}
.engine-vis {position:relative; padding:28px}
.engine-vis > .paper {border-radius:10px}
.engine .demo {height:auto}
.engine .win {height:auto; border-radius:10px; box-shadow:0 30px 70px -22px rgba(24,73,128,.26), 0 0 0 1px rgba(17,18,22,.05)}
.engine .win-main {min-height:438px; padding:22px; gap:10px; font-size:12.5px}
.eng-top {display:flex; flex-direction:column; gap:9px; padding-bottom:4px}
.eng-chips {display:flex; flex-wrap:wrap; gap:6px}
.eng-chip {padding:6px 11px; border-radius:7px; background:#E3EEFB; color:#184980; font-size:12px; font-weight:500}
.dy-on .demo .eng-chip {opacity:0; transform:translate3d(0,6px,0) scale(.96); transition:opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1)}
.dy-on .demo .eng-chip.on {opacity:1; transform:none}
.eng-head {display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:4px}
.eng-note {font-size:10.5px; color:#8A8D94}
.role .bar-t {flex:0 0 78px; height:6px; border-radius:6px}
.rank-1 {border-color:#C9DCF7; background:#F6FAFF}
.rank-1 .bar-t i {background:#2A6FDB}
.rank-1 .role-ic {background:#2A6FDB}
.rank-k {align-self:flex-start; font-size:9.5px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:#8A8D94}
.nums-k {margin:0 0 22px 0; font-size:15px; font-weight:500; color:#7A7D85}

/* ---------- three-way toggle ---------- */
.seg {grid-template-columns:1fr 1fr 1fr}
.seg-thumb {width:calc((100% - 10px) / 3)}
.seg-b {padding:0 20px}
[data-track="universities"] .seg-thumb {transform:translate3d(200%,0,0)}
[data-track="universities"] .seg-u {color:#111216}
.t-uni {display:none}
[data-track="universities"] .t-uni {display:block}
[data-track="universities"] .t-stu {display:none}

/* ---------- journeys ---------- */
.journeys {padding:68px 0 0 0}
.journeys .paper-strip {max-width:1280px; margin:0 auto}
.jr-head {max-width:1280px; margin:0 auto; padding:0 32px 36px 32px; box-sizing:border-box; display:flex; align-items:flex-end; justify-content:space-between; gap:24px}
.jr-h {margin:0; max-width:780px; font-size:clamp(30px,3.7vw,52px); line-height:1.06}
.jr-sub {margin:14px 0 0 0; font-size:17px; line-height:1.5; color:#5B5E66}
.jr-arrows {flex:0 0 auto; display:flex; gap:8px}
.jr-wrap {max-width:1280px; margin:0 auto}
.rail[data-scrub] {padding-left:calc(32px + (1 - var(--p,1)) * 140px)}
.jr {flex:0 0 clamp(280px,27vw,350px); margin:0; scroll-snap-align:start}
.jr-t {height:370px; padding:22px 24px 26px 24px; box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; border-radius:10px; transition:transform .7s cubic-bezier(.22,1,.36,1), opacity .45s ease}
.jr:hover .jr-t {transform:translate3d(0,-6px,0)}
.jr-blue {background:#E9F1FB}
.jr-coral {background:#FBEDE8}
.jr-lilac {background:#EDEBF8}
.jr-cream {background:#F1F0EA}
/* Photo cards alternate with the colour cards: a real Black X 2026 photo, darkened at the foot so the quote reads in white. */
.jr-photo {position:relative; overflow:hidden; isolation:isolate; background:#111216; color:#FFFFFF}
.jr-photo img {position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.22,1,.36,1)}
.jr-photo::after {content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(17,18,22,0) 28%, rgba(17,18,22,.38) 55%, rgba(17,18,22,.82) 100%)}
.jr:hover .jr-photo img {transform:scale(1.04)}
.jr-photo .jr-who {color:#111216}
.jr-who {display:inline-flex; align-items:center; min-height:30px; padding:0 12px; border-radius:7px; background:#FFFFFF; font-size:12.5px; font-weight:500}
.jr-t blockquote {margin:0; font-size:clamp(21px,1.8vw,26px); line-height:1.18; font-weight:500; letter-spacing:-0.03em}
.jr-k {margin:18px 0 6px 0; font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:#8A8D94}
.jr-b {margin:0; font-size:15px; line-height:1.55; color:#3C3F46}
.jr-k, .jr-b {transition:opacity .45s ease}

/* ---------- FAQs ---------- */
.faqs {max-width:1280px; margin:0 auto; padding:0 32px 128px 32px; box-sizing:border-box}
.faqs-in {display:grid; grid-template-columns:minmax(0,400px) minmax(0,1fr); gap:72px; align-items:start}
.faqs-head {position:sticky; top:32px}
.faqs-h {margin:0; font-size:clamp(32px,3.8vw,52px); line-height:1.04}
.faqs-s {margin:16px 0 26px 0; max-width:340px; font-size:16px; line-height:1.55; color:#5B5E66}
.ftabs {position:relative; display:inline-grid; grid-template-columns:repeat(3,1fr); padding:5px; border-radius:13px; background:rgba(226,225,218,.62)}
.ftabs-thumb {position:absolute; top:5px; bottom:5px; left:5px; width:calc((100% - 10px) / 3); border-radius:9px; background:#FFFFFF; box-shadow:0 1px 2px rgba(17,18,22,.08), 0 6px 14px -8px rgba(17,18,22,.18); transform:translate3d(calc(var(--i,0) * 100%),0,0); transition:transform .5s cubic-bezier(.7,0,.3,1)}
.ftab {position:relative; z-index:1; min-height:44px; padding:0 16px; border:0; border-radius:9px; background:transparent; font-size:15px; font-weight:500; color:#5B5E66; cursor:pointer; transition:color .3s ease}
.ftab[aria-pressed="true"] {color:#111216}
.faq-list {animation:dy-rise .55s cubic-bezier(.22,1,.36,1) both}
.faq-list .faq:first-child {border-top-color:#111216}
.faq-list .faq:last-child {border-bottom:1px solid rgba(17,18,22,.12)}
.faqs .faq-q {min-height:68px; font-size:clamp(16px,1.4vw,18.5px); letter-spacing:-0.015em}
.faqs .faq-b p {max-width:620px; padding:0 44px 24px 0; font-size:15.5px; line-height:1.6}

/* ---------- numbers ---------- */
/* numbers: the four figures beside the network, drawn to scale (js/net.js) */
.nums {max-width:1280px; margin:0 auto; padding:88px 32px 56px 32px; box-sizing:border-box; display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:36px 64px; align-items:center}
.nums-side {min-width:0}
.num-grid {display:grid; grid-template-columns:1fr 1fr; gap:0 28px}
.num-row {display:flex; flex-direction:column; gap:10px; padding:22px 0 26px 0; border-top:1px solid #DCDCD6}
.num-l {font-size:15px; line-height:1.35; color:#5B5E66}
.num-v {display:flex; align-items:flex-start; font-size:clamp(40px,4.4vw,62px); line-height:1}
.num-plus {line-height:1.1}
.net {position:relative; min-width:0; padding-top:30px}
.net canvas {display:block; width:100%; height:340px}
.net-l {position:absolute; top:0; display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:500; color:#44474E; white-space:nowrap; opacity:0; transition:opacity .5s ease}
.net-on .net-l {opacity:1}
.net-l i {width:8px; height:8px; border-radius:50%; background:#2A6FDB}
.net-ls {left:var(--net-s,0px)}
.net-lp {right:var(--net-pr,0px)}
.net-lp i {background:#184980}
.net-cap {display:block; margin-top:14px; text-align:center; font-size:13px; line-height:1.5; color:#7A7D85}

/* ---------- small screens ---------- */
@media (max-width:980px) {
.nums {grid-template-columns:minmax(0,1fr)}
.broken-grid {grid-template-columns:minmax(0,1fr)}
.pane-tags {white-space:normal}
.engine-in {grid-template-columns:minmax(0,1fr)}
.faqs-in {grid-template-columns:minmax(0,1fr); gap:36px}
.faqs-head {position:static}
.duo {flex-direction:column; gap:56px; padding:0 32px}
.duo .pane, .duo .pane:hover {flex:none; padding:0}
.duo .win {width:auto}
.duo .pane:hover .demo {transform:none}
}
@media (max-width:820px) {
.hero {padding-left:20px; padding-right:20px}
.duo, .solo, .nums {padding-left:20px; padding-right:20px}
.pane-k, .pane-t {font-size:19px}
.frame {height:460px; padding:22px 0 0 22px}
.win-main {padding:14px}
.win-main.uni {grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr)}
.uni-chart {display:none}
.uni-kpis {gap:6px}
.kpi {padding:9px 10px}
.kpi b {font-size:20px}
.kpi-d {display:none}
.alert {left:12px; right:12px; bottom:12px; max-width:none}
.marq-g img {height:30px}
.marq-g img[src*="black-excellence"] {height:44px}
.seg-b {padding:0 13px; font-size:14px}
.jr-head {padding-left:20px; padding-right:20px; flex-direction:column; align-items:flex-start}
.broken {padding:88px 20px 96px 20px}
.broken-head {margin-bottom:36px}
.bk {padding:24px 22px 10px 22px}
.engine {margin:0 10px}
.engine-in {padding-left:20px; padding-right:20px}
.engine-vis {padding:14px 0}
.engine .win-main {padding:16px}
.role .bar-t {display:none}
.engine .role-b b {white-space:normal}
.eng-note {display:none}
.faqs {padding:0 20px 96px 20px}
.ftabs {display:grid}
.ftab {padding:0 8px; font-size:14px}
.rail[data-scrub] {padding-left:20px}
}
@media (max-width:480px) {
.hero {padding-top:98px; padding-bottom:96px}
}

/* ---------- what Dayo can connect to: a row of monochrome logos per audience, above each call to action ---------- */
.fits {width:100%; margin:0 0 64px 0; display:flex; flex-direction:column; align-items:center; gap:22px}
.fits-k {margin:0; font-size:15px; font-weight:500; color:#7A7D85}
.fits-l {--rg:14px; list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:var(--rg) 46px}
.fits-l li {display:flex; align-items:center; height:40px}
/* a deliberate line break, so a long row splits into two balanced lines */
.fits-l li.fits-br {flex-basis:100%; height:0; margin-bottom:calc(var(--rg) * -1)}
/* every logo is drawn in one ink colour, whatever colours its file has */
.fits-l img {display:block; width:auto; max-width:none; filter:brightness(0); opacity:.62; transition:opacity .35s ease}
.dy-on .fits li {opacity:0; transform:translate3d(0,8px,0); transition:opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1)}
.dy-on .fits.in li {opacity:1; transform:none}
.dy-on .fits.in li:nth-child(1) {transition-delay:.1s}
.dy-on .fits.in li:nth-child(2) {transition-delay:.16s}
.dy-on .fits.in li:nth-child(3) {transition-delay:.22s}
.dy-on .fits.in li:nth-child(4) {transition-delay:.28s}
.dy-on .fits.in li:nth-child(5) {transition-delay:.34s}
.dy-on .fits.in li:nth-child(6) {transition-delay:.4s}
.dy-on .fits.in li:nth-child(7) {transition-delay:.46s}
.dy-on .fits.in li:nth-child(8) {transition-delay:.52s}
.dy-on .fits.in li:nth-child(9) {transition-delay:.58s}
@media (hover:hover) {
.fits-l li:hover img {opacity:1}
.dy-on .fits.in .fits-l:has(li:hover) li:not(:hover) {opacity:.4; transition-delay:0s}
}
@media (max-width:820px) {
.fits {margin-bottom:40px; gap:16px}
.fits-l {--rg:8px; gap:var(--rg) 30px}
.fits-l li {height:36px}
.fits-l img {transform:scale(.88)}
}

/* "How Dayo works" follows the university demo directly, so it needs its own gap above */
#how {margin-top:clamp(64px,8vw,112px) !important}

/* ---------- phone pass: shorter page, swipeable groups, no dead space ---------- */
@media (max-width:820px) {
/* the two demo panels and the three "broken" cards become swipe rows with the next one peeking in */
/* shorter text on phones: the data section keeps its headline and demo, "fair by design" keeps its big line */
.engine-p, .engine-pts {display:none}
section:has(> [data-words]) > p:not([data-words]) {display:none}
/* the two demo panels stack, each with its heading, button and demo, one after the other */
.duo .pane-k, .duo .pane-t, .solo .pane-k, .solo .pane-t {font-size:27px; line-height:1.18; letter-spacing:-0.02em}
.duo .pane-h, .solo .pane-h {gap:22px}
.duo {flex-direction:column; gap:72px; padding:0 20px}
.duo .pane, .duo .pane:hover {flex:none}
.frame {height:420px}
.f-uni {height:420px}
.solo {padding-top:48px}
.logos {padding:52px 0}
.broken {padding:72px 20px 72px 20px}
.broken-grid {display:flex; gap:12px; margin:0 -20px; padding:0 20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:20px; scrollbar-width:none}
.broken-grid::-webkit-scrollbar {display:none}
.bk {flex:0 0 86%; box-sizing:border-box; scroll-snap-align:start}
.broken-foot {margin-top:28px}
/* how it works: tighter steps */
#how > div:first-child {padding-top:64px !important}
#how [data-t] > div:first-child {gap:52px !important; padding-top:28px !important}
#how [data-t] > div:first-child > div {gap:22px !important}
#how [data-t] > div:last-child {padding:60px 20px 68px 20px !important}
.vg {height:216px}
.vg-i.seat {gap:16px}
.seat .brief {min-height:52px; font-size:15px}
/* data section and numbers */
.engine-in {padding-top:56px; padding-bottom:52px}
.engine-p {font-size:16px}
.nums {gap:22px; padding-top:56px; padding-bottom:16px}
.nums-k {margin-bottom:14px}
.net {order:-1; padding-top:26px}
.net canvas {height:176px}
.net-cap {margin-top:10px; font-size:12.5px}
/* numbers: one per row, small grey label above a big figure, hairlines between */
.num-grid {grid-template-columns:minmax(0,1fr); gap:0}
.num-row {flex-direction:column-reverse; justify-content:flex-end; gap:12px; padding:26px 0 30px 0}
.num-l {font-size:16px}
.num-v {font-size:56px}
/* journeys */
.journeys {padding-top:40px}
.jr {flex-basis:80vw}
.jr-t {height:300px}
/* the collage keeps its shapes on phones, scaled down and gathered around the centred headline */
section:has(> .tile) {min-height:600px !important; overflow:hidden}
.tile.hide-sm {display:block !important; scale:.56}
.fair-h {max-width:270px !important; font-size:9.6vw !important}
section:has(> [data-words]) {padding:8px 20px 80px 20px !important}
.faqs {padding-bottom:72px}
}
