/* ============================================
   DASHBOARD V1 — Left sidebar, full-height bento right
   ============================================ */

.dashboard-body { height: 100vh; overflow: hidden; }

.dashboard-main {
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(to bottom, var(--navy-deep) 0%, var(--navy-deep) 50%, var(--navy-midnight) 100%);
    position: relative;
}

/* Background texture */
.dashboard-main::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.18)'/%3E%3C/svg%3E");
    background-size: 28px 28px;
    opacity: 0.12;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
}

.dashboard-main::after {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 70%; height: 80%;
    background: radial-gradient(ellipse at 70% 30%, rgba(74, 144, 217, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Nav */
.nav-dashboard {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

/* ---------- LAYOUT: two columns ---------- */
.v1-layout {
    /* 75vh grid zone — leaves clean 25vh space below for additional elements */
    height: calc(80vh - 80px);
    display: grid;
    grid-template-columns: 30% 70%;
    position: relative;
    z-index: 1;
}

/* ---------- LEFT COLUMN ---------- */
.v1-left {
    display: flex;
    flex-direction: column;
    padding: 40px 20px 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    height: 100%;
    margin-left: 60px;
}

.v1-headline {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding-bottom: 8px;
    padding-top: 40px;
}

.v1-headline-text {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: -0.02em;
    color: var(--white);
}

.v1-accent {
    font-style: normal;
    font-weight: 400;
    color: var(--accent-blue);
}

/* ── CTA Button: Why Partner with Us ── */
.v1-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 100px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.v1-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 32px rgba(74, 144, 217, 0.35),
        0 2px 8px rgba(74, 144, 217, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Solid dark base with blue tint */
.v1-cta-bg {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(
        135deg,
        rgba(74, 144, 217, 0.22) 0%,
        rgba(30, 60, 120, 0.35) 50%,
        rgba(74, 144, 217, 0.18) 100%
    );
    border: 1px solid rgba(74, 144, 217, 0.45);
    transition: background 0.4s ease, border-color 0.4s ease;
    z-index: 0;
}

.v1-cta-btn:hover .v1-cta-bg {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 217, 0.38) 0%,
        rgba(30, 60, 140, 0.55) 50%,
        rgba(74, 144, 217, 0.32) 100%
    );
    border-color: rgba(74, 144, 217, 0.75);
}

/* Shimmer sweep on hover */
.v1-cta-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    z-index: 1;
    transition: none;
}

.v1-cta-btn:hover .v1-cta-shimmer {
    animation: ctaShimmer 0.55s ease-out forwards;
}

@keyframes ctaShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(160%); }
}

/* Label + arrow */
.v1-cta-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
}

.v1-cta-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    white-space: nowrap;
}

.v1-cta-arrow {
    color: rgba(147, 197, 253, 0.9);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                color 0.3s ease;
}

.v1-cta-btn:hover .v1-cta-arrow {
    transform: rotate(45deg);
    color: #fff;
}

/* Metrics block — now lives in .v1-bottom-left */
.v1-metrics-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}


/* Metrics */
.v1-metrics {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 15px;
}

.v1-stat {
    text-align: center;
    flex: 1;
    padding: 0;
}

.v1-stat + .v1-stat {
    padding-left: 15px;
    position: relative;
}

.v1-stat + .v1-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 52px;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* ---------- BOTTOM ZONE: 25vh — clocks bottom-right ---------- */
.v1-bottom {
    height: 20vh;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v1-bottom-left {
    display: flex;
    align-items: center;
    justify-self: start;
    margin-left: 60px;
    padding: 0 20px;
}

.v1-bottom-right {
    display: flex;
    align-items: center;
    justify-self: end;
    padding: 0 16px;
}

/* Tagline — center column of the bottom grid */
.v1-tagline {
    text-align: center;
    justify-self: center;
    font-size: clamp(0.85rem, 1.34vw, 1.25rem);
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--white);
    max-width: 560px;
    margin: 0;
    padding: 0 16px;
}

.v1-tagline-accent {
    font-style: normal;
    color: rgba(147, 197, 253, 0.6);
}

/* Clocks — now lives in the 25vh bottom-right zone */
.v1-clocks {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

/* Clock styles (reused from dashboard.css) */
.clock-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.clock-face { width: clamp(50px, 4.5vw, 70px); height: clamp(50px, 4.5vw, 70px); }
.clock-svg { width: 100%; height: 100%; }
.clock-ring { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.clock-hand { stroke-linecap: round; transform-origin: 50px 50px; transition: transform 0.3s cubic-bezier(0.4, 2.08, 0.55, 0.44); }
.clock-hand-hour { stroke-width: 2.5; stroke: var(--white); }
.clock-hand-minute { stroke-width: 1.5; stroke: rgba(255, 255, 255, 0.8); }
.clock-hand-second { stroke-width: 0.7; stroke: var(--accent-blue); }
.clock-center-dot { fill: var(--accent-blue); }
.clock-city { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-300); }
.clock-time { font-size: 0.7rem; font-weight: 300; letter-spacing: 0.05em; color: var(--white); font-variant-numeric: tabular-nums; }

/* Metrics font size override — scales with viewport */
.v1-metrics .hero-stat-number,
.v1-metrics .hero-stat-prefix,
.v1-metrics .hero-stat-suffix {
    font-size: clamp(1.2rem, 1.8vw, 2rem);
}

.v1-metrics .hero-stat-label {
    font-size: clamp(0.52rem, 0.6vw, 0.65rem);
    margin-top: 8px;
}

/* ---------- RIGHT COLUMN ---------- */
.v1-right {
    display: flex;
    flex-direction: column;
    padding: 12px 16px 16px;
    min-height: 0;
}

.v1-right > .bento-grid {
    flex: 0 1 calc(100% - 36px);
    min-height: 0;
    overflow: hidden;
}

.v1-bento-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    flex-shrink: 0;
}

/* Bento overrides */
.dashboard-bento-grid {
    height: 100%;
    grid-template-rows: 1fr 1fr !important;
    grid-auto-rows: 1fr !important;
    gap: 10px !important;
}

.dashboard-bento-grid .bento-row-four {
    grid-auto-rows: 1fr !important;
    grid-template-rows: 1fr !important;
    min-height: 0;
    gap: 10px;
}

.dashboard-bento-grid .bento-card {
    opacity: 1;
    transform: none;
    border-radius: 14px;
}

.dashboard-bento-grid .bento-card::before,
.dashboard-bento-grid .bento-card::after { border-radius: 14px; }

.dashboard-bento-grid .bento-card-content { padding: 18px; }
.dashboard-bento-grid .bento-card-featured .bento-card-name { font-size: 1.4rem; }
.dashboard-bento-grid .bento-card-name { font-size: 1rem; margin-bottom: 4px; }
.dashboard-bento-grid .bento-card-desc { font-size: 0.75rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.92); }
.dashboard-bento-grid .bento-card-meta { font-size: 0.65rem; }
.dashboard-bento-grid .bento-card-stage,
.dashboard-bento-grid .bento-card-location { font-weight: 700; color: rgba(255, 255, 255, 0.95); }
.dashboard-bento-grid .bento-card-logo-img { width: 36px; height: 36px; border-radius: 10px; }
.dashboard-bento-grid .bento-card-tag { font-size: 0.55rem; padding: 4px 10px; }

/* ── Name pinned to bottom-left; lifts on hover to reveal desc + meta ── */

/* Top section out of flow so it can't push the name away from the bottom */
.dashboard-bento-grid .bento-card .bento-card-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
}

/* Desc + meta collapsed to zero height at rest */
.dashboard-bento-grid .bento-card .bento-card-desc {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease 0.03s, transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.03s;
}

.dashboard-bento-grid .bento-card .bento-card-meta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.35s ease 0.06s, transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.06s;
}

/* On hover: expand desc + meta */
.dashboard-bento-grid .bento-card:hover .bento-card-desc {
    max-height: 60px;
    margin-bottom: 8px;
}

.dashboard-bento-grid .bento-card:hover .bento-card-meta {
    max-height: 30px;
}

/* Content flex-end: bottom block always hugs the card bottom */
.dashboard-bento-grid .bento-card .bento-card-content {
    justify-content: flex-end;
}

/* Name always visible */
.dashboard-bento-grid .bento-card .bento-card-name {
    opacity: 1;
}

/* Bottom block: flush at bottom at rest, lifts on hover */
.dashboard-bento-grid .bento-card .bento-card-bottom {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 0;
}

.dashboard-bento-grid .bento-card:hover .bento-card-bottom {
    transform: translateY(-8px);
}

/* Remove gradient overlays on non-hover state */
.dashboard-bento-grid .bento-card-bg-overlay {
    background: transparent !important;
}

/* Restore overlay on hover — heavy only at the bottom for text legibility */
.dashboard-bento-grid .bento-card:hover .bento-card-bg-overlay {
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 45%,
        rgba(0, 10, 31, 0.55) 68%,
        rgba(0, 10, 31, 0.88) 85%,
        rgba(0, 10, 31, 0.96) 100%
    ) !important;
}

/* Special case: AAI on hover — same bottom-only approach, slightly stronger */
.dashboard-bento-grid .bento-card[data-category="aai"]:hover .bento-card-bg-overlay {
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 35%,
        rgba(0, 10, 31, 0.65) 60%,
        rgba(0, 10, 31, 0.92) 82%,
        rgba(0, 10, 31, 0.98) 100%
    ) !important;
}

/* Subtle text shadow on card names for legibility */
.dashboard-bento-grid .bento-card-name {
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.55),
        0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Light blue border on all bento cards */
.dashboard-bento-grid .bento-card {
    border: 1px solid rgba(74, 144, 217, 0.18) !important;
    overflow: hidden;
    position: relative;
}

/* Border beam — a bright spot that travels around the card border on hover */
.dashboard-bento-grid .bento-card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: conic-gradient(
        from var(--beam-angle, 0deg),
        transparent 0deg,
        transparent 60deg,
        rgba(74, 144, 217, 0.75) 90deg,
        rgba(147, 197, 253, 0.9) 100deg,
        rgba(74, 144, 217, 0.75) 110deg,
        transparent 140deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    transition: opacity 0.2s ease;
}

.dashboard-bento-grid .bento-card:hover .bento-card-glow::before {
    opacity: 1;
    animation: borderBeam 1.2s linear forwards;
}

@keyframes borderBeam {
    0%   { --beam-angle: 0deg;   opacity: 1; }
    80%  { --beam-angle: 360deg; opacity: 1; }
    100% { --beam-angle: 360deg; opacity: 0; }
}

@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* View all link */
.dashboard-view-all {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(147, 197, 253, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.3s ease;
}
.dashboard-view-all:hover { color: rgba(147, 197, 253, 1); }
.dashboard-view-all svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.dashboard-view-all:hover svg { transform: translate(2px, -2px); }

/* ============================================
   SCALED DISPLAY FIX — Dashboard
   Targets 1025–1439px: proportions feel like ~1600px
   ============================================ */
@media (min-width: 1025px) and (max-width: 1439px) {

    .v1-left {
        padding: 32px 16px 0 24px;
        margin-left: 40px;
    }

    .v1-headline {
        gap: 20px;
        padding-top: 32px;
    }

    .v1-headline-text {
        font-size: clamp(1rem, 1.5vw, 1.4rem);
    }

    .v1-bottom-left {
        margin-left: 40px;
        padding: 0 16px;
    }

    .v1-tagline {
        font-size: clamp(0.8rem, 1.1vw, 1.05rem);
        max-width: 480px;
    }

    .v1-metrics .hero-stat-number,
    .v1-metrics .hero-stat-prefix,
    .v1-metrics .hero-stat-suffix {
        font-size: clamp(1.3rem, 2vw, 2.2rem);
    }

    .v1-metrics .hero-stat-label {
        font-size: clamp(0.48rem, 0.55vw, 0.6rem);
    }

    .v1-stat + .v1-stat {
        padding-left: 12px;
    }

    .v1-metrics {
        gap: 12px;
    }

    /* Bento overrides */
    .dashboard-bento-grid {
        gap: 8px !important;
    }

    .dashboard-bento-grid .bento-card-featured .bento-card-name {
        font-size: 1.25rem;
    }

    .dashboard-bento-grid .bento-card-name {
        font-size: 0.9rem;
    }

    .dashboard-bento-grid .bento-card-content {
        padding: 14px;
    }

    /* Clocks */
    .v1-clocks {
        gap: 28px;
    }

    .clock-face {
        width: clamp(44px, 3.8vw, 60px);
        height: clamp(44px, 3.8vw, 60px);
    }
}

/* ============================================
   INTERMEDIATE BREAKPOINT — SQUEEZE MODE
   2-col bento, tighter margins, side-by-side kept
   ============================================ */

@media (max-width: 1100px) {

    /* Reduce left margin to reclaim space */
    .v1-left { margin-left: 30px; }
    .v1-bottom-left { margin-left: 30px; }

    /* Bento grid: 2 columns instead of 3 */
    .dashboard-bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Featured card: span full width, single row */
    .dashboard-bento-grid > .bento-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Row-four: 2 columns */
    .dashboard-bento-grid .bento-row-four {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tighten gaps */
    .dashboard-bento-grid { gap: 8px !important; }
    .dashboard-bento-grid .bento-row-four { gap: 8px; }

    /* Slightly smaller clock gaps */
    .v1-clocks { gap: 24px; }

    /* Metrics: tighter padding, smaller font to fit narrower column */
    .v1-bottom-left { padding: 0 12px; }
    .v1-metrics .hero-stat-number,
    .v1-metrics .hero-stat-prefix,
    .v1-metrics .hero-stat-suffix {
        font-size: clamp(1.2rem, 2vw, 1.8rem);
    }
    .v1-metrics .hero-stat-label {
        font-size: 0.52rem;
    }
}

/* ============================================
   INTERMEDIATE BREAKPOINT — STACK MODE
   Side-by-side no longer fits; stack vertically,
   keep 2-col bento, page becomes scrollable
   ============================================ */

@media (max-width: 900px) {

    /* ── Unlock from fixed viewport height — page scrolls ── */
    .dashboard-body { height: auto; overflow-y: auto; }
    .dashboard-main { height: auto; overflow-y: visible; }

    /* ── Stack hero layout vertically ── */
    .v1-layout {
        height: auto;
        grid-template-columns: 1fr;
    }

    /* Headline section: full width, no border, reset margin */
    .v1-left {
        border-right: none;
        margin-left: 0;
        padding: 32px var(--container-pad, 20px) 24px;
        height: auto;
    }

    .v1-headline { padding-top: 16px; }

    /* Bento grid: full width, auto height */
    .v1-right {
        padding: 0 var(--container-pad, 20px) 16px;
    }

    .v1-right > .bento-grid {
        flex: none;
        overflow: visible;
    }

    .dashboard-bento-grid {
        height: auto;
        grid-template-rows: auto !important;
        grid-auto-rows: 200px !important;
    }

    /* Featured card needs explicit height since bg-image doesn't size it */
    .dashboard-bento-grid > .bento-card-featured {
        min-height: 240px;
    }

    /* ── Bottom zone: stack vertically ── */
    .v1-bottom {
        height: auto;
        grid-template-columns: 1fr;
        border-top: none;
        padding: 0 var(--container-pad, 20px);
    }

    .v1-bottom-left,
    .v1-tagline,
    .v1-bottom-right {
        justify-self: stretch;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .v1-bottom-left {
        margin-left: 0;
        padding: 36px 0;
        justify-content: center;
    }

    .v1-tagline {
        padding: 28px 0;
        max-width: none;
    }

    .v1-bottom-right {
        justify-content: center;
        padding: 28px 0 48px;
    }

    /* Metrics: full width — generous sizing */
    .v1-metrics {
        justify-content: space-evenly;
        width: 100%;
        max-width: none;
    }
    .v1-stat { padding: 0 16px; }
    .v1-metrics .hero-stat-number,
    .v1-metrics .hero-stat-prefix,
    .v1-metrics .hero-stat-suffix {
        font-size: 1.6rem;
    }
    .v1-metrics .hero-stat-label {
        font-size: 0.55rem;
    }

    /* Clocks: full width */
    .v1-clocks {
        width: 100%;
        gap: 0;
        justify-content: space-evenly;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    /* ── Delta from 900px: add overflow-x lock + padding ── */
    .dashboard-body { overflow-x: hidden; }
    .dashboard-main { overflow-x: hidden; padding-top: 72px; }

    /* Allow nav to get scrolled bg on mobile.
       Base .nav-dashboard forces transparent !important — override
       when .scrolled is present so the blue banner shows on scroll. */
    .nav-dashboard {
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .nav-dashboard.scrolled {
        background: rgba(1, 17, 50, 0.97) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    /* Delta: add gap reset */
    .v1-layout { gap: 0; }

    /* ── Headline: delta from 900px ── */
    .v1-headline { gap: 20px; }

    .v1-headline-text {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        line-height: 1.5;
    }

    /* ── Bento grid: switch to single column ── */
    .dashboard-bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 220px !important;
        gap: 12px !important;
    }

    /* Show only 4 cards on mobile: 3 top-level + 1 from row-four */
    .dashboard-bento-grid > .bento-card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .dashboard-bento-grid .bento-row-four {
        display: contents !important;
    }

    /* Hide all row-four cards except the first */
    .dashboard-bento-grid .bento-row-four .bento-card:nth-child(n+2) {
        display: none !important;
    }

    /* ── Uniform card height ── */
    .dashboard-bento-grid .bento-card {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    /* ── Uniform name size on mobile ── */
    .dashboard-bento-grid .bento-card-name,
    .dashboard-bento-grid .bento-card-featured .bento-card-name {
        font-size: 1.15rem !important;
    }

    /* ── Default: hide icon, tag, desc, meta — only name shows ── */
    .dashboard-bento-grid .bento-card .bento-card-icon {
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dashboard-bento-grid .bento-card .bento-card-tag {
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dashboard-bento-grid .bento-card .bento-card-desc {
        max-height: 0;
        margin-bottom: 0;
        opacity: 0;
        transform: translateY(6px);
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, margin-bottom 0.35s ease;
    }

    .dashboard-bento-grid .bento-card .bento-card-meta {
        max-height: 0;
        opacity: 0;
        transform: translateY(6px);
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    /* ── Tapped state: reveal everything ── */
    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-icon {
        opacity: 1;
        transform: none;
    }

    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-tag {
        opacity: 1;
        transform: none;
    }

    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-desc {
        max-height: 60px;
        margin-bottom: 8px;
        opacity: 1;
        transform: none;
    }

    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-meta {
        max-height: 30px;
        opacity: 1;
        transform: none;
    }

    /* Minimal overlay at rest (just enough for name legibility) */
    .dashboard-bento-grid .bento-card-bg-overlay {
        background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 60%,
            rgba(0, 10, 31, 0.3) 80%,
            rgba(0, 10, 31, 0.6) 100%
        ) !important;
        transition: background 0.3s ease;
    }

    /* Heavier overlay on tap for full content legibility */
    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-bg-overlay {
        background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 30%,
            rgba(0, 10, 31, 0.5) 55%,
            rgba(0, 10, 31, 0.85) 80%,
            rgba(0, 10, 31, 0.95) 100%
        ) !important;
    }

    /* Disable hover lift on mobile */
    .dashboard-bento-grid .bento-card:hover .bento-card-bottom {
        transform: none;
    }

    /* Lift bottom block on tap */
    .dashboard-bento-grid .bento-card.mobile-tapped .bento-card-bottom {
        transform: translateY(-8px);
    }

    /* Disable border beam animation */
    .dashboard-bento-grid .bento-card-glow::before {
        display: none;
    }

    /* ── View All link ── */
    .v1-bento-footer {
        justify-content: center;
        padding: 24px 0 8px;
    }

    /* ── Bottom zone: delta padding from 900px ── */
    .v1-bottom { gap: 0; }
    .v1-bottom-left {
        padding: 48px 0;
        width: 100%; /* prevent shrink-to-fit so metrics fills viewport width */
    }
    .v1-bottom-right {
        padding: 48px 0 64px;
        width: 100%; /* match border width to metrics + tagline sections */
    }

    .v1-tagline { font-size: clamp(0.95rem, 3.5vw, 1.1rem); }

    .v1-clocks {
        width: 100%;
        gap: 0;
        justify-content: space-around;
    }
    .clock-item {
        flex: 1 1 0%;
        min-width: 0;
    }

    .clock-face {
        width: 56px;
        height: 56px;
    }

    /* Metrics: equal distribution across full viewport width */
    .v1-metrics {
        gap: 0;
        width: 100%;
    }
    .v1-stat {
        padding: 0 10px;
        flex: 1 1 0;
        min-width: 0;
    }
    .v1-stat + .v1-stat {
        padding-left: 10px; /* symmetric with right — overrides base 33px/24px */
    }

    /* Metrics sizing — delta from 900px */
    .v1-metrics .hero-stat-number,
    .v1-metrics .hero-stat-prefix,
    .v1-metrics .hero-stat-suffix {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
}

/* ============================================
   ANNOUNCEMENT BANNER — Version B (Full-Width Bar)
   ============================================ */
.announcement-b {
    display: block;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(74, 144, 217, 0.07) 0%, rgba(74, 144, 217, 0.02) 100%);
    border-top: 1px solid rgba(74, 144, 217, 0.08);
    border-bottom: 1px solid rgba(74, 144, 217, 0.08);
    border-left: 2px solid var(--accent-blue);
    border-right: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    margin-bottom: 4px;
    line-height: 1.6;
}
.announcement-b:hover {
    background: linear-gradient(90deg, rgba(74, 144, 217, 0.12) 0%, rgba(74, 144, 217, 0.04) 100%);
}
.announcement-b::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: none;
}
.announcement-b:hover::after {
    animation: bannerShimmer 0.7s ease-out forwards;
}
@keyframes bannerShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
.announcement-b-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: rgba(74, 144, 217, 0.12);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 4px;
    padding: 2px 7px;
    margin-right: 8px;
    vertical-align: middle;
}
.announcement-b-text {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.7);
}
.announcement-b-text strong {
    font-weight: 600;
    color: var(--white);
}
.announcement-b-cta {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--accent-blue);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    position: relative;
    z-index: 1;
    vertical-align: middle;
}
.announcement-b-cta svg {
    transition: transform 0.3s ease;
}
.announcement-b:hover .announcement-b-cta svg {
    transform: translateX(2px);
}

/* ============================================
   ANNOUNCEMENT BANNER — Version C (Minimal Tag)
   ============================================ */
.announcement-c {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    margin-bottom: 4px;
    padding: 6px 0;
    transition: opacity 0.3s ease;
}
.announcement-c:hover { opacity: 0.85; }
.announcement-c-tag {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-deep);
    background: var(--accent-blue);
    border-radius: 3px;
    padding: 3px 7px 2px;
    flex-shrink: 0;
}
.announcement-c-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 12px;
    flex-shrink: 0;
}
.announcement-c-text {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.6);
}
.announcement-c-text strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}
.announcement-c-link {
    font-weight: 600;
    color: var(--accent-blue);
    margin-left: 2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.announcement-c-link svg {
    transition: transform 0.3s ease;
}
.announcement-c:hover .announcement-c-link svg {
    transform: translateX(2px);
}

@media (max-width: 480px) {

    .v1-headline-text {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }

    .v1-clocks {
        gap: 24px;
    }

    .clock-face {
        width: 48px;
        height: 48px;
    }
}
