:root {
    --primary-color: #a45139; /* Earthy tone — per Brand Guidelines */
    --primary-light: #c1664a;
    --secondary-color: #fbb063; /* Warm accent */
    --secondary-light: #fcc285;
    --accent-blue: #a9b6c4; /* Calm tone */
    --dark-bg: #1b2632;
    --light-bg: #eee8de;
    --mid-bg: #c9c1b1;
    --text-main: #1b2632;
    --text-muted: #556270;
    --white: #ffffff;
    --border-color: #c9c1b1;
    
    --font-heading: Arial, sans-serif;
    --font-body: Georgia, serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(43, 122, 94, 0.08);
    --shadow-lg: 0 16px 32px rgba(43, 122, 94, 0.12);
    --radius-md: 0;
    --radius-lg: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

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

.cards-grid > *,
.results-list > * {
    min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 8rem 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.mt-4 { margin-top: 2rem; }

/* Typography Extras */
.lead { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; }
.lead-small { font-size: 1.125rem; font-weight: 500; color: var(--secondary-color); margin-bottom: 1rem; }
.section-label { 
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.section-label-light {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Typography Readability */
.text-max {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(43, 122, 94, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 122, 94, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Header / Top Bar */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.top-bar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-fast);
}
.menu-btn:hover { color: var(--primary-color); }

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: hero-fade 24s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }

@keyframes hero-fade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-color: var(--dark-bg);
    animation: overlayColor 12s infinite alternate ease-in-out;
    -webkit-mask-image: linear-gradient(to top right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0) 100%);
}

@keyframes overlayColor {
    0%, 15% { background-color: var(--dark-bg); }
    30%, 45% { background-color: var(--primary-color); }
    60%, 75% { background-color: var(--accent-blue); }
    90%, 100% { background-color: var(--dark-bg); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
    color: var(--white);
}
.hero-content h1 {
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-subtitle {
    font-weight: 400;
    font-size: 0.65em;
    display: inline-block;
    margin-top: 0.5rem;
}
.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.page-hero-background::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 38, 50, 0.7);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}
.page-hero-content h1 { color: var(--white); margin-bottom: 0; }

/* Split Section Layout */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.split-section.split-reverse {
    direction: rtl;
}
.split-section.split-reverse > * {
    direction: ltr;
}
.split-content {
    max-width: 600px;
}
.split-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    filter: drop-shadow(var(--shadow-md));
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
}

/* Intro Section */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.intro-content h2 { margin-bottom: 2rem; }
.intro-content p { font-size: 1.125rem; }

/* Key Cards Section */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.key-card {
    background: var(--white);
    border-radius: 0;
    filter: drop-shadow(var(--shadow-md));
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    transition: var(--transition-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.key-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.key-card-content {
    padding: 2rem;
    flex-grow: 1;
}

.key-card:hover {
    transform: translateY(-10px);
    filter: drop-shadow(var(--shadow-lg));
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-medium);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
}
.card-icon svg { width: 32px; height: 32px; }

.key-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Results Preview */
.results-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text p { margin-bottom: 2rem; }

.results-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.result-item {
    --item-color: var(--primary-color);
    --item-bg: var(--light-bg);
    background: var(--item-bg);
    padding: 2.5rem 2.25rem;
    min-height: 170px;
    border-radius: 0;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: var(--transition-medium);
    position: relative;
}
.result-item:nth-child(1) {
    --item-color: var(--primary-color);
    --item-bg: #f2e4dc;
}
.result-item:nth-child(2) {
    --item-color: #d98a3d;
    --item-bg: #fde6cc;
}
.result-item:nth-child(3) {
    --item-color: #6a7a8c;
    --item-bg: #dde3eb;
}
.result-item:nth-child(4) {
    --item-color: var(--dark-bg);
    --item-bg: #d6dde2;
}
.result-item:hover {
    background: var(--item-color);
    color: var(--white);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.result-item svg {
    width: 36px;
    height: 36px;
    color: var(--item-color);
    flex-shrink: 0;
    order: 2;
    transition: var(--transition-medium);
}
.result-item:hover svg { color: var(--white); }
.result-item span {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.result-item--coming { cursor: default; }
.result-item--coming:hover {
    background: var(--item-bg);
    color: inherit;
    transform: none;
    box-shadow: none;
}
.result-item--coming:hover svg { color: var(--item-color); }
.coming-tag {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    opacity: 0.85;
}
.results-roadmap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--light-bg);
    border-left: 3px solid var(--primary-color);
    max-width: 100%;
}
.results-roadmap svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}
.results-roadmap span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.45;
}

/* Community Hub */
.community-hub {
    position: relative;
    overflow: hidden;
    background: url('assets/stills/multigenerational-friends.jpg') center/cover no-repeat;
}
.community-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.community-hub::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 38, 50, 0.85); /* Dark overlay */
    z-index: 0;
}
.btn-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
}
.community-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* News & Events */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.section-header p { font-size: 1.125rem; }

.news-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    filter: drop-shadow(var(--shadow-sm));
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    transition: var(--transition-medium);
    border: 1px solid var(--border-color);
}
.news-card:hover { filter: drop-shadow(var(--shadow-md)); transform: translateY(-5px); }

.news-card-placeholder {
    background: var(--light-bg);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card-placeholder:hover { transform: none; filter: drop-shadow(var(--shadow-sm)); }

.news-image {
    height: 200px;
    background: var(--light-bg);
    position: relative;
    background-size: cover;
    background-position: center;
}

.news-content { padding: 2rem; }
.news-date {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}
.news-content h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}
.read-more svg { width: 16px; height: 16px; transition: var(--transition-fast); }
.read-more:hover svg { transform: translateX(5px); }

/* Partners */
.partners-intro { max-width: 800px; margin: 0 auto 3rem; }
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}
.partner-logo {
    width: 140px; height: 80px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-fast);
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-muted);
    padding: 6rem 0 2rem;
}

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

.footer-info { max-width: 400px; }
.footer-info .logo strong { color: var(--white); }
.footer-info p { margin-top: 1rem; }

.footer-links ul {
    display: flex;
    gap: 2rem;
}
.footer-links a { color: var(--white); font-weight: 500; }
.footer-links a:hover { color: var(--secondary-color); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.875rem;
    gap: 2rem;
}

.eu-disclaimer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.eu-disclaimer p {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 0;
    color: var(--text-muted);
}
.eu-disclaimer img {
    height: 60px;
    width: auto;
}

@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .results-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero { padding: 10rem 0 6rem; text-align: center; }
    .hero-actions { justify-content: center; flex-direction: column; }
    
    .results-list { grid-template-columns: 1fr; gap: 1.5rem; }
    .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .split-section.split-reverse {
        direction: ltr;
    }
    .split-image {
        height: 300px;
        order: -1;
    }
    
    .nav-links {
        display: none; /* Hide links on mobile */
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-sm);
        border-top: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-btn {
        display: block; /* Show menu button on mobile */
    }
    
    .footer-top { flex-direction: column; gap: 3rem; }
    .footer-links ul { flex-direction: column; gap: 1rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .eu-disclaimer { flex-direction: column; text-align: center; }
}
