:root {
    --ink-950: #102031;
    --ink-900: #18324b;
    --ink-700: #34536f;
    --ink-500: #5c7a92;
    --mist-200: #d8e2ea;
    --mist-100: #ebf1f5;
    --mist-050: #f6f8fa;
    --sand-200: #e6dcc9;
    --sand-100: #f6f0e3;
    --accent: #bf7c2a;
    --accent-deep: #935c18;
    --success-bg: #e9f7ec;
    --success-text: #1f5d35;
    --error-bg: #fff1ef;
    --error-text: #8a3126;
    --shadow-sm: 0 10px 30px rgba(16, 32, 49, 0.08);
    --shadow-md: 0 18px 44px rgba(16, 32, 49, 0.12);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --site-width: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    color: var(--ink-950);
    background:
        radial-gradient(circle at top left, rgba(191, 124, 42, 0.12), transparent 36%),
        linear-gradient(180deg, #f9fbfc 0%, #eef3f7 52%, #f7f3ea 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

p,
ul,
ol {
    margin: 0;
}

.site-shell {
    width: var(--site-width);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(16, 32, 49, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

.brand img {
    width: 116px;
    max-width: 28vw;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.83rem;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    padding: 10px 16px;
    cursor: pointer;
}

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

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
}

.site-main {
    padding: 32px 0 56px;
}

.page-shell {
    display: block;
}

.stack-sm > * + * {
    margin-top: 12px;
}

.stack-md > * + * {
    margin-top: 20px;
}

.stack-lg > * + * {
    margin-top: 28px;
}

.stack-xl > * + * {
    margin-top: 40px;
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 50, 75, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.panel--inset {
    background: linear-gradient(180deg, rgba(246, 240, 227, 0.94), rgba(255, 255, 255, 0.9));
    box-shadow: none;
}

.page-hero {
    overflow: hidden;
}

.page-hero--home {
    background:
        linear-gradient(135deg, rgba(16, 32, 49, 0.96), rgba(24, 50, 75, 0.9)),
        radial-gradient(circle at top right, rgba(191, 124, 42, 0.34), transparent 28%);
    color: #fff;
    padding: 36px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.page-hero--home .eyebrow {
    color: #f7d7ab;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
}

h1 {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

h2 {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
}

h3 {
    font-size: 1.1rem;
}

.lede {
    font-size: 1.05rem;
    color: rgba(16, 32, 49, 0.76);
    max-width: 62ch;
}

.page-hero--home .lede {
    color: rgba(255, 255, 255, 0.82);
}

.hero-meta,
.button-row,
.listing-buttons,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(16, 32, 49, 0.06);
    font-weight: 600;
    color: var(--ink-900);
}

.simple-steps {
    padding-left: 18px;
}

.simple-steps li + li {
    margin-top: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
    cursor: pointer;
}

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

.button:focus-visible,
.return-home-link:focus-visible,
.sidebar-list a:focus-visible,
.site-nav a:focus-visible {
    outline: 3px solid rgba(191, 124, 42, 0.3);
    outline-offset: 3px;
}

.button--ghost {
    background: transparent;
    color: var(--ink-900);
    border-color: rgba(24, 50, 75, 0.16);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: rgba(24, 50, 75, 0.06);
}

.page-hero--home .button--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.button--home {
    min-height: 54px;
    padding: 0 24px;
    font-size: 1rem;
}

.return-home-callout {
    max-width: 38rem;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(191, 124, 42, 0.25);
    background: linear-gradient(180deg, rgba(246, 240, 227, 0.95), rgba(255, 255, 255, 0.98));
}

.return-home-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.return-home-copy {
    color: var(--ink-700);
}

.return-home-link {
    color: var(--ink-900);
    font-weight: 700;
    text-underline-offset: 0.16em;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(24, 50, 75, 0.08);
    box-shadow: var(--shadow-sm);
}

.stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--ink-900);
}

.stat-card span {
    color: var(--ink-700);
}

.content-section {
    display: block;
}

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

.section-heading p {
    color: var(--ink-700);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.listing-grid,
.callout-grid,
.gallery-grid,
.embed-grid {
    display: grid;
    gap: 20px;
}

.listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.callout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card,
.embed-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 50, 75, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.listing-card--muted {
    background: linear-gradient(180deg, rgba(246, 240, 227, 0.86), rgba(255, 255, 255, 0.94));
}

.listing-media,
.listing-placeholder {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, rgba(24, 50, 75, 0.12), rgba(191, 124, 42, 0.12));
}

.listing-media {
    overflow: hidden;
}

.listing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.listing-card:hover .listing-image {
    transform: scale(1.03);
}

.listing-placeholder {
    display: grid;
    place-items: center;
    color: var(--ink-700);
    font-family: "Palatino Linotype", "Book Antiqua", serif;
    font-size: 1.4rem;
}

.listing-body,
.embed-card {
    padding: 22px;
}

.listing-price {
    color: var(--accent-deep);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.listing-summary,
.listing-subtitle,
.muted-copy,
.sidebar-list a,
.rich-text p,
.rich-text li,
.embed-card p {
    color: var(--ink-700);
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li + li {
    margin-top: 12px;
}

.sidebar-list a {
    text-decoration: none;
}

.sidebar-list a:hover,
.sidebar-list a:focus-visible {
    color: var(--ink-900);
}

.sidebar-list--bulleted {
    list-style: disc;
    padding-left: 18px;
}

.rich-text ul,
.rich-text ol {
    padding-left: 18px;
}

.rich-text li + li,
.rich-text p + p {
    margin-top: 10px;
}

.notice {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 600;
}

.notice--success {
    background: var(--success-bg);
    border-color: rgba(31, 93, 53, 0.18);
    color: var(--success-text);
}

.notice--error {
    background: var(--error-bg);
    border-color: rgba(138, 49, 38, 0.18);
    color: var(--error-text);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid--two-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field--error input,
.field--error select,
.field--error textarea {
    border-color: rgba(138, 49, 38, 0.42);
    background: #fffaf9;
}

.field label,
.checkbox-row label {
    font-weight: 700;
    color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(24, 50, 75, 0.18);
    border-radius: 14px;
    background: #fff;
    color: var(--ink-950);
    font: inherit;
    padding: 14px 16px;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(191, 124, 42, 0.24);
    border-color: var(--accent);
}

.checkbox-row {
    display: grid;
    gap: 12px;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: start;
}

.checkbox--error span {
    color: var(--error-text);
}

.checkbox input {
    margin-top: 4px;
}

.field-error {
    color: var(--error-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.helper-copy {
    color: var(--ink-700);
    font-size: 0.94rem;
}

.application-section {
    padding-top: 28px;
    border-top: 1px solid rgba(24, 50, 75, 0.08);
}

.application-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

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

.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(16, 32, 49, 0.76);
    color: #fff;
    font-size: 0.92rem;
}

.embed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.embed-frame,
.video-frame {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(16, 32, 49, 0.08);
}

.embed-frame {
    aspect-ratio: 4 / 3;
}

.video-frame {
    aspect-ratio: 16 / 9;
}

.embed-frame iframe,
.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.media-panel {
    padding: 12px;
}

.media-panel img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 8px);
}

.site-footer {
    background: var(--ink-950);
    color: rgba(255, 255, 255, 0.82);
    padding: 42px 0 48px;
}

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

.footer-block {
    display: grid;
    gap: 10px;
}

.footer-block a {
    color: #fff;
}

.footer-logo {
    width: 112px;
}

@media (max-width: 980px) {
    .hero-layout,
    .content-grid,
    .callout-grid,
    .listing-grid,
    .gallery-grid,
    .embed-grid,
    .footer-grid,
    .form-grid--three {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .header-row {
        flex-wrap: wrap;
        gap: 14px;
    }

    .brand-copy {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 100%;
        margin-left: 0;
    }

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

    .site-nav ul {
        width: 100%;
        flex-direction: column;
        padding-top: 8px;
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
    }

    .panel,
    .page-hero--home {
        padding: 22px;
    }

    .form-grid,
    .form-grid--two-tight {
        grid-template-columns: 1fr;
    }
}
