/* ============ AISECX — AI-Powered Design section (v8 merge 2026-12-01) ============
   The approved v8 sample (rebuild-samples/ai-section-sample.html),
   merged with the aisecx- prefix. Full-width band INSIDE the About
   .glowx-wrap (one shared glow canvas, 2026-12-01). Two marquee
   rows, 300px hub, hub-and-spoke connectors, four stage cards,
   one-shot entrance animation. */
.aisecx-section{
    --black:#000000;
    --ink:#F9F9F9;
    --grey:#A7A7A7;
    --orange:#E85002;
    --red:#C10801;
    --orange-bright:#F16001;
    --line:rgba(249,249,249,.09);
    font-family:'Archivo',sans-serif;
  }
  /* ---------- SECTION: full-bleed band, pure black, no panel ----------
     v5 changes per Sami's correction list on v4:
     1) Hub: 300px ring (v7; v6 added a slight dark shade + 7px backdrop
        blur so the S reads against the tiles), S mark 60px (v8). The glow
        lives INSIDE the border: the ring's bottom segment is orange,
        thicker and glowing; no separate arc and no pool under the hub
        (both removed in v7 at Sami's word).
     2) Icons: glyphs white (primary), each logo's ORIGINAL brand colour
        returns as that tile's neon accent glow.
     3) The two marquee rows run DIFFERENT sequences with different
        counts (9 vs 8) and a staggered offset, so no logo ever sits
        above its twin; the arrangement feels random.
     4) Connector tree drop lengthened ~50% (144px), lines glow more.
     5) Neon glow placements: tile bottoms (brand-tinted), card bottoms,
        tree lines, hub bottom edge.
     6) Cards DARKER, flat near-black, NO glass/sheen; wider (310px,
        content span 1300px). */
  .aisecx-section{
    width:100%;
    /* Transparent (Sami, 2026-12-01): the section now lives INSIDE
       .glowx-wrap, on the SAME mesh-glow canvas as the About card —
       one continuous canvas, no seam at the boundary. */
    background:transparent;
    padding:104px 0 112px;
    overflow:hidden;
  }
  .aisecx-wrap{
    max-width:1240px;
    margin:0 auto;
    padding:0 24px;
    text-align:center;
  }
  .aisecx-main{
    max-width:1348px;
    margin:0 auto;
    padding:0 24px;
  }

  /* ---------- HEADER ---------- */
  .aisecx-pill{
    display:inline-block;
    border:1px solid rgba(232,80,2,.6);
    color:var(--orange-bright);
    border-radius:999px;
    padding:8px 20px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
  }
  .aisecx-headline{
    margin-top:28px;
    line-height:1.16;
    color:#FFFFFF;
  }
  .aisecx-headline .hl-sans{
    font-family:'Archivo',sans-serif;
    font-weight:800;
    font-size:59px;
    letter-spacing:-.015em;
  }
  .aisecx-headline .hl-serif{
    font-family:'Playfair Display',serif;
    font-style:italic;
    font-weight:600;
    font-size:59px;
  }
  .aisecx-sub{
    max-width:640px;
    margin:20px auto 0;
    font-size:16.5px;
    line-height:1.65;
    color:var(--grey);
  }

  /* ---------- TOOL MARQUEE: two rows of 96px tiles, logos only ----------
     White monochrome official marks (simple-icons latest shapes).
     Image tiles: Muse (real app icon), Flow (real App Store icon),
     Claude Code (real Clawd pixel mascot). Vercel = white tile, black
     triangle, exactly as in the Monks reference. Rows carry DIFFERENT
     sequences (9 vs 8 tools) and row 2 starts staggered, so nothing
     aligns vertically; each row is internally unique, neighbours
     dissimilar, seam checked. Every tile carries a neon glow along its
     bottom border, rising from the bottom-left, tinted with that logo's
     own brand colour (--glow), covering roughly the bottom 10%. */
  .aisecx-marquee{
    position:relative;
    margin-top:80px;
    display:flex;
    flex-direction:column;
    /* Breathable spacing (Sami, 2026-12-01, fix round 2): row gap
       16px -> 30px, tile gap 16px -> 20px (see .aisecx-group). */
    gap:30px;
  }
  .aisecx-row{
    position:relative;
    overflow:hidden;
    contain:paint;
    /* Reference-matched dissolve (Sami, 2026-12-01, fix round 3):
       follow the Design Monks original — only the central ~38%
       (31%..69%) is fully visible, and the falloff on both sides is
       a long, smooth, many-stepped gradient, so tiles melt into the
       black well before the row edges instead of ending in a
       visible cut. Glide pass (2026-12-01): the dissolve is NO
       LONGER a mask-image here — a mask on the row forced a full
       repaint of the masked group every frame of the slide. The
       exact inverse of that mask profile now sits as a static
       black gradient veil in .aisecx-marquee::after above the rows;
       the tracks below just translate on their own layers. */
  }
  /* Edge dissolve ONLY (Sami, 2026-12-01, fix round 5): the
     hub-centred radial dark falloff that used to sit here as a
     second layer read as a solid BLACK BAND across the whole
     marquee — it is GONE. The band's background is now fully
     transparent, so the tiles float over the section's own mesh
     glow behind them. What remains is the static edge veil (the
     inverse of the old row mask): tiles still dissolve into the
     dark at the far left/right edges, nothing more. */
  .aisecx-marquee::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.93) 7%, rgba(0,0,0,.80) 14%, rgba(0,0,0,.58) 20%, rgba(0,0,0,.32) 25%, rgba(0,0,0,.12) 28.5%, rgba(0,0,0,0) 31%, rgba(0,0,0,0) 69%, rgba(0,0,0,.12) 71.5%, rgba(0,0,0,.32) 75%, rgba(0,0,0,.58) 80%, rgba(0,0,0,.80) 86%, rgba(0,0,0,.93) 93%, rgba(0,0,0,.97) 100%);
    pointer-events:none;
    z-index:2;
  }
  /* Off-screen pause (glide pass, 2026-12-01): the observer in
     index.html toggles .mq-paused on #ai-powered when the section
     leaves the viewport; both rows rest and resume in place. */
  .mq-paused .aisecx-track{animation-play-state:paused}
  .aisecx-track{
    display:flex;
    width:max-content;
    will-change:transform;
    /* Slower drift (Sami, 2026-12-01, fix round 3): 74s -> 115s. */
    animation:aisecx-left 115s linear infinite;
  }
  .aisecx-row.r2 .aisecx-track{animation-name:aisecx-right;animation-duration:130s;}
  /* NO hover-pause (Sami, 2026-12-01): the rows never stop. */
  @keyframes aisecx-left{
    from{transform:translateX(0);}
    to{transform:translateX(-33.333%);}
  }
  @keyframes aisecx-right{
    from{transform:translateX(-33.333%);}
    to{transform:translateX(0);}
  }
  .aisecx-group{
    display:flex;
    gap:20px;
    padding-right:20px;
  }
  /* v8: the stagger is a ONE-TIME phase shift on the track (margin),
     NOT padding on every group — group padding repeated at the seam
     between the two duplicated groups and opened a 72px gap there
     (Sami spotted it between the Copilot and Supabase tiles). */
  /* -58px = half the new tile pitch (96px tile + 20px gap = 116px),
     keeping the one-time stagger at exactly half a tile step. */
  .aisecx-row.r2 .aisecx-track{margin-left:-58px;}
  .aisecx-tile{
    position:relative;
    width:96px;
    height:96px;
    flex:none;
    border-radius:22px;
    background:#1B1E26;
    border:1px solid rgba(249,249,249,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow:inset 0 -14px 20px -12px var(--glow, rgba(232,80,2,.55));
  }
  .aisecx-tile::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:38%;
    background:radial-gradient(120% 130% at 14% 118%, var(--glow, rgba(232,80,2,.55)) 0%, rgba(0,0,0,0) 62%);
    pointer-events:none;
  }
  .aisecx-tile svg{width:50px;height:50px;display:block;}
  .aisecx-tile--img{padding:0;}
  .aisecx-tile--img img{width:100%;height:100%;object-fit:cover;display:block;}
  .aisecx-tile--mascot img{width:76px;height:auto;display:block;}
  .aisecx-tile--vercel{background:#F5F5F4;border-color:rgba(249,249,249,.2);}
  .aisecx-tile--vercel svg{width:44px;height:44px;}
  /* Kimi (Sami, 2026-12-01, fix round 5): GOLD glow instead of the
     site-orange placeholder accent. Kimi is the 11th tool of the
     r2 set, repeated at position 23 inside every group (12n+11);
     the JS sets --glow inline per tile, so beating it needs
     !important. If the r2 tool order in index.html ever changes,
     update this selector to match. */
  .aisecx-row.r2 .aisecx-group > .aisecx-tile:nth-child(12n+11){
    --glow:rgba(212,175,55,.55) !important;
  }

  /* ---------- HUB: 300px ring over both rows (v7) ----------
     Fully transparent (v5) made the S mark and ring invisible against
     the busy tiles, so the disc carries a SLIGHT dark shade
     (rgba(0,0,0,.40)) + a LIGHT backdrop blur (7px): just enough to
     mute the tiles behind so the hub separates and the S reads
     clearly. Dark-shaded only, NOT a vignette, NOT the v4 glass ball
     (no bright blobs). Ring stroke pale, clearly readable
     rgba(249,249,249,.50). v7: the glow is IN the border itself —
     the ring's bottom segment is an orange, thicker (4.5px) stroke
     with a soft neon drop-shadow, brightest at the bottom centre and
     tapering into the pale ring at both ends. The v6 separate arc
     path and the soft pool under the hub are GONE (Sami: the extra
     round shape below the S looked bad). v8: the glowing segment now
     sweeps from the bottom centre UP THE LEFT SIDE to the 9 o'clock
     midpoint (Sami's word), and the S mark grows 52px -> 60px.
     A polish-round extension of the arc to 10:30 was REVERTED
     (Sami, 2026-12-01): the upper-left piece looked stray — the
     glow ends at 9 o'clock again, bottom + lower-left only.
     v11 (Sami, 2026-12-01): the arc is now ONE thin even line —
     stroke 4.5px -> 2.25px (the fat bottom patch is gone), the
     top end rises slightly past 9 o'clock to ~9:30 and fades out
     gradually over a long stretch (the gradient now runs along
     the arc's own diagonal axis, not horizontally), the bottom
     end tapers too, and the ring drop-shadow is softer so the
     glow stays a hairline everywhere. */
  .aisecx-hub{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:300px;
    height:300px;
    border-radius:50%;
    /* v10 TONED DOWN (Sami, 2026-12-01): the v9 crystal changed the
       design too much — the diagonal sheen band and the ::after rim
       highlight layer are GONE, the side glow with them. What is
       left is just the .40 shade (centre calm, S crisp), a lighter
       4px frost, and a 1px hairline rim. The orange ring segment
       and the ::before neon pool are untouched. */
    background:rgba(0,0,0,.40);
    -webkit-backdrop-filter:blur(4px);
    backdrop-filter:blur(4px);
    border:1px solid rgba(249,249,249,.30);
    box-shadow:inset 0 -14px 28px rgba(0,0,0,.28);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:3;
  }
  .aisecx-hub-ring{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    /* The junction dot at the ring's bottom point (cy 299, r 4)
       reaches y 303, past the 300 viewBox edge; without this the
       SVG viewport clips its lower half off (Sami, 2026-12-01). */
    overflow:visible;
    pointer-events:none;
    filter:drop-shadow(0 0 4px rgba(241,96,1,.85)) drop-shadow(0 1px 8px rgba(232,80,2,.45));
  }
  /* Soft neon pool INSIDE the disc's lower interior (Sami,
     2026-12-01): a quiet orange glow resting at the bottom inside
     the circle — not on the ring, not under the hub. */
  .aisecx-hub::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(62% 46% at 50% 110%, rgba(241,96,1,.38) 0%, rgba(232,80,2,.14) 48%, rgba(232,80,2,0) 72%);
  }
  .aisecx-hub img{
    position:relative;
    z-index:1;
    width:60px;
    height:auto;
    display:block;
    filter:drop-shadow(0 3px 12px rgba(232,80,2,.35));
  }

  /* ---------- CONNECTOR LINES: hub -> branch bar -> card tops ----------
     Drops lengthened again to 164px (+20px, Sami, 2026-12-01) so each
     of the four drops reads visibly longer, and the wires carry a
     stronger neon glow. */
  .aisecx-lines{
    display:block;
    width:100%;
    height:164px;
  }
  .aisecx-lines .wires{
    filter:drop-shadow(0 0 6px rgba(241,96,1,.90)) drop-shadow(0 0 18px rgba(232,80,2,.55));
  }
  .aisecx-lines .dots{
    filter:drop-shadow(0 0 7px rgba(241,96,1,.95));
  }

  /* ---------- CARDS (content span 1300px, card 310px, gap 20px) ----------
     Flat near-black, NO glass, NO sheen. Only accent: a soft orange
     neon glow along the bottom border, rising from the bottom-left. */
  .aisecx-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    text-align:left;
  }
  .aisecx-card{
    position:relative;
    overflow:hidden;
    background:#0A0B0E;
    border:1px solid var(--line);
    border-radius:18px;
    padding:24px 24px 22px;
    box-shadow:inset 0 -16px 24px -16px rgba(232,80,2,.50);
  }
  .aisecx-card::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:34%;
    z-index:0;
    background:radial-gradient(120% 130% at 14% 118%, rgba(232,80,2,.34) 0%, rgba(232,80,2,0) 62%);
    pointer-events:none;
  }
  .aisecx-card>*{position:relative;z-index:1;}
  .aisecx-card h3{
    /* Card headings (Sami, 2026-12-01): Poppins SemiBold in a soft
       white — not the stark pure white of the section headline. */
    font-family:'Poppins',sans-serif;
    /* +6px (Sami, 2026-12-01): card headings read bigger. */
    font-size:25.5px;
    font-weight:600;
    letter-spacing:0;
    color:#F4F4F4;
    white-space:nowrap;
  }
  .aisecx-tools{
    display:flex;
    gap:8px;
    margin-top:18px;
    flex-wrap:wrap;
  }
  .aisecx-tool{
    position:relative;
    width:43px;
    height:43px;
    border-radius:11px;
    /* White app-icon tiles (Sami, 2026-12-01, fix round 6b): the
       card tiles are now clean WHITE like real app icons, with each
       glyph on top in its ORIGINAL brand colours (multicolour Figma,
       DeepSeek blue, Supabase green, the Muse/Flow/Antigravity/
       mascot images as-is). FLAT: no halo, no inner pool, no glow
       of any kind (the brief bottom-edge hairline glow was removed
       at Sami's order, 2026-12-01, fix round 6c). The MARQUEE tiles
       (.aisecx-tile) keep their dark tiles and bottom-edge brand
       glows untouched. */
    background:#FFFFFF;
    border:1px solid rgba(249,249,249,.11);
    box-shadow:0 2px 6px rgba(0,0,0,.5);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .aisecx-tool svg{width:21px;height:21px;display:block;}
  /* Monochrome glyphs in their original dark form (Sami, 2026-12-01):
     ChatGPT's knot and Copilot's mark are injected with a white fill
     for dark surfaces; on the white card tiles they take their
     original near-black. A CSS fill beats the SVG fill presentation
     attribute, so no markup change is needed. */
  .aisecx-tool[title="ChatGPT"] svg{fill:#000000;}
  .aisecx-tool[title="Copilot"] svg{fill:#181717;}
  .aisecx-tool--img{padding:0;}
  .aisecx-tool--img img{width:100%;height:100%;object-fit:cover;display:block;}
  /* Flow card mark (fix round 9, 2026-12-01): transparent gradient
     mark on the white tile, glyph-style contain fit — no full-bleed
     black square, no inner white frame, no double border. */
  .aisecx-tool--mark img{width:100%;height:100%;object-fit:contain;padding:5px;display:block;}
  .aisecx-tool--mascot img{width:100%;height:100%;object-fit:contain;padding:6px;display:block;}
  .aisecx-tool--vercel{background:#F5F5F4;}
  .aisecx-produces{
    margin-top:22px;
    font-family:'Inter',sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.2em;
    color:var(--grey);
    text-transform:uppercase;
  }
  /* Produces tags (Sami, 2026-12-01): two tags on the first row,
     the third on the second, Inter for the small card text.
     Fix round 5 (Sami, 2026-12-01): the old 1fr/1fr columns sized
     column 1 by the WIDER of chips 1 and 3, so the visible gap
     after chip 1 wandered per card (measured 6px / 17px / 42px /
     41px) and Discover's second chip overflowed its track to the
     card's right edge. Columns are now max-content — column 1 is
     exactly chip 1's width, so the row-1 gap is the column-gap
     (11px) in EVERY card — and chip 3 spans both columns on row 2,
     which keeps it out of column 1's sizing entirely (its width
     never exceeds the pair's combined width, so it cannot inflate
     the tracks). Every chip still hugs its text. */
  .aisecx-chips{
    display:grid;
    grid-template-columns:max-content max-content;
    gap:8px 11px;
    margin-top:12px;
    justify-content:start;
    justify-items:start;
  }
  .aisecx-chip:nth-child(3){grid-column:1 / -1;}
  .aisecx-chip{
    /* Fill (Sami, 2026-12-01, fix round 5): his own colour #151B21
       replaces the old rgb(38,42,53); border and full-white text
       unchanged. */
    border:1px solid rgba(249,249,249,.16);
    background:#151B21;
    border-radius:8px;
    /* Snugger vertical padding (Sami, 2026-12-01): 5px → 3px so each
       chip hugs its text top and bottom. Horizontal unchanged. */
    padding:3px 10px;
    font-family:'Inter',sans-serif;
    font-size:12.5px;
    font-weight:500;
    color:#FFFFFF;
    /* No wrap, ever (Sami, 2026-12-01): every tag sits on ONE line. */
    white-space:nowrap;
  }
  /* The third tag sits alone on the second row at its natural text
     width, left-aligned (Sami correction, 2026-12-01: the full-width
     span was wrong — a chip is only ever as wide as its text). */

  /* ---------- CTA ---------- */
  .aisecx-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    margin-top:48px;
    background:linear-gradient(90deg,#C10801 0%,#E85002 55%,#F16001 100%);
    color:var(--ink);
    font-size:15.5px;
    font-weight:600;
    padding:15px 34px;
    border-radius:12px;
    box-shadow:0 12px 28px rgba(232,80,2,.28);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .aisecx-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(232,80,2,.38);
  }
  .aisecx-cta-wrap{text-align:center;}

  /* ---------- ENTRANCE ANIMATION (v7) ----------
     Builds ONCE when the section scrolls into view, like energy
     flowing from the hub: headline/pill/marquee fade in gently, the
     hub scales in, the connector wires DRAW themselves outward, a
     neon dot rides each route into its card, and the card flashes
     and lights on arrival. Initial states come from JS (.aisecx-pre)
     only when motion is allowed, so no-JS and reduced-motion
     visitors just see the finished static section. Nothing loops;
     the resting state is the static v7 look. */
  .aisecx-pre .aisecx-pill,
  .aisecx-pre .aisecx-headline,
  .aisecx-pre .aisecx-sub{opacity:0;transform:translateY(16px);}
  .aisecx-pre .aisecx-marquee{opacity:0;}
  .aisecx-pre .aisecx-hub{opacity:0;transform:translate(-50%,-50%) scale(.82);}
  .aisecx-pre .aisecx-card{opacity:.22;transform:translateY(12px);}
  .aisecx-pre .aisecx-cta-wrap{opacity:0;}
  /* Smoothness pass (Sami, 2026-12-01): every entrance step uses the
     same proper ease-out curve, cubic-bezier(.22,1,.36,1) — fast out
     of the gate, soft landing — instead of the mixed ease curves.
     Fix round 3 (Sami, 2026-12-01): the whole charge-up was too
     fast, so every CSS step is stretched ~1.6x in step with the JS
     plan — the full sequence now runs ~4.2s end to end. */
  .aisecx-section .aisecx-pill,
  .aisecx-section .aisecx-headline,
  .aisecx-section .aisecx-sub{transition:opacity 1.3s cubic-bezier(.22,1,.36,1),transform 1.3s cubic-bezier(.22,1,.36,1);}
  .aisecx-section .aisecx-marquee{transition:opacity 1.45s cubic-bezier(.22,1,.36,1) .16s;}
  .aisecx-section .aisecx-hub{transition:opacity 1.15s cubic-bezier(.22,1,.36,1) .24s,transform 1.15s cubic-bezier(.22,1,.36,1) .24s;}
  .aisecx-section .aisecx-card{transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1);}
  .aisecx-section .aisecx-cta-wrap{transition:opacity 1.3s cubic-bezier(.22,1,.36,1) 2.75s;}
  .aisecx-in .aisecx-pill,
  .aisecx-in .aisecx-headline,
  .aisecx-in .aisecx-sub{opacity:1;transform:translateY(0);}
  .aisecx-in .aisecx-headline{transition-delay:.13s;}
  .aisecx-in .aisecx-sub{transition-delay:.26s;}
  .aisecx-in .aisecx-marquee{opacity:1;}
  .aisecx-in .aisecx-hub{opacity:1;transform:translate(-50%,-50%) scale(1);}
  .aisecx-in .aisecx-cta-wrap{opacity:1;}
  .aisecx-card.lit{opacity:1;transform:translateY(0);}
  @keyframes aisecx-flash{
    0%{border-color:rgba(241,96,1,.95);box-shadow:0 0 0 1.5px rgba(241,96,1,.85),0 0 38px rgba(232,80,2,.55),inset 0 -16px 24px -16px rgba(232,80,2,.50);}
    100%{border-color:rgba(249,249,249,.09);box-shadow:inset 0 -16px 24px -16px rgba(232,80,2,.50);}
  }
  /* Flash stretched with the rest of the sequence (fix round 3):
     .9s -> 1.45s, so the arrival glow decays with a longer tail. */
  .aisecx-card.flash{animation:aisecx-flash 1.45s ease-out;}
  /* The dots ride on CSS transforms (JS-driven, 2026-12-01):
     transform-box:view-box keeps translate() in SVG user units. */
  .aisecx-dot{transform-box:view-box;filter:drop-shadow(0 0 5px rgba(241,96,1,1)) drop-shadow(0 0 13px rgba(232,80,2,.8));}
  @media (prefers-reduced-motion: reduce){
    .aisecx-section .aisecx-pill,
    .aisecx-section .aisecx-headline,
    .aisecx-section .aisecx-sub,
    .aisecx-section .aisecx-marquee,
    .aisecx-section .aisecx-hub,
    .aisecx-section .aisecx-card,
    .aisecx-section .aisecx-cta-wrap{transition:none;}
    .aisecx-card.flash{animation:none;}
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:1060px){
    .aisecx-cards{grid-template-columns:repeat(2,1fr);}
    .aisecx-lines{display:none;}
  }
  @media (max-width:640px){
    .aisecx-section{padding:72px 0 84px;}
    .aisecx-headline .hl-sans,.aisecx-headline .hl-serif{font-size:38px;}
    .aisecx-sub{font-size:15px;}
    .aisecx-marquee{margin-top:56px;gap:24px;}
    .aisecx-tile{width:76px;height:76px;border-radius:18px;}
    .aisecx-tile svg{width:40px;height:40px;}
    .aisecx-tile--vercel svg{width:35px;height:35px;}
    .aisecx-tile--mascot img{width:60px;}
    .aisecx-group{gap:16px;padding-right:16px;}
    .aisecx-row.r2 .aisecx-track{margin-left:-46px;}
    /* Mobile hub (fix round 10): 200px here, 240px in the
       641-820px band (see the fix-round-4/10 block at the end);
       the S mark scales with it (60px at 300px -> 40px here). */
    .aisecx-hub{width:200px;height:200px;}
    .aisecx-hub img{width:40px;}
    .aisecx-cards{grid-template-columns:1fr;}
  }
  @media (prefers-reduced-motion: reduce){
    .aisecx-track{animation:none;}
    .aisecx-cta{transition:none;}
  }

  /* ---------- MOBILE FIX ROUNDS 4 + 10 (Sami, 2026-12-01) ----------
     Round 4:
     1) Hub vs cards: on mobile the connector lines are hidden, so
        nothing held the cards off the hub — the hub overhangs the
        marquee's bottom edge and dipped INTO the first card. The
        cards carry a top margin sized to clear the overhang and
        leave a visible gap, so the hub rests fully above the cards.
     2) The ring's junction dot is a desktop detail: hidden on
        mobile (it is the only <circle> in the hub-ring SVG).
     Round 10:
     3) NO charge-up entrance on mobile: the script in index.html
        returns early at <=820px before hiding anything; the guard
        below forces the final states anyway, so no element can be
        left hidden or mid-animation on a small screen (e.g. after
        a resize from a desktop load).
     4) Hub smaller + more air: hub 300px -> 240px in this band
        (200px under 640px, S mark scaling 60px -> 48px / 40px),
        and the settled hub-to-first-card gap rises ~30px ->
        ~58px. Geometry: at 641-820px the marquee is 222px tall
        (2x 96px rows + 30px gap), so a 240px hub overhangs it by
        9px and a 67px card margin leaves 58px clear; under 640px
        the marquee is 176px tall (2x 76px + 24px), a 200px hub
        overhangs by 12px and a 70px margin leaves 58px clear. */
  @media (max-width:820px){
    .aisecx-hub{width:240px;height:240px;}
    .aisecx-hub img{width:48px;}
    .aisecx-cards{margin-top:67px;}
    .aisecx-hub-ring circle{display:none;}
    /* Round-10 entrance guard: final states, no transitions. */
    .aisecx-pre .aisecx-pill,
    .aisecx-pre .aisecx-headline,
    .aisecx-pre .aisecx-sub,
    .aisecx-pre .aisecx-marquee,
    .aisecx-pre .aisecx-card,
    .aisecx-pre .aisecx-cta-wrap{opacity:1;transform:none;}
    .aisecx-pre .aisecx-hub{opacity:1;transform:translate(-50%,-50%);}
    .aisecx-section .aisecx-pill,
    .aisecx-section .aisecx-headline,
    .aisecx-section .aisecx-sub,
    .aisecx-section .aisecx-marquee,
    .aisecx-section .aisecx-hub,
    .aisecx-section .aisecx-card,
    .aisecx-section .aisecx-cta-wrap{transition:none;}
    .aisecx-card.flash{animation:none;}
  }
  @media (max-width:640px){
    .aisecx-hub{width:200px;height:200px;}
    .aisecx-hub img{width:40px;}
    .aisecx-cards{margin-top:70px;}
  }
