:root {
    --bg: #efe4d5;
    --bg-deep: #d9ccb9;
    --surface: rgba(255, 252, 247, 0.92);
    --surface-strong: #fffdf9;
    --surface-soft: rgba(250, 243, 234, 0.9);
    --ink: #213039;
    --ink-muted: #52636c;
    --ink-soft: #6b7b84;
    --accent: #365a63;
    --accent-deep: #243e45;
    --accent-warm: #a47a45;
    --accent-warm-soft: #e5d0ad;
    --line: rgba(116, 94, 67, 0.22);
    --line-strong: rgba(116, 94, 67, 0.38);
    --shadow-soft: 0 18px 40px rgba(25, 39, 44, 0.1);
    --shadow-strong: 0 24px 56px rgba(19, 28, 31, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Avenir Next", "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
    font-size: 1.03rem;
    line-height: 1.7;
    background:
        radial-gradient(circle at 0% 0%, rgba(164, 122, 69, 0.18), transparent 30%),
        radial-gradient(circle at 100% 14%, rgba(54, 90, 99, 0.16), transparent 34%),
        linear-gradient(180deg, #f7f0e6 0%, #ece1d1 40%, #f6f2eb 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15), transparent 20%);
    opacity: 0.55;
}

main {
    display: block;
}

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

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

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

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    line-height: 1.08;
    letter-spacing: 0.01em;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

p {
    margin: 0 0 1rem;
}

.container {
    width: min(var(--container), calc(100% - 2.2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.narrow {
    max-width: 820px;
}

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

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 999;
    padding: 0.6rem 0.85rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(14px);
    background: rgba(248, 242, 234, 0.84);
    border-bottom: 1px solid rgba(116, 94, 67, 0.12);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 34px rgba(31, 44, 51, 0.1);
    background: rgba(248, 242, 234, 0.94);
}

.header-top {
    border-bottom: 1px solid rgba(116, 94, 67, 0.14);
    background:
        linear-gradient(90deg, rgba(243, 232, 214, 0.95) 0%, rgba(250, 246, 240, 0.88) 55%, rgba(236, 225, 207, 0.92) 100%);
}

.header-top-inner,
.header-actions,
.top-bar,
.cta-shell,
.hero-actions,
.footer-bottom {
    display: flex;
    align-items: center;
}

.header-top-inner {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
}

.header-note,
.eyebrow,
.card-kicker,
.footer-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.header-note {
    margin: 0;
    font-size: 0.76rem;
    color: #6c512f;
}

.header-actions {
    gap: 0.7rem;
}

.header-location {
    color: #6e6254;
    font-size: 0.82rem;
    white-space: nowrap;
}

.header-email {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(54, 90, 99, 0.3);
    background: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.top-bar {
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    flex: 1 1 auto;
}

.brand-mark {
    color: #7b5d31;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-name {
    font-size: clamp(0.94rem, 1.2vw, 1.18rem);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #ffffff;
    padding: 0.5rem 0.8rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-nav {
    flex: 0 0 auto;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
    background: rgba(54, 90, 99, 0.12);
    color: var(--accent-deep);
}

.hero,
.page-hero,
.thank-you-section {
    position: relative;
    overflow: hidden;
}

.hero::before,
.page-hero::before,
.thank-you-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(164, 122, 69, 0.18), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(54, 90, 99, 0.18), transparent 32%),
        linear-gradient(160deg, rgba(253, 249, 241, 0.95) 0%, rgba(239, 228, 213, 0.88) 48%, rgba(247, 241, 232, 0.96) 100%);
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    right: -10rem;
    top: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    border: 1px solid rgba(54, 90, 99, 0.14);
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: end;
    padding: 6rem 0 5rem;
}

.hero-copy h1 {
    max-width: 11ch;
}

.lead {
    max-width: 56ch;
    font-size: clamp(1.1rem, 2vw, 1.33rem);
    color: #36454e;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    color: #7a5930;
}

.hero-actions {
    gap: 0.72rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #355a63 0%, #244049 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(36, 64, 73, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(36, 64, 73, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #ead9bc 0%, #d4b583 100%);
    color: #322516;
    box-shadow: 0 14px 26px rgba(110, 83, 49, 0.14);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #23180d;
}

.quickfacts,
.detail-list,
.clean-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quickfacts {
    display: grid;
    gap: 0.85rem;
    max-width: 42rem;
}

.quickfacts li,
.detail-list li {
    position: relative;
    padding-left: 1rem;
}

.quickfacts li::before,
.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--accent-warm);
}

.quickfacts strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--accent-deep);
}

.quickfacts span,
.detail-list li,
.micro-note,
.form-note {
    color: var(--ink-muted);
}

.hero-media,
.panel-pair,
.media-layout,
.contact-grid,
.footer-grid {
    display: grid;
}

.hero-media {
    gap: 1rem;
}

.hero-card,
.card,
.info-panel,
.content-panel,
.note-panel,
.contact-card,
.policy-card,
.thank-you-card {
    background: linear-gradient(180deg, var(--surface-strong) 0%, rgba(250, 245, 236, 0.92) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.hero-card,
.card,
.info-panel,
.content-panel,
.note-panel,
.contact-card,
.policy-card,
.thank-you-card {
    padding: 1.45rem;
}

.hero-card p:last-child,
.card p:last-child,
.info-panel p:last-child,
.content-panel p:last-child,
.note-panel p:last-child,
.contact-card p:last-child,
.policy-card p:last-child {
    margin-bottom: 0;
}

.hero-figure,
.media-frame,
.photo-card {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f8f1e6;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-strong);
}

.hero-figure img,
.media-frame img,
.photo-card img {
    width: 100%;
    object-fit: cover;
}

.hero-figure img {
    aspect-ratio: 4 / 4.4;
}

.hero-figure figcaption,
.photo-card figcaption {
    padding: 0.95rem 1rem 1.05rem;
    background: rgba(255, 252, 247, 0.96);
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.media-frame img {
    aspect-ratio: 16 / 10;
}

.section {
    padding: 5rem 0;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(255, 249, 242, 0.5) 0%, rgba(250, 243, 234, 0.74) 100%);
    border-top: 1px solid rgba(116, 94, 67, 0.1);
    border-bottom: 1px solid rgba(116, 94, 67, 0.1);
}

.section-muted {
    background:
        linear-gradient(180deg, rgba(245, 237, 226, 0.86) 0%, rgba(251, 247, 241, 0.7) 100%);
    border-top: 1px solid rgba(116, 94, 67, 0.12);
    border-bottom: 1px solid rgba(116, 94, 67, 0.12);
}

.section-heading {
    margin-bottom: 1.8rem;
    max-width: 52rem;
}

.section-heading p:last-child {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(54, 90, 99, 0.9) 0%, rgba(164, 122, 69, 0.85) 100%);
}

.card-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.73rem;
    color: #7c5a2f;
}

.media-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
}

.media-layout-reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.panel-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.detail-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.page-hero .container,
.thank-you-section .container {
    padding: 4.8rem 0 3.2rem;
}

.page-hero .container {
    max-width: 56rem;
}

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

.photo-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-card:hover,
.photo-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(23, 34, 38, 0.18);
}

.photo-card img {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--line);
}

.photo-card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--accent-deep);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.15rem;
}

.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.35rem;
    align-items: start;
}

.contact-stack {
    display: grid;
    gap: 1rem;
}

.contact-image-card {
    padding: 0;
    overflow: hidden;
}

.contact-image-card .photo-card {
    border: 0;
    border-radius: inherit;
    box-shadow: none;
}

.form-card {
    position: sticky;
    top: 6.8rem;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--accent-deep);
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(116, 94, 67, 0.26);
    background: rgba(255, 253, 249, 0.92);
    color: var(--ink);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(54, 90, 99, 0.22);
    border-color: rgba(54, 90, 99, 0.5);
    background: #ffffff;
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

.alert {
    margin-bottom: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(160, 62, 62, 0.28);
    background: rgba(255, 242, 242, 0.95);
}

.alert p {
    margin-bottom: 0.5rem;
}

.policy-grid {
    display: grid;
    gap: 1rem;
}

.thank-you-section {
    min-height: 60vh;
}

.thank-you-card {
    text-align: center;
    padding: 2.1rem;
}

.section-cta {
    color: #f7f0e5;
    background:
        radial-gradient(circle at 10% 15%, rgba(236, 210, 171, 0.14), transparent 24%),
        linear-gradient(120deg, #21373e 0%, #173038 52%, #6f5430 100%);
}

.section-cta .eyebrow,
.section-cta p {
    color: rgba(247, 240, 229, 0.86);
}

.section-cta h2 {
    color: #ffffff;
}

.cta-shell {
    justify-content: space-between;
    gap: 1.2rem;
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: #f2e7d8;
    background:
        radial-gradient(circle at 12% -10%, rgba(229, 205, 165, 0.14), transparent 30%),
        linear-gradient(150deg, #1d2f35 0%, #15252b 50%, #3c3022 100%);
    border-top: 1px solid rgba(164, 122, 69, 0.42);
    padding-top: 2.5rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -8rem auto auto -8rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 1px solid rgba(229, 205, 165, 0.12);
}

.site-footer a {
    color: #f0d9ae;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #fff0d2;
}

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

.footer-grid > section {
    min-width: 0;
}

.footer-contact-link {
    display: inline-block;
    max-width: 100%;
}

.site-footer h2 {
    margin-bottom: 0.55rem;
    color: #ffffff;
    font-size: 1.28rem;
}

.footer-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    color: #d2b37f;
}

.footer-bottom {
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.7rem;
    padding: 1rem 0 1.35rem;
    border-top: 1px solid rgba(240, 217, 174, 0.16);
    font-size: 0.92rem;
    color: rgba(242, 231, 216, 0.78);
}

@media (max-width: 1180px) {
    .hero-grid,
    .media-layout,
    .media-layout-reverse,
    .contact-grid,
    .panel-pair,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        position: static;
    }
}

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

    .header-top-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .cta-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 1rem;
    }

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

    .site-nav {
        position: absolute;
        right: 1rem;
        top: calc(100% - 0.1rem);
        min-width: 15rem;
        display: none;
        padding: 0.5rem;
        background: rgba(255, 252, 247, 0.98);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
    }

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

    .site-nav ul {
        flex-direction: column;
        gap: 0.15rem;
    }

    .site-nav a {
        width: 100%;
    }

    .hero-grid {
        padding: 5rem 0 4rem;
    }

    .page-hero .container,
    .thank-you-section .container {
        padding: 4rem 0 2.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .card-grid-3,
    .card-grid-4,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy h1,
    .hero-copy .lead,
    .hero-copy .hero-actions,
    .hero-media {
        animation: fade-rise 650ms ease both;
    }

    .hero-copy .lead {
        animation-delay: 90ms;
    }

    .hero-copy .hero-actions {
        animation-delay: 180ms;
    }

    .hero-media {
        animation-delay: 260ms;
    }
}

@keyframes fade-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
