:root {
    --jungle: #0f1a14;
    --primary: #051a0f;
    --ochre: #b3843b;
    --mist: #f7f8f9;
    --surface: #fbf9f6;
    --surface-low: #f5f3f1;
    --surface-mid: #efeeeb;
    --ink: #171a17;
    --muted: #303831;
    --outline: #c2c8c2;
    --shadow: 0 24px 80px rgba(15, 26, 20, 0.14);
    --serif: "Libre Caslon Text", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.7;
}

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

a {
    color: inherit;
}

.preview-gate-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(15, 26, 20, 0.62), rgba(15, 26, 20, 0.62)),
        url("../images/new1/maloka02-extended.jpg") center / cover;
}

.preview-gate-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.preview-gate-card {
    width: min(480px, 100%);
    border: 1px solid rgba(247, 248, 249, 0.24);
    border-radius: 8px;
    background: rgba(251, 249, 246, 0.94);
    box-shadow: var(--shadow);
    padding: clamp(28px, 7vw, 44px);
}

.preview-gate-card img {
    width: 210px;
    margin-bottom: 28px;
}

.preview-gate-card h1 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400;
    line-height: 1.12;
}

.preview-gate-card p:not(.eyebrow) {
    color: var(--muted);
}

.preview-gate-card form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.preview-gate-card label {
    color: var(--primary);
    font-weight: 800;
}

.preview-gate-card input {
    width: 100%;
    border: 1px solid var(--outline);
    border-radius: 6px;
    padding: 13px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.preview-gate-card input:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 2px;
}

.preview-gate-card button {
    min-height: 48px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: var(--primary);
    color: var(--mist);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 18px clamp(20px, 5vw, 80px);
    background: rgba(251, 249, 246, 0.86);
    border-bottom: 1px solid rgba(194, 200, 194, 0.28);
    backdrop-filter: blur(18px);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 8px));
    opacity: 0;
}

.brand img {
    width: auto;
    height: 52px;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--primary);
}

.site-nav a.is-active {
    border-bottom: 2px solid var(--ochre);
}

.header-actions,
.header-socials {
    display: flex;
    align-items: center;
}

.header-actions {
    gap: 14px;
}

.header-socials {
    gap: 8px;
}

.header-socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(194, 200, 194, 0.7);
    border-radius: 999px;
    text-decoration: none;
}

.header-socials a:hover {
    border-color: var(--ochre);
    color: var(--ochre);
}

.header-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.header-cta,
.button,
.filter-bar button,
.contact-form button,
.booking-actions button,
.booking-actions [type="submit"],
.footer-button,
.card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 26, 20, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
    background: #a46f22;
    color: #fff;
}

.button-secondary {
    background: var(--jungle);
    color: #fff;
}

.button-ghost {
    background: rgba(5, 26, 15, 0.56);
    border-color: rgba(255, 255, 255, 0.64);
    color: #fff;
}

.button:hover,
.header-cta:hover,
.footer-button:hover,
.filter-bar button:hover,
.contact-form button:hover,
.booking-actions button:hover,
.booking-actions [type="submit"]:hover,
.card-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 26, 20, 0.2);
}

.button-primary:hover {
    background: #b9822e;
}

.button-secondary:hover,
.header-cta:hover,
.footer-button:hover {
    background: #092718;
}

.button-ghost:hover {
    background: rgba(7, 35, 21, 0.82);
    border-color: rgba(255, 255, 255, 0.86);
}

.button:focus-visible,
.header-cta:focus-visible,
.footer-button:focus-visible,
.filter-bar button:focus-visible,
.contact-form button:focus-visible,
.booking-actions button:focus-visible,
.booking-actions [type="submit"]:focus-visible,
.card-actions button:focus-visible {
    outline: 3px solid rgba(247, 248, 249, 0.95);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(179, 132, 59, 0.42), 0 18px 34px rgba(15, 26, 20, 0.2);
}

.button:active,
.header-cta:active,
.footer-button:active,
.filter-bar button:active,
.contact-form button:active,
.booking-actions button:active,
.booking-actions [type="submit"]:active,
.card-actions button:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(15, 26, 20, 0.16);
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    color: var(--mist);
}

.hero>img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero>img {
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.03);
}

.hero-overlay {
    background:
        radial-gradient(circle at center 42%, rgba(5, 26, 15, 0.48), rgba(5, 26, 15, 0.18) 34%, transparent 58%),
        linear-gradient(180deg, rgba(15, 26, 20, 0.66), rgba(15, 26, 20, 0.38) 48%, var(--surface) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(960px, calc(100% - 40px));
    padding-top: 80px;
    text-shadow: 0 3px 22px rgba(5, 18, 11, 0.72), 0 1px 2px rgba(5, 18, 11, 0.7);
}

.hero h1,
.page-hero h1,
.final-cta h2,
.article h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.75rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 1.08;
}

.hero p {
    max-width: 720px;
    margin: 24px auto 0;
    color: rgba(255, 253, 248, 0.96);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
}

.hero-actions .button {
    min-width: 178px;
    border-radius: 6px;
    text-shadow: none;
}

.hero-actions .button-primary {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(5, 18, 11, 0.3);
}

.hero-actions .button-ghost {
    background: rgba(5, 26, 15, 0.72);
    border-color: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 36px rgba(5, 18, 11, 0.28);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ochre);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section,
.page-hero,
.final-cta,
.article {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(40px, 5.4vw, 72px) 0;
}

.section-tight {
    padding-top: clamp(22px, 3.2vw, 36px);
}

.section h2,
.page-hero h1,
.final-cta h2,
.admin-main h1 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
}

.compact {
    padding-top: 150px;
    padding-bottom: 56px;
}

.page-hero+.section {
    padding-top: clamp(20px, 3vw, 32px);
}

.page-hero p:not(.eyebrow),
.large {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.15rem;
}

.media-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.media-hero>img {
    width: 100%;
    min-height: 360px;
    max-height: 520px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.media-hero>div {
    display: grid;
    gap: 16px;
}

.media-hero p:not(.eyebrow) {
    margin: 0;
}

.internal-hero {
    position: relative;
    min-height: clamp(560px, 72vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    padding: 130px clamp(20px, 5vw, 80px) 90px;
    color: var(--mist);
    background-image:
        radial-gradient(circle at 34% 45%, rgba(5, 26, 15, 0.62), rgba(5, 26, 15, 0.34) 38%, rgba(5, 26, 15, 0.08) 64%, transparent 78%),
        linear-gradient(180deg, rgba(15, 26, 20, 0.68) 0%, rgba(15, 26, 20, 0.38) 44%, color-mix(in srgb, var(--internal-hero-fade) 42%, transparent) 76%, var(--internal-hero-fade) 100%),
        var(--hero-image);
    background-position: center;
    background-size: cover;
}

.internal-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 34%;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--internal-hero-fade) 76%, transparent) 56%, var(--internal-hero-fade) 100%);
    pointer-events: none;
}

.internal-hero-content {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    text-shadow: 0 3px 22px rgba(5, 18, 11, 0.72), 0 1px 2px rgba(5, 18, 11, 0.7);
}

.internal-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.75rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 1.08;
}

.internal-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(255, 253, 248, 0.96);
    font-size: 1.12rem;
}

.page-retreats .internal-hero-content {
    width: min(1280px, 100%);
}

.page-about .internal-hero {
    background-position: center bottom;
}

.page-retreats .internal-hero {
    min-height: clamp(660px, 82vh, 880px);
    background-image:
        radial-gradient(circle at 34% 45%, rgba(5, 26, 15, 0.68), rgba(5, 26, 15, 0.48) 48%, rgba(5, 26, 15, 0.24) 76%, transparent 88%),
        linear-gradient(180deg, rgba(15, 26, 20, 0.72) 0%, rgba(15, 26, 20, 0.54) 64%, rgba(15, 26, 20, 0.32) 82%, color-mix(in srgb, var(--internal-hero-fade) 18%, transparent) 92%, var(--internal-hero-fade) 100%),
        var(--hero-image);
}

.page-retreats .internal-hero::after {
    height: 22%;
    background: linear-gradient(180deg, transparent 0%, transparent 18%, color-mix(in srgb, var(--internal-hero-fade) 68%, transparent) 72%, var(--internal-hero-fade) 100%);
}

.internal-hero+.section {
    isolation: isolate;
    background: var(--internal-hero-fade);
}

.internal-hero+.section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--internal-hero-fade);
    pointer-events: none;
}

.page-retreats .internal-hero p:not(.eyebrow) {
    max-width: 1180px;
    line-height: 1.55;
}

.retreat-hero-title {
    max-width: 1080px;
    font-size: clamp(2.75rem, 5.5vw, 4.55rem);
}

.retreat-hero-title span {
    display: block;
    white-space: nowrap;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 8vw, 96px);
    align-items: center;
}

.mission-section {
    align-items: start;
    padding-bottom: clamp(18px, 2.8vw, 36px);
}

.mission-section .rounded-image {
    margin-top: 4px;
}

.mission-media {
    display: grid;
    gap: 18px;
}

.mission-media blockquote {
    margin-top: 0;
}

.mission-section+.home-news {
    padding-top: clamp(18px, 2.8vw, 34px);
}

.stack {
    display: grid;
    gap: 18px;
}

.rounded-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

blockquote {
    margin: 20px 0 0;
    padding: 12px 0 12px 26px;
    border-left: 4px solid var(--ochre);
    color: var(--primary);
    font-family: var(--serif);
    font-size: 1.55rem;
    font-style: italic;
    line-height: 1.35;
}

.band {
    background: var(--jungle);
    color: var(--mist);
}

.lodge-band {
    background-image: linear-gradient(rgba(15, 26, 20, 0.78), rgba(15, 26, 20, 0.78)), url("../images/new1/malokaTambo.jpg");
    background-position: center;
    background-size: cover;
}

.values-band {
    background-image: linear-gradient(rgba(15, 26, 20, 0.88), rgba(15, 26, 20, 0.88)), url("../images/new1/comedorSalaMirador.jpg");
    background-position: center;
    background-size: cover;
}

.center {
    text-align: center;
}

.center p {
    margin-left: auto;
    margin-right: auto;
}

.band h2,
.band .large {
    color: var(--mist);
}

.stat-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.stat-grid div,
.admin-grid article,
.simple-card,
.notice-panel,
.booking-summary,
.booking-form,
.admin-panel {
    background: var(--surface-low);
    border: 1px solid rgba(194, 200, 194, 0.36);
    border-radius: 8px;
    padding: 28px;
}

.notice-panel h3,
.notice-panel h2,
.retreat-context-card h3,
.commitment-grid h3 {
    margin-top: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-weight: 400;
}

.band .stat-grid div {
    background: rgba(247, 248, 249, 0.09);
    border-color: rgba(247, 248, 249, 0.2);
}

.stat-grid strong,
.admin-grid strong {
    display: block;
    color: var(--ochre);
    font-family: var(--serif);
    font-size: 2.3rem;
    font-weight: 400;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 32px;
}

.section-heading>a {
    color: var(--primary);
    font-weight: 800;
    text-decoration-color: var(--ochre);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.image-grid,
.post-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

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

.ceremony-list {
    display: grid;
    gap: 34px;
}

.healing-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
    padding-bottom: clamp(18px, 2.8vw, 32px);
}

.healing-intro .stack {
    align-self: start;
}

.healing-intro h2 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
}

.healing-intro>p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.ceremony-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.ceremony-nav a {
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ceremony-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 135, 48, 0.55);
    background: rgba(191, 135, 48, 0.09);
}

.ceremony-nav a:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 3px;
}

.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.ceremony-feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    padding: 0;
    border: 1px solid rgba(194, 200, 194, 0.42);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 58px rgba(15, 26, 20, 0.07);
    overflow: hidden;
}

.ceremony-feature:nth-child(even) img {
    order: 0;
}

.ceremony-feature img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.ceremony-feature .stack {
    display: grid;
    grid-template-rows: minmax(1.25rem, auto) minmax(7rem, auto) minmax(5.2rem, auto) auto auto;
    align-content: start;
    gap: 12px;
    padding: 26px 24px 24px;
}

.ceremony-feature .eyebrow {
    margin: 0;
}

.ceremony-feature h2,
.team-card h2,
.values-grid h3 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
}

.ceremony-feature h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    min-height: 0;
}

.ceremony-feature .ceremony-summary,
.ceremony-feature .ceremony-body {
    margin: 0;
}

.ceremony-details {
    margin-top: 0;
    padding-top: 0;
    color: var(--muted);
}

.ceremony-details summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.ceremony-details summary:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 4px;
    border-radius: 4px;
}

.ceremony-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.ceremony-detail-grid div {
    border: 1px solid rgba(194, 200, 194, 0.36);
    border-radius: 8px;
    background: rgba(247, 248, 249, 0.72);
    padding: 16px;
}

.ceremony-detail-grid h3 {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ceremony-detail-grid p {
    margin: 0;
    font-size: 0.94rem;
}

.retreat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.retreat-context-grid,
.commitment-grid {
    display: grid;
    gap: 16px;
}

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

.retreat-intro-copy {
    align-items: start;
}

.retreat-intro-copy>.retreat-context-grid {
    align-self: start;
    margin: 0;
}

.retreat-context-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(194, 200, 194, 0.36);
    border-radius: 8px;
    background: rgba(247, 248, 249, 0.78);
    padding: 22px;
}

.image-context-card {
    display: grid;
    grid-template-rows: 220px 1fr;
    overflow: hidden;
    padding: 0;
}

.image-context-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.image-context-card-content {
    display: grid;
    grid-template-rows: minmax(72px, auto) 1fr;
    gap: 8px;
    padding: 22px;
}

.image-context-card h3 {
    margin: 0;
}

.image-context-card p {
    margin: 0;
}

.retreat-context-card h3,
.commitment-grid h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.retreat-context-card p,
.commitment-grid p {
    margin: 0;
    color: var(--muted);
}

.image-context-card .image-context-card-content h3 {
    margin: 0;
}

.image-card,
.post-card,
.retreat-card {
    scroll-margin-top: 112px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 58px rgba(15, 26, 20, 0.09);
}

.image-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.image-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 64px rgba(15, 26, 20, 0.14);
}

.retreat-card-link-media {
    display: block;
    overflow: hidden;
}

.image-card img,
.post-card img,
.retreat-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.image-card div,
.post-card div,
.retreat-card div {
    padding: 22px;
}

.retreat-card {
    display: flex;
    flex-direction: column;
}

.retreat-card>div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.retreat-card h3 a,
.retreat-card-summary-link {
    color: inherit;
    text-decoration: none;
}

.retreat-card h3 a:hover,
.retreat-card-summary-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--ochre);
}

.retreat-card-summary-link {
    display: block;
    color: var(--muted);
}

.retreat-grid .retreat-card>div>p:not(.eyebrow):first-child,
.retreat-grid .retreat-card-summary-link {
    min-height: 3.5rem;
}

p.price-container {
    text-align: end;
    font-weight: 600;
        color: var(--ochre);
        min-width: 100%;
    margin: 0rem;
}

.image-card h3,
.post-card h3,
.retreat-card h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
    min-height: 55.68px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.chip-row span {
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--muted);
    font-size: 0.78rem;
}

.card-list,
.feature-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.feature-list {
    margin-top: 0;
}

.card-list li::marker,
.feature-list li::marker {
    color: var(--ochre);
}

.retreat-details,
.teacher-bio {
    margin-top: 16px;
    color: var(--muted);
}

.retreat-details summary,
.teacher-bio summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.retreat-details summary:focus-visible,
.teacher-bio summary:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 4px;
    border-radius: 4px;
}

.retreat-details .card-list {
    margin-top: 12px;
}

.retreat-education,
.about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.retreat-education {
    border-top: 1px solid rgba(194, 200, 194, 0.42);
    padding-top: clamp(30px, 4vw, 54px);
}

.retreat-education-media {
    align-self: start;
}

.retreat-education-media .rounded-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.stay-section,
.programs-section,
.medicine-section,
.safety-section,
.reflections-section {
    padding-top: clamp(22px, 3.4vw, 42px);
}

.stay-section+.inclusions-section,
.inclusions-section+.programs-section,
.medicine-section+.safety-section,
.safety-section+.reflections-section {
    padding-top: clamp(16px, 2.4vw, 28px);
}

.about-story {
    max-width: 1040px;
}

.about-story h2,
.retreat-education h2 {
    margin-top: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
}

.about-story p:not(.eyebrow),
.retreat-education p {
    color: var(--muted);
    font-size: 1.05rem;
}

.retreat-education .stack {
    gap: 12px;
}

.blueprint-section {
    align-items: start;
}

.blueprint-section .rounded-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-story {
    align-items: start;
}

.about-story>p {
    margin-top: 0;
}

.page-training .page-hero+.section.split {
    align-items: start;
}

.page-training .page-hero+.section.split>.stack {
    align-content: start;
}

.page-training .page-hero+.section.split>.stack:last-child {
    gap: 12px;
}

.page-training .page-hero+.section.split>.stack:last-child p:first-child {
    margin-top: 0;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 24px;
}

.card-actions a {
    color: var(--primary);
    font-weight: 800;
    text-decoration-color: var(--ochre);
}

.card-actions button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 0.68rem;
}

.price-request-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    flex: 1;
    border: 1px solid rgba(179, 132, 59, 0.5);
    border-radius: 4px;
    padding: 9px 14px;
    background: rgba(179, 132, 59, 0.1);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.journal-strip {
    border-top: 1px solid rgba(194, 200, 194, 0.36);
}

.news-feature {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    border: 1px solid rgba(194, 200, 194, 0.42);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 58px rgba(15, 26, 20, 0.07);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 64px rgba(15, 26, 20, 0.14);
}

.news-feature img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.news-feature div {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 5vw, 42px);
}

.news-feature span {
    color: var(--primary);
    font-weight: 800;
    text-decoration-color: var(--ochre);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial-card {
    margin: 0;
    border: 1px solid rgba(194, 200, 194, 0.42);
    border-radius: 8px;
    background: #fff;
    padding: 26px;
    box-shadow: 0 18px 58px rgba(15, 26, 20, 0.06);
}

.testimonial-card blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.25rem;
}

.testimonial-card figcaption {
    margin-top: 18px;
    color: var(--muted);
    font-weight: 700;
}

.safety-note {
    width: min(760px, 100%);
    margin: 24px auto 0;
    border: 1px solid rgba(194, 200, 194, 0.42);
    border-radius: 8px;
    background: rgba(247, 248, 249, 0.76);
    padding: 22px;
}

.safety-note strong {
    display: block;
    color: var(--primary);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-modal {
    width: min(760px, calc(100% - 32px));
    max-height: min(780px, calc(100vh - 32px));
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    color: var(--ink);
}

.site-modal::backdrop {
    background: rgba(5, 26, 15, 0.62);
    backdrop-filter: blur(4px);
}

.site-modal-panel {
    max-height: inherit;
    overflow: auto;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.site-modal-header {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    border-bottom: 1px solid rgba(194, 200, 194, 0.42);
    background: rgba(251, 249, 246, 0.96);
    padding: 24px;
}

.site-modal-header h2 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 400;
    line-height: 1.15;
}

.site-modal-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(194, 200, 194, 0.72);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.35rem;
}

.site-modal-close:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 3px;
}

.site-modal-body {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.modal-intro {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.modal-chip-row span {
    min-width: 132px;
    text-align: center;
    height: 32px;
    display: flex;
    justify-content: center;
}

.modal-list {
    margin-top: 0;
}

.modal-cta {
    justify-self: start;
}

.training-format-grid strong {
    display: block;
    margin-top: 18px;
    color: var(--ochre);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.safety-note p {
    margin: 8px 0 0;
    color: var(--muted);
}

.values-grid,
.team-grid {
    display: grid;
    gap: 24px;
}

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

.values-grid article {
    border: 1px solid rgba(247, 248, 249, 0.16);
    border-radius: 8px;
    background: rgba(247, 248, 249, 0.08);
    padding: 26px;
}

.values-grid h3 {
    color: var(--mist);
    font-size: 1.45rem;
}

.values-grid p {
    color: rgba(247, 248, 249, 0.78);
}

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

.team-card {
    overflow: hidden;
    border: 1px solid rgba(194, 200, 194, 0.36);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 58px rgba(15, 26, 20, 0.08);
}

.team-card img {
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.team-card div {
    padding: 26px;
}

.team-card h2 {
    font-size: 1.75rem;
}

.team-card .teacher-bio p {
    margin: 12px 0 0;
}

.final-cta {
    text-align: center;
}

.filter-bar,
.form-grid,
.contact-grid,
.booking-shell {
    display: grid;
    gap: 20px;
}

.filter-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 34px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--outline);
    border-radius: 6px;
    background: #fff;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.form-alert {
    margin: 0;
    border-radius: 6px;
    padding: 14px 16px;
    font-weight: 700;
}

.form-alert.success {
    border: 1px solid rgba(61, 122, 83, 0.28);
    background: #edf6ef;
    color: #245438;
}

.form-alert.error {
    border: 1px solid rgba(153, 74, 62, 0.3);
    background: #fbefed;
    color: #7a332b;
}

.contact-grid,
.booking-shell {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
}

.contact-form,
.booking-form {
    display: grid;
    gap: 18px;
}

.booking-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 120px;
}

.booking-summary {
    position: sticky;
    top: 110px;
    order: 2;
}

.booking-form {
    order: 1;
}

.booking-step {
    display: none;
}

.booking-step.is-active {
    display: grid;
    gap: 18px;
}

.step-label {
    display: inline-flex;
    width: max-content;
    border: 1px solid var(--ochre);
    border-radius: 999px;
    padding: 4px 12px;
    color: var(--ochre);
    font-weight: 800;
}

.option-grid,
.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-card {
    cursor: pointer;
    border: 1px solid var(--outline);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.option-card input {
    width: auto;
}

.option-card span,
.option-card small {
    display: block;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
}

.booking-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.article header {
    display: grid;
    gap: 20px;
}

.article header img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 10px;
}

.article-body {
    width: min(760px, 100%);
    margin: 44px auto;
    color: var(--muted);
    font-size: 1.16rem;
}

.article-cta {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 34px;
    border-radius: 8px;
    background: var(--surface-low);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 5rem);
    padding-top: 0;
}

.admin-login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 120px 20px 60px;
}

.admin-login {
    display: grid;
    gap: 18px;
    width: min(460px, 100%);
    border: 1px solid rgba(194, 200, 194, 0.42);
    border-radius: 8px;
    background: #fff;
    padding: clamp(28px, 5vw, 42px);
    box-shadow: var(--shadow);
}

.admin-login img {
    width: 220px;
}

.admin-login h1 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.1;
}

.admin-login button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 4px;
    background: var(--primary);
    color: var(--mist);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
    display: grid;
    align-content: start;
    gap: 10px;
    height: calc(100vh - 5rem);
    overflow-y: auto;
    padding: 30px;
    background: var(--jungle);
    color: var(--mist);
}

.admin-sidebar a {
    padding: 10px 0;
    text-decoration: none;
}

.admin-sidebar .is-active {
    color: var(--ochre);
}

.admin-main {
    padding: 48px;
}

.admin-current {
    margin: 8px 0 22px;
    color: var(--muted);
    font-weight: 700;
}

.admin-panel {
    margin-top: 26px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid rgba(194, 200, 194, 0.42);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--primary);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-table td span,
.admin-list span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.status-pill {
    display: inline-flex;
    width: max-content;
    border-radius: 999px;
    background: rgba(179, 132, 59, 0.14);
    padding: 4px 10px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: capitalize;
}

.admin-list {
    display: grid;
    gap: 16px;
}

.admin-list article {
    border-bottom: 1px solid rgba(194, 200, 194, 0.42);
    padding-bottom: 16px;
}

.admin-list article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.admin-list p {
    margin-bottom: 0;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.admin-actions button,
.inline-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--primary);
    color: var(--mist);
    padding: 10px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-editor {
    display: grid;
    gap: 22px;
}

.admin-editor .admin-panel {
    display: grid;
    gap: 18px;
}

.admin-preview {
    width: min(420px, 100%);
    border-radius: 8px;
}

.inline-form {
    display: grid;
    gap: 8px;
    min-width: 180px;
}

.site-footer {
    background: var(--jungle);
    color: rgba(247, 248, 249, 0.78);
    font-size: 0.92rem;
    padding: 72px clamp(20px, 5vw, 80px) 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(140px, 0.82fr) minmax(210px, 1.05fr) minmax(190px, 0.95fr);
    align-items: start;
    gap: clamp(28px, 4vw, 44px);
}

.footer-grid>div {
    align-self: start;
}

.footer-logo {
    width: 230px;
    margin-bottom: 18px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--mist);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(247, 248, 249, 0.78);
    text-decoration: none;
    text-decoration-color: transparent;
    text-underline-offset: 0.22em;
    transition: color 160ms ease, opacity 160ms ease, text-decoration-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.site-footer a:hover {
    color: var(--mist);
    text-decoration: underline;
    text-decoration-color: rgba(191, 135, 48, 0.82);
}

.site-footer a:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.46);
    outline-offset: 4px;
    border-radius: 4px;
    color: var(--mist);
    text-decoration: underline;
    text-decoration-color: rgba(191, 135, 48, 0.92);
}

.site-footer .footer-button {
    display: inline-grid;
    place-items: center;
    width: fit-content;
    min-height: 3rem;
    margin-top: 0;
    padding-block: 0;
    line-height: 1;
}

.site-footer .footer-button:hover {
    transform: none;
    background: #092718;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(5, 18, 11, 0.28);
}

.site-footer .footer-button:focus-visible {
    color: #fff;
    text-decoration: none;
}

.footer-contact-column,
.footer-cta-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    margin: 0;
    padding: 0;
}

.footer-cta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.footer-cta-stack a {
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(247, 248, 249, 0.14);
    font-size: 0.8rem;
}

.whatsapp-float {
    position: fixed;
    z-index: 1000;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #25d366;
    color: #062514;
    font-size: 1.55rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.whatsapp-chat-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 29px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 9px;
}

.whatsapp-chat-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: -6px;
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    transform: skewY(-35deg);
}

.whatsapp-chat-icon i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .header-actions {
        justify-self: end;
    }

    .brand img {
        height: 42px;
    }

    .nav-toggle {
        display: grid;
        gap: 5px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        padding: 10px;
    }

    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--primary);
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        display: none;
        background: var(--surface);
        border: 1px solid var(--outline);
        border-radius: 8px;
        padding: 18px;
        box-shadow: var(--shadow);
    }

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

    .split,
    .media-hero,
    .ceremony-feature,
    .ceremony-grid,
    .ceremony-detail-grid,
    .healing-intro,
    .news-feature,
    .retreat-grid,
    .retreat-context-grid,
    .retreat-education,
    .about-story,
    .testimonial-grid,
    .contact-grid,
    .booking-shell,
    .footer-grid,
    .admin-shell,
    .team-grid,
    .values-grid,
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .ceremony-feature:nth-child(even) img {
        order: 0;
    }

    .image-grid,
    .post-grid,
    .card-grid,
    .filter-bar,
    .option-grid,
    .form-grid,
    .stat-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .footer-bottom {
        display: grid;
    }

    .booking-summary {
        position: static;
        order: 1;
    }

    .booking-form {
        order: 2;
    }

    .admin-sidebar {
        display: none;
    }

    .internal-hero {
        min-height: 560px;
        padding: 118px 24px 82px;
        background-position: center;
    }

    .internal-hero-content {
        width: min(720px, 100%);
    }
}

@media (max-width: 640px) {
    .site-header {
        gap: 8px;
        padding: 10px 12px;
    }

    .brand img {
        height: 34px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .header-cta {
        min-height: 38px;
        padding: 8px 9px;
        font-size: 0.66rem;
    }

    .header-actions {
        gap: 8px;
    }

    .header-socials a {
        width: 26px;
        height: 26px;
        font-size: 0.62rem;
    }

    .hero h1,
    .page-hero h1,
    .internal-hero h1,
    .final-cta h2,
    .article h1 {
        font-size: 2.45rem;
    }

    .hero-actions,
    .booking-actions,
    .card-actions {
        display: grid;
    }

    .media-hero>img {
        min-height: 260px;
    }

    .internal-hero {
        min-height: 520px;
        padding: 112px 20px 78px;
    }

    .internal-hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .retreat-hero-title span {
        display: inline;
        white-space: normal;
    }

    .retreat-hero-title span+span::before {
        content: " ";
    }

    .ceremony-feature h2 {
        min-height: 0;
    }

    .ceremony-feature .stack,
    .image-context-card-content {
        grid-template-rows: auto;
    }

    .site-modal {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .site-modal-panel {
        min-height: 100vh;
    }
}

.booking-step .option-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
    row-gap: 0.5rem;
}

.site-modal .modal-cta {
    justify-self: end;
}

/* Dedicated administration header */
.admin-layout-page {
    min-height: 100vh;
    background: var(--surface-low);
}

.admin-topbar {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5rem;
    border-bottom: 1px solid var(--outline);
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
    box-shadow: 0 0.75rem 2.25rem rgba(6, 31, 19, 0.08);
    backdrop-filter: blur(1.25rem);
}

.admin-topbar-brand,
.admin-topbar-actions,
.admin-profile>summary,
.admin-profile-links {
    display: flex;
    align-items: center;
}

.admin-topbar-brand {
    position: relative;
    gap: 1rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.admin-logo {
    grid-area: 1 / 1;
    width: auto;
    height: 2.75rem;
    object-fit: contain;
}

.admin-logo-dark {
    display: none;
}

html[data-theme="dark"] .admin-logo-light {
    display: none;
}

html[data-theme="dark"] .admin-logo-dark {
    display: block;
}

.admin-topbar-brand span {
    border-left: 1px solid var(--outline);
    padding-left: 1rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-topbar-actions {
    gap: 0.75rem;
}

.admin-nav-toggle,
.admin-nav-backdrop {
    display: none;
}

.admin-nav-toggle {
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    gap: 0.25rem;
    border: 1px solid var(--outline);
    border-radius: 50%;
    background: var(--surface-low);
    padding: 0.68rem;
    cursor: pointer;
}

.admin-nav-toggle span {
    display: block;
    width: 100%;
    height: 0.1rem;
    border-radius: 999px;
    background: var(--ink);
}

.admin-theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    overflow: hidden;
    border: 1px solid var(--outline);
    border-radius: 50%;
    background: var(--surface-low);
    color: var(--ink);
    cursor: pointer;
}

.admin-profile {
    position: relative;
}

.admin-profile>summary {
    gap: 0.65rem;
    list-style: none;
    cursor: pointer;
}

.admin-profile>summary::-webkit-details-marker {
    display: none;
}

.admin-avatar {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--surface-raised);
    font-weight: 800;
}

.admin-profile-summary {
    display: grid;
    gap: 0.1rem;
}

.admin-profile-summary strong {
    color: var(--ink);
    font-size: 0.88rem;
}

.admin-profile-summary small {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: capitalize;
}

.admin-profile-chevron {
    display: grid;
    align-self: center;
    place-items: center;
    width: 1rem;
    height: 1rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.admin-profile-chevron svg {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
}

.admin-profile[open] .admin-profile-chevron {
    transform: rotate(180deg);
}

.admin-profile-card {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    display: grid;
    gap: 0.65rem;
    width: min(21rem, calc(100vw - 2rem));
    border: 1px solid var(--outline);
    border-radius: 1rem;
    background: var(--surface-raised);
    padding: 1.25rem;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.admin-profile-card p {
    margin: 0;
}

.admin-profile-card>span:not(.status-pill) {
    color: var(--muted);
    font-size: 0.9rem;
    word-break: break-word;
}

.admin-profile-card .status-pill {
    justify-self: start;
}

.admin-profile-links {
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--outline);
    padding-top: 0.85rem;
}

.admin-profile-links a,
.admin-view-site {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-layout-content {
    min-height: 100vh;
    padding-top: 5rem;
}

html[data-theme="dark"] .admin-topbar {
    background: color-mix(in srgb, #09130e 94%, transparent);
}

html[data-theme="dark"] .admin-avatar {
    background: var(--ochre);
    color: #09130e;
}

html[data-theme="dark"] .admin-profile-links a,
html[data-theme="dark"] .admin-view-site {
    color: var(--ochre);
}

@media (max-width: 640px) {
    .admin-topbar {
        min-height: 4.35rem;
        padding: 0.6rem 0.75rem;
    }

    .admin-logo {
        height: 2.1rem;
    }

    .admin-topbar-brand {
        gap: 0.55rem;
    }

    .admin-topbar-brand span {
        padding-left: 0.55rem;
        font-size: 0.62rem;
    }

    .admin-profile-summary {
        display: none;
    }

    .admin-theme-toggle,
    .admin-avatar {
        width: 2.35rem;
        height: 2.35rem;
    }
}

@media (max-width: 980px) {
    .admin-nav-toggle {
        display: grid;
    }

    .admin-sidebar {
        position: fixed;
        z-index: 95;
        top: 5rem;
        left: 0;
        display: grid;
        width: min(18rem, 84vw);
        height: calc(100dvh - 5rem);
        border-right: 1px solid rgba(217, 234, 223, 0.16);
        box-shadow: 1.25rem 0 3rem rgba(0, 0, 0, 0.3);
        transform: translateX(-105%);
        transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .admin-nav-backdrop {
        position: fixed;
        z-index: 90;
        inset: 5rem 0 0;
        width: 100%;
        border: 0;
        background: rgba(2, 10, 6, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    html.admin-nav-locked,
    .admin-nav-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-nav-open .admin-nav-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 640px) {
    .admin-topbar-brand span {
        display: none;
    }

    .admin-nav-toggle,
    .admin-theme-toggle,
    .admin-avatar {
        width: 2.35rem;
        height: 2.35rem;
    }

    .admin-sidebar {
        top: 4.35rem;
        height: calc(100dvh - 4.35rem);
    }

    .admin-nav-backdrop {
        inset: 4.35rem 0 0;
    }

    .admin-layout-content {
        padding-top: 4.35rem;
    }
}

/* Administration contrast and navigation states */
.admin-login-brand {
    display: grid;
    width: 13.75rem;
}

.admin-login-logo {
    grid-area: 1 / 1;
    width: 100%;
}

.admin-login-logo-dark {
    display: none;
}

html[data-theme="dark"] .admin-login-logo-light {
    display: none;
}

html[data-theme="dark"] .admin-login-logo-dark {
    display: block;
}

.admin-sidebar a {
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.7rem 0.85rem;
    color: #e4eee7;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus-visible {
    border-color: rgba(217, 234, 223, 0.16);
    background: rgba(217, 234, 223, 0.08);
    color: #ffffff;
}

.admin-sidebar .is-active {
    border-color: rgba(213, 168, 94, 0.32);
    background: rgba(213, 168, 94, 0.13);
    color: #efbd6a;
}

html[data-theme="dark"] :is(.admin-login button, .admin-actions button, .inline-form button) {
    border-color: rgba(217, 234, 223, 0.25);
    background: #d9eadf;
    color: #000000;
}

html[data-theme="dark"] :is(.admin-login button, .admin-actions button, .inline-form button):hover,
html[data-theme="dark"] :is(.admin-login button, .admin-actions button, .inline-form button):focus-visible {
    background: #ffffff;
    color: #000000;
}

:is(.admin-login button, .admin-actions button, .inline-form button):disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

/* Refined interaction and form system */
.site-header {
    background: color-mix(in srgb, var(--surface-raised) 58%, transparent);
    border-color: color-mix(in srgb, var(--outline) 68%, transparent);
    box-shadow: 0 12px 34px rgba(6, 31, 19, 0.08);
    backdrop-filter: blur(15px) saturate(125%);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.site-header.is-scrolled {
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    border-color: var(--outline);
    box-shadow: 0 18px 48px rgba(6, 31, 19, 0.15);
    backdrop-filter: blur(22px) saturate(145%);
}

html[data-theme="dark"] .site-header {
    background: color-mix(in srgb, #09130e 62%, transparent);
}

html[data-theme="dark"] .site-header.is-scrolled {
    background: color-mix(in srgb, #09130e 95%, transparent);
}

.ceremony-details,
.teacher-bio {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--outline) 80%, transparent);
    background: color-mix(in srgb, var(--surface-low) 82%, var(--surface-raised));
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ceremony-details:hover,
.teacher-bio:hover,
.ceremony-details[open],
.teacher-bio[open] {
    border-color: color-mix(in srgb, var(--ochre) 35%, var(--outline));
    background: color-mix(in srgb, var(--surface-low) 62%, var(--surface-raised));
}

.ceremony-details[open],
.teacher-bio[open] {
    box-shadow: 0 14px 34px rgba(6, 31, 19, 0.08);
}

.ceremony-details>summary,
.teacher-bio>summary {
    min-height: 64px;
    padding: 14px 18px;
    line-height: 1.35;
}

.ceremony-details>summary::after,
.teacher-bio>summary::after {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
}

.ceremony-details>p,
.teacher-bio>p {
    margin: 0;
    padding: 2px 18px 20px;
    line-height: 1.7;
}

.ceremony-details .ceremony-detail-grid {
    gap: 16px;
    margin: 0;
    padding: 0 18px 20px;
}

.ceremony-detail-grid>div {
    border-color: color-mix(in srgb, var(--outline) 72%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-raised) 72%, transparent);
    padding: clamp(18px, 2.2vw, 26px);
}

.ceremony-detail-grid p {
    line-height: 1.65;
}

.contact-form,
.booking-form,
.booking-summary,
.notice-panel {
    border: 1px solid color-mix(in srgb, var(--outline) 78%, transparent);
    background: color-mix(in srgb, var(--surface-raised) 86%, transparent);
    backdrop-filter: blur(14px);
}

.contact-form,
.booking-form {
    gap: 22px;
    padding: clamp(22px, 3.5vw, 42px);
}

.contact-form label,
.booking-form label {
    gap: 10px;
    color: var(--ink);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea,
.booking-form input:not([type="radio"]):not([type="checkbox"]),
.booking-form select,
.booking-form textarea {
    min-height: 52px;
    border-color: color-mix(in srgb, var(--outline) 88%, transparent);
    background: color-mix(in srgb, var(--surface-low) 68%, transparent);
    padding: 14px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.contact-form textarea,
.booking-form textarea {
    min-height: 150px;
}

.contact-form input:hover,
.contact-form textarea:hover,
.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
    border-color: color-mix(in srgb, var(--ochre) 42%, var(--outline));
}

.option-grid {
    gap: 14px;
}

.option-card {
    position: relative;
    display: grid;
    gap: 9px;
    min-height: 126px;
    padding: 24px 68px 24px 22px;
    border-color: color-mix(in srgb, var(--outline) 82%, transparent);
    background: color-mix(in srgb, var(--surface-low) 58%, transparent);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ochre) 50%, var(--outline));
    background: color-mix(in srgb, var(--surface-low) 78%, transparent);
}

.option-card input[type="radio"] {
    appearance: none;
    position: absolute;
    top: 22px;
    right: 22px;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1.5px solid color-mix(in srgb, var(--primary) 55%, var(--outline));
    border-radius: 50%;
    background: transparent;
    padding: 0;
}

.option-card input[type="radio"]::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: var(--primary);
    opacity: 0;
    transform: scale(0.45);
    transition: opacity 160ms ease, transform 160ms ease;
}

.option-card input[type="radio"]:checked::after {
    opacity: 1;
    transform: scale(1);
}

.option-card:has(input:checked) {
    transform: translateY(-2px);
    border-color: var(--ochre);
    background: color-mix(in srgb, var(--ochre) 12%, var(--surface-raised));
    box-shadow: 0 12px 28px color-mix(in srgb, var(--ochre) 16%, transparent);
}

.option-card span {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.35;
}

.option-card small {
    color: var(--muted);
    line-height: 1.5;
}

html.has-open-modal,
html.has-open-modal body {
    overflow: hidden;
}

.site-modal {
    overflow: hidden;
    max-height: min(820px, calc(100dvh - 32px));
    padding: 0;
}

.site-modal-panel {
    display: flex;
    flex-direction: column;
    max-height: min(820px, calc(100dvh - 32px));
    overflow: hidden;
    background: var(--surface-raised);
}

.site-modal-header {
    position: relative;
    flex: 0 0 auto;
    background: color-mix(in srgb, var(--surface-raised) 96%, transparent);
    padding: clamp(20px, 3vw, 30px);
}

.site-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: clamp(22px, 3vw, 32px);
}

@media (max-width: 720px) {

    .ceremony-details .ceremony-detail-grid,
    .ceremony-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .booking-form {
        padding: 20px;
    }

    .option-card {
        min-height: 112px;
        padding: 20px 58px 20px 18px;
    }

    .option-card input[type="radio"] {
        top: 18px;
        right: 18px;
    }

    .site-modal {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 22px;
    }

    .site-modal-panel {
        max-height: calc(100dvh - 16px);
    }
}

/* UX refinement: orientation, progressive disclosure, forms and subtle motion */
.breadcrumb {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    width: min(1180px, calc(100% - 40px));
    margin: 104px auto -4px;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

.breadcrumb span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journey-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: min(1180px, calc(100% - 40px));
    margin: 24px auto 72px;
    overflow: hidden;
    border: 1px solid var(--outline);
    border-radius: 10px;
    background: var(--outline);
}

.journey-nav a {
    display: grid;
    gap: 5px;
    min-height: 96px;
    padding: 22px 26px;
    background: var(--surface);
    color: var(--primary);
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.journey-nav a:last-child {
    text-align: right;
}

.journey-nav a:hover,
.journey-nav a:focus-visible {
    background: var(--primary);
    color: #fff;
}

.journey-nav span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.journey-nav a:hover span,
.journey-nav a:focus-visible span {
    color: rgba(255, 255, 255, 0.72);
}

.external-mark {
    display: inline-block;
    margin-left: 0.18em;
    font-size: 0.86em;
    transition: transform 160ms ease;
}

a:hover .external-mark {
    transform: translate(2px, -2px);
}

[id] {
    scroll-margin-top: 112px;
}

.retreat-card.is-targeted,
.ceremony-feature.is-targeted {
    animation: target-pulse 1.5s ease;
}

.ceremony-details>summary,
.teacher-bio>summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
}

.ceremony-details>summary::-webkit-details-marker,
.teacher-bio>summary::-webkit-details-marker {
    display: none;
}

.ceremony-details>summary::after,
.teacher-bio>summary::after {
    content: "+";
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: "DM Sans", sans-serif;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ceremony-details[open]>summary::after,
.teacher-bio[open]>summary::after {
    content: "−";
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

.retreat-card>div>p:not(.eyebrow),
.retreat-card-summary-link,
.post-card>div>p:last-child {
    text-align: justify;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
 
}

.booking-progress {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--outline);
}

.booking-progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 65, 42, 0.1);
}

.booking-progress-track span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--ochre));
    transition: width 260ms ease;
}

.booking-step.has-validation-error {
    animation: validation-shake 360ms ease;
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #a33b32;
}

button[aria-busy="true"] {
    cursor: wait;
    opacity: 0.72;
}

.form-alert {
    border-left: 4px solid currentColor;
}

.form-alert:focus-visible {
    outline: 3px solid rgba(191, 135, 48, 0.42);
    outline-offset: 3px;
}

.has-reveal-motion main>section:not(.hero):not(.internal-hero),
.has-reveal-motion .retreat-card,
.has-reveal-motion .image-card,
.has-reveal-motion .post-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-reveal-motion .reveal-left:not(.is-revealed) {
    transform: translateX(-30px);
}

.has-reveal-motion .reveal-right:not(.is-revealed) {
    transform: translateX(30px);
}

.has-reveal-motion .reveal-scale:not(.is-revealed) {
    transform: translateY(8px) scale(0.965);
}

.has-reveal-motion .reveal-up:not(.is-revealed) {
    transform: translateY(22px);
}

.has-reveal-motion main>section:not(.hero):not(.internal-hero).is-revealed,
.has-reveal-motion .retreat-card.is-revealed,
.has-reveal-motion .image-card.is-revealed,
.has-reveal-motion .post-card.is-revealed {
    opacity: 1;
    transform: none;
}

.whatsapp-float {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 38px rgba(4, 54, 28, 0.25);
}

@keyframes target-pulse {

    0%,
    100% {
        box-shadow: none;
    }

    35% {
        box-shadow: 0 0 0 5px rgba(191, 135, 48, 0.28);
    }
}

@keyframes validation-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(-5px);
    }

    60% {
        transform: translateX(5px);
    }
}

@media (max-width: 980px) {
    .site-nav.is-open {
        gap: 2px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .site-nav.is-open a {
        padding: 11px 8px;
        border-bottom: 1px solid var(--outline);
    }

    .site-nav.is-open a:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        width: calc(100% - 28px);
        margin-top: 78px;
        font-size: 0.72rem;
    }

    .header-cta {
        max-width: 92px;
        line-height: 1.1;
        text-align: center;
    }

    .booking-progress-copy {
        align-items: flex-start;
        font-size: 0.75rem;
    }

    .journey-nav {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        margin-bottom: 48px;
    }

    .journey-nav a {
        min-height: 82px;
        padding: 18px 20px;
    }

    .journey-nav a:last-child {
        text-align: left;
    }

    .booking-actions button,
    .booking-actions [type="submit"] {
        width: 100%;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 2026 visual system: modern Amazonian calm, preserving the original identity */
:root {
    --primary: #082719;
    --jungle: #071b12;
    --ochre: #b78335;
    --surface: #f8f5ef;
    --surface-low: #f0ede5;
    --surface-mid: #e7e4dc;
    --surface-raised: rgba(255, 253, 248, 0.88);
    --internal-hero-fade: color-mix(in srgb, var(--surface) 92%, var(--ochre));
    --ink: #17231c;
    --muted: #526158;
    --outline: rgba(35, 66, 48, 0.18);
    --soft-glow: rgba(183, 131, 53, 0.16);
    --shadow: 0 26px 70px rgba(15, 35, 24, 0.12);
    --shadow-soft: 0 14px 38px rgba(15, 35, 24, 0.08);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    color-scheme: light;
}

html[data-theme="dark"] {
    --primary: #d9eadf;
    --jungle: #050d09;
    --ochre: #d5a85e;
    --mist: #f1f6f2;
    --surface: #09130e;
    --surface-low: #0d1c14;
    --surface-mid: #14251b;
    --surface-raised: rgba(15, 31, 22, 0.9);
    --internal-hero-fade: var(--surface);
    --ink: #ecf2ed;
    --muted: #afbeb4;
    --outline: rgba(213, 232, 219, 0.16);
    --soft-glow: rgba(213, 168, 94, 0.12);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 8% 18%, var(--soft-glow), transparent 30%),
        radial-gradient(circle at 92% 62%, rgba(34, 101, 69, 0.08), transparent 28%),
        var(--surface);
    transition: background-color 260ms ease, color 260ms ease;
}

.page-home main {
    background: var(--surface);
}

.page-ceremonies {
    --internal-hero-fade: color-mix(in srgb, var(--surface) 90%, var(--ochre));
}

.page-ceremonies main {
    background: var(--internal-hero-fade);
}

html[data-theme="dark"] .page-ceremonies {
    --internal-hero-fade: var(--surface);
}

.site-header {
    top: 12px;
    left: clamp(12px, 2vw, 28px);
    right: clamp(12px, 2vw, 28px);
    padding: 12px clamp(16px, 2.6vw, 34px);
    border: 1px solid var(--outline);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-raised) 90%, transparent);
    box-shadow: var(--shadow-soft);
}

.brand {
    position: relative;
    display: grid;
    align-items: center;
}

.brand-logo {
    grid-area: 1 / 1;
    transition: opacity 180ms ease;
}

.brand-logo-dark {
    opacity: 0;
}

html[data-theme="dark"] .brand-logo-light {
    opacity: 0;
}

html[data-theme="dark"] .brand-logo-dark {
    opacity: 1;
}

.site-nav {
    gap: 6px;
}

.site-nav a {
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 0.84rem;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
    background: var(--surface-low);
    transform: translateY(-1px);
}

.site-nav a.is-active {
    border-bottom: 0;
    background: var(--primary);
    color: var(--surface);
}

.header-actions {
    gap: 10px;
}

.theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--outline);
    border-radius: 50%;
    background: var(--surface-low);
    color: var(--ink);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: rotate(8deg) scale(1.04);
    background: var(--ochre);
    color: #fff;
}

.theme-icon {
    grid-area: 1 / 1;
    font-size: 1rem;
    transition: opacity 180ms ease, transform 220ms ease;
}

.theme-icon-moon,
html[data-theme="dark"] .theme-icon-sun {
    opacity: 0;
    transform: rotate(-45deg) scale(0.6);
}

html[data-theme="dark"] .theme-icon-moon {
    opacity: 1;
    transform: none;
}

.header-cta,
.button,
.footer-button,
.contact-form button,
.booking-actions button,
.booking-actions [type="submit"],
.card-actions button {
    border-radius: 999px;
    box-shadow: none;
}

.hero-content {
    width: min(940px, calc(100% - 32px));
}

.hero h1 {
    max-width: 920px;
    margin-inline: auto;
    text-wrap: balance;
}

.hero-content>p:not(.eyebrow) {
    max-width: 760px;
    margin-inline: auto;
}

.journey-path {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
    gap: clamp(28px, 5vw, 72px);
    width: min(1180px, calc(100% - 40px));
    margin: -52px auto 40px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.journey-path-intro h2 {
    margin: 8px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.journey-path-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.journey-path-steps a {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 170px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    padding: 20px;
    background: color-mix(in srgb, var(--surface-low) 76%, transparent);
    color: var(--ink);
    text-decoration: none;
    transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.journey-path-steps a:hover,
.journey-path-steps a:focus-visible {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--ochre) 58%, var(--outline));
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
}

.journey-path-steps span {
    color: var(--ochre);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.journey-path-steps strong {
    font-family: var(--serif);
    font-size: 1.12rem;
    line-height: 1.25;
}

.journey-path-steps small {
    color: var(--muted);
    line-height: 1.55;
}

.section,
.page-hero {
    position: relative;
}

.section-heading h2,
.stack>h2,
.final-cta h2 {
    text-wrap: balance;
}

.retreat-card,
.post-card,
.image-card,
.retreat-context-card,
.testimonial-card,
.notice-panel,
.booking-summary,
.booking-form,
.contact-form,
.team-card,
.value-card,
.commitment-card {
    border-color: var(--outline);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.retreat-card:hover,
.post-card:hover,
.image-card:hover,
.retreat-context-card:hover,
.team-card:hover {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--ochre) 42%, var(--outline));
    box-shadow: var(--shadow);
}

.retreat-card img,
.post-card img,
.image-card img,
.team-card img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.rounded-image {
    border-radius: var(--radius-md);
}

.ceremony-details,
.teacher-bio {
    border-color: var(--outline);
    border-radius: var(--radius-sm);
    background: var(--surface-low);
}

.site-modal {
    width: min(720px, calc(100% - 32px));
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.site-modal::backdrop {
    background: rgba(3, 12, 7, 0.72);
    backdrop-filter: blur(8px);
}

input,
select,
textarea {
    border-color: var(--outline);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    color: var(--ink);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--ochre);
    box-shadow: 0 0 0 4px var(--soft-glow);
}

.option-card {
    border-color: var(--outline);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
}

.option-card:has(input:checked) {
    border-color: var(--ochre);
    background: var(--soft-glow);
    box-shadow: 0 0 0 3px var(--soft-glow);
}

.site-footer {
    background:
        radial-gradient(circle at 12% 20%, rgba(213, 168, 94, 0.11), transparent 28%),
        #06150d;
}

.whatsapp-float {
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: #25d366;
    box-shadow: 0 16px 40px rgba(3, 57, 29, 0.26);
}

.whatsapp-float img {
    width: 29px;
    height: 29px;
}

html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .band,
html[data-theme="dark"] .filter-bar,
html[data-theme="dark"] .admin-content {
    background-color: var(--surface-low);
}

html[data-theme="dark"] .button-primary {
    background: var(--ochre);
    color: #151007;
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .header-cta,
html[data-theme="dark"] .footer-button {
    background: #d9eadf;
    color: #07150d;
}

html[data-theme="dark"] .button-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(4, 18, 11, 0.7);
    color: #fff;
}

html[data-theme="dark"] .form-alert.success {
    background: rgba(48, 112, 72, 0.22);
    color: #c5efd2;
}

html[data-theme="dark"] .form-alert.error {
    background: rgba(137, 56, 48, 0.22);
    color: #ffc8c1;
}

@media (max-width: 1180px) {
    .site-nav {
        gap: 2px;
    }

    .site-nav a {
        padding-inline: 8px;
        font-size: 0.78rem;
    }

    .header-socials {
        display: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        top: 8px;
        left: 8px;
        right: 8px;
        border-radius: 15px;
    }

    .site-nav {
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        border-radius: var(--radius-md);
        background: var(--surface-raised);
        backdrop-filter: blur(20px);
    }

    .site-nav a.is-active {
        color: var(--surface);
    }

    .journey-path {
        grid-template-columns: 1fr;
        margin-top: -36px;
    }
}

@media (max-width: 720px) {
    .journey-path {
        width: calc(100% - 24px);
        padding: 24px;
        border-radius: 24px;
    }

    .journey-path-steps {
        grid-template-columns: 1fr;
    }

    .journey-path-steps a {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .site-header {
        gap: 7px;
        padding: 9px 10px;
    }

    .brand img {
        height: 32px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .header-cta {
        max-width: 86px;
        min-height: 36px;
        padding: 7px 8px;
        font-size: 0.61rem;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    .journey-path {
        margin-top: -26px;
    }
}

/* Final cascade: preserve refined components after the theme layer. */
.site-header {
    background: color-mix(in srgb, var(--surface-raised) 58%, transparent);
    border-color: color-mix(in srgb, var(--outline) 68%, transparent);
    box-shadow: 0 12px 34px rgba(6, 31, 19, 0.08);
    backdrop-filter: blur(15px) saturate(125%);
}

.site-header.is-scrolled {
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    border-color: var(--outline);
    box-shadow: 0 18px 48px rgba(6, 31, 19, 0.15);
    backdrop-filter: blur(22px) saturate(145%);
}

html[data-theme="dark"] .site-header {
    background: color-mix(in srgb, #09130e 62%, transparent);
}

html[data-theme="dark"] .site-header.is-scrolled {
    background: color-mix(in srgb, #09130e 95%, transparent);
}

.ceremony-details,
.teacher-bio {
    overflow: hidden;
    border-color: color-mix(in srgb, var(--outline) 80%, transparent);
    background: color-mix(in srgb, var(--surface-low) 82%, var(--surface-raised));
}

.ceremony-details:hover,
.teacher-bio:hover,
.ceremony-details[open],
.teacher-bio[open] {
    border-color: color-mix(in srgb, var(--ochre) 35%, var(--outline));
    background: color-mix(in srgb, var(--surface-low) 62%, var(--surface-raised));
}

.option-card {
    background: color-mix(in srgb, var(--surface-low) 58%, transparent);
}

.option-card:has(input:checked) {
    border-color: var(--ochre);
    background: color-mix(in srgb, var(--ochre) 12%, var(--surface-raised));
}

.site-modal {
    overflow: hidden;
    padding: 0;
}

.site-modal-panel {
    overflow: hidden;
    background: var(--surface-raised);
}

/* Balanced content cards and reusable reading dialogs */
.ceremony-grid,
.team-grid {
    align-items: stretch;
}

.ceremony-feature,
.team-card {
    height: 100%;
    background: var(--surface-raised);
    color: var(--ink);
}

.ceremony-feature .stack {
    grid-template-rows: auto auto auto minmax(7.2rem, auto) auto auto;
    height: 100%;
}

.ceremony-body-preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: var(--muted);
    line-height: 1.65;
}

.ceremony-card-actions {
    margin-top: auto;
}

.content-more {
    appearance: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    padding: 4px 0;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: left;
}

.content-more:hover,
.content-more:focus-visible {
    color: var(--ochre);
}

.therapeutic-modal-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 64px;
    margin-top: 4px;
    border: 1px solid color-mix(in srgb, var(--outline) 82%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-low) 80%, var(--surface-raised));
    padding: 12px 16px 12px 18px;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: left;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.therapeutic-modal-trigger:hover,
.therapeutic-modal-trigger:focus-visible {
    transform: translateY(-2px);
    border-color: var(--ochre);
    background: color-mix(in srgb, var(--ochre) 10%, var(--surface-raised));
}

.therapeutic-modal-trigger span:last-child {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1.2rem;
}

.modal-reading-copy {
    display: grid;
    gap: 16px;
    color: var(--muted);
    line-height: 1.75;
}

.modal-reading-copy p {
    margin: 0;
}

.modal-therapy-grid {
    margin: 0;
}

.team-card>div {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.team-card .content-more {
    margin-top: auto;
}

html[data-theme="dark"] .ceremony-feature,
html[data-theme="dark"] .team-card {
    border-color: rgba(217, 234, 223, 0.2);
    background: #10251a;
}

html[data-theme="dark"] .ceremony-feature h2,
html[data-theme="dark"] .team-card h2,
html[data-theme="dark"] .ceremony-feature .eyebrow,
html[data-theme="dark"] .team-card .eyebrow {
    color: #d9eadf;
}

html[data-theme="dark"] .ceremony-feature p,
html[data-theme="dark"] .team-card p,
html[data-theme="dark"] .modal-reading-copy {
    color: #b8c9bd;
}

html[data-theme="dark"] .therapeutic-modal-trigger {
    border-color: rgba(217, 234, 223, 0.22);
    background: rgba(217, 234, 223, 0.07);
    color: #d9eadf;
}

html[data-theme="dark"] .site-modal-header {
    border-color: rgba(217, 234, 223, 0.18);
    background: #10251a;
}

html[data-theme="dark"] .site-modal-close {
    border-color: rgba(217, 234, 223, 0.35);
    background: rgba(217, 234, 223, 0.08);
    color: #d9eadf;
}

html[data-theme="dark"] .ceremony-detail-grid>div {
    border-color: rgba(217, 234, 223, 0.18);
    background: rgba(217, 234, 223, 0.06);
}

html[data-theme="dark"] .header-socials img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 1180px) {
    .header-socials {
        display: flex;
    }

    .header-socials a {
        width: 30px;
        height: 30px;
    }

    .header-socials img {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 640px) {
    .header-actions {
        gap: 5px;
    }

    .header-socials {
        gap: 4px;
    }

    .header-socials a {
        width: 27px;
        height: 27px;
    }

    .header-socials img {
        width: 13px;
        height: 13px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .header-cta {
        max-width: 78px;
        padding-inline: 6px;
        font-size: 0.56rem;
    }

    .ceremony-feature .stack {
        grid-template-rows: auto;
    }
}

@media (max-width: 420px) {
    .brand img {
        height: 27px;
    }

    .header-socials a {
        width: 25px;
        height: 25px;
    }

    .theme-toggle {
        width: 30px;
        height: 30px;
    }

    .header-cta {
        max-width: 70px;
        font-size: 0.52rem;
    }
}

/* Dark-theme contrast audit and unified Healing discovery action */
.social-facebook-glyph {
    display: grid;
    place-items: end center;
    width: 17px;
    height: 20px;
    overflow: hidden;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1;
}

html[data-theme="dark"] .social-facebook-glyph {
    color: #f1f6f2;
}

.ceremony-feature .stack {
    grid-template-rows: auto auto auto minmax(7.2rem, auto) auto;
}

.ceremony-discover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 60px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ochre) 48%, var(--outline));
    border-radius: 14px;
    background: linear-gradient(110deg, color-mix(in srgb, var(--ochre) 10%, var(--surface-raised)), color-mix(in srgb, var(--surface-low) 82%, var(--surface-raised)));
    padding: 14px 16px 14px 19px;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: left;
    box-shadow: 0 10px 24px rgba(9, 46, 28, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    animation: discover-breathe 3.8s ease-in-out infinite;
}

.ceremony-discover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 650ms ease;
}

.ceremony-discover:hover,
.ceremony-discover:focus-visible {
    transform: translateY(-3px);
    border-color: var(--ochre);
    box-shadow: 0 16px 32px rgba(9, 46, 28, 0.14);
}

.ceremony-discover:hover::before,
.ceremony-discover:focus-visible::before {
    transform: translateX(120%);
}

.ceremony-discover span:last-child {
    position: relative;
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--surface-raised);
    font-size: 1.15rem;
    transition: transform 180ms ease;
}

.ceremony-discover:hover span:last-child,
.ceremony-discover:focus-visible span:last-child {
    transform: translateX(3px);
}

.modal-section-heading {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--outline);
}

.modal-section-heading p,
.modal-section-heading h3 {
    margin: 0;
}

.modal-section-heading h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
}

html[data-theme="dark"] :is(.news-feature, .retreat-card, .post-card, .image-card, .testimonial-card, .retreat-context-card, .notice-panel, .booking-summary, .booking-form, .contact-form, .value-card, .commitment-card, .safety-note, .option-card, .admin-login) {
    border-color: rgba(217, 234, 223, 0.2);
    background: #10251a;
    color: #e2ede5;
}

html[data-theme="dark"] :is(.news-feature, .retreat-card, .post-card, .image-card, .testimonial-card, .retreat-context-card, .notice-panel, .booking-summary, .booking-form, .contact-form, .value-card, .commitment-card, .safety-note, .option-card) :is(p, small, li, figcaption, label) {
    color: #b8c9bd;
}

html[data-theme="dark"] :is(.news-feature, .retreat-card, .post-card, .image-card, .testimonial-card, .retreat-context-card, .notice-panel, .booking-summary, .booking-form, .contact-form, .value-card, .commitment-card, .safety-note, .option-card) :is(h2, h3, strong, span:not(.external-mark)) {
    color: #e2ede5;
}

html[data-theme="dark"] :is(.filter-bar button, .contact-form button, .booking-actions button, .booking-actions [type="submit"], .card-actions button) {
    border-color: rgba(217, 234, 223, 0.25);
    background: #d9eadf;
    color: #07150d;
}

html[data-theme="dark"] .news-feature span {
    color: #d5a85e;
}

html[data-theme="dark"] .ceremony-discover {
    border-color: rgba(213, 168, 94, 0.55);
    background: linear-gradient(110deg, rgba(213, 168, 94, 0.14), rgba(217, 234, 223, 0.07));
    color: #e2ede5;
}

html[data-theme="dark"] .ceremony-discover span:last-child {
    background: #d5a85e;
    color: #09130e;
}

html[data-theme="dark"] .modal-section-heading {
    border-color: rgba(217, 234, 223, 0.2);
}

html[data-theme="dark"] .modal-section-heading h3 {
    color: #e2ede5;
}

@keyframes discover-breathe {

    0%,
    100% {
        box-shadow: 0 10px 24px rgba(9, 46, 28, 0.07);
    }

    50% {
        box-shadow: 0 12px 30px color-mix(in srgb, var(--ochre) 18%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ceremony-discover {
        animation: none;
    }
}

/* Quiet inline reading treatment for Healing cards */
.ceremony-excerpt {
    position: relative;
    display: grid;
    align-content: start;
    height: 8.9rem;
    min-height: 8.9rem;
}

.ceremony-excerpt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    height: 38px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--surface-raised));
}

.ceremony-excerpt.is-expanded::after {
    display: none;
}

.ceremony-excerpt .ceremony-body-preview {
    display: block;
    max-height: 7.2rem;
    overflow: hidden;
    -webkit-line-clamp: unset;
    transition: max-height 260ms ease;
}

.ceremony-excerpt.is-expanded .ceremony-body-preview {
    max-height: 7.2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--ochre) 65%, var(--outline)) transparent;
    padding-right: 10px;
}

.ceremony-more {
    justify-self: end;
    position: relative;
    z-index: 1;
    margin-top: 5px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--ochre) 70%, transparent);
    background: transparent;
    padding: 3px 1px;
    color: var(--ochre);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ceremony-more:hover,
.ceremony-more:focus-visible {
    color: var(--primary);
    border-color: currentColor;
}

.ceremony-discover {
    min-height: 48px;
    border-color: color-mix(in srgb, var(--outline) 78%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface-low) 46%, transparent);
    padding: 9px 11px 9px 15px;
    box-shadow: none;
    font-size: 0.86rem;
    animation: discovery-soft 4.8s ease-in-out infinite;
}

.ceremony-discover::before {
    display: none;
}

.ceremony-discover:hover,
.ceremony-discover:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--ochre) 62%, var(--outline));
    background: color-mix(in srgb, var(--ochre) 7%, var(--surface-low));
    box-shadow: 0 8px 20px rgba(9, 46, 28, 0.08);
}

.ceremony-discover span:last-child {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    font-size: 0.95rem;
    animation: discovery-open 3.4s ease-in-out infinite;
}

html[data-theme="dark"] .ceremony-excerpt::after {
    background: linear-gradient(to bottom, transparent, #10251a);
}

html[data-theme="dark"] .ceremony-discover {
    border-color: rgba(217, 234, 223, 0.18);
    background: rgba(217, 234, 223, 0.045);
    color: #d9eadf;
}

html[data-theme="dark"] .ceremony-discover span:last-child {
    background: rgba(213, 168, 94, 0.13);
    color: #d5a85e;
}

@keyframes discovery-soft {

    0%,
    100% {
        border-color: color-mix(in srgb, var(--outline) 72%, transparent);
    }

    50% {
        border-color: color-mix(in srgb, var(--ochre) 35%, var(--outline));
    }
}

@keyframes discovery-open {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {

    .ceremony-discover,
    .ceremony-discover span:last-child {
        animation: none;
    }
}

/* Header proximity, taller inline reading, centered mobile nav, modal entrance */
.ceremony-excerpt {
    height: 11rem;
    min-height: 11rem;
}

.ceremony-excerpt .ceremony-body-preview,
.ceremony-excerpt.is-expanded .ceremony-body-preview {
    max-height: 9.25rem;
}

.ceremony-excerpt::after {
    bottom: 30px;
}

.site-header {
    background: color-mix(in srgb, var(--surface-raised) 42%, transparent);
    border-color: color-mix(in srgb, var(--outline) 54%, transparent);
    box-shadow: 0 10px 28px rgba(6, 31, 19, 0.055);
}

.site-header.is-scrolled {
    background: color-mix(in srgb, var(--surface-raised) 76%, transparent);
}

.site-header:hover,
.site-header.is-proximate,
.site-header:focus-within,
.site-header:has(.site-nav.is-open) {
    background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
    border-color: var(--outline);
    box-shadow: 0 18px 48px rgba(6, 31, 19, 0.15);
    backdrop-filter: blur(22px) saturate(145%);
}

html[data-theme="dark"] .site-header {
    background: color-mix(in srgb, #09130e 44%, transparent);
}

html[data-theme="dark"] .site-header.is-scrolled {
    background: color-mix(in srgb, #09130e 78%, transparent);
}

html[data-theme="dark"] .site-header:hover,
html[data-theme="dark"] .site-header.is-proximate,
html[data-theme="dark"] .site-header:focus-within,
html[data-theme="dark"] .site-header:has(.site-nav.is-open) {
    background: color-mix(in srgb, #09130e 84%, transparent);
}

.site-modal[open] {
    animation: modal-backdrop-in 220ms ease-out both;
}

.site-modal[open] .site-modal-panel {
    transform-origin: center 20%;
    animation: modal-panel-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-backdrop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modal-panel-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }

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

@media (max-width: 980px) {
    .site-nav {
        justify-items: center;
        text-align: center;
    }

    .site-nav a {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-modal[open],
    .site-modal[open] .site-modal-panel {
        animation: none;
    }
}

/* Lighter resting header and viewport-centered dialogs */
.site-header {
    background: color-mix(in srgb, var(--surface-raised) 20%, transparent);
    border-color: color-mix(in srgb, var(--outline) 34%, transparent);
    box-shadow: 0 8px 24px rgba(6, 31, 19, 0.04);
}

.site-header.is-scrolled {
    background: color-mix(in srgb, var(--surface-raised) 56%, transparent);
}

.site-header .site-nav a {
    color: #07150d;
    text-shadow: none;
}

.site-header .site-nav a.is-active {
    color: #f7fbf8;
    text-shadow: none;
}

.site-header .header-socials a,
.site-header .theme-toggle {
    width: 2.125rem;
    height: 2.125rem;
    border-color: var(--outline);
    background: var(--surface-low);
    color: #07150d;
}

.site-header .header-socials img {
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
}

.site-header .social-facebook-glyph {
    color: #07150d;
}

.site-header .header-socials a:hover,
.site-header .header-socials a:focus-visible {
    border-color: rgba(154, 109, 43, 0.72);
    background: rgba(179, 132, 59, 0.18);
    color: #07150d;
}

html[data-theme="dark"] .site-header {
    background: color-mix(in srgb, #09130e 10%, transparent);
}

html[data-theme="dark"] .site-header.is-scrolled {
    background: color-mix(in srgb, #09130e 58%, transparent);
}

html[data-theme="dark"] .site-header .site-nav a {
    color: #eef6f0;
    text-shadow: none;
}

html[data-theme="dark"] .site-header .site-nav a.is-active {
    color: #07150d;
    text-shadow: none;
}

html[data-theme="dark"] .site-header .header-socials a {
    border-color: var(--outline);
    background: var(--surface-low);
    color: #f1f6f2;
}

html[data-theme="dark"] .site-header .social-facebook-glyph {
    color: #f1f6f2;
}

html[data-theme="dark"] .site-header .theme-toggle {
    color: #ffffff;
}

@media (max-width: 1180px) {

    .site-header .header-socials a,
    .site-header .theme-toggle {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 640px) {

    .site-header .header-socials a,
    .site-header .theme-toggle {
        width: 1.875rem;
        height: 1.875rem;
    }
}

@media (max-width: 420px) {

    .site-header .header-socials a,
    .site-header .theme-toggle {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 640px) {
    .booking-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
    }

    .booking-actions button,
    .booking-actions [type="submit"] {
        flex: 0 1 auto;
        width: auto;
        min-width: 6.5rem;
    }
}

.site-modal {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(760px, calc(100vw - 32px));
    max-width: none;
    max-height: min(820px, calc(100dvh - 32px));
    margin: 0;
    transform: translate(-50%, -50%);
}

.site-modal-panel {
    width: 100%;
    max-height: min(820px, calc(100dvh - 32px));
    border-radius: inherit;
}

@media (max-width: 640px) {
    .site-modal {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 20px;
    }

    .site-modal-panel {
        max-height: calc(100dvh - 20px);
    }

    .site-modal-header {
        align-items: center;
        gap: 14px;
        padding: 18px 18px 16px;
    }

    .site-modal-header h2 {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
        line-height: 1.08;
    }

    .site-modal-close {
        width: 38px;
        height: 38px;
    }

    .site-modal-body {
        gap: 16px;
        padding: 18px;
    }

    .modal-therapy-grid {
        padding: 0;
    }

    .journey-path {
        margin: 24px auto 34px;
    }

    .hero {
        padding-bottom: 24px;
    }
}

/* Solid public navigation and persistent modal actions */
.site-header,
.site-header.is-scrolled,
.site-header:hover,
.site-header.is-proximate,
.site-header:focus-within,
.site-header:has(.site-nav.is-open) {
    background: #fbf9f6;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-scrolled,
html[data-theme="dark"] .site-header:hover,
html[data-theme="dark"] .site-header.is-proximate,
html[data-theme="dark"] .site-header:focus-within,
html[data-theme="dark"] .site-header:has(.site-nav.is-open) {
    background: #09130e;
}

.site-modal-actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    border-top: 1px solid var(--outline);
    background: var(--surface-raised);
    padding: 0.85rem 1rem 1rem;
}

.site-modal>.site-modal-panel {
    height: min(51.25rem, calc(100dvh - 2rem));
    min-height: 0;
    max-height: 100%;
}

.site-modal-actions .modal-cta {
    position: static;
    justify-self: auto;
    margin: 0;
}

@media (max-width: 640px) {
    .site-modal>.site-modal-panel {
        height: calc(100dvh - 1.25rem);
    }

    .site-modal-body {
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .site-modal-actions {
        padding: 0.75rem 0.875rem 0.875rem;
    }
}
/* Journal publishing controls and public article layout */
.admin-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.admin-panel-heading h2 {
    margin: 0;
}

.field-help {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.field-help-trigger {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--primary);
    padding: 0;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
}

.field-help-trigger:hover,
.field-help-trigger:focus-visible {
    border-color: var(--ochre);
    outline: none;
}

.field-help-tooltip {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.55rem);
    left: 50%;
    display: grid;
    gap: 0.25rem;
    width: max-content;
    max-width: min(18rem, calc(100vw - 3rem));
    border: 1px solid var(--outline);
    border-radius: 0.55rem;
    background: var(--surface-raised);
    box-shadow: 0 16px 36px rgba(6, 31, 19, 0.16);
    padding: 0.8rem 0.9rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.35rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.field-help-tooltip strong {
    color: var(--primary);
    font-size: 0.8rem;
}

.field-help:hover .field-help-tooltip,
.field-help:focus-within .field-help-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.field-note {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
}

.field-note.is-error {
    color: #9f2f2f;
    font-weight: 700;
}

.admin-preview {
    aspect-ratio: 16 / 9;
    max-height: 15rem;
    object-fit: cover;
}

.admin-post-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.9rem;
}

.admin-post-actions form {
    margin: 0;
}

.admin-delete-button {
    border: 1px solid rgba(159, 47, 47, 0.34);
    border-radius: 4px;
    background: rgba(159, 47, 47, 0.07);
    color: #8f2727;
    padding: 0.55rem 0.75rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-delete-button:hover,
.admin-delete-button:focus-visible {
    border-color: #8f2727;
    background: #8f2727;
    color: #fff;
    outline: none;
}

.article-journal {
    width: min(1240px, calc(100% - 40px));
    padding-top: clamp(9rem, 11vw, 10.25rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.article-journal .article-header {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.article-journal .article-heading {
    width: min(980px, 100%);
    margin: 0 auto;
}

.article-journal .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    line-height: 1.5;
    text-transform: uppercase;
}

.article-journal .article-category {
    color: var(--ochre);
}

.article-journal h1 {
    color: var(--primary);
    font-size: clamp(3rem, 6.5vw, 5.7rem);
    line-height: 0.98;
}

.article-journal .article-excerpt {
    max-width: 900px;
    margin: 1.6rem 0 0;
    color: var(--ink);
    font-size: clamp(1.02rem, 1.7vw, 1.16rem);
    line-height: 1.72;
}

.article-journal .article-feature {
    width: min(1040px, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-low);
    box-shadow: 0 18px 48px rgba(6, 31, 19, 0.08);
}

.article-journal .article-feature img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.article-journal .article-body {
    width: min(760px, 100%);
    margin: clamp(3rem, 6vw, 4.5rem) auto;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.45vw, 1.12rem);
    line-height: 1.82;
}

.article-journal .article-body p {
    margin: 0;
}

.article-journal .article-body p + p {
    margin-top: 1.55em;
}

.article-journal .article-cta {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 2.25rem);
}

.article-journal .article-cta h2 {
    margin-top: 0;
}

html[data-theme="dark"] .field-help-tooltip {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .admin-delete-button {
    color: #efaaaa;
    border-color: rgba(239, 170, 170, 0.42);
    background: rgba(159, 47, 47, 0.13);
}

@media (max-width: 760px) {
    .field-help-tooltip {
        left: 0;
        transform: translate(0, 0.35rem);
    }

    .field-help:hover .field-help-tooltip,
    .field-help:focus-within .field-help-tooltip {
        transform: translate(0, 0);
    }

    .article-journal {
        width: min(100% - 28px, 1240px);
        padding-top: 7.75rem;
    }

    .article-journal .article-header {
        gap: 1.65rem;
    }

    .article-journal .article-meta {
        margin-bottom: 0.8rem;
        font-size: 0.7rem;
    }

    .article-journal h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .article-journal .article-excerpt {
        margin-top: 1.15rem;
        line-height: 1.65;
    }

    .article-journal .article-feature {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .article-journal .article-body {
        margin: 2.75rem auto;
        font-size: 1rem;
        line-height: 1.78;
    }
}


/* Journal alignment refinements: editorial rhythm + featured-image form */
.featured-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.featured-image-grid > label {
    align-content: start;
}

.featured-image-grid .featured-upload-field,
.featured-image-grid .featured-alt-field {
    grid-row: 1;
}

.featured-image-grid .featured-existing-field {
    grid-column: 1;
    grid-row: 2;
}

.featured-image-grid .featured-upload-field > input[type="file"],
.featured-image-grid .featured-alt-field > input[type="text"] {
    box-sizing: border-box;
    min-height: 3.75rem;
}

.featured-image-grid .featured-upload-field > input[type="file"] {
    padding: 0.65rem 0.75rem;
}

.featured-image-grid .featured-upload-field > input[type="file"]::file-selector-button {
    min-height: 2.2rem;
    margin-right: 0.75rem;
    border: 1px solid var(--outline);
    border-radius: 4px;
    background: var(--surface-low);
    padding: 0.4rem 0.7rem;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.article-journal {
    width: min(1040px, calc(100% - 40px));
    margin-inline: auto;
}

.article-journal .article-header,
.article-journal .article-heading,
.article-journal .article-feature {
    width: 100%;
    margin-inline: 0;
}

.article-journal .article-heading {
    max-width: none;
}

.article-journal .article-meta {
    position: relative;
    z-index: 1;
}

.article-journal .article-excerpt {
    width: 100%;
    max-width: none;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.article-journal .article-body,
.article-journal .article-cta {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.article-journal .article-body {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.article-journal .article-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    text-align: center;
    padding: clamp(1.75rem, 3.2vw, 2.5rem);
}

.article-journal .article-cta h2 {
    margin: 0;
}

.article-journal .article-cta p {
    max-width: 760px;
    margin: 0.8rem auto 1.35rem;
}

@media (max-width: 980px) {
    .article-journal {
        width: min(100% - 36px, 1040px);
    }

    .article-journal .article-body,
    .article-journal .article-cta {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .featured-image-grid {
        grid-template-columns: 1fr;
    }

    .featured-image-grid .featured-upload-field,
    .featured-image-grid .featured-alt-field,
    .featured-image-grid .featured-existing-field {
        grid-column: 1;
        grid-row: auto;
    }

    .featured-image-grid .featured-upload-field {
        order: 1;
    }

    .featured-image-grid .featured-alt-field {
        order: 2;
    }

    .featured-image-grid .featured-existing-field {
        order: 3;
    }

    .article-journal {
        width: min(100% - 28px, 1040px);
    }

    .article-journal .article-body,
    .article-journal .article-cta {
        width: 100%;
    }

    .article-journal .article-cta {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 420px) {
    .article-journal {
        width: min(100% - 22px, 1040px);
    }

    .article-journal .article-feature {
        border-radius: 8px;
    }

    .article-journal .article-body {
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .article-journal .article-cta {
        padding: 1.35rem 1rem;
    }
}

/* Journal discovery: related posts + topic navigation */
.article-journal .journal-related,
.article-journal .journal-explore {
    width: 100%;
    margin-inline: 0;
}

.article-journal .journal-related {
    margin-top: clamp(3.75rem, 7vw, 5.75rem);
}

.article-journal .journal-explore {
    margin-top: clamp(2.75rem, 5vw, 4rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    background: var(--surface-low);
}

.journal-section-heading {
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.journal-section-heading .eyebrow {
    margin-bottom: 0.55rem;
}

.journal-section-heading h2 {
    margin: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
}

.journal-section-heading > p:last-child:not(.eyebrow) {
    max-width: 720px;
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.journal-section-heading-compact {
    margin-bottom: 1.2rem;
}

.journal-section-heading-compact h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

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

.related-post-grid .post-card img {
    height: clamp(170px, 18vw, 210px);
}

.related-post-grid .post-card h3 {
    min-height: 0;
}

.related-post-grid .post-card > div > p:last-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.journal-topic-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.journal-topic-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--surface-raised);
    padding: 0.55rem 0.9rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.journal-topic-menu a:hover,
.journal-topic-menu a:focus-visible {
    transform: translateY(-1px);
    border-color: var(--ochre);
    color: var(--primary);
    outline: none;
}

.journal-topic-menu a.is-current,
.journal-topic-menu a[aria-current="page"] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--surface-raised);
}

.journal-filter {
    padding-top: 0;
    padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.journal-filter .journal-topic-menu {
    justify-content: center;
}

.journal-listing {
    padding-top: 0;
}

.journal-empty-state {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    background: var(--surface-low);
    text-align: center;
}

.journal-empty-state h2 {
    margin: 0.45rem 0 0.75rem;
    color: var(--primary);
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

.journal-empty-state > p:not(.eyebrow) {
    margin: 0 auto 1.4rem;
    color: var(--muted);
}

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

@media (max-width: 760px) {
    .article-journal .journal-related {
        margin-top: 3rem;
    }

    .article-journal .journal-explore {
        margin-top: 2.25rem;
        padding: 1.3rem 1.1rem;
    }

    .related-post-grid {
        grid-template-columns: 1fr;
    }

    .related-post-grid .post-card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .journal-filter .journal-topic-menu {
        justify-content: flex-start;
    }

    .journal-topic-menu {
        gap: 0.5rem;
    }

    .journal-topic-menu a {
        min-height: 2.4rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .article-journal .journal-explore {
        padding: 1.15rem 0.9rem;
    }

    .journal-topic-menu a {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Journal search and tighter listing layout */
.page-journal .page-hero.compact {
    padding-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
}

.page-hero + .journal-tools,
.journal-tools {
    padding-top: 0;
    padding-bottom: clamp(0.9rem, 1.8vw, 1.35rem);
}

.journal-tools {
    display: grid;
    gap: clamp(0.9rem, 1.7vw, 1.25rem);
}

.journal-search-field {
    width: 100%;
    max-width: none;
    margin: 0;
}

.journal-search-field > label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.journal-search-control {
    position: relative;
    width: 100%;
}

.journal-search-control svg {
    position: absolute;
    top: 50%;
    left: 1rem;
    width: 1.1rem;
    height: 1.1rem;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.journal-search-control input {
    width: 100%;
    min-height: 3.15rem;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--surface-raised);
    padding: 0.75rem 1rem 0.75rem 2.85rem;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.journal-search-control input::placeholder {
    color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.journal-search-control input:focus {
    border-color: var(--ochre);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ochre) 16%, transparent);
    background: var(--surface-raised);
}

.journal-tools .journal-filter {
    width: 100%;
    margin: 0;
    padding: 0;
}

.journal-tools .journal-topic-menu,
.journal-filter .journal-topic-menu {
    justify-content: flex-start;
}

.journal-search-status {
    min-height: 1.15rem;
    margin: -0.2rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.journal-search-status:empty {
    display: none;
}

.journal-listing {
    padding-top: 0;
}

.journal-listing .post-grid {
    align-items: stretch;
    margin-top: 0;
}

.journal-search-item {
    min-width: 0;
}

.journal-search-item .post-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.journal-search-item .post-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.related-post-grid {
    align-items: stretch;
}

.related-post-grid .post-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.related-post-grid .post-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.journal-search-empty {
    margin-top: 0;
}

@media (max-width: 760px) {
    .page-journal .page-hero.compact {
        padding-bottom: 1.35rem;
    }

    .journal-tools {
        gap: 0.85rem;
        padding-bottom: 0.9rem;
    }

    .journal-search-field {
        width: 100%;
    }

    .journal-search-control input {
        min-height: 3rem;
        font-size: 1rem;
    }

    .journal-search-status {
        font-size: 0.78rem;
    }
}
