/* 
   invalurogames - Design DNA: Soft Dimensional Editorial
   Typography: Outfit (Headings) / Inter (Body)
   Colors: Warm Paper Base, Stone Surface, Deep Pine Dark, Terracotta & Forest Accents.
*/

:root {
    /* Color System */
    --c-base: #F4F1ED;         /* Warm Paper */
    --c-surface: #E8E4DA;      /* Stone Surface */
    --c-dark: #1F2421;         /* Deep Pine / Charcoal */
    --c-dark-soft: #2B332E;    /* Elevated Dark */
    --c-base-muted: #A8B5AE;   /* Muted text on dark */
    --c-muted: #646E68;        /* Muted text on light */
    
    --c-accent-1: #D96C4A;     /* Terracotta */
    --c-accent-1-hover: #C25B3C;
    --c-accent-2: #4A6D5E;     /* Muted Teal / Forest */
    --c-accent-2-hover: #3C5A4D;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Architecture */
    --spacing-md: 80px;
    --spacing-lg: 140px;
}

/* --- BASE STYLES --- */
body {
    font-family: var(--font-body);
    background-color: var(--c-base);
    color: var(--c-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-base { background-color: var(--c-base) !important; }
.bg-surface { background-color: var(--c-surface) !important; }
.bg-dark { background-color: var(--c-dark) !important; }
.bg-dark-soft { background-color: var(--c-dark-soft) !important; }
.bg-accent-1 { background-color: var(--c-accent-1) !important; }
.bg-accent-2 { background-color: var(--c-accent-2) !important; }

.text-base { color: var(--c-base) !important; }
.text-dark { color: var(--c-dark) !important; }
.text-accent-1 { color: var(--c-accent-1) !important; }
.text-accent-2 { color: var(--c-accent-2) !important; }
.text-muted { color: var(--c-muted) !important; }
.text-base-muted { color: var(--c-base-muted) !important; }

.font-outfit { font-family: var(--font-heading); }
.letter-spacing-tight { letter-spacing: -0.5px; }
.letter-spacing-wide { letter-spacing: 1.5px; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* --- SPACING & GRIDS --- */
.py-spacing { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-spacing-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.pt-nav { padding-top: 73px; }
.mb-spacing { margin-bottom: var(--spacing-md); }
.mt-spacing { margin-top: var(--spacing-md); }
.pb-spacing-lg { padding-bottom: var(--spacing-lg); }

.min-vh-700 { min-height: 700px; }
.min-vh-100-nav { min-height: calc(100vh - 73px); }
.max-w-300 { max-width: 300px; }
.max-w-400 { max-width: 400px; }
.max-w-500 { max-width: 500px; }
.max-w-600 { max-width: 600px; }
.min-h-300 { min-height: 300px; }

/* Borders & Editorial Lines */
.border-editorial { border: 1px solid var(--c-dark); }
.border-editorial-light { border: 1px solid rgba(244, 241, 237, 0.15); }
.border-editorial-dark { border: 1px solid var(--c-dark); }
.border-bottom-editorial { border-bottom: 1px solid var(--c-dark); }
.border-bottom-editorial-light { border-bottom: 1px solid rgba(244, 241, 237, 0.15); }
.border-top-editorial { border-top: 1px solid var(--c-dark); }
.border-top-editorial-light { border-top: 1px solid rgba(244, 241, 237, 0.15); }
.border-accent-left { border-left: 4px solid var(--c-accent-1); }

@media(min-width: 992px){
    .border-start-editorial-lg { border-left: 1px solid rgba(31, 36, 33, 0.1); }
}
.border-start-editorial { border-left: 2px solid var(--c-dark); }

/* --- TYPOGRAPHY SCALE --- */
.display-massive {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -2px;
}
.display-2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
.display-3 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -1px; }
.display-4 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.5px; }
.display-5 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
.display-6 { font-size: clamp(1.2rem, 2vw, 2rem); }
.lead-text { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 400; }

.label-vertical {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    left: -40px;
    top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-content-box { position: relative; }
@media(max-width: 991px) { .label-vertical { display: none; } }

/* --- NAVIGATION --- */
.site-nav {
    background-color: var(--c-base);
}
.nav-link {
    font-weight: 500;
    color: var(--c-dark) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--c-dark);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* --- BUTTONS & LINKS --- */
.btn-editorial {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-editorial.primary {
    background-color: var(--c-accent-1);
    color: var(--c-base);
}
.btn-editorial.primary:hover {
    background-color: var(--c-accent-1-hover);
    transform: translateY(-2px);
}
.btn-editorial.secondary {
    background-color: var(--c-accent-2);
    color: var(--c-base);
}
.btn-editorial.secondary:hover {
    background-color: var(--c-accent-2-hover);
    transform: translateY(-2px);
}
.btn-editorial.outline-dark {
    background-color: transparent;
    color: var(--c-dark);
    border: 1px solid var(--c-dark);
}
.btn-editorial.outline-dark:hover {
    background-color: var(--c-dark);
    color: var(--c-base);
}
.link-arrow {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}
.link-arrow:hover { gap: 12px; }

/* --- IMAGES & CONTAINERS --- */
.img-cover { object-fit: cover; }
.image-offset-frame {
    padding: 15px;
    background: var(--c-surface);
    position: relative;
}
.shadow-editorial { box-shadow: 15px 15px 0 var(--c-dark); }
.z-index-2 { position: relative; z-index: 2; }
.absolute-fill {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.overlay-gradient-dark {
    background: linear-gradient(to top, rgba(31, 36, 33, 0.9) 0%, rgba(31, 36, 33, 0) 60%);
}

/* --- SPECIFIC SECTIONS --- */
/* Community Masonry-style */
.persona-card { transition: transform 0.3s ease; }
.persona-card:hover { transform: translateY(-5px); }
.avatar-circle { width: 48px; height: 48px; border-radius: 50%; }
.badge-soft {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(0,0,0,0.05);
}
.bg-dark-soft.badge-soft { background: rgba(255,255,255,0.05) !important; }

/* Responsible Block */
.framed-manifesto {
    border-radius: 0;
    box-shadow: -15px 15px 0 var(--c-accent-2);
}
.bg-shape-accent-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--c-accent-1);
    top: -150px;
    right: -50px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

/* Forms */
.form-control-editorial {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(244, 241, 237, 0.3);
    border-radius: 0;
    color: var(--c-base);
    padding: 10px 0;
}
.form-control-editorial:focus {
    background: transparent;
    color: var(--c-base);
    box-shadow: none;
    border-bottom-color: var(--c-accent-1);
}
.custom-check .form-check-input {
    background-color: transparent;
    border-color: rgba(244, 241, 237, 0.3);
    border-radius: 0;
}
.custom-check .form-check-input:checked {
    background-color: var(--c-accent-1);
    border-color: var(--c-accent-1);
}

/* Sidebar sticky */
.sticky-sidebar { position: sticky; top: 120px; }

/* Footer */
.column-count-2 { column-count: 2; column-gap: 20px; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
    color: var(--c-base-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer-nav-list a:hover { color: var(--c-accent-1); }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .shadow-editorial { box-shadow: 10px 10px 0 var(--c-dark); }
    .py-spacing, .py-spacing-lg { padding-top: 60px; padding-bottom: 60px; }
    .min-vh-700 { min-height: 500px; }
    .hero-visual-wrapper { display: none; } /* Focus purely on typography in hero on mobile */
    .hero-editorial { height: auto !important; padding: 120px 0 60px; }
    .masonry-style-grid > div { margin-top: 0 !important; }
}