/* Coff(R)ee — public theme (loaded only while this theme is active). */

:root {
    --cof-ground: #f7ecdc;
    --cof-surface: #f2e5d0;
    --cof-ink: #221a12;
    --cof-muted: #6d5c49;
    --cof-accent: #d2703a;
    --cof-accent-dark: #bd5f2c;
    --cof-accent-text: #c4622a;
    --cof-line: #e2d1b5;
    --cof-green: #e9f3d7;
    --cof-forest: #263d32;
    --cof-white: #fffdf9;
    --cof-step-1: #f5e7d1;
    --cof-step-2: #f8d9c2;
    --cof-step-3: #dcebd0;
    --cof-shell: 80rem;
    --cof-gutter: 1.5rem;
    --cof-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
    --cof-body: system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Canvas is declared here, not on html: app.css claims :root and loads first. */
    background: var(--cof-ground);
    color: var(--cof-ink);
    font-family: var(--cof-body);
    /* Both header controls stand on this, so neither can drift from the other. */
    --header-control-height: 2.25rem;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

.skip-link:focus {
    background: var(--cof-surface);
    border-radius: .5rem;
    left: 1rem;
    padding: .75rem 1rem;
    top: 1rem;
    z-index: 10;
}

.shell-inner,
.site-header__inner,
.site-footer__inner {
    margin-inline: auto;
    max-width: var(--cof-shell);
    padding-inline: var(--cof-gutter);
}

/* Header */

.site-header {
    /* Translucent ground, blurred, so the page shows through without the text fading with it. */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgb(247 236 220 / 88%);
    position: sticky;
    top: 0;
    z-index: 2;
}

.site-header__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-block: 1.1rem;
}

.site-header a,
.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-brand {
    font-family: var(--cof-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.site-header nav#primary-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.site-header nav#primary-navigation a {
    font-size: 1rem;
}

.site-header nav#primary-navigation a:hover,
.site-header nav#primary-navigation a[aria-current="page"] {
    color: var(--cof-accent-text);
}

.language-switcher {
    margin-left: auto;
    position: relative;
}

.language-switcher__disclosure {
    position: relative;
}

.language-switcher__trigger {
    align-items: center;
    border: 1px solid var(--cof-line);
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    font-size: .72rem;
    font-weight: 700;
    gap: .45rem;
    letter-spacing: .06em;
    list-style: none;
    min-height: var(--header-control-height);
    padding: 0 .72rem;
}

.language-switcher__trigger::-webkit-details-marker {
    display: none;
}

.language-switcher__trigger:hover,
.language-switcher__trigger:focus-visible,
.language-switcher__disclosure[open] .language-switcher__trigger {
    border-color: var(--cof-accent);
    color: var(--cof-accent-text);
    outline: none;
}

.language-switcher__globe {
    fill: none;
    height: 1.1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.1rem;
}

.language-switcher__chevron {
    fill: none;
    height: .45rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transition: transform .16s ease;
    width: .7rem;
}

.language-switcher__disclosure[open] .language-switcher__chevron {
    transform: rotate(180deg);
}

.language-switcher__menu {
    background: var(--cof-surface);
    border: 1px solid var(--cof-line);
    border-radius: .7rem;
    box-shadow: 0 .8rem 2rem rgb(34 26 18 / 16%);
    display: grid;
    gap: .15rem;
    list-style: none;
    margin: .5rem 0 0;
    min-width: 10rem;
    padding: .35rem;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
}

.language-switcher__menu a {
    align-items: center;
    border-radius: .45rem;
    display: flex;
    font-size: .8rem;
    font-weight: 650;
    gap: 1rem;
    justify-content: space-between;
    padding: .6rem .7rem;
}

.language-switcher__menu a:hover,
.language-switcher__menu a:focus-visible,
.language-switcher__menu a[aria-current="page"] {
    background: var(--cof-accent);
    color: #fff;
    outline: none;
}

.language-switcher__code {
    font-size: .68rem;
    letter-spacing: .06em;
    opacity: .75;
}

/* Page shell and the ring */

.page-shell {
    padding-block: 0;
}

.page-intro {
    padding-block: clamp(1rem, 3vw, 2rem) 0;
}

.page-intro h1 {
    font-family: var(--cof-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: -.025em;
    line-height: 1.02;
    margin: 0;
    max-width: 15ch;
}

.site-slogan {
    color: var(--cof-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 1.25rem 0 0;
    max-width: 46ch;
}

.content-block {
    margin-block: clamp(4.5rem, 9vw, 8rem);
}

.content-block:first-of-type {
    margin-top: 0;
}

/* A block carrying a background image needs breathing room inside it. */
.content-block--has-background {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    position: relative;
}

.content-block--has-background::before {
    background-image: var(--block-background-image);
    background-position: var(--block-background-position, center center);
    background-repeat: no-repeat;
    background-size: var(--block-background-size, cover);
    content: "";
    inset: 0;
    opacity: var(--block-background-opacity, 1);
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.content-block--has-background > * {
    position: relative;
    z-index: 1;
}

/*
 * One heading scale for everything inside a block, including the headings an editor types
 * into the content itself. Block-specific rules further down refine it; they must stay
 * below this one to win on equal specificity.
 */

.content-block h2,
.content-block h3,
.content-block h4,
.content-block h5,
.content-block h6 {
    color: var(--cof-ink);
    font-family: var(--cof-display);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 2rem 0 .75rem;
}

.content-block h2:first-child,
.content-block h3:first-child,
.content-block h4:first-child,
.content-block h5:first-child,
.content-block h6:first-child {
    margin-top: 0;
}

.content-block h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.content-block h3 {
    font-size: 1.2rem;
}

.content-block h4 {
    font-size: 1.05rem;
}

.content-block h5 {
    font-size: .95rem;
}

.content-block h6 {
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}


.page-shell > .content-block:last-child {
    margin-bottom: 0;
}

/* Hero */

.hero__inner {
    max-width: var(--cof-shell);
}

/* Stands in for the reference's orange eyebrow, which has no field in the block schema. */
.hero__inner::before {
    background: var(--cof-accent);
    border-radius: 2px;
    content: "";
    display: block;
    height: 3px;
    margin-bottom: 1.6rem;
    width: 2.5rem;
}

.hero h1,
.hero h2 {
    font-family: var(--cof-display);
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    letter-spacing: -.03em;
    line-height: 1.0;
    margin: 0;
    max-width: 13ch;
}

.hero--centered .hero__inner {
    text-align: center;
}

.hero--centered .hero__inner::before,
.hero--centered h1,
.hero--centered h2,
.hero--centered .hero__lead {
    margin-inline: auto;
}

.hero__lead {
    color: var(--cof-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1.75rem 0 0;
    max-width: 42ch;
}

.hero__lead p {
    margin: 0 0 .75rem;
}

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

.hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.25rem 0 0;
}

.hero--centered .hero__actions {
    justify-content: center;
}

.button {
    background: var(--cof-accent);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-family: var(--cof-display);
    font-size: .95rem;
    font-weight: 700;
    padding: .8rem 1.5rem;
    text-decoration: none;
}

.button:hover {
    background: var(--cof-accent-dark);
}

/* The reference's secondary action is a plain underlined link, not a second pill. */
.button--secondary {
    background: none;
    color: var(--cof-accent-text);
    padding: 0;
    text-decoration: underline;
    text-underline-offset: .3em;
}

.button--secondary:hover {
    background: none;
    color: var(--cof-accent-dark);
}

/* Columns — numbered steps, bare on the ground, tints cycling as in the reference. */

.columns__grid {
    counter-reset: coffree-step;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(var(--column-count, 2), minmax(0, 1fr));
}

.columns--1 .columns__grid {
    --column-count: 1;
}

.columns--2 .columns__grid {
    --column-count: 2;
}

.columns--3 .columns__grid {
    --column-count: 3;
}

.columns--4 .columns__grid {
    --column-count: 4;
}

.columns__item {
    counter-increment: coffree-step;
}

/* .columns__item::before {
    align-items: center;
    background: var(--cof-step-1);
    border-radius: 999px;
    color: var(--cof-accent-text);
    content: counter(coffree-step);
    display: flex;
    font-family: var(--cof-display);
    font-size: 1rem;
    font-weight: 700;
    height: 2.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 2.5rem;
}

.columns__item:nth-child(3n+2)::before {
    background: var(--cof-step-2);
}

.columns__item:nth-child(3n+3)::before {
    background: var(--cof-step-3);
    color: #4f6b3a;
} */

.columns__item h3 {
    font-family: var(--cof-display);
    font-size: 1.2rem;
    letter-spacing: -.015em;
    margin: 0 0 .6rem;
}

.columns__item p {
    color: var(--cof-muted);
    line-height: 1.7;
    margin: 0 0 .75rem;
}

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

/* Rich text */

.rich-text__inner {
    margin-inline: auto;
}

.rich-text--narrow .rich-text__inner {
    max-width: 46rem;
}

.rich-text__content {
    color: var(--cof-muted);
    line-height: 1.75;
}

.rich-text__content > :first-child {
    margin-top: 0;
}


.rich-text__content strong {
    color: var(--cof-ink);
}

.rich-text__content a {
    color: var(--cof-accent-text);
    text-underline-offset: .2em;
}

.rich-text__content blockquote {
    border-left: 3px solid var(--cof-accent);
    margin-inline: 0;
    padding-left: 1.25rem;
}

/* Price tables get the reference's borderless, rule-separated treatment. */
.rich-text__content table {
    border-collapse: collapse;
    font-size: .93rem;
    margin-block: 1.5rem;
    width: 100%;
}

.rich-text__content th {
    border-bottom: 1px solid var(--cof-line);
    color: var(--cof-ink);
    font-family: var(--cof-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    padding: .75rem .75rem .75rem 0;
    text-align: left;
    text-transform: uppercase;
}

.rich-text__content td {
    border-bottom: 1px solid var(--cof-line);
    padding: .85rem .75rem .85rem 0;
}

.rich-text__content tr:last-child td {
    border-bottom: 0;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--cof-line);
    margin-top: clamp(3rem, 8vw, 6rem);
}

.site-footer__inner {
    display: grid;
    gap: 2.5rem;
    padding-block: 3rem;
}

/* Identity first and widest, then the page list, then contact. */
.site-footer__columns {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1.5fr 1fr 1fr;
}

/* A fourth column exists only when the facility links its documents. :where() keeps the
   specificity flat, so the single-column rule at the breakpoint below still wins. */
.site-footer__columns:where(:has(.site-footer__column--documents)) {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.site-footer__brand {
    font-family: var(--cof-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1.1rem;
}

.site-footer__heading {
    color: var(--cof-muted);
    font-family: var(--cof-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 1.15rem;
    text-transform: uppercase;
}

.site-footer__lines {
    color: var(--cof-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

.site-footer__list {
    display: grid;
    gap: .65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list a {
    color: var(--cof-muted);
    font-size: .9rem;
}

.site-footer__list a:hover {
    color: var(--cof-accent-text);
}

/* The reference prints the phone and address in the accent, as reachable details. */
.site-footer__column--contact .site-footer__list a {
    color: var(--cof-accent-text);
}

.site-footer__slogan {
    color: var(--cof-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0 0 1.1rem;
    max-width: 34ch;
}

/* Formatting produced by the block editors */

.content-block .ql-align-center {
    text-align: center;
}

.content-block .ql-align-right {
    text-align: right;
}

.content-block .ql-align-justify {
    text-align: justify;
}

.content-block .ql-direction-rtl {
    direction: rtl;
}

.content-block .ql-indent-1 {
    padding-inline-start: 3em;
}

.content-block .ql-indent-2 {
    padding-inline-start: 6em;
}

.content-block .ql-indent-3 {
    padding-inline-start: 9em;
}

.content-block .ql-indent-4 {
    padding-inline-start: 12em;
}

.content-block .ql-indent-5 {
    padding-inline-start: 15em;
}

.content-block .ql-indent-6 {
    padding-inline-start: 18em;
}

.content-block .ql-indent-7 {
    padding-inline-start: 21em;
}

.content-block .ql-indent-8 {
    padding-inline-start: 24em;
}

.content-block .ql-size-small {
    font-size: .82em;
}

.content-block .ql-size-large {
    font-size: 1.5em;
}

.content-block .ql-size-huge {
    font-size: 2.4em;
}

.content-block .ql-font-serif {
    font-family: var(--cof-display);
}

.content-block .ql-font-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.content-block sub,
.content-block sup {
    font-size: .72em;
    line-height: 0;
}

.content-block code {
    background: var(--cof-step-1);
    border-radius: .25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9em;
    padding: .1em .35em;
}

.content-block pre {
    background: var(--cof-step-1);
    border-radius: .5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    line-height: 1.6;
    overflow-x: auto;
    padding: 1rem 1.25rem;
}

.content-block pre code {
    background: none;
    padding: 0;
}

/* Quill writes check lists as list items carrying their state. */
.content-block li[data-list] {
    list-style: none;
}

.content-block li[data-list]::before {
    display: inline-block;
    margin-inline-start: -1.5em;
    width: 1.5em;
}

.content-block li[data-list="checked"]::before {
    content: "\2611";
}

.content-block li[data-list="unchecked"]::before {
    content: "\2610";
}

/* Gallery */

.gallery__intro {
    color: var(--cof-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    /* max-width: 46ch; */
}

.gallery__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery--columns-2 .gallery__grid {
    --gallery-columns: 2;
}

.gallery--columns-3 .gallery__grid {
    --gallery-columns: 3;
}

.gallery--columns-4 .gallery__grid {
    --gallery-columns: 4;
}

.gallery__media,
.gallery__image {
    display: block;
    width: 100%;
}

.gallery__image {
    border-radius: 1rem;
    height: auto;
    object-fit: cover;
}

.gallery--landscape .gallery__image {
    aspect-ratio: 4 / 3;
}

.gallery--square .gallery__image {
    aspect-ratio: 1 / 1;
}

.gallery--portrait .gallery__image {
    aspect-ratio: 3 / 4;
}

.gallery--natural .gallery__image {
    aspect-ratio: auto;
    object-fit: contain;
}

/* FAQ — a native disclosure, so it works before any JavaScript runs. */

.faq__list {
    display: grid;
    gap: .85rem;
    margin-top: 1.75rem;
}

.faq__item {
    background: var(--cof-surface);
    border: 1px solid var(--cof-line);
    border-radius: 1rem;
    padding: 0 1.25rem;
}

.faq__question {
    cursor: pointer;
    font-family: var(--cof-display);
    font-size: 1.05rem;
    list-style: none;
    padding: 1rem 2rem 1rem 0;
    position: relative;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    border-bottom: 2px solid var(--cof-accent-text);
    border-right: 2px solid var(--cof-accent-text);
    content: "";
    height: .45rem;
    position: absolute;
    right: .2rem;
    top: 1.3rem;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: .45rem;
}

.faq__item[open] .faq__question::after {
    transform: rotate(225deg);
}

.faq__answer {
    border-top: 1px solid var(--cof-line);
    color: var(--cof-muted);
    padding: .95rem 0 1.2rem;
}

.faq__answer > :first-child {
    margin-top: 0;
}

.faq__answer > :last-child {
    margin-bottom: 0;
}

/* Contact */

/* Layout. Stacked keeps one column; the other two put the details, or the map, beside the
   text. The lead and the details are separate cells so the map can span both of them. */

.contact__layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.contact--split .contact__layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact--split .contact__details {
    /* One narrow column reads as a list rather than a cramped row. */
    grid-template-columns: 1fr;
}

.contact--map .contact__layout {
    align-items: start;
    grid-template-areas:
        "lead map"
        "body map";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-rows: auto 1fr;
}

.contact--map .contact__lead {
    grid-area: lead;
}

.contact--map .contact__body {
    grid-area: body;
}

.contact--map .contact__aside {
    grid-area: map;
    height: 100%;
}

.contact--map .contact__details {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

/* Two classes, because .map__frame's own margin is declared later in this file. */
.contact__aside .map__frame {
    height: 100%;
    margin-top: 0;
    min-height: 22rem;
}

/* No coordinates on the facility yet: the frame holds the column, quietly. */
.contact__map--empty {
    border: 1px dashed var(--cof-line);
}

.contact__intro {
    color: var(--cof-muted);
    line-height: 1.7;
    max-width: 46ch;
}

.contact__details {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.contact__item {
    display: grid;
    gap: .35rem;
}

.contact__item dt {
    color: var(--cof-accent-text);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.contact__item dd {
    margin: 0;
}

.contact__directions {
    margin: 2rem 0 0;
}

/* Map — the placeholder holds the frame's height so loading shifts nothing. */

.map__frame {
    background: var(--cof-surface);
    border-radius: 1rem;
    display: grid;
    margin-top: 1.75rem;
    overflow: hidden;
    place-items: center;
}

.map--short .map__frame {
    min-height: 14rem;
}

.map--medium .map__frame {
    min-height: 22rem;
}

.map--tall .map__frame {
    min-height: 32rem;
}

.map__placeholder {
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: 2rem;
    text-align: center;
}

.map__notice {
    color: var(--cof-muted);
    margin: 0;
    max-width: 44ch;
}

.map__iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: inherit;
    width: 100%;
}

.map__address {
    color: var(--cof-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 0;
}

/* Mobile menu — the toggle only exists below the breakpoint. */

.nav-disclosure {
    display: contents;
}

.nav-toggle {
    align-items: center;
    background: none;
    border: 1px solid var(--cof-line);
    border-radius: .6rem;
    color: inherit;
    cursor: pointer;
    display: none;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    gap: .5rem;
    letter-spacing: .06em;
    min-height: var(--header-control-height);
    padding: 0 .75rem;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    background: currentcolor;
    border-radius: 2px;
    display: block;
    height: 2px;
    width: 1.1rem;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    left: 0;
    position: absolute;
}

.nav-toggle__bars::before {
    top: -.35rem;
}

.nav-toggle__bars::after {
    top: .35rem;
}

@media (max-width: 48rem) {
    .nav-disclosure {
        display: block;
        order: 3;
        position: relative;
    }

    .nav-toggle {
        display: flex;
    }

    .site-header nav#primary-navigation {
        background: var(--cof-ground);
        border: 1px solid var(--cof-line);
        border-radius: .6rem;
        box-shadow: 0 1rem 2rem rgb(34 26 18 / 12%);
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 12rem;
        padding: .5rem;
        position: absolute;
        right: 0;
        top: calc(100% + .5rem);
        z-index: 20;
    }

    .site-header nav#primary-navigation[hidden] {
        display: none;
    }

    .site-header nav#primary-navigation a {
        border-radius: calc(.6rem / 2);
        display: block;
        padding: .6rem .75rem;
    }
}

/* Inherited-value affordance */

[data-inherited-from] {
    text-decoration: underline dotted;
    text-underline-offset: .25em;
}

@media (max-width: 48rem) {

    .columns__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .contact__details {
        grid-template-columns: 1fr;
    }

    .contact--split .contact__layout,
    .contact--map .contact__layout {
        grid-template-areas: none;
        grid-template-columns: 1fr;
    }

    .contact--map .contact__lead,
    .contact--map .contact__body,
    .contact--map .contact__aside {
        grid-area: auto;
    }

    .site-footer__columns {
        grid-template-columns: 1fr;
    }
}

/* Content-managed images */
.hero__media,
.hero__image,
.columns__media,
.columns__image {
    display: block;
    width: 100%;
}

.hero__media {
    margin: 0 auto 2rem;
    max-width: var(--cof-shell);
}

.hero__image {
    aspect-ratio: 12 / 5;
    border-radius: 1.25rem;
    height: auto;
    object-fit: cover;
}

.hero--image-left {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero--image-left .hero__media {
    margin-bottom: 0;
}

.columns__media {
    margin-bottom: 1.25rem;
}

.columns__image {
    aspect-ratio: 4 / 3;
    border-radius: .75rem;
    height: auto;
    object-fit: cover;
}

@media (max-width: 48rem) {
    .hero--image-left {
        grid-template-columns: 1fr;
    }
}

/* Trusted reservation embeds */
.hero--reservation-right .hero__inner {
    align-items: center;
    column-gap: clamp(1rem, 2.5vw, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
    row-gap: 2rem;
}

.hero--reservation-right .hero__inner::before {
    display: none;
}

.hero--reservation-right .hero__content::before {
    background: var(--cof-accent);
    border-radius: 2px;
    content: "";
    display: block;
    height: 3px;
    margin-bottom: 1.6rem;
    width: 2.5rem;
}

.hero__reservation {
    /* background: var(--cof-surface);
    border: 1px dashed var(--cof-line);
    border-radius: 2.5rem; */
    min-width: 0;
}

.raw-embed--panel .raw-embed__inner {
    background: var(--cof-green);
    border-radius: 2.5rem;
    padding-block: clamp(2rem, 6vw, 4rem);
}

/* Page hero — how every page but the homepage opens: the heading over a faded photograph,
   with room to breathe. .pricelist-hero is the name the first such block was given. */

.page-hero,
.pricelist-hero {
    align-items: center;
    display: flex;
    margin-top: 0;
    padding-block: clamp(3rem, 6vw, 5rem);
}

.page-hero .hero__inner,
.pricelist-hero .hero__inner {
    width: 100%;
}

/* The photograph dissolves into the ground rather than stopping at a hard edge. */
.page-hero.content-block--has-background::after,
.pricelist-hero.content-block--has-background::after {
    background: linear-gradient(to bottom, rgb(247 236 220 / 0%), var(--cof-ground));
    bottom: 0;
    content: "";
    height: clamp(3rem, 8vw, 6rem);
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 0;
}

.page-hero + .raw-embed,
.pricelist-hero + .raw-embed {
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

/* The first section after the hero sits closer to it than sections sit to each other. */
.page-hero + .content-block,
.pricelist-hero + .content-block {
    margin-top: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 48rem) {
    .hero--reservation-right .hero__inner {
        grid-template-columns: 1fr;
    }
}

/* Composed landing-page sections. Each treatment is opt-in through a block CSS class. */

.content-block:not(.hero) > .shell-inner > h2,
.content-block:not(.hero) > h2 {
    font-size: clamp(2.15rem, 4.8vw, 3.5rem);
}

/* Immediate booking facts */
.key-facts {
    background: var(--cof-forest);
    color: var(--cof-white);
    margin: 0;
    padding-block: clamp(1.7rem, 4vw, 2.7rem);
}

.key-facts .columns__grid {
    gap: 0;
}

.key-facts .columns__item {
    border-left: 1px solid rgb(255 255 255 / 18%);
    padding: .4rem clamp(1.1rem, 3vw, 2.5rem);
}

.key-facts .columns__item:first-child {
    border-left: 0;
    padding-left: 0;
}

.key-facts .columns__item:last-child {
    padding-right: 0;
}

.key-facts .columns__item h3 {
    color: var(--cof-white);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: .35rem;
}

.key-facts .columns__item p {
    color: rgb(255 253 249 / 72%);
    font-size: .88rem;
    line-height: 1.5;
}

/* Alternating editorial feature rows */
.feature-row.columns--first-wide .columns__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

.feature-row.columns--last-wide .columns__grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.feature-row:has(.columns__media) .columns__grid {
    align-items: center;
    gap: clamp(2rem, 7vw, 6.5rem);
}

.feature-row:has(.columns__media) .columns__item h2 {
    font-size: clamp(2.15rem, 4.8vw, 3.6rem);
    letter-spacing: -.035em;
    line-height: 1.02;
    margin-bottom: 1.25rem;
}

.feature-row:has(.columns__media) .columns__item p {
    font-size: 1.02rem;
    line-height: 1.75;
}

.feature-row:has(.columns__media) .columns__item p strong {
    color: var(--cof-ink);
}

.feature-row--tinted {
    background: var(--cof-surface);
    margin-block: 0;
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.feature-row.columns--last-wide {
    margin-top: clamp(4.5rem, 9vw, 8rem);
}

.feature-row:has(.columns__media) .columns__image {
    aspect-ratio: 5 / 4;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgb(36 28 22 / 12%);
}

/* Security story and photos */
.gallery-feature {
    background: var(--cof-forest);
    color: var(--cof-white);
    margin-bottom: 0;
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.gallery-feature .shell-inner > h2 {
    color: var(--cof-white);
    max-width: 16ch;
}

.gallery-feature .gallery__intro {
    color: rgb(255 253 249 / 72%);
    font-size: 1.03rem;
    margin-bottom: 2.5rem;
    max-width: 64ch;
}

.gallery-feature.gallery--columns-3 .gallery__grid {
    gap: 1rem;
    grid-template-columns: 1.35fr .65fr;
    grid-template-rows: repeat(2, minmax(12rem, 17rem));
}

.gallery-feature.gallery--columns-3 .gallery__item:first-child {
    grid-row: 1 / span 2;
}

.gallery-feature.gallery--columns-3 .gallery__media,
.gallery-feature.gallery--columns-3 .gallery__image {
    height: 100%;
}

.gallery-feature .gallery__image {
    border-radius: .75rem;
}

/* Questions scan as a quiet list, with the title held alongside on desktop. */
.faq-editorial .faq__inner {
    display: grid;
    gap: clamp(2rem, 7vw, 6rem);
    grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.35fr);
}

.faq-editorial .faq__inner > h2 {
    position: sticky;
    top: 7rem;
}

.faq-editorial .faq__item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cof-line);
    border-radius: 0;
    padding: 0;
}

.faq-editorial .faq__question {
    padding: 1.15rem 2.5rem 1.15rem 0;
}

/* Contact closes the page as the final action. */
.contact-highlight {
    background: var(--cof-accent);
    color: var(--cof-white);
    margin: 0;
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.contact-highlight h2,
.contact-highlight .contact__intro,
.contact-highlight .contact__item dt,
.contact-highlight a {
    color: var(--cof-white);
}

.contact-highlight .contact__intro,
.contact-highlight .contact__item dd {
    color: rgb(255 253 249 / 82%);
}

.contact-highlight .button {
    background: var(--cof-ink);
    box-shadow: none;
}

.contact-highlight .map__frame {
    background: rgb(255 253 249 / 14%);
}

body:has(.contact-highlight) .site-footer {
    margin-top: 0;
}

/* Numbered steps — three cards counted in order, tints cycling as in the reference. */
.steps > .shell-inner > h2,
.service-cards > .shell-inner > h2 {
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.steps .columns__grid {
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.steps .columns__item {
    background: var(--cof-white);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.5rem rgb(36 28 22 / 7%);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.steps .columns__item::before {
    align-items: center;
    background: var(--cof-step-1);
    border-radius: 999px;
    color: var(--cof-accent-text);
    content: counter(coffree-step);
    display: flex;
    font-family: var(--cof-display);
    font-size: 1.1rem;
    font-weight: 700;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 2.75rem;
}

.steps .columns__item:nth-child(3n+2)::before {
    background: var(--cof-step-2);
}

.steps .columns__item:nth-child(3n+3)::before {
    background: var(--cof-step-3);
    color: #4f6b3a;
}

.steps .columns__item h3 {
    font-size: 1.35rem;
}

/* Service cards — the image is the card, the text sits under it. */
.service-cards .columns__grid {
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-cards .columns__image {
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.5rem rgb(36 28 22 / 8%);
}

.service-cards .columns__item h3 {
    font-size: 1.35rem;
    margin-top: .25rem;
}

/* Notes — a narrow column of short answers, each under its own small heading. */
.arrival-notes .rich-text__content h3 {
    color: var(--cof-accent-text);
    font-size: 1.05rem;
    margin-top: 2.25rem;
}

.arrival-notes .rich-text__content h3:first-child {
    margin-top: 0;
}

/* A split contact on the highlight ground: details read as a compact list beside the text. */
.contact-highlight.contact--split .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-highlight.contact--split .contact__body {
    padding-top: .5rem;
}

@media (max-width: 48rem) {
    .key-facts .columns__item,
    .key-facts .columns__item:first-child,
    .key-facts .columns__item:last-child {
        border-left: 0;
        border-top: 1px solid rgb(255 255 255 / 18%);
        padding: 1.2rem 0;
    }

    .key-facts .columns__item:first-child {
        border-top: 0;
    }

    .feature-row.columns--first-wide .columns__grid,
    .feature-row.columns--last-wide .columns__grid {
        grid-template-columns: 1fr;
    }

    .feature-row.columns--last-wide .columns__item:has(.columns__media) {
        grid-row: 1;
    }

    .gallery-feature.gallery--columns-3 .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 16rem);
    }

    .gallery-feature.gallery--columns-3 .gallery__item:first-child {
        grid-row: auto;
    }

    .faq-editorial .faq__inner {
        grid-template-columns: 1fr;
    }

    .faq-editorial .faq__inner > h2 {
        position: static;
    }

    .contact-highlight.contact--split .contact__details {
        grid-template-columns: 1fr;
    }
}
