/* =============================================================================
   STAMGREN ENTERPRISES - DESIGN SYSTEM
   A quantitative trading firm. Renaissance meets old-money prestige.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ----------------------------------------------------------------------------- */
:root {
    /* Core Colors */
    --color-void: #050a12;
    --color-abyss: #0a1628;
    --color-deep: #0f1d32;
    --color-navy: #152440;
    --color-slate: #1e3354;
    
    /* Gold Spectrum */
    --color-gold: #d4af37;
    --color-gold-light: #e8c547;
    --color-gold-dark: #b8962f;
    --color-gold-muted: rgba(212, 175, 55, 0.15);
    --color-gold-glow: rgba(212, 175, 55, 0.08);
    
    /* Neutrals */
    --color-white: #f8f6f3;
    --color-cream: #e8e4dc;
    --color-ash: #9a9a9a;
    --color-mist: rgba(248, 246, 243, 0.6);
    --color-ghost: rgba(248, 246, 243, 0.08);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Nunito Sans', 'Helvetica Neue', sans-serif;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 6rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --space-6xl: 12rem;
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-prose: 680px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 600ms;
    --duration-glacial: 1200ms;
    
    /* Borders */
    --border-subtle: 1px solid rgba(212, 175, 55, 0.1);
    --border-light: 1px solid rgba(212, 175, 55, 0.2);
    --border-gold: 1px solid var(--color-gold);
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-cream);
    background-color: var(--color-void);
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: var(--color-gold-muted);
    color: var(--color-white);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--duration-base) var(--ease-out);
}

a:hover {
    color: var(--color-gold-light);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }


/* -----------------------------------------------------------------------------
   UTILITIES
   ----------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.container--prose {
    max-width: var(--container-prose);
}

.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;
}

.text-gold {
    color: var(--color-gold);
}

.text-mist {
    color: var(--color-mist);
}


/* -----------------------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-void);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-void);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: var(--border-light);
}

.btn-outline:hover {
    background: var(--color-gold-glow);
    border-color: var(--color-gold);
    color: var(--color-gold-light);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
}


/* -----------------------------------------------------------------------------
   NAVIGATION
   ----------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background: linear-gradient(to bottom, var(--color-void) 0%, transparent 100%);
    transition: all var(--duration-slow) var(--ease-out);
}

.nav.scrolled {
    padding: var(--space-md) 0;
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-white);
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-mist);
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--duration-base) var(--ease-out);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle-bar {
    width: 100%;
    height: 1px;
    background: var(--color-gold);
    transition: all var(--duration-base) var(--ease-out);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-2xl);
        background: var(--color-abyss);
        transition: right var(--duration-slow) var(--ease-out);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: var(--text-lg);
    }
    
    .nav-toggle.open .nav-toggle-bar:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.open .nav-toggle-bar:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


/* -----------------------------------------------------------------------------
   HERO SECTION
   ----------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-6xl) var(--space-lg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, var(--color-gold-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 51, 84, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-void) 0%, var(--color-abyss) 50%, var(--color-void) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp var(--duration-glacial) var(--ease-out) 0.3s forwards;
}

.hero-tagline .accent {
    color: var(--color-gold);
    font-style: normal;
}

.hero-sub {
    font-size: var(--text-lg);
    color: var(--color-mist);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeIn var(--duration-glacial) var(--ease-out) 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-3xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeIn var(--duration-glacial) var(--ease-out) 1.5s forwards;
}

.hero-scroll span {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-ash);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}


/* -----------------------------------------------------------------------------
   SECTIONS
   ----------------------------------------------------------------------------- */
.section {
    padding: var(--space-5xl) var(--space-lg);
    position: relative;
}

.section--dark {
    background: var(--color-abyss);
}

.section--deep {
    background: linear-gradient(180deg, var(--color-void) 0%, var(--color-deep) 50%, var(--color-void) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

.section-intro {
    max-width: var(--container-prose);
    margin: 0 auto;
    color: var(--color-mist);
    font-size: var(--text-lg);
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-3xl) auto;
}


/* -----------------------------------------------------------------------------
   PHILOSOPHY SECTION
   ----------------------------------------------------------------------------- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.philosophy-card {
    padding: var(--space-2xl);
    background: var(--color-ghost);
    border: var(--border-subtle);
    border-radius: 4px;
    transition: all var(--duration-slow) var(--ease-out);
}

.philosophy-card:hover {
    border-color: var(--color-gold-muted);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.philosophy-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--color-gold);
}

.philosophy-card p {
    color: var(--color-mist);
    font-size: var(--text-base);
}


/* -----------------------------------------------------------------------------
   PAGE HEADERS
   ----------------------------------------------------------------------------- */
.page-header {
    padding: var(--space-6xl) var(--space-lg) var(--space-4xl);
    text-align: center;
    background: linear-gradient(180deg, var(--color-abyss) 0%, var(--color-void) 100%);
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp var(--duration-slow) var(--ease-out) 0.2s forwards;
}

.page-header .lead {
    font-size: var(--text-lg);
    color: var(--color-mist);
    max-width: var(--container-prose);
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp var(--duration-slow) var(--ease-out) 0.4s forwards;
}


/* -----------------------------------------------------------------------------
   TEAM SECTION
   ----------------------------------------------------------------------------- */
.team-intro {
    text-align: center;
    max-width: var(--container-prose);
    margin: 0 auto var(--space-4xl);
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-4xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-4xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-mist);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.team-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.pillar {
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-ghost) 0%, transparent 100%);
    border-left: 2px solid var(--color-gold-muted);
    transition: all var(--duration-base) var(--ease-out);
}

.pillar:hover {
    border-color: var(--color-gold);
    background: var(--color-ghost);
}

.pillar h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.pillar p {
    color: var(--color-mist);
    font-size: var(--text-sm);
}


/* -----------------------------------------------------------------------------
   INSIGHTS / BLOG
   ----------------------------------------------------------------------------- */
.insights-grid {
    display: grid;
    gap: var(--space-2xl);
}

.insight-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: var(--color-ghost);
    border: var(--border-subtle);
    border-radius: 4px;
    transition: all var(--duration-slow) var(--ease-out);
}

@media (min-width: 768px) {
    .insight-card {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.insight-card:hover {
    border-color: var(--color-gold);
    transform: translateX(8px);
}

.insight-meta {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.insight-category {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.insight-date {
    font-size: var(--text-xs);
    color: var(--color-ash);
    letter-spacing: 0.05em;
}

.insight-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    transition: color var(--duration-base) var(--ease-out);
}

.insight-card:hover h3 {
    color: var(--color-gold);
}

.insight-excerpt {
    color: var(--color-mist);
    font-size: var(--text-base);
}

.insight-read-time {
    font-size: var(--text-xs);
    color: var(--color-ash);
    white-space: nowrap;
}

/* Article Detail */
.article-header {
    padding: var(--space-6xl) var(--space-lg) var(--space-3xl);
    text-align: center;
    background: linear-gradient(180deg, var(--color-abyss) 0%, var(--color-void) 100%);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.article-content {
    max-width: var(--container-prose);
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
}

.article-content p {
    margin-bottom: var(--space-lg);
    color: var(--color-cream);
}

.article-content h3 {
    margin: var(--space-3xl) 0 var(--space-lg);
    color: var(--color-gold);
}


/* -----------------------------------------------------------------------------
   CONTACT
   ----------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.contact-info p {
    color: var(--color-mist);
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-mist);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    background: var(--color-ghost);
    border: var(--border-subtle);
    border-radius: 2px;
    color: var(--color-white);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all var(--duration-base) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-disclaimer {
    font-size: var(--text-xs);
    color: var(--color-ash);
    margin-top: var(--space-md);
}


/* -----------------------------------------------------------------------------
   LEGAL PAGES
   ----------------------------------------------------------------------------- */
.legal-content {
    max-width: var(--container-prose);
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
}

.legal-content h2 {
    font-size: var(--text-2xl);
    margin: var(--space-3xl) 0 var(--space-lg);
    color: var(--color-gold);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: var(--text-xl);
    margin: var(--space-2xl) 0 var(--space-md);
}

.legal-content p {
    margin-bottom: var(--space-lg);
    color: var(--color-cream);
}

.legal-content ul {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.legal-content li {
    margin-bottom: var(--space-sm);
    color: var(--color-cream);
    position: relative;
    padding-left: var(--space-md);
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
}

.legal-update {
    font-size: var(--text-sm);
    color: var(--color-ash);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: var(--border-subtle);
}

.disclaimer-box {
    padding: var(--space-xl);
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--color-gold);
    margin: var(--space-xl) 0;
}

.disclaimer-box p {
    margin-bottom: var(--space-md);
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}


/* -----------------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------------- */
.footer {
    background: var(--color-abyss);
    border-top: var(--border-subtle);
    padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1.5fr 2fr;
    }
}

.footer-brand .logo-mark {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-mist);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: var(--text-sm);
    color: var(--color-mist);
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-legal p {
    font-size: var(--text-xs);
    color: var(--color-ash);
}

.footer-registration {
    margin-top: var(--space-xs);
}

.footer-disclaimer {
    max-width: 500px;
}

.footer-disclaimer p {
    font-size: var(--text-xs);
    color: var(--color-ash);
    line-height: 1.6;
}


/* -----------------------------------------------------------------------------
   COOKIE BANNER
   ----------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: var(--space-lg);
    background: var(--color-abyss);
    border-top: var(--border-subtle);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-content p {
    font-size: var(--text-sm);
    color: var(--color-mist);
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}


/* -----------------------------------------------------------------------------
   404 / ERROR PAGES
   ----------------------------------------------------------------------------- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
}

.error-content h1 {
    font-size: var(--text-5xl);
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.error-content p {
    font-size: var(--text-lg);
    color: var(--color-mist);
    margin-bottom: var(--space-2xl);
}


/* -----------------------------------------------------------------------------
   ANIMATIONS
   ----------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }


/* -----------------------------------------------------------------------------
   FORM STATES
   ----------------------------------------------------------------------------- */
.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--color-gold-glow);
    border: var(--border-light);
    border-radius: 4px;
}

.form-success h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--color-gold);
}

.form-success p {
    color: var(--color-mist);
}

.form-error {
    padding: var(--space-md);
    background: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: #dc3545;
}


/* -----------------------------------------------------------------------------
   BLOCKQUOTE
   ----------------------------------------------------------------------------- */
blockquote {
    position: relative;
    padding-left: var(--space-xl);
}

blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold), transparent);
}


/* -----------------------------------------------------------------------------
   CHECKBOX STYLING
   ----------------------------------------------------------------------------- */
input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: var(--border-light);
    border-radius: 2px;
    background: var(--color-ghost);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--duration-base) var(--ease-out);
}

input[type="checkbox"]:checked {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-void);
    font-size: 12px;
    font-weight: bold;
}

input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px var(--color-gold-glow);
}


/* -----------------------------------------------------------------------------
   RESPONSIVE FINE-TUNING
   ----------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .hero-tagline {
        font-size: var(--text-3xl);
    }
    
    .section {
        padding: var(--space-3xl) var(--space-md);
    }
    
    .page-header {
        padding: var(--space-5xl) var(--space-md) var(--space-3xl);
    }
    
    .team-stats {
        gap: var(--space-2xl);
    }
    
    .stat-number {
        font-size: var(--text-3xl);
    }
}


/* -----------------------------------------------------------------------------
   PRINT STYLES
   ----------------------------------------------------------------------------- */
@media print {
    .nav,
    .cookie-banner,
    .hero-scroll {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

