/* ============================================================================
   DIGITT HYPE — REFRESH LAYER (loaded after theme.css)
   One typeface (Epilogue), flat brand colour (violet field, gold action),
   no mesh gradients, glows, monospace, eyebrows or decorative numbering.
   Delete this file and its <link> in includes/header.php to roll back.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   TOKENS
   --------------------------------------------------------------------------- */
:root {
    --font-display: 'Epilogue', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font:         'Epilogue', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    var(--font);              /* nothing on the site is code */

    --step-small: .875rem;
    --step-body:  clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
    --step-lead:  clamp(1.2rem, 1.08rem + .6vw, 1.5rem);
    --step-3:     clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
    --step-4:     clamp(2rem, 1.2rem + 3.6vw, 4.5rem);
    --step-5:     clamp(2.6rem, 1rem + 6.4vw, 7rem);

    --violet: #6D28D9;          /* logo violet, deep enough for white type (7:1) */
    --violet-ink: #4C1D95;
    --gold: #F7BE22;            /* logo dot, used for the action on violet fields */
    --grad-cta: var(--violet);  /* old gradient tokens now resolve to flat colour */
    --grad-gold: var(--gold);

    --frame: clamp(16px, 1.4vw, 20px);
    --r-tile: 18px;
}

/* ---------------------------------------------------------------------------
   TYPE
   --------------------------------------------------------------------------- */
body { font-size: var(--step-body); line-height: 1.55; color: var(--text-1); }
h1, h2, h3, h4 { font-family: var(--font-display); }
h1, .hero-title, .section-title, .page-banner h1, .statement { font-weight: 800; letter-spacing: -.04em; line-height: .98; }
h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h3, h4 { font-weight: 600; letter-spacing: -.02em; }
.section-title { text-wrap: balance; }

/* running text: full ink, readable size, one face */
.section-desc, .hero-subtitle, .page-banner > .container > p,
.card p, .entity-card-desc, .link-card-teaser, .link-card > p, .card-meta,
.why-item p, .why-point p, .cta-panel-text, .post-card-excerpt, .svc-desc,
.footer-brand p, .faq-answer p, .mv-card p {
    font-family: var(--font);
    font-size: max(1rem, var(--step-body));
    line-height: 1.55;
    letter-spacing: 0;
}
.section-desc, .hero-subtitle, .page-banner > .container > p { font-size: var(--step-lead); line-height: 1.45; color: var(--text-1); max-width: 46ch; }
.why-item p, .faq-answer p { color: var(--text-1); }

/* small text never under 13px */
.work-card-meta, .chip, .filter-btn, .pill-nav .filter-btn, .footer-bottom, .post-meta, .blog-count, .share-label,
.stat-label, .stat > span, .stat-item p, .hero-stat p, .mega-link-teaser, .person-role,
.link-card-eyebrow, .article-meta, .footer-col h4 {
    font-family: var(--font);
    font-size: var(--step-small);
    letter-spacing: 0;
}

/* the accent word is just a word */
.gradient-text, .section-title .gradient-text, .hero-title .gradient-text, .page-banner .gradient-text, .gradient-text--gold {
    background: none !important;
    padding-bottom: 0;
}
.hero-title, .hero-subtitle { text-shadow: none; }

/* eyebrows go; inside a card the same class is the card's meta line and stays */
.eyebrow, .section-tag { display: none; }
.entity-card .eyebrow { display: block; }
.eyebrow::before, .section-tag::before { display: none; }
.eyebrow, .section-tag { font-family: var(--font); font-size: var(--step-small); font-weight: 500; letter-spacing: 0; text-transform: none; }

/* decorative numbering and glyphs */
.svc-index, .why-item .num, .process-step .process-step-number { display: none; }
.word-band .word { font-family: var(--font-display); font-weight: 900; letter-spacing: -.03em; text-transform: none; }
.word-band .word i { display: none; }

/* ---------------------------------------------------------------------------
   COLOUR FIELDS — the hero and inner-page banners are flat brand violet
   --------------------------------------------------------------------------- */
.mesh, .page-banner, .hero.hero--mesh { background: var(--violet); }
.mesh::before, .mesh::after, .page-banner::before { display: none; }
.hero.hero--mesh { padding-bottom: clamp(80px, 11vw, 150px); }
.spin-badge { display: none; }
.logo-band { padding-top: clamp(56px, 7vw, 96px); }
.hero-title { font-size: var(--step-5); text-wrap: balance; }
.hero.hero--mesh .hero-content { max-width: min(1240px, 100%); }
.svc-card .svc-head { display: none; }
.svc-card { min-height: 320px; }
.svc-card .svc-lede { padding-top: 0; }
.svc-title { font-size: var(--step-3); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.page-banner h1 { font-size: var(--step-4); max-width: 24ch; }
.page-banner .split h1 { font-size: clamp(2rem, 1rem + 2.8vw, 3.6rem); }   /* half-width column */
.section-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); }
.page-banner .eyebrow { color: #fff; font-size: 1rem; margin-bottom: var(--space-3); }

/* buttons: flat fill, one pill shape, no glow */
.btn-primary, .btn-primary::before { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-ink); color: #fff; box-shadow: none; }
.btn-gold, .btn-gold:hover { background: var(--gold); color: #1A1100; box-shadow: none; }
.hero--mesh .btn-primary, .page-banner .btn-primary,
.hero--mesh .btn-primary::before, .page-banner .btn-primary::before { background: var(--gold); color: #1A1100; box-shadow: none; }
.hero--mesh .btn-primary:hover, .page-banner .btn-primary:hover { background: #fff; color: #0A0A0A; }
.btn:active { transform: translateY(1px) scale(.98); }
.nav-cta { box-shadow: none; }
.btn-secondary, .btn-outline, .hero--mesh .btn-secondary, .page-banner .btn-secondary, .page-banner .btn-ghost {
    border: 0; background: rgba(255,255,255,.16); color: #fff;
}
.band-light .btn-secondary, .band-light .btn-outline { background: var(--surface-2); color: var(--text-1); }

/* navigation: a plain black bar */
.navbar, .navbar.scrolled, .navbar.is-scrolled { border: 0; box-shadow: none; }

/* ---------------------------------------------------------------------------
   TILES — a tone step instead of glow and outlines
   --------------------------------------------------------------------------- */
.card::after, .card-glass::after, .feature-card::after, .mv-card::after, .tool-card::after,
.contact-info-card::after, .why-metrics-glass::after, .testimonial-card::after, .process-step::after,
.timeline-item::after, .blog-card::after, .case-study-card::after, .contact-form-card::after,
.entity-card::after, .link-card::after { display: none; }
.card, .card-glass, .feature-card, .mv-card, .tool-card, .contact-info-card, .why-metrics-glass,
.testimonial-card, .process-step, .timeline-item, .blog-card, .case-study-card, .contact-form-card,
.entity-card, .link-card { background: #141414; }
.entity-card:hover, .link-card:hover, .card:hover, .entity-card:focus-visible, .link-card:focus-visible { background: #1E1E1E; }

/* icons sit bare, no tinted plate */
.card-icon, .link-card-icon, .entity-card-icon, .service-icon, .tool-card-icon, .next-step-icon,
.why-point > i, .feature-card > i, .process-step > i, .link-card > i {
    background: transparent; border: 0; color: #CDB4FE; width: auto; height: auto; justify-content: flex-start;
}
.entity-card:hover .entity-card-icon, .link-card:hover .link-card-icon, .link-card:hover > i { background: transparent; color: var(--gold); }

.entity-card-arrow, .svc-cta, .link-card-arrow { background: rgba(255,255,255,.1); border: 0; }
.entity-card:hover .entity-card-arrow, .link-card:hover .link-card-arrow, .svc-card:hover .svc-cta { background: var(--gold); color: #1A1100; }

/* pictures inside tiles: whole screenshot, no scrim, no grid texture */
.entity-card-media, .blog-card-image, .portfolio-card-image, .split-media, .about-image, .why-image, .service-detail-visual { background: #1E1E1E; }
.entity-card-media::before, .entity-card-media::after, .blog-card-image::before, .portfolio-card-image::before,
.split-media::before, .about-image::before, .service-detail-visual::before { display: none; }
.entity-card-media img { object-position: top center; }
.entity-card:hover .entity-card-media img { transform: none; }

/* metric badge: a filled chip in the band's own ink, so it reads on black, white and tiles */
.badge-metric { background: var(--surface-2); border: 0; color: var(--text-1); font-family: var(--font); font-weight: 600; font-size: var(--step-small); }

/* icon-topped feature cards: the heading leads instead */
.card-icon, .entity-card-icon, .feature-card > i, .process-step > i, .service-icon, .next-step-icon, .why-point > i,
:is(.card, .entity-card, .mv-card) > i:first-child { display: none; }
.dh-sheen { display: none !important; }
.svc-cta { background: none !important; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------------------
   LINES → space or tone
   --------------------------------------------------------------------------- */
.stat, .stat-item, .hero-stat, .why-item { border-top: 0; }
.svc-foot, .footer-bottom { border-top: 0; }
.faq-item, .faq-item:last-child { border: 0; background: var(--surface-1); border-radius: 14px; margin-bottom: 8px; padding-inline: clamp(16px, 2vw, 24px); }
.chip, .pill-nav .filter-btn, .filter-btn { border: 0; background: var(--surface-2); color: var(--text-1); font-weight: 500; }
.chip:hover, .filter-btn:hover { background: var(--surface-3); }
.filter-btn.active, .filter-btn[aria-pressed="true"] { background: var(--text-1); color: var(--bg); }
.page-banner .chip { background: rgba(255,255,255,.16); color: #fff; }
.drawer-panel { border-left: 0; }

/* ---------------------------------------------------------------------------
   PORTFOLIO WORK CARD — browser frame + full screenshot + text below
   --------------------------------------------------------------------------- */
.work-grid { gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); align-items: start; }
.work-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--text-1);
    text-decoration: none;
    transition: transform var(--dur) var(--ease-out);
}
.work-card-frame {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #1E1E1E;
    transition: background-color var(--dur) var(--ease-out);
}
.band-light .work-card-frame, :where(main > section:nth-of-type(even):not(.band-dark):not(.page-banner):not(.hero-frame):not(.cta-band)) .work-card-frame { background: #ECEAF0; }
.work-card-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding-inline: 14px;
    font-size: var(--step-small);
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.work-card-bar i { font-size: .7rem; opacity: .7; }
.work-card-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;        /* the screenshots are 960x600: nothing is cropped */
    border-radius: 0;
    overflow: hidden;
    background: #2A2A2A;
}
.work-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: none;
    transition: transform .9s var(--ease-out);
}
.work-card-body { display: flex; flex-direction: column; gap: 6px; padding-inline: 2px; }
.work-card-title {
    margin: 0;
    font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.2;
    color: var(--text-1);
}
.work-card-metric {
    position: static;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-1);
}
.work-card-meta { color: var(--text-3); margin-top: 2px; }
.work-card:hover .work-card-frame, .work-card:focus-visible .work-card-frame { background: var(--violet); }
.work-card:hover .work-card-bar, .work-card:focus-visible .work-card-bar { color: #fff; }
.work-card:hover .work-card-media img { transform: translateY(-2%); }
.work-card:hover .work-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.work-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 16px; }

/* ---------------------------------------------------------------------------
   CTA PANEL — copy on violet, three real screenshots beside it
   --------------------------------------------------------------------------- */
.cta-panel { border: 0; background: var(--violet); }
.cta-panel-copy h2 { max-width: 12ch; font-size: var(--step-4); }
.cta-panel-text { color: #fff; max-width: 38ch; }
.cta-panel .btn-primary, .cta-panel .btn-primary::before { background: var(--gold); color: #1A1100; }
.cta-panel .btn-primary:hover { background: #fff; color: #0A0A0A; }
.cta-panel-work {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 12px;
    padding: clamp(20px, 3vw, 40px);
    background: var(--violet-ink);
    min-height: 0;
}
.cta-panel-work img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; display: block; }
.cta-panel-work img:first-child { grid-column: 1 / -1; }

/* ---------------------------------------------------------------------------
   MISC
   --------------------------------------------------------------------------- */
.person-photo { background: #ECE5FB; }
.person-photo::after { background: var(--violet); }
.dh-split__w + .dh-split__w { margin-left: 0; }   /* the split script already keeps a real space between words */
::selection { background: var(--gold); color: #1A1100; }
:focus-visible { outline-color: var(--gold); }

@media (max-width: 760px) {
    .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 24px, 0); }
    .cta-panel { grid-template-columns: 1fr; }
    .cta-panel-work { order: -1; }
    .container { padding-inline: 18px; }
}
@media (max-width: 560px) {
    .hero-title { font-size: clamp(2.2rem, 9.6vw, 3rem); }
    .page-banner h1, .section-title, h2 { font-size: clamp(1.75rem, 7.6vw, 2.1rem); }
    .cta-panel-copy h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* ============================================================================
   VERTICAL COLOURS — one colour per service, used wherever that service appears.
   --svc       bright, for fills and for text on dark surfaces
   --svc-deep  dark enough for white text on it and for text on white (5:1+)
   --svc-link  the right one of the two for running text, chosen by the band
   Markup opts in with data-svc="<service id>".
   ============================================================================ */
[data-svc="digital-media"]   { --svc: #E879F9; --svc-deep: #A21CAF; }
[data-svc="web-development"] { --svc: #60A5FA; --svc-deep: #1D4ED8; }
[data-svc="app-development"] { --svc: #34D399; --svc-deep: #047857; }
[data-svc="ads"]             { --svc: #FB923C; --svc-deep: #C2410C; }
[data-svc="pos-erp"]         { --svc: #F87171; --svc-deep: #B91C1C; }
[data-svc="ai-integrations"] { --svc: #22D3EE; --svc-deep: #0E7490; }
[data-svc] { --svc-link: var(--svc); --svc-text: var(--svc); }
.band-light, :where(main > section:nth-of-type(even):not(.band-dark):not(.page-banner):not(.hero-frame):not(.cta-band)) { --svc-text: var(--svc-deep); }
:is(.band-light, main > section:nth-of-type(even):not(.band-dark):not(.page-banner):not(.hero-frame):not(.cta-band)) [data-svc] { --svc-link: var(--svc-deep); }

/* tiles: tinted with the vertical's colour, title and action in it */
.entity-card[data-svc], .link-card[data-svc] { background: color-mix(in srgb, var(--svc) 15%, #141414); }
.entity-card[data-svc]:hover, .link-card[data-svc]:hover, .entity-card[data-svc]:focus-visible, .link-card[data-svc]:focus-visible { background: color-mix(in srgb, var(--svc) 26%, #141414); }
.entity-card[data-svc] :is(.entity-card-title, .link-card-title, .svc-title), .link-card[data-svc] .link-card-title { color: var(--svc); }
.entity-card[data-svc] .entity-card-icon, .link-card[data-svc] .link-card-icon { color: var(--svc); }
.entity-card[data-svc] :is(.entity-card-arrow, .svc-cta), .link-card[data-svc] .link-card-arrow { background: var(--svc) !important; color: #111 !important; padding: 9px 16px; border-radius: 999px; text-decoration: none; }
.entity-card[data-svc]:hover :is(.entity-card-arrow, .svc-cta), .link-card[data-svc]:hover .link-card-arrow { background: #fff !important; }

/* chips, filters and the small service pill */
.chip[data-svc], .svc-pill { background: var(--svc); color: #111; font-weight: 600; }
.chip[data-svc]:hover { background: #fff; color: #111; }
.svc-pill { display: inline-block; margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: var(--step-small); line-height: 1.5; }
.entity-card-meta .svc-pill { margin: 0 6px 4px 0; }
.filter-btn[data-svc]::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--svc); vertical-align: 1px; }
.filter-btn[data-svc].active, .filter-btn[data-svc][aria-pressed="true"] { background: var(--svc); color: #111; }
.filter-btn[data-svc].active::before, .filter-btn[data-svc][aria-pressed="true"]::before { background: #111; }

/* nav dropdown and footer: a dot in the colour before each service name */
.mega-link[data-svc] .mega-link-title::before, .footer-col a[data-svc]::before {
    content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--svc); vertical-align: 1px;
}
.footer-col a[data-svc]:hover { color: var(--svc); }

/* portfolio cards: hover frame takes the vertical's colour */
.work-card[data-svc]:hover .work-card-frame, .work-card[data-svc]:focus-visible .work-card-frame { background: var(--svc-deep); }
.work-card[data-svc]:focus-visible { outline-color: var(--svc); }
.work-card-bar .svc-pill { flex: none; }

/* running links to a service */
a[data-svc]:not(.chip):not(.ind-svc):not(.entity-card):not(.link-card):not(.mega-link):not(.work-card):not(.filter-btn):not(.nav-link) { color: var(--svc-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-col a[data-svc] { color: #fff; text-decoration: none; font-weight: 500; }

/* a service page wears its colour all the way through */
body[data-svc] .mesh, body[data-svc] .page-banner, body[data-svc] .hero.hero--mesh { background: var(--svc-deep); }
body[data-svc] .page-banner .btn-primary, body[data-svc] .page-banner .btn-primary::before,
body[data-svc] .hero--mesh .btn-primary, body[data-svc] .hero--mesh .btn-primary::before { background: #fff; color: var(--svc-deep); }
body[data-svc] .page-banner .btn-primary:hover, body[data-svc] .hero--mesh .btn-primary:hover { background: #111; color: #fff; }
body[data-svc] .btn-primary, body[data-svc] .btn-primary::before { background: var(--svc-deep); color: #fff; }
body[data-svc] .btn-primary:hover { background: #111; color: #fff; }
body[data-svc] .page-banner .btn-secondary, body[data-svc] .page-banner .btn-ghost { background: rgba(255,255,255,.2); }
body[data-svc] .section-title .gradient-text, body[data-svc] .section-title span { color: var(--svc-text); -webkit-text-fill-color: currentColor; }
body[data-svc] .page-banner .gradient-text { color: #fff; }
body[data-svc] .stat > strong, body[data-svc] .stat-value { color: var(--svc-text); }
body[data-svc] .card:not(.card-glass) { background: color-mix(in srgb, var(--svc) 13%, #141414); }
body[data-svc] .card h3 { color: var(--svc); }
body[data-svc] .faq-question[aria-expanded="true"], body[data-svc] .faq-item.is-open .faq-question { color: var(--svc-text); }
body[data-svc] .text-link { color: var(--svc-link); }
body[data-svc] ::selection { background: var(--svc); color: #111; }
body[data-svc] :focus-visible { outline-color: var(--svc); }
body[data-svc] .cta-panel, body[data-svc] .cta-panel-work { background: var(--svc-deep); }
body[data-svc] .cta-panel-work { filter: brightness(.82); }
body[data-svc] .cta-panel .btn-primary, body[data-svc] .cta-panel .btn-primary::before { background: #fff; color: var(--svc-deep); }

/* ---------------------------------------------------------------------------
   SERVICE ICONS — a filled plate in the vertical's colour; images on cards
   --------------------------------------------------------------------------- */
.svc-card .svc-head { display: flex; }
.svc-card .entity-card-icon, .entity-card[data-svc] .entity-card-icon, .link-card[data-svc] .link-card-icon,
.entity-card[data-svc] > i:first-child {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px; font-size: 1.15rem;
    background: var(--svc, #CDB4FE); color: #111;
}
.link-card[data-svc] .link-card-icon { width: 44px; height: 44px; }
.svc-card .entity-card-icon { background: var(--svc, rgba(255,255,255,.14)); color: #111; }
.svc-card:not([data-svc]) .entity-card-icon { background: rgba(255,255,255,.14); color: #fff; }
.mega-link[data-svc] .mega-link-title::before, .footer-col a[data-svc]::before { display: none; }
.mega-link-title i, .footer-col a[data-svc] i { color: var(--svc); width: 1.3em; margin-right: 4px; text-align: center; }
body[data-svc] .page-banner .page-banner-icon { color: #fff; }
.svc-card .entity-card-media { margin-bottom: 4px; aspect-ratio: 16 / 9; }
.svc-card .entity-card-media img { object-position: center; }
.svc-card { min-height: 0; }
.page-figure { margin-block: clamp(8px, 2vw, 24px) clamp(24px, 4vw, 48px); }
.page-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-tile); }

/* design project gallery: whole images, two columns, no cropping */
.design-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.design-gallery a { display: block; border-radius: 14px; overflow: hidden; background: #1E1E1E; }
.design-gallery img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.design-gallery a:hover img { transform: scale(1.02); }
.design-gallery a:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .design-gallery { grid-template-columns: 1fr; } }
.work-card-domain { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Home hero showreel */
.hero-reel { position: relative; margin: clamp(36px, 5vw, 64px) auto 0; max-width: 1120px; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background: #0B0B0F; box-shadow: 0 40px 90px -30px rgba(20, 6, 45, .7); }
.hero-reel__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-reel__toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(11, 11, 15, .6); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.hero-reel__toggle:hover { background: #F7BE22; color: #1A1100; }
.hero-reel__toggle:focus-visible { outline: 3px solid #F7BE22; outline-offset: 3px; }

/* Home: first project (priority 1) runs full width */
.work-grid--featured > .work-card:first-child { grid-column: 1 / -1; }
.work-grid--featured > .work-card:first-child .work-card-media { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .work-grid--featured > .work-card:first-child .work-card-media { aspect-ratio: 16 / 10; } }
.hero-reel__sound { position: absolute; left: 14px; bottom: 14px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(11, 11, 15, .6); color: #fff; font-family: inherit; font-weight: 600; font-size: .9rem; line-height: 1; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; backdrop-filter: blur(6px); }
.hero-reel__sound:hover { background: #F7BE22; color: #1A1100; }
.hero-reel__sound:focus-visible { outline: 3px solid #F7BE22; outline-offset: 3px; }

/* ---------- About: "The bar is on the floor" story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-media { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 720px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 40px 80px -30px rgba(40, 18, 80, .45); }
.story-badge { position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px;
  background: #fff; color: #0A0A0A; font-weight: 500; font-size: .98rem; line-height: 1.2; box-shadow: 0 18px 40px -12px rgba(20, 10, 40, .35); white-space: nowrap; }
.story-badge b { font-weight: 800; }
.story-badge i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1rem; background: var(--violet); color: #fff; }
.story-badge--a { top: 7%; left: -28px; }
.story-badge--b { top: 46%; right: -36px; }
.story-badge--b i { background: var(--gold); color: #1A1100; }
.story-badge--c { bottom: 8%; left: -20px; }
.story-badge--c i { background: #0A0A0A; }
@media (prefers-reduced-motion: no-preference) {
  .story-badge { animation: story-float 6s ease-in-out infinite; }
  .story-badge--b { animation-delay: -2s; }
  .story-badge--c { animation-delay: -4s; }
}
@keyframes story-float { 50% { transform: translateY(-8px); } }

.story-body .section-title { margin-bottom: 18px; }
.story-lead { font-size: var(--step-lead, 1.25rem); line-height: 1.45; color: var(--text-2); max-width: 34ch; margin-bottom: 30px; }

.story-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--surface-2); margin-bottom: 22px; isolation: isolate; }
.story-toggle button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; gap: 9px; transition: color .3s; white-space: nowrap; }
.story-toggle button[aria-pressed="true"] { color: #fff; }
.story-toggle button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.story-toggle__thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: #3F3B4A; transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .45s; }
.story-toggle[data-side="us"] .story-toggle__thumb { transform: translateX(100%); background: var(--violet); }

.story-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.story-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--surface-1); border: 1px solid var(--border); transition: background .4s, border-color .4s; }
.story-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; background: rgba(239, 68, 68, .12); color: #DC2626; transition: background .4s, color .4s; }
.story-list li > span:not(.story-ico) { grid-column: 2; grid-row: 1; font-weight: 600; font-size: 1.08rem; line-height: 1.3; transition: opacity .35s, transform .35s; }
.story-them { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .6); text-decoration-thickness: 2px; }
.story-us { color: var(--text-1); opacity: 0; transform: translateY(8px); }
.story-list[data-side="us"] .story-them { opacity: 0; transform: translateY(-8px); }
.story-list[data-side="us"] .story-us { opacity: 1; transform: none; }
.story-list[data-side="us"] li { background: rgba(109, 40, 217, .06); border-color: rgba(109, 40, 217, .25); }
.story-list[data-side="us"] .story-ico { background: var(--violet); color: #fff; }
.story-list li:nth-child(2) > span, .story-list li:nth-child(2) .story-ico { transition-delay: .06s; }
.story-list li:nth-child(3) > span, .story-list li:nth-child(3) .story-ico { transition-delay: .12s; }
.story-list li:nth-child(4) > span, .story-list li:nth-child(4) .story-ico { transition-delay: .18s; }

.story-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.story-chips .chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .9rem; text-decoration: none; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 460px; width: 100%; margin: 0 auto; }
  .story-badge { font-size: .88rem; padding: 10px 14px 10px 10px; }
  .story-badge i { width: 34px; height: 34px; }
  .story-badge--a { left: -8px; } .story-badge--b { right: -8px; } .story-badge--c { left: -6px; }
  .story-toggle { display: grid; width: 100%; }
  .story-toggle button { padding: 12px 10px; font-size: .9rem; }
}
.story-chips .chip i { color: inherit; }
@media (max-width: 480px) { .story-toggle button { font-size: .84rem; padding: 12px 6px; gap: 6px; } .story-toggle button i { display: none; } }

/* ---------- About: the data-first method (interactive stepper) ---------- */
.method { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.method-tabs { display: flex; flex-direction: column; gap: 10px; position: relative; align-self: center; }
.method-tabs::before { content: ""; position: absolute; left: 37px; top: 30px; bottom: 30px; width: 2px; background: var(--border); }
.method-tab { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; text-align: left;
  padding: 12px 18px 12px 12px; border-radius: 20px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--text-2); font: inherit; overflow: hidden;
  transition: background .3s, border-color .3s, color .3s; }
.method-tab:hover { background: var(--surface-1); }
.method-tab__ico { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.15rem;
  background: var(--surface-2); color: var(--text-2); transition: background .3s, color .3s, transform .3s; }
.method-tab__txt { font-weight: 700; font-size: 1.12rem; line-height: 1.2; letter-spacing: -.01em; }
.method-tab__txt small { display: block; font-weight: 500; font-size: .8rem; opacity: .7; margin-bottom: 3px; letter-spacing: 0; }
.method-tab[aria-selected="true"] { background: var(--surface-1); border-color: var(--border); color: var(--text-1); }
.method-tab[aria-selected="true"] .method-tab__ico { background: var(--violet); color: #fff; transform: scale(1.04); box-shadow: 0 10px 24px -8px rgba(109, 40, 217, .6); }
.method-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* progress fill: the auto-advance timer */
.method-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: 0 50%; }
.method.is-running:not(.is-manual) .method-tab[aria-selected="true"] .method-tab__bar { animation: method-fill 6s linear forwards; }
.method.is-paused .method-tab[aria-selected="true"] .method-tab__bar { animation-play-state: paused; }
.method.is-manual .method-tab__bar { display: none; }
@keyframes method-fill { to { transform: scaleX(1); } }

.method-stage { position: relative; border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); min-height: 460px;
  background: radial-gradient(circle at 80% 0%, rgba(124, 58, 237, .35), transparent 55%), #12101A; color: #fff; display: flex; }
.method-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
.method-panel:not([hidden]) { animation: method-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes method-in { from { opacity: 0; transform: translateY(14px); } }
.method-copy { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; max-width: 30ch; margin: 0; color: #fff; }
.method-stage .text-link { color: var(--gold); margin-top: auto; }

/* shared mock card */
.mock { width: 100%; max-width: 560px; border-radius: 22px; background: #fff; color: #0A0A0A; padding: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mock-chips span { padding: 6px 12px; border-radius: 999px; background: #F1EEF8; font-size: .85rem; font-weight: 600; color: #3A3347; display: inline-flex; align-items: center; gap: 6px; }
.mock-tag { padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #1A1100; font-size: .78rem; font-weight: 800; }

.mock-kpi__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #52525B; }
.mock-kpi__num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 8px 0 6px; }
.mock-kpi__num small { font-size: .5em; }
.mock-kpi__chart { width: 100%; height: 110px; overflow: visible; }
.mock-base { stroke: #F7BE22; stroke-width: 3; stroke-dasharray: 8 7; }
.mock-line { fill: none; stroke: #6D28D9; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.method-panel:not([hidden]) .mock-line { animation: method-draw 1.4s .2s ease-out forwards; }
@keyframes method-draw { to { stroke-dashoffset: 0; } }

.mock-doc__title { font-weight: 800; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.mock-doc__title i { color: #6D28D9; }
.mock-doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-doc li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #F6F4FB; font-weight: 600; }
.mock-doc li i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: #16A34A; color: #fff; font-size: .7rem; }
.method-panel:not([hidden]) .mock-doc li { animation: method-in .4s both; }
.method-panel:not([hidden]) .mock-doc li:nth-child(2) { animation-delay: .1s; }
.method-panel:not([hidden]) .mock-doc li:nth-child(3) { animation-delay: .2s; }
.method-panel:not([hidden]) .mock-doc li:nth-child(4) { animation-delay: .3s; }
.mock-doc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .9rem; color: #52525B; font-weight: 600; }
.mock-doc__foot i { color: #6D28D9; margin-right: 6px; }

.mock-events__head { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 10px; }
.mock-live { width: 10px; height: 10px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: method-pulse 1.6s infinite; }
@keyframes method-pulse { 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.mock-event { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #F6F4FB; margin-bottom: 7px; font-weight: 600; font-size: .95rem; }
.mock-event i { color: #6D28D9; text-align: center; }
.mock-event b { color: #16A34A; }
.method-panel:not([hidden]) .mock-event { animation: method-in .35s both; }
.method-panel:not([hidden]) .mock-event:nth-of-type(2) { animation-delay: .15s; }
.method-panel:not([hidden]) .mock-event:nth-of-type(3) { animation-delay: .3s; }
.method-panel:not([hidden]) .mock-event:nth-of-type(4) { animation-delay: .45s; }

.mock-sprints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-sprint { border-radius: 16px; padding: 14px 12px; background: #F6F4FB; display: flex; flex-direction: column; gap: 4px; min-height: 120px; position: relative; }
.mock-sprint b { font-size: .95rem; }
.mock-sprint span { font-size: .85rem; color: #52525B; }
.mock-sprint i { margin-top: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #E4E1EA; color: #52525B; font-size: .8rem; }
.mock-sprint.is-done i { background: #16A34A; color: #fff; }
.mock-sprint.is-live { background: #6D28D9; color: #fff; }
.mock-sprint.is-live span { color: #E9DDFF; }
.mock-sprint.is-live i { background: #F7BE22; color: #1A1100; animation: method-pulse 1.6s infinite; }

.mock-report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-report__col { border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mock-report__col i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.mock-report__col b { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.mock-report__col span { font-size: .88rem; color: #52525B; }
.mock-report__col.is-scale { background: #ECFDF3; } .mock-report__col.is-scale i { background: #16A34A; }
.mock-report__col.is-cut { background: #FEF2F2; } .mock-report__col.is-cut i { background: #DC2626; }
.mock-report__col.is-test { background: #FFF8E1; } .mock-report__col.is-test i { background: #F7BE22; color: #1A1100; }
.method-panel:not([hidden]) .mock-report__col { animation: method-in .4s both; }
.method-panel:not([hidden]) .mock-report__col:nth-child(2) { animation-delay: .12s; }
.method-panel:not([hidden]) .mock-report__col:nth-child(3) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) { .method *, .method-panel { animation: none !important; } .mock-line { stroke-dashoffset: 0; } }

/* tablet + phone: the step rail becomes a swipeable strip above the stage */
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .method-tabs::-webkit-scrollbar { display: none; }
  .method-tabs::before { display: none; }
  .method-tab { flex: 0 0 auto; scroll-snap-align: start; grid-template-columns: 40px auto; gap: 10px; padding: 8px 14px 8px 8px; border-color: var(--border); }
  .method-tab__ico { width: 40px; height: 40px; border-radius: 12px; font-size: .95rem; }
  .method-tab__txt { font-size: .95rem; white-space: nowrap; }
  .method-stage { min-height: 0; }
}
@media (max-width: 520px) {
  .mock { padding: 16px; }
  .mock-sprints { grid-template-columns: repeat(2, 1fr); }
  .mock-sprint { min-height: 96px; }
  .mock-report { grid-template-columns: 1fr; }
  .mock-report__col { flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .mock-report__col i { margin: 0; }
  .mock-report__col span { margin-left: auto; }
}

/* ---------- About: horizontal journey timeline ---------- */
.journey { --n: 5; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; }
/* track + animated fill, running through the node centres */
.journey::before, .journey::after { content: ""; position: absolute; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); top: 128px; height: 4px; border-radius: 4px; background: var(--border); }
.journey::after { background: linear-gradient(90deg, var(--violet), #A855F7 70%, var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s cubic-bezier(.6, 0, .2, 1); }
.journey.is-in::after { transform: scaleX(1); }

.journey-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.journey-year { font-size: clamp(2.6rem, 4.6vw, 4.6rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; height: 90px; display: flex; align-items: flex-end;
  color: transparent; -webkit-text-stroke: 1.5px rgba(109, 40, 217, .45); transition: color .5s, -webkit-text-stroke-color .5s; }
.journey-item:hover .journey-year, .journey-item.is-now .journey-year { color: var(--violet); -webkit-text-stroke-color: var(--violet); }
.journey-node { position: relative; z-index: 1; width: 64px; height: 64px; margin: 6px 0 22px; border-radius: 20px; display: grid; place-items: center; font-size: 1.3rem;
  background: #fff; color: var(--violet); border: 2px solid rgba(109, 40, 217, .25); box-shadow: 0 14px 30px -14px rgba(76, 29, 149, .45);
  transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .4s, background .3s, color .3s; }
.journey.is-in .journey-node { transform: none; opacity: 1; }
.journey-item:nth-child(2) .journey-node { transition-delay: .35s; }
.journey-item:nth-child(3) .journey-node { transition-delay: .7s; }
.journey-item:nth-child(4) .journey-node { transition-delay: 1.05s; }
.journey-item:nth-child(5) .journey-node { transition-delay: 1.4s; }
.journey-item:hover .journey-node { background: var(--violet); color: #fff; }
.journey-item.is-now .journey-node { background: var(--gold); color: #1A1100; border-color: var(--gold); }
.journey-item.is-now .journey-node::after { content: ""; position: absolute; inset: -8px; border-radius: 26px; border: 2px solid var(--gold); animation: journey-ping 2s infinite; }
@keyframes journey-ping { from { opacity: .8; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }

.journey-body h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; color: var(--text-1); }
.journey-body p { font-size: .95rem; line-height: 1.45; color: var(--text-2); margin: 0 0 14px; max-width: 24ch; margin-inline: auto; }
.journey-stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(109, 40, 217, .08); font-size: .85rem; font-weight: 600; color: var(--text-2); }
.journey-stat b { font-size: 1.1rem; font-weight: 900; color: var(--violet); letter-spacing: -.02em; }
.journey-stat em { font-style: normal; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: #1A1100; }

@media (prefers-reduced-motion: reduce) {
  .journey::after, .journey-node { transition: none; }
  .journey::after { transform: scaleX(1); }
  .journey-node { transform: none; opacity: 1; }
  .journey-item.is-now .journey-node::after { animation: none; }
}

/* tablet + phone: vertical timeline, line down the left */
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .journey::before, .journey::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 4px; height: auto; }
  .journey::after { transform: scaleY(0); transform-origin: 50% 0; }
  .journey.is-in::after { transform: scaleY(1); }
  .journey-item { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; align-items: start; padding-bottom: 30px; }
  .journey-item:last-child { padding-bottom: 0; }
  .journey-node { grid-column: 1; grid-row: 1 / span 2; width: 58px; height: 58px; margin: 0; border-radius: 18px; font-size: 1.15rem; }
  .journey-year { grid-column: 2; grid-row: 1; height: auto; font-size: 2.6rem; margin-bottom: 4px; }
  .journey-body { grid-column: 2; grid-row: 2; }
  .journey-body p { margin-inline: 0; max-width: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .journey::after { transform: scaleY(1); } }
/* journey refinements: soft-fill past years (stroked text glitches on overlapping glyph paths), bottom-aligned stats, per-item line on phones */
.journey-year { color: rgba(109, 40, 217, .16); -webkit-text-stroke: 0; }
.journey-item:hover .journey-year, .journey-item.is-now .journey-year { color: var(--violet); }
.journey-body { flex: 1; display: flex; flex-direction: column; align-items: center; }
.journey-stat { margin-top: auto; }
@media (max-width: 900px) {
  .journey::before, .journey::after { display: none; }
  .journey-item { position: relative; }
  .journey-item:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 0; width: 4px; background: linear-gradient(var(--violet), #A855F7); }
  .journey-body { align-items: flex-start; }
}
/* story: fit one laptop screen — image sized to the viewport, 2x2 promise grid, tighter rhythm */
@media (min-width: 901px) {
  .story-grid { align-items: center; gap: clamp(40px, 5vw, 80px); }
  .story-media { aspect-ratio: 4 / 5; height: min(660px, calc(100svh - 190px)); width: auto; max-width: 100%; justify-self: center; }
  .story-body .section-title { margin-bottom: 14px; }
  .story-lead { max-width: 42ch; margin-bottom: 22px; font-size: 1.15rem; }
  .story-toggle { margin-bottom: 16px; }
  .story-toggle button { padding: 10px 20px; }
  .story-list { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
  .story-list li { grid-template-columns: 42px 1fr; gap: 12px; padding: 12px 14px 12px 12px; min-height: 76px; }
  .story-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
  .story-list li > span:not(.story-ico) { font-size: .98rem; }
  .story-chips { gap: 8px; margin-bottom: 16px; }
  .story-chips .chip { padding: 7px 13px; font-size: .84rem; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .story-body .section-title { font-size: clamp(2.4rem, 4.2vw, 3.3rem); margin-bottom: 10px; }
  .story-lead { margin-bottom: 16px; }
  .story-list li { min-height: 68px; padding-block: 10px; }
  .story-chips { margin-bottom: 10px; }
}

/* ====================================================================== */
/* Service pages (includes/service-sections.php)                          */
/* ====================================================================== */

/* ---------- hero: 3D scene ---------- */
.svc3d { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.svc3d__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(247, 190, 34, .18) 45%, transparent 70%); filter: blur(10px); }
.svc3d__ring { position: absolute; left: 14%; right: 14%; bottom: 8%; height: 16%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); background: radial-gradient(closest-side, rgba(20, 8, 50, .28), transparent); }
.svc3d__main { position: absolute; inset: 6% 10% 12%; display: block; }
.svc3d__main img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 30px 40px rgba(20, 8, 50, .35)); }
.svc3d__side { position: absolute; width: 27%; height: auto; filter: drop-shadow(0 18px 24px rgba(20, 8, 50, .35)); }
.svc3d__side--0 { top: 2%; left: -2%; }
.svc3d__side--1 { bottom: 10%; right: -3%; width: 25%; }
.svc3d__tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; white-space: nowrap;
  background: rgba(255, 255, 255, .94); color: #0A0A0A; font-weight: 700; font-size: .92rem; box-shadow: 0 18px 40px -14px rgba(20, 8, 50, .5); }
.svc3d__tag i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: .9rem; }
.svc3d__tag--0 { top: 16%; right: -4%; }
.svc3d__tag--1 { bottom: 4%; left: 0; }
.svc3d__tag--1 i { background: var(--gold); color: #1A1100; }
.svc3d [data-depth] { transition: translate .25s ease-out; }
@media (prefers-reduced-motion: no-preference) {
  .svc3d__main { animation: svc3d-float 7s ease-in-out infinite; }
  .svc3d__side, .svc3d__tag { animation: svc3d-float 6s ease-in-out infinite; }
  .svc3d__side--1 { animation-delay: -2s; }
  .svc3d__tag--0 { animation-delay: -3s; }
  .svc3d__tag--1 { animation-delay: -4.5s; }
}
@keyframes svc3d-float { 50% { transform: translateY(-12px); } }

/* ---------- numbers strip (moved out of the hero) ---------- */
.svc-stats { padding-block: clamp(20px, 3vw, 36px) 0; }
.svc-stats__row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0; border-radius: 26px; background: var(--surface-1); border: 1px solid var(--border); overflow: hidden; }
.svc-stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: clamp(22px, 3vw, 34px); }
.svc-stats__item + .svc-stats__item { border-left: 1px solid var(--border); }
.svc-stats__item dd { margin: 0; font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--violet); }
.svc-stats__item dt { font-size: .98rem; line-height: 1.4; color: var(--text-2); max-width: 30ch; }

/* ---------- section 3: deliverables explorer (re-uses the .method stepper) ---------- */
.svc-explore .method-stage { min-height: 400px; overflow: hidden; }
.svc-explore .method-panel { position: relative; }
.svc-explore .method-tab { padding-block: 9px; }
.svc-explore .method-tab__ico { width: 46px; height: 46px; border-radius: 14px; font-size: 1.05rem; }
.svc-explore .method-tab { grid-template-columns: 46px 1fr; }
.svc-explore .method-tabs::before { left: 34px; }
.svc-explore .method-tab__txt { font-size: 1.04rem; }
.svc-explore__bg { position: absolute; right: -30px; bottom: -40px; font-size: 230px; color: #fff; opacity: .05; pointer-events: none; }
.svc-explore__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.svc-explore__ico { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; color: #fff;
  background: linear-gradient(135deg, #8B5CF6, var(--violet)); box-shadow: 0 20px 40px -14px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.svc-explore__num { font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.svc-explore__num small { font-size: .9rem; color: rgba(255, 255, 255, .45); letter-spacing: 0; }
.svc-explore__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: #fff; margin: 10px 0 0; max-width: 18ch; }
.svc-explore .method-copy { font-weight: 500; color: rgba(255, 255, 255, .82); max-width: 40ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

/* ---------- section 4: tool wall ---------- */
.tool-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tool-tile { position: relative; height: 100%; min-height: 138px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px 12px; text-align: center;
  border-radius: 22px; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-1); text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tool-tile__logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 20px -10px rgba(20, 10, 40, .25); }
.tool-tile__logo svg { width: 30px; height: 30px; }
.tool-tile__logo i { font-size: 1.5rem; color: var(--violet); }
.tool-tile__name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.tool-tile__go { position: absolute; top: 12px; right: 12px; font-size: .7rem; color: var(--violet); opacity: 0; transition: opacity .3s; }
a.tool-tile:hover, a.tool-tile:focus-visible { transform: translateY(-4px); border-color: rgba(109, 40, 217, .45); box-shadow: 0 22px 40px -22px rgba(76, 29, 149, .5); }
a.tool-tile:hover .tool-tile__go, a.tool-tile:focus-visible .tool-tile__go { opacity: 1; }
.tool-wall--sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.tool-wall--sm .tool-tile { min-height: 112px; }
.tool-wall__label { text-align: center; font-weight: 700; color: var(--text-2); margin: 34px 0 14px; display: flex; align-items: center; gap: 14px; }
.tool-wall__label::before, .tool-wall__label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.svc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(28px, 3vw, 40px); }

/* ---------- section 5: case-study showcase ---------- */
.proof .method-tabs { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.proof .method-tabs::before { display: none; }
.proof .method-tab { border-color: var(--border); grid-template-columns: 44px auto; gap: 12px; padding: 8px 18px 8px 8px; }
.proof .method-tab__ico { width: 44px; height: 44px; border-radius: 13px; font-size: 1rem; }
.proof .method-tab__txt { font-size: 1rem; white-space: nowrap; }
.proof.is-running:not(.is-manual) .method-tab[aria-selected="true"] .method-tab__bar { animation: method-fill 8s linear forwards; }
.proof.is-paused .method-tab[aria-selected="true"] .method-tab__bar { animation-play-state: paused; }
.proof.is-manual .method-tab__bar { display: none; }
.proof-stage { border-radius: 30px; background: var(--surface-1); border: 1px solid var(--border); padding: clamp(18px, 3vw, 36px); }
.proof-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.proof-panel[hidden] { display: none; }
.proof-shot { display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -30px rgba(40, 18, 80, .55); border: 1px solid var(--border); }
.proof-shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F1F7; }
.proof-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DEEA; }
.proof-shot__bar i:first-child { background: #FF5F57; } .proof-shot__bar i:nth-child(2) { background: #FEBC2E; } .proof-shot__bar i:nth-child(3) { background: #28C840; }
.proof-shot__bar em { font-style: normal; font-size: .78rem; color: #6B6577; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; }
.proof-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.proof-shot:hover img { transform: scale(1.04); }
.proof-shot__ph { display: grid; place-items: center; aspect-ratio: 16 / 10; font-size: 3rem; color: var(--violet); background: #F6F4FB; }
.proof-title { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 18px; color: var(--text-1); }
.proof-wins { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.proof-wins li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1rem; line-height: 1.4; color: var(--text-2); }
.proof-wins i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(22, 163, 74, .12); color: #16A34A; font-size: .72rem; margin-top: -1px; }
.proof-tools { display: flex; gap: 8px; margin-bottom: 26px; }
.proof-tools > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); }
.proof-tools svg { width: 20px; height: 20px; }
.proof-tools i { color: var(--violet); }
.proof-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- section 7: engagement models ---------- */
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.engage-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 2.6vw, 32px); border-radius: 26px; background: var(--surface-1); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, box-shadow .3s; }
.engage-card:hover, .engage-card:focus-within { transform: translateY(-6px); border-color: rgba(109, 40, 217, .45); box-shadow: 0 30px 60px -34px rgba(76, 29, 149, .55); }
.engage-card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(109, 40, 217, .1); color: var(--violet); transition: background .3s, color .3s; }
.engage-card:hover .engage-card__ico { background: var(--violet); color: #fff; }
.engage-card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--text-1); }
.engage-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.engage-card__meta span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: .84rem; font-weight: 600; color: var(--text-2); }
.engage-card__meta i { color: var(--violet); }
.engage-card > p { margin: 0; color: var(--text-2); line-height: 1.5; font-size: .98rem; }
.engage-card__best { display: grid; grid-template-columns: 20px 1fr; gap: 10px; width: 100%; padding: 14px 16px; border-radius: 16px; background: rgba(247, 190, 34, .14); color: var(--text-1) !important; font-weight: 600; font-size: .95rem !important; }
.engage-card__best i { color: #B7860B; margin-top: 3px; }
.engage-card__btn { margin-top: auto; }

.drivers { margin-top: clamp(36px, 4vw, 52px); }
.drivers__label { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text-1); margin: 0 0 16px; }
.drivers__label > i { color: var(--violet); }
.drivers__label small { font-weight: 600; font-size: .78rem; color: var(--text-2); padding: 3px 10px; border-radius: 999px; background: var(--surface-2); }
.drivers__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: start; }
.driver { border-radius: 18px; background: var(--surface-1); border: 1px solid var(--border); transition: border-color .3s, background .3s; }
.driver summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 16px; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; font-size: .95rem; color: var(--text-1); }
.driver summary::-webkit-details-marker { display: none; }
.driver summary > i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(109, 40, 217, .1); color: var(--violet); font-size: .9rem; }
.driver summary::after { content: "+"; font-size: 1.2rem; font-weight: 500; color: var(--text-2); transition: transform .3s; }
.driver[open] { border-color: rgba(109, 40, 217, .45); background: rgba(109, 40, 217, .05); }
.driver[open] summary::after { transform: rotate(45deg); }
.driver p { margin: 0; padding: 0 16px 16px; font-size: .9rem; line-height: 1.45; color: var(--text-2); }
.driver summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 18px; }

.timeline-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.timeline-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: .9rem; font-weight: 600; color: var(--text-2); }
.timeline-chips b { padding: 4px 12px; border-radius: 999px; background: var(--violet); color: #fff; font-size: .82rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .engage-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .svc3d { width: min(88%, 420px); margin-top: 18px; }
  .svc3d__tag { font-size: .82rem; padding: 8px 12px 8px 8px; }
  .svc3d__tag i { width: 28px; height: 28px; }
  .svc3d__tag--0 { right: 0; }
  .svc-stats__row { grid-template-columns: 1fr; }
  .svc-stats__item { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 18px; padding: 18px 20px; }
  .svc-stats__item dd { font-size: 2.4rem; min-width: 3.2ch; }
  .svc-stats__item + .svc-stats__item { border-left: 0; border-top: 1px solid var(--border); }
  .proof .method-tabs { justify-content: flex-start; flex-wrap: nowrap; }
  .proof-panel { grid-template-columns: 1fr; }
  .svc-explore__bg { font-size: 160px; }
}
@media (max-width: 520px) {
  .tool-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tool-tile { min-height: 112px; padding: 16px 8px; gap: 10px; border-radius: 18px; }
  .tool-tile__logo { width: 46px; height: 46px; }
  .tool-tile__logo svg { width: 24px; height: 24px; }
  .tool-tile__name { font-size: .8rem; }
  .proof-btns .btn { flex: 1 1 100%; justify-content: center; }
  .svc-explore__ico { width: 60px; height: 60px; font-size: 1.5rem; }
  .svc-explore__num { font-size: 2rem; }
}
/* service pages: fixes after first review */
.tool-wall { display: flex; flex-wrap: wrap; justify-content: center; }
.tool-wall > li { flex: 0 0 150px; }
.tool-wall--sm > li { flex-basis: 132px; }
.svc-actions .btn-ghost, .proof-btns .btn-ghost, .engage-card__btn { border: 1px solid var(--border-strong); padding-inline: 22px; }
.svc-actions .btn-ghost:hover, .proof-btns .btn-ghost:hover, .engage-card__btn:hover { border-color: var(--violet); }
.journey-year { color: color-mix(in srgb, #8B5CF6 32%, var(--bg, #fff)); }
.journey-item:hover .journey-year, .journey-item.is-now .journey-year { color: #8B5CF6; }
@media (max-width: 520px) { .tool-wall > li, .tool-wall--sm > li { flex: 0 0 calc((100% - 20px) / 3); } }
.journey-year { color: color-mix(in srgb, #A78BFA 42%, var(--bg, #fff)); }
@media (max-width: 520px) {
  .timeline-chips { display: grid; }
  .timeline-chips li { justify-content: space-between; }
}

/* ---------- Industries: cards ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ind-card { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--border); color: var(--text-1); text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.ind-card:hover, .ind-card:focus-visible { transform: translateY(-6px); border-color: rgba(109, 40, 217, .4); box-shadow: 0 34px 60px -34px rgba(76, 29, 149, .55); }
.ind-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ind-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ECEAF0; }
.ind-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ind-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 20, .45)); }
.ind-card:hover .ind-card__media img { transform: scale(1.06); }
.ind-card__icon { position: absolute; z-index: 1; left: 20px; bottom: -1px; transform: translateY(50%); width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  background: var(--violet); color: #fff; font-size: 1.25rem; border: 4px solid #fff; box-shadow: 0 12px 24px -10px rgba(76, 29, 149, .6); }
.ind-card__count { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0A0A0A; font-size: .78rem; font-weight: 700; }
.ind-card__media { overflow: visible; }
.ind-card__media img, .ind-card__media::after { border-radius: 26px 26px 0 0; }
.ind-card__media { clip-path: inset(0 0 -40px 0); }
.ind-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 40px 24px 24px; }
.ind-card__title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0; color: #0A0A0A; }
.ind-card__desc { margin: 0; font-size: .97rem; line-height: 1.5; color: #4A4A55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ind-card__svcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ind-card__svcs > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .8rem; background: color-mix(in srgb, var(--svc, var(--violet)) 14%, #fff); color: color-mix(in srgb, var(--svc, var(--violet)) 75%, #000); }
.ind-card__btn { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-radius: 14px; background: #F4F1FA; color: var(--violet-ink, #4C1D95); font-weight: 700; font-size: .95rem; transition: background .3s, color .3s; }
.ind-card__btn i { transition: transform .3s; }
.ind-card:hover .ind-card__btn, .ind-card:focus-visible .ind-card__btn { background: var(--violet); color: #fff; }
.ind-card:hover .ind-card__btn i { transform: translateX(4px); }
.ind-card__svcs + .ind-card__btn { margin-top: auto; }
.ind-card__body > .ind-card__svcs { margin-bottom: 8px; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: 1fr; } .ind-card__title { font-size: 1.3rem; } }
.ind-card__media { flex: none; height: auto; }
.ind-card__desc { -webkit-line-clamp: 4; }
.ind-card__media img { position: absolute; inset: 0; }

/* service pages, round 2 ------------------------------------------------ */
/* 3D renders: the baked ground shadow reaches the image edge — fade every edge so no seam shows */
.svc3d__main img, .svc3d__side {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 86%, transparent);
  mask-composite: intersect;
}

/* numbers: a floating bar that overlaps the hero's bottom edge */
.page-banner:has(+ .svc-stats) { padding-bottom: clamp(110px, 10vw, 150px); }
.svc-stats { position: relative; z-index: 2; margin: calc(-1 * clamp(64px, 6vw, 84px)) auto 0; padding: 0; }
.svc-stats__row { background: #fff; border: 0; border-radius: 26px; box-shadow: 0 30px 70px -30px rgba(40, 18, 80, .45), 0 0 0 1px rgba(0, 0, 0, .05); max-width: 1080px; margin-inline: auto; }
.svc-stats__item { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 18px; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 36px); }
.svc-stats__item + .svc-stats__item { border-left: 1px solid rgba(0, 0, 0, .08); }
.svc-stats__item dd { flex: none; font-size: clamp(2.2rem, 3.6vw, 3.1rem); background: linear-gradient(135deg, #8B5CF6, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-stats__item dt { font-size: .95rem; font-weight: 600; line-height: 1.35; color: #3A3347; max-width: 22ch; }
@media (max-width: 900px) {
  .svc-stats__row { grid-template-columns: 1fr; }
  .svc-stats__item { padding: 16px 20px; }
  .svc-stats__item + .svc-stats__item { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .08); }
  .svc-stats__item dd { min-width: 3.4ch; font-size: 2.2rem; }
}

/* price drivers: one-line chips + a shared answer line */
.drivers__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.driver-chip { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-1);
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--text-1); white-space: nowrap; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.driver-chip i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(109, 40, 217, .1); color: var(--violet); font-size: .85rem; transition: background .25s, color .25s; }
.driver-chip:hover { border-color: rgba(109, 40, 217, .45); }
.driver-chip[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.driver-chip[aria-selected="true"] i { background: rgba(255, 255, 255, .2); color: #fff; }
.driver-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.drivers__panel { max-width: 760px; margin: 16px auto 0; }
.drivers__panel p { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; margin: 0; padding: 16px 20px; border-radius: 18px; background: rgba(109, 40, 217, .06); border: 1px solid rgba(109, 40, 217, .18); font-size: .98rem; line-height: 1.5; color: var(--text-2); }
.drivers__panel p > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet); color: #fff; }
.drivers__panel b { color: var(--text-1); }
@media (max-width: 620px) {
  .drivers__row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .drivers__row::-webkit-scrollbar { display: none; }
  .driver-chip { flex: none; }
}
@media (min-width: 901px) { .svc-stats__item { justify-content: center; } }

/* ---------- service pages: "What moves the number" (engagement + price), v2 ----------
   Colours come only from band tokens, so it reads on light and dark bands alike. */
.svc-engage { --acc: color-mix(in srgb, #8B5CF6 72%, var(--text-1)); --acc-bg: color-mix(in srgb, #8B5CF6 16%, transparent); }
.eng-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eng-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 30px); border-radius: 24px; background: var(--surface-1); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s; }
.eng-card:hover, .eng-card:focus-within { border-color: color-mix(in srgb, #8B5CF6 60%, transparent); transform: translateY(-4px); }
.eng-card__head { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.eng-card h3 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text-1); }
.eng-meta { margin: 4px 0 0; font-size: .86rem; font-weight: 600; color: var(--acc); }
.eng-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.15rem; background: var(--acc-bg); color: var(--acc); }
.eng-desc { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--text-2); }
.eng-best { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .93rem; line-height: 1.5; color: var(--text-2); }
.eng-best b { color: var(--acc); }
.eng-link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding-top: 4px; font-weight: 700; color: var(--text-1); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.eng-link i { transition: transform .25s; }
.eng-link:hover i { transform: translateX(4px); }

.eng-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 22px; padding: clamp(24px, 3vw, 40px);
  border-radius: 28px; background: var(--surface-1); border: 1px solid var(--border); }
.eng-panel--one { grid-template-columns: 1fr; }
.eng-sub { margin: 0 0 18px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.eng-drivers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.eng-drivers li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px 0; }
.eng-drivers li + li { border-top: 1px solid var(--border); }
.eng-ico--sm { width: 40px; height: 40px; border-radius: 12px; font-size: .9rem; }
.eng-drivers b { display: block; font-size: 1rem; color: var(--text-1); margin-bottom: 2px; }
.eng-drivers li > span:last-child > span { font-size: .92rem; line-height: 1.45; color: var(--text-2); }
.eng-times { list-style: none; margin: 0 0 24px; padding: 0; }
.eng-times li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; font-size: .97rem; color: var(--text-2); }
.eng-times li + li { border-top: 1px dashed var(--border); }
.eng-times b { flex: none; font-weight: 800; color: var(--text-1); }
.eng-cta { width: 100%; justify-content: center; }

@media (max-width: 1080px) {
  .eng-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .eng-panel { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .eng-card__head { grid-template-columns: 44px 1fr; }
  .eng-ico { width: 44px; height: 44px; border-radius: 13px; }
  .eng-panel { padding: 22px 18px; border-radius: 22px; }
  .eng-times li { font-size: .92rem; }
}
/* stepper rail: icon tiles get an opaque base so the connecting line stops at each tile instead of showing through */
.method-tab__ico { background: linear-gradient(var(--surface-2), var(--surface-2)), var(--bg, #fff); }
.method-tab[aria-selected="true"] .method-tab__ico { background: var(--violet); }

/* About: mission / vision — quiet labels, smaller headings */
#mission .mv-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); opacity: .75; }
#mission .mv-label i { font-size: .8rem; color: #A78BFA; }
#mission .section-title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.08; margin-bottom: 16px; }

/* ====================================================================== */
/* Industry pages (includes/industry-sections.php)                        */
/* ====================================================================== */

/* ---------- hero: the photo fills the whole banner ---------- */
.page-banner.ind-hero { position: relative; isolation: isolate; overflow: hidden; text-align: left; background: #0B0614;
  min-height: min(84vh, 780px); display: flex; align-items: flex-end; padding: clamp(110px, 12vw, 170px) 0 clamp(40px, 5vw, 64px); }
.ind-hero::before { display: none; }
.ind-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ind-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 5, 22, .92) 0%, rgba(10, 5, 22, .72) 38%, rgba(10, 5, 22, .12) 72%), linear-gradient(0deg, rgba(10, 5, 22, .85) 0%, transparent 45%); }
.ind-hero__wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.ind-hero__tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 700; font-size: .88rem; margin-bottom: 20px; }
.ind-hero__tag i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1A1100; font-size: .78rem; }
.ind-hero__copy .eyebrow { display: none; }
.ind-hero h1 { margin: 0 0 18px; max-width: 16ch; text-align: left; font-size: clamp(2.5rem, 5.4vw, 4.6rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.ind-hero .gradient-text { color: var(--gold); -webkit-text-fill-color: var(--gold); background: none; }
.ind-hero .section-desc { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, .9); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.ind-hero .hero-buttons { justify-content: flex-start; }
.ind-hero .btn-ghost { background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.ind-hero .btn-ghost:hover, .ind-hero .btn-ghost:focus-visible { background: #fff; color: #0A0A0A; border-color: #fff; }
.ind-hero__side { display: grid; gap: 12px; justify-items: end; }
.ind-hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; margin: 0; }
.ind-hero__stats > div { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .2); min-width: 0; max-width: 170px; }
.ind-hero__stats dd { margin: 0 0 6px; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: #fff; }
.ind-hero__stats dt { font-size: .8rem; line-height: 1.3; color: rgba(255, 255, 255, .82); }
.ind-hero__proof { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff; color: #0A0A0A; font-weight: 700; font-size: .88rem; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5); }
.ind-hero__proof i { color: #16A34A; }

/* ---------- services: one card per service ---------- */
.ind-svcs { --acc: color-mix(in srgb, #8B5CF6 72%, var(--text-1)); }
.ind-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ind-svc { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px; text-decoration: none;
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-1); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.ind-svc:hover, .ind-svc:focus-visible { transform: translateY(-5px); border-color: color-mix(in srgb, var(--svc, #8B5CF6) 70%, transparent); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--svc, #8B5CF6) 80%, transparent); }
.ind-svc:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ind-svc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ind-svc__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.2rem; color: #0A0A0A; background: var(--svc, var(--violet)); }
.ind-svc__tools { display: flex; gap: 6px; }
.ind-svc__tools > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.ind-svc__tools svg { width: 18px; height: 18px; }
.ind-svc h3 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); }
.ind-svc p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--text-2); }
.ind-svc__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--text-1); }
.ind-svc__go i { transition: transform .25s; }
.ind-svc:hover .ind-svc__go i { transform: translateX(4px); }

/* ---------- outcomes ---------- */
.ind-out-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; }
.ind-out { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 24px; background: var(--surface-1); border: 1px solid var(--border); }
.ind-out__ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, #8B5CF6 16%, transparent); color: color-mix(in srgb, #8B5CF6 72%, var(--text-1)); }
.ind-out strong { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--text-1); }
.ind-out > span:last-child { font-size: .98rem; line-height: 1.4; color: var(--text-2); }
.ind-out--win { background: color-mix(in srgb, #8B5CF6 10%, var(--surface-1)); }
.ind-out--win .ind-out__ico { background: rgba(22, 163, 74, .16); color: #22C55E; }
.ind-out strong.ind-out__word { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; margin-top: auto; }

/* ---------- phases: small "when" label above each step ---------- */
.ind-when { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .02em;
  background: color-mix(in srgb, #8B5CF6 16%, transparent); color: color-mix(in srgb, #8B5CF6 72%, var(--text-1)); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ind-hero__wrap { grid-template-columns: 1fr; }
  .ind-hero__side { justify-items: start; }
  .ind-out-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .page-banner.ind-hero { min-height: 0; padding-top: clamp(90px, 24vw, 120px); }
  .ind-hero::after { background: linear-gradient(0deg, rgba(10, 5, 22, .95) 0%, rgba(10, 5, 22, .78) 55%, rgba(10, 5, 22, .45) 100%); }
  .ind-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .ind-hero__stats > div { max-width: none; padding: 12px; }
  .ind-hero__stats dd { font-size: 1.6rem; }
  .ind-hero__stats dt { font-size: .72rem; }
  .ind-hero .hero-buttons .btn { width: 100%; justify-content: center; }
  .ind-out-grid { grid-template-columns: 1fr; }
  .ind-svc-grid { grid-template-columns: 1fr; }
}
.ind-svc { text-decoration: none; }
/* outcomes: numeric results get the brand panel, qualitative wins stay quiet */
.ind-out:not(.ind-out--win) { background: linear-gradient(150deg, #8B5CF6, var(--violet) 55%, var(--violet-ink, #4C1D95)); border-color: transparent; box-shadow: 0 30px 60px -34px rgba(76, 29, 149, .7); }
.ind-out:not(.ind-out--win) strong, .ind-out:not(.ind-out--win) > span:last-child { color: #fff; }
.ind-out:not(.ind-out--win) .ind-out__ico { background: rgba(255, 255, 255, .18); color: var(--gold); }
.ind-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ind-svc { flex: 1 1 300px; max-width: calc((100% - 32px) / 3); }
@media (max-width: 1000px) { .ind-svc { max-width: calc((100% - 16px) / 2); } }
@media (max-width: 620px) { .ind-svc { max-width: none; } }

/* ====================================================================== */
/* Portfolio + case-study index pages                                     */
/* ====================================================================== */
.pf-counts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pf-counts li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: .92rem; font-weight: 600; }
.pf-counts b { font-weight: 900; margin-right: 4px; }

/* filter pills (shared by both pages) */
@keyframes pf-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- portfolio bento ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 270px); grid-auto-flow: dense; gap: 14px; }
.pf-tile { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #1A1424; color: #fff; text-decoration: none; isolation: isolate; animation: pf-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.pf-tile--hero { grid-column: span 2; grid-row: span 2; }
.pf-tile--wide { grid-column: span 2; }
.pf-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.pf-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 4, 18, .9) 0%, rgba(8, 4, 18, .35) 38%, transparent 62%); transition: background .4s; }
.pf-tile:hover img, .pf-tile:focus-visible img { transform: scale(1.06); }
.pf-tile:hover::after, .pf-tile:focus-visible::after { background: linear-gradient(0deg, rgba(8, 4, 18, .95) 0%, rgba(40, 14, 90, .55) 55%, rgba(40, 14, 90, .15) 100%); }
.pf-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pf-tile__cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 6px; }
.pf-tile__cat { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: .74rem; font-weight: 700; }
.pf-tile__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pf-tile--hero .pf-tile__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.pf-tile__metric { font-size: .88rem; line-height: 1.35; color: rgba(255, 255, 255, .85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.pf-tile:hover .pf-tile__metric, .pf-tile:focus-visible .pf-tile__metric, .pf-tile--hero .pf-tile__metric { max-height: 4em; opacity: 1; }
.pf-tile__look { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #0A0A0A;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.pf-tile:hover .pf-tile__look, .pf-tile:focus-visible .pf-tile__look { opacity: 1; transform: none; }

/* quick-look viewer */
.pf-dlg { width: min(1180px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 26px; background: #fff; color: #0A0A0A; overflow: hidden; }
.pf-dlg::backdrop { background: rgba(8, 4, 18, .78); backdrop-filter: blur(6px); }
.pf-dlg[open] { animation: pf-in .35s cubic-bezier(.2, .8, .2, 1); }
.pf-dlg__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); max-height: 92vh; }
.pf-dlg__x { position: absolute; z-index: 3; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #F1EEF8; color: #0A0A0A; font-size: 1.1rem; cursor: pointer; }
.pf-dlg__media { position: relative; background: #15101F; display: flex; flex-direction: column; min-height: 0; }
.pf-dlg__img { flex: 1; width: 100%; min-height: 0; max-height: 72vh; object-fit: contain; background: #15101F; }
.pf-dlg__nav { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #0A0A0A; cursor: pointer; display: none; place-items: center; }
.pf-dlg.is-multi .pf-dlg__nav { display: grid; }
.pf-dlg__nav--prev { left: 14px; } .pf-dlg__nav--next { right: 14px; }
.pf-dlg__thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.pf-dlg__thumbs:empty { display: none; }
.pf-dlg__thumbs button { flex: none; width: 70px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.pf-dlg__thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.pf-dlg__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pf-dlg__info { display: flex; flex-direction: column; gap: 16px; justify-content: center; padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.pf-dlg__title { margin: 0; padding-right: 48px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; color: #0A0A0A; }
.pf-dlg__logos { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-dlg__logos:empty { display: none; }
.pf-dlg__logos span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid #E6E1EF; }
.pf-dlg__logos svg { width: 20px; height: 20px; }
.pf-dlg__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pf-dlg .btn-ghost { color: #0A0A0A; border: 1px solid #CFC8DC; }
.pf-dlg .btn-ghost:hover { border-color: #6D28D9; color: #6D28D9; }
.pf-dlg__step { margin-top: auto; padding-top: 16px; border-top: 1px solid #ECE8F3; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .88rem; }
.pf-dlg__step button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 0; background: #F4F1FA; color: #2E1065; font-weight: 700; font-size: .85rem; cursor: pointer; }
.pf-dlg__step button:hover { background: #6D28D9; color: #fff; }
.pf-dlg__pos { color: #6B6577; font-weight: 600; }
.pf-dlg button:focus-visible, .pf-dlg a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- case studies: ticker ---------- */
.cs-ticker { overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cs-ticker__track { display: flex; gap: 12px; width: max-content; animation: cs-tick 70s linear infinite; }
.cs-ticker:hover .cs-ticker__track, .cs-ticker:focus-within .cs-ticker__track { animation-play-state: paused; }
@keyframes cs-tick { to { transform: translateX(-50%); } }
.cs-ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-1); text-decoration: none; white-space: nowrap; font-size: .92rem; transition: border-color .25s; }
.cs-ticker__item:hover { border-color: color-mix(in srgb, #8B5CF6 60%, transparent); }
.cs-ticker__item i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: .8rem; }
.cs-ticker__item span { color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .cs-ticker__track { animation: none; } .cs-ticker { overflow-x: auto; } }

/* ---------- case studies: cards ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cs-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-1); text-decoration: none;
  animation: pf-in .45s cubic-bezier(.2, .8, .2, 1) both; transition: transform .35s, border-color .35s, box-shadow .35s; }
.cs-card:hover, .cs-card:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, #8B5CF6 60%, transparent); box-shadow: 0 34px 60px -36px rgba(76, 29, 149, .7); }
.cs-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cs-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.cs-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.cs-card:hover .cs-card__media img { transform: scale(1.05); }
.cs-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.cs-card__result { font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--text-1); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-dlg__box { grid-template-columns: 1fr; overflow-y: auto; }
  .pf-dlg__img { max-height: 46vh; }
}
@media (max-width: 620px) {
  .pf-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .pf-tile--hero, .pf-tile--wide { grid-column: auto; grid-row: auto; }
  .pf-tile--hero { grid-row: span 1; }
  .pf-tile__metric { max-height: 4em; opacity: 1; }
  .cs-grid { grid-template-columns: 1fr; }
  .pf-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .pf-dlg__box { max-height: 100dvh; height: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pf-tile, .cs-card, .pf-dlg[open] { animation: none; } }
.pf-dlg { margin: auto; inset: 0; }
@media (max-width: 620px) { .pf-sm-hide { display: none; } .pf-dlg__step button { white-space: nowrap; } }

/* ====================================================================== */
/* Case study + project detail pages                                      */
/* ====================================================================== */
.wk-hero, .pj-cover { text-align: left; }
.wk-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.wk-hero h1, .pj-cover h1 { margin: 16px 0 14px; max-width: 18ch; text-align: left; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.wk-hero .section-desc, .pj-cover .section-desc { margin: 0; max-width: 44ch; opacity: .9; }
.wk-hero .hero-buttons, .pj-cover .hero-buttons { justify-content: flex-start; }
.wk-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 700; font-size: .9rem; }
.wk-tag i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1A1100; font-size: .78rem; }
.wk-tag small { font-weight: 600; opacity: .8; }
.wk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #0A0A0A !important; text-decoration: none !important; font-weight: 700; font-size: .85rem; }
.wk-chip i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--svc); color: #0A0A0A; font-size: .7rem; }
.wk-shot { position: relative; margin: 0; border-radius: 18px; overflow: visible; }
.wk-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 0 0 18px 18px; box-shadow: 0 40px 80px -30px rgba(10, 4, 30, .6); }
.wk-shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #F3F1F7; }
.wk-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DEEA; }
.wk-shot__bar i:first-child { background: #FF5F57; } .wk-shot__bar i:nth-child(2) { background: #FEBC2E; } .wk-shot__bar i:nth-child(3) { background: #28C840; }
.wk-shot__bar em { font-style: normal; font-size: .78rem; color: #6B6577; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; }
.wk-shot__badge { position: absolute; left: -18px; bottom: -22px; max-width: 78%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; color: #0A0A0A; font-weight: 700; font-size: .9rem; line-height: 1.3; box-shadow: 0 20px 40px -14px rgba(10, 4, 30, .5); }
.wk-shot__badge i { color: #16A34A; }

/* facts strip overlapping the hero edge, like the service numbers bar */
.page-banner.wk-hero:has(+ .breadcrumbs + .wk-facts), .page-banner.wk-hero { padding-bottom: clamp(70px, 8vw, 110px); }
.wk-facts { position: relative; z-index: 2; margin-top: clamp(18px, 2vw, 28px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.wk-facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-radius: 22px; background: var(--surface-1); border: 1px solid var(--border); }
.wk-facts__row > div { padding: 18px 22px; }
.wk-facts__row > div + div { border-left: 1px solid var(--border); }
.wk-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.wk-facts dd { margin: 0; font-weight: 800; font-size: 1.02rem; color: var(--text-1); overflow-wrap: anywhere; }
.wk-facts dd a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* the story: before -> built -> after */
.wk-story { --acc: color-mix(in srgb, #8B5CF6 72%, var(--text-1)); }
.wk-acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.wk-act { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: var(--surface-1); border: 1px solid var(--border); }
.wk-act h3 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); }
.wk-act p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.wk-act__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; }
.wk-act--before .wk-act__ico { background: rgba(239, 68, 68, .14); color: #EF4444; }
.wk-act--built { background: linear-gradient(160deg, #1B1230, #12101A); border-color: transparent; }
.wk-act--built h3 { color: #fff; }
.wk-act--built .wk-act__ico { background: var(--violet); color: #fff; }
.wk-act--built ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wk-act--built li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: rgba(255, 255, 255, .88); font-size: .98rem; line-height: 1.45; }
.wk-act--built li i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(74, 222, 128, .16); color: #4ADE80; font-size: .7rem; margin-top: 1px; }
.wk-act--after .wk-act__ico { background: rgba(22, 163, 74, .14); color: #22C55E; }
.wk-act + .wk-act::before { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: -15px; top: 40px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: var(--gold); color: #1A1100; }

/* live today / inside the build */
.wk-win-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.wk-win { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: 22px; background: var(--surface-1); border: 1px solid var(--border); transition: transform .3s, border-color .3s; }
.wk-win:hover { transform: translateY(-4px); border-color: color-mix(in srgb, #8B5CF6 55%, transparent); }
.wk-win__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #8B5CF6, var(--violet)); color: #fff; }
.wk-win p { margin: 0; font-weight: 700; font-size: 1.04rem; line-height: 1.4; color: var(--text-1); }

/* previous / next */
.wk-next__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wk-next__card { position: relative; display: block; height: clamp(170px, 18vw, 240px); border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.wk-next__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.wk-next__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 4, 18, .9), rgba(8, 4, 18, .25)); }
.wk-next__card:hover img { transform: scale(1.06); }
.wk-next__card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wk-next__txt { position: absolute; z-index: 1; left: 22px; bottom: 20px; right: 22px; display: grid; gap: 4px; }
.wk-next__txt small { font-weight: 700; font-size: .8rem; opacity: .85; }
.wk-next__txt b { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; }

/* ---------- design project: cover ---------- */
.page-banner.pj-cover { position: relative; isolation: isolate; overflow: hidden; background: #0B0614; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding: clamp(110px, 12vw, 160px) 0 clamp(40px, 5vw, 64px); }
.pj-cover::before { display: none; }
.pj-cover__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pj-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 4, 18, .92) 0%, rgba(8, 4, 18, .55) 40%, rgba(8, 4, 18, .1) 75%); }
.pj-cover .btn-ghost, .wk-hero .btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.pj-cover .btn-ghost:hover, .wk-hero .btn-ghost:hover { background: #fff; color: #0A0A0A; }

.pj-brand__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pj-label { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pj-lead { margin: 0 0 30px; font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--text-1); }
.pj-body { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--text-2); }
.pj-side { display: grid; gap: 6px; padding: 26px; border-radius: 24px; background: var(--surface-1); border: 1px solid var(--border); }
.pj-side .pj-label:not(:first-child) { margin-top: 18px; }
.pj-palette { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.pj-palette li { flex: 1; display: grid; gap: 6px; }
.pj-palette span { height: 56px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .25); transition: transform .25s; }
.pj-palette li:hover span { transform: translateY(-4px); }
.pj-palette code { font-size: .68rem; color: var(--text-2); text-align: center; font-family: inherit; font-weight: 600; }
.pj-deliv { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pj-deliv li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; color: var(--text-1); }
.pj-deliv i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(22, 163, 74, .16); color: #22C55E; font-size: .65rem; margin-top: 1px; }
.pj-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-tools > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface-2); }
.pj-tools svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fff; }
.pj-tools b { font-size: .85rem; color: var(--text-1); }

/* gallery: masonry columns + lightbox */
.pj-masonry { columns: 3 280px; column-gap: 14px; }
.pj-shot { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #15101F; break-inside: avoid; }
.pj-shot img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.pj-shot:hover img { transform: scale(1.04); }
.pj-shot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pj-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 4, 18, .96); }
.pj-lb::backdrop { background: rgba(8, 4, 18, .9); }
.pj-lb__img { position: absolute; inset: 60px 70px; width: calc(100% - 140px); height: calc(100% - 120px); object-fit: contain; }
.pj-lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #0A0A0A; cursor: pointer; display: grid; place-items: center; font-size: 1rem; }
.pj-lb__x { top: 14px; right: 14px; }
.pj-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.pj-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.pj-lb__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pj-lb__pos { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .8); font-weight: 700; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .wk-hero__grid, .pj-brand__grid { grid-template-columns: 1fr; }
  .wk-acts { grid-template-columns: 1fr; }
  .wk-act + .wk-act::before { content: "\f063"; left: 50%; top: -15px; transform: translateX(-50%); }
  .wk-facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-facts__row > div:nth-child(3) { border-left: 0; }
  .wk-facts__row > div:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .wk-facts__row > div { padding: 14px 14px; }
  .wk-facts dd { font-size: .9rem; overflow-wrap: break-word; }
  .wk-facts dd a { font-size: .8rem; letter-spacing: -.01em; }
}
@media (max-width: 620px) {
  .wk-shot__badge { left: 10px; right: 10px; max-width: none; bottom: -26px; font-size: .82rem; }
  .wk-hero .hero-buttons .btn, .pj-cover .hero-buttons .btn { width: 100%; justify-content: center; }
  .wk-next__grid { grid-template-columns: 1fr; }
  .pj-lb__img { inset: 60px 10px 70px; width: calc(100% - 20px); height: calc(100% - 130px); }
  .pj-lb__prev, .pj-lb__next { top: auto; bottom: 10px; transform: none; }
  .pj-palette span { height: 44px; }
}
.page-banner.pj-cover > .container > p, .page-banner.wk-hero .wk-hero__copy > p { text-align: left; margin-inline: 0; }
.pj-brand__grid > *, .pj-palette li { min-width: 0; }
@media (max-width: 620px) { .pj-palette { flex-wrap: wrap; } .pj-palette li { flex: 1 1 56px; } .pj-palette code { font-size: .62rem; } }

/* industry hero v2: industry name as the title, old headline as the subtitle, whole hero inside one screen */
.page-banner.ind-hero { min-height: 0; height: calc(100svh - var(--header-height, 72px) - 28px); max-height: 860px; padding: clamp(28px, 4vh, 56px) 0 clamp(28px, 4.5vh, 56px); }
.ind-hero h1 { margin: 0 0 10px; font-size: clamp(2.8rem, 6.4vw, 5.6rem); max-width: none; }
.ind-hero__sub { margin: 0; max-width: 24ch; font-size: clamp(1.25rem, 2.1vw, 1.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: rgba(255, 255, 255, .94); text-align: left; }
.page-banner.ind-hero .hero-buttons { margin-top: clamp(18px, 3vh, 30px); }
.ind-hero__tag { margin-bottom: 14px; }
@media (max-height: 760px) and (min-width: 621px) {
  .ind-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
  .ind-hero__stats > div { padding: 12px 14px; }
}
@media (max-width: 1000px) { .page-banner.ind-hero { height: auto; min-height: calc(100svh - var(--header-height, 72px) - 28px); max-height: none; } }

/* case study cards v2: clean */
.cs-card { border-radius: 20px; }
.cs-card__media { aspect-ratio: 16 / 10; background: var(--surface-2); }
.cs-card__body { gap: 6px; padding: 18px 20px 22px; }
.cs-card__ind { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.cs-card__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text-1); }
.cs-card__name i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; border: 1px solid var(--border); transition: transform .25s, background .25s, color .25s, border-color .25s; }
.cs-card:hover .cs-card__name i, .cs-card:focus-visible .cs-card__name i { background: #6D28D9; border-color: #6D28D9; color: #fff; transform: rotate(-45deg); }
.cs-card__result { font-size: .95rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* case study hero title: smaller */
.wk-hero h1 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); line-height: 1.12; max-width: 22ch; }

/* ================= tools page v2 ================= */
.tl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tl-hero h1, .tl-hero .section-desc { text-align: left; margin-left: 0; }
.page-banner.tl-hero > .container p.section-desc { text-align: left; margin-left: 0; max-width: 46ch; }
.tl-hero .hero-buttons { justify-content: flex-start; }
.tl-cloud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.tl-cloud li { animation: tlFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.5s); }
.tl-cloud li:nth-child(even) { transform: translateY(14px); }
.tl-cloud a { aspect-ratio: 1; display: grid; place-items: center; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.tl-cloud a:hover, .tl-cloud a:focus-visible { transform: translateY(-6px) scale(1.06); }
.tl-cloud a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tl-cloud svg { width: 44%; height: 44%; }
@keyframes tlFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .tl-cloud li { animation: none; } }

.tl-bar { position: sticky; top: calc(var(--header-height, 72px) + 8px); z-index: 5; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 22px; background: color-mix(in srgb, var(--bg, #fff) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); box-shadow: 0 18px 40px -30px rgba(17, 12, 34, .35); }
.tl-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-2); }
.tl-search:focus-within { border-color: #6D28D9; box-shadow: 0 0 0 3px color-mix(in srgb, #6D28D9 22%, transparent); }
.tl-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--text-1); outline: none; }
.tl-search input::placeholder { color: var(--text-2); opacity: .85; }
.tl-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tl-pills::-webkit-scrollbar { display: none; }
.tl-pills button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-1); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tl-pills button i { font-size: .82rem; opacity: .75; }
.tl-pills button span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; background: color-mix(in srgb, var(--text-1) 9%, transparent); }
.tl-pills button:hover { border-color: #6D28D9; }
.tl-pills button[aria-pressed="true"] { background: #6D28D9; border-color: #6D28D9; color: #fff; }
.tl-pills button[aria-pressed="true"] span { background: rgba(255, 255, 255, .22); }
.tl-pills button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tl-count { margin: 18px 4px 0; font-size: .85rem; font-weight: 700; color: var(--text-2); }

.tl-group { margin-top: clamp(26px, 3.5vw, 44px); scroll-margin-top: 200px; }
.tl-group__head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--text-1); text-align: left; }
.tl-group__head small { font-size: .8rem; font-weight: 700; color: var(--text-2); }
.tl-group__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: .95rem; background: color-mix(in srgb, #8B5CF6 16%, transparent); color: color-mix(in srgb, #6D28D9 80%, var(--text-1)); }
.tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.tl-grid li[hidden], .tl-group[hidden] { display: none; }
.tl-card { position: relative; height: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 44px 14px 14px; border-radius: 18px; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-1); text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.tl-card:hover, .tl-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, #6D28D9 55%, transparent); box-shadow: 0 22px 40px -30px rgba(76, 29, 149, .6); }
.tl-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tl-card__logo { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid #E6E1EF; color: #6D28D9; font-size: 1.3rem; }
.tl-card__logo svg { width: 26px; height: 26px; }
.tl-card__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-card__txt strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.tl-card__txt span { font-size: .86rem; line-height: 1.35; color: var(--text-2); }
.tl-card__n { justify-self: start; grid-column: 2; margin-top: 2px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: color-mix(in srgb, #F7BE22 26%, transparent); color: var(--text-1); }
.tl-card__go { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-size: .85rem; color: var(--text-2); transition: transform .25s, color .25s; }
.tl-card:hover .tl-card__go { transform: translateX(4px); color: #6D28D9; }

.tl-empty { margin-top: 40px; padding: 40px 20px; border-radius: 22px; border: 1px dashed var(--border); text-align: center; color: var(--text-2); }
.tl-empty i { font-size: 1.6rem; margin-bottom: 10px; }
.tl-empty p { margin: 0 0 16px; font-weight: 700; color: var(--text-1); }

.tl-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(135deg, #6D28D9, #4C1D95); color: #fff; }
.tl-cta__box h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: #fff; text-align: left; }
.tl-cta__box p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .86); text-align: left; }
.tl-cta .btn-primary { background: var(--gold); color: #0A0A0A; border-color: var(--gold); }

@media (max-width: 900px) {
  .tl-hero__grid { grid-template-columns: 1fr; }
  .tl-cloud { grid-template-columns: repeat(6, 1fr); }
  .tl-cloud li:nth-child(even) { transform: none; }
  .tl-cloud li { animation: none; }
  .tl-cloud a { border-radius: 14px; }
}
@media (max-width: 560px) {
  .tl-cloud { grid-template-columns: repeat(4, 1fr); }
  .tl-cloud li:nth-child(n+9) { display: none; }
  .tl-bar { padding: 10px; border-radius: 18px; top: calc(var(--header-height, 64px) + 4px); }
  .tl-search { height: 46px; }
  .tl-pills button { height: 36px; padding: 0 12px; font-size: .84rem; }
}
@media (min-width: 761px) { .tl-pills { flex-wrap: wrap; overflow: visible; } }

/* ================= work filter (portfolio + case studies) ================= */
.fx { position: sticky; top: calc(var(--header-height, 72px) + 10px); z-index: 6; display: grid; gap: 6px; margin-bottom: clamp(24px, 3vw, 36px); padding: 6px; border-radius: 24px;
  background: color-mix(in srgb, var(--surface-1) 84%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--border); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 24px 48px -36px rgba(46, 16, 101, .55); }
.fx__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.fx__seg { position: relative; display: flex; gap: 2px; min-width: 0; padding: 4px; border-radius: 19px; background: var(--surface-2); overflow-x: auto; scrollbar-width: none; }
.fx__seg::-webkit-scrollbar, .fx__chips::-webkit-scrollbar { display: none; }
.fx__glow { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 15px; pointer-events: none;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 55%, #5B21B6 100%);
  box-shadow: 0 10px 24px -10px rgba(109, 40, 217, .8), 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 1px 0 rgba(255, 255, 255, .28) inset; }
.fx.is-ready .fx__glow { transition: transform .5s cubic-bezier(.2, .9, .2, 1), width .5s cubic-bezier(.2, .9, .2, 1); }
.fx__seg button { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 15px; background: none;
  font: inherit; font-size: .92rem; font-weight: 500; letter-spacing: -.005em; color: var(--text-2); cursor: pointer; transition: color .3s; }
.fx__seg button:hover { color: var(--text-1); }
.fx__seg button[aria-pressed="true"] { color: #fff; }
.fx button i { font-size: .8rem; opacity: .75; }
.fx__n { font-size: .72rem; font-weight: 500; font-variant-numeric: tabular-nums; opacity: .55; }
.fx [aria-pressed="true"] .fx__n { opacity: .85; }
.fx .is-zero { opacity: .38; }
.fx button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.fx__meta { flex: none; display: flex; align-items: center; gap: 10px; padding-right: 6px; }
.fx__status { margin: 0; font-size: .85rem; font-weight: 400; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx__status b { font-weight: 600; color: var(--text-1); }
.fx__reset { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: none;
  font: inherit; font-size: .8rem; font-weight: 500; color: var(--text-1); cursor: pointer; transition: border-color .2s, color .2s; }
.fx__reset:hover { border-color: #6D28D9; color: #6D28D9; }
.fx__reset[hidden] { display: none; }

.fx__row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 0 0 12px; }
.fx__lbl { flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); opacity: .8; }
.fx__chips { display: flex; gap: 4px; min-width: 0; padding: 2px 24px 2px 0; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.fx__chips button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: none;
  font: inherit; font-size: .85rem; font-weight: 400; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fx__chips button:hover { background: var(--surface-2); color: var(--text-1); }
.fx__chips button[aria-pressed="true"] { color: color-mix(in srgb, #6D28D9 80%, var(--text-1)); background: color-mix(in srgb, #8B5CF6 12%, transparent); border-color: color-mix(in srgb, #8B5CF6 45%, transparent); font-weight: 500; }

@keyframes fxIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.fx-in { animation: fxIn .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--fx-d, 0ms); }
@media (prefers-reduced-motion: reduce) { .fx-in { animation: none; } .fx.is-ready .fx__glow { transition: none; } }

@media (max-width: 760px) {
  .fx { position: relative; top: auto; padding: 5px; border-radius: 20px; }
  .fx__top { flex-direction: column; align-items: stretch; gap: 6px; }
  .fx__seg { border-radius: 16px; }
  .fx__seg button { height: 40px; padding: 0 14px; font-size: .88rem; }
  .fx__meta { justify-content: space-between; padding: 0 8px; }
  .fx__row { padding-left: 8px; }
}
.fx__top { justify-content: flex-start; }
.fx__seg { max-width: 100%; }
.fx__row { align-items: flex-start; }
.fx__lbl { padding-top: 11px; }
.fx__meta { margin-left: auto; min-height: 38px; }
@media (min-width: 761px) {
  .fx__chips { flex-wrap: wrap; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 760px) {
  .fx__row { flex-wrap: wrap; }
  .fx__chips { flex-basis: 100%; order: 2; }
  .fx__lbl { padding-top: 0; align-self: center; }
  .fx__meta { padding: 0 4px; min-height: 32px; }
}
.fx__seg button { font-weight: 400; }
.fx__seg button[aria-pressed="true"] { font-weight: 500; }
@media (max-width: 760px) { .fx__seg { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); } }
.fx button:disabled { cursor: default; }
.fx__chips button:disabled:hover { background: none; color: var(--text-2); }

/* body overflow-x:hidden (style.css) made body a scroll box and broke every position:sticky */
@supports (overflow: clip) { body { overflow-x: clip; } }

/* ================= header: glass bar + segmented nav (same language as the work filter) ================= */
.navbar, .navbar.scrolled, .navbar.is-scrolled {
  background: rgba(12, 9, 22, .72);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 24px 50px -30px rgba(0, 0, 0, .8);
  border-radius: 22px;
}
.nav-links { position: relative; align-items: center; gap: 2px; padding: 4px; border-radius: 17px; background: rgba(255, 255, 255, .055); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05) inset; }
.nav-glow { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; opacity: 0; border-radius: 13px; pointer-events: none;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 55%, #5B21B6 100%);
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 1px 0 rgba(255, 255, 255, .28) inset; }
.nav-links.is-ready .nav-glow { transition: transform .45s cubic-bezier(.2, .9, .2, 1), width .45s cubic-bezier(.2, .9, .2, 1), opacity .25s; }
.nav-item { z-index: 1; }
.nav-link, .drop-trigger { height: 38px; padding: 0 14px; border-radius: 13px; font-size: .9rem; font-weight: 400; letter-spacing: -.005em; color: rgba(255, 255, 255, .72); background: transparent !important; transition: color .25s; }
.drop-trigger i { font-size: .62rem; opacity: .6; margin-left: 2px; transition: transform .3s; }
.drop-trigger[aria-expanded="true"] i, .has-mega:hover .drop-trigger i { transform: rotate(180deg); }
.nav-link:hover, .drop-trigger:hover, .nav-link:focus-visible, .drop-trigger:focus-visible, .drop-trigger[aria-expanded="true"] { color: #fff; }
.nav-link.active, .drop-trigger.active, .nav-link[aria-current="page"] { color: #fff; font-weight: 500; }
.nav-link.is-lit, .drop-trigger.is-lit { color: #fff; }
.nav-link:focus-visible, .drop-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .nav-links.is-ready .nav-glow { transition: opacity .2s; } }

/* dropdowns: matching glass */
.mega--simple { top: calc(100% + 14px); padding: 6px; border-radius: 20px;
  background: rgba(14, 10, 26, .88); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 30px 60px -24px rgba(0, 0, 0, .75); }
.mega-link { border-radius: 14px; padding: 10px 14px; }
.mega-link:hover, .mega-link:focus-visible { background: rgba(255, 255, 255, .07); }
.mega-link[aria-current="page"] { background: color-mix(in srgb, #7C3AED 26%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, #8B5CF6 40%, transparent) inset; }
.mega-link-title { font-weight: 500; font-size: .92rem; }
.mega-link-teaser { color: rgba(255, 255, 255, .5); }
.nav-cta { border-radius: 14px; font-weight: 500; }
.mega--simple { background: rgba(14, 10, 26, .97); }
.navbar, .navbar.scrolled, .navbar.is-scrolled { background: rgba(10, 8, 20, .86); }

/* sticky filter: --surface-1 is a 3% tint, so use the band's own background for real glass */
.fx { background: color-mix(in srgb, var(--bg, #fff) 86%, transparent); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); }
.fx__seg { background: color-mix(in srgb, var(--text-1) 6%, transparent); }

/* header: equal side padding (empty phone-menu column added a gap on the right) */
@media (min-width: 1101px) { .navbar-inner { grid-template-columns: auto 1fr auto; } }

/* header + dropdowns: lighter glass, text kept bright */
.navbar, .navbar.scrolled, .navbar.is-scrolled { background: rgba(10, 8, 20, .7); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.mega--simple { background: rgba(12, 9, 22, .8); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.nav-link, .drop-trigger { color: rgba(255, 255, 255, .86); }
.mega-link-teaser { color: rgba(255, 255, 255, .66); }

/* header glass on a pseudo-layer: a backdrop-filter on .navbar itself would stop the dropdowns from blurring the page */
.navbar, .navbar.scrolled, .navbar.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; isolation: isolate; }
.navbar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(10, 8, 20, .7); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }

/* filter bar: 10px wider than the grid on each side, so cards scroll in under it */
.fx { margin-inline: -10px; }

/* ================= blog index: The Hype Dispatch ================= */
.page-banner.bl-hero { padding-block: clamp(48px, 6vw, 96px) clamp(44px, 5.5vw, 84px); overflow: visible; z-index: 3; }
.bl-hero__inner { max-width: 980px; text-align: center; }
.page-banner.bl-hero .bl-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .92); }
.bl-kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 190, 34, .25); animation: blPulse 2.4s ease-in-out infinite; }
@keyframes blPulse { 50% { box-shadow: 0 0 0 8px rgba(247, 190, 34, 0); } }
.bl-hero h1 { margin: 0 auto 18px; font-size: clamp(3rem, 2rem + 5vw, 6.4rem); line-height: .95; letter-spacing: -.045em; max-width: none; }
.bl-hero__em { font-style: italic; color: var(--gold); }
.page-banner.bl-hero .bl-dek { max-width: 60ch; margin: 0 auto 30px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .88); }

.bl-search { position: relative; max-width: 640px; margin: 0 auto 26px; text-align: left; }
.bl-search__box { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px 0 22px; border-radius: 18px; background: rgba(255, 255, 255, .97); color: #6B6577; box-shadow: 0 24px 50px -24px rgba(20, 6, 50, .6); transition: box-shadow .25s; }
.bl-search__box:focus-within { box-shadow: 0 0 0 4px rgba(247, 190, 34, .55), 0 24px 50px -24px rgba(20, 6, 50, .6); }
.bl-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1.02rem; color: #0A0A0A; outline: none; }
.bl-search input::placeholder { color: #8A8496; }
.bl-search kbd { flex: none; min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #E2DEEA; font: 500 .8rem/1 var(--font-mono, monospace); color: #6B6577; }
.bl-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -20px rgba(20, 6, 50, .55); }
.bl-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: #0A0A0A; }
.bl-results small { font-size: .74rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #6D28D9; }
.bl-results b { font-size: .96rem; font-weight: 500; line-height: 1.35; }
.bl-results [aria-selected="true"] a, .bl-results a:hover { background: #F3EEFF; }
.bl-results__none { padding: 14px; font-size: .92rem; color: #3A3347; }
.bl-results__none a { display: inline; padding: 0; color: #6D28D9; text-decoration: underline; }

.bl-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.bl-stats b { font-weight: 600; color: #fff; }

@media (max-width: 560px) {
  .bl-search__box { height: 54px; padding-left: 16px; }
  .bl-search kbd { display: none; }
  .bl-stats { gap: 6px 16px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) { .bl-kicker__dot { animation: none; } }
.bl-results b { color: #0A0A0A !important; }
.bl-search input:focus, .bl-search input:focus-visible { outline: none !important; box-shadow: none !important; border: 0 !important; background: none !important; }
.bl-all__head { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: 120px; }
/* filter control: wrap onto more lines on desktop when there are many options (glow follows offsetTop) */
.fx__glow { top: 0; bottom: auto; }
@media (min-width: 761px) { .fx__seg { flex-wrap: wrap; } }

/* ================= Hype Dispatch v2: rates bar + minimal list ================= */
.fxbar { display: grid; grid-template-columns: 1.05fr repeat(4, minmax(0, 1fr)); margin: 6px 0 clamp(28px, 3vw, 40px); border-radius: 20px; background: #101014; border: 1px solid rgba(255, 255, 255, .09); color: #fff; overflow: hidden; }
.fxbar > div { padding: 18px 22px; min-width: 0; }
.fxbar > div + div { border-left: 1px solid rgba(255, 255, 255, .08); }
.fxbar p { margin: 0; }
.fxbar__lead { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fxbar__live { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86EFAC; }
.fxbar__live span { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: fxLive 2s ease-out infinite; }
@keyframes fxLive { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.fxbar__sub { font-size: .84rem; color: rgba(255, 255, 255, .62); line-height: 1.4; }
.fxbar__k { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; color: rgba(255, 255, 255, .7); margin-bottom: 6px !important; }
.fxbar__k i { color: #86EFAC; font-size: .78rem; width: 1em; text-align: center; }
.fxbar__v { font-size: clamp(1.15rem, 1rem + .55vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fxbar__s { margin-top: 4px !important; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.fxbar__calc { display: flex; align-items: baseline; gap: 6px; }
.fxbar__in { display: inline-flex; align-items: baseline; padding: 0 6px 0 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: box-shadow .2s; }
.fxbar__in:focus-within { box-shadow: 0 0 0 2px var(--gold) inset; }
.fxbar__in input { width: 3ch; min-width: 2ch; padding: 0; border: 0; background: none; font: inherit; color: #fff; outline: none !important; box-shadow: none !important; }
.fxbar__eq { font-weight: 400; color: rgba(255, 255, 255, .5); }
.fxbar output { overflow: hidden; text-overflow: ellipsis; }
.fxbar__note { grid-column: 1 / -1; padding: 9px 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .74rem; color: rgba(255, 255, 255, .45); }
.fxbar__note a { color: rgba(255, 255, 255, .6); }
@media (prefers-reduced-motion: reduce) { .fxbar__live span { animation: none; } }
@media (max-width: 1100px) {
  .fxbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxbar__lead { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .fxbar > div + div { border-left: 0; }
  .fxbar > div:nth-child(n+2) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .fxbar > div:nth-child(odd):not(.fxbar__lead) { border-left: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) { .fxbar > div { padding: 14px 16px; } .fxbar__v { font-size: 1.1rem; } }

/* minimal feature */
.bm-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; color: var(--text-1); text-decoration: none; }
.bm-feature__media, .bm-card__media { display: block; overflow: hidden; border-radius: 20px; background: var(--surface-2); }
.bm-feature__media { aspect-ratio: 3 / 2; }
.bm-feature__media img, .bm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.bm-feature:hover img, .bm-card:hover img { transform: scale(1.035); }
.bm-feature__body { display: flex; flex-direction: column; gap: 14px; }
.bm-meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--text-2); }
.bm-meta span { padding: 3px 9px; border-radius: 999px; background: var(--text-1); color: var(--bg, #fff); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bm-feature__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.bm-feature__ex { font-size: 1.02rem; line-height: 1.6; color: var(--text-2); }
.bm-read { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-1); }
.bm-read i { transition: transform .25s; }
.bm-feature:hover .bm-read i { transform: translateX(5px); }

/* minimal grid */
.bl-min .bl-all__head { margin-top: clamp(64px, 8vw, 112px); }
.bm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(20px, 2.4vw, 32px); }
.bm-card { display: flex; flex-direction: column; gap: 12px; color: var(--text-1); text-decoration: none; }
.bm-card__media { aspect-ratio: 3 / 2; border-radius: 16px; margin-bottom: 4px; }
.bm-card__title { font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; text-wrap: balance;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s; align-self: flex-start; }
.bm-card:hover .bm-card__title { background-size: 100% 1px; }
.bm-feature:focus-visible, .bm-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 20px; }
@media (max-width: 980px) { .bm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .bm-grid { grid-template-columns: 1fr; gap: 32px; } }
.fxbar__cell--calc .fxbar__k { margin-top: -4px; }
.fxbar__k .fxbar__in { margin-left: 2px; padding: 2px 6px 2px 8px; font-weight: 600; color: #fff; }
.fxbar__cell--calc .fxbar__k { white-space: nowrap; }
.bl-min .bl-all__head { margin-bottom: clamp(20px, 2.4vw, 32px); }

/* ================= Hype Pulse ================= */
.fxbar__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; }
.fxbar__more { display: inline-flex; align-items: center; gap: 8px; color: #86EFAC !important; font-weight: 500; font-size: .8rem; text-decoration: none; }
.fxbar__more:hover { color: #fff !important; }
.fxbar__more i { transition: transform .25s; }
.fxbar__more:hover i { transform: translateX(3px); }

.hp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.hp-jump a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 500; font-size: .92rem; text-decoration: none; transition: background .2s; }
.hp-jump a:hover { background: rgba(255, 255, 255, .22); }
.hp-jump i { opacity: .8; font-size: .82rem; }
.hp-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hp-dot--issue { background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.hp-dot--down { background: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .2); animation: hpBlink 1.4s ease-in-out infinite; }
.hp-dot--unknown { background: #A8A3B5; box-shadow: 0 0 0 4px rgba(168, 163, 181, .2); }
@keyframes hpBlink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hp-dot--down { animation: none; } }

.hp { scroll-margin-top: 80px; }
.hp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.4vw, 30px); }
.hp-head h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); letter-spacing: -.03em; color: var(--text-1); text-align: left; }
.hp-head p { margin: 0; max-width: 60ch; color: var(--text-2); font-size: .95rem; }
.hp--alt { }

.hp-rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.hp-rate { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg, #fff); }
.hp-rate p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .86rem; font-weight: 500; color: var(--text-2); }
.hp-rate p i { color: #6D28D9; width: 1em; text-align: center; }
.hp-rate b { display: block; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text-1); }
.hp-rate small { color: var(--text-2); font-size: .8rem; }
.hp-calcs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-calc { padding: 20px 22px; border-radius: 18px; background: #101014; color: #fff; }
.hp-calc label { display: block; margin-bottom: 10px; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .72); }
.hp-calc__in { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: box-shadow .2s; }
.hp-calc__in:focus-within { box-shadow: 0 0 0 2px var(--gold) inset; }
.hp-calc__in span { color: rgba(255, 255, 255, .55); font-weight: 600; }
.hp-calc__in input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 1.3rem; font-weight: 600; outline: none !important; box-shadow: none !important; font-variant-numeric: tabular-nums; }
.hp-calc__out { margin: 14px 0 0; font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: #86EFAC; font-variant-numeric: tabular-nums; }
.hp-calc__sub { margin: 2px 0 0; color: rgba(255, 255, 255, .6); font-size: .88rem; }
.hp-note { margin: 12px 0 0; font-size: .8rem; color: var(--text-2); }
.hp-note a { color: inherit; }

.hp-banner { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; padding: 16px 20px; border-radius: 16px; background: color-mix(in srgb, #22C55E 10%, var(--bg, #fff)); border: 1px solid color-mix(in srgb, #22C55E 30%, transparent); }
.hp-banner .hp-dot { margin-top: 6px; }
.hp-banner--issue { background: color-mix(in srgb, #F59E0B 10%, var(--bg, #fff)); border-color: color-mix(in srgb, #F59E0B 35%, transparent); }
.hp-banner--down { background: color-mix(in srgb, #EF4444 9%, var(--bg, #fff)); border-color: color-mix(in srgb, #EF4444 35%, transparent); }
.hp-banner > i { margin-top: 4px; color: #B45309; }
.hp-banner p { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.hp-banner b { color: var(--text-1); font-weight: 600; margin-right: 4px; }
.hp-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hp-st { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg, #fff); }
.hp-st .hp-dot { margin-top: 6px; }
.hp-st b { display: block; font-weight: 600; color: var(--text-1); }
.hp-st small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.45; color: var(--text-2); }
.hp-st small a { color: inherit; }
.hp-st--issue { border-color: color-mix(in srgb, #F59E0B 45%, transparent); }
.hp-st--down { border-color: color-mix(in srgb, #EF4444 45%, transparent); }

.hp-fbr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: start; }
.hp-card { padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg, #fff); }
.hp-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.08rem; font-weight: 600; color: var(--text-1); }
.hp-card h3 i { color: #6D28D9; }
.hp-empty { margin: 0; padding: 18px; border-radius: 12px; border: 1px dashed var(--border); color: var(--text-2); font-size: .92rem; text-align: center; }
.hp-dl { list-style: none; margin: 0; padding: 0; }
.hp-dl li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.hp-dl li:first-child { border-top: 0; padding-top: 0; }
.hp-dl__days { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; border-radius: 14px; background: color-mix(in srgb, #8B5CF6 10%, transparent); color: #5B21B6; font-size: .72rem; font-weight: 500; }
.hp-dl__days b { font-size: 1.3rem; line-height: 1; font-weight: 700; }
.hp-dl li.is-soon .hp-dl__days { background: #FEF3C7; color: #92400E; }
.hp-dl__txt b { display: block; font-weight: 600; color: var(--text-1); }
.hp-dl__txt small { color: var(--text-2); font-size: .84rem; }
.hp-src { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--text-2); font-size: .8rem; }
.hp-src:hover { color: #6D28D9; border-color: #6D28D9; }
.hp-table { overflow-x: auto; }
.hp-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hp-table th { padding: 8px 10px; text-align: left; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--border); }
.hp-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-1); font-variant-numeric: tabular-nums; }
.hp-table td b { font-weight: 600; }
.hp-table td small { display: block; color: var(--text-2); font-size: .8rem; }
.hp-table tr:last-child td { border-bottom: 0; }

.hp-play { margin-top: clamp(22px, 2.6vw, 32px); padding-top: 18px; border-top: 1px solid var(--border); }
.hp-play__k { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.hp-play ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hp-play a { display: flex; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); color: var(--text-1); font-weight: 500; font-size: .94rem; line-height: 1.4; text-decoration: none; transition: border-color .2s; }
.hp-play a:hover { border-color: #6D28D9; }
.hp-play a i { flex: none; margin-top: 4px; font-size: .78rem; color: var(--text-2); transition: transform .25s; }
.hp-play a:hover i { transform: translateX(3px); color: #6D28D9; }

@media (max-width: 1000px) { .hp-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hp-status, .hp-play ul { grid-template-columns: 1fr 1fr; } .hp-fbr { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .hp-calcs, .hp-status, .hp-play ul { grid-template-columns: 1fr; } .hp-rate { padding: 14px 16px; } }

.hp-st--link { color: inherit; text-decoration: none; transition: border-color .2s; }
.hp-st--link:hover { border-color: #6D28D9; }
.hp-st--link b i { font-size: .7rem; margin-left: 4px; color: var(--text-2); }

/* ================= Hype Pulse v2: glance, sticky menu, handy calculators ================= */
.hp-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 30px auto 0; text-align: left; }
.hp-g { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.hp-g:hover { background: rgba(255, 255, 255, .17); transform: translateY(-2px); }
.hp-g__k { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .78); }
.hp-g b { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hp-g small { font-size: .82rem; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-g--issue { box-shadow: 0 0 0 1px rgba(245, 158, 11, .7) inset; }
.hp-g--down, .hp-g--soon { box-shadow: 0 0 0 1px rgba(248, 113, 113, .8) inset; background: rgba(239, 68, 68, .14); }

.hp-nav { position: sticky; top: calc(var(--header-height, 72px) + 10px); z-index: 7; display: flex; gap: 4px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto 14px; padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(16, 12, 28, .78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .7); }
.hp-nav::-webkit-scrollbar { display: none; }
.hp-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: rgba(255, 255, 255, .78); font-size: .9rem; font-weight: 400; text-decoration: none; transition: background .2s, color .2s; }
.hp-nav a i { font-size: .8rem; opacity: .8; }
.hp-nav a small { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: .72rem; }
.hp-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hp-nav a.is-on { background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff; font-weight: 500; }
.hp-nav .hp-dot { width: 8px; height: 8px; box-shadow: none; }
.hp { scroll-margin-top: 140px; }

/* shared controls */
.hp-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.hp-seg button { padding: 6px 12px; border: 0; border-radius: 9px; background: none; color: rgba(255, 255, 255, .7); font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; }
.hp-seg button[aria-pressed="true"] { background: #fff; color: #0A0A0A; }
.hp-seg--wide { display: flex; margin-bottom: 12px; }
.hp-seg--wide button { flex: 1; padding: 9px 12px; font-size: .88rem; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hp-chips button { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: rgba(255, 255, 255, .82); font: inherit; font-size: .8rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, border-color .2s; }
.hp-chips button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.hp-chips--light { margin-top: 0; }
.hp-chips--light button { border-color: var(--border); color: var(--text-2); }
.hp-chips--light button small { margin-left: 4px; opacity: .7; }
.hp-chips--light button:hover { background: var(--surface-2); color: var(--text-1); border-color: var(--border); }
.hp-chips--light button[aria-pressed="true"] { background: #6D28D9; border-color: #6D28D9; color: #fff; }
.hp-calc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hp-calc__top label { margin: 0; }
.hp-seg button:focus-visible, .hp-chips button:focus-visible, .hp-nav a:focus-visible, .hp-ic:focus-visible, .hp-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* deadlines */
.hp-empty { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px 20px; border-radius: 18px; border: 1px dashed var(--border); color: var(--text-2); text-align: center; }
.hp-empty i { font-size: 1.3rem; color: #6D28D9; }
.hp-empty p { margin: 0; }
.hp-empty--sm { padding: 16px; margin-top: 8px; }
.hp-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hp-dl li.hp-dl__item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg, #fff); border-top: 1px solid var(--border); }
.hp-dl li.hp-dl__item:first-child { padding-top: 14px; }
.hp-dl__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 14px; background: color-mix(in srgb, #8B5CF6 10%, transparent); color: #5B21B6; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hp-dl__date b { font-size: 1.55rem; line-height: 1; letter-spacing: -.02em; }
.hp-dl__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hp-dl__txt b { font-weight: 600; font-size: 1.04rem; color: var(--text-1); }
.hp-dl__txt small { font-size: .86rem; color: var(--text-2); line-height: 1.45; }
.hp-dl__rep { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 3px; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); font-size: .74rem; color: var(--text-2); }
.hp-dl__when { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #22C55E 13%, transparent); color: #166534; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.hp-dl__item.is-soon .hp-dl__when { background: #FEF3C7; color: #92400E; }
.hp-dl__item.is-urgent { border-color: color-mix(in srgb, #EF4444 45%, transparent); }
.hp-dl__item.is-urgent .hp-dl__when { background: #FEE2E2; color: #991B1B; }
.hp-dl__item.is-urgent .hp-dl__date { background: #FEE2E2; color: #991B1B; }
.hp-dl__act { display: flex; gap: 6px; }
.hp-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: none; color: var(--text-2); font-size: .84rem; cursor: pointer; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.hp-ic:hover { color: #6D28D9; border-color: #6D28D9; background: color-mix(in srgb, #8B5CF6 8%, transparent); }
.hp-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #6D28D9; font: inherit; font-weight: 500; cursor: pointer; }
.hp-link:hover { text-decoration: underline; }

/* withholding tax */
.hp-wht { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 14px; align-items: start; }
.hp-calc--tax { position: sticky; top: calc(var(--header-height, 72px) + 76px); }
.hp-calc--tax.is-flash { animation: hpFlash 1s ease; }
@keyframes hpFlash { 30% { box-shadow: 0 0 0 4px rgba(247, 190, 34, .7); } }
.hp-select { width: 100%; height: 46px; margin-bottom: 10px; padding: 0 12px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; color: #fff; font: inherit; font-size: .92rem; }
.hp-select option, .hp-select optgroup { color: #0A0A0A; }
.hp-select:focus { outline: none; box-shadow: 0 0 0 2px var(--gold) inset; }
.hp-tax__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.hp-tax__out div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.hp-tax__out dt { font-size: .78rem; color: rgba(255, 255, 255, .65); }
.hp-tax__out dd { margin: 2px 0 0; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hp-tax__out div:first-child dd { color: #FCD34D; }
.hp-tax__out div:last-child dd { color: #86EFAC; }
.hp-calc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 3px; }
.hp-calc__link:hover { color: #fff; }
.hp-rates-x { padding: 18px; }
.hp-rates-x__bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.hp-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-2); }
.hp-search:focus-within { border-color: #6D28D9; box-shadow: 0 0 0 3px color-mix(in srgb, #6D28D9 18%, transparent); }
.hp-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: .94rem; color: var(--text-1); outline: none !important; box-shadow: none !important; }
.hp-rlist__head, .hp-rlist summary { display: grid; grid-template-columns: minmax(0, 1fr) 76px 86px; gap: 10px; align-items: center; }
.hp-rlist__head { padding: 6px 12px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.hp-rlist__head span:not(:first-child) { text-align: right; }
.hp-rlist { list-style: none; margin: 0; padding: 0; }
.hp-rlist li { border-top: 1px solid var(--border); }
.hp-rlist summary { padding: 12px; cursor: pointer; list-style: none; border-radius: 12px; transition: background .2s; }
.hp-rlist summary::-webkit-details-marker { display: none; }
.hp-rlist summary:hover { background: var(--surface-1); }
.hp-rlist summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.hp-rlist__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hp-rlist__t b { font-weight: 600; font-size: .95rem; color: var(--text-1); line-height: 1.35; }
.hp-rlist__t small { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .78rem; color: var(--text-2); }
.hp-sec { padding: 1px 7px; border-radius: 6px; background: var(--surface-2); font-family: var(--font-mono, monospace); font-size: .72rem; color: var(--text-1); }
.hp-rlist__p { text-align: right; font-size: 1.05rem; font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; }
.hp-rlist__p--nf { color: #B91C1C; }
.hp-rlist__more { padding: 0 12px 14px; font-size: .88rem; color: var(--text-2); }
.hp-rlist__more p { margin: 0 0 8px; }
.hp-rlist__more b { color: var(--text-1); font-weight: 600; }
.hp-quote { padding: 10px 12px; border-radius: 10px; background: var(--surface-1); font-size: .84rem; }

@media (max-width: 1000px) {
  .hp-wht { grid-template-columns: 1fr; }
  .hp-calc--tax { position: static; }
}
@media (max-width: 760px) {
  .hp-glance { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .hp-g { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 12px 14px; }
  .hp-g__k { width: 100%; }
  .hp-g b { font-size: 1.15rem; }
  .hp-dl li.hp-dl__item { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .hp-dl__date { height: 56px; }
  .hp-dl__when, .hp-dl__act { grid-column: 2; justify-self: start; }
  .hp-dl__act { margin-top: -4px; }
  .hp-rlist__head, .hp-rlist summary { grid-template-columns: minmax(0, 1fr) 58px 70px; }
  .hp-nav { margin-bottom: 8px; }
  .hp-nav a { padding: 8px 12px; font-size: .84rem; }
}
.hp-chips--light button[aria-pressed="true"] small { color: #fff; opacity: .85; }
.hp-calc__to { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.hp-calc__to b { padding: 3px 8px; border-radius: 8px; background: #fff; color: #0A0A0A; font-weight: 600; }
@media (max-width: 760px) { .hp-calc__to small { display: none; } }

/* Hype Pulse: the four white sections form one continuous panel (no notches between them) */
.hp + .hp { border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 0; }
.hp:has(+ .hp) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hp + .hp > .container::before { content: ""; display: block; height: 1px; margin-bottom: clamp(56px, 7vw, 96px); background: var(--border); }

/* status cards: brand logo tile with the status dot as a corner badge */
.hp-st { align-items: center; gap: 14px; }
.hp-logo { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #fff; border: 1px solid var(--border); }
.hp-logo svg { width: 24px; height: 24px; }
.hp-logo > i { color: var(--text-2); }
.hp-logo .hp-dot { position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; margin: 0; border: 3px solid var(--bg, #fff); box-shadow: none; }
.hp-st .hp-logo + div b { display: block; }

/* filter v3: one row — segmented types + style dropdown + count */
.fx { gap: 0; }
.fx__top { flex-wrap: nowrap; align-items: center; gap: 10px; }
.fx__seg { flex: 0 1 auto; flex-wrap: nowrap; }
.fx__dd { position: relative; flex: none; }
.fx__ddbtn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg, #fff); color: var(--text-2); font: inherit; font-size: .9rem; font-weight: 400; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.fx__ddbtn b { font-weight: 500; color: var(--text-1); max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.fx__ddbtn > i:first-child { font-size: .8rem; opacity: .7; }
.fx__ddchev { font-size: .65rem; opacity: .6; transition: transform .25s; }
.fx__ddbtn[aria-expanded="true"] .fx__ddchev { transform: rotate(180deg); }
.fx__ddbtn:hover, .fx__ddbtn[aria-expanded="true"] { border-color: #8B5CF6; color: var(--text-1); }
.fx__dd.is-set .fx__ddbtn { border-color: color-mix(in srgb, #8B5CF6 55%, transparent); background: color-mix(in srgb, #8B5CF6 9%, var(--bg, #fff)); }
.fx__dd.is-set .fx__ddbtn b { color: #5B21B6; }
.fx__menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 260px; max-height: min(60vh, 420px); overflow-y: auto; padding: 6px; border-radius: 16px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg, #fff) 96%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 48px -20px rgba(46, 16, 101, .45); }
.fx__menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--text-1); font: inherit; font-size: .9rem; font-weight: 400; text-align: left; cursor: pointer; }
.fx__menu button i { width: 1.1em; text-align: center; font-size: .8rem; color: var(--text-2); }
.fx__menu button span:not(.fx__n) { flex: 1; }
.fx__menu button:hover, .fx__menu button:focus-visible { background: var(--surface-2); outline: none; }
.fx__menu button[aria-pressed="true"] { background: color-mix(in srgb, #8B5CF6 12%, transparent); color: #5B21B6; font-weight: 500; }
.fx__menu button[aria-pressed="true"] i { color: #6D28D9; }
.fx__menu button:disabled { opacity: .38; cursor: default; }
.fx__meta { margin-left: auto; min-height: 0; }
@media (max-width: 1100px) {
  .fx__top { flex-wrap: wrap; }
  .fx__seg { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  .fx__top { flex-direction: row; }
  .fx__ddbtn { height: 42px; padding: 0 12px; font-size: .86rem; }
  .fx__menu { min-width: 240px; }
  .fx__meta { padding: 0 4px; }
}
.fx__ddchev { display: inline-block; }
.fx__menu { background: var(--bg, #fff); backdrop-filter: none; -webkit-backdrop-filter: none; }   /* solid: a blur nested in the glass bar cannot work */
.fx__seg { flex-wrap: wrap; }   /* many options (blog topics) wrap inside the control instead of hiding */
.fx__ddbtn .fx__ddchev, .fx__ddbtn[aria-expanded="true"] .fx__ddchev { transform: none !important; rotate: 0deg; }
.fx__ddbtn[aria-expanded="true"] .fx__ddchev { rotate: 180deg; }
@media (min-width: 1101px) {
  .fx__seg button { padding: 0 12px; gap: 7px; }
  .fx__ddbtn { padding: 0 13px; }
  .fx__status { font-size: .82rem; }
}
@media (min-width: 1101px) { .fx:has(.fx__dd) .fx__noun { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 1101px) {
  .fx__seg button { padding: 0 10px; gap: 6px; }
  .fx__ddbtn > i:first-child { display: none; }
}
@media (min-width: 1250px) { .fx:has(.fx__dd) .fx__seg { flex-wrap: nowrap; } }   /* one row when it fits; narrower screens wrap instead of hiding options */
@media (max-width: 1100px) { .fx__seg { flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); } }   /* phones + tablets: one swipeable row */

/* ================= contact page v2: form first, calm hierarchy ================= */
.page-banner.ct-hero { padding-block: clamp(44px, 5vw, 76px) clamp(40px, 5vw, 70px); }
.ct-hero h1 { margin-bottom: 12px; }
.ct-hero .section-desc { max-width: 52ch; margin-inline: auto; }
.ct__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }

.ct-card { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: var(--bg, #fff); border: 1px solid var(--border); box-shadow: 0 30px 60px -48px rgba(46, 16, 101, .55); }
.ct-card__head h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; text-align: left; color: var(--text-1); }
.ct-card__head p { margin: 0 0 22px; color: var(--text-2); font-size: .95rem; }
.ct-prefill { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #8B5CF6 10%, transparent); color: #5B21B6; font-size: .9rem; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-field > label, .ct-field > legend { padding: 0; margin: 0 0 7px; font-size: .9rem; font-weight: 500; color: var(--text-1); }
.ct-field > label { margin: 0; }
.ct-req { color: #DC2626; margin-left: 2px; }
.ct-form input[type=text], .ct-form input[type=email], .ct-form input[type=tel], .ct-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-1); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.ct-form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: #6D28D9; background: var(--bg, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, #6D28D9 16%, transparent); }
.ct-form [aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.ct-form .form-hint.is-error { margin: 2px 0 0; font-size: .84rem; color: #B91C1C; }
.ct-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg, #fff); color: var(--text-1); font-size: .9rem; font-weight: 400; cursor: pointer; user-select: none; transition: border-color .2s, background .2s, color .2s; }
.ct-chip span i { font-size: .82rem; color: var(--text-2); transition: color .2s; }
.ct-chip:hover span { border-color: #8B5CF6; }
.ct-chip input:checked + span { background: #6D28D9; border-color: #6D28D9; color: #fff; font-weight: 500; }
.ct-chip input:checked + span i { color: #fff; }
.ct-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.ct-more { border: 1px dashed var(--border); border-radius: 14px; padding: 0 16px; }
.ct-more summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; font-size: .92rem; font-weight: 500; color: var(--text-1); }
.ct-more summary::-webkit-details-marker { display: none; }
.ct-more summary i { font-size: .78rem; color: #6D28D9; transition: transform .25s; }
.ct-more[open] summary i { transform: rotate(45deg); }
.ct-more summary span { font-weight: 400; color: var(--text-2); font-size: .85rem; }
.ct-more[open] { padding-bottom: 16px; }
.ct-more > .ct-field + .ct-field { margin-top: 16px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-submit { width: 100%; justify-content: center; margin-top: 4px; }
.ct-fine { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--text-2); }
.ct-fine a { color: inherit; }
#contactForm ~ * , .ct-form-wrap .form-status:empty { }
.ct-form-wrap .form-status { margin: 0 0 14px; }
.ct-done { padding: clamp(20px, 4vw, 48px) 8px; text-align: center; outline: none; }
.ct-done__ico { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #DCFCE7; color: #16A34A; font-size: 1.5rem; }
.ct-done h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -.03em; color: var(--text-1); }
.ct-done p { margin: 0 auto 22px; max-width: 42ch; color: var(--text-2); }
.ct-done__btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.ct-side { position: sticky; top: calc(var(--header-height, 72px) + 24px); display: flex; flex-direction: column; gap: 14px; }
.ct-side__box { padding: 20px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface-1); }
.ct-side__h { margin: 0 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); text-align: left; }
.ct-ways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-ways a, .ct-ways__row { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--text-1); text-decoration: none; font-weight: 500; font-size: .95rem; overflow-wrap: anywhere; }
.ct-ways a:hover { background: var(--surface-2); }
.ct-ways small { display: block; font-size: .76rem; font-weight: 400; color: var(--text-2); }
.ct-ways__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, #8B5CF6 12%, transparent); color: #6D28D9; }
.ct-ways__ico--wa { background: #DCFCE7; color: #16A34A; }
.ct-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.ct-steps li { position: relative; padding-left: 38px; counter-increment: s; }
.ct-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #6D28D9; color: #fff; font-size: .78rem; font-weight: 600; }
.ct-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: -12px; width: 2px; background: var(--border); }
.ct-steps b { display: block; font-size: .95rem; font-weight: 600; color: var(--text-1); }
.ct-steps span { font-size: .87rem; line-height: 1.45; color: var(--text-2); }
.ct-side__alt { margin: 0; padding: 0 4px; font-size: .86rem; color: var(--text-2); }
.ct-side__alt a { color: #6D28D9; }

.ct-faq { padding-top: 0 !important; }
.ct-faq__inner { max-width: 820px; }
.ct-faq__h { margin: 0 0 14px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; color: var(--text-1); text-align: left; }
.ct + .ct-faq { border-top-left-radius: 0; border-top-right-radius: 0; }
.ct:has(+ .ct-faq) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

@media (max-width: 1000px) { .ct__grid { grid-template-columns: 1fr; } .ct-side { position: static; } }
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; } .ct-card { border-radius: 20px; } .ct-chip span { padding: 8px 12px; font-size: .86rem; } }
.ct-form-wrap .form-status:empty { display: none; }

/* ================= minimal project cards (home, portfolio, tool pages) ================= */
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 48px) clamp(18px, 2.2vw, 28px); }
.pj-card { display: flex; flex-direction: column; gap: 10px; color: var(--text-1); text-decoration: none; }
.pj-card[hidden] { display: none; }
.pj-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--surface-2); margin-bottom: 4px; }
/* fit by width: the full width always shows; anything taller is trimmed at the bottom, never the sides */
.pj-card__media img { display: block; width: 100%; height: auto; min-height: 0; transition: transform .8s cubic-bezier(.2, .8, .2, 1); transform-origin: top center; }
.pj-card:hover .pj-card__media img { transform: scale(1.03); }
.pj-card__meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--text-2); }
.pj-card__meta i { font-size: .75rem; color: #8B5CF6; }
.pj-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.pj-card__title i { flex: none; font-size: .8rem; color: var(--text-2); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s, color .25s; }
.pj-card:hover .pj-card__title i, .pj-card:focus-visible .pj-card__title i { opacity: 1; transform: none; color: #8B5CF6; }
.pj-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 18px; }
.pj-more { margin: clamp(36px, 4vw, 56px) 0 0; text-align: center; }
@media (max-width: 980px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pj-grid { grid-template-columns: 1fr; gap: 28px; } .pj-card__title i { opacity: 1; transform: none; } }
.pj-card__media { aspect-ratio: 16 / 9; }   /* most project images are 16:9 or 16:10, so width always fills and nothing is cut at the sides */

/* ================= Dispatch strip v2: insights, not a calculator ================= */
.fxbar--v2 { grid-template-columns: .9fr 1fr 1fr 1.35fr; }
.fxbar--v2 > a { display: block; padding: 18px 22px; min-width: 0; color: #fff; text-decoration: none; transition: background .2s; }
.fxbar--v2 > a + a { border-left: 1px solid rgba(255, 255, 255, .08); }
.fxbar--v2 > a:hover { background: rgba(255, 255, 255, .04); }
.fxbar--v2 > a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.fxbar--v2 .fxbar__lead { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fxbar__fx { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fxbar__fx b, .fxbar__plats { color: rgba(255, 255, 255, .82); font-weight: 600; }
.fxbar__plats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 400; }
.fxbar__plats > span { display: inline-flex; align-items: center; gap: 6px; }
.fxbar__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
.fxbar__dot--issue { background: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .2); }
.fxbar__dot--down { background: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .22); }
.fxbar__dot--unknown { background: #8B8699; box-shadow: none; }
.fxbar__k .fxbar__dot { margin-right: 2px; }
.fxbar__dl { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.fxbar__dl li { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.fxbar__dl li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxbar__when { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(74, 222, 128, .14); color: #86EFAC; font-size: .76rem; font-weight: 600; }
.fxbar__when.is-soon { background: rgba(251, 191, 36, .16); color: #FCD34D; }
.fxbar__when.is-urgent { background: rgba(248, 113, 113, .18); color: #FCA5A5; }
@media (max-width: 1100px) {
  .fxbar--v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxbar--v2 .fxbar__lead { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .fxbar--v2 > a + a { border-left: 0; }
  .fxbar--v2 > a:nth-child(n+2) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .fxbar--v2 > a:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .08); }
  .fxbar--v2 .fxbar__cell--wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .fxbar--v2 > a { padding: 14px 16px; } .fxbar--v2 { grid-template-columns: 1fr; } .fxbar--v2 > a:nth-child(3) { border-left: 0; } }
.fxbar__dl li .fxbar__t { flex: 1; min-width: 0; }
.fxbar__dl li small { flex: none; font-size: .8rem; color: rgba(255, 255, 255, .55); }
