:root {
    --ink-900: #11263a;
    --ink-700: #22425f;
    --ink-500: #3d5f7d;
    --sand-100: #f8f4eb;
    --sand-200: #efe8da;
    --paper: #fffdf8;
    --accent: #b9871f;
    --accent-strong: #8f6816;
    --line: rgba(17, 38, 58, 0.17);
    --line-strong: rgba(17, 38, 58, 0.3);
    --shadow-soft: 0 16px 35px rgba(17, 38, 58, 0.09);
    --shadow-panel: 0 20px 45px rgba(17, 38, 58, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --space-xs: 0.5rem;
    --space-sm: 0.9rem;
    --space-md: 1.4rem;
    --space-lg: 2.2rem;
    --space-xl: 3.6rem;
    --container: min(1180px, 92vw);
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 90% -10%, rgba(185, 135, 31, 0.11), transparent 32%),
        radial-gradient(circle at -5% 20%, rgba(61, 95, 125, 0.12), transparent 28%),
        var(--paper);
    line-height: 1.6;
}

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

a {
    color: var(--ink-700);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--accent-strong);
}

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", "Georgia", serif;
    line-height: 1.15;
    margin: 0 0 0.6rem;
    color: var(--ink-900);
}

p {
    margin-top: 0;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 1001;
    background: var(--ink-900);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
}

.top-bar {
    background: var(--ink-900);
    color: #edf3fa;
    font-size: 0.94rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.46rem 0;
}

.top-bar-inner p {
    margin: 0;
}

.top-bar-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-bar-links a {
    color: #f3f8fd;
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.96) 100%);
    border-bottom: 1px solid var(--line);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 88px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    flex: 0 1 41%;
    min-width: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #fff;
}

.brand-copy {
    min-width: 0;
}

.brand-overline {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 700;
}

.brand-title {
    display: block;
    color: var(--ink-900);
    font-family: "Fraunces", "Georgia", serif;
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.15;
}

.site-nav {
    margin-left: auto;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: clamp(0.38rem, 0.9vw, 0.95rem);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.94rem;
    color: var(--ink-700);
    padding: 0.38rem 0.58rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
    color: var(--ink-900);
    border-color: rgba(34, 66, 95, 0.24);
    background: rgba(34, 66, 95, 0.09);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    color: var(--ink-900);
    background: #fff;
    border-radius: 999px;
    padding: 0.42rem 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(17, 38, 58, 0.85) 0%, rgba(17, 38, 58, 0.54) 45%, rgba(17, 38, 58, 0.36) 100%);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: clamp(5.2rem, 12vh, 7.6rem) 0 clamp(4rem, 9vh, 5.8rem);
    max-width: 760px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.34rem 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.45rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1.06rem, 2.1vw, 1.28rem);
    max-width: 64ch;
    margin-bottom: 1.7rem;
    color: rgba(255, 255, 255, 0.93);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.67rem 1.2rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(185, 135, 31, 0.27);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    background: var(--accent-strong);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.58);
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    border-color: rgba(255, 255, 255, 0.74);
    color: #fff;
}

.section {
    padding: clamp(2.8rem, 6vw, 4.8rem) 0;
}

.section-alt {
    background: var(--sand-100);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.section-intro {
    max-width: 69ch;
    margin-bottom: 2rem;
    color: var(--ink-700);
    font-size: 1.08rem;
}

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

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
}

.value-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.28rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(1.2rem, 3.3vw, 3rem);
    align-items: center;
}

.media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-panel);
    border: 1px solid var(--line);
}

.media-frame img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

.facts {
    display: grid;
    gap: 0.78rem;
}

.fact-item {
    border-left: 3px solid var(--accent);
    background: #fff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.76rem 0.9rem;
}

.fact-item strong {
    color: var(--ink-900);
}

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

.feature-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    overflow: hidden;
}

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

.feature-card-body {
    padding: 1rem 1rem 1.2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--ink-700);
    margin-bottom: 1rem;
}

.cta-band {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 38, 58, 0.18);
    background: linear-gradient(120deg, #173049 0%, #244a6b 53%, #2d5c85 100%);
    color: #fff;
    padding: clamp(1.7rem, 4.5vw, 2.8rem);
    display: grid;
    grid-template-columns: 1.25fr auto;
    align-items: center;
    gap: 1rem;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 0.6rem;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.panel h3 {
    font-size: 1.2rem;
}

.timeline {
    display: grid;
    gap: 0.8rem;
}

.timeline-item {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
}

.timeline-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.14rem;
}

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

.gallery-item {
    margin: 0;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.8rem 0.95rem 0.95rem;
    font-size: 0.94rem;
    color: var(--ink-700);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.1rem;
    align-items: start;
}

.contact-card,
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.contact-list strong {
    display: inline-block;
    min-width: 74px;
}

.status-message {
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-weight: 600;
}

.status-message.success {
    background: rgba(47, 125, 81, 0.1);
    border-color: rgba(47, 125, 81, 0.28);
    color: #1e5a39;
}

.status-message.error {
    background: rgba(181, 65, 65, 0.1);
    border-color: rgba(181, 65, 65, 0.3);
    color: #8b2727;
}

form {
    display: grid;
    gap: 0.86rem;
}

label {
    font-weight: 700;
    color: var(--ink-900);
    display: grid;
    gap: 0.34rem;
}

input,
textarea {
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    font: inherit;
    color: var(--ink-900);
    background: #fff;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(185, 135, 31, 0.32);
    border-color: var(--accent);
}

textarea {
    min-height: 145px;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    margin-top: clamp(3rem, 8vw, 5rem);
    padding-top: clamp(2rem, 6vw, 3.2rem);
    background: linear-gradient(180deg, #0d2133 0%, #10253a 100%);
    color: #f2f7fb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 1rem;
    padding-bottom: 1.4rem;
}

.footer-brand-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-brand-main img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #fff;
}

.footer-brand-main h2 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}

.footer-grid h3 {
    color: #fff;
    font-size: 1.06rem;
    margin-bottom: 0.7rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.38rem;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.92);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: #ffe3a8;
}

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding: 0.9rem 0 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-disclaimer,
.footer-copy {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.center {
    text-align: center;
}

.muted {
    color: var(--ink-700);
}

@media (max-width: 1100px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.52rem 0;
    }

    .header-main {
        min-height: 76px;
        padding: 0.65rem 0;
        align-items: center;
        flex-wrap: wrap;
    }

    .brand {
        flex: 1 1 auto;
        max-width: calc(100% - 116px);
    }

    .brand-title {
        font-size: 0.92rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        width: 100%;
        display: none;
        margin: 0;
        padding-bottom: 0.4rem;
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-list {
        border-top: 1px solid var(--line);
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        flex-wrap: wrap;
        white-space: normal;
        gap: 0.45rem;
    }
}

@media (max-width: 980px) {
    .value-grid,
    .feature-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .contact-layout,
    .footer-grid,
    .info-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-band .button-row {
        justify-content: flex-start;
    }

    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .value-grid,
    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding-top: 4rem;
    }

    .top-bar-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .brand {
        max-width: 100%;
    }

    .button {
        width: 100%;
    }
}
