:root {
    --navy: #1B2A4A;
    --navy-deep: #0D1B2A;
    --gold: #C9A84C;
    --gold-light: #DFC06E;
    --gold-dark: #A68A3E;
    --cream: #FAF9F6;
    --cream-dark: #F0EDE4;
    --white: #ffffff;
    --text: #1C1C28;
    --text-light: #5A5A72;
    --river-mist: rgba(126, 150, 167, 0.08);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    --radius: 16px;
    --radius-sm: 10px;

    --hero-img: url('../img/geneva-hero.jpg');
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 200;
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 600;
    font-size: 0.85rem;
}
.skip-link:focus {
    top: 0.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }

a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

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

/* ===================== BUTTONS ===================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
}

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

.btn-outline-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-outline-light:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

/* ===================== HEADER ===================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.site-header.scrolled {
    background: rgba(13, 27, 42, 0.95);
    border-bottom-color: rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.4s;
}

.site-header.scrolled .header-inner { height: 64px; }

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.logo:hover { color: var(--gold-light); }

.logo-icon { font-size: 1.5rem; line-height: 1; }

.main-nav { display: flex; gap: 0.5rem; }

.nav-link {
    color: rgba(255, 255, 255, 0.45);
    padding: 0.5rem 1.15rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s;
}
.nav-link:hover { color: rgba(255, 255, 255, 0.8); }
.nav-link.active { color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: rgba(255,255,255,0.6);
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===================== HERO ===================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.88) 0%,
        rgba(13, 27, 42, 0.80) 30%,
        rgba(13, 27, 42, 0.82) 65%,
        rgba(13, 27, 42, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
}

.hero-content > * {
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.3s; }
.hero-content > *:nth-child(2) { animation-delay: 0.6s; }
.hero-content > *:nth-child(3) { animation-delay: 0.9s; }
.hero-content > *:nth-child(4) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.01em;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.9;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-ornament {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--cream), transparent);
    z-index: 2;
}

/* ===================== PAGE HERO (inner pages) ===================== */

.page-hero {
    position: relative;
    padding: 12rem 2rem 6rem;
    text-align: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0.12;
}

.page-hero .hero-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.8) 0%,
        rgba(13, 27, 42, 0.6) 50%,
        rgba(13, 27, 42, 0.92) 100%
    );
    z-index: 1;
}

.page-hero .hero-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, var(--river-mist) 18%, transparent 34%, var(--river-mist) 58%, transparent 74%, var(--river-mist) 92%, transparent 100%),
        repeating-linear-gradient(90deg, transparent 0 88px, rgba(201, 168, 76, 0.014) 88px 89px, transparent 89px 176px),
        repeating-linear-gradient(0deg, transparent 0 54px, rgba(182, 148, 86, 0.012) 54px 55px, transparent 55px 108px);
    opacity: 0.12;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--cream), transparent);
    z-index: 2;
}

.page-hero h1 {
    position: relative;
    z-index: 3;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-style: italic;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.page-hero p {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* ===================== SECTIONS ===================== */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.ornament-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ===================== PHILOSOPHY ===================== */

.philosophy-section {
    padding: 7rem 2rem;
}

.philosophy-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-statement {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-light);
    line-height: 2;
    letter-spacing: 0.01em;
}

.philosophy-page {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

/* ===================== SERVICES PAGE ===================== */

.services-grid-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 27, 42, 0.06);
    padding: 2rem;
    min-height: 100%;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(182, 148, 86, 0.045), transparent 45%),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(201, 168, 76, 0.016) 54px 55px, transparent 55px 108px);
    pointer-events: none;
}

.service-card-index {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: rgba(27, 42, 74, 0.18);
    line-height: 1;
}

.service-card h2 {
    position: relative;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.service-card p {
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.9;
    font-weight: 300;
}

/* ===================== PRINCIPLES (homepage) ===================== */

.principles-section {
    background: var(--navy-deep);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.principles-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
}

.principles-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.principle {
    text-align: center;
    padding: 2rem 1.5rem;
}

.principle h3 {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.principle p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    line-height: 1.85;
    font-weight: 300;
}

/* ===================== APPROACH (about page) ===================== */

.approach-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2rem 1rem;
}

.approach-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold);
    opacity: 0.25;
    margin-bottom: 1rem;
    line-height: 1;
}

.approach-item h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.approach-item p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.85;
    font-weight: 300;
}

/* ===================== PHILANTHROPY ===================== */

.philanthropy-section {
    background: var(--navy-deep);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.philanthropy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
}

.philanthropy-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(126, 150, 167, 0.08), transparent 26%),
        radial-gradient(circle at 82% 35%, rgba(182, 148, 86, 0.05), transparent 24%),
        repeating-linear-gradient(90deg, transparent 0 90px, rgba(201, 168, 76, 0.014) 90px 91px, transparent 91px 180px);
    opacity: 0.18;
    pointer-events: none;
}

.philanthropy-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-charity-section .philanthropy-inner {
    max-width: 860px;
}

.service-heritage-mark {
    position: absolute;
    top: 2.25rem;
    left: 50%;
    width: 120px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.16), transparent);
    opacity: 0.16;
}

.service-heritage-mark::before,
.service-heritage-mark::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 24px;
    height: 13px;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    border-left: 1px solid rgba(201, 168, 76, 0.08);
    opacity: 0.24;
}

.service-heritage-mark::before {
    left: 18px;
}

.service-heritage-mark::after {
    right: 18px;
    transform: scaleX(-1);
}

.philanthropy-label {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.philanthropy-divider {
    width: 30px;
    height: 1px;
    background: rgba(201, 168, 76, 0.35);
    margin: 0 auto 2.5rem;
}

.philanthropy-statement {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 2;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.philanthropy-pillars {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.philanthropy-pillar {
    text-align: center;
}

.philanthropy-pillar h3 {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: var(--font-body);
}

.philanthropy-pillar p {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.82rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 240px;
}

/* ===================== CLOSING QUOTE ===================== */

.closing-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.closing-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.closing-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.8;
    opacity: 0.7;
}

/* ===================== CTA SECTION ===================== */

.cta-section {
    position: relative;
    padding: 7rem 2rem;
    text-align: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-style: italic;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2.75rem;
    font-size: 0.92rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ===================== CONTACT ===================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.contact-intro {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-item { margin-bottom: 1.75rem; }
.contact-item h3 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-family: var(--font-body);
}
.contact-item p {
    color: var(--text-light);
    font-weight: 300;
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    padding: 2.75rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: none;
    border-bottom: 1px solid #d8d8dd;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    transition: border-color 0.3s;
    font-weight: 300;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}
.form-group textarea { resize: vertical; }

/* ===================== FOOTER ===================== */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.35);
    position: relative;
}

.footer-pattern {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.25), transparent);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-brand .logo-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}
.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.2);
    font-style: normal;
}

address { font-style: normal; }

.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.5); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
}
.disclaimer { max-width: 500px; text-align: right; }

/* ===================== SCROLL REVEAL ===================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.25rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }
    .main-nav.open { display: flex; }
    .site-header.scrolled .main-nav { top: 64px; }
    .nav-toggle { display: flex; }

    .hero h1 { font-size: 2rem; }

    .section { padding: 4rem 1.5rem; }
    .philosophy-section { padding: 4rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .principles-section { padding: 4rem 1.5rem; }
    .principles-inner { grid-template-columns: 1fr; gap: 1rem; }
    .approach-grid { grid-template-columns: 1fr; gap: 1rem; }
    .philanthropy-pillars { flex-direction: column; gap: 2rem; align-items: center; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .footer-links { gap: 1.25rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .disclaimer { text-align: center; max-width: none; }
}
