@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap');

:root {
    /* DARK MODE (Navy & Silver) */
    --color-silver: #e2e8f0;   /* Cool Silver/White */
    --color-accent: #94a3b8;   /* Muted Silver/Blue for accents */
    
    --color-navy: 2 6 23;      /* #020617 (Deep Navy Background) */

    --color-surface: 15 23 42; /* #0f172a (Lighter Navy Surface) */
    --color-contrast: 248 250 252; /* #f8fafc (Silver White Text) */
    --color-muted: 148 163 184;    /* #94a3b8 (Slate 400) */

        /* TIMELINE THEME VARIABLES */
    --c-bg: #0b0f19;          
    --c-bg-card: #141b2d;
    --c-gold: #C5A47E;        
    --c-gold-glow: rgba(197, 164, 126, 0.25);
    --font-head: 'Optima', 'Segoe UI', sans-serif; 
    --font-sub: 'Avenir Next', 'Avenir', sans-serif;
    --font-body: 'Dosis', sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
}

/* --- TIMELINE STYLES --- */
.timeline-section {
    background-color: transparent; /* Use section background */
    padding: 140px 20px;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}

.timeline-header h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 400;
    margin: 15px 0 0 0;
    color: rgb(var(--color-contrast));
    letter-spacing: -0.5px;
}

.timeline-header span {
    color: var(--c-gold);
    font-family: var(--font-sub);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    opacity: 0.9;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0 150px 0;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: -50px;
    bottom: 0; 
    width: 1px;
    background: rgba(197, 164, 126, 0.15);
    transform: translateX(-50%);
}

.timeline-line-fill {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 1px;
    height: 0%;
    background: linear-gradient(180deg, var(--c-gold) 0%, #fff 50%, var(--c-gold) 100%);
    box-shadow: 0 0 25px var(--c-gold-glow);
    transform: translateX(-50%);
    transition: height 0.1s linear; 
    z-index: 1;
}

.timeline-item {
    display: flex;
    width: 100%;
    margin-bottom: 150px;
    position: relative;
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    width: 40%;
    position: relative;
}

/* Left Items (Odd) */
.timeline-item:nth-child(odd) {
    transform: translateY(40px);
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    transform: translateX(-60px);
    text-align: right;
}

/* Right Items (Even) */
.timeline-item:nth-child(even) {
    transform: translateY(40px);
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    transform: translateX(60px);
    text-align: left;
}

.timeline-year {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -30px;
    line-height: 1;
    font-weight: 400;
    z-index: -1;
    white-space: nowrap;
    transition: color 0.6s ease;
}

.timeline-item:nth-child(odd) .timeline-year { right: 0; }
.timeline-item:nth-child(even) .timeline-year { left: 0; }

.timeline-item.active .timeline-year {
    color: rgba(197, 164, 126, 0.361);
}

.timeline-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* margin-bottom: 65px; */
    display: block;
    font-weight: 500;
}

.timeline-desc {
    /* font-size: 1.05rem;
    color: var(--color-accent);
    line-height: 1.7;
    margin: 0;
    font-weight: 300; */
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    font-weight: 500;
    line-height: 3.7;

}
.timeline-desc1 {
    /* font-size: 1.05rem;
    color: var(--color-accent);
    line-height: 1.7;
    margin: 0;
    font-weight: 300; */
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    font-weight: 500;
    line-height: 1;
    margin-top: 70px;

}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(45deg); 
    width: 14px;
    height: 14px;
    background-color: var(--c-bg);
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 2;
    transition: all 0.6s ease;
}

.timeline-item.active .timeline-node {
    background-color: var(--c-gold);
    border-color: var(--c-gold);
    box-shadow: 0 0 25px var(--c-gold-glow), 0 0 10px rgba(255,255,255,0.4);
    transform: translateX(-50%) rotate(225deg) scale(1.3);
}

.timeline-connector {
    position: absolute;
    top: 7px;
    width: 0px;
    height: 1px;
    background: linear-gradient(90deg, var(--c-gold), transparent);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.timeline-item:nth-child(odd) .timeline-connector {
    right: -60px;
    width: 60px;
    transform-origin: right;
    transform: scaleX(0);
    background: linear-gradient(to left, var(--c-gold), transparent);
}

.timeline-item:nth-child(even) .timeline-connector {
    left: -60px;
    width: 60px;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(to right, var(--c-gold), transparent);
}

.timeline-item.active .timeline-connector {
    opacity: 0.5;
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .timeline-header h2 { font-size: 2.5rem; }
    .timeline-line, .timeline-line-fill { left: 20px; transform: translateX(0); }
    .timeline-item { flex-direction: column !important; align-items: flex-start; margin-bottom: 80px; padding-left: 50px; }
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { margin: 0; width: 100%; text-align: left; transform: none; padding: 0 20px 0 0; }
    .timeline-year { font-size: clamp(1rem, 4.5vw, 1.8rem); left: 0 !important; right: auto !important; top: -40px; opacity: 0.5; z-index: -1; white-space: nowrap; line-height: 1; }
    .timeline-node { left: 20px; }
    .timeline-connector { display: none; }
}


body {
    font-family: var(--font-body);
    background-color: rgb(var(--color-navy));
    color: rgb(var(--color-contrast));
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

/* --- Starfield Canvas --- */
#starfield {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; /* Behind content */
    opacity: 0.8;
    mix-blend-mode: screen;
}


/* --- Minimal Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: rgb(var(--color-navy)); }
::-webkit-scrollbar-thumb { background: #1e293b; }
::-webkit-scrollbar-thumb:hover { background: var(--color-silver); }

/* --- Utilities & Animations --- */
.text-stroke { -webkit-text-stroke: 1px rgba(226, 232, 240, 0.1); color: transparent; }

.hover-underline-animation { display: inline-block; position: relative; }
.hover-underline-animation:after {
    content: ''; position: absolute; width: 100%; transform: scaleX(0);
    height: 1px; bottom: -4px; left: 0; background-color: var(--color-silver);
    transform-origin: bottom right; transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.hover-underline-animation:hover:after { transform: scaleX(1); transform-origin: bottom left; }

.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }

.parallax-img { height: 120%; width: 100%; object-fit: cover; position: absolute; top: -10%; transition: transform 0.1s linear; will-change: transform; }
.hero-video-wrapper { mask-image: linear-gradient(to bottom, black 70%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%); }
.theme-toggle-icon { transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }

/* --- CONSTELLATION SCROLL STYLES --- */
.project-line {
    height: 0%; width: 1px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    box-shadow: 0 0 10px var(--c-gold);
    will-change: height;
    z-index: 1; /* Low z-index */
}

#pathfinder-star {
    position: absolute;
    width: 54px; height: 54px;
    color: var(--color-silver);
    z-index: 30;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%);
    transition: opacity 0.3s;
    filter: drop-shadow(0 0 5px var(--c-gold));
}

.star-node {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%) scale(0.8);
    background: rgb(var(--color-navy));
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    z-index: 20; /* Higher than line */
    position: relative; /* Ensure stacking context */
}

.project-row.active .star-node {
    background: var(--color-silver);
    border-color: var(--color-silver);
    color: rgb(var(--color-navy));
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px var(--color-silver);
}

.project-card {
    opacity: 0; transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.project-row.active .project-card { opacity: 1; transform: translateY(0); }
/* Timeline Active State */
.timeline-node.active { opacity: 1; transform: translateY(0); }

/* Glassmorphism Deck Animation (User Requested) */
.deck-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.deck-glass {
    position: relative;
    width: 280px;
    height: 420px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth easing */
    border-radius: 10px;
    margin: 0 -80px; /* Negative margin for overlap */
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
    overflow: hidden; /* Crop image */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .deck-glass { width: 160px; height: 240px; margin: 0 -40px; }
}
@media (max-width: 480px) {
    .deck-glass { width: 120px; height: 180px; margin: 0 -30px; }
}

.deck-container:hover .deck-glass {
    transform: rotate(0deg);
    margin: 0 10px;
}

.deck-glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: var(--font-head);
    letter-spacing: 1px;
    z-index: 10;
}

.deck-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.7s ease;
}

.deck-glass:hover img {
    transform: scale(1.1);
    opacity: 1;
}

    /* Animation Keyframes */
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: .3; }
    50% { opacity: .5; }
}

/* Utility Classes */
.animate-scroll-up {
    animation: scrollUp linear infinite;
}

.animate-scroll-down {
    animation: scrollDown linear infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.mask-fade-vertical {
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

/* Pause animation on hover */
.hover-pause:hover {
    animation-play-state: paused;
}

/* --- Journal Section Styles --- */
/* Transition Classes for the Lens Effect */
.lens-content {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0px);
}

.lens-content.switching {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
}

/* Active Indicator Animation */
.active-indicator {
    transition: all 0.3s ease-out;
    transform-origin: left;
}

/* Custom Scrollbar for Journal */
.journal-scroll::-webkit-scrollbar {
    width: 1px;
}
.journal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.journal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.journal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- CONTACT SECTION STYLES --- */
/* 1. Cinematic Rise for Text */
@keyframes rise {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* 2. Floating Orb Movement */
@keyframes float-slow {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* 3. Film Grain Animation */
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* 4. Smooth Staggered Slide Up for Form */
@keyframes slide-up-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 5. Text Wipe Reveal */
@keyframes reveal-wipe {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

/* Animation Utility Classes */
.animate-rise { animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
.animate-float-slow { animation: float-slow 20s ease-in-out infinite alternate; }
.animate-grain { animation: grain 8s steps(10) infinite; }
.animate-slide-up { animation: slide-up-fade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
.animate-reveal { animation: reveal-wipe 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards; clip-path: inset(0 100% 0 0); }

/* Custom Scrollbar for Right Panel */
.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: rgb(var(--color-navy)); }
.custom-scroll::-webkit-scrollbar-thumb { background: rgb(var(--color-muted)); border-radius: 4px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: #C5A47E; }

/* Initial Hidden State for Right Panel Entrance */
.right-panel-entrance {
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.right-panel-entrance.mounted {
    transform: translateX(0);
}

/* Focus States for Inputs */
.input-group.active label { color: #C5A47E; }
.input-group.active .icon-wrapper { color: #C5A47E; }
.input-group.active .input-container { transform: scale(1.02); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); }
.input-group.inactive { opacity: 0.5; filter: blur(0.5px); }

/* --- NEW MENU & ARCHITECTURAL STYLES --- */
.font-serif {
font-family: var(--font-head);
}
/* --- Grid Lines --- */
.grid-line {
position: fixed;
background-color: rgba(255, 255, 255, 0.08);
z-index: 40; /* Behind fixed UI but above bg */
pointer-events: none;
}
.grid-vertical-left { top: 0; bottom: 0; left: 4rem; width: 1px; }
.grid-vertical-right { top: 0; bottom: 0; right: 4rem; width: 1px; }
.grid-horizontal-top { left: 0; right: 0; top: 5rem; height: 1px; }
.grid-horizontal-bottom { left: 0; right: 0; bottom: 5rem; height: 1px; }
/* --- Nav Hover Effect (Desktop Bottom Right) --- */
.nav-item {
display: block;
position: relative;
padding-right: 0;
transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
color: rgba(255, 255, 255, 0.5);
}
.nav-item:hover {
padding-right: 20px;
color: #fff;
}
.nav-item::after {
content: '';
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 1px;
background-color: #fff;
transition: width 0.3s ease;
}
.nav-item:hover::after {
width: 12px;
}
/* --- Animations --- */
.reveal-corner {
opacity: 0;
animation: fadeIn 1.5s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.sound-bar {
width: 2px;
background-color: white;
animation: soundWave 1s ease-in-out infinite;
}
@keyframes soundWave {
0%, 100% { height: 4px; opacity: 0.3; }
50% { height: 16px; opacity: 1; }
}
/* --- Menu Overlay Items --- */
.menu-link-item {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.menu-open .menu-link-item {
opacity: 1;
transform: translateY(0);
}
@media (max-width: 768px) {
.grid-vertical-left { left: 1.5rem; }
.grid-vertical-right { right: 1.5rem; }
.grid-horizontal-top { top: 4rem; }
.grid-horizontal-bottom { bottom: 4rem; }
}

/* ============================================
   HERO HEADLINE — UNIQUE EDITORIAL DISPLAY
   ============================================ */

/* Keyframes */
@keyframes heroWordReveal {
    0%   { opacity: 0; transform: translateY(40px) skewY(3deg); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0) skewY(0deg); filter: blur(0); }
}

@keyframes heroLineReveal {
    0%   { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes vlineGrow {
    0%   { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

/* Outer block */
.hero-headline-block {
    max-width: 900px;
}

/* Title row: words displayed inline-block with overflow clipping */
.hero-title-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25em 0.6em;
    margin-bottom: 2.4rem;
    line-height: 1.0;
}

/* Shared word base */
.hero-word {
    display: inline-block;
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: heroWordReveal 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
    will-change: transform, opacity;
}

/* "The" — ultra-thin outline only */
.hero-word--stroke {
    color: transparent;
    -webkit-text-stroke: 1px rgba(248, 250, 252, 0.55);
}

/* "Unseen" — solid fill with luminous gradient */
.hero-word--fill {
    background: linear-gradient(135deg,
        #f8fafc 0%,
        #c5a47e 45%,
        #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(197, 164, 126, 0.25));
}

/* "Horizon." — gold stroke, slightly larger */
.hero-word--gold {
    -webkit-text-stroke: 1px rgba(197, 164, 126, 0.8);
    font-weight: 300;
    letter-spacing: 0.04em;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    position: relative;
}

/* Subtle shimmer line under Horizon */
.hero-word--gold::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,164,126,0.6), transparent);
    animation: heroLineReveal 1s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

/* Sub-copy row: vertical line + text */
.hero-sub-row {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    margin-top: 0.5rem;
    padding-left: 4px;
}

/* Vertical gold hairline */
.hero-vline {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(197,164,126,0.9), rgba(197,164,126,0));
    transform-origin: top;
    transform: scaleY(0);
    animation: vlineGrow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.65s;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Sub-copy block */
.hero-sub-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Sub-lines */
.hero-sub-line {
    font-family: var(--font-sub);
    font-size: clamp(0.95rem, 1.3vw, 1.45rem);
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.75);
    opacity: 0;
    animation: heroLineReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
    margin: 0;
}

/* Second line is more ghosted */
.hero-sub-line--ghost {
    /* color: rgba(197, 164, 126, 0.6); */
    color: rgba(248, 250, 252, 0.75);
    font-size: clamp(0.65rem, 1.1vw, 1.20rem);
    letter-spacing: 0.28em;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .hero-title-wrap { gap: 0.15em 0.4em; }
    .hero-vline { height: 44px; }
}


/* ============================================
   USP MARQUEE — auto-scrolling luxury ticker
   ============================================ */

@keyframes uspScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Clipping container with edge fades */
.usp-marquee {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    position: relative;
    /* Left + right gold fade masks */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.8) 8%,
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        rgba(0,0,0,0.8) 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.8) 8%,
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        rgba(0,0,0,0.8) 92%,
        transparent 100%
    );
    border-top: 1px solid rgba(197, 164, 126, 0.12);
    border-bottom: 1px solid rgba(197, 164, 126, 0.12);
    padding: 10px 0;
}

/* Scrolling inner row */
.usp-track {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: uspScroll 18s linear infinite;
}

.usp-marquee:hover .usp-track {
    animation-play-state: paused;
}

/* Each stat unit: number above label */
.usp-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0 20px;
    cursor: default;
}

/* Big number */
.usp-item strong {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 1.9rem;
    line-height: 1;
    color: rgba(248, 250, 252, 0.88);
    letter-spacing: -0.04em;
    transition: color 0.3s ease;
}

.usp-marquee:hover .usp-item:hover strong {
    color: #C5A47E;
}

/* Superscript unit */
.usp-item strong sup {
    font-size: 0.38em;
    font-family: var(--font-sub);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(197, 164, 126, 0.55);
    vertical-align: super;
    margin-left: 1px;
    text-transform: lowercase;
}

/* Micro label */
.usp-item em {
    font-style: normal;
    font-family: var(--font-sub);
    font-size: 0.42rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(197, 164, 126, 0.4);
    line-height: 1;
}

/* Em-dash separator */
.usp-sep {
    color: rgba(197, 164, 126, 0.2);
    font-size: 0.8rem;
    align-self: center;
    padding: 0 4px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .usp-marquee {
        max-width: 100%;
    }
    .usp-item strong { font-size: 1.5rem; }
    .usp-track { animation-duration: 14s; }
}




/* ============================================
   USP ROSTER — editorial row-list style
   ============================================ */

.usp-roster {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    gap: 0;
}

.usp-roster--right {
    margin-left: auto;
    margin-right: 0;
}

.usp-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: background 0.25s ease;
}

.usp-row:first-child {
    border-top: 1px solid rgba(197, 164, 126, 0.15);
}

.usp-row:hover {
    background: rgba(197, 164, 126, 0.04);
    padding-left: 6px;
    padding-right: 6px;
    margin-left: -6px;
    margin-right: -6px;
    border-radius: 2px;
}

.usp-idx {
    font-family: var(--font-sub);
    font-size: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(197, 164, 126, 0.35);
    line-height: 1;
    flex-shrink: 0;
    min-width: 16px;
    align-self: center;
}

.usp-rule {
    flex: 1;
    height: 1px;
    position: relative;
    overflow: hidden;
    align-self: center;
    min-width: 20px;
}

.usp-rule::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        rgba(197, 164, 126, 0.25) 0,
        rgba(197, 164, 126, 0.25) 3px,
        transparent 3px,
        transparent 7px
    );
}

.usp-name {
    font-family: var(--font-sub);
    font-size: 0.56rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.usp-row:hover .usp-name {
    color: rgba(255, 255, 255, 0.55);
}

.usp-val {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 300;
    color: rgba(248, 250, 252, 0.88);
    letter-spacing: -0.04em;
    line-height: 1;
    flex-shrink: 0;
    text-align: right;
    transition: color 0.25s ease;
}

.usp-row:hover .usp-val {
    color: #C5A47E;
}

.usp-val--word {
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.usp-val small {
    font-size: 0.42rem;
    font-family: var(--font-sub);
    letter-spacing: 0.1em;
    color: rgba(197, 164, 126, 0.55);
    vertical-align: super;
    margin-left: 1px;
    text-transform: lowercase;
}

@media (max-width: 640px) {
    .usp-roster {
        max-width: 100%;
    }
    .usp-roster--right {
        margin-left: 0;
    }
    .usp-val { font-size: 1.25rem; }
    .usp-name { font-size: 0.5rem; }
}


/* ============================================
   USP GRID — Structured Minimal Grid
   ============================================ */

/* ============================================
   USP GRID — Structured Minimal Grid
   ============================================ */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columns on desktop (4x2 layout for 8 items, or 4+2 for 6) */
    gap: 25px 20px;
    width: 100%;
}

/* Base item layout */
.usp-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left aligned for structured look */
    justify-content: flex-start;
    gap: 4px; /* Tiny gap inside items */
    opacity: 0.8;
    transition: all 0.4s ease;
    cursor: default;
    border-left: 1px solid rgba(197, 164, 126, 0.2); /* Subtle left border */
    padding-left: 10px; /* Slight indent content from the border */
    min-width: 0; /* Let grid manage widths */
}

.usp-item:hover {
    opacity: 1;
    border-left-color: rgba(197, 164, 126, 0.8);
    transform: translateX(3px); /* Subtle shift right */
}

/* Icon */
.usp-icon {
    width: 14px; /* Slightly larger icon to balance */
    height: 14px;
    color: rgba(197, 164, 126, 0.7);
    transition: color 0.4s ease;
    margin-bottom: 2px; /* Small space before stat */
}

.usp-item:hover .usp-icon {
    color: rgba(197, 164, 126, 1);
}

/* Number / Main Word */
.usp-stat {
    font-family: var(--font-head);
    font-size: 1.4rem; /* Slightly larger for better legibility */
    font-weight: 300;
    line-height: 1.1; /* Adjusted line height */
    color: rgba(248, 250, 252, 0.95);
    transition: color 0.4s ease;
    letter-spacing: -0.01em;
    /* PREVENT AWKWARD WRAPPING */
    white-space: nowrap; 
}

.usp-item:hover .usp-stat {
    color: var(--color-silver);
}

/* Label */
.usp-label {
    font-family: var(--font-sub);
    font-size: 0.45rem; /* Slightly larger for readability */
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(197, 164, 126, 0.6);
    line-height: 1.4;
    transition: color 0.4s ease;
    /* Allow labels to wrap nicely */
    word-break: break-word; 
    max-width: 100%; /* Constrain label width to force neat wraps if very long */
}

.usp-item:hover .usp-label {
    color: rgba(197, 164, 126, 0.9);
}

/* Stagger entrance fade */
@keyframes gridSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.usp-item {
    animation: gridSlideIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.usp-item:nth-child(1) { animation-delay: 0.10s; }
.usp-item:nth-child(2) { animation-delay: 0.15s; }
.usp-item:nth-child(3) { animation-delay: 0.20s; }
.usp-item:nth-child(4) { animation-delay: 0.25s; }
.usp-item:nth-child(5) { animation-delay: 0.30s; }
.usp-item:nth-child(6) { animation-delay: 0.35s; }
.usp-item:nth-child(7) { animation-delay: 0.40s; }
.usp-item:nth-child(8) { animation-delay: 0.45s; }


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
}

@media (max-width: 480px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }
    .usp-stat { font-size: 1.2rem; }
    .usp-label { font-size: 0.4rem; }
}
