/*==========================================================
   css/company.css — the Company page
   Load order: home.css, scroll.css, platform.css, company.css
   (header, footer nav, menu sheet, pinned markets, progress bar, ambient glow, hero,
   glass cards, copy cards, reveals, CTA and the section rail come from home.css,
   scroll.css and platform.css — this file only adds what is new here)
==========================================================*/

/* ---------- hero: one centred column ---------- */
.pl-hero.co-hero{ grid-template-columns:1fr; justify-items:center; text-align:center; padding-top:clamp(14px, 4vw, 56px); }
.co-hero .pl-hero-copy{ display:flex; flex-direction:column; align-items:center; }
.co-hero h1{ max-width:15em; font-size:clamp(30px, 5.4vw, 66px); }
.co-hero .pl-lead{ margin-inline:auto; }
.co-hero .pl-jump{ justify-content:center; }

/*==========================================================
   THE BLACK HOLE — every source pulled into one signal
==========================================================*/
.co-banner{
    padding:clamp(30px, 4vw, 60px) 20px 28px; text-align:center; border-radius:38px;
    background:
        radial-gradient(60% 80% at 50% 46%, rgba(255,154,46,.12), transparent 70%),
        linear-gradient(180deg, rgba(8,8,10,.92), rgba(13,13,17,.92));
    border-color:var(--border-strong);
}
.co-stars{ position:absolute; inset:-3%; z-index:-1; pointer-events:none; translate:calc((var(--mx, 50%) - 50%) * -.07) calc((var(--my, 50%) - 50%) * -.07); transition:translate .35s ease-out; }
.co-star{ position:absolute; width:2px; height:2px; border-radius:50%; background:#d8d8d4; animation:coTwinkle 4s ease-in-out infinite; }
.co-star.big{ width:3px; height:3px; box-shadow:0 0 8px rgba(255,255,255,.7); }
@keyframes coTwinkle{ 0%, 100%{ opacity:.15; } 50%{ opacity:.95; } }

.co-stage{
    --S:min(460px, 80vw);
    position:relative; width:var(--S); height:var(--S); margin:0 auto;
    translate:calc((var(--mx, 50%) - 50%) * .05) calc((var(--my, 50%) - 50%) * .05);
    transition:translate .35s ease-out;
}
.co-stage > *{ position:absolute; }

/* the glow behind it all, then the accretion disc (flattened, spinning light) */
.co-aura{ inset:6%; border-radius:50%; background:radial-gradient(circle, rgba(255,154,46,.34) 0, rgba(255,154,46,.12) 34%, transparent 66%); animation:coBreath 5s ease-in-out infinite; }
.co-disc{
    left:50%; top:50%; width:94%; height:94%; margin:-47% 0 0 -47%; border-radius:50%;
    background:conic-gradient(from var(--ang), rgba(255,176,85,0) 0, rgba(255,176,85,.85) 12%, #ff6b6b 24%, rgba(255,176,85,0) 42%, rgba(124,141,181,.55) 62%, rgba(255,176,85,0) 80%, rgba(255,176,85,.7) 94%, rgba(255,176,85,0));
    -webkit-mask:radial-gradient(farthest-side, transparent 50%, #000 53%, #000 60%, transparent 72%);
            mask:radial-gradient(farthest-side, transparent 50%, #000 53%, #000 60%, transparent 72%);
    transform:rotate(-16deg) scaleY(.36);
    animation:ringSpin 9s linear infinite;
    filter:blur(.4px);
}
.co-stage svg{ left:0; top:0; width:100%; height:100%; overflow:visible; }
.co-ring{ fill:none; transform-box:fill-box; transform-origin:center; }
.co-ring.r1{ stroke:var(--accent); stroke-width:1.4; opacity:.55; stroke-dasharray:4 9; animation:coSpin 16s linear infinite; }
.co-ring.r2{ stroke:#8fa6d6; stroke-width:1.1; opacity:.45; stroke-dasharray:3 7; animation:coSpin 11s linear infinite reverse; }
.co-ring.r3{ stroke:#9a9aa5; stroke-width:1; opacity:.4; stroke-dasharray:2 6; animation:coSpin 22s linear infinite; }
.co-glow{ fill:none; stroke:var(--accent); stroke-width:2; filter:drop-shadow(0 0 16px rgba(255,176,85,.75)); animation:coPulse 3.2s ease-in-out infinite; }
.co-core{ fill:#040405; }
@keyframes coSpin{ to{ transform:rotate(360deg); } }
@keyframes coPulse{ 0%, 100%{ stroke-width:2; opacity:.75; } 50%{ stroke-width:3; opacity:1; } }
@keyframes coBreath{ 50%{ transform:scale(1.07); opacity:.85; } }

/* the photon ring that hugs the core */
.co-halo{
    left:50%; top:50%; width:25%; height:25%; margin:-12.5% 0 0 -12.5%; border-radius:50%; padding:3px;
    background:conic-gradient(from var(--ang), var(--accent), rgba(255,176,85,0) 40%, rgba(255,176,85,0) 60%, #ff6b6b);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude;
    animation:ringSpin 3.4s linear infinite;
    box-shadow:0 0 40px 4px rgba(255,154,46,.35);
}

/* the original three orbiting dots, now sized from the stage so they stay on their rings at any width */
.co-orbit{ inset:0; }
.co-orbit .dot{ position:absolute; top:50%; left:50%; width:5px; height:5px; margin:-2.5px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px rgba(255,176,85,.9); }
.co-orbit.o1{ animation:coSpin 9s linear infinite; }
.co-orbit.o1 .dot{ transform:translate(calc(var(--S) * .376), 0); }
.co-orbit.o2{ animation:coSpin 14s linear infinite reverse; }
.co-orbit.o2 .dot{ width:4px; height:4px; transform:translate(calc(var(--S) * -.314), 0); background:#8fa6d6; box-shadow:0 0 8px rgba(143,166,214,.9); }
.co-orbit.o3{ animation:coSpin 20s linear infinite; }
.co-orbit.o3 .dot{ width:4px; height:4px; transform:translate(0, calc(var(--S) * -.424)); background:#c8c8d0; box-shadow:none; }

/* sources streaming inward, each one drawn in a spiral and swallowed */
.co-in{
    left:50%; top:50%; width:5px; height:5px; margin:-2.5px; border-radius:50%;
    background:var(--c, var(--accent)); box-shadow:0 0 8px var(--c, var(--accent));
    opacity:0;
    animation:coIn 7s linear infinite; animation-delay:calc(var(--i) * -.5s);
}
.co-in:nth-of-type(3n+1){ --c:#ffb055; }
.co-in:nth-of-type(3n+2){ --c:#8fa6d6; }
.co-in:nth-of-type(3n){ --c:#f3f3f5; }
@keyframes coIn{
    0%{ transform:rotate(var(--a)) translateX(calc(var(--S) * .62)) scale(1); opacity:0; }
    12%{ opacity:1; }
    85%{ opacity:.9; }
    100%{ transform:rotate(calc(var(--a) + 150deg)) translateX(calc(var(--S) * .05)) scale(.15); opacity:0; }
}

.co-caption{
    display:inline-flex; margin-top:28px; padding:9px 18px; border-radius:18px;
    background:rgba(255,255,255,.06); border:1px solid var(--border-strong);
    font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--text-secondary);
}

/*==========================================================
   PULL QUOTE
==========================================================*/
.co-quote{ text-align:center; padding:clamp(38px, 6vw, 88px) clamp(20px, 5vw, 70px); border-radius:36px; }
.co-quote::after{
    content:"“"; position:absolute; z-index:-1; left:50%; top:-.12em; translate:-50% 0;
    font-family:Georgia, 'Times New Roman', serif; font-size:clamp(220px, 34vw, 400px); line-height:1; font-weight:700;
    color:transparent; -webkit-text-stroke:1.5px rgba(255,176,85,.14); pointer-events:none;
}
.co-quote blockquote{ margin:0 auto; max-width:880px; font-size:clamp(24px, 4vw, 50px); line-height:1.18; font-weight:800; letter-spacing:-.035em; }
.co-quote .q1{ display:block; color:var(--text-muted); }
.co-quote .q2{
    display:block; margin-top:.15em;
    background:linear-gradient(100deg, var(--accent), #ff6b6b, #a78bfa, var(--accent)); background-size:200% 100%;
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    animation:plShine 7s linear infinite;
}
.co-quote.in .q1{ animation:coRise .9s cubic-bezier(.2,.8,.2,1) .1s backwards; }
.co-quote.in .q2{ animation:coRise .9s cubic-bezier(.2,.8,.2,1) .55s backwards, plShine 7s linear infinite; }
@keyframes coRise{ from{ opacity:0; transform:translateY(22px); filter:blur(8px); } }
.co-quote cite{
    display:inline-flex; margin-top:30px; padding:8px 16px; border-radius:16px; font-style:normal;
    background:rgba(255,176,85,.12); border:1px solid rgba(255,176,85,.38); color:var(--accent);
    font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
}

/*==========================================================
   STATS
==========================================================*/
.co-stats{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width:760px){ .co-stats{ grid-template-columns:repeat(3, 1fr); } }
.co-stat{ text-align:center; padding:clamp(24px, 3vw, 38px) 22px; border-radius:30px; }
.co-viz{ height:58px; margin-bottom:16px; display:grid; place-items:center; }
.co-num{
    font-size:clamp(48px, 6.4vw, 80px); font-weight:800; line-height:1; letter-spacing:-.045em; font-variant-numeric:tabular-nums;
    background:linear-gradient(135deg, var(--accent), var(--accent-strong) 60%, #ff6b6b);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.co-label{ margin-top:14px; font-size:13.5px; line-height:1.5; font-weight:600; color:var(--text-secondary); }

/* 23 newsrooms light up one by one */
.co-dots{ display:flex; flex-wrap:wrap; justify-content:center; gap:5px; max-width:180px; }
.co-dots i{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.13); transition:background .35s, box-shadow .35s, transform .35s; }
.co-dots i.on{ background:var(--accent); box-shadow:0 0 10px rgba(255,176,85,.85); transform:scale(1.1); }
/* zero opinions: the pen is struck through */
.co-pen{ position:relative; font-size:34px; color:var(--text-muted); }
.co-pen::after{
    content:""; position:absolute; left:-8px; top:50%; width:calc(100% + 16px); height:3px; border-radius:2px;
    background:#ff5a64; box-shadow:0 0 12px rgba(255,90,100,.8);
    transform:rotate(-38deg) scaleX(1); transform-origin:left center;
}
html.js .co-stat:not(.run) .co-pen::after{ transform:rotate(-38deg) scaleX(0); }
.co-stat.run .co-pen::after{ animation:coStrike .7s cubic-bezier(.2,.8,.2,1) .5s backwards; }
@keyframes coStrike{ from{ transform:rotate(-38deg) scaleX(0); } }
/* 100%: the ring closes */
.co-ringviz{ width:58px; height:58px; transform:rotate(-90deg); }
.co-ringviz circle{ fill:none; stroke-width:5; }
.co-ringviz .bg{ stroke:rgba(255,255,255,.12); }
.co-ringviz .fg{ stroke:var(--accent); stroke-linecap:round; stroke-dasharray:138.2; stroke-dashoffset:0; filter:drop-shadow(0 0 6px rgba(255,176,85,.7)); }
html.js .co-stat:not(.run) .co-ringviz .fg{ stroke-dashoffset:138.2; }
.co-stat.run .co-ringviz .fg{ animation:coRing 1.5s cubic-bezier(.4,0,.2,1) .2s backwards; }
@keyframes coRing{ from{ stroke-dashoffset:138.2; } }

/*==========================================================
   FEATURE VISUALS
==========================================================*/
/* 1. about: reporting + structure = understanding */
.co-eq{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.co-chip{
    width:100%; padding:16px 18px; border-radius:20px; text-align:center;
    background:rgba(255,255,255,.05); border:1px solid var(--border-subtle);
    font-size:13.5px; font-weight:600; line-height:1.4; color:var(--text-secondary);
}
.co-chip.result{
    position:relative; overflow:hidden;
    border-color:rgba(255,176,85,.55); color:var(--accent); font-weight:800; font-size:14.5px;
    background:linear-gradient(180deg, rgba(255,176,85,.2), rgba(255,176,85,.05));
    box-shadow:0 18px 40px -24px rgba(255,154,46,.95);
}
.co-chip.result::after{ content:""; position:absolute; top:0; bottom:0; left:-40%; width:40%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform:skewX(-18deg); }
.co-op{ font-size:24px; font-weight:800; line-height:1; color:var(--text-muted); }
.run .co-eq > *{ animation-duration:.6s; animation-timing-function:cubic-bezier(.2,.8,.2,1); animation-delay:calc(var(--i) * .4s); animation-fill-mode:backwards; }
.run .co-eq > .co-chip:nth-child(1){ animation-name:coFromL; }
.run .co-eq > .co-chip:nth-child(3){ animation-name:coFromR; }
.run .co-eq > .co-op{ animation-name:coPopOp; }
.run .co-chip.result{ animation-name:coResult; }
.run .co-chip.result::after{ animation:plSheen 1.3s ease 2.1s 1 both; }
@keyframes coFromL{ from{ opacity:0; transform:translateX(-34px); } }
@keyframes coFromR{ from{ opacity:0; transform:translateX(34px); } }
@keyframes coPopOp{ from{ opacity:0; transform:scale(.2) rotate(-90deg); } }
@keyframes coResult{ from{ opacity:0; transform:translateY(18px) scale(.94); } 60%{ transform:translateY(-3px) scale(1.03); } }

/* 2. mission: the manifesto */
.co-manifesto{
    position:relative; padding:clamp(30px, 4vw, 44px) clamp(22px, 3vw, 34px); border-radius:28px; text-align:center;
    background:rgba(255,176,85,.05);
}
.co-manifesto::before{
    content:""; position:absolute; inset:0; border-radius:inherit; padding:1.5px; pointer-events:none;
    background:conic-gradient(from var(--ang), var(--accent), rgba(255,176,85,0) 30%, rgba(255,176,85,0) 58%, #ff6b6b 80%, var(--accent));
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude;
    animation:ringSpin 8s linear infinite;
}
.co-manifesto p{ margin:0; max-width:none; font-size:clamp(17px, 2vw, 23px); line-height:1.55; font-weight:700; letter-spacing:-.01em; color:var(--text-primary); }
.co-k{ border-radius:6px; padding:0 3px; margin:0 -3px; background-repeat:no-repeat; }
.co-k.bad{ background-image:linear-gradient(#ff5a64, #ff5a64); background-position:0 58%; background-size:100% 2px; }
.co-k.good{ background-image:linear-gradient(var(--accent), var(--accent)); background-position:0 100%; background-size:100% 3px; color:var(--accent); }
html.js .pl-visual:not(.run) .co-manifesto .co-k.bad{ background-size:0% 2px; }
html.js .pl-visual:not(.run) .co-manifesto .co-k.good{ background-size:0% 3px; color:inherit; }
.run .co-manifesto .co-k.bad{ animation:coBad 1.8s ease .6s backwards; }
.run .co-manifesto .co-k.good{ animation:coGood 1.4s ease 1.9s backwards; }
@keyframes coBad{ from{ background-size:0% 2px; opacity:1; } 55%{ background-size:100% 2px; opacity:1; } }
@keyframes coGood{ from{ background-size:0% 3px; color:inherit; } }

/* 3. philosophy: the transparency checklist */
.co-check{ display:flex; flex-direction:column; gap:9px; }
.co-ci{
    display:flex; align-items:center; gap:14px; padding:13px 16px; border-radius:18px;
    background:rgba(255,255,255,.045); border:1px solid var(--border-subtle);
    font-size:14px; font-weight:600; color:var(--text-secondary);
    transition:background .2s, border-color .2s, color .2s, transform .2s;
}
.co-ci .mark{
    flex:0 0 auto; width:28px; height:28px; border-radius:50%; display:grid; place-items:center;
    background:var(--accent); color:var(--accent-contrast); font-size:12px; font-weight:800;
    box-shadow:0 0 0 4px rgba(255,176,85,.14);
}
.co-ci:hover{ background:rgba(255,176,85,.08); border-color:rgba(255,176,85,.38); color:var(--text-primary); transform:translateX(4px); }
.run .co-ci{ animation:coItem .55s cubic-bezier(.2,.8,.2,1) calc(.15s + var(--i) * .38s) backwards; }
.run .co-ci .mark{ animation:coTick .55s cubic-bezier(.2,.8,.2,1) calc(.4s + var(--i) * .38s) backwards; }
@keyframes coItem{ from{ opacity:0; transform:translateX(-22px); } }
@keyframes coTick{ from{ background:transparent; color:transparent; box-shadow:0 0 0 1px var(--border-strong); transform:scale(.55); } }

/* 4. careers: pick an area, and the note starts with it */
.co-roles{ display:flex; flex-wrap:wrap; gap:9px; }
.co-role{
    height:40px; padding:0 17px; border-radius:20px;
    background:rgba(255,255,255,.06); border:1px solid var(--border-strong);
    font-size:13px; font-weight:700; color:var(--text-secondary);
    transition:background .2s, border-color .2s, color .2s, transform .15s;
}
.co-role:hover, .co-role:focus-visible{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.co-role[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:var(--accent-contrast); }
.run .co-role{ animation:coItem .5s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .1s) backwards; }
.co-remote{
    align-self:flex-start; display:inline-flex; align-items:center; gap:9px; margin-top:6px;
    padding:8px 15px; border-radius:15px;
    background:rgba(52,211,153,.1); border:1px solid rgba(52,211,153,.45); color:#6ee7b7;
    font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
}
.co-remote i{ animation:coGlobe 6s ease-in-out infinite; }
@keyframes coGlobe{ 50%{ transform:rotate(25deg) scale(1.15); } }
.co-hello{ margin-top:22px; }

/* ---------- small screens ---------- */
@media (max-width:420px){
    .co-banner{ padding-left:8px; padding-right:8px; }
    .co-caption{ font-size:11px; letter-spacing:.1em; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
    .co-star, .co-aura, .co-disc, .co-ring, .co-glow, .co-halo, .co-orbit, .co-in, .co-quote .q2,
    .co-manifesto::before, .co-remote i{ animation:none !important; }
    .co-in{ display:none; }
    .run .co-eq > *, .run .co-chip.result::after, .run .co-ci, .run .co-ci .mark, .run .co-role,
    .co-stat.run .co-pen::after, .co-stat.run .co-ringviz .fg, .run .co-manifesto .co-k,
    .co-quote.in .q1, .co-quote.in .q2{ animation:none !important; }
    .co-stars, .co-stage{ transition:none; translate:none; }
}
