:root {
    --ink: #020b12;
    --navy: #031521;
    --blue: #062b42;
    --line: #1e4a61;
    --gold: #e8c47d;
    --cream: #f7f1e7;
    --muted: #aab9c2;
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    flex-direction: column;
    background:
        radial-gradient(circle at 50% 10%, #07304a 0, #031722 26%, #020a10 65%);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 14px;
}

/*
 * Global storefront shell: every public page is opened by components/header.php
 * with <main> and closed by components/footer.php. Let main consume any spare
 * desktop viewport height so short pages keep the footer at the bottom instead
 * of leaving a large body-background gap underneath it. Long pages are
 * unaffected because main simply grows with their content.
 */
body > main {
    display: block;
    width: 100%;
    flex: 1 0 auto;
}

body > .topbar,
body > .site-header,
body > .site-footer {
    flex: 0 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

.wrap,
.section {
    width: min(1400px, calc(100% - 64px));
    margin-inline: auto;
}

.section {
    padding-block: 54px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 22px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.button-gold {
    background: linear-gradient(135deg, #f4d899, #d9ad5e);
    color: #071018;
}

.button-outline {
    border: 1px solid #91a8b4;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 0;
    font: 600 30px/1 var(--serif);
    letter-spacing: 2px;
}

.section-heading p {
    margin: 8px 0 0;
    color: #b8c5cb;
}

.section-heading > a {
    color: var(--gold);
    font-size: 11px;
}

.section-heading-centered {
    justify-content: center;
    text-align: center;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: none;
}


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
