:root {
    --bg: #0a0f1c;
    --bg-soft: #111827;
    --surface: #1a2338;
    --surface-light: #222d45;
    --surface-elevated: #26324d;
    --gold: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #9a7d3c;
    --gold-glow: rgba(201, 169, 98, 0.15);
    --text: #f5f0e8;
    --text-muted: #9ca8bc;
    --border: rgba(201, 169, 98, 0.22);
    --border-strong: rgba(201, 169, 98, 0.45);
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 8px 32px rgba(201, 169, 98, 0.12);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --max: 1200px;
    --header-h: 80px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 169, 98, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(26, 35, 56, 0.9), transparent);
    background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--gold);
    color: var(--bg);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.container {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 41, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
}

.brand:hover { color: var(--gold-light); }

.brand-mark { color: var(--gold); flex-shrink: 0; }

.brand-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-tag {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--text);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 0 auto;
    position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

@media (max-width: 960px) {
    .menu-btn { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-soft);
        padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border);
    }
    .site-nav.open { display: flex; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--bg);
}

.btn-ghost {
    background: transparent;
    color: var(--gold-light);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: rgba(201, 169, 98, 0.1);
    color: var(--gold);
}

/* Hero */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 41, 0.92) 0%, rgba(15, 23, 41, 0.65) 50%, rgba(15, 23, 41, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    padding: 4rem 0;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text);
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(10, 15, 28, 0.65);
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    backdrop-filter: blur(6px);
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 36rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title p { color: var(--text-muted); max-width: 36rem; margin-inline: auto; }

.kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 40rem;
}

/* Service grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: linear-gradient(165deg, var(--surface) 0%, var(--surface-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--shadow-gold);
    border-color: var(--border-strong);
}

.service-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.service-card-body { padding: 1.5rem; }

.service-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.service-card h3 a:hover { color: var(--gold-light); }

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-media img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.split-media { position: relative; }

.split-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; }
}

/* Process steps */
.process-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-top: 2.5rem;
}

.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
}

/* Stats band */
.stats-band {
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-light) 100%);
    border-block: 1px solid var(--border);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    display: block;
}

.stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* Page banner (inner pages) */
.page-banner {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 3.5rem 0;
    background: linear-gradient(to top, rgba(10, 15, 28, 0.98) 0%, rgba(10, 15, 28, 0.82) 45%, rgba(10, 15, 28, 0.4) 100%);
}

.page-banner-content .kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(10, 15, 28, 0.72);
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    backdrop-filter: blur(6px);
    text-shadow: none;
}

.page-banner-content h1 {
    margin-bottom: 0.65rem;
    max-width: 18ch;
    color: var(--text);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.page-banner-content .subtitle {
    max-width: 38rem;
    margin-bottom: 0;
    color: rgba(245, 240, 232, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.photo-grid figure { margin: 0; }

.photo-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.photo-grid img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.photo-grid figcaption {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .photo-grid { grid-template-columns: 1fr; }
}

/* Wide photo */
.photo-wide {
    margin: 2rem 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.photo-wide img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.photo-wide figcaption {
    padding: 0.85rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* Page head (legal) */
.page-head {
    padding: 4rem 0 3rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.page-head h1 { margin-bottom: 0.75rem; }

/* Content prose */
.prose { max-width: 46rem; }
.prose-wide { max-width: 52rem; }

.content-block {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.content-block:last-child { border-bottom: none; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Membership tiers */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.tier-card {
    background: linear-gradient(165deg, var(--surface) 0%, var(--surface-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tier-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold), 0 0 0 1px var(--gold);
    background: linear-gradient(165deg, var(--surface-light) 0%, var(--surface-elevated) 100%);
}

.tier-price {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--gold);
    margin: 1rem 0;
}

.tier-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact */
.contact-panel .split-media { margin-top: 1.5rem; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    padding: 3rem 0 4rem;
}

.contact-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.field-note { color: var(--text-muted); font-weight: 400; }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-alert {
    background: rgba(200, 80, 80, 0.15);
    border: 1px solid rgba(200, 80, 80, 0.4);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.form-alert ul { margin: 0; padding-left: 1.25rem; }

.form-success {
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 2rem;
}

.map-section { padding-bottom: 4rem; }
.map-note { color: var(--text-muted); margin-bottom: 1rem; }

.map-block {
    position: relative;
    min-height: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-embed {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.map-fallback {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.75rem;
    font-size: 1.15rem;
}

.legal-content ul, .legal-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.legal-content li { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    padding-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

.site-footer address { font-style: normal; font-size: 0.9rem; color: var(--text-muted); }
.site-footer address a { color: var(--text-muted); }
.site-footer address a:hover { color: var(--gold-light); }

.footer-base {
    text-align: center;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.25rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-inner {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

.cookie-banner h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* 404 */
.error-page {
    text-align: center;
    padding: 6rem 0;
    min-height: 50vh;
}

.error-page h1 { font-size: 5rem; color: var(--gold); margin-bottom: 0.5rem; }

.cta-band {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.cta-band h2 { margin-bottom: 1rem; }

.cta-band p { color: var(--text-muted); max-width: 32rem; margin: 0 auto 1.5rem; }

.cta-band {
    border-top: 1px solid var(--border);
}

.note-muted {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
