:root {
    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;

    /* Slightly darker, sage-tinted palette (off-white se thora dark) */
    --bg-body: #dde4db;
    --bg-surface: #e8ede5;
    --bg-muted: #cfd8cf;
    --bg-card: #eceee8;
    --bg-card-alt: #e2e8e0;

    --forest: #1a3c34;
    --forest-deep: #142e28;
    --gold: #a8895c;
    --gold-light: #c4a574;

    --text: #1f2d2a;
    --text-muted: #4d5c57;
    --text-soft: #6b7872;
    --text-on-dark: #eef2ed;

    --shadow-sm: 0 8px 32px rgba(26, 60, 52, 0.08);
    --shadow-md: 0 16px 48px rgba(26, 60, 52, 0.12);
    --radius: 2px;
    --header-h: 88px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .section-title, .hero-title {
    font-family: var(--font-serif);
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.01em;
}

em {
    font-style: italic;
    color: var(--gold);
}

/* ——— Header ——— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header .navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.site-header.is-scrolled {
    background: rgba(232, 237, 229, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 52, 0.06);
}

.site-header.is-over-hero:not(.is-scrolled) .nav-link,
.site-header.is-over-hero:not(.is-scrolled) .brand-name,
.site-header.is-over-hero:not(.is-scrolled) .brand-tag {
    color: var(--text);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
}

.brand-tag {
    display: block;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--forest);
}

.navbar-toggler {
    border-color: rgba(26, 60, 52, 0.2);
    padding: 0.5rem 0.65rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(168, 137, 92, 0.25);
}

.btn-outline-nav {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.65rem 1.35rem;
    border: 1px solid rgba(26, 60, 52, 0.35);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(236, 238, 232, 0.65);
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline-nav:hover {
    background: var(--bg-card);
    border-color: var(--forest);
    color: var(--forest);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-surface);
        margin-top: 1rem;
        padding: 1rem 1.25rem 1.25rem;
        border: 1px solid rgba(26, 60, 52, 0.08);
        border-radius: var(--radius);
    }

    .btn-outline-nav {
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* ——— Buttons ——— */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: var(--radius);
    background: var(--forest);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary-custom:hover {
    background: var(--forest-deep);
    color: #fff;
}

.btn-ghost-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.btn-ghost-custom:hover {
    color: var(--forest);
}

/* ——— Section utilities ——— */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-eyebrow.centered {
    justify-content: center;
}

.section-eyebrow.centered::after {
    content: "";
    width: 2rem;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-eyebrow.light {
    color: var(--gold-light);
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.35rem);
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.section-lead {
    max-width: 36rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ——— Hero ——— */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--header-h);
    overflow: hidden;
    background: var(--bg-surface);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform, opacity;
}

.hero-bg-layer--one {
    background-image: url("../images/hero-blossoms.jpg");
    background-position: 72% 42%;
    animation: heroPanA 26s ease-in-out infinite alternate;
}

.hero-bg-layer--two {
    background-image: url("../images/hero-memorial.jpg");
    background-position: 88% 28%;
    filter: saturate(0.92) brightness(1.04) sepia(0.08);
    opacity: 0;
    animation: heroCrossfade 18s ease-in-out infinite, heroPanB 32s ease-in-out infinite alternate;
}

.hero-bg-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(232, 237, 229, 0.97) 0%,
        rgba(232, 237, 229, 0.9) 34%,
        rgba(221, 228, 219, 0.35) 58%,
        rgba(26, 60, 52, 0.06) 100%
    );
    pointer-events: none;
}

.hero-bg-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 40%,
        rgba(255, 255, 255, 0.07) 50%,
        transparent 60%
    );
    background-size: 220% 100%;
    animation: heroShimmer 14s ease-in-out infinite;
}

@keyframes heroPanA {
    0% {
        transform: scale(1.02) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-1.2%, -0.8%);
    }
}

@keyframes heroPanB {
    0% {
        transform: scale(1.08) translate(0.5%, 0);
    }
    100% {
        transform: scale(1.14) translate(-1.5%, -1%);
    }
}

@keyframes heroCrossfade {
    0%,
    42% {
        opacity: 0;
    }
    50%,
    92% {
        opacity: 0.55;
    }
    100% {
        opacity: 0;
    }
}

@keyframes heroShimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-layer--one,
    .hero-bg-layer--two,
    .hero-bg-shimmer::after {
        animation: none;
    }

    .hero-bg-layer--two {
        opacity: 0.35;
    }

    .hero-content > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding-bottom: 5.5rem;
}

.hero-row {
    align-items: center;
    min-height: calc(72vh - var(--header-h));
}

.hero-content {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.hero-content > * {
    animation: heroFadeUp 0.85s ease both;
}

.hero-content .section-eyebrow {
    animation-delay: 0.05s;
}

.hero-content .hero-title {
    animation-delay: 0.15s;
}

.hero-content .hero-lead {
    animation-delay: 0.28s;
}

.hero-content .hero-actions {
    animation-delay: 0.4s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    max-width: 14ch;
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 32rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-trust-card {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1.25rem, 4vh, 2.5rem);
    animation: heroFadeUp 0.9s ease 0.55s both;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 20rem;
    padding: 1.15rem 1.35rem;
    background: rgba(236, 238, 232, 0.95);
    border: 1px solid rgba(26, 60, 52, 0.06);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
}

.trust-icon {
    font-size: 1.75rem;
    color: var(--gold);
    line-height: 1;
}

.trust-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.trust-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

@media (max-width: 991.98px) {
    .hero-inner {
        justify-content: flex-start;
        padding-top: 1.25rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-row {
        min-height: auto;
    }

    .hero-content {
        padding-top: 0.25rem;
    }

    .hero-trust-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 1.75rem;
        max-width: 100%;
    }
}

/* ——— Welcome ——— */
.welcome-section {
    padding: 5rem 0;
    background: var(--bg-body);
}

.welcome-brand-frame {
    position: relative;
    padding: 0.65rem;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d1210 100%);
    border: 1px solid rgba(168, 137, 92, 0.35);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
}

.welcome-brand-frame::before {
    content: "";
    position: absolute;
    inset: 0.65rem;
    border: 1px solid rgba(196, 165, 116, 0.2);
    pointer-events: none;
}

.welcome-brand-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1px;
}

.welcome-title {
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    max-width: 18ch;
}

.welcome-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1.75rem;
    line-height: 1.35;
}

.welcome-copy p {
    font-size: 1.02rem;
    margin-bottom: 1.15rem;
    color: var(--text-muted);
}

.welcome-copy strong {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .welcome-brand-frame {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ——— Story ——— */
.story-section {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.quote-mark {
    display: block;
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 0.8;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.story-divider {
    width: 1px;
    min-height: 100%;
    background: rgba(26, 60, 52, 0.12);
}

.story-right p {
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.15rem;
    transition: color 0.2s;
}

.story-link:hover {
    color: var(--forest);
}

/* ——— Services ——— */
.services-section {
    padding: 6rem 0 7rem;
    background: var(--bg-muted);
}

.services-intro .section-lead {
    margin-top: -0.5rem;
}

.service-card {
    position: relative;
    height: 100%;
    padding: 2.25rem 2rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(26, 60, 52, 0.06);
    border-radius: var(--radius);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.service-card-featured {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--text-on-dark);
}

.service-card-featured h3 {
    color: #fff;
}

.service-card-featured p {
    color: rgba(238, 242, 237, 0.82);
}

.service-card-featured .service-icon {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.card-num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--gold);
    opacity: 0.85;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 1.15rem;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ——— Process ——— */
.process-section {
    overflow: hidden;
}

.process-intro {
    background: var(--bg-card-alt);
    padding: 5rem 0;
}

.process-intro-inner {
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .process-intro-inner {
        margin: 0 0 0 auto;
        padding-right: 3rem;
        padding-left: 2rem;
    }
}

.process-text {
    font-size: 1.02rem;
    margin-bottom: 2rem;
}

.process-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 60, 52, 0.1);
    font-size: 0.88rem;
    color: var(--text-soft);
}

.process-note i {
    color: var(--gold);
    margin-top: 0.15rem;
}

.process-steps {
    background: var(--forest);
    padding: 3.5rem 1.5rem 4rem;
}

@media (min-width: 992px) {
    .process-steps {
        padding: 5rem 3.5rem 5rem 2.5rem;
    }
}

.process-step {
    display: grid;
    grid-template-columns: 2.5rem 3rem 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gold-light);
    padding-top: 0.35rem;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 1rem;
}

.process-step h3 {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.process-step p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(238, 242, 237, 0.78);
    line-height: 1.55;
}

/* ——— Mission ——— */
.mission-section {
    padding: 5.5rem 0;
    background: var(--bg-surface);
}

.mission-panel {
    height: 100%;
    padding: 2.25rem 2rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(26, 60, 52, 0.08);
    border-radius: var(--radius);
}

.mission-panel-accent {
    background: var(--forest);
    border-color: var(--forest);
}

.mission-panel-accent .section-eyebrow,
.mission-panel-accent .mission-heading {
    color: var(--gold-light);
}

.mission-panel-accent .section-eyebrow::before {
    background: var(--gold-light);
}

.mission-panel-accent p {
    color: rgba(238, 242, 237, 0.88);
}

.mission-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    color: var(--text);
    margin-bottom: 1.15rem;
    line-height: 1.2;
}

.mission-panel p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.mission-closing {
    margin: 3rem 0 0;
    padding: 2rem 2.25rem;
    background: var(--bg-muted);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
}

.mission-closing p {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.55;
    color: var(--text);
    font-style: italic;
}

/* ——— Contact ——— */
.contact-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-body) 100%);
}

.contact-title {
    max-width: 12ch;
}

.contact-lead {
    font-size: 1.02rem;
    max-width: 28rem;
}

.contact-promise {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-top: 2rem;
}

.contact-promise .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.contact-form {
    background: rgba(236, 238, 232, 0.92);
    padding: 2rem 2rem 2.25rem;
    border: 1px solid rgba(26, 60, 52, 0.08);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
}

.contact-form .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid rgba(26, 60, 52, 0.15);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: #f5f6f2;
    color: var(--text);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(168, 137, 92, 0.15);
    background: #fff;
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.form-privacy i {
    color: var(--gold);
}

.form-feedback {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}

.form-feedback.is-success {
    background: rgba(26, 60, 52, 0.08);
    color: var(--forest);
    border: 1px solid rgba(26, 60, 52, 0.12);
}

.form-feedback.is-error {
    background: rgba(180, 60, 60, 0.08);
    color: #8b3030;
    border: 1px solid rgba(180, 60, 60, 0.15);
}

/* ——— Footer ——— */
.site-footer {
    background: var(--forest-deep);
    color: rgba(238, 242, 237, 0.75);
    padding: 4rem 0 0;
}

.site-footer .brand-name {
    color: #fff;
}

.site-footer .brand-tag {
    color: rgba(238, 242, 237, 0.55);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 2rem;
    max-width: 16ch;
}

.footer-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    font-size: 0.92rem;
    color: rgba(238, 242, 237, 0.78);
    text-decoration: none;
    margin-bottom: 0.65rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(238, 242, 237, 0.45);
}
