@font-face {
    font-family: Endloss Serif;
    src: url("fonts/stix-two-text.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Endloss Sans;
    src: url("fonts/endloss-sans-regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Endloss Sans;
    src: url("fonts/endloss-sans-bold.woff") format("woff");
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f8f3ec;
    --ivory: #f1e9df;
    --bone: #fffaf3;
    --ink: #2d2118;
    --muted: #5c4d42;
    --gold: #795425;
    --button: #87602e;
    --button-hover: #6d4a23;
    --line: #ddcfc1;
    --serif: "Endloss Serif", "Iowan Old Style", "Baskerville", Georgia, serif;
    --sans: "Endloss Sans", "Avenir Next", Arial, sans-serif;
    --pad: clamp(25px, 6.25vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9a632b; outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.35rem, 7vw, 6.3rem); letter-spacing: -.037em; line-height: .98; }
h2 { font-size: clamp(2.45rem, 4.7vw, 4.55rem); letter-spacing: -.027em; line-height: .99; }
h3 { font-size: 2rem; line-height: 1.12; }
.shell { width: min(calc(100% - var(--pad) * 2), 1380px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: .8rem; left: .8rem; padding: .6rem 1rem; background: var(--bone); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { color: var(--gold); font-size: .75rem; line-height: 1.5; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.eyebrow b { margin-inline: .23em; font-weight: inherit; }

.site-header { position: relative; z-index: 5; background: #f4ede5; }
.header-inner { min-height: clamp(68px, 6.1vw, 86px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px); }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; justify-self: start; text-decoration: none; color: #241a14; font-family: var(--serif); line-height: .92; white-space: nowrap; padding-block: .26rem; }
.wordmark span:first-child { font-size: 1.65rem; letter-spacing: .13em; padding-left: .13em; }
.wordmark span:last-child { font-size: .94rem; letter-spacing: .29em; padding: .29rem 0 0 .29em; }
.wordmark sup { font-family: var(--sans); font-size: .56em; letter-spacing: 0; vertical-align: super; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(13px, 2.15vw, 33px); }
.site-nav a { position: relative; padding-block: .4rem; text-decoration: none; font-size: clamp(.81rem, 1.13vw, .97rem); white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; height: 1px; inset: auto 0 .15rem; background: #a27945; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; gap: .85rem; min-height: 51px; padding: .72rem 1.45rem; border: 1px solid transparent; border-radius: 5px; background: var(--button); color: #fffaf3; text-align: center; text-decoration: none; font-weight: 500; line-height: 1.2; transition: background .2s ease; }
.button:hover { background: var(--button-hover); }
.header-appointment { min-height: 44px; padding-inline: 1rem; font-size: .91rem; align-self: center; white-space: nowrap; gap: .6rem; }
.arrow { font-family: var(--sans); font-weight: 400; line-height: 1; display: inline-block; transition: transform .2s ease; }
.button:hover .arrow, .text-link:hover .arrow, .service-card:hover .arrow { transform: translateX(.22rem); }
.calendar-icon { width: 14px; height: 13px; border: 1px solid currentColor; border-radius: 1px; display: inline-block; position: relative; flex: 0 0 auto; }
.calendar-icon::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid currentColor; }
.calendar-icon::after { content: ""; position: absolute; top: -3px; inset-inline: 3px; height: 4px; border-inline: 1px solid currentColor; }
.menu-button { display: none; padding: 10px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); place-content: center; gap: 5px; }
.menu-button span { background: currentColor; width: 19px; height: 1px; transition: transform .18s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; min-height: clamp(448px, 43.3vw, 670px); display: grid; align-items: center; background: #e8dacc; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.hero-content { padding-block: clamp(42px, 4.8vw, 78px); }
.hero h1 { font-size: clamp(4rem, 6.6vw, 6.85rem); margin: .25em 0 .21em; line-height: .91; }
.hero-description { max-width: 25rem; color: #32271f; line-height: 1.5; font-size: clamp(1rem, 1.42vw, 1.2rem); }
.hero .button { min-width: 173px; margin-top: 1.65rem; }
.home-about { position: relative; padding-block: clamp(31px, 4vw, 65px); background: var(--paper); }
.about-branch { position: absolute; right: 0; top: 0; width: clamp(98px, 12vw, 174px); height: auto; opacity: .78; pointer-events: none; }
.about-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5.4vw, 88px); }
.about-grid img { width: 100%; height: auto; aspect-ratio: 1.66; object-fit: cover; object-position: center 57%; }
.about-copy { padding: .65rem min(2.8vw, 45px) .65rem 0; }
.about-copy .eyebrow, .section-heading .eyebrow, .detail-copy .eyebrow { margin-bottom: .65rem; }
.about-copy h2 { font-size: clamp(2.5rem, 4.3vw, 4.2rem); }
.about-copy > p:not(.eyebrow) { margin-top: 1.15rem; max-width: 31rem; color: var(--muted); }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: .72rem; color: var(--gold); text-decoration: none; border-bottom: 1px solid #b99870; padding-block: .25rem; font-weight: 600; font-size: .93rem; }
.about-copy .text-link { margin-top: 1.15rem; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.home-services { background: var(--ivory); padding: clamp(34px, 4vw, 64px) 0 clamp(38px, 4.5vw, 69px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(23px, 3vw, 43px); }
.section-heading > p { max-width: 21rem; color: var(--muted); margin-bottom: .25rem; }
.services-grid { width: min(calc(100% - clamp(32px, 5.4vw, 90px)), 1480px); margin-inline: auto; display: grid; gap: clamp(8px, 1vw, 15px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2.04; display: flex; align-items: end; background: #c4a88f; color: #fffaf4; text-decoration: none; }
.service-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgb(42 24 13 / .23); transition: background .25s ease; }
.service-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card:hover::after { background: rgb(42 24 13 / .36); }
.service-card-label { width: 100%; display: flex; align-items: baseline; gap: .7rem; padding: clamp(11px, 1.5vw, 25px) clamp(13px, 2vw, 30px); font: 400 clamp(1.44rem, 2.55vw, 2.7rem)/1.05 var(--serif); text-shadow: 0 1px 5px #261810, 0 2px 17px #261810; }
.service-card-label .arrow { font-size: .71em; flex: 0 0 auto; }
.service-card:nth-child(3) img { object-position: center 45%; }
.service-card:nth-child(5) img { object-position: center 60%; }
.ritual { position: relative; z-index: 0; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-height: 286px; background: #e4d6c6; }
.ritual-image { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.ritual-content { display: flex; align-items: center; gap: clamp(24px, 6vw, 100px); padding-block: clamp(36px, 5vw, 75px); }
.ritual h2 { font-size: clamp(2.7rem, 4.8vw, 4.75rem); }
.ritual p { margin-top: .8rem; max-width: 27rem; }
.ritual .button { align-self: center; flex-shrink: 0; }
.site-footer { background: #f4ede4; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-block: 2.4rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: .55rem 1.8rem; }
.footer-main nav a { text-decoration: none; font-size: .9rem; }
.footer-main nav a:hover, .footer-base a:hover { color: var(--gold); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1rem; color: var(--muted); font-size: .8rem; }
.footer-base small { font-size: inherit; }
.footer-base a { text-decoration: none; }

.inner-section { padding-block: clamp(2.3rem, 5.6vw, 6.5rem); min-height: min(54vh, 470px); }
.page-intro { max-width: 50rem; margin-bottom: clamp(1.6rem, 4vw, 3.8rem); }
.page-intro > p, .detail-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 1.2rem; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 34rem; }
.breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .65rem; color: var(--muted); font-size: .84rem; line-height: 1.5; margin-bottom: 1.45rem; }
.breadcrumb a { text-underline-offset: .2rem; }
.detail-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 6vw, 100px); align-items: center; }
.detail-copy .button, .detail-copy .text-link { margin-top: 1.6rem; }
.detail-image { width: 100%; aspect-ratio: 1.43; object-fit: cover; }
.editorial-note, .service-guide { margin-top: clamp(2.6rem, 6vw, 6.1rem); padding-top: clamp(1.6rem, 3.5vw, 3.4rem); border-top: 1px solid var(--line); }
.editorial-note p { margin-top: 1rem; max-width: 46rem; color: var(--muted); }
.service-guide { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(20px, 5vw, 75px); margin-bottom: 1.8rem; }
.service-guide h2, .editorial-note h2, .prose h2 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
.service-guide ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.service-guide li + li { margin-top: .35rem; }
.service-guide aside, .empty-state { background: var(--ivory); padding: clamp(1.25rem, 3vw, 2.5rem); }
.service-guide aside p, .empty-state p { margin-top: .8rem; color: var(--muted); }
.empty-state { max-width: 49rem; }
.empty-state h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); }
.empty-state .text-link { margin-top: 1rem; }
.campaign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.campaign-card { background: var(--ivory); }
.campaign-card img { width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.campaign-card > div { padding: clamp(1rem, 3vw, 2.2rem); }
.campaign-card h2 { font-size: clamp(2.3rem, 3.2vw, 3.5rem); }
.campaign-card .eyebrow { margin-bottom: .5rem; }
.campaign-card p:not(.eyebrow) { margin-top: .7rem; color: var(--muted); }
.campaign-card .button { margin-top: 1rem; }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.faq-list, .prose { max-width: 53rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.05rem .1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.45rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 2rem 1.15rem .1rem; color: var(--muted); }
.faq-list .text-link { margin-top: 1.4rem; }
.prose p { margin-block: .8rem 1.7rem; color: var(--muted); }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(24px, 6vw, 110px); }
.form-copy .page-intro { margin-bottom: 1rem; }
.form-copy .campaign-context { margin: .75rem 0; padding: .55rem .8rem; border-left: 2px solid #9b774a; background: var(--ivory); }
.contact-details { display: grid; grid-template-columns: minmax(min-content, 7rem) minmax(0, 1fr); gap: .55rem .85rem; }
.contact-details dt { font-weight: 600; color: var(--gold); }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-panel { display: grid; gap: 1.05rem; align-content: start; background: var(--bone); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2.5rem); }
.form-panel h2 { font-size: clamp(2.35rem, 4vw, 3.7rem); margin-bottom: .25rem; }
.form-panel label, .field-label { min-width: 0; display: grid; gap: .35rem; align-content: start; font-size: .94rem; line-height: 1.35; font-weight: 600; }
.form-panel label > span:not(.field-error), .field-label > span { font-size: .8rem; color: var(--muted); font-weight: 400; }
input:not([type="checkbox"]):not([type="hidden"]), select, textarea { width: 100%; min-height: 46px; padding: .6rem .72rem; color: var(--ink); background: #fffcf7; border: 1px solid #c7b5a2; border-radius: 4px; font-size: 1rem; }
select { appearance: none; padding-right: 2rem; background-image: none; }
.form-panel select, .admin-panel select { appearance: auto; padding-right: .7rem; }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #a33c31; }
.field-error { color: #8a2f27; font-size: .81rem; font-weight: 500; }
.fields-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-note a { text-underline-offset: .13em; }
.form-panel .button { justify-self: start; }
.notice { padding: .75rem .9rem; border: 1px solid; font-size: .92rem; overflow-wrap: anywhere; }
.notice-success { background: #eef2e6; color: #344724; border-color: #a5b092; }
.notice-error { background: #f9ebe5; color: #7b2b24; border-color: #d5a69d; }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }

@media (max-width: 1100px) {
    .header-inner { width: calc(100% - 48px); gap: 1.2rem; }
    .wordmark span:first-child { font-size: 1.48rem; }
    .wordmark span:last-child { font-size: .85rem; }
    .site-nav { gap: clamp(.65rem, 1.45vw, 1.16rem); }
    .hero h1 { font-size: clamp(3.9rem, 6.6vw, 5.5rem); }
}

@media (max-width: 880px) {
    .header-inner { grid-template-columns: 1fr auto; min-height: 69px; width: calc(100% - var(--pad) * 2); gap: .65rem; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; flex-wrap: wrap; gap: .2rem 1rem; padding-bottom: .7rem; }
    .header-appointment { grid-column: 2; grid-row: 1; }
    .menu-ready .header-inner { grid-template-columns: 1fr auto auto; }
    .menu-ready .menu-button { display: grid; grid-column: 3; grid-row: 1; }
    .menu-ready .site-nav { display: none; }
    .menu-ready .site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-block: .18rem .8rem; }
    .site-nav a { font-size: .95rem; width: fit-content; padding-block: .45rem; }
    .hero { min-height: 465px; }
    .hero-image { object-position: 57% 46%; }
    .hero-description { max-width: 19rem; }
    .about-branch { display: none; }
    .ritual-content { gap: 1.45rem; }
    .ritual h2 { font-size: clamp(2.35rem, 5.8vw, 4rem); }
}

@media (max-width: 650px) {
    :root { --pad: 22px; }
    .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; background: #f0e3d5; }
    .hero-content { padding-block: 2.15rem 1.85rem; order: 0; }
    .hero h1 { font-size: clamp(3.75rem, 12vw, 5.15rem); margin-block: .22em .26em; }
    .hero-description { max-width: 23rem; }
    .hero .button { margin-top: 1.18rem; }
    .hero-media { position: static; z-index: auto; order: 1; }
    .hero-image { height: auto; aspect-ratio: 1.43; object-position: center; }
    .about-grid, .detail-grid, .service-guide, .form-layout, .campaign-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-grid img { aspect-ratio: 1.57; }
    .about-copy { padding-block: 0; }
    .about-copy > p:not(.eyebrow) { margin-top: .85rem; }
    .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
    .section-heading > p { margin-bottom: 0; }
    .services-grid { width: calc(100% - var(--pad) * 2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card { aspect-ratio: 1.17; }
    .service-card-label { font-size: clamp(1.27rem, 5vw, 2rem); gap: .45rem; padding: 10px; }
    .service-card-label .arrow { font-size: .66em; }
    .ritual { min-height: 0; display: flex; flex-direction: column; }
    .ritual-content { display: flex; flex-direction: column; align-items: start; padding-block: 1.8rem; }
    .ritual .button { align-self: start; }
    .ritual-image { position: static; order: 1; height: auto; width: 100%; aspect-ratio: 2.15; object-position: right 57%; }
    .detail-copy h1, .page-intro h1 { font-size: clamp(3.15rem, 10vw, 4.75rem); }
    .detail-image { aspect-ratio: 1.6; }
    .detail-copy > p:not(.eyebrow), .page-intro > p { margin-top: .8rem; }
    .footer-main { padding-block: 1.8rem; }
    .footer-main nav { gap: .6rem 1.05rem; }
}

@media (max-width: 370px) {
    :root { --pad: 16px; }
    .wordmark span:first-child { font-size: 1.25rem; }
    .wordmark span:last-child { font-size: .75rem; }
    .header-inner { gap: .45rem; }
    .header-appointment { padding-inline: .55rem; }
    .header-appointment .calendar-icon { display: none; }
    .fields-row { grid-template-columns: 1fr; }
    .footer-base { flex-wrap: wrap; gap: .35rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; }
}
