:root {
    --night: #1d2039;
    --ink: #292235;
    --sand: #f4d6a0;
    --paper: #fff7e7;
    --sun: #e96841;
    --plum: #765076;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
}

main {
    overflow: hidden;
}

.hero {
    min-height: 760px;
    padding: 6rem max(7vw, 1.5rem) 3rem;
    position: relative;
    color: var(--paper);
    background: var(--night);
}

.eyebrow,
.post-meta {
    margin: 0 0 0.7rem;
    color: var(--sun);
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 600px;
    margin-bottom: 1.1rem;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.77;
    font-weight: 400;
    letter-spacing: -0.07em;
    position: relative;
    z-index: 2;
}

.intro {
    max-width: 330px;
    font-size: 1.15rem;
    line-height: 1.45;
    position: relative;
    z-index: 2;
}

.playa {
    width: min(54vw, 700px);
    height: 480px;
    position: absolute;
    right: 3vw;
    bottom: 0;
    perspective: 900px;
}

.ground {
    width: 125%;
    height: 330px;
    position: absolute;
    bottom: -160px;
    left: -12%;
    background: var(--sand);
    transform: rotateX(66deg) rotateZ(-16deg);
}

.mountain {
    width: 0;
    height: 0;
    position: absolute;
    bottom: 200px;
    border-right: 180px solid transparent;
    border-bottom: 260px solid var(--plum);
    border-left: 180px solid transparent;
    opacity: 0.8;
}

.mountain-left {
    left: -20%;
    transform: scaleX(1.4);
}

.mountain-right {
    right: -16%;
    border-bottom-color: #47506f;
    transform: scale(0.7);
}

.city {
    width: 185px;
    height: 100px;
    position: absolute;
    bottom: 68px;
    border-top: 3px solid rgb(41 34 53 / 42%);
    border-bottom: 3px solid rgb(41 34 53 / 42%);
    opacity: 0.78;
}

.city::before,
.city::after {
    content: "";
    width: 70px;
    height: 50px;
    position: absolute;
    top: 18px;
    border: 2px solid rgb(41 34 53 / 45%);
}

.city::before {
    left: 12px;
    transform: skewY(-28deg);
}

.city::after {
    right: 12px;
    transform: skewY(28deg);
}

.city-left {
    left: 5%;
    transform: rotateZ(-12deg);
}

.city-right {
    right: 5%;
    transform: rotateZ(12deg);
}

.man {
    --arm-angle: 20deg;
    width: 54px;
    height: 230px;
    position: absolute;
    z-index: 2;
    bottom: 48px;
    left: calc(50% - 27px);
    transform: translateZ(15px);
}

.head,
.body,
.arm,
.leg {
    position: absolute;
    background: var(--ink);
    border-radius: 99px;
}

.head {
    width: 40px;
    height: 40px;
    top: 0;
    left: 7px;
}

.body {
    width: 16px;
    height: 88px;
    top: 38px;
    left: 19px;
}

.arm {
    width: 12px;
    height: 84px;
    top: 45px;
    transform-origin: 50% 6px;
}

.arm-left {
    left: 11px;
    transform: rotate(calc(-1 * var(--arm-angle)));
}

.arm-right {
    right: 11px;
    transform: rotate(var(--arm-angle));
}

.leg {
    width: 13px;
    height: 91px;
    top: 116px;
}

.leg-left {
    left: 16px;
    transform: rotate(9deg);
}

.leg-right {
    right: 16px;
    transform: rotate(-9deg);
}

.flame {
    display: none;
    width: 82px;
    height: 135px;
    position: absolute;
    z-index: -1;
    top: -35px;
    left: -14px;
    background: radial-gradient(ellipse at bottom, #ffe06a 0 17%, #f46538 38%, transparent 70%);
    filter: blur(2px);
    animation: flicker 0.18s infinite alternate;
}

.burning .flame {
    display: block;
}

.countdown {
    position: absolute;
    z-index: 3;
    right: max(7vw, 1.5rem);
    bottom: 1.7rem;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem max(7vw, 1.5rem);
}

.section-heading {
    margin-bottom: 3.5rem;
}

h2 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.06em;
}

.post {
    padding: 1.8rem 0;
    /*border-top: 1px solid #d9bea3;*/
}

.post h3 {
    margin-bottom: 0.6rem;
    font-size: 1.75rem;
    font-weight: 400;
}

.post-featured {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    padding: 2rem 0 3.3rem;
}

.photo-stack {
    height: 156px;
    position: relative;
}

.photo {
    width: 136px;
    height: 104px;
    position: absolute;
    border: 7px solid var(--paper);
    box-shadow: 0 5px 18px rgb(41 34 53 / 18%);
}

.photo-one {
    top: 22px;
    left: 5px;
    background: #e47d51;
    transform: rotate(-10deg);
}

.photo-two {
    top: 8px;
    left: 45px;
    background: #83779f;
    transform: rotate(4deg);
}

.photo-three {
    top: 35px;
    left: 70px;
    background: #e4b36a;
    transform: rotate(14deg);
}

.read-more {
    display: inline-block;
    margin-top: 1.3rem;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration-color: var(--sun);
    text-underline-offset: 0.35em;
    text-transform: uppercase;
}

footer {
    padding: 2rem;
    color: var(--paper);
    background: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
}

@keyframes flicker {
    to {
        opacity: 0.78;
        transform: scaleX(0.84) translateY(-5px);
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 690px;
    }

    .playa {
        width: 100%;
        right: -10%;
        transform: scale(0.76);
        transform-origin: bottom right;
    }

    .post-featured {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .photo-stack {
        width: 220px;
    }
}

/* The Way to Burn: the title is a painted object resting on the playa. */
.hero {
    min-height: 840px;
    isolation: isolate;
    background: radial-gradient(circle at 70% 18%, rgb(230 113 63 / 35%), transparent 20rem),
    linear-gradient(160deg, #1b1d39 0 45%, #3b3658 75%, #c77859 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(circle at 15% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 14%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 45% 8%, #fff 0 1px, transparent 1.5px);
    background-size: 13rem 12rem, 18rem 15rem, 11rem 14rem;
}

.hero-kicker,
.hero > .intro,
.countdown,
.title-plane {
    z-index: 4;
}

.hero > .intro {
    margin-top: 2.2rem;
    color: rgb(255 247 231 / 88%);
}

.playa {
    z-index: 1;
    width: min(66vw, 860px);
    right: -1vw;
}

.title-plane {
    width: min(73vw, 820px);
    position: absolute;
    bottom: 2.5rem;
    left: max(4vw, 1rem);
    transform: perspective(980px) rotateX(52deg) rotateZ(-7deg) skewX(-7deg);
    transform-origin: 8% 100%;
}

.hero-title {
    width: fit-content;
    max-width: none;
    margin: 0;
    color: #ffdd72;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(5.1rem, 12vw, 10.5rem);
    font-style: italic;
    line-height: 0.58;
    letter-spacing: -0.075em;
    text-transform: uppercase;
    text-shadow: -0.025em 0.035em 0 #682b4f,
    -0.05em 0.07em 0 #3e284d,
    -0.075em 0.105em 0 rgb(19 21 43 / 70%),
    0 0.14em 0.18em rgb(15 14 26 / 55%);
}

.hero-title span {
    display: block;
}

.hero-title-way {
    margin-left: 0.17em;
    color: #ffe47f;
    font-size: 0.55em;
    letter-spacing: 0.01em;
}

.hero-title-burn {
    margin-left: 0.21em;
    color: #f26f49;
    font-size: 0.55em;
    letter-spacing: 0.01em;
}

.journal {
    position: relative;
    background: linear-gradient(105deg, transparent 0 88%, rgb(233 104 65 / 8%) 88% 89%, transparent 89%),
    var(--paper);
}

.post-featured {
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.dust-frame {
    margin: 0;
    padding: 0.7rem;
    position: relative;
    background: #d6a765;
    box-shadow: 0 0 0 3px #8c6047,
    0 10px 25px rgb(51 38 38 / 24%),
    0 2px 0 10px rgb(244 214 160 / 72%);
    transform: rotate(-2.4deg);
}

.dust-frame::before,
.dust-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
}

.dust-frame::before {
    inset: -14px;
    background: radial-gradient(circle at 12% 24%, #6f4e42 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 18%, #b67c4a 0 2px, transparent 2.8px),
    radial-gradient(circle at 30% 81%, #6f4e42 0 1.5px, transparent 2.1px),
    radial-gradient(circle at 86% 76%, #b67c4a 0 1px, transparent 1.7px);
}

.dust-frame::after {
    width: 42%;
    height: 12px;
    right: -20px;
    bottom: -17px;
    background: rgb(91 60 47 / 37%);
    filter: blur(7px);
    transform: rotate(-6deg);
}

.dust-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #ead7b4;
    filter: sepia(12%) saturate(82%) contrast(1.05);
}

.dust-frame figcaption {
    padding-top: 0.55rem;
    color: #442f37;
    font-family: Arial, sans-serif;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .hero {
        min-height: 740px;
    }

    .hero > .intro {
        max-width: 250px;
        font-size: 1rem;
    }

    .playa {
        width: 132%;
        right: -22%;
        transform: scale(0.72);
    }

    .title-plane {
        width: 112vw;
        bottom: 1.5rem;
        left: -0.6rem;
        transform: perspective(700px) rotateX(48deg) rotateZ(-6deg) skewX(-7deg);
    }

    .hero-title {
        font-size: clamp(4.6rem, 20vw, 7.2rem);
    }

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

    .dust-frame {
        width: min(86%, 360px);
        margin: 0 auto 1.4rem;
    }
}


/* A real aerial image anchors Black Rock City in the center of the playa. */
.hero {
    min-height: clamp(570px, 72vh, 690px);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -28px;
    opacity: 0.26;
    background: linear-gradient(180deg, rgb(26 28 54 / 35%), rgb(26 28 54 / 80%)),
    url("/static/images/Black_Rock_City_v3.png") center / cover;
    filter: blur(16px) saturate(78%);
    transform: scale(1.08);
}

.playa {
    width: min(96vw, 1260px);
    height: min(56vh, 500px);
    right: 50%;
    bottom: 78px;
    overflow: hidden;
    border: 1px solid rgb(255 223 163 / 26%);
    border-radius: 44% 44% 10% 10% / 10% 10% 4% 4%;
    box-shadow: 0 24px 65px rgb(10 11 25 / 42%);
    transform: translateX(50%);
}

.playa-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    filter: saturate(84%) contrast(1.04) sepia(7%);
}

.playa::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(28 30 55 / 18%) 0 44%, transparent 66%),
    linear-gradient(90deg, rgb(25 27 51 / 30%), transparent 17% 83%, rgb(25 27 51 / 30%));
}

.playa .mountain,
.playa .ground,
.playa .city {
    display: none;
}

.playa .man {
    z-index: 3;
    bottom: 8%;
    left: calc(50% - 27px);
}

.title-plane {
    bottom: 0.5rem;
}

@media (max-width: 700px) {
    .hero {
        min-height: 590px;
    }

    .playa {
        width: 118vw;
        height: 365px;
        right: 50%;
        bottom: 66px;
        border-radius: 42% 42% 6% 6% / 8% 8% 3% 3%;
        transform: translateX(50%);
    }

    .playa-photo {
        object-position: center center;
    }

    .title-plane {
        bottom: 0;
    }
}


/* Soft edge treatment for the real aerial Playa photograph. */
.hero {
    background: radial-gradient(circle at 70% 18%, rgb(230 113 63 / 35%), transparent 20rem),
    linear-gradient(160deg, #1b1d39 0 45%, #3b3658 75%, #c38e60 100%);
}

.playa {
    background: #c38e60;
}

.playa-photo {
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
}

.playa::before {
    background: linear-gradient(180deg, rgb(28 30 55 / 18%) 0 44%, transparent 66%),
    linear-gradient(
            90deg,
            rgb(195 142 96 / 94%) 0%,
            rgb(195 142 96 / 38%) 10%,
            transparent 18% 82%,
            rgb(195 142 96 / 38%) 90%,
            rgb(195 142 96 / 94%) 100%
    );
}


/* Full-bleed photograph mode: the page and the fade share the Playa edge color. */
:root {
    --playa-edge: #c38e60;
}

body,
.hero {
    background: var(--playa-edge);
}

.hero {
    min-height: clamp(650px, 82vh, 900px);
}

.hero::before,
.hero::after {
    display: none;
}

.playa {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--playa-edge);
    transform: none;
}

.playa-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(84%) contrast(1.04) sepia(7%);
}

.playa::before {
    background: linear-gradient(
            90deg,
            var(--playa-edge) 0%,
            rgb(195 142 96 / 58%) 8%,
            transparent 16% 84%,
            rgb(195 142 96 / 58%) 92%,
            var(--playa-edge) 100%
    );
}

.title-plane,
.hero-kicker,
.hero > .intro {
    position: relative;
}

.hero-kicker,
.hero > .intro {
    text-shadow: 0 2px 18px rgb(31 22 27 / 55%);
}


/* Preserve the complete source image: the hero grows with its natural aspect ratio. */
.hero {
    min-height: 0;
    height: auto;
    padding: 3.5rem 0 0;
    overflow: hidden;
}

.hero-kicker,
.hero > .intro {
    margin-right: max(7vw, 1.5rem);
    margin-left: max(7vw, 1.5rem);
}

.playa {
    position: relative;
    width: 100%;
    height: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    overflow: visible;
    aspect-ratio: auto;
}

.playa-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.playa::before {
    background: linear-gradient(
            90deg,
            var(--playa-edge) 0%,
            rgb(195 142 96 / 24%) 6%,
            transparent 12% 88%,
            rgb(195 142 96 / 24%) 94%,
            var(--playa-edge) 100%
    );
}

.title-plane {
    position: absolute;
    z-index: 4;
    bottom: clamp(1.5rem, 5vw, 4rem);
}

@media (max-width: 700px) {
    .hero {
        min-height: 0;
        padding-top: 2rem;
    }

    .title-plane {
        bottom: 1.5rem;
    }
}


/* Playa palette: one textured sand field for the full page. */
body,
.hero,
.journal {
    background-color: #c38e60;
    background-image: radial-gradient(circle at 12% 22%, rgb(93 57 39 / 16%) 0 0.65px, transparent 0.9px),
    radial-gradient(circle at 66% 48%, rgb(255 226 173 / 14%) 0 0.7px, transparent 1px),
    radial-gradient(circle at 34% 82%, rgb(108 67 43 / 10%) 0 0.5px, transparent 0.85px);
    background-size: 5px 5px, 8px 8px, 13px 13px;
}

.hero {
    padding-top: 0;
}

.playa-photo {
    mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}

.playa::before {
    background: linear-gradient(180deg, transparent 78%, rgb(195 142 96 / 35%) 91%, #c38e60 100%);
}

.journal {
    max-width: none;
    padding: clamp(3.5rem, 6vw, 6.5rem) max(1.25rem, 5vw);
}

.section-heading,
.post-featured,
.post-list {
    width: min(100%, 1320px);
    margin-right: auto;
    margin-left: auto;
}

.section-heading {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.post-featured {
    grid-template-columns: minmax(340px, 46%) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    border-top-color: rgb(83 52 39 / 32%);
}


.post-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 3vw, 3.5rem);
}

.post-list .post {
    padding-top: 1.4rem;
    border-top-color: rgb(83 52 39 / 32%);
}

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

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


/* Countdown and timeline live directly on top of the aerial image. */
.title-plane {
    left: max(4vw, 1rem);
    bottom: clamp(1.5rem, 7vw, 5rem);
    pointer-events: none;
}

.hero-controls {
    position: absolute;
    z-index: 6;
    top: clamp(1.1rem, 3vw, 2.5rem);
    right: max(4vw, 1rem);
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    color: #ffe47f;
    text-align: right;
    text-shadow: 0 2px 12px rgb(40 24 29 / 68%);
}

.event-countdown {
    display: grid;
    justify-items: end;
    gap: 0.15rem;
    transform: skewX(-7deg);
}

.event-label,
.timeline-control,
.timeline-readout {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}

.event-label {
    color: #f26f49;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.event-countdown strong {
    color: #ffe47f;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    font-style: italic;
    line-height: 0.85;
    letter-spacing: 0.04em;
    text-shadow: -0.025em 0.035em 0 #682b4f,
    -0.05em 0.07em 0 #3e284d,
    0 0.12em 0.16em rgb(15 14 26 / 48%);
}


.timeline-control {
    display: none;
    grid-template-columns: auto minmax(120px, 190px);
    align-items: center;
    gap: 0.55rem;
    color: rgb(255 226 173 / 54%);
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    opacity: 0.62;
}

.timeline-control input {
    width: 100%;
    height: 0.35rem;
    accent-color: #f5a35e;
    cursor: ew-resize;
    opacity: 0.58;
}

.timeline-readout {
    display: none;
    max-width: 100%;
    color: rgb(255 226 173 / 58%);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: right;
    white-space: normal;
}

@media (max-width: 700px) {
    .hero-controls {
        top: 0.8rem;
        right: 1rem;
    }

    .event-countdown strong {
        font-size: clamp(1.45rem, 8vw, 2.6rem);
    }

    .timeline-control {
        grid-template-columns: auto minmax(90px, 130px);
    }

    .title-plane {
        bottom: 1.25rem;
    }
}


/* Align the title and countdown on one cinematic horizon over the mountains. */
.title-plane {
    bottom: 20%;
}

.hero-title {
    font-size: clamp(5.8rem, 13vw, 11.5rem);
}

.hero-controls {
    top: auto;
    bottom: 20%;
}

.event-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-shadow: 0 2px 0 #682b4f,
    0 3px 11px rgb(40 24 29 / 78%);
}

.event-countdown strong {
    display: inline-block;
    min-width: 12.3ch;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

@media (max-width: 700px) {
    .title-plane,
    .hero-controls {
        bottom: 18%;
    }
}

/* Final editorial pass: move the hero pair upward and give the page a softer sand grain. */
body,
.hero,
.journal {
    background-color: #c38e60;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgb(255 221 164 / 7%), transparent 38%, rgb(91 54 35 / 8%));
    background-blend-mode: soft-light, normal;
    background-size: 260px 260px, auto;
}

.title-plane,
.hero-controls {
    top: 17%;
    bottom: auto;
}

.event-countdown {
    width: 12.3ch;
    justify-items: stretch;
    transform: none;
}

.event-label {
    width: 100%;
    text-align: center;
    text-shadow: 0 2px 0 #682b4f,
    0 4px 14px rgb(40 24 29 / 82%);
}

.event-countdown strong {
    text-shadow: -0.02em 0.03em 0 #682b4f,
    0 0.1em 0.14em rgb(15 14 26 / 60%);
}

.dust-frame {
    isolation: isolate;
    padding: 1rem;
    position: relative;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: rotate(-1.8deg);
}

.dust-frame::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -0.6rem;
    background: linear-gradient(138deg, rgb(255 231 181 / 25%), transparent 32%, rgb(111 72 46 / 13%)),
    #d5ad78;
    clip-path: polygon(1% 4%, 97% 0, 100% 94%, 92% 98%, 65% 96%, 38% 100%, 3% 95%, 0 15%);
    box-shadow: 0 14px 28px rgb(76 45 31 / 26%);
}

.dust-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 1rem;
    pointer-events: none;
    border-radius: 2px;
    opacity: 0.48;
    mix-blend-mode: multiply;
    background: radial-gradient(ellipse at 17% 22%, rgb(122 83 50 / 54%) 0 1.5%, transparent 8%),
    radial-gradient(ellipse at 82% 34%, rgb(149 104 62 / 44%) 0 1%, transparent 7%),
    radial-gradient(ellipse at 47% 78%, rgb(121 81 48 / 34%) 0 1.2%, transparent 9%),
    radial-gradient(circle at 64% 14%, rgb(255 232 179 / 42%) 0 0.7%, transparent 2.5%),
    radial-gradient(circle at 31% 62%, rgb(255 232 179 / 32%) 0 0.6%, transparent 2%);
}

.dust-frame img {
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 0 rgb(92 58 38 / 35%);
}

.dust-frame figcaption {
    position: relative;
    z-index: 3;
}

@media (max-width: 700px) {
    .title-plane,
    .hero-controls {
        top: 12%;
        bottom: auto;
    }
}

/* Keep both overlays inside the viewport at every width. */
.title-plane,
.hero-controls {
    top: 13%;
    bottom: auto;
}

.title-plane {
    max-width: calc(100vw - 2rem);
}

.hero-controls {
    right: max(0.75rem, 2vw);
    width: min(18rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    overflow: hidden;
}

.event-countdown {
    width: 100%;
    max-width: 100%;
}

.event-label {
    overflow: hidden;
    font-size: clamp(0.55rem, 0.9vw, 0.9rem);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.event-countdown strong {
    width: 100%;
    min-width: 0;
    font-size: clamp(1.35rem, 4.5vw, 3.2rem);
    letter-spacing: 0.01em;
}

.timeline-control {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
}

@media (max-width: 700px) {
    .title-plane,
    .hero-controls {
        top: 7%;
    }

    .hero-controls {
        right: 0.75rem;
        width: min(14rem, calc(100vw - 1.5rem));
        max-width: calc(100vw - 1.5rem);
    }
}

/* A visible Playa grain and an irregular sand overlap soften the photo's lower edge. */
body {
    position: relative;
    background-color: var(--playa-edge);
}

.journal {
    position: relative;
    isolation: isolate;
}

.journal::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.34'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgb(255 225 173 / 10%), transparent 42%, rgb(83 49 32 / 12%));
    background-blend-mode: multiply, normal;
    background-size: 180px 180px, auto;
}

.hero {
    isolation: isolate;
}

.playa-photo {
    mask-image: none;
    -webkit-mask-image: none;
}

.playa::before {
    background: none;
}

.hero::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 3;
    right: -2%;
    bottom: -1px;
    left: -2%;
    height: clamp(110px, 13vw, 175px);
    pointer-events: none;
    background: linear-gradient(180deg, rgb(195 142 96 / 68%) 0%, #c38e60 58%, #c38e60 100%);
    box-shadow: 0 -9px 24px rgb(195 142 96 / 32%);
    filter: blur(1.5px);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 72 C9 54 16 52 25 66 C35 83 43 81 51 63 C59 47 68 45 76 61 C84 77 91 76 100 56 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 72 C9 54 16 52 25 66 C35 83 43 81 51 63 C59 47 68 45 76 61 C84 77 91 76 100 56 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
}

.journal::before {
    z-index: 0;
}

.journal > * {
    position: relative;
    z-index: 1;
}

/* Keep the countdown on the title horizon and give every digit a visible slot. */
.hero-controls {
    top: 12%;
    width: min(21rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    overflow: visible;
}

.event-countdown {
    width: 100%;
    min-width: 0;
}

.event-label {
    overflow: visible;
}

.event-countdown strong {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
    font-size: clamp(1.3rem, 4.1vw, 3rem);
    letter-spacing: 0;
    line-height: 0.92;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .hero-controls {
        top: 12%;
        width: min(16rem, calc(100vw - 1.5rem));
        max-width: calc(100vw - 1.5rem);
    }

    .event-countdown strong {
        font-size: clamp(1.25rem, 8vw, 2.6rem);
    }
}

/* Unify the title lettering: THE WAY shares one line and one scale. */
.hero-title span {
    font-size: 1em;
    letter-spacing: inherit;
}

.hero-title-the,
.hero-title-way {
    display: inline-block;
    color: #ffe47f;
}

.hero-title-the {
    margin-left: 0;
}

.hero-title-burn {
    display: block;
    margin-left: 0;
    color: #f26f49;
}

/* Final title and countdown alignment. */
.hero-title {
    white-space: nowrap;
    font-size: clamp(4.6rem, 10.8vw, 10rem);
    line-height: 0.66;
}

.hero-title-the,
.hero-title-way,
.hero-title-burn {
    white-space: nowrap;
}

.hero-controls {
    top: 17%;
}

.event-label {
    text-shadow: 0 2px 0 #682b4f,
    0 4px 0 rgb(70 35 51 / 54%),
    0 6px 16px rgb(29 17 28 / 90%);
}

.event-countdown strong {
    color: #ffe47f;
    -webkit-text-stroke: 0.018em rgb(70 35 51 / 88%);
    text-shadow: -0.045em -0.035em 0 rgb(255 241 157 / 62%),
    0.035em 0.04em 0 #4b294d,
    0.065em 0.075em 0 #3a2745,
    0 0.13em 0.2em rgb(15 14 26 / 78%);
}

@media (max-width: 700px) {
    .hero-controls {
        top: 15%;
    }

    .hero-title {
        font-size: clamp(4rem, 15vw, 6.5rem);
    }
}

/* Lock the title rows and return the countdown to the original clean lettering. */
.hero-title {
    font-size: clamp(3.9rem, 9.2vw, 8.5rem);
    line-height: 0.66;
}

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

.hero-title-main {
    color: #ffe47f;
}

.hero-title-the,
.hero-title-way {
    font-size: 1em;
    line-height: inherit;
}

.hero-title-burn {
    font-size: 1em;
    line-height: inherit;
}

.hero-controls {
    top: 20%;
}

.event-countdown strong {
    color: #ffe47f;
    -webkit-text-stroke: 0;
    text-shadow: -0.025em 0.035em 0 #682b4f,
    -0.05em 0.07em 0 #3e284d,
    0 0.12em 0.16em rgb(15 14 26 / 62%);
}

@media (max-width: 700px) {
    .hero-controls {
        top: 18%;
    }

    .hero-title {
        font-size: clamp(3.4rem, 12.8vw, 5.5rem);
    }
}

/* Make the Playa-to-sand overlap explicit, with a clip-path fallback for browsers that skip SVG masks. */
.hero::after {
    height: clamp(140px, 16vw, 215px);
    background: linear-gradient(
            180deg,
            rgb(195 142 96 / 88%) 0%,
            rgb(195 142 96 / 97%) 42%,
            #c38e60 72%,
            #c38e60 100%
    );
    clip-path: polygon(
            0 72%,
            9% 54%,
            16% 52%,
            25% 66%,
            35% 83%,
            43% 81%,
            51% 63%,
            59% 47%,
            68% 45%,
            76% 61%,
            84% 77%,
            91% 76%,
            100% 56%,
            100% 100%,
            0 100%
    );
    filter: blur(1.8px) drop-shadow(0 -5px 10px rgb(246 198 132 / 42%));
}

/* Transparent Temple overlay: centered at one eighth of the Playa image width. */
.playa-temple {
    position: absolute;
    z-index: 2;
    top: 37.7%;
    left: 50.1%;
    display: block;
    width: 12.5%;
    height: auto;
    max-width: none;
    filter: saturate(84%) contrast(1.04) sepia(7%);
    pointer-events: none;
    transform: translate(-50%, -50%);
}


/* Adjust these values when the hand placement is finalised. */
.playa-man-arms {
    --man-arm-top: 24%;
    --man-arm-width: 1.35%;
    --man-left-arm-x: 48.4%;
    --man-right-arm-x: 50.4%;
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.playa-man-arm {
    position: absolute;
    top: var(--man-arm-top);
    width: var(--man-arm-width);
    will-change: transform;
}

.playa-man-arm img {
    display: block;
    width: 100%;
    height: auto;
}

.playa-man-arm-left {
    left: var(--man-left-arm-x);
    transform: rotate(var(--man-left-arm-angle, 0deg));
    transform-origin: calc(100% - 8px) 8px;
}

.playa-man-arm-right {
    left: var(--man-right-arm-x);
    transform: rotate(var(--man-right-arm-angle, 0deg));
    transform-origin: 8px 8px;
}

.playa-man-arm-right img {
    transform: scaleX(-1);
}

/* The Man ignites at midnight on Burn night; adjust the first two values to reposition it. */
.playa-man-fire {
    --man-fire-top: 14.5%;
    --man-fire-width: 2.8%;
    position: absolute;
    z-index: 4;
    top: var(--man-fire-top);
    left: 50.3%;
    width: var(--man-fire-width);
    aspect-ratio: 0.62;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.78);
    transform-origin: 50% 100%;
    transition: opacity 900ms ease, transform 1.2s cubic-bezier(0.2, 0.9, 0.32, 1);
    visibility: hidden;
}

html[data-man-burning="true"] .playa-man-fire {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    visibility: visible;
}

.playa-man-fire::before {
    position: absolute;
    z-index: -1;
    inset: 18% -26% -6%;
    border-radius: 50%;
    opacity: 0.64;
    background: radial-gradient(ellipse at 50% 64%, rgb(255 202 72 / 64%) 0%, rgb(244 73 35 / 36%) 37%, transparent 72%);
    content: "";
    filter: blur(2px);
    animation: man-fire-glow 0.9s steps(2, end) infinite alternate;
}

.playa-man-fire::after {
    position: absolute;
    top: -13%;
    left: 50%;
    width: 11%;
    height: 11%;
    border-radius: 50%;
    opacity: 0.74;
    background: #ffe7a3;
    box-shadow: -1.7em 1.8em 0 -0.08em #ffb84a, 1.45em 2.55em 0 -0.04em #ff7f35, 0.92em 0.82em 0 -0.1em #ffe9a8, -0.84em 3.2em 0 -0.12em #ff913b;
    content: "";
    filter: blur(0.35px) drop-shadow(0 0 0.22em #ff8a38);
    transform: translateX(-50%);
    animation: man-fire-embers 2.7s ease-in infinite;
}

.playa-fire-flame,
.playa-fire-core {
    position: absolute;
    bottom: 0;
    display: block;
    transform-origin: 50% 100%;
}

.playa-fire-flame {
    height: 94%;
    background: linear-gradient(0deg, rgb(188 39 27 / 0%) 0%, rgb(225 56 29 / 32%) 17%, #e44c26 36%, #ff7f2f 59%, #ffb83f 78%, #ffe483 100%);
    clip-path: polygon(50% 0%, 68% 17%, 64% 34%, 85% 47%, 73% 65%, 91% 78%, 68% 100%, 38% 94%, 17% 100%, 6% 77%, 22% 58%, 10% 41%, 33% 28%);
    filter: drop-shadow(0.08em 0 #3a1931) drop-shadow(-0.08em 0 #3a1931) drop-shadow(0 0.08em #3a1931) drop-shadow(0 -0.08em #3a1931);
    mix-blend-mode: normal;
}

.playa-fire-flame-main {
    left: 12%;
    width: 76%;
    height: 100%;
    animation: man-fire-sway-main 0.82s steps(3, end) infinite alternate;
}


.playa-fire-core {
    left: 29%;
    width: 42%;
    height: 68%;
    opacity: 0.94;
    background: linear-gradient(0deg, rgb(255 214 110 / 0%) 0%, rgb(255 213 91 / 42%) 20%, #ffcd4d 48%, #fff08d 72%, #fff8c4 100%);
    clip-path: polygon(49% 0%, 73% 29%, 67% 49%, 86% 73%, 58% 100%, 25% 89%, 15% 59%, 30% 37%);
    filter: drop-shadow(0.05em 0 #7a2926) drop-shadow(-0.05em 0 #7a2926) drop-shadow(0 0.05em #7a2926);
    animation: man-fire-core 0.82s steps(3, end) infinite alternate;
}

@keyframes man-fire-sway-main {
    from { transform: rotate(-6deg) scaleX(0.9) scaleY(0.92) translateX(-4%); }
    to { transform: rotate(7deg) scaleX(1.08) scaleY(1.04) translateX(5%); }
}

@keyframes man-fire-core {
    from { transform: rotate(4deg) scale(0.84) translate(-7%, 5%); opacity: 0.72; }
    to { transform: rotate(-5deg) scale(1.08) translate(6%, -4%); opacity: 1; }
}

@keyframes man-fire-embers {
    from { opacity: 0.22; transform: translate(-50%, 26%) scale(0.75); }
    42% { opacity: 0.82; }
    to { opacity: 0; transform: translate(-34%, -58%) scale(1.15); }
}

@keyframes man-fire-glow {
    from { transform: scale(0.9); opacity: 0.45; }
    to { transform: scale(1.08); opacity: 0.72; }
}

/* Time-driven sky layers stay above the Playa image and below the title/countdown. */
.playa-atmosphere {
    position: absolute;
    z-index: 3;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgb(0 0 0 / 78%) 91%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgb(0 0 0 / 78%) 91%, transparent 100%);
}

.playa-night-shade,
.playa-twilight-haze,
.playa-sunset-glow,
.playa-stars,
.playa-light-beams {
    position: absolute;
    inset: 0;
}

.playa-night-shade {
    z-index: 1;
    opacity: var(--night-opacity, 0);
    background: radial-gradient(ellipse at 50% 16%, rgb(32 57 91 / 38%) 0%, transparent 54%),
    linear-gradient(180deg, #07172c 0%, #101b36 30%, #1e1b3a 58%, #382233 82%, #291c2a 100%);
    mix-blend-mode: multiply;
    transition: opacity 1.8s ease;
}

.playa-twilight-haze {
    z-index: 2;
    opacity: var(--twilight-opacity, 0);
    background: linear-gradient(
        180deg,
        rgb(29 57 94 / 64%) 0%,
        rgb(69 70 113 / 56%) 23%,
        rgb(124 73 111 / 45%) 43%,
        rgb(207 101 102 / 34%) 59%,
        rgb(241 157 103 / 18%) 70%,
        transparent 88%
    );
    mix-blend-mode: color;
    transition: opacity 1.8s ease;
}

.playa-sunset-glow {
    z-index: 2;
    opacity: var(--sunset-opacity, 0);
    background: radial-gradient(
        ellipse at 72% var(--sun-y, 13%),
        rgb(255 226 126 / 72%) 0%,
        rgb(242 113 67 / 46%) 4.9%,
        rgb(154 65 92 / 25%) 12.6%,
        transparent 28%
    ), linear-gradient(180deg, transparent 0 4%, rgb(225 82 73 / 24%) 22%, transparent 52%);
    mix-blend-mode: screen;
    transition: opacity 1.4s ease;
}

.playa-stars {
    z-index: 4;
    right: 0;
    bottom: auto;
    height: 15%;
    opacity: var(--stars-opacity, 0);
    background: none;
    mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
    transition: opacity 1.2s ease;
}

.playa-stars i {
    position: absolute;
    width: var(--star-size, 1px);
    height: var(--star-size, 1px);
    border-radius: 50%;
    opacity: var(--star-opacity, 0.6);
    background: var(--star-warmth, #e5efff);
    box-shadow: 0 0 calc(var(--star-size, 1px) * 2.4) rgb(218 228 255 / 42%);
}

.playa-light-beams {
    z-index: 5;
    opacity: var(--beams-opacity, 0);
    mix-blend-mode: screen;
}

.playa-light-beam {
    position: absolute;
    bottom: var(--beam-bottom);
    left: var(--beam-x);
    width: clamp(0.16rem, 0.58vw, 0.52rem);
    height: var(--beam-height, 45%);
    border-radius: 999px 999px 0 0;
    opacity: var(--beam-opacity, 0.7);
    background: linear-gradient(180deg, transparent 0%, var(--beam-mid, rgb(192 220 255 / 20%)) 44%, var(--beam-core, rgb(235 245 255 / 92%)) 100%);
    filter: blur(0.65px) drop-shadow(0 0 0.48rem var(--beam-glow, rgb(172 208 255 / 66%)));
    transform: translateX(-50%) rotate(0deg);
    transform-origin: 50% 100%;
    will-change: transform;
}

.playa-light-beam::after {
    position: absolute;
    right: 50%;
    bottom: -0.18rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--beam-source, #eaf4ff);
    box-shadow: 0 0 0.7rem 0.24rem var(--beam-glow, rgb(175 214 255 / 72%));
    content: "";
    transform: translateX(50%);
}

.playa-light-beam:nth-child(1) {
    --beam-x: 40%;
    --beam-bottom: 55%;
    --beam-height: 42%;
    --beam-core: rgb(239 248 255 / 94%);
    --beam-mid: rgb(188 220 255 / 22%);
    --beam-glow: rgb(166 211 255 / 68%);
    --beam-source: #edf8ff;
}

.playa-light-beam:nth-child(2) {
    --beam-x: 46%;
    --beam-bottom: 52%;
    --beam-height: 46%;
    --beam-core: rgb(255 253 235 / 94%);
    --beam-mid: rgb(255 238 182 / 22%);
    --beam-glow: rgb(255 225 153 / 62%);
    --beam-source: #fff8d7;
}

.playa-light-beam:nth-child(3) {
    --beam-x: 52%;
    --beam-bottom: 50%;
    --beam-height: 49%;
    --beam-core: rgb(247 250 255 / 96%);
    --beam-mid: rgb(220 233 255 / 22%);
    --beam-glow: rgb(205 225 255 / 66%);
    --beam-source: #f5f9ff;
}

.playa-light-beam:nth-child(4) {
    --beam-x: 58%;
    --beam-bottom: 53%;
    --beam-height: 44%;
    --beam-core: rgb(224 244 255 / 94%);
    --beam-mid: rgb(164 217 255 / 22%);
    --beam-glow: rgb(139 203 255 / 68%);
    --beam-source: #e4f6ff;
}

.playa-light-beam:nth-child(5) {
    --beam-x: 64%;
    --beam-bottom: 49%;
    --beam-height: 48%;
    --beam-core: rgb(255 250 224 / 94%);
    --beam-mid: rgb(255 230 164 / 21%);
    --beam-glow: rgb(255 216 137 / 60%);
    --beam-source: #fff4c8;
}

@media (prefers-reduced-motion: reduce) {
    .playa-night-shade,
    .playa-twilight-haze,
    .playa-sunset-glow,
    .playa-stars,
    .playa-light-beams,
    .playa-light-beam {
        transition: none;
    }
}

/* Visual journal pass: explicit wave, visible grain, Cyrillic typography, and interactive notes. */
:root {
    --font-body: "Manrope", Arial, sans-serif;
    --font-heading: "Roboto Slab", Georgia, serif;
}

body {
    font-family: var(--font-body);
    background-color: #c38e60;
}

.journal,
.journal p,
.journal button {
    font-family: var(--font-body);
}

.journal h2,
.journal h3 {
    font-family: var(--font-heading);
}

.hero::after {
    display: none;
}


.journal {
    isolation: isolate;
    background-color: #c38e60;
    background-image: repeating-linear-gradient(116deg, rgb(255 228 177 / 7%) 0 1px, transparent 1px 19px),
    linear-gradient(145deg, rgb(255 221 164 / 14%), transparent 38%, rgb(91 54 35 / 13%));
    background-blend-mode: soft-light, normal;
}

.journal::before {
    z-index: 0;
    opacity: 0.52;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.42'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 18% 32%, rgb(87 51 33 / 12%) 0 1px, transparent 3px),
    radial-gradient(ellipse at 74% 68%, rgb(255 227 174 / 14%) 0 1px, transparent 3px);
    background-blend-mode: multiply, multiply, screen;
    background-size: 180px 180px, 17px 23px, 29px 31px;
}

.section-heading {
    position: relative;
    padding-bottom: 1.35rem;
}

.section-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, #682b4f, rgb(104 43 79 / 12%) 70%, transparent);
}

.section-heading h2 {
    color: #3e284d;
    letter-spacing: -0.035em;
    text-shadow: 0.035em 0.04em 0 rgb(255 220 157 / 42%);
}

.post-featured {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 40%);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2.8rem);
    /*border: 1px solid rgb(104 43 79 / 30%);*/
    /*border-radius: 18px;*/
    background: linear-gradient(125deg, rgb(255 224 165 / 12%), transparent 38%, rgb(45 28 47 / 10%)),
    rgb(67 42 60 / 10%);
    box-shadow: 0 18px 42px rgb(76 45 31 / 18%),
    inset 0 1px 0 rgb(255 230 176 / 32%);
}

.post-featured > .post-copy {
    grid-column: 1;
    grid-row: 1;
}

.post-featured > .dust-frame {
    grid-column: 2;
    grid-row: 1;
}

.post-copy {
    min-width: 0;
}

.post-copy h3 {
    max-width: 18ch;
    margin-bottom: 1rem;
    color: #682b4f;
    font-size: clamp(1.8rem, 3.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-shadow: 0.035em 0.04em 0 rgb(255 220 157 / 60%),
    0 0.12em 0.2em rgb(58 39 69 / 20%);
}

.post-body {
    max-width: 58ch;
    color: #3e284d;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.65;
}

.post-body {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(104 43 79 / 24%);
}

.post-body[hidden] {
    display: none;
}

.post-toggle {
    display: inline-grid;
    width: 2.7rem;
    height: 2.7rem;
    margin-top: 1.25rem;
    place-items: center;
    border: 1px solid rgb(104 43 79 / 58%);
    border-radius: 50%;
    color: #ffe47f;
    background: #682b4f;
    box-shadow: 0 5px 14px rgb(61 38 61 / 22%);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.post-toggle:hover,
.post-toggle:focus-visible {
    background: #4b294d;
    transform: translateY(-2px);
}

.post-toggle-icon {
    font-size: 1.45rem;
    line-height: 1;
    transform: translateY(-0.1rem);
    transition: transform 180ms ease;
}

.post-toggle[aria-expanded="true"] .post-toggle-icon {
    transform: rotate(180deg) translateY(0.1rem);
}

.dust-frame {
    isolation: isolate;
    width: min(100%, 390px);
    justify-self: end;
    padding: 0.8rem 0.8rem 0.75rem;
    overflow: visible;
    border: 1px solid rgb(255 216 145 / 62%);
    border-radius: 4px;
    background: linear-gradient(145deg, rgb(255 220 157 / 17%), transparent 35%, rgb(38 27 43 / 26%)),
    #4b394a;
    box-shadow: 0 20px 36px rgb(40 24 42 / 30%),
    7px 8px 0 rgb(104 43 79 / 36%),
    inset 0 0 0 1px rgb(255 232 174 / 16%);
    transform: rotate(1.4deg);
}

.dust-frame::before {
    inset: 0.32rem;
    z-index: 0;
    border: 1px solid rgb(255 222 157 / 34%);
    background: radial-gradient(circle at 16% 28%, rgb(255 224 157 / 16%) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 72%, rgb(255 224 157 / 13%) 0 1px, transparent 2px);
    opacity: 1;
}

.dust-frame::after {
    right: 0.7rem;
    bottom: 0.55rem;
    z-index: 2;
    width: 38%;
    height: 18%;
    background: radial-gradient(ellipse, rgb(255 220 157 / 16%), transparent 70%);
    filter: blur(8px);
    mix-blend-mode: screen;
    transform: rotate(-8deg);
}

.dust-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #ead7b4;
    filter: sepia(12%) saturate(82%) contrast(1.05);
    cursor: zoom-in;
}

.dust-frame figcaption {
    position: absolute;
    z-index: 3;
    right: 1.1rem;
    bottom: 0.95rem;
    left: 1.1rem;
    display: grid;
    gap: 0.22rem;
    color: #ffe09b;
    font-family: var(--font-body);
    text-align: left;
    text-shadow: 0 2px 5px rgb(27 18 32 / 72%);
}

.photo-date,
.photo-caption {
    width: fit-content;
    padding: 0.17rem 0.36rem;
    background: rgb(47 30 48 / 74%);
}

.photo-date {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.photo-caption {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.photo-modal[hidden] {
    display: none;
}

.photo-modal {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 4rem);
    background: rgb(19 14 27 / 97%);
    backdrop-filter: blur(15px) saturate(72%);
}

.photo-modal-figure {
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    margin: 0;
}

.photo-modal-figure img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
}

.photo-modal-close {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 1.2rem;
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border: 1px solid rgb(255 224 157 / 62%);
    border-radius: 50%;
    color: #ffe09b;
    background: rgb(64 37 66 / 80%);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.photo-modal-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid rgb(255 224 157 / 62%);
    border-radius: 50%;
    color: #ffe09b;
    background: rgb(64 37 66 / 80%);
    font-size: 1.15rem;
    cursor: pointer;
    transform: translateY(-50%);
}

.photo-modal-nav[hidden],
.photo-modal-counter[hidden],
.photo-modal-thumbs[hidden] {
    display: none;
}

.photo-modal-prev {
    left: 1.2rem;
}

.photo-modal-next {
    right: 1.2rem;
}

.photo-modal-nav:hover,
.photo-modal-nav:focus-visible,
.photo-modal-close:hover,
.photo-modal-close:focus-visible {
    color: #fff6d5;
    background: #925238;
    outline: 0;
}

.photo-modal-counter {
    position: absolute;
    right: 50%;
    bottom: 6.15rem;
    display: inline-flex;
    min-width: 3.1rem;
    justify-content: center;
    margin: 0;
    padding: 0.32rem 0.65rem;
    border: 1px solid rgb(255 224 157 / 48%);
    border-radius: 999px;
    color: #ffe5a8;
    background: rgb(39 24 36 / 96%);
    box-shadow: 0 0.35rem 0.9rem rgb(0 0 0 / 36%);
    font: 800 0.72rem/1 var(--font-body, Manrope, sans-serif);
    letter-spacing: 0.08em;
    transform: translateX(50%);
}

.photo-modal-thumbs {
    position: absolute;
    z-index: 3;
    right: 50%;
    bottom: 1.15rem;
    display: flex;
    max-width: min(86vw, 46rem);
    gap: 0.5rem;
    padding: 0.48rem;
    overflow-x: auto;
    border: 1px solid rgb(255 221 154 / 58%);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgb(83 44 48 / 96%), rgb(37 24 38 / 98%));
    box-shadow: 0 0.8rem 1.6rem rgb(0 0 0 / 42%), inset 0 1px rgb(255 239 203 / 16%);
    transform: translateX(50%);
    scrollbar-color: rgb(255 213 138 / 76%) rgb(34 22 33 / 96%);
    scrollbar-width: thin;
}

.photo-modal-thumbs::-webkit-scrollbar {
    height: 0.36rem;
}

.photo-modal-thumbs::-webkit-scrollbar-track {
    margin: 0 0.28rem;
    border-radius: 999px;
    background: rgb(34 22 33 / 96%);
}

.photo-modal-thumbs::-webkit-scrollbar-thumb {
    border: 1px solid rgb(66 36 44 / 92%);
    border-radius: 999px;
    background: rgb(255 213 138 / 76%);
}

.photo-modal-thumb {
    flex: 0 0 auto;
    width: 4.65rem;
    height: 3.45rem;
    padding: 0.18rem;
    border: 1px solid rgb(255 225 165 / 38%);
    border-radius: 0.55rem;
    background: rgb(31 20 30 / 98%);
    box-shadow: inset 0 0 0 1px rgb(255 246 218 / 6%);
    cursor: pointer;
    opacity: 0.7;
    transition: border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.photo-modal-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.34rem;
    object-fit: cover;
    background: #211821;
}

.photo-modal-thumb:hover,
.photo-modal-thumb:focus-visible,
.photo-modal-thumb.is-active {
    border-color: #ffe0a0;
    box-shadow: 0 0 0 2px rgb(191 109 62 / 52%), 0 0.35rem 0.75rem rgb(0 0 0 / 38%);
    opacity: 1;
    outline: 0;
    transform: translateY(-2px);
}

.photo-modal-thumbs[hidden] + .photo-modal-counter {
    bottom: 1rem;
}

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

    .post-featured > .post-copy,
    .post-featured > .dust-frame {
        grid-column: 1;
        grid-row: auto;
    }

    .dust-frame {
        width: min(100%, 390px);
        justify-self: center;
    }
}

.modal-open {
    overflow: hidden;
}

.journal {
    background-color: #c38e60;
    background-image: none;
}

.post-featured {
    grid-template-areas:
    "copy photo"
    "body body";
    grid-template-columns: minmax(0, 1fr) minmax(280px, 40%);
    align-items: start;
    background: linear-gradient(135deg, rgb(255 228 177 / 13%), transparent 42%, rgb(79 48 34 / 8%)),
    rgb(233 193 122 / 16%);
    border-color: rgb(137 76 48 / 42%);
    box-shadow: 0 18px 42px rgb(76 45 31 / 17%),
    inset 0 1px 0 rgb(255 235 183 / 35%);
}

.post-featured > .post-copy {
    grid-area: copy;
}

.post-featured > .dust-frame {
    grid-area: photo;
    align-self: start;
}

.post-featured > .post-body {
    grid-area: body;
    width: 100%;
    max-width: none;
    margin-top: 0.4rem;
    padding: 1.6rem clamp(0.2rem, 1vw, 1rem) 0;
    border-top-color: rgb(137 76 48 / 30%);
}

.post-copy h3 {
    color: #8b4d32;
    text-shadow: 0.035em 0.04em 0 rgb(255 225 165 / 72%),
    0 0.12em 0.2em rgb(76 45 31 / 18%);
}

.post-copy .post-meta,
.post-list .post-meta {
    color: #a65335;
}

.post-copy p,
.post-list .post p:not(.post-meta) {
    color: #4d372e;
}

.post-toggle {
    border-color: rgb(137 76 48 / 68%);
    color: #ffe0a0;
    background: #a65335;
}

.post-toggle:hover,
.post-toggle:focus-visible {
    background: #8b4d32;
}

.dust-frame {
    border-color: rgb(241 190 111 / 68%);
    background: linear-gradient(145deg, rgb(255 220 157 / 17%), transparent 35%, rgb(47 34 29 / 24%)),
    #40352f;
    box-shadow: 0 20px 36px rgb(55 35 27 / 28%),
    7px 8px 0 rgb(139 77 50 / 38%),
    inset 0 0 0 1px rgb(255 232 174 / 16%);
}

.photo-date,
.photo-caption {
    color: #ffe0a0;
    background: rgb(55 36 29 / 78%);
}

.photo-date {
    letter-spacing: 0.08em;
}

.post-list .post {
    border-top-color: rgb(137 76 48 / 34%);
}

.post-list .post h3 {
    color: #6c4535;
    font-family: var(--font-heading);
    text-shadow: 0.03em 0.04em 0 rgb(255 225 165 / 52%);
}

@media (max-width: 800px) {
    .post-featured {
        grid-template-areas:
      "copy"
      "photo"
      "body";
        grid-template-columns: 1fr;
    }

    .post-featured > .post-body {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Remove the decorative wave: use only a soft 14% photo transparency fade. */

.hero::after {
    display: none !important;
}

.playa-photo {
    mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 84%,
            rgb(0 0 0 / 78%) 91%,
            transparent 100%
    );
    -webkit-mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 84%,
            rgb(0 0 0 / 78%) 91%,
            transparent 100%
    );
}

.journal {
    --timeline-indent: clamp(2.8rem, 7vw, 6rem);
    --timeline-line: 1.15rem;
    position: relative;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.journal::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: var(--timeline-line);
    width: 2px;
    pointer-events: none;
    background: linear-gradient(
            180deg,
            transparent 0,
            rgb(155 85 51 / 35%) 6%,
            rgb(155 85 51 / 54%) 80%,
            transparent 100%
    );
}

.journal > .post-featured,
.journal > .post-list {
    position: relative;
    z-index: 1;
    width: calc(100% - var(--timeline-indent));
    margin-right: 0;
    margin-left: var(--timeline-indent);
}

.post-featured::before,
.post-list .post::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 2rem;
    left: calc(var(--timeline-line) - var(--timeline-indent) - 0.45rem);
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid #c17a46;
    border-radius: 50%;
    background: #c38e60;
    box-shadow: 0 0 0 4px rgb(195 142 96 / 50%),
    0 3px 8px rgb(82 47 32 / 30%);
}

.post-featured::after,
.post-list .post::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 2.45rem;
    left: calc(var(--timeline-line) - var(--timeline-indent) + 0.45rem);
    width: var(--timeline-indent);
    height: 1px;
    background: linear-gradient(90deg, rgb(155 85 51 / 55%), transparent);
}

.post-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.post-list .post {
    position: relative;
    min-height: 8rem;
    padding: 2.6rem 0 2.2rem;
    border-top: 0;
    border-bottom: 1px solid rgb(137 76 48 / 26%);
}

.post-list .post h3 {
    max-width: 34ch;
    margin-bottom: 0.45rem;
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    color: #654334;
}

.post-copy .post-meta,
.post-list .post-meta {
    color: #9a5738;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}


.post-collapse {
    display: inline-flex;
    margin-top: 1.35rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgb(137 76 48 / 50%);
    border-radius: 999px;
    color: #805039;
    background: rgb(255 220 157 / 22%);
    font: 600 0.72rem/1 var(--font-body);
    letter-spacing: 0.08em;
    cursor: pointer;
}

.post-collapse:hover,
.post-collapse:focus-visible {
    color: #fff0c6;
    background: #a65335;
}

@media (max-width: 800px) {
    .journal {
        --timeline-indent: 2.35rem;
        --timeline-line: 0.8rem;
    }

    .journal > .post-featured,
    .journal > .post-list {
        width: calc(100% - var(--timeline-indent));
        margin-left: var(--timeline-indent);
    }

    .post-featured::before,
    .post-list .post::before {
        top: 1.55rem;
        left: calc(var(--timeline-line) - var(--timeline-indent) - 0.4rem);
    }

    .post-featured::after,
    .post-list .post::after {
        top: 2rem;
        left: calc(var(--timeline-line) - var(--timeline-indent) + 0.4rem);
    }
}

/* Flat sand field and one natural text flow around the featured photo. */
:root {
    --playa-edge: #bb9167;
}

body,
.hero,
.journal,
.playa {
    background-color: #bb9167;
    background-image: none;
}

.journal::before {
    display: none;
}

.journal > .post-featured,
.journal > .post-list {
    width: min(calc(100% - var(--timeline-indent)), 980px);
}

.post-featured {
    display: block;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    background: rgb(255 232 184 / 11%);
    border-color: rgb(118 75 48 / 34%);
}

.post-featured > .post-copy {
    display: block;
}

.post-copy::after {
    content: "";
    display: table;
    clear: both;
}

.post-copy .dust-frame {
    float: right;
    width: min(48%, 480px);
    margin: 0 0 1.35rem clamp(1.35rem, 3vw, 2.8rem);
    transform: rotate(1.4deg);
}

.post-copy .post-photo-stack {
    position: relative;
    z-index: 2;
    display: block;
    float: right;
    width: min(42%, 28rem);
    min-height: clamp(12rem, 22vw, 19rem);
    margin: 0 0 1.35rem clamp(1.35rem, 3vw, 2.8rem);
    align-self: flex-start;
}

.post-copy .post-photo-stack .dust-frame {
    float: none;
    width: 100%;
    margin: 0;
}

.post-copy .post-photo-stack .dust-frame-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
    transform: translate(0.7rem, 0.75rem) rotate(-2.2deg) scale(0.97);
}

.post-copy .post-photo-stack .dust-frame-layer:nth-child(3) {
    z-index: 0;
    transform: translate(1.35rem, 1.45rem) rotate(3deg) scale(0.94);
}

.post-copy .post-photo-stack:not(.is-inline-browsing) > .dust-frame-layer:nth-child(n + 4) {
    display: none;
}

.post-copy .post-photo-stack .dust-frame:first-child {
    z-index: 3;
}

.post-copy .post-photo-stack .dust-frame-layer img {
    cursor: zoom-in;
}

.post-copy .preview-photo-stack {
    min-height: 0;
}

.post-media-nav {
    position: absolute;
    z-index: 7;
    right: auto;
    bottom: 0.45rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 220ms ease;
}

.post-photo-stack:hover .post-media-nav,
.post-photo-stack:focus-within .post-media-nav {
    opacity: 1;
}

.post-media-nav-button {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 232 177 / 70%);
    border-radius: 50%;
    color: #fff3c9;
    background: rgb(55 31 49 / 78%);
    box-shadow: inset 0 1px rgb(255 255 255 / 25%);
    font-size: 0.76rem;
    pointer-events: auto;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.post-media-nav-button:hover,
.post-media-nav-button:focus-visible {
    background: rgb(127 70 59 / 92%);
    outline: 0;
    transform: scale(1.08);
}

.post-photo-stack.is-inline-browsing > .dust-frame:not(.is-inline-active) {
    display: none;
}

.post-photo-stack.is-inline-browsing > .dust-frame.is-inline-active {
    position: relative;
    inset: auto;
    z-index: 3;
    transform: rotate(1.4deg);
}

@media (hover: none) {
    .post-media-nav {
        opacity: 1;
    }
}

.post-media-counts {
    position: absolute;
    z-index: 6;
    top: -0.55rem;
    right: -0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.post-photo-count {
    display: inline-flex;
    min-width: 2.15rem;
    height: 2.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0 0.45rem;
    border: 1px solid rgb(255 225 165 / 72%);
    border-radius: 999px;
    color: #ffe7ae;
    background: #6f3e35;
    box-shadow: 0 0.3rem 0.7rem rgb(62 35 29 / 28%), inset 0 1px rgb(255 242 201 / 32%);
    font: 800 0.72rem/1 var(--font-body, Manrope, sans-serif);
}

.post-photo-count i {
    font-size: 0.88rem;
    line-height: 1;
}

.post-copy h3 {
    max-width: none;
    margin-bottom: 0.45rem;
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.04;
}

.post-copy .post-meta {
    margin-bottom: 1rem;
}

.post-copy .post-body,
.post-copy .post-body p {
    max-width: none;
}

.post-copy .post-body {
    margin-top: 1rem;
    padding: 0;
    border-top: 0;
}

.post-inline-toggle {
    display: inline-grid;
    width: 1.85rem;
    height: 1.3rem;
    min-height: 0;
    margin: 0;
    padding: 0 0 0.14rem;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #7a4b37;
    background: rgb(255 232 184 / 34%);
    box-shadow: inset 0 1px rgb(255 246 223 / 28%);
    font: inherit;
    font-size: 0.82em;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
    cursor: pointer;
}

.post-inline-toggle:hover,
.post-inline-toggle:focus-visible {
    color: #fff0c6;
    background: rgb(146 82 56 / 86%);
    outline: 1px solid rgb(111 67 43 / 42%);
    outline-offset: 0.12rem;
}

@media (max-width: 800px) {
    .journal > .post-featured,
    .journal > .post-list {
        width: calc(100% - var(--timeline-indent));
    }

    .post-copy .dust-frame {
        float: none;
        width: min(100%, 420px);
        margin: 0 auto 1.35rem;
    }

    .post-copy .post-photo-stack {
        float: none;
        width: min(100%, 420px);
        min-height: 0;
        margin: 0 auto 1.35rem;
    }

    .post-copy .post-photo-stack .dust-frame-layer {
        position: absolute;
    }
}

/* Center the journal and add compact/preview/full post states. */
.journal-collapse-all {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem var(--timeline-indent);
    padding: 0.42rem 0.7rem;
    border: 1px solid rgb(118 75 48 / 38%);
    border-radius: 999px;
    color: #70402e;
    background: rgb(255 232 184 / 24%);
    font: 600 0.68rem/1 var(--font-body);
    letter-spacing: 0.07em;
    cursor: pointer;
}

.journal-collapse-all:hover,
.journal-collapse-all:focus-visible {
    color: #fff0c6;
    background: #9a5738;
}

.post.is-collapsed {
    min-height: 0;
    cursor: pointer;
}

.post.is-collapsed > p:not(.post-meta) {
    display: none !important;
}

.post.is-collapsed .post-body {
    max-height: 7.2rem;
    overflow: hidden;
}

.post.is-collapsed .post-copy {
    min-height: 0;
}

.post.is-collapsed h3 {
    display: -webkit-box;
    max-width: 75ch;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


.post.is-expanded .post-inline-toggle {
    display: none;
}

.post-inline-toggle {
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: 0;
    left: 0;
    margin: 0;
}

.post-collapse {
    width: 2rem;
    height: 2rem;
    margin-top: 1.4rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #70402e;
    background: rgb(255 232 184 / 45%);
    font-size: 1.05rem;
    line-height: 1;
}

.post-collapse:hover,
.post-collapse:focus-visible {
    color: #fff0c6;
    background: #9a5738;
}

@media (min-width: 801px) {
    .journal {
        --centered-post-width: 1080px;
        --timeline-indent: 3.8rem;
    }

    .journal::after {
        left: calc(50% - 540px);
    }

    .journal > .post-featured,
    .journal > .post-list {
        width: min(calc(100% - 2rem), var(--centered-post-width));
        margin-right: auto;
        margin-left: auto;
        padding-left: var(--timeline-indent);
        box-sizing: border-box;
    }

    .post-featured::before,
    .post-list .post::before {
        left: -0.45rem;
    }

    .post-featured::after,
    .post-list .post::after {
        left: 0.45rem;
        width: calc(var(--timeline-indent) - 0.45rem);
    }

    .journal-collapse-all {
        margin-left: max(1rem, calc(50% - 540px));
    }
}

.post-featured > .post-copy {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* One card per entry; the timeline lives outside the card. */
.post-featured,
.post-list .post {
    min-height: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.post-featured > .post-copy,
.post-list .post > .post-copy {
    display: block;
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
    background: rgb(238 210 165 / 46%);
    border: 1px solid rgb(111 67 43 / 42%);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 0.7rem 1.4rem rgb(84 48 31 / 10%), inset 0 1px rgb(255 236 198 / 28%);
}

.post-list {
    gap: 1.35rem;
}

.post-list .post {
    border-bottom: 0;
}

.post-copy .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0 0 0.95rem;
}

.post-author,
.post-date {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.08rem 0.48rem;
    border: 1px solid rgb(118 75 48 / 37%);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1;
}

.post-author {
    color: #70402e;
    background: rgb(255 232 184 / 55%);
}

.post-date {
    color: #7d5740;
    background: rgb(220 190 146 / 42%);
}

.post-copy .post-text {
    position: relative;
    max-width: none;
    margin: 0;
}

.post-copy .post-body {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.post-copy .post-body[hidden] {
    display: none;
}

.post-copy .post-collapse {
    margin-top: 1.15rem;
}

.post.is-collapsed .post-copy {
    padding: 1rem clamp(1.15rem, 2.4vw, 1.55rem);
}

.journal-pagination {
    display: flex;
    gap: 0.38rem;
    align-items: center;
    justify-content: center;
    width: min(calc(100% - var(--timeline-indent)), 980px);
    margin: 2rem auto 0;
    padding-left: var(--timeline-indent);
    box-sizing: border-box;
}

.page-number,
.page-arrow {
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border: 1px solid rgb(111 67 43 / 38%);
    border-radius: 50%;
    color: #70402e;
    background: rgb(255 232 184 / 26%);
    font: 700 0.76rem/1 var(--font-body);
    cursor: pointer;
}

.page-number:hover,
.page-number:focus-visible,
.page-arrow:not(:disabled):hover,
.page-arrow:not(:disabled):focus-visible,
.page-number.is-current {
    color: #fff0c6;
    background: #925238;
    outline: 0;
}

.page-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.page-gap {
    color: #70402e;
    font-weight: 700;
}

@media (min-width: 801px) {
    .journal > .post-featured {
        padding: 0 0 0 var(--timeline-indent);
    }

    .journal > .post-list {
        padding-left: 0;
    }

    .post-list .post {
        padding-left: var(--timeline-indent);
    }
}

/* Final journal geometry: every node is anchored to the same rope. */
.post-featured,
.post-list .post {
    outline: 0;
}

.post-featured {
    margin-bottom: 1.35rem;
}

.post-featured::before,
.post-list .post::before {
    top: 1.85rem;
}


.post-copy .post-text,
.post-copy .post-body {
    color: #3f2d25;
    font-family: var(--font-body);
    font-weight: 500;
}

.post-copy .post-body strong,
.post-copy .post-body b {
    font-weight: 700;
}

.post-copy .post-body em,
.post-copy .post-body i {
    font-style: italic;
}

.post-copy .post-body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.post-featured::after,
.post-list .post::after {
    top: 2.3rem;
}

@media (min-width: 801px) {
    .post-featured::before,
    .post-list .post::before {
        left: 0;
        transform: translateX(-50%);
    }

    .post-featured::after,
    .post-list .post::after {
        left: 0;
        width: var(--timeline-indent);
    }
}

.post-featured > div.post-copy:last-child {
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
    border: 1px solid rgb(111 67 43 / 42%);
    border-radius: 14px;
    background: rgb(238 210 165 / 46%);
    box-shadow: 0 0.7rem 1.4rem rgb(84 48 31 / 10%), inset 0 1px rgb(255 236 198 / 28%);
}

.post-copy .post-text,
.post-copy .post-text > .post-body {
    color: #3f2d25;
    font-family: var(--font-body);
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
}

.post.is-collapsed .post-text {
    display: block;
    padding-bottom: 1.65rem;
}

.post-copy h3,
.post-list .post h3 {
    max-width: none;
    margin-bottom: 0.55rem;
    color: #6c4535;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.08;
    text-shadow: 0.03em 0.04em 0 rgb(255 225 165 / 52%);
}

.post-collapse[hidden] {
    display: none !important;
}

.post-copy .post-body {
    white-space: pre-wrap;
}

.post-collapse {
    border-color: rgb(111 67 43 / 48%);
    box-shadow: 0 0.25rem 0.55rem rgb(84 48 31 / 14%), inset 0 1px rgb(255 236 198 / 38%);
}

.post-collapse > span:first-child {
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    font-size: 0;
    transform: rotate(45deg) translate(0.08rem, 0.08rem);
}

.post-featured > .post-copy,
.post-list .post > .post-copy,
.post.is-collapsed .post-copy {
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.post.is-collapsed .post-meta {
    margin-bottom: 0.95rem;
}

@media (max-width: 800px) {
    html,
    body {
        min-width: 400px;
    }

    .journal {
        --timeline-indent: 0;
        padding: 2rem 0.75rem 3rem;
    }

    .journal::after {
        display: none;
    }

    .journal > .post-featured,
    .journal > .post-list {
        width: 100%;
        margin: 0;
    }

    .post-featured::before,
    .post-list .post::before {
        display: none;
    }

    .post-featured::after,
    .post-list .post::after {
        display: none;
    }

    .post-list .post {
        padding-left: 0;
    }

    .journal-pagination {
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 800px) {
    .title-plane {
        top: 18%;
        bottom: auto;
        left: 0.75rem;
        width: calc(100vw - 1.5rem);
    }

    .hero-title {
        font-size: clamp(2.3rem, 10vw, 4.2rem);
    }

    .hero-controls {
        top: 18%;
        right: 0.75rem;
        width: min(11.5rem, calc(100vw - 1.5rem));
    }

    .event-label {
        font-size: 0.48rem;
    }

    .event-countdown strong {
        font-size: clamp(1rem, 5.8vw, 1.85rem);
    }
}

@media (max-width: 800px) {
    .photo-modal {
        --photo-modal-rail-offset: 5.15rem;
        align-items: stretch;
        justify-items: center;
        padding: 0.75rem 0.75rem 7.75rem;
        overflow: hidden;
    }

    .photo-modal-figure {
        width: 100%;
        max-width: calc(100vw - 1.5rem);
        height: 100%;
        max-height: none;
        overflow: hidden;
        touch-action: pan-y;
    }

    .photo-modal:not(.is-video) .photo-modal-figure {
        touch-action: none;
    }

    .photo-modal-figure > img,
    .photo-modal-figure > video,
    .photo-modal-figure > iframe {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .photo-modal-figure.is-image-zoomed > img {
        will-change: transform;
    }

    .photo-modal-figure.is-image-panning > img {
        cursor: grabbing;
    }

    .photo-modal.is-video .photo-modal-figure {
        width: 100%;
    }

    .photo-modal-nav {
        top: auto;
        bottom: var(--photo-modal-rail-offset);
        width: 2.65rem;
        height: 2.65rem;
        background: rgb(64 37 66 / 58%);
        box-shadow: 0 0.35rem 0.9rem rgb(0 0 0 / 30%);
        opacity: 0.68;
        transform: none;
    }

    .photo-modal-nav:hover,
    .photo-modal-nav:focus-visible,
    .photo-modal-nav:active {
        opacity: 1;
    }

    .photo-modal-prev {
        left: calc(50% - 5.35rem);
    }

    .photo-modal-next {
        right: calc(50% - 5.35rem);
    }

    .photo-modal-counter {
        bottom: calc(var(--photo-modal-rail-offset) + 0.5rem);
    }

    .photo-modal-thumbs {
        bottom: max(0.65rem, env(safe-area-inset-bottom));
        max-width: calc(100vw - 1.5rem);
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .photo-modal-thumb {
        scroll-snap-align: center;
    }
}

@media (max-width: 800px) {
    .post-featured {
        margin: 0 0 1rem !important;
    }

    .post-list {
        gap: 1rem !important;
    }

    .post-list .post {
        margin: 0;
    }

}

/* Keep one stable block for clipping: inline [img] media never changes text flow. */
.post-copy .post-body:not([hidden]) {
    display: block !important;
    clear: none;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: pre-wrap;
}

.post-inline-toggle[hidden] {
    display: none !important;
}

/* Account access and author studio. */
.journal-account {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: min(100% - 2rem, 980px);
    margin: 0 auto 0.85rem;
    padding-left: var(--timeline-indent, 0);
    color: #654333;
    font-family: var(--font-body, Manrope, sans-serif);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.journal-account form {
    display: contents;
}

.journal-account a,
.journal-account button,
.account-card button,
.editor-card button {
    border: 1px solid rgb(91 57 39 / 50%);
    border-radius: 999px;
    color: #5a382b;
    background: rgb(250 229 191 / 58%);
    box-shadow: 0 0.2rem 0.5rem rgb(74 44 28 / 12%), inset 0 1px rgb(255 244 218 / 48%);
    cursor: pointer;
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease;
}

.journal-account a,
.journal-account button {
    padding: 0.4rem 0.68rem;
    font: inherit;
}

.journal-account a:hover,
.journal-account button:hover,
.account-card button:hover,
.editor-card button:hover {
    background: rgb(255 239 207 / 78%);
    transform: translateY(-1px);
}

.journal-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.journal-login i,
.provider-link i,
.provider-status i {
    margin-right: 0.3rem;
}

.journal-login-telegram {
    color: #176b9c !important;
}

.journal-user {
    margin-right: auto;
}

.account-page,
.editor-page {
    min-height: 100vh;
    color: #3f2d25;
    background: #bb9167;
    font-family: var(--font-body, Manrope, sans-serif);
}

.account-shell,
.editor-shell {
    width: min(100% - 2rem, 760px);
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.account-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: #5a382b;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.account-card,
.editor-card {
    border: 1px solid rgb(99 61 40 / 42%);
    border-radius: 1rem;
    background: rgb(248 227 190 / 82%);
    box-shadow: 0 0.8rem 1.8rem rgb(74 44 28 / 18%), inset 0 1px rgb(255 244 218 / 48%);
    padding: clamp(1.25rem, 4vw, 2rem);
}

.account-eyebrow {
    margin: 0 0 0.4rem;
    color: #8a533b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-card h1,
.editor-card h1,
.editor-preview h2 {
    margin: 0 0 0.35rem;
    color: #6c4535;
    font-family: var(--font-heading, "Roboto Slab", serif);
}

.account-email,
.account-hint {
    color: #765848;
    font-size: 0.86rem;
}

.account-form,
.account-providers,
.editor-card form {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.account-providers {
    border-top: 1px solid rgb(99 61 40 / 25%);
    padding-top: 1.2rem;
}

.account-providers h2 {
    margin: 0;
    color: #6c4535;
    font-size: 1.1rem;
}

.provider-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.provider-status,
.provider-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgb(99 61 40 / 28%);
    border-radius: 999px;
    color: #5a382b;
    background: rgb(255 246 223 / 52%);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.provider-link:hover {
    background: rgb(255 239 207 / 78%);
}

.account-card input,
.editor-card input,
.editor-card select {
    width: 100%;
    min-height: 2.7rem;
    border: 1px solid rgb(99 61 40 / 35%);
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    color: #3f2d25;
    background: rgb(255 246 223 / 72%);
    font: inherit;
}

.account-card button,
.editor-card button,
.account-editor {
    justify-self: start;
    padding: 0.55rem 0.8rem;
    font: 700 0.84rem/1 var(--font-body, Manrope, sans-serif);
}

.account-editor {
    color: #5a382b;
}

.account-logout {
    margin-top: 1.25rem;
}

.editor-shell {
    width: min(100% - 2rem, 920px);
}

.editor-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.editor-nav .account-back {
    margin-bottom: 0;
}

.editor-drafts-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border: 1px solid rgb(99 61 40 / 30%);
    border-radius: 999px;
    color: #5a382b;
    background: rgb(255 246 223 / 48%);
    box-shadow: 0 0.2rem 0.5rem rgb(74 44 28 / 10%);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.editor-drafts-link:hover,
.editor-drafts-link:focus-visible {
    color: #fff4d1;
    background: #925238;
    outline: 0;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.editor-toolbar button {
    padding: 0.45rem 0.6rem;
}

.rich-editor {
    min-height: 16rem;
    border: 1px solid rgb(99 61 40 / 40%);
    border-radius: 0.7rem;
    padding: 0.9rem;
    color: #3f2d25;
    background: rgb(255 248 229 / 76%);
    font: 1rem/1.65 var(--font-body, Manrope, sans-serif);
    outline: none;
}

.rich-editor:empty::before {
    color: #947461;
    content: attr(data-placeholder);
}

.rich-editor img,
.editor-preview img {
    display: block;
    max-width: min(100%, 36rem);
    margin: 1rem 0;
    border-radius: 0.55rem;
}

.media-upload {
    display: inline-block;
    justify-self: start;
    margin-top: 0.5rem;
    color: #6c4535;
    font-size: 0.87rem;
    font-weight: 800;
    cursor: pointer;
}

.editor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.editor-submit-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.editor-submit-actions .editor-draft-button,
.editor-submit-actions .editor-publish-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.editor-submit-actions .editor-draft-button {
    color: #6c4535;
    background: rgb(255 246 223 / 72%);
}

.editor-submit-actions .editor-publish-button {
    color: #fff4d1;
    background: #925238;
}

.editor-submit-actions .editor-draft-button:hover,
.editor-submit-actions .editor-draft-button:focus-visible {
    background: #fff0c6;
    outline: 0;
}

.editor-submit-actions .editor-publish-button:hover,
.editor-submit-actions .editor-publish-button:focus-visible {
    color: #fff4d1;
    background: #6c4535;
    outline: 0;
}

.draft-list {
    display: grid;
    gap: 0.7rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.draft-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgb(99 61 40 / 24%);
    border-radius: 0.8rem;
    background: rgb(255 246 223 / 42%);
}

.draft-meta {
    margin: 0 0 0.22rem;
    color: #8a533b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.draft-item h2 {
    margin: 0;
    color: #6c4535;
    font-family: var(--font-heading, "Roboto Slab", serif);
    font-size: 1.1rem;
}

.draft-item h2 + p {
    max-width: 52rem;
    margin: 0.38rem 0 0;
    color: #765848;
    font-size: 0.86rem;
}

.draft-continue {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.7rem;
    border: 1px solid rgb(99 61 40 / 32%);
    border-radius: 999px;
    color: #6c4535;
    background: rgb(255 246 223 / 66%);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.draft-continue:hover,
.draft-continue:focus-visible {
    color: #fff4d1;
    background: #925238;
    outline: 0;
}

.draft-empty {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding: 1.1rem;
    border: 1px dashed rgb(99 61 40 / 32%);
    border-radius: 0.8rem;
    color: #765848;
    background: rgb(255 246 223 / 34%);
}

.draft-empty > i {
    color: #a65335;
    font-size: 1.5rem;
}

.draft-empty p {
    max-width: 40rem;
    margin: 0;
}

.editor-preview {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    background: rgb(47 29 43 / 32%);
    backdrop-filter: brightness(82%) saturate(86%) blur(1px);
}

.editor-preview[hidden] {
    display: none !important;
}

.editor-preview-panel {
    --editor-preview-padding: clamp(1rem, 2.5vw, 1.5rem);
    position: relative;
    z-index: 1;
    width: min(100%, 54rem);
    max-height: min(86vh, 52rem);
    overflow: auto;
    scrollbar-color: rgb(111 67 43 / 42%) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    padding: var(--editor-preview-padding);
    border: 1px solid rgb(99 61 40 / 42%);
    border-radius: 1.1rem;
    background: #e7bd82;
    box-shadow: 0 1.2rem 3.2rem rgb(35 20 32 / 38%);
}

.editor-preview-panel::-webkit-scrollbar {
    width: 0.42rem;
}

.editor-preview-panel::-webkit-scrollbar-track {
    background: transparent;
}

.editor-preview-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(111 67 43 / 38%);
}

.editor-preview-panel::-webkit-scrollbar-thumb:hover {
    background: rgb(111 67 43 / 56%);
}

.editor-preview-header {
    position: sticky;
    z-index: 2;
    top: calc(0rem - var(--editor-preview-padding));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: calc(0rem - var(--editor-preview-padding));
    margin-bottom: 0;
    padding: var(--editor-preview-padding);
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgb(99 61 40 / 20%);
    border-radius: 1rem 1rem 0 0;
    background: #e7bd82;
    box-shadow: 0 0.45rem 0.7rem rgb(231 189 130 / 94%);
}

.editor-preview-header .account-eyebrow {
    margin: 0;
}

.editor-preview-close {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    place-items: center;
    border: 1px solid rgb(99 61 40 / 32%) !important;
    border-radius: 50%;
    color: #6c4535 !important;
    background: rgb(255 246 223 / 78%) !important;
    box-shadow: 0 0.15rem 0.35rem rgb(74 44 28 / 12%) !important;
    font-size: 0.84rem;
}

.editor-preview-close:hover,
.editor-preview-close:focus-visible {
    color: #fff4d1 !important;
    background: #6c4535 !important;
    outline: 0;
}

.post-preview-card {
    display: block;
    min-height: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgb(104 43 79 / 22%);
    border-radius: 0.85rem;
    background: rgb(255 246 223 / 72%);
    box-shadow: 0 0.8rem 1.7rem rgb(76 45 31 / 14%), inset 0 1px 0 rgb(255 230 176 / 48%);
}

.post-preview-card .post-copy {
    max-width: none;
}

.post-preview-card .post-meta {
    margin-bottom: 0.95rem;
}

.post-preview-card .post-title-line h3 {
    text-align: left;
}

.post-preview-card .post-body {
    display: block;
}

.preview-empty {
    margin: 0;
    color: #765848;
    font-style: italic;
}

.post-preview-engagement {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgb(99 61 40 / 18%);
}

.post-preview-engagement span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #765848;
    font-size: 0.88rem;
    font-weight: 800;
}

.post-preview-engagement .bi-heart-fill {
    color: #be5a64;
}

.post-preview-engagement .bi-chat-square-text {
    color: #8a604c;
}

body.has-editor-preview,
body.has-editor-result {
    overflow: hidden;
}

body.has-editor-preview .editor-card,
body.has-editor-preview #post-editor-form {
    visibility: visible;
    opacity: 1;
}

body.has-editor-preview #post-editor-form {
    display: grid;
}

.editor-result[hidden] {
    display: none !important;
}

.editor-result {
    position: fixed;
    z-index: 130;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(47 29 43 / 48%);
    backdrop-filter: blur(3px) saturate(90%);
}

.editor-result-panel {
    position: relative;
    width: min(100%, 32rem);
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border: 1px solid rgb(99 61 40 / 42%);
    border-radius: 1.1rem;
    color: #4f352a;
    background: #e7bd82;
    box-shadow: 0 1.4rem 4rem rgb(35 20 32 / 42%);
    text-align: center;
}

.editor-result-icon {
    display: block;
    margin-bottom: 0.7rem;
    color: #41613d;
    font-size: 2.8rem;
}

.editor-result[data-tone="error"] .editor-result-icon {
    color: #9a4938;
}

.editor-result-panel h2 {
    margin: 0 0 0.55rem;
    color: #6c4535;
    font-family: var(--font-heading, "Roboto Slab", serif);
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.editor-result-panel p:not(.account-eyebrow) {
    margin: 0;
    color: #765848;
    line-height: 1.55;
}

.editor-result-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgb(99 61 40 / 32%);
    border-radius: 50%;
    color: #6c4535;
    background: rgb(255 246 223 / 72%);
    cursor: pointer;
}

.editor-result-close:hover,
.editor-result-close:focus-visible {
    color: #fff4d1;
    background: #6c4535;
    outline: 0;
}

.editor-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.editor-result-actions > a,
.editor-result-actions > button {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgb(111 67 43 / 34%);
    border-radius: 999px;
    font: 700 0.76rem/1 var(--font-body, Manrope, sans-serif);
    text-decoration: none;
    cursor: pointer;
}

.editor-result-actions .editor-publish-button {
    color: #fff4d1;
    background: #925238;
}

.editor-result-actions .editor-draft-button {
    color: #6c4535;
    background: rgb(255 246 223 / 72%);
}

.editor-result-actions > [hidden] {
    display: none;
}

@media (max-width: 680px) {
    .editor-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .editor-submit-actions {
        width: 100%;
        justify-content: stretch;
    }

    .editor-submit-actions button {
        flex: 1 1 12rem;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .draft-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .journal-account {
        width: 100%;
        padding-left: 0;
    }
}

.post-rendered {
    display: block;
    white-space: normal;
}

.post-rendered p {
    margin: 0 0 0.9rem;
}

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

.post-rendered img:not(.twemoji) {
    float: none;
    max-height: 22rem;
    margin: 0.75rem 0 1rem;
    border: 0;
    border-radius: 0.35rem;
    box-shadow: none;
    object-fit: contain;
    background: #ead7b4;
    cursor: zoom-in;
}

.post-rendered img:not(.twemoji):not([width]):not([height]) {
    width: min(48%, 22rem);
}

.post-edit {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    margin-left: 0.05rem;
    place-items: center;
    border: 1px solid rgb(166 83 53 / 62%);
    border-radius: 50%;
    color: #fff0c6;
    background: #a65335;
    box-shadow: 0 0.2rem 0.45rem rgb(84 48 31 / 20%);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.post-edit:hover,
.post-edit:focus-visible {
    color: #fff0c6;
    background: #925238;
    outline: 0;
    transform: translateY(-1px);
}

@media (max-width: 800px) {
    .post-rendered img:not(.twemoji):not([width]):not([height]) {
        width: min(58%, 19rem);
    }
}

/* UI alignment overrides. */

/* Final composition: keep the post cards centered and move the rope to their left. */
.journal-account {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 2rem), var(--centered-post-width, 1080px));
    margin: 0 auto 0.85rem;
    padding-left: 0;
    box-sizing: border-box;
    justify-content: flex-start;
}

.journal-user {
    margin-right: 0;
}

.journal-account form {
    display: contents;
}

.journal-logout {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    place-items: center;
    font-size: 0.95rem !important;
}

.journal-logout i {
    line-height: 1;
}

.journal-login-actions {
    justify-content: flex-start;
}

@media (min-width: 801px) {
    .journal > .post-featured,
    .journal > .post-list {
        width: min(calc(100% - 2rem), var(--centered-post-width));
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
    }

    .journal > .post-list {
        padding-left: 0;
    }

    .post-list .post {
        padding-left: 0;
    }

    .journal::after {
        left: max(1rem, calc(50% - (var(--centered-post-width) / 2) - var(--timeline-indent)));
    }

    .post-featured::before,
    .post-list .post::before {
        left: calc(-1 * var(--timeline-indent));
    }

    .post-featured::after,
    .post-list .post::after {
        left: calc(-1 * var(--timeline-indent));
        width: var(--timeline-indent);
    }

    .journal-pagination {
        width: min(calc(100% - 2rem), var(--centered-post-width));
        padding-left: 0;
    }
}

/* Compact account identity with hover editing and a clean action row. */
.account-name-block {
    margin-bottom: 1.2rem;
}

.account-name-line {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    align-items: flex-start;
}

.account-card h1 {
    max-width: min(100%, 30ch);
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2.8rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
}

.account-name-edit {
    position: absolute;
    top: -0.3rem;
    right: -1.7rem;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0 !important;
    border: 0 !important;
    color: #8a533b !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0;
    transform: translateY(0.2rem);
    transition: opacity 150ms ease, transform 150ms ease, color 150ms ease;
}

.account-name-form[hidden],
.account-name-edit[hidden],
#profile-name-display[hidden] {
    display: none;
}

.account-name-line:hover .account-name-edit,
.account-name-line:focus-within .account-name-edit,
.account-name-edit:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.account-name-edit:hover,
.account-name-edit:focus-visible {
    color: #5a382b !important;
    outline: 0;
}

.account-name-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.account-name-form input {
    flex: 1 1 auto;
    min-width: 0;
}

.account-name-form button {
    display: inline-grid;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0 !important;
    place-items: center;
}

.account-name-form button:hover {
    transform: translateY(-1px);
}

.account-providers {
    gap: 0.7rem;
    margin-top: 0;
}

.provider-list {
    gap: 0.45rem;
}

.provider-status,
.provider-link {
    padding: 0.43rem 0.62rem;
    font-size: 0.78rem;
}

.account-hint {
    margin: 0;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgb(99 61 40 / 25%);
}

.account-actions form {
    margin: 0;
}

.account-editor,
.account-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0;
}

.account-editor i,
.account-logout i {
    font-size: 0.95rem;
}

@media (max-width: 800px) {
    .journal-account {
        width: 100%;
    }

    .account-name-edit {
        right: -1.35rem;
        opacity: 1;
        transform: none;
    }
}
/* Editor pass: calm hierarchy, emoji picker, and a real image dropzone. */
.editor-heading {
    margin-bottom: 1.35rem;
}

.editor-card h1 {
    max-width: 26ch;
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.editor-lead {
    max-width: 42rem;
    margin: 0.55rem 0 0;
    color: #765848;
    font-size: 0.9rem;
}

.editor-card form {
    gap: 0.75rem;
}

.editor-field {
    display: grid;
    gap: 0.35rem;
}


.editor-toolbar {
    position: sticky;
    z-index: 10;
    top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.4rem;
    border: 1px solid rgb(99 61 40 / 24%);
    border-radius: 0.75rem;
    background: rgb(255 246 223 / 38%);
}

.editor-toolbar button {
    display: inline-grid;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    place-items: center;
    color: #6c4535;
    font-size: 0.95rem;
}

.editor-toolbar button:hover,
.editor-toolbar button:focus-visible,
.emoji-categories button.is-active {
    color: #fff4d1;
    background: #925238;
    outline: 0;
}

.emoji-picker {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.45rem);
    left: 8.7rem;
    width: min(22rem, calc(100vw - 3rem));
    padding: 0.7rem;
    border: 1px solid rgb(99 61 40 / 42%);
    border-radius: 0.85rem;
    background: #f8e3be;
    box-shadow: 0 0.9rem 2rem rgb(74 44 28 / 22%), inset 0 1px rgb(255 244 218 / 62%);
}

.emoji-picker[hidden],
.editor-status[hidden] {
    display: none;
}

.emoji-picker-topline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.emoji-search {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0 0.6rem;
    border: 1px solid rgb(99 61 40 / 25%);
    border-radius: 999px;
    color: #8a604c;
    background: rgb(255 246 223 / 72%);
}

.emoji-search input {
    width: 100%;
    min-height: 1.9rem;
    border: 0;
    padding: 0;
    color: #3f2d25;
    background: transparent;
    font: inherit;
    outline: 0;
}

.emoji-close {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    place-items: center;
}

.emoji-categories {
    display: flex;
    gap: 0.2rem;
    margin: 0.55rem 0;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgb(99 61 40 / 18%);
}

.emoji-categories button {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0.45rem;
    color: #6c4535;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.18rem;
    max-height: 13rem;
    overflow-y: auto;
}

.emoji-option {
    display: inline-grid;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0.42rem;
    color: #3f2d25;
    background: transparent;
    cursor: pointer;
    font-size: 1.32rem;
}

.emoji-option:hover,
.emoji-option:focus-visible {
    background: rgb(166 83 53 / 18%);
    outline: 0;
    transform: scale(1.08);
}

.emoji-empty {
    grid-column: 1 / -1;
    margin: 0.8rem 0;
    color: #765848;
    font-size: 0.8rem;
    text-align: center;
}

.media-workbench {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(99 61 40 / 22%);
}

.media-workbench-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.media-workbench-heading .account-eyebrow,
.media-workbench-heading .account-hint {
    margin: 0;
}

.media-workbench-heading > i {
    color: #a65335;
    font-size: 1.45rem;
}

.media-dropzone {
    display: grid;
    min-height: 9rem;
    place-items: center;
    align-content: center;
    gap: 0.3rem;
    padding: 1.1rem;
    border: 1px dashed rgb(137 76 48 / 54%);
    border-radius: 0.85rem;
    color: #765848;
    background: rgb(255 246 223 / 32%);
    cursor: pointer;
    text-align: center;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.media-dropzone > i {
    color: #a65335;
    font-size: 1.8rem;
}

.media-dropzone strong {
    color: #6c4535;
    font-size: 0.9rem;
}

.media-dropzone span {
    font-size: 0.75rem;
}

.media-dropzone.is-dragging,
.media-dropzone:hover,
.media-dropzone:focus-visible {
    border-color: #a65335;
    background: rgb(255 232 184 / 58%);
    outline: 0;
    transform: translateY(-1px);
}

.media-dropzone.is-uploading {
    cursor: progress;
    opacity: 0.68;
}

.media-select {
    margin-top: 0.35rem;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgb(99 61 40 / 38%);
    border-radius: 999px;
    color: #6c4535;
    background: rgb(255 246 223 / 65%);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.media-select:hover {
    background: #fff0c6;
}

.editor-status {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgb(99 61 40 / 24%);
    border-radius: 0.55rem;
    color: #765848;
    background: rgb(255 246 223 / 45%);
    font-size: 0.8rem;
}

.editor-status[data-tone="success"] {
    color: #41613d;
    background: rgb(205 225 178 / 48%);
}

.editor-status[data-tone="error"] {
    color: #8a3f35;
    background: rgb(246 201 180 / 50%);
}

.media-list {
    display: grid;
    gap: 0.55rem;
}

.youtube-media-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgb(147 48 48 / 25%);
    border-radius: 0.65rem;
    background: rgb(255 246 223 / 34%);
}

.youtube-media-control label,
.youtube-media-control button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font: 800 0.72rem/1 var(--font-body, Manrope, sans-serif);
}

.youtube-media-control label {
    color: #a34242;
}

.youtube-media-control input {
    min-width: 0;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgb(99 61 40 / 25%);
    border-radius: 0.45rem;
    color: #583b32;
    background: rgb(255 251 238 / 74%);
    font: 500 0.78rem/1.25 var(--font-body, Manrope, sans-serif);
}

.youtube-media-control button {
    padding: 0.46rem 0.62rem;
    border: 1px solid rgb(161 61 61 / 36%);
    border-radius: 999px;
    color: #fff1d0;
    background: #a34242;
    cursor: pointer;
}

.youtube-media-control button:hover,
.youtube-media-control button:focus-visible {
    background: #7f3436;
    outline: 0;
}

.youtube-media-control p {
    grid-column: 2 / -1;
    margin: -0.1rem 0 0;
    color: #806153;
    font-size: 0.7rem;
}

.media-drag-handle {
    align-self: stretch;
    display: grid;
    min-width: 1rem;
    place-items: center;
    border-radius: 0.35rem;
    color: #9a735f;
    cursor: grab;
    font-size: 1.05rem;
    touch-action: none;
    user-select: none;
}

.media-drag-handle:focus-visible,
.media-drag-handle:hover {
    color: #6f4434;
    background: rgb(255 232 184 / 48%);
    outline: 0;
}

.media-item.is-dragging {
    border-color: rgb(146 82 56 / 58%);
    box-shadow: 0 0.45rem 1.1rem rgb(91 54 39 / 18%);
    opacity: 0.6;
}

.media-item {
    display: grid;
    grid-template-columns: 1.45rem 4.5rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid rgb(99 61 40 / 22%);
    border-radius: 0.65rem;
    background: rgb(255 246 223 / 38%);
}

.media-item img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.4rem;
    object-fit: cover;
}

.media-item img[data-insert-syntax] {
    cursor: copy;
    transition: box-shadow 150ms ease, transform 150ms ease;
}

.media-item img[data-insert-syntax]:hover,
.media-item img[data-insert-syntax]:focus-visible {
    box-shadow: 0 0 0 0.16rem rgb(146 82 56 / 26%);
    outline: 0;
    transform: translateY(-1px);
}

.media-item-pending {
    border-style: dashed;
    opacity: 0.78;
}

.media-item-pending img {
    filter: saturate(0.72);
}

.media-uploading-label {
    color: #8a533b;
    font-size: 0.78rem;
    font-weight: 700;
}

.media-item-details {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

.media-item-details strong,
.media-item-details code {
    overflow: hidden;
    color: #6c4535;
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-item-details code {
    color: #765848;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.media-copy-syntax {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.45rem;
    border: 0;
    border-radius: 999px;
    color: #8a533b;
    background: rgb(255 232 184 / 48%);
    cursor: pointer;
    font: 700 0.68rem/1 var(--font-body, Manrope, sans-serif);
}

.media-copy-syntax:hover,
.media-copy-syntax[data-copied="true"] {
    color: #fff0c6;
    background: #925238;
}

.media-syntax-hint code {
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
    color: #6c4535;
    background: rgb(255 246 223 / 58%);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.76em;
}

.editor-actions button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 800px) {
    .emoji-picker {
        left: 0;
    }

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

    .media-item {
        grid-template-columns: 1.2rem 3.8rem minmax(0, 1fr);
    }

    .media-item img {
        width: 3.8rem;
        height: 3.8rem;
    }
}


/* Public post interactions and media actions. */
.post-featured,
.post-list .post {
    cursor: default;
}
.post.is-collapsed {
    cursor: default;
}

.post-title-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.post-title-line h3 {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.post-copy .post-body.post-rendered:not([hidden]) {
    display: block !important;
    white-space: pre-wrap;
}

.post-engagement {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    min-height: 2.35rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    clear: both;
    margin-top: 1.35rem;
    padding-top: 0;
}

.post-reactions {
    display: flex;
    flex-wrap: wrap;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.35rem;
}

.post-engagement > .post-reactions,
.post-engagement > .reaction-picker {
    flex: 0 0 auto;
    align-self: center;
}

.reaction-button,
.comments-toggle,
.reaction-picker-trigger {
    display: inline-flex;
    height: 2.35rem;
    min-height: 2.35rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.3rem 0.58rem;
    border: 1px solid rgb(111 67 43 / 28%);
    border-radius: 999px;
    color: #79503c;
    background: rgb(255 246 223 / 92%);
    cursor: pointer;
    font: 700 0.78rem/1 var(--font-body, Manrope, sans-serif);
    transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.reaction-button:hover,
.reaction-button:focus-visible,
.comments-toggle:hover,
.comments-toggle:focus-visible,
.reaction-picker-trigger:hover,
.reaction-picker-trigger:focus-visible {
    color: #fff0c6;
    background: #925238;
    outline: 0;
    transform: translateY(-1px);
}

.reaction-button:disabled {
    cursor: default;
}

.reaction-emoji {
    display: inline-grid;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    line-height: 1;
}

.reaction-emoji .twemoji,
.emoji-option .twemoji,
.emoji-categories .twemoji {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.emoji-option .twemoji {
    width: 1.36rem;
    height: 1.36rem;
}

.emoji-categories .twemoji {
    width: 1rem;
    height: 1rem;
}

.comments-toggle > i {
    display: block;
    flex: 0 0 auto;
    font-size: 1.08rem;
    line-height: 1;
}

.reaction-button.is-active {
    border-color: #925238;
    color: #79503c;
    background: rgb(255 246 223 / 92%);
    transform: none;
}

.reaction-button span,
.comments-toggle span {
    min-width: 0.65rem;
    text-align: center;
}

.reaction-picker {
    position: relative;
    display: inline-flex;
    height: 2.35rem;
    align-items: center;
}

.reaction-picker-trigger {
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
}

.reaction-picker-trigger:disabled {
    cursor: default;
    opacity: 0.5;
}

.reaction-picker-trigger > i {
    display: block;
    font-size: 1.08rem;
    line-height: 1;
}

.reaction-menu {
    position: absolute;
    z-index: 8;
    bottom: calc(100% + 0.45rem);
    left: 0;
    display: flex;
    gap: 0.25rem;
    padding: 0.38rem;
    border: 1px solid rgb(111 67 43 / 30%);
    border-radius: 0.8rem;
    background: rgb(255 246 223 / 96%);
    box-shadow: 0 0.7rem 1.4rem rgb(84 48 31 / 22%);
}

.reaction-menu[hidden] {
    display: none;
}

.reaction-option {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 0;
    border-radius: 0.55rem;
    color: #79503c;
    background: transparent;
    cursor: pointer;
    font-size: 1.12rem;
}

.reaction-option:hover,
.reaction-option:focus-visible {
    background: rgb(166 83 53 / 15%);
    outline: 0;
    transform: translateY(-1px);
}

.interaction-status {
    position: absolute;
    z-index: 12;
    top: var(--status-top, 50%);
    right: auto;
    bottom: auto;
    left: var(--status-left, 3rem);
    max-width: min(22rem, calc(100vw - 2rem));
    margin: 0;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgb(111 67 43 / 22%);
    border-radius: 0.72rem;
    color: #765848;
    background: rgb(244 224 188 / 92%);
    box-shadow: 0 0.35rem 0.8rem rgb(84 48 31 / 14%);
    font-size: 0.75rem;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    transform: translateY(-50%);
}

.interaction-status::after {
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: -0.31rem;
    width: 0.58rem;
    height: 0.58rem;
    border-bottom: 1px solid rgb(111 67 43 / 22%);
    border-left: 1px solid rgb(111 67 43 / 22%);
    background: rgb(244 224 188 / 92%);
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.interaction-status[hidden] {
    display: none !important;
}

.interaction-status[data-tone="success"] {
    color: #41613d;
}

.interaction-status[data-tone="error"] {
    color: #79503c;
}

.comments-rail {
    position: relative;
    z-index: 3;
    clear: both;
    width: 100%;
    margin-top: -1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.comments-rail-toggle {
    width: 100%;
    min-height: 2.55rem;
    justify-content: flex-start;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgb(111 67 43 / 42%);
    border-top: 0;
    border-radius: 0 0 0.85rem 0.85rem;
    color: #79503c;
    background: rgb(238 210 165 / 54%);
    text-align: left;
}

.comments-rail-toggle[aria-expanded="true"] {
    border-bottom: 0;
    border-radius: 0;
    background: rgb(238 210 165 / 62%);
}

.comments-rail-toggle i {
    color: #925238;
    font-size: 1.12rem;
}

.comments-rail-toggle:hover,
.comments-rail-toggle:focus-visible {
    color: #fff0c6;
    background: #925238;
}

.comments-rail-toggle:hover i,
.comments-rail-toggle:focus-visible i {
    color: #fff0c6;
}

.comments-label {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.comments-count {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 1.3rem;
    min-width: 1.4rem !important;
    margin-left: 0.18rem;
    padding: 0 0.42rem;
    border: 1px solid rgb(111 67 43 / 25%);
    border-radius: 999px;
    color: #79503c;
    background: rgb(255 232 184 / 60%);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.comments-rail-toggle:hover .comments-count,
.comments-rail-toggle:focus-visible .comments-count {
    color: #925238;
    background: #fff0c6;
}

.comments-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    clear: both;
    margin: 0;
    padding: 0.85rem;
    border: 1px solid rgb(111 67 43 / 42%);
    border-top: 1px solid rgb(111 67 43 / 23%);
    border-radius: 0 0 0.9rem 0.9rem;
    background: rgb(238 210 165 / 46%);
}

.comments-panel[hidden] {
    display: none !important;
}

.comments-empty {
    order: 1;
    margin: 0;
    padding: 0.55rem 0.7rem;
    color: #765848;
    font-size: 0.78rem;
}

.comment-list {
    display: grid;
    order: 1;
    max-height: 18rem;
    gap: 0.55rem;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-color: rgb(137 76 48 / 48%) transparent;
    scrollbar-width: thin;
}

.comment-list::-webkit-scrollbar {
    width: 0.4rem;
}

.comment-list::-webkit-scrollbar-track {
    background: transparent;
}

.comment-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(137 76 48 / 48%);
}

.comment-list::-webkit-scrollbar-thumb:hover {
    background: rgb(137 76 48 / 70%);
}

.comments-more {
    display: grid;
    order: 2;
    width: 2.35rem;
    height: 1.45rem;
    margin: 0.15rem auto 0;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #70402e;
    background: rgb(255 232 184 / 58%);
    cursor: pointer;
    font: 800 1.1rem/1 var(--font-body, Manrope, sans-serif);
}

.comments-more:hover,
.comments-more:focus-visible {
    color: #fff0c6;
    background: #925238;
    outline: 0;
}

.comments-more[hidden] {
    display: none !important;
}

.comment-item {
    display: grid;
    gap: 0.18rem;
    padding: 0.62rem 0.72rem;
    border-left: 2px solid rgb(137 76 48 / 42%);
    background: rgb(255 246 223 / 36%);
}

.comment-item[hidden] {
    display: none !important;
}

.comment-item-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: baseline;
    color: #6c4535;
    font-size: 0.74rem;
}

.comment-item-heading time {
    color: #92715d;
    font-size: 0.68rem;
}

.comment-body {
    margin: 0.25rem 0 0;
    color: #4e372b;
    font-size: 0.8rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.comment-quote {
    position: relative;
    display: grid;
    gap: 0.15rem;
    margin: 0 0 0.2rem;
    padding: 0.38rem 0.55rem 0.38rem 0.7rem;
    border-left: 3px solid #a65335;
    border-radius: 0.25rem;
    color: #765848;
    background: rgb(255 232 184 / 48%);
    font-size: 0.72rem;
}

.comment-quote strong {
    color: #8a533b;
    font-size: 0.69rem;
}

.comment-quote span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.35;
}

.comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-height: 1.55rem;
    margin-top: 0.2rem;
}

.comment-reply {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0;
    padding: 0.22rem 0.42rem;
    border: 0;
    border-radius: 999px;
    color: #8a533b;
    background: transparent;
    cursor: pointer;
    font: 700 0.68rem/1 var(--font-body, Manrope, sans-serif);
}

.comment-reply:hover,
.comment-reply:focus-visible {
    color: #fff0c6;
    background: #925238;
    outline: 0;
}

.comment-reactions {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.24rem;
    min-height: 1.55rem;
    margin-top: 0;
}

.comment-reaction-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.18rem;
    min-height: 1.55rem;
}

.comment-reactions .reaction-picker {
    position: relative;
    z-index: 2;
    height: 1.55rem;
}

.comment-reactions .reaction-button,
.comment-reactions .reaction-picker-trigger {
    height: 1.55rem;
    min-height: 1.55rem;
}

.comment-reactions .reaction-button {
    padding: 0.12rem 0.3rem;
    font-size: 0.64rem;
}

.comment-reactions .reaction-picker-trigger {
    width: 1.55rem;
    padding: 0;
    border-color: rgb(111 67 43 / 32%);
    background: rgb(255 246 223 / 84%);
}

.comment-reactions .reaction-picker-trigger > i {
    font-size: 0.82rem;
}

.comment-reactions .reaction-emoji {
    width: 0.88rem;
    height: 0.88rem;
}

.comment-reaction-picker .reaction-menu {
    top: 50%;
    right: auto;
    bottom: auto;
    left: calc(100% + 0.35rem);
    flex-wrap: nowrap;
    width: max-content;
    max-width: min(18rem, calc(100vw - 2rem));
    padding: 0.22rem;
    gap: 0.12rem;
    overflow-x: auto;
    border-radius: 0.62rem;
    transform: translateY(-50%);
}

.comment-reaction-picker .reaction-option {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.42rem;
    font-size: 0.84rem;
}


.comment-reply i {
    font-size: 0.82rem;
}

.comment-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    order: 0;
    gap: 0.45rem;
    align-items: end;
}

.comment-reply-draft {
    position: relative;
    display: grid;
    grid-column: 1 / -1;
    gap: 0.15rem;
    padding: 0.5rem 2rem 0.5rem 0.65rem;
    border-left: 3px solid #a65335;
    border-radius: 0.25rem;
    color: #765848;
    background: rgb(255 232 184 / 54%);
    font-size: 0.73rem;
}

.comment-reply-draft[hidden] {
    display: none !important;
}

.comment-reply-draft-heading {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    color: #8a533b;
    font-weight: 700;
}

.comment-reply-draft-heading i {
    font-size: 0.82rem;
}

.comment-reply-draft blockquote {
    margin: 0;
    max-height: 3.1rem;
    overflow: hidden;
    color: #6c4535;
    font-size: 0.73rem;
    line-height: 1.35;
    white-space: pre-wrap;
}

.comment-reply-cancel {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #8a533b;
    background: transparent;
    cursor: pointer;
}

.comment-reply-cancel:hover,
.comment-reply-cancel:focus-visible {
    color: #fff0c6;
    background: #925238;
    outline: 0;
}

.comment-form textarea {
    grid-column: 1;
    min-height: 5.2rem;
    width: 100%;
    resize: vertical;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgb(111 67 43 / 28%);
    border-radius: 0.55rem;
    color: #3f2d25;
    background: rgb(255 246 223 / 58%);
    font: 500 0.8rem/1.4 var(--font-body, Manrope, sans-serif);
}

.comment-form textarea:focus {
    border-color: #925238;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgb(146 82 56 / 16%);
}

.comment-form button[type="submit"] {
    display: inline-flex;
    grid-column: 2;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgb(111 67 43 / 38%);
    border-radius: 999px;
    color: #fff0c6;
    background: #925238;
    cursor: pointer;
    font: 700 0.72rem/1 var(--font-body, Manrope, sans-serif);
}

.comment-form button:disabled {
    cursor: progress;
    opacity: 0.62;
}

.comment-login-hint {
    order: 0;
    margin: 0;
    color: #765848;
    font-size: 0.78rem;
}

.comment-login-hint a {
    color: #8a533b;
    font-weight: 800;
}

@media (max-width: 800px) {
    .post-engagement {
        justify-content: flex-start;
    }

    .comments-rail-toggle {
        min-height: 2.5rem;
    }

    .comment-form {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .comment-form textarea,
    .comment-form button[type="submit"] {
        grid-column: 1;
    }

    .comment-form button[type="submit"] {
        justify-content: center;
    }
}

.journal-empty {
    display: grid;
    max-width: 38rem;
    margin: 3rem auto 1rem;
    padding: 2.2rem 1.5rem;
    place-items: center;
    border: 1px dashed rgb(111 67 43 / 35%);
    border-radius: 1rem;
    color: #765848;
    background: rgb(255 246 223 / 25%);
    text-align: center;
}

.journal-empty > i {
    color: #a65335;
    font-size: 2rem;
}

.journal-empty h2 {
    margin: 0.65rem 0 0.35rem;
    color: #6c4535;
    font-family: var(--font-heading, "Roboto Slab", serif);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.journal-empty p {
    margin: 0 0 1rem;
    font-size: 0.82rem;
}

.page-arrow.is-disabled {
    display: inline-grid;
    cursor: default;
    opacity: 0.35;
}

.media-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.media-delete {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.45rem;
    border: 0;
    border-radius: 999px;
    color: #8a3f35;
    background: rgb(246 201 180 / 44%);
    cursor: pointer;
    font: 700 0.68rem/1 var(--font-body, Manrope, sans-serif);
}

.media-delete:hover,
.media-delete:focus-visible {
    color: #fff0c6;
    background: #8a3f35;
    outline: 0;
}

.media-set-cover {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.45rem;
    border: 0;
    border-radius: 999px;
    color: #72552c;
    background: rgb(239 210 121 / 42%);
    cursor: pointer;
    font: 700 0.68rem/1 var(--font-body, Manrope, sans-serif);
}

.media-set-cover:hover,
.media-set-cover:focus-visible,
.media-set-cover.is-active {
    color: #fff5d1;
    background: #9b6b28;
    outline: 0;
}

.media-set-cover:disabled {
    cursor: progress;
    opacity: 0.55;
}

.media-delete:disabled {
    cursor: progress;
    opacity: 0.55;
}

@media (max-width: 800px) {
    .comment-form {
        align-items: stretch;
        flex-direction: column;
    }

    .comment-form button {
        justify-content: center;
    }

    .post-engagement {
        justify-content: flex-start;
    }
}

.journal-logout {
    width: 1.8rem;
    height: 1.8rem;
    color: #8a4e3c !important;
    background: rgb(224 171 137 / 42%) !important;
    border-color: rgb(137 76 48 / 40%) !important;
    font-size: 0.82rem !important;
}

.journal-logout:hover,
.journal-logout:focus-visible {
    color: #fff0c6 !important;
    background: #925238 !important;
    outline: 0;
}


/* Images inserted through [img] use the optional HTML width attribute. */
.post-copy .post-body img:not(.twemoji) {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.55rem 0 0.85rem;
    float: none;
    clear: none;
}

.post-copy .post-body .inline-image[data-inline-size] {
    max-height: min(70vh, 44rem);
}
/* A frame is opt-in for [img style=framed]; plain inline photos stay visually light. */
.post-copy .post-body .inline-image--framed {
    border: 0.55rem solid #dfc494;
    box-shadow: 0 0.55rem 1.1rem rgb(69 40 24 / 30%);
}


/* A clipped post does not leave a partial inline photo edge; expand to reveal it at its tag position. */
.post.is-collapsed .post-body img:not(.twemoji) {
    display: none !important;
}


/* The author editor and its preview always start media at the text edge. */
.rich-editor img:not(.twemoji),
.editor-preview .post-copy .post-body img:not(.twemoji),
.editor-preview .post-rendered img:not(.twemoji) {
    float: none !important;
    display: block;
    margin-right: 0 !important;
    margin-left: 0 !important;
    align-self: flex-start;
}


/* The picker and published text both use Twemoji artwork, without treating glyphs as attached media. */
.post-copy .post-body .twemoji,
.rich-editor .twemoji,
.comment-body .twemoji,
.comment-quote .twemoji,
.editor-preview .twemoji {
    display: inline-block;
    width: 1.14em;
    height: 1.14em;
    margin: 0 0.04em;
    vertical-align: -0.2em;
    background: none;
    box-shadow: none;
    filter: none;
}

/* Video attachments use the same framed language as photographs, with an inline play affordance. */
.post-copy .post-photo-stack .dust-frame img,
.post-copy .post-photo-stack .dust-frame video,
.post-copy .post-photo-stack .dust-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(12rem, 22vw, 19rem);
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #2d2525;
}

.post-copy .post-photo-stack .dust-frame video {
    cursor: zoom-in;
}

.post-copy .post-photo-stack .dust-frame[data-gallery-frame] {
    cursor: zoom-in;
}

.post-copy .post-photo-stack .dust-frame[data-gallery-frame] .post-video-frame,
.post-copy .post-photo-stack .dust-frame[data-gallery-frame] video,
.post-copy .post-photo-stack .dust-frame[data-gallery-frame] img {
    cursor: default;
}

.post-video-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.post-video-frame video,
.post-youtube-frame img {
    transition: filter 180ms ease;
}

.post-video-frame:not(.is-playing) video,
.post-youtube-frame:not(.is-playing) img {
    filter: saturate(0.94) contrast(0.98);
}

.post-youtube-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(12rem, 22vw, 19rem);
    border: 0;
    background: #17131b;
}

.post-video-play {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(3.1rem, 6vw, 4.45rem);
    height: clamp(3.1rem, 6vw, 4.45rem);
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 232 177 / 86%);
    border-radius: 50%;
    color: #fff4cf;
    background: rgb(75 40 43 / 78%);
    box-shadow: 0 0.45rem 1.3rem rgb(25 13 20 / 46%), inset 0 1px rgb(255 255 255 / 32%);
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.post-video-play:hover,
.post-video-play:focus-visible {
    background: rgb(133 71 54 / 92%);
    outline: 0;
    transform: translate(-50%, -50%) scale(1.06);
}

.post-video-frame.is-playing .post-video-play {
    pointer-events: none;
    opacity: 0;
}

.post-video-count {
    display: inline-flex;
    min-width: 2.15rem;
    height: 2.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0 0.45rem;
    border: 1px solid rgb(220 239 255 / 72%);
    border-radius: 999px;
    color: #e7f3ff;
    background: #365b76;
    box-shadow: 0 0.3rem 0.7rem rgb(32 51 70 / 28%), inset 0 1px rgb(255 255 255 / 30%);
    font: 800 0.72rem/1 var(--font-body, Manrope, sans-serif);
}

.post-video-count i {
    font-size: 0.86rem;
    line-height: 1;
}

.photo-modal-figure > img,
.photo-modal-figure > video,
.photo-modal-figure > iframe {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    background: #17131b;
    box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
}

.photo-modal-figure > img {
    background: transparent;
    box-shadow: none;
}

.photo-modal.is-image-loading .photo-modal-figure > img {
    opacity: 0.48;
}

.photo-modal.is-video .photo-modal-figure {
    width: min(92vw, 1050px);
}

.photo-modal-figure > video,
.photo-modal-figure > iframe {
    width: 100%;
}

.photo-modal-figure > iframe {
    aspect-ratio: 16 / 9;
    border: 0;
}

.photo-modal-figure > [hidden] {
    display: none !important;
}

.photo-modal-thumb {
    position: relative;
    overflow: hidden;
}

.media-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border: 1px solid rgb(255 238 192 / 76%);
    border-radius: 50%;
    color: #fff7dc;
    background: rgb(45 26 38 / 76%);
    font-size: 1.1rem;
    transform: translate(-50%, -50%);
}

.media-item .editor-media-preview,
.editor-media-processing {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    place-items: center;
    border-radius: 0.4rem;
    object-fit: cover;
    background: rgb(91 57 48 / 16%);
}

.media-item .editor-media-preview[data-insert-syntax] {
    cursor: copy;
    transition: box-shadow 150ms ease, transform 150ms ease;
}

.media-item .editor-media-preview[data-insert-syntax]:hover,
.media-item .editor-media-preview[data-insert-syntax]:focus-visible {
    box-shadow: 0 0 0 0.16rem rgb(146 82 56 / 26%);
    outline: 0;
    transform: translateY(-1px);
}

.editor-media-processing {
    color: #8a533b;
    font-size: 1.45rem;
}

.media-item-pending .editor-media-preview {
    filter: saturate(0.72);
}

.media-item-failed {
    border-color: rgb(158 65 48 / 52%);
    background: rgb(248 220 196 / 44%);
}

.post-copy .post-body .inline-video,
.rich-editor .inline-video,
.editor-preview .inline-video {
    width: fit-content;
    max-width: 100%;
    margin: 0.65rem 0 0.95rem;
}

.post-copy .post-body .inline-video video,
.rich-editor .inline-video video,
.editor-preview .inline-video video {
    display: block;
    width: min(100%, 44rem);
    max-width: 100%;
    height: auto;
    border: 1px solid rgb(111 66 52 / 46%);
    border-radius: 0.45rem;
    background: #211a1d;
    box-shadow: 0 0.4rem 1rem rgb(91 54 39 / 16%);
}

.post-copy .post-body .inline-youtube,
.rich-editor .inline-youtube,
.editor-preview .inline-youtube {
    width: min(100%, 44rem);
    aspect-ratio: 16 / 9;
}

.post-copy .post-body .inline-youtube iframe,
.rich-editor .inline-youtube iframe,
.editor-preview .inline-youtube iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgb(111 66 52 / 46%);
    border-radius: 0.45rem;
    background: #211a1d;
    box-shadow: 0 0.4rem 1rem rgb(91 54 39 / 16%);
}

.post.is-collapsed .post-body .inline-video {
    display: none !important;
}

@media (max-width: 800px) {
    .post-copy .post-photo-stack .dust-frame img,
    .post-copy .post-photo-stack .dust-frame video,
    .post-copy .post-photo-stack .dust-frame iframe {
        min-height: clamp(10rem, 56vw, 15rem);
    }

    .photo-modal-figure > img,
    .photo-modal-figure > video,
    .photo-modal-figure > iframe {
        max-height: 100%;
        object-fit: contain;
    }

    .media-item .editor-media-preview,
    .editor-media-processing {
        width: 3.8rem;
        height: 3.8rem;
    }
}



@media (max-width: 620px) {
    .youtube-media-control {
        grid-template-columns: 1fr auto;
    }

    .youtube-media-control label {
        grid-column: 1 / -1;
    }

    .youtube-media-control p {
        grid-column: 1 / -1;
    }
}

/* Permanent post deletion confirmation. */
.post-delete {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    margin-left: 0.05rem;
    border: 1px solid rgb(166 83 53 / 62%);
    border-radius: 50%;
    color: #fff0c6;
    background: #a65335;
    cursor: pointer;
}

.post-delete {
    border-color: rgb(138 47 44 / 72%);
    background: #8a3f3d;
}

.post-delete:hover,
.post-delete:focus-visible {
    background: #692f31;
    transform: translateY(-1px);
}

.post-delete-modal[hidden] {
    display: none;
}

.post-delete-modal {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgb(28 16 24 / 76%);
    backdrop-filter: blur(8px);
}

.post-delete-dialog {
    width: min(100%, 29rem);
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgb(255 207 130 / 42%);
    border-radius: 1rem;
    color: #fff0d0;
    background: #422d35;
    box-shadow: 0 1.2rem 3.5rem rgb(15 7 12 / 48%);
}

.post-delete-kicker {
    margin: 0 0 0.5rem;
    color: #f5a35e;
    font: 800 0.68rem/1 var(--font-body, Manrope, sans-serif);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.post-delete-dialog h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.55rem, 5vw, 2.15rem);
}

.post-delete-dialog p {
    margin: 0;
    color: rgb(255 231 198 / 82%);
    line-height: 1.55;
}

.post-delete-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.post-delete-actions button {
    border: 0;
    border-radius: 999px;
    padding: 0.62rem 0.9rem;
    font: 800 0.76rem/1 var(--font-body, Manrope, sans-serif);
    cursor: pointer;
}

.post-delete-cancel {
    color: #5f3d35;
    background: #ffe2ad;
}

.post-delete-confirm {
    color: #fff4d3;
    background: #a84642;
}

.post-delete-confirm:hover,
.post-delete-confirm:focus-visible {
    background: #7c3434;

/* Hero assets appear as one composition after every source image has decoded. */
.hero .playa,
.hero .title-plane,
.hero .hero-controls {
    transition: opacity 180ms ease;
}

.hero.is-loading .playa,
.hero.is-loading .title-plane,
.hero.is-loading .hero-controls {
    visibility: hidden;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero .playa,
    .hero .title-plane,
    .hero .hero-controls {
        transition: none;
    }
}
