.hf-header,
.hf-main,
.hf-footer,
.hf-landing {
    --hf-oat: #faf6ee;
    --hf-ink: #293831;
    --hf-muted: #46594d;
    --hf-sage: #dde7da;
    --hf-blush: #eed9d3;
    --hf-butter: #f4e7b5;
    --hf-linen: #f1e8da;
    --hf-line: #cfc8ba;
    --hf-highlight: var(--hf-butter);
    --hf-display: Georgia, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
    --hf-body: system-ui, -apple-system, "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
    --hf-gutter: clamp(1.15rem, 5vw, 4.75rem);
    --hf-width: 74rem;
    color: var(--hf-ink);
    background-color: var(--hf-oat);
    font-family: var(--hf-body);
}

.wp-site-blocks:has(> .hf-header) {
    padding: 0;
}

.wp-site-blocks > :is(.hf-main, .hf-footer) {
    margin-block-start: 0;
}

:is(.hf-header, .hf-main, .hf-footer, .hf-landing) a {
    color: inherit;
}

:is(.hf-header, .hf-main, .hf-footer, .hf-landing) :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.hf-header-inner,
.hf-footer-inner,
.hf-landing,
.hf-page {
    box-sizing: border-box;
    width: 100%;
    padding-inline: var(--hf-gutter);
}

.hf-header-inner,
.hf-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: calc(var(--hf-width) + 2 * var(--hf-gutter));
    margin-inline: auto;
    padding-block: 1.25rem;
}

.hf-header {
    background-color: transparent;
}

.hf-header .hf-header-bar {
    --oravio-header-glass-bg: rgba(250, 246, 238, .82);
    --oravio-header-glass-bg-scrolled: rgba(250, 246, 238, .92);
    --oravio-header-glass-bg-overlay: rgba(250, 246, 238, .76);
    --oravio-header-control-bg-hover: var(--hf-oat);
    --oravio-header-border: rgba(41, 56, 49, .11);
    --oravio-header-border-scrolled: rgba(41, 56, 49, .15);
    padding-inline: 0;
    color: var(--hf-ink);
}

.hf-header .hf-header-inner {
    padding-block: 0;
}

.hf-section-nav {
    margin: 0 0 0 auto;
}

.hf-section-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-section-nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(.1rem, 1vw, .85rem);
    white-space: nowrap;
}

.hf-section-nav a,
.hf-section-nav summary {
    display: block;
    padding: .55rem .4rem;
    font-size: .875rem;
    font-weight: 550;
}

.hf-section-nav a {
    text-decoration: none;
}

.hf-section-nav a:hover {
    text-decoration: underline;
    text-underline-offset: .3em;
}

.hf-section-nav-desktop a {
    border-radius: .5rem;
    transition: background-color 180ms ease;
}

.hf-section-nav-desktop a:is(:hover, :focus-visible) {
    background-color: var(--hf-highlight);
}

.hf-section-nav-mobile,
.hf-nav-open {
    display: none;
}

.hf-nav-open,
.hf-nav-close {
    box-sizing: border-box;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--hf-line);
    border-radius: 50%;
    background: var(--hf-oat);
    color: var(--hf-ink);
    cursor: pointer;
    place-items: center;
}

.hf-nav-open:is(:hover, :focus-visible),
.hf-nav-close:is(:hover, :focus-visible) {
    background: var(--hf-highlight);
}

.hf-nav-icon {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
}

.hf-section-nav .hf-nav-drawer {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Keep autofocus from scrolling the dialog to the sliding panel. */
    overflow: clip;
    border: 0;
    background: transparent;
    color: var(--hf-ink);
}

.hf-nav-drawer:not([open]) {
    display: none;
    pointer-events: none;
}

.hf-nav-drawer::backdrop {
    background: rgba(29, 39, 34, .44);
}

html:has(.hf-nav-drawer[open]) {
    overflow: hidden;
}

.hf-nav-panel {
    position: absolute;
    inset: 0 0 0 auto;
    box-sizing: border-box;
    width: min(24rem, 88%);
    padding: max(1.35rem, env(safe-area-inset-top)) max(1.35rem, env(safe-area-inset-right))
        max(1.35rem, env(safe-area-inset-bottom)) 1.35rem;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--hf-oat);
    box-shadow: -12px 0 40px rgba(29, 39, 34, .17);
}

.hf-nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-block-end: 1.4rem;
    font: 1.45rem/1.2 var(--hf-display);
}

.hf-nav-panel-head form {
    margin: 0;
}

.hf-nav-close {
    display: grid;
    font: 1.55rem/1 var(--hf-body);
}

.hf-nav-panel > ul > li {
    border-block-start: 1px solid var(--hf-line);
}

.hf-section-nav .hf-nav-panel > ul a {
    padding: .9rem .55rem;
    border-radius: .4rem;
    font-size: 1rem;
}

.hf-section-nav .hf-nav-panel > ul a:is(:hover, :focus-visible) {
    background: var(--hf-highlight);
    text-decoration: none;
}

.hf-header .hf-nav-languages .oravio-language-switcher__menu {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    width: auto;
    max-width: none;
    margin-block-end: 1.25rem;
    border: 0;
    background: transparent !important;
    box-shadow: none;
}

.hf-header .hf-nav-languages .oravio-language-switcher__option {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid var(--hf-line);
    border-radius: 999px;
}

@media (prefers-reduced-motion: no-preference) {
    .hf-nav-drawer {
        transition: overlay 260ms allow-discrete, display 260ms allow-discrete;
    }

    .hf-nav-panel {
        transition: transform 260ms cubic-bezier(.22, .61, .36, 1);
    }

    .hf-nav-drawer::backdrop {
        transition: opacity 260ms ease, overlay 260ms allow-discrete, display 260ms allow-discrete;
    }

    .hf-nav-drawer:not([open]) .hf-nav-panel {
        transform: translateX(100%);
    }

    .hf-nav-drawer:not([open])::backdrop {
        opacity: 0;
    }

    @starting-style {
        .hf-nav-drawer[open] .hf-nav-panel {
            transform: translateX(100%);
        }

        .hf-nav-drawer[open]::backdrop {
            opacity: 0;
        }
    }
}

@media (max-width: 56rem) {
    .hf-section-nav-desktop {
        display: none;
    }

    .hf-section-nav-mobile {
        display: block;
        position: relative;
    }

    .hf-section-nav.has-drawer .hf-section-nav-mobile {
        display: none;
    }

    .hf-section-nav.has-drawer .hf-nav-open {
        display: grid;
    }

    .hf-header .hf-header-inner {
        gap: clamp(.35rem, 2vw, .85rem);
    }

    .hf-section-nav-mobile summary {
        display: list-item;
        cursor: pointer;
        list-style-position: inside;
    }

    .hf-section-nav-mobile ul {
        position: absolute;
        inset: calc(100% + .4rem) 0 auto auto;
        min-width: max-content;
        max-height: 65vh;
        overflow: auto;
        padding: .4rem .65rem;
        border: 1px solid var(--hf-line);
        border-radius: .7rem;
        background: var(--hf-oat);
        box-shadow: 0 .6rem 1.5rem rgba(41, 56, 49, .12);
    }
}

.hf-header-inner > *,
.hf-footer-inner > * {
    margin-block: 0;
}

.hf-header .hf-header-inner > .hf-wordmark {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hf-header .hf-wordmark,
.hf-footer .hf-wordmark {
    font-family: var(--hf-display);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.hf-wordmark a {
    text-decoration: none;
}

.hf-header .oravio-language-switcher {
    --wp--preset--color--base: var(--hf-oat);
    --wp--preset--color--contrast: var(--hf-ink);
    --wp--preset--color--surface: var(--hf-oat);
    --wp--preset--color--border: var(--hf-line);
    --wp--preset--color--text: var(--hf-ink);
    --wp--preset--color--muted: var(--hf-muted);
    --wp--preset--color--primary: var(--hf-ink);
    color: var(--hf-ink);
}

.hf-header .oravio-language-switcher[hidden] {
    display: none;
}

.hf-header .oravio-language-switcher .oravio-language-switcher__toggle {
    gap: .5rem;
    padding-inline: .68rem;
    border-color: var(--hf-line);
    background: var(--hf-oat);
    color: var(--hf-ink);
    box-shadow: none;
    font-size: .81rem;
    font-weight: 650;
    letter-spacing: 0;
}

.hf-header .oravio-language-switcher__current {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .36rem;
}

.hf-header .oravio-language-switcher__current::before,
.hf-header .oravio-language-switcher__current::after {
    content: "";
    box-sizing: border-box;
    height: .85rem;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.hf-header .oravio-language-switcher__current::before {
    width: .85rem;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.hf-header .oravio-language-switcher__current::after {
    position: absolute;
    inset-inline-start: .22rem;
    width: .41rem;
}

.hf-header .oravio-language-switcher__chevron {
    display: none;
}

.hf-header .oravio-language-switcher__toggle::after {
    content: "";
    width: .35rem;
    height: .35rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.1rem) rotate(45deg);
}

.hf-header .oravio-language-switcher__dropdown[open] .oravio-language-switcher__toggle::after {
    transform: translateY(.075rem) rotate(225deg);
}

@media (prefers-reduced-motion: no-preference) {
    .hf-header .oravio-language-switcher__toggle::after {
        transition: transform 180ms ease;
    }
}

.hf-header .oravio-language-switcher__dropdown[open] .oravio-language-switcher__toggle,
.hf-header .oravio-language-switcher .oravio-language-switcher__toggle:is(:hover, :focus-visible) {
    background: var(--hf-highlight);
}

.hf-header .oravio-language-switcher__menu {
    min-width: 8.5rem !important;
    box-shadow: 0 .6rem 1.5rem rgba(41, 56, 49, .12);
}

.hf-header .oravio-language-switcher__menu .oravio-language-switcher__option {
    color: var(--hf-ink);
}

.hf-header .oravio-language-switcher__option:is(.is-active, :hover, :focus-visible) {
    background: var(--hf-highlight);
    text-decoration: none;
}

.hf-header .oravio-language-switcher__option-code {
    display: none;
}

.hf-header .oravio-language-switcher__option.is-active::after {
    content: "";
    width: .4rem;
    height: .4rem;
    align-self: center;
    border-radius: 50%;
    background: var(--hf-ink);
}

.hf-content {
    margin: 0;
}

.hf-landing {
    max-width: calc(var(--hf-width) + 2 * var(--hf-gutter));
    margin: 0 auto;
    padding-block: clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 5rem);
    font-size: 1rem;
    line-height: 1.75;
}

.hf-landing > * {
    margin-block: 0;
}

.hf-landing > * + * {
    margin-block-start: clamp(3.5rem, 9vw, 7.5rem);
}

.hf-landing :is(h1, h2, h3),
.hf-page > .wp-block-post-title {
    color: var(--hf-ink);
    font-family: var(--hf-display);
    font-weight: 400;
    letter-spacing: -.045em;
    text-wrap: balance;
}

:where(html[lang^="ja"]) .hf-landing :is(h1, h2, h3) {
    letter-spacing: .015em;
}

.hf-landing h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5.15vw, 5.2rem);
    line-height: 1.13;
}

.hf-landing h2,
.hf-page > .wp-block-post-title {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.75rem);
    line-height: 1.18;
}

.hf-landing h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.28;
}

.hf-landing p {
    color: var(--hf-muted);
    margin-block: 0;
}

.hf-landing .hf-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.4rem;
    background-color: var(--hf-sage);
}

.hf-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.3rem;
    padding: clamp(1.6rem, 5vw, 4.75rem);
}

.hf-hero-copy > *,
.hf-contact > *,
.hf-about-copy > * {
    margin-block: 0;
}

.hf-hero-copy p,
.hf-about-copy p {
    max-width: 38ch;
}

.hf-landing figure.wp-block-image {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
}

.hf-landing figure.wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hf-hero > figure {
    min-height: clamp(28rem, 46vw, 38rem);
}

.hf-hero > figure img {
    object-position: 70% center;
}

.hf-landing .wp-block-buttons {
    gap: .65rem;
}

.hf-landing .wp-block-button__link {
    display: inline-block;
    padding: .68rem 1.12rem;
    border: 1px solid transparent;
    border-radius: 3rem;
    color: var(--hf-oat);
    background-color: var(--hf-ink);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.hf-landing .wp-block-button__link:hover {
    background-color: var(--hf-muted);
}

.hf-landing .hf-secondary .wp-block-button__link {
    color: var(--hf-ink);
    background-color: transparent;
    border-color: currentColor;
}

.hf-landing .hf-secondary .wp-block-button__link:hover {
    background-color: var(--hf-oat);
}

.hf-offerings,
.hf-about,
.hf-upcoming,
.hf-contact,
.hf-card {
    scroll-margin-top: calc(
        var(--oravio-header-overlay-offset, 84px) + var(--oravio-admin-bar-offset, 0px) + 1rem
    );
}

.hf-more {
    position: relative;
    align-self: start;
    margin: .2rem 0 0;
    padding-block-end: 2.1em;
    color: var(--hf-ink);
    font-size: .94rem;
}

/* Keep the native disclosure control beneath the text in both states. */
.hf-more > summary {
    position: absolute;
    inset-inline-start: -.4em;
    inset-block-end: 0;
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .12em .4em;
    border-radius: .45em;
    line-height: 1.7;
    font-weight: 650;
    list-style: none;
    text-underline-offset: .25em;
    text-decoration: underline;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.hf-more > summary::-webkit-details-marker {
    display: none;
}

.hf-more > summary::before {
    content: "";
    box-sizing: border-box;
    width: .48em;
    height: .48em;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-.1em) rotate(45deg);
    transition: transform 220ms ease;
}

.hf-more[open]:not([data-hf-closing]) > summary::before {
    transform: translateY(.1em) rotate(225deg);
}

.hf-more > summary:is(:hover, :focus-visible) {
    background-color: var(--hf-highlight);
}

.hf-more > .hf-more-body {
    display: flow-root;
    margin-block: 0;
}

.hf-more > p,
.hf-more-body > p {
    margin-block: 0 .55rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hf-more > summary,
    .hf-more > summary::before,
    .hf-section-nav-desktop a,
    .hf-header .oravio-language-switcher__toggle,
    .hf-header .oravio-language-switcher__chevron {
        transition: none;
    }
}

.hf-offerings > h2 {
    margin-block-end: clamp(1.1rem, 2vw, 1.75rem);
}

.hf-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    margin-block: 0;
}

.hf-card-grid > .hf-card {
    margin: 0;
    min-width: 0;
    display: grid;
    grid-template-areas: "photo" "copy";
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 1.15rem;
    background-color: var(--hf-sage);
}

.hf-card-grid > .hf-retreat {
    --hf-highlight: var(--hf-oat);
    background-color: var(--hf-butter);
}

.hf-card-grid > .hf-crafts {
    background-color: var(--hf-blush);
}

.hf-card > figure {
    grid-area: photo;
    aspect-ratio: 3 / 2;
}

.hf-card-copy {
    grid-area: copy;
    display: grid;
    align-content: center;
    gap: .75rem;
    padding: clamp(1.25rem, 4vw, 3.75rem);
    margin: 0;
}

.hf-card-copy p {
    max-width: 44ch;
}

.hf-card-copy .hf-card-action {
    margin-block-start: .4rem;
}

@media (min-width: 43rem) {
    .hf-card-grid > .hf-card {
        grid-template-areas: "photo copy";
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    }

    .hf-card-grid > .hf-retreat {
        grid-template-areas: "copy photo";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    }

    .hf-card > figure {
        position: relative;
        aspect-ratio: auto;
        min-height: clamp(17rem, 27vw, 24rem);
    }

    .hf-card > figure img {
        position: absolute;
        inset: 0;
    }
}

.hf-landing .hf-about {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.4rem;
    background-color: var(--hf-linen);
}

.hf-about > figure {
    max-height: 31rem;
    min-height: 25rem;
}

.hf-about > figure img {
    object-position: center 33%;
}

.hf-about-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: clamp(1.6rem, 6vw, 5rem);
}

.hf-landing .hf-upcoming {
    display: grid;
    align-items: center;
    gap: 1rem clamp(1.5rem, 5vw, 4rem);
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: 1.4rem;
    background: var(--hf-sage);
}

.hf-upcoming p {
    max-width: 45ch;
}

@media (min-width: 43rem) {
    .hf-landing .hf-upcoming {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.hf-landing .hf-contact {
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: clamp(2rem, 6vw, 4.35rem) 1.25rem;
    border-radius: 1.4rem;
    background-color: var(--hf-blush);
    text-align: center;
}

.hf-contact p {
    max-width: 48ch;
}

.hf-contact .wp-block-buttons {
    justify-content: center;
}

.hf-footer {
    border-block-start: 1px solid var(--hf-line);
}

.hf-footer-inner {
    flex-wrap: wrap;
    color: var(--hf-muted);
    font-size: .875rem;
}

.hf-footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem 1rem;
}

.hf-footer-meta > * {
    margin: 0;
}

.hf-footer-credit a {
    text-underline-offset: .2em;
}

.hf-page {
    min-height: 55vh;
    padding-block: 2.75rem 4rem;
}

.hf-page > * {
    max-width: 47rem;
    margin-inline: auto;
}

.hf-page > .wp-block-post-title {
    margin-inline: auto;
    margin-block-end: 1.4rem;
}

.hf-main.hf-404 {
    display: grid;
    align-items: center;
    padding-block: clamp(2rem, 6vw, 5rem);
}

.hf-404 .hf-404-content {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: 1.4rem;
    background: var(--hf-linen);
    text-align: center;
    overflow-wrap: anywhere;
}

.hf-404 .hf-404-code {
    margin: 0 0 .5rem;
    color: var(--hf-muted);
    font-size: .9rem;
    font-weight: 650;
    letter-spacing: .08em;
}

.hf-404 h1 {
    margin: 0;
    color: var(--hf-ink);
    font: 400 clamp(2rem, 5vw, 3.6rem)/1.15 var(--hf-display);
    text-wrap: balance;
}

.hf-404 .hf-404-home {
    display: inline-block;
    margin-block-start: .5rem;
    padding: .65rem 1.1rem;
    border-radius: 999px;
    background: var(--hf-ink);
    color: var(--hf-oat);
    font-weight: 650;
    text-decoration: none;
}

.hf-404 .hf-404-home:hover {
    background: var(--hf-muted);
}

.hf-404 .hf-404-home:focus-visible {
    outline-color: var(--hf-ink);
}

@media (min-width: 52rem) {
    .hf-landing:has(> .hf-hero) {
        display: grid;
        grid-template-columns: minmax(var(--hf-gutter), 1fr)
            minmax(0, var(--hf-width)) minmax(var(--hf-gutter), 1fr);
        max-width: none;
        padding: 0 0 clamp(2.5rem, 6vw, 5rem);
    }

    .hf-landing:has(> .hf-hero) > * {
        grid-column: 2;
        min-width: 0;
    }

    .hf-landing:has(> .hf-hero) > .hf-hero {
        grid-column: 1 / -1;
        border-radius: 0;
    }

    body.oravio-front-header-overlay .oravio-main--front
    .hf-content > .hf-landing:has(> .hf-hero) {
        padding-top: 0;
    }

    body.oravio-front-header-overlay .hf-landing .hf-hero-copy {
        padding-top: calc(var(--oravio-header-overlay-offset, 84px) + clamp(1.6rem, 5vw, 4.75rem));
    }

    .hf-hero-copy {
        padding-inline-start: max(var(--hf-gutter), calc((100vw - var(--hf-width)) / 2));
    }

    .hf-landing .hf-about > figure {
        box-sizing: border-box;
        align-self: center;
        display: grid;
        justify-items: center;
        min-height: 0;
        max-height: none;
        padding: clamp(1.5rem, 3vw, 2.75rem);
        padding-inline-end: 0;
    }

    .hf-landing .hf-about:has(.hf-more[open]) > figure {
        align-self: start;
    }

    .hf-landing .hf-about > figure img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: clamp(23rem, 37vw, 30rem);
        border-radius: .9rem;
        object-fit: contain;
    }
}

@media (max-width: 60rem) {
    .hf-hero > figure {
        min-height: 23rem;
    }
}

@media (max-width: 43rem) {
    .hf-landing :is(.hf-hero, .hf-about, .hf-card-grid) {
        grid-template-columns: minmax(0, 1fr);
    }

    .hf-hero > figure {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .hf-about > figure {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}
