:root {
    --navy: #0b1628;
    --navy-mid: #152842;
    --navy-soft: #1e3554;
    --ivory: #faf7f1;
    --cream: #f0e8da;
    --gold: #b8956a;
    --gold-light: #d4b896;
    --gold-dark: #96754a;
    --text: #1a2433;
    --text-muted: #5a6578;
    --white: #ffffff;
    --error: #9b2c2c;
    --success: #276749;
    --max: 1200px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 24px 60px rgba(11, 22, 40, 0.12);
    --shadow-soft: 0 8px 30px rgba(11, 22, 40, 0.08);
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::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: linear-gradient(180deg, var(--ivory) 0%, #f3ede3 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); transition: color 0.2s ease; }
a:hover { color: var(--gold-dark); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1rem;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 22, 40, 0.96);
    border-bottom: 1px solid rgba(184, 149, 106, 0.2);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ivory);
}

.site-logo__mark {
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    display: block;
}

.site-logo__text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.nav-toggle {
    display: none;
    background: rgba(184, 149, 106, 0.1);
    border: 1px solid rgba(184, 149, 106, 0.45);
    color: var(--ivory);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
    cursor: pointer;
    font: inherit;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }

.site-nav a {
    color: rgba(250, 247, 241, 0.85);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font: inherit;
    transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
    background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
    color: var(--white);
    border-color: rgba(184, 149, 106, 0.45);
    box-shadow: 0 10px 28px rgba(11, 22, 40, 0.28);
}
.btn-accent:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--navy-soft) 100%);
    color: var(--white);
    border-color: var(--gold);
}

a.btn-accent { color: var(--white); }
a.btn-accent:hover { color: var(--white); }

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: rgba(21, 40, 66, 0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.hero .btn-ghost {
    color: var(--ivory);
    border-color: rgba(250, 247, 241, 0.35);
    background: rgba(255, 255, 255, 0.04);
}
.hero .btn-ghost:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

/* Hero */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 72vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a3050 100%);
    color: var(--ivory);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(184, 149, 106, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 38%);
    pointer-events: none;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 1.5rem 4.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
}

.hero__media {
    position: relative;
    z-index: 0;
    min-height: 320px;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 22, 40, 0.35) 35%, transparent 70%);
    pointer-events: none;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gold-light);
    margin: 0 0 1.25rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.35rem, 5vw, 3.55rem);
    line-height: 1.08;
    margin: 0 0 1.35rem;
    font-weight: 600;
    max-width: 16ch;
}

.hero__lead {
    font-size: 1.15rem;
    color: rgba(250, 247, 241, 0.88);
    max-width: 38rem;
    margin: 0 0 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 149, 106, 0.25);
    font-size: 0.92rem;
    color: rgba(250, 247, 241, 0.75);
}

.hero__meta strong {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

/* Strip */
.strip {
    background: var(--cream);
    border-block: 1px solid rgba(184, 149, 106, 0.25);
}

.strip__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.strip__item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    border: 1px solid rgba(184, 149, 106, 0.2);
}

.strip__item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

/* Sections */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.section--dark {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--ivory);
    max-width: none;
}
.section--dark .section__inner { max-width: var(--max); margin: 0 auto; }
.section--dark .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(184, 149, 106, 0.25); }
.section--dark .card__body h3 { color: var(--ivory); }
.section--dark .card__body p { color: rgba(250, 247, 241, 0.78); }
.section--dark .card__link { color: var(--gold-light); }

.section__header { max-width: 44rem; margin-bottom: 2.75rem; }

.section__header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
    margin: 0 0 0.85rem;
    line-height: 1.12;
}

.section__header p { color: var(--text-muted); margin: 0; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.card {
    background: var(--white);
    border: 1px solid rgba(184, 149, 106, 0.22);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover::before { opacity: 1; }
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 1.5rem 1.35rem 1.65rem; }

.card__body h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin: 0 0 0.65rem;
    color: var(--navy);
}

.card__body p { margin: 0 0 1.1rem; color: var(--text-muted); }

.card__link {
    font-weight: 600;
    text-decoration: none;
    color: var(--gold-dark);
}
.card__link:hover { color: var(--navy); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split__text h2 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.split__media img,
.media-frame img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(184, 149, 106, 0.2);
}

/* Insight cards */
.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(184, 149, 106, 0.22);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.insight-card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.insight-card__body { padding: 1.35rem 1.25rem 1.5rem; }

.insight-card__body a {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    line-height: 1.25;
    display: block;
}
.insight-card__body a:hover { color: var(--gold-dark); }

.insight-card__body p {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3050 100%);
    color: var(--ivory);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(184, 149, 106, 0.12), transparent 50%);
    pointer-events: none;
}

.page-hero__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.85rem);
    margin: 0 0 0.85rem;
    line-height: 1.12;
}

.page-hero__lead {
    margin: 0;
    color: rgba(250, 247, 241, 0.88);
    max-width: 36rem;
    font-size: 1.05rem;
}

.page-hero__img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184, 149, 106, 0.35);
    box-shadow: var(--shadow);
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
}

.page-hero--compact { padding: 2.75rem 1.5rem; }
.page-hero--compact .page-hero__inner { grid-template-columns: 1fr; }
.page-hero--compact .page-hero__img { display: none; }

/* Prose */
.prose {
    max-width: var(--max);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

.prose--narrow { max-width: 46rem; }

.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    margin: 2.75rem 0 0.85rem;
    color: var(--navy);
    line-height: 1.2;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin: 2rem 0 0.65rem;
}

.prose p { margin: 0 0 1.15rem; }

.prose ul, .prose ol { margin: 0 0 1.35rem; padding-left: 1.4rem; }

.prose-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin: 2rem 0 2.5rem;
}

.prose-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.stat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0 2.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.stat-table th,
.stat-table td {
    border: 1px solid rgba(184, 149, 106, 0.25);
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
}

.stat-table th {
    background: var(--cream);
    font-weight: 600;
    color: var(--navy);
}

/* Contact */
.contact-layout {
    max-width: var(--max);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
}

.contact-form {
    background: var(--white);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184, 149, 106, 0.22);
    box-shadow: var(--shadow);
}

.field { margin-bottom: 1.2rem; }

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(21, 40, 66, 0.18);
    border-radius: var(--radius);
    font: inherit;
    background: var(--ivory);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.2);
}

.field-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.req { color: var(--gold-dark); }

.alert {
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #e8f5ec;
    border: 1px solid #a7d7b5;
    color: var(--success);
}

.alert-error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: var(--error);
}

.map-wrap {
    aspect-ratio: 16/10;
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(184, 149, 106, 0.3);
    box-shadow: var(--shadow-soft);
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.map-caption {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.contact-details {
    font-style: normal;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid rgba(184, 149, 106, 0.2);
}

/* Cookie banner — premium panel */
.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 300;
    pointer-events: none;
}

.cookie-banner__panel {
    pointer-events: auto;
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem 1.5rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, rgba(11, 22, 40, 0.97) 0%, rgba(21, 40, 66, 0.97) 100%);
    color: var(--ivory);
    border: 1px solid rgba(184, 149, 106, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.cookie-banner__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 149, 106, 0.12);
    border-radius: 50%;
    border: 1px solid rgba(184, 149, 106, 0.3);
}

.cookie-banner__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: var(--ivory);
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(250, 247, 241, 0.82);
    line-height: 1.55;
}

.cookie-banner__text a { color: var(--gold-light); }

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 140px;
}

.btn-cookie-accent {
    background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
    color: var(--white);
    border: 1px solid rgba(184, 149, 106, 0.45);
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    font: inherit;
}

.btn-cookie-ghost {
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(250, 247, 241, 0.35);
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    font: inherit;
}
.btn-cookie-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

body.has-cookie { padding-bottom: 7.5rem; }

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(250, 247, 241, 0.85);
    padding: 3.5rem 1.5rem 1.75rem;
}

.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }

.site-footer__grid {
    max-width: var(--max);
    margin: 0 auto 2.25rem;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
    gap: 2rem;
}

.site-footer__name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin: 0 0 0.55rem;
    color: var(--ivory);
}

.site-footer__tagline { margin: 0; font-size: 0.94rem; line-height: 1.6; }

.site-footer__heading {
    font-weight: 700;
    margin: 0 0 0.85rem;
    color: var(--gold-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.94rem; }

.site-footer__bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(184, 149, 106, 0.22);
    font-size: 0.86rem;
    color: rgba(250, 247, 241, 0.6);
}

.fee-note {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 1.15rem 1.35rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.cta-row { margin-top: 2rem; }

.error-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
}

.error-page h1 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    margin: 0 0 0.85rem;
}

.error-page__img {
    max-width: 420px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .hero__media { min-height: 280px; order: -1; }
    .hero__media::after { background: linear-gradient(180deg, transparent 40%, var(--navy) 100%); }
    .hero__content { padding: 2.75rem 1.5rem 3rem; }
    .hero h1 { max-width: none; }
    .strip__inner,
    .grid-3,
    .split,
    .prose-media,
    .insight-grid,
    .page-hero__inner,
    .contact-layout,
    .site-footer__grid,
    .cookie-banner__panel {
        grid-template-columns: 1fr;
    }
    .cookie-banner__actions { flex-direction: row; flex-wrap: wrap; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem 1.5rem 1.35rem;
        border-bottom: 1px solid rgba(184, 149, 106, 0.22);
    }
    .site-nav.is-open { display: flex; }
    .site-header { position: relative; }
    .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .card:hover, .insight-card:hover { transform: none; }
}
