/* ============================================
   Fluency Digital - Global Styles
   ============================================
   Last updated: 2026-02-08
   Design: Big Six Consulting Fusion
   (McKinsey editorial + Accenture interactions + Deloitte video + BCG grids)

   Sections:
   - Fonts & CSS Variables
   - Header & Navigation
   - Buttons (Accenture-inspired solid fills)
   - Sections & Layout
   - Cards
   - Forms
   - Utilities
   - Animations
   - Micro-Interactions
   - Signature Graphic Elements
   - Responsive Breakpoints
   - Footer
   ============================================ */

/* ============================================
   FONTS - Playfair Display for headlines (McKinsey-style serif)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* ============================================================
       DESIGN TOKENS  --  three layers, see STYLE_CONSOLIDATION.md 17

         1. PRIMITIVE  --c-* / --fs-*   raw values, named for what they ARE.
                                        Rules must not reference these directly.
         2. SEMANTIC   --brand / --ink / --text-* / --title-*
                                        what rules reference and what the admin
                                        theme editor is allowed to change.
         3. COMPONENT  --btn-* / --ui-*  prefixed with the component they serve.

       Overrides live in /css/theme.css, which loads AFTER this file and
       redefines :root only. Never edit values here from the admin.
       ============================================================ */

    /* ---------- 1. PRIMITIVES: colour ----------
       Tailwind palette names, because that is literally what these values are. */
    --c-teal-50:   #f0fdfa;
    --c-teal-300:  #5eead4;
    --c-teal-500:  #14b8a6;   /* the accent that actually dominates the site */
    --c-teal-600:  #0d9488;
    --c-teal-700:  #0f766e;
    --c-cyan-500:  #06b6d4;
    --c-cyan-600:  #0891b2;
    --c-purple-500:#A100FF;
    --c-purple-300:#c084fc;
    --c-gray-200:  #e5e7eb;
    --c-gray-300:  #d1d5db;
    --c-gray-500:  #6b7280;
    --c-gray-400:  #9ca3af;
    --c-gray-600:  #4b5563;
    --c-gray-700:  #374151;
    --c-gray-800:  #1f2937;
    --c-ink-850:   #111111;
    --c-ink-950:   #0a0a0a;
    --c-paper:     #faf9f7;   /* warm off-white used by careers + about */
    --c-off-white: #fafafa;
    --c-red-500:   #ef4444;
    --c-white:     #ffffff;
    --c-black:     #000000;

    /* ---------- 1. PRIMITIVES: type ladder ----------
       Named for their rem value (--fs-85 = 0.85rem) so the name can never drift
       from the number.

       Collapsed 2026-09-01: 0.82 / 0.92 / 1.05rem were removed because each sat
       0.32-0.8px from a neighbour that meant the same thing -- scale noise, not a
       step. The ROLE names below survive and now resolve to the merged value, which
       is the point of the semantic layer: collapsing a scale is one line per role. */
    --fs-70:  0.7rem;    --fs-75:  0.75rem;   --fs-80:  0.8rem;
    --fs-85:  0.85rem;   --fs-90:  0.9rem;    --fs-95:  0.95rem;
    --fs-100: 1rem;
    --fs-115: 1.15rem;   --fs-120: 1.2rem;    --fs-125: 1.25rem;
    --fs-130: 1.3rem;    --fs-150: 1.5rem;    --fs-175: 1.75rem;
    --fs-200: 2rem;      --fs-250: 2.5rem;

    /* ---------- 2. SEMANTIC: colour ---------- */
    --brand:         var(--c-teal-500);
    --brand-deep:    var(--c-teal-600);
    --brand-dark:    var(--c-teal-700);
    --brand-light:   var(--c-teal-300);
    --brand-tint:    var(--c-teal-50);
    --accent-blue:   var(--c-cyan-600);
    --accent-cyan:   var(--c-cyan-500);

    --ink:           var(--c-ink-950);   /* headlines and strong body text */
    --ink-body:      var(--c-gray-700);
    --ink-soft:      var(--c-gray-500);
    --ink-muted:     var(--c-gray-400);

    --surface:       var(--c-white);   /* white as a SURFACE  */
    --ink-invert:    var(--c-white);   /* white as TEXT on dark */
    --surface-alt:   var(--c-off-white);
    --surface-paper: var(--c-paper);
    --rule:          var(--c-gray-200);
    --rule-strong:   var(--c-gray-300);
    --danger:        var(--c-red-500);


    /* ---------- 2. SEMANTIC: typography ---------- */
    --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:   'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
    --font-script: 'Caveat', cursive;

    --lh-display:    1.15;      /* h1, h2 */
    --lh-heading:    1.25;      /* h3-h6 */
    --track-display: -0.02em;
    --track-heading: -0.01em;

    /* Headings, largest first. */
    --title-hero:     clamp(2.25rem, 4.75vw, 3.75rem);  /* about/contact/insights/careers h1 */
    --title-hero-xl:  clamp(2.75rem, 6vw, 5rem);        /* services h1 */
    --title-hero-sm:  var(--fs-200);                    /* the same h1s under 768px */
    --title-page:     clamp(2rem, 5vw, 3.5rem);         /* .section-title */
    --title-section:  clamp(1.75rem, 3vw, 3rem);        /* scoped section headings */
    --title-card:     var(--fs-175);                    /* heading inside a card/panel */
    --title-feature:  clamp(1.6rem, 2.5vw, 2.2rem);     /* featured insight tile */
    --h3-editorial:   1.45rem;                          /* editorial h3, Playfair */
    --h3-article:     var(--fs-130);                    /* article/accordion h3 */
    --h3-card:        var(--fs-120);                    /* card title, Inter */
    --h3-sub:         var(--fs-150);
    --text-lg:        var(--fs-125);
    --stat-value:     clamp(3rem, 5vw, 4.5rem);
    --stat-value-sm:  var(--fs-250);
    --text-lead-fluid: clamp(1rem, 2vw, 1.15rem);

    /* Body ladder: 8 perceptible steps from 11.2px to 18.4px. */
    --text-lead:    var(--fs-115);  /* hero subhead, section intro */
    --text-md:      var(--fs-100);  /* was 1.05rem */
    --text-body:    var(--fs-100);  /* standard prose */
    --text-ui:      var(--fs-95);   /* buttons, form labels */
    --text-card:    var(--fs-90);   /* supporting text inside tiles; was 0.92rem */
    --text-sm:      var(--fs-90);
    --text-xs:      var(--fs-85);
    --text-2xs:     var(--fs-80);
    --text-label:   var(--fs-80);   /* was 0.82rem */
    --eyebrow-size: var(--fs-75);   /* small-caps label above a heading */
    --text-micro:   var(--fs-70);

    /* ---------- 3. COMPONENT ---------- */
    --btn-primary-bg:    var(--brand-deep);
    --btn-primary-hover: var(--brand-dark);
    --btn-secondary-bg:  var(--c-ink-850);
    --ui-text:      14px;   /* shared header / auth modals, fixed px by design */
    --ui-text-sm:   13px;
    --ui-text-xs:   12px;
    --ui-input:     15px;
    --bg-glass:     rgba(255, 255, 255, 0.98);

    --gradient-primary: linear-gradient(135deg, var(--brand-deep), var(--accent-blue));
    --gradient-full:    linear-gradient(135deg, var(--brand-deep), var(--accent-blue), var(--accent-cyan));
    --bg-gradient-light: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    --bg-gradient-gray:  linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);

    /* ---------- LEGACY ALIASES ----------
       Pre-2026-09 names, kept so the 145 existing var() references keep resolving.
       Same values as before; point new rules at the semantic names above. */
    --primary-teal:       var(--brand-deep);
    --primary-teal-bold:  var(--brand-dark);
    --secondary-blue:     var(--accent-blue);
    --light-cyan:         var(--accent-cyan);
    --secondary-cyan:     var(--accent-cyan);  /* was NEVER DEFINED -- see 17.3 */
    --accent-purple:      var(--c-purple-500);
    --accent-purple-soft: var(--c-purple-300);
    --primary-black:      var(--c-black);
    --dark-gray:          var(--c-ink-850);
    --medium-gray:        var(--c-gray-800);
    --text-primary:       var(--ink);
    --text-secondary:     var(--ink-body);
    --light-gray:         var(--c-gray-600);
    --muted-gray:         var(--ink-muted);
    --border-light:       var(--rule);
    --clean-white:        var(--c-white);
    --off-white:          var(--surface-alt);
}

/* ============================================
   CROSS-DOCUMENT VIEW TRANSITIONS  (2026-09-01)
   ============================================
   Keeps the site a normal multi-page site -- separate documents, real URLs,
   complete HTML for crawlers -- while giving navigation the cross-fade an SPA
   would give it. Both the outgoing and incoming document must opt in, which is
   why this lives in the shared stylesheet the six pages link.
   Browsers without it simply navigate as before. */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
    /* honour the same setting the hero video honours */
    @view-transition { navigation: none; }
}

/* The header is the same element on every page -- naming it means it stays put
   through the transition instead of cross-fading with itself. */
header.fluency-header { view-transition-name: site-header; }

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--clean-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Heading defaults. Deliberately sets ONLY leading and tracking -- not family, size or
   weight -- because h3/h4 are legitimately Inter in places (footer, careers job cards)
   and h2 sizes are page-specific. */
h1, h2 {
    line-height: var(--lh-display);
    letter-spacing: var(--track-display);
}

h3, h4, h5, h6 {
    line-height: var(--lh-heading);
    letter-spacing: var(--track-heading);
}

/* Small caps label used above headings. Three variants existed (11.2/12/12.8px,
   weights 600 and 700); this is the canonical one. */
.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--primary-teal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER
   ============================================ */
header.fluency-header {
    background: var(--primary-black);
    padding: 35px 45px !important;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

header.fluency-header.transparent {
    background: transparent;
}

header.fluency-header.scrolled {
    padding: 20px 45px !important;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

/* Light hero variant - for pages with light-colored backgrounds */
header.fluency-header.light-hero {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header.fluency-header.light-hero .fluency-nav a {
    color: #1a1a2e;
}

header.fluency-header.light-hero .fluency-nav a:hover {
    color: var(--brand);
}

header.fluency-header.light-hero .fluency-nav a.active {
    color: var(--brand-deep);
    border-color: var(--brand-deep);
}

header.fluency-header.light-hero .auth-links .auth-link {
    color: #1a1a2e;
}

header.fluency-header.light-hero .auth-links .auth-divider {
    color: #1a1a2e;
}

header.fluency-header.light-hero .mobile-menu-btn {
    color: #1a1a2e;
}

.fluency-header a {
    border-bottom: none;
}

.fluency-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.fluency-header-content > a:first-child {
    position: absolute;
    left: 0;
}

img.fluency-logo {
    height: 90px;
    max-height: 90px;
    transition: height 0.3s ease, max-height 0.3s ease;
}

.fluency-header.scrolled img.fluency-logo {
    height: 60px;
    max-height: 60px;
}

.fluency-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.fluency-nav a {
    color: #bfbfbf;
    text-decoration: none;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: var(--ui-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.fluency-nav a:hover {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.fluency-nav a.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.fluency-nav a:active {
    transform: scale(0.95);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clean-white);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    padding: 10px;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 100px 20px 50px;
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--clean-white);
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    transition: color 0.3s ease;
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary-teal);
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--clean-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   BUTTONS - Accenture-inspired solid fills
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 600;
    font-size: var(--text-ui);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--clean-white);
    border-color: var(--btn-primary-bg);
}

.btn-primary:hover {
    background: var(--clean-white);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--brand-deep) 25%, transparent);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--clean-white);
    border-color: var(--btn-secondary-bg);
}

.btn-secondary:hover {
    background: var(--clean-white);
    border-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
    border-width: 2px;
}

.btn-outline:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--clean-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--clean-white);
    border-color: var(--clean-white);
    border-width: 2px;
}

.btn-outline-light:hover {
    background: var(--clean-white);
    border-color: var(--clean-white);
    color: var(--text-primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 20px;
}

.section-inner {
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    font-size: var(--ui-text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--primary-teal);
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--title-page);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: 0;
}

.section-title-gradient {
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   CARDS - Cleaner, Accenture-inspired
   ============================================ */
.card {
    background: var(--clean-white);
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-black);
    color: var(--clean-white);
    padding: 60px 60px 30px;
}

.footer-content {
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-section p,
.footer-section a {
    color: var(--muted-gray);
    font-size: var(--text-ui);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-teal);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left p {
    color: var(--muted-gray);
    font-size: var(--text-sm);
    margin: 0;
}

.footer-bottom-left .footer-address {
    font-size: var(--text-2xs);
    margin-top: 5px;
}

.footer-bottom-left .footer-address a {
    color: var(--muted-gray);
}

.footer-bottom-left .footer-address a:hover {
    color: var(--primary-teal);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--clean-white);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.hidden { display: none; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Smooth link underlines */
.text-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-teal);
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-link:hover::after {
    width: 100%;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 3px;
}

.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Subtle pulse for CTAs */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
    50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-deep) 10%, transparent); }
}

.pulse-cta {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Image zoom on hover */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Icon rotation on hover */
.icon-rotate {
    transition: transform 0.3s ease;
}

.icon-rotate:hover {
    transform: rotate(15deg);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth color transitions for interactive elements */
input, textarea, select {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-deep) 15%, transparent);
    outline: none;
}

/* Number counter animation helper */
.counter-animate {
    transition: all 0.3s ease;
}

/* ============================================
   SIGNATURE GRAPHIC ELEMENTS
   ============================================ */

/* Gradient accent line - use on section headers */
.accent-line {
    position: relative;
}

.accent-line::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-cyan));
    border-radius: 2px;
}

.accent-line-center::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Diagonal corner accent */
.corner-accent {
    position: relative;
    overflow: hidden;
}

.corner-accent::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, color-mix(in srgb, var(--brand-deep) 8%, transparent) 50%);
    pointer-events: none;
}

/* Fluency signature gradient bar - for cards and sections */
.fluency-bar {
    position: relative;
}

.fluency-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary-teal) 0%,
        var(--secondary-blue) 50%,
        var(--secondary-cyan) 100%);
}

.fluency-bar-top::after {
    bottom: auto;
    top: 0;
}

/* Decorative dot grid pattern */
.dot-pattern {
    position: relative;
}

.dot-pattern::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, color-mix(in srgb, var(--brand-deep) 15%, transparent) 2px, transparent 2px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
}

/* Quote mark signature */
.quote-mark::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-serif);
    font-size: 6rem;
    color: color-mix(in srgb, var(--brand-deep) 10%, transparent);
    line-height: 1;
    pointer-events: none;
}

/* Subtle glow effect for hero elements */
.fluency-glow {
    position: relative;
}

.fluency-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-deep) 8%, transparent) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .stagger-children > * {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   AUTH LINKS & LOGIN/SIGNUP MODALS
   ============================================ */

/* Auth links in header (low-key text style) */
.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 0;
}

.auth-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--ui-text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: none !important;
}

.auth-link:hover {
    color: var(--clean-white);
}

.auth-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--ui-text-sm);
}

/* User menu dropdown (logged in state) */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--clean-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: var(--ui-text);
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var(--off-white);
    color: var(--primary-teal);
}

.user-dropdown a svg {
    color: var(--muted-gray);
    flex-shrink: 0;
}

.user-dropdown a:hover svg {
    color: var(--primary-teal);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

.user-dropdown .logout-link {
    color: var(--danger);
}

.user-dropdown .logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

.user-dropdown .logout-link svg {
    color: var(--danger);
}

.user-dropdown .quickadd-bookmarklet {
    cursor: grab;
    border-left: 3px solid var(--primary-teal);
}

.user-dropdown .quickadd-bookmarklet:hover {
    background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.user-dropdown .quickadd-bookmarklet:active {
    cursor: grabbing;
}

.dropdown-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--ink-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dropdown-close:hover {
    background: #f3f4f6;
    color: var(--ink-body);
}

/* Mobile auth links in mobile menu */
.mobile-auth-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-auth-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: var(--text-body) !important;
    padding: 12px 20px !important;
    text-align: center;
    transition: color 0.2s ease;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.mobile-auth-links a:hover {
    color: var(--primary-teal) !important;
}

.mobile-auth-links a.logout {
    color: rgba(239, 68, 68, 0.7) !important;
    margin-top: 8px;
}

.mobile-auth-links a.logout:hover {
    color: var(--danger) !important;
}

/* Modal styles */
.fluency-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fluency-modal.active {
    opacity: 1;
    visibility: visible;
}

.fluency-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.fluency-modal-content {
    position: relative;
    background: var(--clean-white);
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.fluency-modal.active .fluency-modal-content {
    transform: scale(1) translateY(0);
}

.fluency-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fluency-modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.fluency-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.fluency-modal-header h2 {
    font-family: var(--font-serif);
    font-size: var(--title-card);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.fluency-modal-header p {
    color: var(--text-secondary);
    font-size: var(--text-ui);
}

.fluency-form-group {
    margin-bottom: 20px;
}

.fluency-form-group label {
    display: block;
    font-size: var(--ui-text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fluency-form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--ui-input);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--off-white);
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.fluency-form-group input:focus {
    border-color: var(--primary-teal);
    background: var(--clean-white);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-deep) 10%, transparent);
}

.fluency-form-group input::placeholder {
    color: var(--muted-gray);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-gray);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.fluency-error {
    color: var(--danger);
    font-size: var(--ui-text-sm);
    margin-bottom: 15px;
    text-align: center;
    min-height: 18px;
}

.fluency-success {
    color: var(--primary-teal);
    font-size: var(--ui-text-sm);
    margin-bottom: 15px;
    text-align: center;
    min-height: 18px;
}

.fluency-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-teal);
    color: var(--clean-white);
    border: none;
    border-radius: 8px;
    font-size: var(--ui-input);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.fluency-submit-btn:hover {
    background: var(--primary-teal-bold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-deep) 30%, transparent);
}

.fluency-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .section {
        padding: 60px 20px;
    }
}

@media (max-width: 1280px) {
    .fluency-nav {
        gap: 20px;
    }
    .fluency-nav a {
        font-size: var(--ui-text-sm);
    }
    .auth-links .auth-link {
        font-size: var(--ui-text-xs);
    }
}

@media (max-width: 1100px) {
    header.fluency-header {
        padding: 15px 20px !important;
    }

    header.fluency-header.scrolled {
        padding: 10px 20px !important;
    }

    .fluency-nav {
        display: none;
    }

    /* Hide auth links on mobile - they're in mobile menu */
    .auth-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2.5rem;
        padding: 15px;
        opacity: 0.45;
    }

    img.fluency-logo {
        height: 65px;
        max-height: 65px;
    }

    .fluency-header.scrolled img.fluency-logo {
        height: 50px;
        max-height: 50px;
    }

    .fluency-header-content > a:first-child {
        position: static;
    }

    .fluency-header-content {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn {
        padding: 14px 28px;
        font-size: var(--text-ui);
    }

    /* Mobile footer - 2 column layout */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px 15px;
        text-align: left;
    }

    .footer-section.footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 5px;
    }

    .footer-section.footer-brand p {
        max-width: 300px;
        margin: 0 auto;
        font-size: var(--text-xs);
    }

    .footer-section h4 {
        font-size: var(--text-xs);
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section a {
        font-size: var(--text-2xs);
        line-height: 1.5;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-left {
        order: 2;
    }

    .social-links {
        order: 1;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 35px 15px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 10px;
    }

    .footer-section.footer-brand {
        padding-bottom: 15px;
    }

    .footer-section.footer-brand h4 {
        font-size: var(--text-sm);
    }

    .footer-section.footer-brand p {
        font-size: var(--eyebrow-size);
    }

    .footer-section h4 {
        font-size: var(--eyebrow-size);
        margin-bottom: 8px;
    }

    .footer-section p,
    .footer-section a {
        font-size: var(--eyebrow-size);
    }

    .footer-links li {
        margin-bottom: 5px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom-left p {
        font-size: var(--eyebrow-size);
    }

    .footer-bottom-left .footer-address {
        font-size: var(--eyebrow-size);
    }

    .social-links {
        gap: 15px;
    }

    .social-links a svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   ARTICLE CHROME — reading progress + share bar
   Shared by /insights/ reports. Injected by /js/article.js
   ============================================ */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-deep), var(--accent-blue));
    z-index: 9999;
    transition: width 0.1s linear;
}

.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 24px;
    max-width: 880px;
    margin: 0 auto;
    background: transparent;
    border-bottom: 1px solid #ececec;
}

.share-label {
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: var(--surface);
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
}

.share-btn:hover {
    border-color: var(--brand-deep);
    color: var(--brand-deep);
    background: var(--brand-tint);
    text-decoration: none;
}


/* ===== index.html  ->  :where(.page-home) =========================== */
/* Critical font faces — inline so browser doesn't wait for Google Fonts CSS */
@font-face {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   TILE HERO SECTION — EDGE TO EDGE
   ============================================ */
:where(.page-home) .hero-tiles{
    width: 100%;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 100vh;
    gap: 0;
}

/* Main hero tile — video background */
:where(.page-home) .hero-tile-main{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    background: var(--ink);
}

:where(.page-home) .hero-tile-main video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.25) brightness(0.85) saturate(0.85);
    transition: opacity 1s ease-in-out;
}

:where(.page-home) .hero-tile-main::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

:where(.page-home) .hero-tile-main-content{
    position: relative;
    z-index: 2;
}

:where(.page-home) .hero-tile-headline{
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4.5vw, 4.25rem);
    font-weight: 700;
    color: var(--ink-invert);
    line-height: 1.05;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    min-height: 2.2em;
}

.hero-tile-headline .line1,
:where(.page-home) .hero-tile-headline .line2{
    display: block;
    opacity: 0;
}

:where(.page-home) .hero-tile-headline .line1{
    line-height: 0.9;
}

:where(.page-home) .hero-tile-headline .line2{
    color: var(--brand);
    line-height: 1.15;
    margin-top: 0.05em;
}

@keyframes heroFadeIn {
    to { opacity: 1; }
}

:where(.page-home) .hero-tile-main h1{
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
    max-width: 460px;
    margin: 0 0 28px;
}

:where(.page-home) .hero-tile-main .btn{
    display: inline-block;
}

/* Right column — 2 stacked tiles, no photos */
:where(.page-home) .hero-tile-stack{
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
}

:where(.page-home) .hero-tile-panel{
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    text-decoration: none;
    color: var(--ink-invert);
    transition: all 0.4s ease;
    overflow: hidden;
}

:where(.page-home) .hero-tile-panel:nth-child(1){
    animation: tileSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

:where(.page-home) .hero-tile-panel:nth-child(2){
    animation: tileSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes tileSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes tileSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Top tile — dark with stat */
:where(.page-home) .hero-tile-stat{
    background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

:where(.page-home) .hero-tile-stat-row{
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 16px;
}

:where(.page-home) .hero-tile-stat-number{
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 700;
    color: var(--ink-invert);
    line-height: 1;
    letter-spacing: -0.02em;
}

:where(.page-home) .hero-tile-stat-number span{
    color: var(--brand);
}

:where(.page-home) .hero-tile-stat-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
}

:where(.page-home) .hero-tile-stat-desc{
    font-size: var(--text-body);
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
    max-width: 320px;
}

/* Bottom tile — teal gradient CTA */
:where(.page-home) .hero-tile-cta{
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 50%, var(--accent-blue) 100%);
    cursor: pointer;
}

:where(.page-home) .hero-tile-cta:hover{
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 50%, #0e7490 100%);
}

:where(.page-home) .hero-tile-cta-eyebrow{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

:where(.page-home) .hero-tile-cta h3{
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--ink-invert);
    margin: 0 0 20px;
    line-height: 1.2;
}

:where(.page-home) .hero-tile-cta-arrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink-invert);
    transition: gap 0.3s ease;
}

:where(.page-home) .hero-tile-cta:hover .hero-tile-cta-arrow{
    gap: 14px;
}

:where(.page-home) .hero-tile-cta-arrow svg{
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Video play/pause toggle */
:where(.page-home) .video-toggle-btn{
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

:where(.page-home) .video-toggle-btn:hover{
    background: color-mix(in srgb, var(--brand) 90%, transparent);
    transform: scale(1.1);
}

:where(.page-home) .video-toggle-btn svg{ color: var(--ink-invert); }
.video-toggle-btn .play-icon,
:where(.page-home) .video-toggle-btn .pause-icon{
    position: absolute;
    transition: opacity 0.2s ease;
}
:where(.page-home) .video-toggle-btn .play-icon{ opacity: 1; }
:where(.page-home) .video-toggle-btn .pause-icon{ opacity: 0; }
:where(.page-home) .video-toggle-btn.playing .play-icon{ opacity: 0; }
:where(.page-home) .video-toggle-btn.playing .pause-icon{ opacity: 1; }

/* Mobile: collapse to stacked blocks */
@media (max-width: 768px) {
    :where(.page-home) .hero-tiles{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
    }
    :where(.page-home) .hero-tile-main{
        min-height: 60vh;
        padding: 36px 28px;
    }
    :where(.page-home) .hero-tile-headline{
        font-size: clamp(2rem, 7vw, 2.8rem) !important;
    }
    :where(.page-home) .hero-tile-main h1{
        font-size: var(--text-ui);
    }
    :where(.page-home) .hero-tile-panel{
        padding: 36px 28px;
    }
    :where(.page-home) .hero-tile-stat-number{
        font-size: 3rem;
    }
    /* Hidden on phones by Stephen's call 2026-09-01 -- it read as clutter over the
       hero. Known trade-off, recorded so nobody "fixes" it back by accident: the
       hero is an 18s loop the JS restarts, with copy on top of it, so with no pause
       control mobile does not meet WCAG 2.2.2 Pause/Stop/Hide (Level A). Desktop
       keeps its button and does meet it. The reduce-motion guard in index.html is
       the mitigation and stays: an OS "reduce motion" setting holds the hero on its
       poster, so the people most affected never need a button.
       If this is ever revisited, the placement that collides with nothing is
       top:140px; right:16px -- the band between the 128px header and the y231
       headline. left:20/bottom:20 lands on the EXPLORE button. */
    :where(.page-home) .video-toggle-btn{
        display: none;
    }
}

@media (max-width: 480px) {
    :where(.page-home) .hero-tile-main{ min-height: 55vh; padding: 28px 22px; }
    :where(.page-home) .hero-tile-headline{ font-size: 1.8rem !important; }
    :where(.page-home) .hero-tile-panel{ padding: 28px 22px; }
}

:where(.page-home) header.fluency-header.transparent{
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.57) 62%,
        rgba(0, 0, 0, 0.27) 100%);
    backdrop-filter: none;
}
:where(.page-home) header.fluency-header.transparent::after{
    content: '';
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 72px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.27), rgba(0, 0, 0, 0));
    pointer-events: none;
}
:where(.page-home) header.fluency-header.transparent.scrolled::after{ display: none; }
:where(.page-home) .fluency-header.transparent .fluency-nav a{
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.95);
}
:where(.page-home) .fluency-header.transparent.scrolled{
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: none;
}
:where(.page-home) .fluency-header.transparent.scrolled .fluency-nav a{
    text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    :where(.page-home) .hero-tile-main video{ display: none; }
    :where(.page-home) .hero-tile-main{
        background-image: url('/images/hero1-min.jpeg?v=20');
        background-size: cover;
        background-position: center;
    }
    .hero-tile-headline .line1,
    :where(.page-home) .hero-tile-headline .line2{
        animation: none !important;
        opacity: 1;
    }
    :where(.page-home) .hero-tile-panel{
        animation: none !important;
        transform: none;
    }
}

/* ============================================
   PARALLAX BACKGROUND — subtle texture
   ============================================ */
:where(.page-home) .parallax-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vw;
    background: url('/images/west-3.jpeg?v=2') center top/100% auto no-repeat;
    z-index: -2;
    will-change: transform;
}

:where(.page-home) .parallax-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   INSIGHTS — EDITORIAL TILES (McKinsey-style)
   ============================================ */
:where(.page-home) .insights-editorial{
    background: var(--surface-paper);
    padding: 100px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

:where(.page-home) .insights-editorial-container{
}

:where(.page-home) .insights-editorial-header{
    margin-bottom: 50px;
    padding-left: 60px;
}

:where(.page-home) .insights-editorial-header .section-label{
    margin-bottom: 12px;
}

:where(.page-home) .insights-editorial-header h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

/* Grid: 1 large left, 2 stacked right */
:where(.page-home) .insights-tiles{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    min-height: 560px;
}

/* "Latest" label overlapping featured tile */
:where(.page-home) .insight-latest-label{
    position: absolute;
    top: -18px;
    right: 30px;
    background: var(--brand);
    color: #000;
    padding: 9px 26px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    z-index: 3;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--brand) 30%, transparent);
}

/* Each tile is a photo card */
:where(.page-home) .insight-tile{
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink-invert);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

:where(.page-home) .insight-tile-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

:where(.page-home) .insight-tile:hover .insight-tile-img{
    transform: scale(1.05);
}

/* Dark gradient overlay */
:where(.page-home) .insight-tile-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 45%, rgba(0,0,0,0.46) 100%);
    transition: background 0.4s ease;
}

:where(.page-home) .insight-tile:hover .insight-tile-overlay{
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.66) 50%, rgba(0,0,0,0.50) 100%);
}

/* Featured tile — light overlay with dark text */
:where(.page-home) .insight-tile--featured .insight-tile-overlay{
    background: linear-gradient(0deg, rgba(10,20,30,0.88) 0%, rgba(10,20,30,0.62) 45%, rgba(10,20,30,0.34) 100%);
}
:where(.page-home) .insight-tile--featured:hover .insight-tile-overlay{
    background: linear-gradient(0deg, rgba(10,20,30,0.92) 0%, rgba(10,20,30,0.66) 50%, rgba(10,20,30,0.40) 100%);
}

/* Featured tile spans both rows, positioned right */
:where(.page-home) .insight-tile--featured{
    grid-row: 1 / 3;
    grid-column: 2;
}

/* Content inside tile */
:where(.page-home) .insight-tile-content{
    position: relative;
    z-index: 2;
    padding: 32px;
}

:where(.page-home) .insight-tile--featured .insight-tile-content{
    padding: 40px;
}

:where(.page-home) .insight-tile-badge{
    display: inline-block;
    background: var(--brand);
    color: #000;
    font-size: var(--eyebrow-size);
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

:where(.page-home) .insight-tile-category{
    display: inline-block;
    font-size: var(--eyebrow-size);
    font-weight: 600;
    color: var(--ink-invert);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 10px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

:where(.page-home) .insight-tile h3{
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink-invert);
    margin: 0 0 10px;
}

:where(.page-home) .insight-tile--featured h3{
    font-size: var(--title-feature);
}

:where(.page-home) .insight-tile--secondary h3{
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

:where(.page-home) .insight-tile-desc{
    font-size: var(--text-card);
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
    margin: 0 0 18px;
    max-width: 480px;
}

:where(.page-home) .insight-tile--secondary .insight-tile-desc{
    font-size: var(--text-card);
    margin-bottom: 14px;
}

:where(.page-home) .insight-tile-cta{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--brand);
    transition: gap 0.25s ease;
}

:where(.page-home) .insight-tile:hover .insight-tile-cta{
    gap: 10px;
}

:where(.page-home) .insights-editorial-footer{
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    :where(.page-home) .insights-editorial{ padding: 60px 20px; }
    :where(.page-home) .insights-tiles{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }
    :where(.page-home) .insight-tile--featured{
        grid-row: auto;
        grid-column: auto;
        min-height: 340px;
    }
    :where(.page-home) .insight-tile--secondary{
        min-height: 260px;
    }
    :where(.page-home) .insight-tile-content{ padding: 24px; }
    :where(.page-home) .insight-tile--featured .insight-tile-content{ padding: 28px; }
    :where(.page-home) .insight-tile--featured h3{ font-size: var(--h3-sub); }
    :where(.page-home) .insight-latest-label{ display: none; }
}

/* ============================================
   WHAT WE DO — ACCENTURE CARD GRID
   ============================================ */
:where(.page-home) .services-tiles{
    padding: 80px 0;
    background: transparent;
}

:where(.page-home) .services-tiles-container{
}

:where(.page-home) .services-tiles-header{
    text-align: center;
    margin-bottom: 50px;
}

:where(.page-home) .services-tiles-header h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
}

:where(.page-home) .services-tiles-header p{
    font-size: var(--text-lead);
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

/* 3 equal cards in a row */
:where(.page-home) .services-tiles-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

/* Card: fixed height, title on top, swappable content below */
:where(.page-home) .service-tile{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--surface-paper);
    height: 420px;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

:where(.page-home) .service-tile:hover{
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

/* Title area — always visible at top */
:where(.page-home) .service-tile-header{
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

:where(.page-home) .service-tile-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

:where(.page-home) .service-tile h3{
    font-family: var(--font-sans);
    font-size: var(--h3-card);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    margin: 0;
}

:where(.page-home) .service-tile h3 .h3-arrow{ color: var(--brand-deep); font-weight: 600; }
/* the arrow is decorative; screen readers get the word "to" instead */
:where(.page-home) .sr-only{
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Content area — holds both image and text, stacked */
:where(.page-home) .service-tile-swap{
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* Image: visible by default, zips out on hover */
:where(.page-home) .service-tile-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
}

@media (hover: hover){
    :where(.page-home) .service-tile:hover .service-tile-img{
        opacity: 0;
        transform: scale(1.05);
    }
}

/* Text: hidden by default, zips in on hover */
:where(.page-home) .service-tile-text{
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    /* opacity:0 still takes clicks -- without this the invisible Expand row
       swallows taps aimed at the photo. */
    pointer-events: none;
}

:where(.page-home) .service-tile.active .service-tile-text{
    pointer-events: auto;
}

/* A tap can still light up :hover on a touchscreen ("sticky hover"), so the hover
   half is gated -- otherwise the invisible copy panel keeps taking clicks and a tap
   on the photo lands on the hidden Expand link. */
@media (hover: hover){
    :where(.page-home) .service-tile:hover .service-tile-text{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    }
}

:where(.page-home) .service-tile-desc{
    font-size: var(--text-card);
    line-height: 1.65;
    color: var(--ink-body);
    margin: 0;
}

/* Expand button */
:where(.page-home) .service-tile-expand{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: var(--text-2xs);
    font-weight: 600;
    color: var(--ink);
}

:where(.page-home) .service-tile-expand-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (hover: hover){
    :where(.page-home) .service-tile:hover .service-tile-expand-icon{
        border-color: var(--brand-deep);
        background: var(--brand-deep);
    }
}

:where(.page-home) .service-tile-expand-icon svg{
    width: 14px;
    height: 14px;
    fill: var(--ink);
    transition: all 0.3s ease;
}

@media (hover: hover){
    :where(.page-home) .service-tile:hover .service-tile-expand-icon svg{
        fill: var(--ink-invert);
        transform: translateX(1px);
    }
}

/* Touch: the tile itself is a toggle (tap = copy, tap again = photo) and THIS row
   is the only thing that navigates. So it has to read as a link and be a real
   44px target -- and be no wider than it looks, or you get an invisible hit strip.
   Gated on (hover: none), which is the input the person HAS, not the input the
   device supports. */
@media (hover: none){
    :where(.page-home) .service-tile-expand{
        width: fit-content;
        min-height: 44px;
        color: var(--brand-deep);
    }
    :where(.page-home) .service-tile-expand > span:not(.service-tile-expand-icon){
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    :where(.page-home) .service-tile-expand-icon{
        border-color: var(--brand-deep);
        background: var(--brand-deep);
    }
    :where(.page-home) .service-tile-expand-icon svg{ fill: var(--ink-invert); }
}

:where(.page-home) .services-tiles-cta{
    text-align: center;
}

/* Mobile active state — same as hover */
:where(.page-home) .service-tile.active .service-tile-img{
    opacity: 0;
    transform: scale(1.05);
}
:where(.page-home) .service-tile.active .service-tile-text{
    opacity: 1;
    transform: translateY(0);
}
:where(.page-home) .service-tile.active .service-tile-expand-icon{
    border-color: var(--brand-deep);
    background: var(--brand-deep);
}
:where(.page-home) .service-tile.active .service-tile-expand-icon svg{
    fill: #fff;
}

@media (max-width: 768px) {
    :where(.page-home) .services-tiles{ padding: 60px 20px; }
    :where(.page-home) .services-tiles-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    :where(.page-home) .service-tile{ height: 380px; }
    :where(.page-home) .service-tile-header{ padding: 20px 24px; }
    :where(.page-home) .service-tile-text{ padding: 24px; }
    /* The hover swap is gated on (hover: hover) above, so nothing to undo here --
       .active carries the whole interaction on touch. */
}

/* ============================================
   CLIENTS — TIGHT
   ============================================ */
:where(.page-home) .clients-tight{
    padding: 60px 0;
    margin-bottom: 60px;
    background: transparent;
    text-align: center;
}

:where(.page-home) .clients-tight h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

:where(.page-home) .clients-tight .clients-subtitle{
    font-family: var(--font-sans);
    font-size: var(--text-body);
    color: var(--ink-soft);
    margin: 0 0 40px;
}

:where(.page-home) .clients-logo-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 0 auto;
    padding: 0 60px;
}

:where(.page-home) .clients-logo-grid .logo-item{
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 12px;
    padding: 32px 24px;
    min-height: 100px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

:where(.page-home) .clients-logo-grid .logo-item.lit{
    background: var(--surface);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.05);
    transform: translateY(0);
}

:where(.page-home) .clients-logo-grid .logo-item:hover{
    border-color: color-mix(in srgb, var(--brand) 20%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

:where(.page-home) .clients-logo-grid .logo-item.lit:hover{
    border-color: color-mix(in srgb, var(--brand) 25%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

:where(.page-home) .clients-logo-grid .logo-item img{
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

:where(.page-home) .clients-logo-grid .logo-item.lit img{
    filter: grayscale(0%);
    opacity: 1;
}

.clients-logo-grid .logo-item:hover img,
:where(.page-home) .clients-logo-grid .logo-item.idle-shimmer:hover img{
    animation: none !important;
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* Subtle idle shimmer after the drumroll plays — very slow random twinkle */
@keyframes idleShimmer {
    0%, 85%, 100% {
        filter: grayscale(100%);
        opacity: 0.45;
    }
    90% {
        filter: grayscale(30%);
        opacity: 0.7;
    }
}
:where(.page-home) .clients-logo-grid .logo-item.idle-shimmer img{
    animation: idleShimmer 10s ease-in-out infinite;
    animation-delay: var(--shimmer-d, 0s);
}
/* Kill shimmer on tile hover so img hover wins cleanly */
:where(.page-home) .clients-logo-grid .logo-item.idle-shimmer:hover img{
    animation: none !important;
}

:where(.page-home) .clients-tight-stats{
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

:where(.page-home) .clients-tight-stat{
    text-align: center;
}

:where(.page-home) .clients-tight-stat-value{
    font-family: var(--font-sans);
    font-size: var(--stat-value);
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: transform 0.05s linear;
}

:where(.page-home) .clients-tight-stat-label{
    font-size: var(--text-xs);
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    :where(.page-home) .clients-tight{
        margin: 0 auto 40px;
        padding: 40px 20px;
    }
    :where(.page-home) .clients-logo-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 20px;
    }
    :where(.page-home) .clients-logo-grid .logo-item{ padding: 20px 16px; }
    :where(.page-home) .clients-logo-grid .logo-item img{ height: 36px; }
    :where(.page-home) .clients-tight-stats{ gap: 40px; }
    :where(.page-home) .clients-tight-stat-value{ font-size: var(--stat-value-sm); }
}

/* ============================================
   IN THE PRESS — slim editorial strip
   ============================================ */
:where(.page-home) .home-press{
    background: var(--ink);
    color: var(--ink-invert);
    padding: 70px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
:where(.page-home) .home-press-container{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
}
:where(.page-home) .home-press-intro .section-label{
    color: var(--brand-light);
    margin-bottom: 12px;
    display: inline-block;
}
:where(.page-home) .home-press-intro h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink-invert);
    margin: 0 0 14px;
    line-height: 1.2;
}
:where(.page-home) .home-press-intro a.all-press{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
:where(.page-home) .home-press-intro a.all-press:hover{ color: var(--ink-invert); }
:where(.page-home) .home-press-items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
:where(.page-home) .home-press-item{
    display: block;
    padding: 24px 26px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--ink-invert);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
:where(.page-home) .home-press-item:hover{
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    border-color: color-mix(in srgb, var(--brand) 45%, transparent);
    transform: translateY(-3px);
}
:where(.page-home) .home-press-item .outlet-line{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: var(--eyebrow-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-light);
    margin-bottom: 14px;
}
:where(.page-home) .home-press-item .outlet-line .date{
    color: rgba(255,255,255,0.45);
}
:where(.page-home) .home-press-item h4{
    font-family: var(--font-serif);
    font-size: var(--text-lead);
    font-weight: 700;
    color: var(--ink-invert);
    line-height: 1.3;
    margin: 0;
}
@media (max-width: 900px) {
    :where(.page-home) .home-press-container{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    :where(.page-home) .home-press-items{
        grid-template-columns: 1fr;
    }
}


/* ===== about.html  ->  :where(.page-about) ========================== */
/* ============================================
   HERO
   ============================================ */
:where(.page-about) .about-hero{
    background: url('/images/about/hero.jpg?v=11') center/cover no-repeat;
    height: 65vh;
    min-height: 480px;
    padding: 60px 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.page-about) .about-hero::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(26,26,26,0.66) 50%, rgba(0,0,0,0.72) 100%);
    z-index: 0;
}
:where(.page-about) .about-hero::after{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 50%);
    z-index: 0;
}
:where(.page-about) .about-hero-content{
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
:where(.page-about) .about-hero h1{
    letter-spacing: -0.02em;
    font-family: var(--font-serif);
    font-size: var(--title-hero);
    font-weight: 700;
    color: var(--ink-invert);
    margin: 0 0 20px;
    line-height: 1.05;
}
:where(.page-about) .about-hero h1 span{
    color: var(--brand);
}
:where(.page-about) .about-hero p{
    font-size: var(--text-lead-fluid);
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   VALUES GRID SECTION
   ============================================ */
:where(.page-about) .values-section{
    background: var(--surface-paper);
    overflow-x: hidden;
}
:where(.page-about) .values-container{
    padding: 80px 60px;
    position: relative;
}

/* Section header */
:where(.page-about) .section-title-values{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    text-align: center;
    margin: 0 0 16px;
}
:where(.page-about) .section-title-values strong{
    font-weight: 600;
    color: var(--brand);
    -webkit-text-fill-color: var(--brand);
}
:where(.page-about) .section-subtitle-values{
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--ink-soft);
    font-weight: 400;
    text-align: center;
    margin: 0 auto 28px;
    max-width: 600px;
}

/* Value links row — editorial menu */
:where(.page-about) .values-links{
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 0 auto 40px;
}
:where(.page-about) .values-links a{
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 6px 0;
    margin: 0 16px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
:where(.page-about) .values-links a:hover{
    color: var(--ink);
    border-bottom-color: var(--brand);
}
:where(.page-about) .values-links a.active{
    color: var(--ink);
    font-weight: 600;
    border-bottom-color: var(--brand);
}
:where(.page-about) .values-links a + a::before{
    content: '·';
    position: relative;
    left: -17px;
    color: var(--rule-strong);
    pointer-events: none;
}

/* 3x2 values grid */
:where(.page-about) .values-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

:where(.page-about) .value-tile{
    position: relative;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
:where(.page-about) .value-tile.entered{
    opacity: 1;
    transform: translateY(0);
}

:where(.page-about) .value-tile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.5s ease;
    filter: saturate(0.75) contrast(1.04) brightness(0.96);
}
/* Brief full-color flash on entrance */
:where(.page-about) .value-tile.flash img{
    filter: saturate(1) contrast(1.1) brightness(1);
}
:where(.page-about) .value-tile:hover img{
    transform: scale(1.05);
    filter: saturate(0.92) contrast(1.06) brightness(1.04);
}
:where(.page-about) .value-tile.active img{
    transform: scale(1.08);
    filter: saturate(0.9) contrast(1.1) brightness(0.6);
}

/* Dark gradient overlay — base layer always present */
:where(.page-about) .value-tile::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,0.60) 100%);
    z-index: 1;
    pointer-events: none;
}
/* Active overlay — separate layer on top, fades in smoothly */
:where(.page-about) .value-tile::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
:where(.page-about) .value-tile.active::before{
    opacity: 1;
}

/* Value label — always visible on the tile */
:where(.page-about) .value-label{
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 5;
    font-family: var(--font-sans);
    font-size: var(--text-2xs);

    font-weight: 700;
    color: var(--ink-invert);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
}
:where(.page-about) .value-label::before{
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand);
    margin-bottom: 10px;
    transition: width 0.3s ease;
}
:where(.page-about) .value-tile:hover .value-label::before{
    width: 40px;
}
:where(.page-about) .value-tile.active .value-label{
    bottom: auto;
    top: 20px;
    color: var(--brand);
}
:where(.page-about) .value-tile.active .value-label::before{
    width: 40px;
    background: var(--surface);
}

/* Expanded text — shown on click */
:where(.page-about) .value-text{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0 24px 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
:where(.page-about) .value-tile.active .value-text{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
:where(.page-about) .value-text-tagline{
    font-family: var(--font-serif);
    font-size: var(--text-lead);
    font-weight: 600;
    color: var(--ink-invert);
    margin-bottom: 8px;
    line-height: 1.3;
}
:where(.page-about) .value-text-body{
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* Teal glow on active tile border */
:where(.page-about) .value-tile.active{
    box-shadow: inset 0 0 0 2px var(--brand);
}

/* ============================================
   LEADERSHIP — newspaper edition
   ============================================ */
:where(.page-about) .team-section{
    padding: 90px 60px;
    background: #f6f3ea;
    color: #1c1b1e;
}
:where(.page-about) .np-paper{
    /* 1320 = the same content width as .values-grid below it (1440 - 2x60 padding).
       Also puts the halftone portraits at ~407px instead of 267px, which is the
       difference between the newsprint screen being visible and being resampled away. */
    max-width: 1320px;
    margin: 0 auto;
}
:where(.page-about) .np-topline{
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 2px solid #1c1b1e;
    border-bottom: 1px solid #1c1b1e;
    padding: 6px 2px;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
:where(.page-about) .np-masthead{
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 3.2rem;
    text-align: center;
    letter-spacing: 0.01em;
    margin: 22px 0 4px;
    line-height: 1.05;
}
:where(.page-about) .np-rule-double{
    border-top: 3px solid #1c1b1e;
    border-bottom: 1px solid #1c1b1e;
    height: 4px;
}
:where(.page-about) .np-slug{
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    margin: 40px 0 26px;
    display: flex;
    align-items: center;
    gap: 16px;
}
:where(.page-about) .np-slug::before, :where(.page-about) .np-slug::after{
    content: "";
    flex: 1;
    border-top: 1px solid rgba(28,27,30,0.3);
}
:where(.page-about) .team-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 32px;
    /* Masthead + rules stay full 1320 width; the portrait grid is held narrower so
       the photos are ~200px (about a quarter of the area they were at 407px).
       Two groups of three, so the column COUNT has to stay 3. */
    max-width: 700px;
    margin: 0 auto;
}
:where(.page-about) .team-card{
    display: flex;
    flex-direction: column;
}
:where(.page-about) .np-photo{
    position: relative;
    border: 1px solid rgba(28,27,30,0.4);
    padding: 5px;
    background: #f6f3ea;
}
:where(.page-about) .np-photo img{
    width: 100%;
    display: block;
}
:where(.page-about) .np-photo .np-color{
    position: absolute;
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}
:where(.page-about) .team-card:hover .np-color{ opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    :where(.page-about) .np-photo .np-color{ transition: none; }
}
:where(.page-about) .np-cutline{
    padding: 12px 2px 14px;
    border-bottom: 1px solid rgba(28,27,30,0.25);
}
:where(.page-about) .np-kicker{
    display: block;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    min-height: 3.2em;   /* hold 2 lines so names align across the row */
}
:where(.page-about) .np-name{
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1b1e;
    margin: 4px 0 0;
    line-height: 1.2;
}
:where(.page-about) .np-bio{
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.83rem;
    line-height: 1.55;
    color: #3f3e39;
    margin: 8px 0 0;
}
:where(.page-about) .np-cutline .linkedin{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--brand-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}
:where(.page-about) .np-cutline .linkedin:hover{ color: var(--brand); }
:where(.page-about) .np-cutline .linkedin svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ============================================
   CTA
   ============================================ */
:where(.page-about) .cta-section{
    padding: 80px 40px;
    background: var(--ink);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
:where(.page-about) .cta-section h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink-invert);
    margin-bottom: 12px;
}
:where(.page-about) .cta-section p{
    font-size: var(--text-body);
    color: rgba(255,255,255,0.4);
    margin: 0 auto 28px;
    max-width: 500px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :where(.page-about) .values-container{ padding: 60px 20px; }
    :where(.page-about) .value-tile{ height: 280px; }
    :where(.page-about) .team-grid{
        gap: 24px;
    }
}

@media (max-width: 768px) {
    body:where(.page-about){ overflow-x: hidden; }
    :where(.page-about) .about-hero{
        height: 55vh;
        min-height: 380px;
        padding: 60px 20px 0;
    }
    :where(.page-about) .about-hero h1{ font-size: var(--title-hero-sm); }
    :where(.page-about) .about-hero p{ font-size: var(--text-body); }
    :where(.page-about) .values-container{ padding: 32px 16px; }
    :where(.page-about) .section-title-values{
        font-size: var(--h3-article);
        margin-bottom: 10px;
    }
    :where(.page-about) .values-links{
        gap: 6px 20px;
        margin-bottom: 28px;
    }
    :where(.page-about) .values-links a{ font-size: var(--text-2xs); }
    :where(.page-about) .values-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    :where(.page-about) .value-tile{ height: 240px; }
    :where(.page-about) .value-text-tagline{ font-size: var(--text-body); }
    :where(.page-about) .value-text-body{ font-size: var(--text-2xs); }
    :where(.page-about) .team-section{ padding: 56px 16px; }
    :where(.page-about) .team-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 14px;
        max-width: 440px;
    }
    /* odd card out spans the row, centered at column width */
    :where(.page-about) .team-grid .team-card:last-child:nth-child(odd){
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7px);
    }
    :where(.page-about) .np-masthead{ font-size: 2rem; }
    :where(.page-about) .np-topline{ font-size: 0.52rem; letter-spacing: 0.08em; }
    :where(.page-about) .np-slug{ font-size: 0.62rem; margin: 30px 0 20px; }
    :where(.page-about) .np-cutline{ padding: 10px 2px 12px; }
    :where(.page-about) .np-name{ font-size: 1.05rem; }
    :where(.page-about) .np-kicker{ font-size: 0.55rem; }
    :where(.page-about) .np-bio{ font-size: 0.76rem; line-height: 1.5; }
    :where(.page-about) .cta-section{ padding: 60px 20px; }
}

@media (max-width: 480px) {
    :where(.page-about) .section-title-values{ font-size: var(--text-lead); }
    :where(.page-about) .values-links{ gap: 4px 16px; margin-bottom: 20px; }
    :where(.page-about) .values-links a{ font-size: var(--eyebrow-size); }
    :where(.page-about) .values-grid{
        grid-template-columns: 1fr;
    }
    :where(.page-about) .value-tile{ height: 220px; }
}


/* ===== services.html  ->  :where(.page-services) ==================== */
/* ============================================
   SERVICES PAGE — EDITORIAL REDESIGN
   ============================================ */

/* Hero */
:where(.page-services) .services-hero{
    background: linear-gradient(135deg, var(--ink) 0%, #111 50%, var(--ink) 100%);
    height: 65vh;
    min-height: 480px;
    padding: 60px 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.page-services) .services-hero-canvas{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

:where(.page-services) .services-hero-content{
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

:where(.page-services) .services-hero h1{
    font-family: var(--font-serif);
    font-size: var(--title-hero-xl);
    font-weight: 700;
    color: var(--ink-invert);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

:where(.page-services) .services-hero h1 span{
    background: linear-gradient(135deg, var(--brand), var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:where(.page-services) .services-hero p{
    font-family: var(--font-sans);
    font-size: var(--text-lead-fluid);
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================
   ACCORDION SECTION
   ============================================ */
:where(.page-services) .accordion-section{
    background: var(--surface-paper);
    padding: 100px 60px 120px;
}

:where(.page-services) .accordion-section-header{
    margin: 0 0 56px;
}

:where(.page-services) .section-eyebrow{
    display: block;
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

:where(.page-services) .section-title{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

:where(.page-services) .section-title em{
    font-style: normal;
    color: var(--brand);
}

:where(.page-services) .fluency-accordion{
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: var(--font-sans);
    border-top: 1px solid var(--rule);
}

:where(.page-services) .fluency-accordion .accordion-header-link{
    padding: 20px 0 20px 40px;
    border-bottom: 1px solid var(--rule);
}

:where(.page-services) .fluency-accordion .accordion-header-link a{
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-xs);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
    letter-spacing: 0.02em;
}

:where(.page-services) .fluency-accordion .accordion-header-link a:hover{
    color: var(--brand);
}

:where(.page-services) .fluency-accordion .accordion-header-link a i{
    font-size: 12px;
}

/* Accordion Items */
:where(.page-services) .fluency-accordion .accordion-item{
    background: var(--surface);
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.2s ease;
}

:where(.page-services) .fluency-accordion .accordion-item.revealed{
    opacity: 1;
    transform: translateY(0);
}

:where(.page-services) .fluency-accordion .accordion-item:hover{
    background: #f0efed;
}

:where(.page-services) .fluency-accordion .accordion-item.is-open{
    background: var(--surface);
}

:where(.page-services) .fluency-accordion .accordion-item-with-image{
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: stretch;
}

:where(.page-services) .fluency-accordion .accordion-content-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:where(.page-services) .fluency-accordion .accordion-image-container{
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 220px;
}

:where(.page-services) .fluency-accordion .accordion-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

:where(.page-services) .fluency-accordion .accordion-item:hover .accordion-image{
    transform: scale(1.04);
}

/* Accordion Header */
:where(.page-services) .fluency-accordion .accordion-header{
    padding: 28px 32px 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
    position: relative;
}

:where(.page-services) .fluency-accordion .preview-text{
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin-top: 10px;
    display: block;
    overflow: hidden;
    opacity: 1;
    max-height: 40px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    transition: opacity 0.25s ease, max-height 0.25s ease;
}

:where(.page-services) .fluency-accordion .accordion-item.is-open .preview-text{
    opacity: 0;
    max-height: 0;
    margin-top: 0;
}

/* Customer testimonial — fills the collapsed row, hides when open */
:where(.page-services) .fluency-accordion .accordion-testimonial{
    padding: 18px 48px 4px 40px;
    max-width: 720px;
    overflow: hidden;
    opacity: 1;
    max-height: 220px;
    transition: opacity 0.25s ease, max-height 0.3s ease, padding 0.3s ease;
}
:where(.page-services) .fluency-accordion .accordion-quote{
    font-family: var(--font-script);
    font-weight: 600;
    font-size: 1.85rem;
    line-height: 1.3;
    color: var(--ink-body);
    margin: 0 0 8px;
}
:where(.page-services) .fluency-accordion .accordion-quote-by{
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
}
:where(.page-services) .fluency-accordion .accordion-item.is-open .accordion-testimonial{
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

:where(.page-services) .fluency-accordion .toggle-icon{
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    color: var(--ink-soft);
    margin-top: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--rule-strong);
    border-radius: 50%;
}

:where(.page-services) .fluency-accordion .accordion-item:hover .toggle-icon{
    color: var(--brand);
    border-color: var(--brand);
}

:where(.page-services) .fluency-accordion .accordion-item.is-open .toggle-icon{
    transform: rotate(180deg);
    color: var(--ink-invert);
    background: var(--brand);
    border-color: var(--brand);
}

/* Accordion Content */
:where(.page-services) .fluency-accordion .accordion-content{
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    padding: 0 32px 0 40px;
}

:where(.page-services) .fluency-accordion .accordion-item.is-open .accordion-content{ opacity: 1; }

:where(.page-services) .fluency-accordion .accordion-content ul{
    list-style: none;
    font-size: var(--ui-input);
    line-height: 1.6;
    padding: 0 0 32px 0;
    margin: 0;
}

:where(.page-services) .fluency-accordion .accordion-content li{
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease, opacity 0.25s ease;
    will-change: transform, opacity;
}

:where(.page-services) .fluency-accordion .accordion-item.is-open .accordion-content li{
    opacity: 1;
    transform: none;
}

:where(.page-services) .fluency-accordion .accordion-content li strong{
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--ink);
    font-size: var(--text-ui);
    position: relative;
    padding-left: 16px;
}

:where(.page-services) .fluency-accordion .accordion-content li strong::before{
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

:where(.page-services) .fluency-accordion .accordion-content li span{
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.6;
    padding-left: 16px;
    display: block;
}

/* ============================================
   FLUENCYCARE BANNER
   ============================================ */
:where(.page-services) .fluencycare-banner{
    background: var(--ink);
    padding: 100px 40px;
    text-align: center;
}

:where(.page-services) .fluencycare-banner h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink-invert);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

:where(.page-services) .fluencycare-banner p{
    font-family: var(--font-sans);
    font-size: var(--text-lead);
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

:where(.page-services) .fluencycare-banner .btn-outline{
    background: transparent;
    color: var(--ink-invert);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-ui);
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

:where(.page-services) .fluencycare-banner .btn-outline:hover{
    background: var(--surface);
    color: var(--ink);
    border-color: #fff;
}

/* ============================================
   AI READINESS / TALENT CHECK SECTION
   ============================================ */
:where(.page-services) .readiness-section{
    padding: 100px 40px;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

:where(.page-services) .readiness-section::before{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 180, 150, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(9, 132, 227, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

:where(.page-services) .readiness-container{
    position: relative;
    z-index: 1;
}

:where(.page-services) .readiness-content{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

:where(.page-services) .readiness-video-wrap{
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

:where(.page-services) .readiness-video{
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}

/* Fixed title card over the poster. Live text rather than baked pixels, so it
   stays crisp at any DPI and reflows on small screens. Hidden once the film plays. */
:where(.page-services) .readiness-scrim{
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(4,12,18,.82) 0%, rgba(4,12,18,.45) 38%, rgba(4,12,18,.06) 68%);
}
:where(.page-services) .readiness-caption{
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 0 34px 30px; pointer-events: none;
}
:where(.page-services) .readiness-caption .rc-eyebrow{
    display: block; font-family: var(--font-sans); font-size: var(--eyebrow-size); font-weight: 600;
    text-transform: uppercase; letter-spacing: .18em; color: var(--brand-light); margin-bottom: 10px;
    opacity: 0; animation: readyFadeIn 1s ease .15s forwards;
}
.readiness-caption .rc-line1,
:where(.page-services) .readiness-caption .rc-line2{
    display: block; font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.18; opacity: 0;
}
:where(.page-services) .readiness-caption .rc-line1{ color: var(--ink-invert);     animation: readyFadeIn 1s ease .25s forwards; }
:where(.page-services) .readiness-caption .rc-line2{ color: var(--brand);  animation: readyFadeIn 1s ease .95s forwards; }
:where(.page-services) .readiness-scrim, :where(.page-services) .readiness-caption{ transition: opacity .45s ease; }
:where(.page-services) .readiness-video-overlay{ z-index: 3; }
@media (prefers-reduced-motion: reduce) {
    .readiness-caption .rc-eyebrow,
    .readiness-caption .rc-line1,
    :where(.page-services) .readiness-caption .rc-line2{ animation: none; opacity: 1; }
}
@keyframes readyFadeIn { to { opacity: 1; } }
@media (max-width: 700px) {
    :where(.page-services) .readiness-caption{ padding: 0 22px 22px; }
}

:where(.page-services) .readiness-video-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

:where(.page-services) .readiness-video-wrap:hover .readiness-video-overlay{
    background: rgba(0,0,0,0.1);
}

:where(.page-services) .readiness-play-btn{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand) 90%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

:where(.page-services) .readiness-video-wrap:hover .readiness-play-btn{
    transform: scale(1.1);
    background: var(--brand);
}

:where(.page-services) .readiness-play-btn svg{
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 3px;
}

:where(.page-services) .readiness-text h2{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink-invert);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

:where(.page-services) .readiness-text h2 em{
    font-style: italic;
    color: var(--brand);
}

:where(.page-services) .readiness-text > p{
    font-family: var(--font-sans);
    font-size: var(--text-lead);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 32px;
}

:where(.page-services) .readiness-cta-row{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

:where(.page-services) .readiness-badge{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

:where(.page-services) .readiness-badge-icon{
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--brand), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.page-services) .readiness-badge-icon svg{
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

:where(.page-services) .readiness-badge-text{
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

:where(.page-services) .readiness-badge-text strong{
    display: block;
    color: var(--ink-invert);
    font-weight: 600;
}

/* Scroll reveal */
:where(.page-services) .reveal{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

:where(.page-services) .reveal.revealed{
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :where(.page-services) .fluency-accordion .accordion-item-with-image{
        grid-template-columns: 1fr 280px;
    }
    :where(.page-services) .fluency-accordion .accordion-image-container{
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    :where(.page-services) .services-hero{
        height: 55vh;
        min-height: 380px;
        padding: 40px 20px 0;
    }
    :where(.page-services) .services-hero h1{
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    :where(.page-services) .accordion-section{
        padding: 60px 20px 80px;
    }
    :where(.page-services) .accordion-section-header{
        margin-bottom: 40px;
    }
    :where(.page-services) .fluency-accordion .accordion-item-with-image{
        grid-template-columns: 1fr;
        grid-template-rows: auto 200px;
    }
    :where(.page-services) .fluency-accordion .accordion-image-container{
        min-height: 200px;
        order: 2;
    }
    :where(.page-services) .fluency-accordion .accordion-content-wrapper{
        order: 1;
    }
    :where(.page-services) .fluency-accordion .accordion-header{
        padding: 22px 0 6px 0;
        font-size: var(--h3-article);
    }
    :where(.page-services) .fluency-accordion .accordion-content{
        padding: 0;
    }
    :where(.page-services) .fluency-accordion .accordion-testimonial{
        padding: 8px 8px 12px 0;
    }
    :where(.page-services) .fluency-accordion .accordion-quote{
        font-size: var(--h3-sub);
    }
    :where(.page-services) .fluencycare-banner{
        padding: 72px 20px;
    }
    :where(.page-services) .readiness-section{
        padding: 72px 20px;
    }
    :where(.page-services) .readiness-content{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    :where(.page-services) .readiness-video-wrap{
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    :where(.page-services) .readiness-cta-row{
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.page-services) *, :where(.page-services) *::before, :where(.page-services) *::after{
        transition: none !important;
        animation: none !important;
    }
}


/* ===== contact.html  ->  :where(.page-contact) ====================== */
/* Hero */
:where(.page-contact) .contact-hero{
    background: url('/images/contact-us-e1751938375323.jpg?v=2') center/cover no-repeat;
    height: 65vh;
    min-height: 480px;
    padding: 80px 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;            /* keeps the ::after blend inside the hero */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Night grade, two layers: ::before darkens NEUTRALLY (hue preserved, lamps and trails stay warm),
   ::after lifts only the shadows to navy via `lighten` (a colour floor — nothing brighter is touched).
   A tinted darken instead would turn the warm lights blue-grey. */
:where(.page-contact) .contact-hero::before{
    content: '';
    position: absolute;
    inset: 0;
    /* vertical: light at the top so the skyline stays visible, heavy at the bottom under the trails/text */
    background: linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.56) 45%, rgba(0,0,0,0.72) 100%);
    z-index: 0;
}

:where(.page-contact) .contact-hero::after{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--brand) 16%, #060c20) 0%, #060c20 55%);   /* floor kept LOW so building silhouettes sit above it */
    mix-blend-mode: lighten;
    z-index: 0;
}

:where(.page-contact) .contact-hero-canvas{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

:where(.page-contact) .contact-hero-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

:where(.page-contact) .contact-hero h1{
    line-height: 1.05;
    font-family: var(--font-serif);
    font-size: var(--title-hero);
    font-weight: 700;
    color: var(--ink-invert);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

:where(.page-contact) .contact-hero p{
    font-size: var(--text-lead);
    color: var(--rule-strong);
    line-height: 1.7;
}

/* Main Content */
:where(.page-contact) .contact-main{
    padding: 80px 60px;
    background: var(--surface-paper);
}

:where(.page-contact) .contact-container{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

/* Contact Info Section */
:where(.page-contact) .contact-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:where(.page-contact) .contact-info-header{
    margin-bottom: 10px;
}

:where(.page-contact) .contact-info-header h2{
    font-family: var(--font-serif);
    font-size: var(--title-card);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0;
}

:where(.page-contact) .contact-info-header p{
    color: var(--ink-soft);
    font-size: var(--text-lead);
    line-height: 1.6;
}

:where(.page-contact) .contact-info-header a{
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

:where(.page-contact) .contact-info-header a:hover{
    border-bottom-color: var(--brand);
}

/* Info Cards with Background Images */
:where(.page-contact) .info-card{
    position: relative;
    padding: 35px 30px;
    border-radius: 0;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--rule);
}

:where(.page-contact) .info-card::before{
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: opacity 0.4s ease;
    z-index: 0;
}

:where(.page-contact) .info-card:hover::before{
    opacity: 0.35;
}

:where(.page-contact) .info-card.location-card{
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(250,250,250,0.9));
}

:where(.page-contact) .info-card.location-card::before{
    background-image: url('/images/contact-location.jpg?v=2');
}

:where(.page-contact) .info-card.phone-card{
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(250,250,250,0.9));
}

:where(.page-contact) .info-card.phone-card::before{
    background-image: url('/images/contact-phone.jpg?v=2');
}

:where(.page-contact) .info-card-content{
    position: relative;
    z-index: 1;
}

:where(.page-contact) .info-card .eyebrow{
    font-size: var(--eyebrow-size);
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

:where(.page-contact) .info-card p{
    font-size: var(--text-lead);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
}

:where(.page-contact) .info-card a{
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

:where(.page-contact) .info-card a:hover{
    color: var(--brand);
    border-bottom-color: var(--brand);
}

/* Social Links */
:where(.page-contact) .contact-social{
    padding: 25px 30px;
    background: var(--surface-alt);
    border-radius: 0;
    border: 1px solid var(--rule);
}

:where(.page-contact) .contact-social .eyebrow{
    font-size: var(--eyebrow-size);
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

:where(.page-contact) .social-icons{
    display: flex;
    gap: 15px;
}

:where(.page-contact) .social-icons a{
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand), var(--accent-blue));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

:where(.page-contact) .social-icons a:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent);
}

:where(.page-contact) .social-icons svg{
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Contact Form */
:where(.page-contact) .contact-form-wrapper{
    background: var(--surface-paper);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--rule);
}

:where(.page-contact) .contact-form-wrapper h2{
    font-family: var(--font-serif);
    font-size: var(--title-card);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 0;
}

:where(.page-contact) .form-group{
    margin-bottom: 25px;
}

:where(.page-contact) .form-group label{
    display: block;
    font-size: var(--text-ui);
    font-weight: 600;
    color: var(--ink-body);
    margin-bottom: 8px;
}

:where(.page-contact) .form-group label .required{
    color: var(--danger);
}

.form-group input,
:where(.page-contact) .form-group textarea{
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--rule);
    border-radius: 0;
    font-size: var(--text-body);
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--surface);
}

.form-group input:focus,
:where(.page-contact) .form-group textarea:focus{
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent);
}

:where(.page-contact) .form-group textarea{
    min-height: 150px;
    resize: vertical;
}

:where(.page-contact) .form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

:where(.page-contact) .submit-btn{
    width: 100%;
    padding: 16px 32px;
    background: var(--primary-teal, var(--brand-deep));
    color: var(--ink-invert);
    border: 2px solid var(--primary-teal, var(--brand-deep));
    border-radius: 6px;
    font-size: var(--text-ui);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

:where(.page-contact) .submit-btn:hover{
    background: var(--surface);
    color: var(--primary-teal, var(--brand-deep));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--brand-deep) 25%, transparent);
}

:where(.page-contact) .submit-btn:disabled{
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

:where(.page-contact) .form-success{
    display: none;
    text-align: center;
    padding: 40px;
}

:where(.page-contact) .form-success.show{
    display: block;
}

:where(.page-contact) .form-success .icon{
    font-size: 4rem;
    margin-bottom: 20px;
}

:where(.page-contact) .form-success h3{
    font-size: var(--h3-sub);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

:where(.page-contact) .form-success p{
    color: var(--ink-soft);
}

/* City Fade Transition - overlays onto map */
:where(.page-contact) .city-fade{
    height: 200px;
    background: url('/images/contact-location.jpg?v=2') center/cover no-repeat;
    position: relative;
    z-index: 1;
    margin-bottom: -100px;
    pointer-events: none;
}

:where(.page-contact) .city-fade::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.6) 30%,
        rgba(26,26,26,0.4) 70%,
        transparent 100%);
}

/* Map Section */
:where(.page-contact) .map-section{
    padding: 0;
    background: #1a1a1a;
    position: relative;
}

:where(.page-contact) .map-container{
    height: 450px;
    position: relative;
}

:where(.page-contact) #contact-map{
    width: 100%;
    height: 100%;
    filter: none !important;
    transition: none !important;
}

:where(.page-contact) #contact-map:hover{
    filter: none !important;
}

/* CTA */
:where(.page-contact) .quick-cta{
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), rgba(8,145,178,0.1));
    padding: 60px 20px;
    text-align: center;
}

:where(.page-contact) .quick-cta h2{
    font-size: var(--title-card);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

:where(.page-contact) .quick-cta .btn-group{
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    :where(.page-contact) .contact-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    :where(.page-contact) .form-row{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :where(.page-contact) .contact-hero{
        height: 55vh;
        min-height: 380px;
        padding: 60px 20px 0;
    }
}


/* ===== insights/index.html  ->  :where(.page-insights) ============== */
/* ============================================
   BASE
   ============================================ */
:where(.page-insights) *{ box-sizing: border-box; }
body:where(.page-insights){
    font-family: var(--font-sans);
    background: var(--surface-paper);
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   HERO — CONDENSED
   ============================================ */
:where(.page-insights) .insights-hero{
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ink);
}
:where(.page-insights) #insightCanvas{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
:where(.page-insights) .hero-content{
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--ink-invert);
    padding: 60px 20px 0;
    pointer-events: none;
    max-width: 900px;
}
:where(.page-insights) .hero-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
    display: inline-block;
}
:where(.page-insights) .hero-label::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--brand-deep);
}
:where(.page-insights) .hero-title{
    font-family: var(--font-serif);
    font-size: var(--title-hero);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    color: var(--ink-invert);
}
:where(.page-insights) .hero-subtitle{
    font-size: var(--text-lead-fluid);
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
:where(.page-insights) .fade-in-up{ animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
:where(.page-insights) .delay-1{ animation-delay: 0.1s; opacity: 0; }
:where(.page-insights) .delay-2{ animation-delay: 0.2s; opacity: 0; }

/* ============================================
   ARTICLES — PHOTO TILE STYLE
   ============================================ */
:where(.page-insights) .articles-section{
    padding: 80px 60px;
}
:where(.page-insights) .articles-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}
:where(.page-insights) .articles-label::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--ink);
}
:where(.page-insights) .articles-title{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 48px;
    line-height: 1.15;
}

/* Tile Grid: Featured large + 2 smaller */
:where(.page-insights) .articles-tiles{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    min-height: 680px;
}

:where(.page-insights) .article-tile{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--ink-invert);
    transition: box-shadow 0.4s ease;
}
:where(.page-insights) .article-tile:hover{
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* Background image */
:where(.page-insights) .article-tile-bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
:where(.page-insights) .article-tile:hover .article-tile-bg{
    transform: scale(1.04);
}

/* Dark overlay */
:where(.page-insights) .article-tile-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.46) 100%);
    transition: background 0.4s ease;
}
:where(.page-insights) .article-tile:hover .article-tile-overlay{
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.55) 100%);
}

/* Content at bottom */
:where(.page-insights) .article-tile-content{
    position: relative;
    z-index: 1;
    padding: 32px;
}
:where(.page-insights) .article-tile-badge{
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 15%, transparent);
    padding: 4px 12px;
    margin-bottom: 12px;
}
:where(.page-insights) .article-tile-date{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
:where(.page-insights) .article-tile h3{
    font-family: var(--font-serif);
    font-size: var(--h3-editorial);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--ink-invert);
}
:where(.page-insights) .article-tile p{
    font-size: var(--text-card);
    line-height: 1.55;
    color: rgba(255,255,255,0.8);
    margin: 0 0 16px;
    max-width: 400px;
}
:where(.page-insights) .article-tile-cta{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: var(--text-2xs);
    font-weight: 600;
    color: var(--brand);
    transition: gap 0.3s ease;
}
:where(.page-insights) .article-tile:hover .article-tile-cta{ gap: 12px; }
:where(.page-insights) .article-tile-cta svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Featured tile — light overlay with dark text */
:where(.page-insights) .article-tile.featured .article-tile-overlay{
    background: linear-gradient(to top, rgba(10,20,30,0.75) 0%, rgba(10,20,30,0.45) 40%, rgba(10,20,30,0.3) 100%);
}
:where(.page-insights) .article-tile.featured:hover .article-tile-overlay{
    background: linear-gradient(to top, rgba(10,20,30,0.8) 0%, rgba(10,20,30,0.5) 50%, rgba(10,20,30,0.35) 100%);
}

/* Featured tile spans both rows */
:where(.page-insights) .article-tile.featured{
    grid-row: 1 / 4;
}
:where(.page-insights) .article-tile.featured h3{
    font-size: var(--title-feature);
}
:where(.page-insights) .article-tile.featured .article-tile-content{
    padding: 40px;
}

/* Stats row in featured tile */
:where(.page-insights) .article-tile-stats{
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}
:where(.page-insights) .article-tile-stat{
    text-align: left;
}
:where(.page-insights) .article-tile-stat-value{
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
}
:where(.page-insights) .article-tile-stat-label{
    font-size: var(--eyebrow-size);
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Subscribe tile — no image, dark bg */
:where(.page-insights) .article-tile.subscribe{
    background: var(--ink);
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: default;
}
:where(.page-insights) .article-tile.subscribe .article-tile-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
:where(.page-insights) .article-tile.subscribe h3{
    font-size: var(--h3-editorial);
}
:where(.page-insights) .article-tile.subscribe p{
    max-width: 280px;
    text-align: center;
}

/* ============================================
   NEWSLETTER
   ============================================ */
:where(.page-insights) .newsletter-section{
    padding: 0 60px 80px;
}
:where(.page-insights) .newsletter-inner{
    background: var(--ink);
    padding: 60px 48px;
    text-align: center;
}
:where(.page-insights) .newsletter-title{
    font-family: var(--font-serif);
    font-size: var(--title-card);
    font-weight: 700;
    color: var(--ink-invert);
    margin: 0 0 12px;
}
:where(.page-insights) .newsletter-desc{
    color: rgba(255,255,255,0.65);
    margin: 0 auto 32px;
    max-width: 450px;
    font-size: var(--text-body);
}
:where(.page-insights) .newsletter-form{
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
:where(.page-insights) .newsletter-input{
    flex: 1;
    min-width: 150px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--ink-invert);
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}
:where(.page-insights) .newsletter-input::placeholder{ color: rgba(255,255,255,0.3); }
:where(.page-insights) .newsletter-input:focus{ outline: none; border-color: var(--brand); }
:where(.page-insights) .newsletter-btn{
    padding: 14px 28px;
    background: var(--brand);
    color: var(--ink-invert);
    border: 2px solid var(--brand);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
:where(.page-insights) .newsletter-btn:hover{
    background: transparent;
    color: var(--brand);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :where(.page-insights) .insights-hero{
        height: 55vh;
        min-height: 380px;
    }
    :where(.page-insights) .hero-title{ font-size: var(--title-hero-sm); }

    :where(.page-insights) .articles-section{ padding: 60px 20px; }
    :where(.page-insights) .articles-tiles{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }
    :where(.page-insights) .article-tile.featured{
        grid-row: auto;
        min-height: 400px;
    }
    :where(.page-insights) .article-tile{
        min-height: 300px;
    }
    :where(.page-insights) .article-tile-content{ padding: 24px; }
    :where(.page-insights) .article-tile.featured .article-tile-content{ padding: 28px; }
    :where(.page-insights) .article-tile.featured h3{ font-size: var(--h3-sub); }
    :where(.page-insights) .article-tile h3{ font-size: var(--h3-article); }

    :where(.page-insights) .newsletter-section{ padding: 0 20px 60px; }
    :where(.page-insights) .newsletter-inner{ padding: 40px 24px; }
    :where(.page-insights) .newsletter-form{ flex-direction: column; }
    :where(.page-insights) .newsletter-input{ min-width: auto; }
}


/* ===== careers/index.html  ->  :where(.page-careers) ================ */
/* ============================================
   BASE
   ============================================ */
html:where(.page-careers){ overflow-x: clip; margin: 0; padding: 0; }
body:where(.page-careers){
    font-family: var(--font-sans);
    line-height: 1.6;
    color: #4a4a4a;
    background: var(--surface-paper);
    margin: 0; padding: 0;
    overflow-x: clip;
}
body:where(.page-careers).modal-open{ overflow: hidden; position: fixed; width: 100%; }

:where(.page-careers) .fluency-container{ width: 100%; margin: 0; padding: 0; position: relative; overflow-x: clip; }

/* ============================================
   HERO
   ============================================ */
:where(.page-careers) .careers-hero{
    background: url('/images/about/team.jpg?v=3') center/cover no-repeat;
    height: 65vh;
    min-height: 480px;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.page-careers) .careers-hero::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(26,26,26,0.75) 50%, rgba(0,0,0,0.85) 100%);
}
:where(.page-careers) .careers-hero::after{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 60%);
}
:where(.page-careers) .careers-hero-content{
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 0 40px;
}
:where(.page-careers) .careers-hero-label{
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    padding-left: 20px;
    position: relative;
}
:where(.page-careers) .careers-hero-label::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--brand);
}
:where(.page-careers) .careers-hero h1{
    letter-spacing: -0.02em;
    font-family: var(--font-serif);
    font-size: var(--title-hero);
    font-weight: 700;
    line-height: 1.05;
    color: var(--ink-invert);
    margin: 0 0 24px;
}
:where(.page-careers) .careers-hero h1 em{
    font-style: normal;
    color: var(--brand);
}
:where(.page-careers) .careers-hero-sub{
    font-size: var(--text-lead);
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
:where(.page-careers) .careers-hero-cta{
    display: inline-block;
    padding: 16px 40px;
    background: var(--brand);
    color: var(--ink-invert);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--brand);
    transition: all 0.3s ease;
}
:where(.page-careers) .careers-hero-cta:hover{
    background: transparent;
    color: var(--ink-invert);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 30%, transparent);
}

/* ============================================
   WHY FLUENCY — ACCENTURE SWAP CARDS
   ============================================ */
:where(.page-careers) .why-section{
    padding: 80px 60px;
}
:where(.page-careers) .why-section-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}
:where(.page-careers) .why-section-label::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--ink);
}
:where(.page-careers) .why-section-title{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 48px;
    line-height: 1.15;
}
:where(.page-careers) .why-tiles-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
:where(.page-careers) .why-tile{
    display: flex;
    flex-direction: column;
    background: var(--surface-paper);
    height: 440px;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
    cursor: default;
}
:where(.page-careers) .why-tile:hover{
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
:where(.page-careers) .why-tile-header{
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
:where(.page-careers) .why-tile-tag{
    font-family: var(--font-sans);
    font-size: var(--text-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
:where(.page-careers) .why-tile h3{
    font-family: var(--font-sans);
    font-size: var(--h3-card);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    margin: 0;
}
:where(.page-careers) .why-tile-swap{
    position: relative;
    flex: 1;
    overflow: hidden;
}
:where(.page-careers) .why-tile-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
}
:where(.page-careers) .why-tile:hover .why-tile-img{
    opacity: 0;
    transform: scale(1.05);
}
:where(.page-careers) .why-tile-text{
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
:where(.page-careers) .why-tile:hover .why-tile-text{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
:where(.page-careers) .why-tile-desc{
    font-size: var(--text-card);
    line-height: 1.7;
    color: var(--ink-body);
    margin: 0 0 16px;
}
:where(.page-careers) .why-tile-bullets{
    list-style: none;
    padding: 0;
    margin: 0;
}
:where(.page-careers) .why-tile-bullets li{
    font-size: var(--text-xs);
    line-height: 1.5;
    color: var(--ink-soft);
    padding: 4px 0 4px 16px;
    position: relative;
}
:where(.page-careers) .why-tile-bullets li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
}

/* Mobile active state — same as hover */
:where(.page-careers) .why-tile.active .why-tile-img{ opacity: 0; transform: scale(1.05); }
:where(.page-careers) .why-tile.active .why-tile-text{ opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    :where(.page-careers) .why-tile:hover .why-tile-img{ opacity: 1; transform: none; }
    :where(.page-careers) .why-tile:hover .why-tile-text{ opacity: 0; transform: translateY(20px); }
    :where(.page-careers) .why-tile.active .why-tile-img{ opacity: 0; transform: scale(1.05); }
    :where(.page-careers) .why-tile.active .why-tile-text{ opacity: 1; transform: translateY(0); }
}

/* ============================================
   CURRENT OPENINGS — DARK HEADER + CLEAN CARDS
   ============================================ */
:where(.page-careers) .openings-section{
    background: var(--surface-paper);
}

/* Dark header band */
:where(.page-careers) .openings-header{
    position: relative;
    overflow: hidden;
    background: var(--ink);
    padding: 60px 60px 56px;
}
:where(.page-careers) .openings-header::after{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 88% 18%, color-mix(in srgb, var(--brand) 18%, transparent) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--brand) 7%, transparent) 0%, transparent 45%);
    pointer-events: none;
}
:where(.page-careers) .openings-header-inner{
    position: relative;
    z-index: 1;
}
:where(.page-careers) .openings-header-top{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 0;
}
:where(.page-careers) .openings-header-left{ flex-shrink: 0; }
:where(.page-careers) .openings-count{
    font-family: var(--font-sans);
    font-size: var(--stat-value);
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 36px color-mix(in srgb, var(--brand) 35%, transparent);
}
:where(.page-careers) .openings-count-label{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
}
:where(.page-careers) .openings-header-right{
    flex: 1;
    text-align: right;
    max-width: 480px;
}
:where(.page-careers) .openings-updated{
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.32);
}
:where(.page-careers) .openings-updated span{
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* Search in dark band */
:where(.page-careers) .job-search{
    max-width: 100%;
}
:where(.page-careers) .search-input{
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: #edf0f4;
    color: var(--ink);
    font-size: var(--text-body);
    font-family: var(--font-sans);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
:where(.page-careers) .search-input::placeholder{ color: #8a93a0; }
:where(.page-careers) .search-input:focus{
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}

/* Job cards area */
:where(.page-careers) .openings-body{
    padding: 40px 60px 80px;
}

/* Job Cards — clean editorial */
:where(.page-careers) .job-card{
    background: var(--surface);
    border: 1px solid #ececf0;
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 0 26px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
:where(.page-careers) .job-card:hover{
    transform: translateY(-2px);
    border-color: #dfe3ea;
    box-shadow: 0 14px 32px -16px color-mix(in srgb, var(--brand) 32%, transparent), 0 4px 14px rgba(16,24,40,0.07);
}
:where(.page-careers) .job-card.expanded{
    border-color: #d6dbe3;
    box-shadow: 0 16px 38px -18px color-mix(in srgb, var(--brand) 30%, transparent), 0 6px 18px rgba(16,24,40,0.08);
}
:where(.page-careers) .job-card.featured{
    background: linear-gradient(180deg, #f3fffc 0%, #ffffff 58%);
    border-color: color-mix(in srgb, var(--brand) 38%, transparent);
}
:where(.page-careers) .job-card.featured:hover{
    box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--brand) 42%, transparent), 0 4px 14px rgba(16,24,40,0.07);
}
:where(.page-careers) .featured-badge{
    display: inline-block;
    background: var(--brand);
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
:where(.page-careers) .freshness-badge{
    display: inline-block;
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
:where(.page-careers) .freshness-badge.new{ background: var(--ink); }
:where(.page-careers) .freshness-badge.hot{ background: #dc2626; }
:where(.page-careers) .freshness-badge.recent{ background: var(--ink-soft); }

:where(.page-careers) .job-card-header{
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
:where(.page-careers) .job-card-header-left{ flex: 1; }
:where(.page-careers) .job-card-title-row{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
:where(.page-careers) .job-card h3{
    font-family: var(--font-sans);
    font-size: var(--h3-card);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
:where(.page-careers) .job-meta{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    font-family: var(--font-sans);
    font-size: var(--text-label);
    color: var(--ink-soft);
}
:where(.page-careers) .job-meta span{
    background: none;
    border: none;
    padding: 0;
}
:where(.page-careers) .job-meta-sep{
    color: var(--rule-strong);
}
:where(.page-careers) .job-meta .job-salary{
    color: var(--brand-dark);
    font-weight: 600;
}

/* Chevron expand icon — circular like services */
:where(.page-careers) .job-expand-icon{
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #9aa3af;
    border: 1.5px solid #e3e7ee;
    border-radius: 50%;
    background: var(--surface);
}
:where(.page-careers) .job-expand-icon::before{ content: none; }
:where(.page-careers) .job-expand-icon svg{
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}
:where(.page-careers) .job-card.expanded .job-expand-icon{
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink-invert);
}
:where(.page-careers) .job-card.expanded .job-expand-icon svg{
    transform: rotate(180deg);
}
:where(.page-careers) .job-card:hover .job-expand-icon{
    color: var(--brand);
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 7%, transparent);
}
:where(.page-careers) .job-card.expanded:hover .job-expand-icon{
    color: var(--ink-invert);
}

:where(.page-careers) .job-card-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
}
:where(.page-careers) .job-card.expanded .job-card-body{
    max-height: none;
    padding: 0 0 32px;
    transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}
:where(.page-careers) .job-description{
    color: var(--ink-body);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: var(--text-card);
    max-width: 800px;
}
:where(.page-careers) .job-description.truncated{ max-height: 300px; overflow: hidden; position: relative; }
:where(.page-careers) .job-description.truncated::after{
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(transparent, #fff);
}
:where(.page-careers) .job-description.expanded{ max-height: none; }
:where(.page-careers) .job-description.expanded::after{ display: none; }
:where(.page-careers) .job-card.featured .job-description.truncated::after{
    background: linear-gradient(transparent, #fafffe);
}

:where(.page-careers) .see-more-btn{
    background: none; border: none; color: var(--ink); font-weight: 600;
    cursor: pointer; padding: 8px 0; font-size: var(--text-xs);
    display: flex; align-items: center; gap: 6px; margin-bottom: 20px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
:where(.page-careers) .see-more-btn:hover{ color: var(--brand); }
:where(.page-careers) .see-more-btn svg{ width: 16px; height: 16px; transition: transform 0.3s ease; }
:where(.page-careers) .see-more-btn.expanded svg{ transform: rotate(180deg); }

/* Apply / View Details buttons */
:where(.page-careers) .job-actions{
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
:where(.page-careers) .job-action-btn{
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}
:where(.page-careers) .job-action-btn-primary{
    background: var(--ink);
    color: var(--ink-invert);
    border-color: var(--ink);
}
:where(.page-careers) .job-action-btn-primary:hover{
    background: var(--surface);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
:where(.page-careers) .job-action-btn-secondary{
    background: var(--surface);
    color: var(--ink);
    border-color: var(--rule-strong);
}
:where(.page-careers) .job-action-btn-secondary:hover{
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Share Buttons */
:where(.page-careers) .share-section{ padding-top: 20px; border-top: 1px solid var(--rule); }
:where(.page-careers) .share-label{ font-size: var(--eyebrow-size); font-weight: 600; color: var(--ink-muted); margin-bottom: 10px; display: block; text-transform: uppercase; letter-spacing: 0.05em; }
:where(.page-careers) .share-buttons{ display: flex; gap: 8px; flex-wrap: wrap; }
:where(.page-careers) .share-btn{
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    padding: 0; border: none; border-radius: 50%;
    color: var(--ink-invert); text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.2s ease; cursor: pointer;
}
:where(.page-careers) .share-btn svg{ width: 18px; height: 18px; fill: currentColor; }
:where(.page-careers) .share-btn:hover{ transform: translateY(-2px); filter: brightness(1.12); color: var(--ink-invert); }
:where(.page-careers) .share-btn:focus-visible{ outline: 2px solid var(--brand); outline-offset: 2px; }
:where(.page-careers) .share-btn.facebook{ background: #1877f2; }
:where(.page-careers) .share-btn.linkedin{ background: #0a66c2; }
:where(.page-careers) .share-btn.email{ background: #ea4335; }
:where(.page-careers) .share-btn.copy{ background: #475569; }
:where(.page-careers) .share-btn.copy.copied{ background: #10b981; }
:where(.page-careers) .share-btn [class^="copy-text-"]{ display: none; }

:where(.page-careers) .loading{ text-align: center; color: var(--ink-muted); font-size: var(--text-body); padding: 60px 0; }
:where(.page-careers) .no-jobs{
    text-align: center; color: var(--ink-soft); font-size: var(--text-body); padding: 60px 0;
}
:where(.page-careers) .load-more-container{ text-align: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
:where(.page-careers) .load-more-btn{
    display: inline-block; padding: 14px 40px;
    background: var(--ink); color: var(--ink-invert); border: 2px solid var(--ink);
    font-family: var(--font-sans); font-weight: 600; font-size: var(--text-label);
    cursor: pointer; transition: all 0.3s ease;
    text-transform: uppercase; letter-spacing: 0.08em;
}
:where(.page-careers) .load-more-btn:hover{
    background: var(--surface); color: var(--ink);
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ============================================
   CTA SECTION
   ============================================ */
:where(.page-careers) .careers-cta{
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
:where(.page-careers) .careers-cta-inner{
    padding: 80px 60px;
}
:where(.page-careers) .careers-cta-title{
    font-family: var(--font-serif);
    font-size: var(--title-section);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 16px;
}
:where(.page-careers) .careers-cta-sub{
    font-size: var(--text-lead);
    line-height: 1.6;
    color: #666;
    margin: 0 auto 36px;
    max-width: 600px;
}
:where(.page-careers) .careers-cta-buttons{
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
:where(.page-careers) .careers-cta-btn{
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}
:where(.page-careers) .careers-cta-btn-primary{
    background: var(--brand); color: var(--ink-invert); border-color: var(--brand);
}
:where(.page-careers) .careers-cta-btn-primary:hover{
    background: var(--surface); color: var(--brand);
    transform: translateY(-2px); box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 30%, transparent);
}
:where(.page-careers) .careers-cta-btn-secondary{
    background: var(--ink); color: var(--ink-invert); border-color: var(--ink);
}
:where(.page-careers) .careers-cta-btn-secondary:hover{
    background: var(--surface); color: var(--ink);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ============================================
   MODAL / OVERLAY / TOAST (unchanged functionality)
   ============================================ */
:where(.page-careers) .modal{
    display: none; position: fixed; z-index: 1000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
:where(.page-careers) .modal-content{
    background: white; margin: 50px auto; padding: 40px;
    max-width: 600px; position: relative; z-index: 1001;
    border: 1px solid #e0e0e0; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: calc(100vh - 100px); overflow-y: auto;
}
:where(.page-careers) .close{
    color: #aaa; position: absolute; top: 15px; right: 20px;
    font-size: 28px; font-weight: bold; cursor: pointer; line-height: 20px; z-index: 1002;
}
:where(.page-careers) .close:hover{ color: #000; }
:where(.page-careers) .modal h2{ color: var(--ink); margin-bottom: 20px; font-size: var(--title-card); padding-right: 40px; font-family: var(--font-serif);
    font-weight: 700;
}
:where(.page-careers) .modal h2 span{ color: var(--brand); }
:where(.page-careers) #modalMessage{ margin-bottom: 15px; }
:where(.page-careers) .form-group{ margin-bottom: 20px; }
:where(.page-careers) .form-group label{ display: block; margin-bottom: 8px; color: #333; font-weight: 500; cursor: default; user-select: none; }
:where(.page-careers) .form-group input, :where(.page-careers) .form-group textarea{
    width: 100%; padding: 12px; border: 2px solid #e0e0e0;
    font-size: 1em; font-family: inherit; transition: border-color 0.3s ease;
    display: block; box-sizing: border-box; position: relative; z-index: 100;
    cursor: text !important; pointer-events: auto !important;
}
:where(.page-careers) .modal-content form{ position: relative; z-index: 1; }
:where(.page-careers) .form-group input:focus, :where(.page-careers) .form-group textarea:focus{ outline: none; border-color: var(--brand); }
:where(.page-careers) .form-group textarea{ min-height: 120px; resize: vertical; }
:where(.page-careers) .file-input-wrapper{ position: relative; overflow: hidden; display: inline-block; width: 100%; }
:where(.page-careers) .file-input-wrapper input[type=file]{ position: absolute; left: -9999px; }
:where(.page-careers) .file-input-label{
    display: block; padding: 12px; background: #f0f0f0;
    border: 2px dashed #ccc; text-align: center; cursor: pointer; transition: all 0.3s ease;
}
:where(.page-careers) .file-input-label:hover{ background: #e8e8e8; border-color: var(--brand); }
:where(.page-careers) .file-name{ margin-top: 8px; font-size: 0.9em; color: #666; }
/* Resume-first dropzone + parse feedback */
:where(.page-careers) .resume-upload-group{ background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
:where(.page-careers) .resume-dropzone{ border-radius: 10px; padding: 26px 16px; background: var(--surface); border: 2px dashed #cbd5e1; }
:where(.page-careers) .resume-dropzone:hover{ background: var(--brand-tint); border-color: var(--brand); }
:where(.page-careers) .resume-dropzone.has-file{ border-style: solid; border-color: var(--brand); background: var(--brand-tint); }
:where(.page-careers) .resume-dropzone .upload-icon{ width: 30px; height: 30px; color: var(--brand); display: block; margin: 0 auto 10px; }
:where(.page-careers) .resume-dropzone .dz-main{ display: block; font-weight: 600; color: #0f172a; }
:where(.page-careers) .resume-dropzone .dz-sub{ display: block; font-size: 0.82em; color: #64748b; margin-top: 4px; }
:where(.page-careers) .parse-status{ margin-top: 12px; font-size: 0.88em; display: none; align-items: center; gap: 8px; }
:where(.page-careers) .parse-status.show{ display: flex; }
:where(.page-careers) .parse-status.loading, :where(.page-careers) .parse-status.ok{ color: var(--brand-deep); }
:where(.page-careers) .parse-status.warn{ color: #b45309; }
:where(.page-careers) .parse-spinner{ width: 16px; height: 16px; border: 2px solid #99f6e4; border-top-color: var(--brand-deep); border-radius: 50%; animation: spin .7s linear infinite; flex: none; }
:where(.page-careers) .form-row{ display: flex; gap: 14px; flex-wrap: wrap; }
:where(.page-careers) .form-row .form-group{ flex: 1 1 140px; }
:where(.page-careers) .field-autofilled{ animation: fieldGlow 1.8s ease; }
@keyframes fieldGlow { 0% { background: #ccfbf1; } 100% { background: var(--surface); } }
:where(.page-careers) .submit-btn{
    background: var(--brand); color: white; border: 2px solid var(--brand);
    padding: 14px 36px; font-size: var(--text-body); cursor: pointer; width: 100%;
    transition: all 0.3s ease; font-family: var(--font-sans);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
:where(.page-careers) .submit-btn:hover:not(:disabled){ background: var(--surface); color: var(--brand); transform: translateY(-2px); }
:where(.page-careers) .submit-btn:disabled{ opacity: 0.6; cursor: not-allowed; }

:where(.page-careers) .processing-overlay{
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); display: none;
    justify-content: center; align-items: center; z-index: 2000;
}
:where(.page-careers) .processing-content{ background: white; padding: 40px; text-align: center; max-width: 400px; border: 1px solid #e0e0e0; }
:where(.page-careers) .spinner{ width: 60px; height: 60px; margin: 0 auto 20px; border: 4px solid #f0f0f0; border-top: 4px solid var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
:where(.page-careers) .processing-text{ font-size: 1.2em; color: #333; margin-bottom: 10px; font-weight: 600; }
:where(.page-careers) .processing-subtext{ color: #666; font-size: 0.9em; }

:where(.page-careers) .toast-notification{
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white; padding: 40px 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); z-index: 3000;
    text-align: center; opacity: 0; transition: all 0.3s ease;
    border: 1px solid #e0e0e0; pointer-events: none;
}
:where(.page-careers) .toast-notification.show{ opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
:where(.page-careers) .toast-icon{ font-size: 4em; margin-bottom: 20px; animation: bounceIn 0.6s ease; color: var(--brand); }
@keyframes bounceIn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
:where(.page-careers) .toast-title{ font-size: 1.8em; color: #333; font-weight: 700; margin-bottom: 15px; }
:where(.page-careers) .toast-message{ font-size: 1.1em; color: #666; line-height: 1.6; }
:where(.page-careers) .toast-overlay{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2999; display: none; pointer-events: none; }
:where(.page-careers) .toast-overlay.show{ display: block; pointer-events: auto; }

:where(.page-careers) .error-message{ background: #ff4444; color: white; padding: 15px; margin-bottom: 20px; text-align: center; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :where(.page-careers) .why-tiles-grid{ grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    :where(.page-careers) .careers-hero{ height: 55vh; min-height: 380px; }
    :where(.page-careers) .careers-hero-content{ padding: 0 20px; }
    :where(.page-careers) .careers-hero h1{ font-size: var(--title-hero-sm); }
    :where(.page-careers) .careers-hero-sub{ font-size: var(--text-body); }

    :where(.page-careers) .why-section{ padding: 60px 20px; }
    :where(.page-careers) .why-tiles-grid{ grid-template-columns: 1fr; gap: 16px; }
    :where(.page-careers) .why-tile{ height: 380px; }
    :where(.page-careers) .why-tile-header{ padding: 20px 24px; }
    :where(.page-careers) .why-tile-text{ padding: 24px; }

    :where(.page-careers) .openings-header{ padding: 40px 20px 36px; }
    :where(.page-careers) .openings-header-top{ flex-direction: column; align-items: flex-start; gap: 18px; }
    :where(.page-careers) .openings-header-right{ text-align: left; max-width: 100%; }
    :where(.page-careers) .openings-count{ font-size: var(--stat-value-sm); }
    :where(.page-careers) .openings-body{ padding: 28px 20px 60px; }

    :where(.page-careers) .careers-cta-inner{ padding: 60px 20px; }

    :where(.page-careers) .careers-cta-btn{
        width: 100%;
        text-align: center;
    }

    :where(.page-careers) .job-card-header{ padding: 20px 0; gap: 12px; }
    :where(.page-careers) .job-card h3{ font-size: var(--text-md); }
    :where(.page-careers) .job-card-title-row{ flex-wrap: wrap; }
    :where(.page-careers) .featured-badge, :where(.page-careers) .freshness-badge{ font-size: 0.6rem; padding: 2px 8px; }

    :where(.page-careers) .job-actions{ flex-direction: column; }
    :where(.page-careers) .share-buttons{ gap: 6px; }

    :where(.page-careers) .modal-content{ margin: 20px; padding: 20px; }
}

/* ---- Client-role card internals ---- */
:where(.page-careers) .job-card .job-descriptor{
    color: var(--brand-dark); font-weight: 600; font-size: var(--text-label);
    text-transform: none; letter-spacing: 0; line-height: 1.45; margin-bottom: 7px;
}
:where(.page-careers) .job-tags{ display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; }
:where(.page-careers) .job-tag{ background: #f1f5f9; color: #334155; border-radius: 6px; padding: 4px 10px; font-size: 0.78rem; font-weight: 500; }
:where(.page-careers) .job-reqs{ margin: 16px 0 4px; padding-left: 20px; }
:where(.page-careers) .job-reqs li{ margin-bottom: 7px; color: #475569; font-size: var(--text-card); line-height: 1.5; }
:where(.page-careers) .job-reqs-label{ font-weight: 700; color: var(--ink); font-size: var(--text-sm); margin: 18px 0 8px; }
:where(.page-careers) .client-board-note{ color: #64748b; font-size: var(--text-xs); line-height: 1.6; margin: 6px 0 22px; max-width: 760px; }

/* ---- Faceted board: sidebar filters + scrolling feed ---- */
:where(.page-careers) .board{ display: grid; grid-template-columns: 250px 1fr; gap: 38px; align-items: start; position: relative; }
:where(.page-careers) .board-main{ min-width: 0; }

/* Sidebar */
:where(.page-careers) .board-filters{ position: sticky; top: calc(var(--sticky-top, 100px) + 24px); align-self: start; }
:where(.page-careers) .filters-top{ display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
:where(.page-careers) .filters-title{ font-family: var(--font-sans); font-weight: 700; font-size: var(--text-md); color: var(--ink); }
:where(.page-careers) .filters-clear{ margin-left: auto; background: none; border: 0; padding: 0; cursor: pointer; color: var(--brand); font: inherit; font-size: 0.84rem; font-weight: 600; }
:where(.page-careers) .filters-clear:hover{ text-decoration: underline; }
:where(.page-careers) .filters-x{ display: none; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: #64748b; cursor: pointer; }
:where(.page-careers) .facet-group{ border-top: 1px solid #eef2f6; padding: 16px 0; }
:where(.page-careers) .facet-group:first-child{ border-top: 0; padding-top: 0; }
:where(.page-careers) .facet-legend{ display: flex; align-items: center; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: var(--text-card); color: var(--ink); }
:where(.page-careers) .facet-caret{ margin-left: auto; transition: transform 0.2s; color: #94a3b8; font-size: 0.7rem; }
:where(.page-careers) .facet-group.collapsed .facet-caret{ transform: rotate(-90deg); }
:where(.page-careers) .facet-options{ margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
:where(.page-careers) .facet-group.collapsed .facet-options{ display: none; }
:where(.page-careers) .facet-opt{ display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 0.88rem; color: #334155; }
:where(.page-careers) .facet-opt input{ width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex: none; }
:where(.page-careers) .facet-opt-label{ flex: 1; }
:where(.page-careers) .facet-opt-count{ color: #94a3b8; font-size: 0.78rem; }
:where(.page-careers) .facet-opt:hover{ color: var(--brand-dark); }
:where(.page-careers) .facet-opt.is-zero{ opacity: 0.4; }
:where(.page-careers) .facet-more{ background: none; border: 0; padding: 6px 0 0; cursor: pointer; color: var(--brand); font: inherit; font-size: var(--text-label); font-weight: 600; }
:where(.page-careers) .facet-extra.hidden{ display: none; }

/* Sticky toolbar */
/* Sticky "header block": tucks under the fixed nav (which has a higher z-index and
   covers the overlap), so scrolling content never shows a sliver above it. */
:where(.page-careers) .board-toolbar{ position: sticky; top: var(--sticky-top, 100px); z-index: 30; background: var(--surface-paper); padding: 18px 0 16px; margin-bottom: 20px; border-bottom: 1px solid #ececf0; }
:where(.page-careers) .toolbar-search{ position: relative; display: flex; align-items: center; gap: 10px; }
:where(.page-careers) .toolbar-search-icon{ position: absolute; left: 18px; width: 18px; height: 18px; fill: var(--brand); pointer-events: none; }
:where(.page-careers) .filters-toggle{ display: none; align-items: center; gap: 7px; white-space: nowrap; background: var(--surface); border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 14px; height: 48px; font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem; color: #334155; cursor: pointer; }
:where(.page-careers) .filters-toggle svg{ width: 18px; height: 18px; fill: currentColor; }
:where(.page-careers) .filters-toggle-count{ display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--ink-invert); font-size: var(--text-micro); font-weight: 700; }
:where(.page-careers) .filters-toggle-count.show{ display: inline-flex; }
:where(.page-careers) .toolbar-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; min-height: 20px; }
:where(.page-careers) .active-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
:where(.page-careers) .chip{ display: inline-flex; align-items: center; gap: 4px; background: #ecfdf8; color: var(--brand-dark); border: 1px solid #99f6e4; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: var(--text-2xs); font-weight: 600; }
:where(.page-careers) .chip button{ background: none; border: 0; cursor: pointer; color: var(--brand-dark); font-size: var(--text-md); line-height: 1; padding: 0 3px; opacity: 0.65; }
:where(.page-careers) .chip button:hover{ opacity: 1; }
:where(.page-careers) .result-count{ margin-left: auto; color: #64748b; font-size: 0.88rem; }
:where(.page-careers) .result-count strong{ color: var(--ink); }

:where(.page-careers) .board-backdrop{ display: none; }

/* Mobile: sidebar becomes a slide-in drawer */
@media (max-width: 860px) {
    :where(.page-careers) .board{ grid-template-columns: 1fr; gap: 0; }
    :where(.page-careers) .filters-toggle{ display: inline-flex; }
    :where(.page-careers) .board-filters{
        position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 1200;
        background: var(--surface); padding: 22px; overflow-y: auto;
        transform: translateX(-100%); transition: transform 0.28s ease; box-shadow: 0 0 40px rgba(0,0,0,0.18);
    }
    :where(.page-careers) .board-filters.open{ transform: translateX(0); }
    :where(.page-careers) .filters-x{ display: block; }
    :where(.page-careers) .board-backdrop{ display: block; position: fixed; inset: 0; z-index: 1100; background: rgba(15,23,42,0.42); border: 0; padding: 0; }
    :where(.page-careers) .board-backdrop[hidden]{ display: none; }
    :where(.page-careers) .result-count{ margin-left: 0; width: 100%; }
}

/* ============================================================
   ABOUT / team — NYT "story row" layout (LIVE from 2026-09-01)
   Measured off nytimes.com 2026-09-01: story thumbs 90-152px,
   headlines 16-20px, thin rules between items AND between columns.
   Pure CSS reflow of the existing markup - no HTML changes.
   ============================================================ */
:where(.page-about) .team-grid{
    /* 3 up: each group is exactly 3 people, so 2 columns left a ragged empty cell */
    grid-template-columns: repeat(3, 1fr);
    max-width: 1320px;
    gap: 0 36px;
}
/* NYT's signature vertical column rule - every column but the last */
:where(.page-about) .team-grid > .team-card:not(:nth-child(3n)){
    border-right: 1px solid rgba(28,27,30,0.16);
    padding-right: 36px;
    margin-right: -18px;
}
:where(.page-about) .team-card{
    display: flex;
    flex-direction: row;          /* image LEFT, as on their headlines rows */
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(28,27,30,0.18);
}
:where(.page-about) .np-photo{
    flex: 0 0 160px;
    width: 160px;   /* image lands ~150px = top of NYT's own 90-152 range */
    padding: 4px;
}
:where(.page-about) .np-cutline{
    flex: 1 1 auto;
    padding: 0;
    border-bottom: 0;
}
:where(.page-about) .np-kicker{ min-height: 3.2em; margin-bottom: 4px; }  /* 2 lines so names align across the row */
:where(.page-about) .np-name{
    font-size: 1.25rem;           /* their headline size */
    line-height: 1.18;
    margin-bottom: 6px;
}
:where(.page-about) .np-bio{ font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 900px){
    :where(.page-about) .team-grid{ grid-template-columns: 1fr; max-width: 620px; }
    :where(.page-about) .team-grid > .team-card:not(:nth-child(3n)){
        border-right: 0; padding-right: 0; margin-right: 0; }
    /* The 2-up mobile grid this layout replaced centred its odd last card at half
       width. Each group is exactly 3 people, so in ONE column that left EVERY THIRD
       card indented and squeezed. Neutralise it here, after the rule that sets it. */
    :where(.page-about) .team-grid .team-card:last-child:nth-child(odd){
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }
}

/* ===== Hero background plates (2026-09-01) — low-key AI plates under the canvas animations ===== */
:where(.page-services) .services-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/services-hero-bg.jpg');
    background-image: image-set(url('/images/services-hero-bg.webp') type('image/webp'), url('/images/services-hero-bg.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: 50% 30%;   /* plate horizon (30%) sits just above the canvas vanishing point (32%) */
    opacity: .6;
    pointer-events: none;
}
:where(.page-insights) .insights-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/insights-hero-bg-2.jpg');
    background-image: image-set(url('/images/insights-hero-bg-2.webp') type('image/webp'), url('/images/insights-hero-bg-2.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center;
    opacity: .55;
    pointer-events: none;
}
:where(.page-insights) #insightCanvas{ z-index: 1; }
