/*
 * Blog pages. Everything here mirrors the React homepage (src/styles.css):
 * same paper / ink / coral tokens, Switzer section headings, Libre Caslon
 * display type, 32px art panels, the dark Intelligence band, the FAQ
 * accordion, the waitlist CTA and the coral footer.
 */

:root {
    --bg-main: #FFF4E8;
    --accent: #D4805E;
    --accent-dark: #292522;
    --text-primary: #292522;
    --input-bg: #F2E8DC;
    --card-stroke: #DFD5CA;
    --paper: #fff4e8;
    --ink: #292522;
    --rule: #dfd5ca;
    --input: #f2e8dc;
    --ink-soft: rgba(41, 37, 34, 0.7);
    --ink-note: rgba(41, 37, 34, 0.65);
    --serif: 'Libre Caslon Condensed', Georgia, serif;
    --sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    interpolate-size: allow-keywords;
}

html {
    min-width: 320px;
    background: var(--paper);
    scroll-behavior: smooth;
}

body.blog-page {
    min-width: 320px;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

.blog-page ::selection {
    background: var(--accent);
    color: var(--paper);
}

.blog-page h1,
.blog-page h2,
.blog-page h3,
.blog-page h4 {
    color: inherit;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: normal;
}

.blog-page a {
    color: inherit;
}

.blog-page a:hover {
    opacity: 1;
}

.blog-page strong {
    font-weight: 600;
}

.blog-page img,
.blog-page video {
    display: block;
    max-width: 100%;
}

.blog-page :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
    outline-offset: 3px;
    border-radius: 0;
}

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

/* Header: same pill treatment as the homepage (white label on the muted pill). */
.blog-page .static-site-header {
    --static-header-ink: var(--ink);
    --static-header-paper: var(--paper);
}

.blog-page .static-header-action {
    color: #fff;
}

.blog-page .blog-skip {
    position: absolute;
    z-index: 100;
    top: -100px;
    left: 24px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 16px;
    font-weight: 500;
}

.blog-page .blog-skip:focus {
    top: 12px;
}

.blog-main {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-top: 75px;
}

/* ---------- Shared type ---------- */

.blog-section-title {
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2.56px;
    line-height: 1.3;
}

.post-prose p,
.post-feature-copy p,
.post-centered p,
.post-updates-intro,
.post-updates-outro {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

.post-prose p + p,
.post-feature-copy p + p,
.post-centered p + p {
    margin-top: 20px;
}

.post-caption {
    margin-top: 12px;
    color: var(--ink-note);
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

/* ---------- Article hero ---------- */

.post {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 75px;
}

.post-hero {
    display: flex;
    width: min(950px, calc(100% - 32px));
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.blog-page .post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    transition: color 180ms ease;
    animation: blog-arrive 680ms var(--ease-out) 0ms both;
}

.blog-page .post-title,
.blog-page .journal-title {
    position: relative;
    z-index: 1;
    font-family: var(--serif);
    font-size: 96px;
    font-weight: 500;
    line-height: 108px;
    text-align: center;
    animation: blog-arrive 680ms var(--ease-out) 40ms both;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    color: var(--ink-soft);
    font-size: 20px;
    line-height: 26px;
    animation: blog-arrive 680ms var(--ease-out) 120ms both;
}

.post-meta span + span::before {
    margin-right: 12px;
    content: '·';
}

.post-cover {
    width: min(1200px, calc(100% - 48px));
    margin: 0;
    animation: blog-art-arrive 900ms var(--ease-out) 180ms both;
}

/* The artwork sits on a blurred copy of itself, so the panel always carries its colours. */
.cover-panel {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 1200 / 700;
    place-items: center;
    border-radius: 32px;
    background:
        radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, #a3d6c0 0%, #c9cfb9 52%, #e9bca0 100%);
}

.cover-panel img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 86%;
    max-width: none;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 32px 72px rgba(41, 37, 34, 0.22);
}

/* ---------- Prose sections ---------- */

.post-prose {
    width: min(1000px, calc(100% - 48px));
}

.post-prose > .blog-section-title {
    margin-bottom: 36px;
}

.post-prose .post-lede {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.post-prose .post-signature {
    margin-top: 32px;
    font-weight: 600;
}

/* ---------- The anniversary update: feature rows ---------- */

.post-update-intro {
    display: flex;
    width: min(760px, calc(100% - 48px));
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.post-update-intro p {
    font-size: 20px;
    line-height: 30px;
}

.post-feature {
    display: grid;
    width: min(1200px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.post-feature-copy {
    grid-column: 1;
    grid-row: 1;
    padding-top: 40px;
}

.post-feature-copy h3,
.post-centered h3,
.post-subsection h3 {
    margin-bottom: 24px;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.92px;
    line-height: 1.12;
}

.post-art {
    position: sticky;
    top: 32px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

.post-feature--flip .post-feature-copy {
    grid-column: 2;
}

.post-feature--flip .post-art {
    grid-column: 1;
}

.art-panel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 568 / 660;
    border-radius: 32px;
    isolation: isolate;
}

.art-panel img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 86%;
    max-width: none;
    filter: drop-shadow(0 24px 36px rgba(41, 37, 34, 0.16));
    transform: translate(-50%, -50%);
}

.art-panel--wide img {
    width: 84%;
    height: auto;
}

.art-panel--studio {
    background: #f2f2f2;
}

.art-panel--studio img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: none;
}

.art-panel--coral {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 244, 232, 0.32) 0%, rgba(255, 244, 232, 0) 100%),
        linear-gradient(180deg, #eeb593 0%, #e39a74 100%);
}

.art-panel--lilac {
    background: linear-gradient(165deg, #a9a4d2 0%, #cdb3cc 48%, #ecc6b6 100%);
}

.art-panel--sky {
    background:
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(255, 244, 232, 0.7) 0%, rgba(255, 244, 232, 0) 100%),
        linear-gradient(180deg, #b7d5ef 0%, #dde9f0 100%);
}

.art-panel--mint {
    background: linear-gradient(180deg, #a9d9bd 0%, #cfe8e3 60%, #e4eff0 100%);
}

.art-panel--peach {
    background: linear-gradient(180deg, #f7d6bd 0%, #efb895 100%);
}

.art-panel--sand {
    background:
        radial-gradient(ellipse 65% 55% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, #f3e3d1 0%, #e8cfb4 100%);
}

/* ---------- Connection Intelligence: the homepage's dark band ---------- */

.post-band {
    display: flex;
    width: min(1888px, calc(100vw - 32px));
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 96px 0;
    overflow: hidden;
    border-radius: 32px;
    color: var(--paper);
    background:
        radial-gradient(ellipse 55% 180% at 50% 0%, rgba(7, 10, 24, 0.6) 0%, rgba(7, 10, 24, 0) 100%),
        linear-gradient(180deg, #091520 0%, #08181f 100%);
}

.post-band-heading {
    width: 760px;
    max-width: calc(100% - 32px);
    text-align: center;
}

.post-band-heading h3 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -2.9px;
    line-height: 1.1;
}

.post-band-inner {
    display: flex;
    width: min(950px, calc(100% - 32px));
    flex-direction: column;
    gap: 30px;
}

.post-band-video {
    margin: 0;
}

.post-band-video video {
    width: 100%;
    height: auto;
    border-radius: 26px;
    background: #f2f2f2;
}

.post-band .post-caption {
    color: rgba(255, 244, 232, 0.62);
}

.post-band-copy {
    width: min(760px, 100%);
    align-self: center;
    padding-top: 18px;
}

.post-band-copy p {
    color: rgba(255, 244, 232, 0.8);
    font-size: 20px;
    line-height: 30px;
}

.post-band-copy p + p {
    margin-top: 20px;
}

.post-callout {
    padding: 28px 32px;
    border-radius: 26px;
    background: rgba(255, 244, 232, 0.05);
    color: rgba(255, 244, 232, 0.8);
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
}

.post-callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
}

/* ---------- Explore: centred like "Local Insights" ---------- */

.post-centered {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.post-centered-head {
    width: min(760px, 100%);
    text-align: center;
}

.post-centered-body {
    width: min(760px, 100%);
}

.post-pair {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.post-pair figure {
    margin: 0;
}

/* ---------- Everything else: FAQ accordion ---------- */

.post-updates {
    width: min(1200px, calc(100% - 48px));
}

.post-updates .blog-section-title {
    margin-bottom: 24px;
}

.post-updates-intro {
    margin-bottom: 32px;
}

.post-updates-outro {
    max-width: 760px;
    margin-top: 32px;
}

.post-accordion {
    border-top: 1px solid var(--rule);
}

.post-accordion details {
    border-bottom: 1px solid var(--rule);
}

.post-accordion summary {
    display: flex;
    min-height: 89px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 31px 0 32px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    list-style: none;
}

.post-accordion summary::-webkit-details-marker {
    display: none;
}

.post-accordion summary > span {
    transition: opacity 200ms ease;
}

.post-accordion summary img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transition: opacity 200ms ease, transform 300ms var(--ease-out);
}

.post-accordion details[open] summary img {
    transform: rotate(180deg);
}

.post-accordion details::details-content {
    overflow: clip;
    block-size: 0;
    transition: block-size 360ms var(--ease-out), content-visibility 360ms allow-discrete;
}

.post-accordion details[open]::details-content {
    block-size: auto;
}

.post-accordion ul {
    padding: 0 0 36px;
    columns: 2;
    column-gap: 64px;
    list-style: none;
}

.post-accordion li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    break-inside: avoid;
    font-size: 18px;
    line-height: 26px;
}

.post-accordion li::before {
    position: absolute;
    top: 10px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: '';
    background: var(--accent);
}

/* ---------- What's next: cards like the Intelligence cards, on paper ---------- */

.post-next {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.post-next-head,
.post-next-foot {
    width: min(1000px, 100%);
}

.post-next-foot p {
    font-size: 20px;
    line-height: 30px;
}

.post-next-head .blog-section-title {
    margin-bottom: 36px;
}

.post-next-head p {
    font-size: 20px;
    line-height: 30px;
}

.post-cards {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    border-radius: 32px;
    background: var(--input);
    transition: background 240ms ease;
}

.post-card figure {
    margin: 0;
}

.post-card .art-panel {
    aspect-ratio: 568 / 400;
    border-radius: 20px;
}

.post-card .post-caption {
    text-align: left;
    padding: 0 8px;
}

.post-card-copy {
    padding: 0 8px 16px;
}

.post-card-copy h3 {
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    line-height: 44px;
}

.post-card-copy p {
    font-size: 18px;
    line-height: 27px;
}

/* ---------- Waitlist CTA (homepage .cta) ---------- */

.blog-cta {
    display: grid;
    width: min(1200px, calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
    margin-top: 75px;
}

.blog-cta-art {
    width: 584px;
    max-width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 32px;
}

.blog-cta-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-cta-copy {
    position: relative;
    top: -3px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-cta-copy > p {
    font-size: 20px;
    line-height: 26px;
}

.blog-cta-form-wrap {
    display: flex;
    margin-top: 16px;
    flex-direction: column;
    gap: 6px;
}

.blog-cta-form-wrap h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

.blog-waitlist {
    position: relative;
    display: flex;
    width: 584px;
    max-width: 100%;
    align-items: center;
    gap: 5px;
}

.blog-waitlist-input {
    width: 100%;
    min-width: 0;
    height: 51px;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 999px;
    outline: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--ink);
    font: inherit;
    font-size: 20px;
    line-height: 19px;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.blog-waitlist-input::placeholder {
    color: rgba(60, 48, 35, 0.7);
    opacity: 1;
}

.blog-waitlist-input:focus {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.42);
}

.blog-waitlist-input:focus-visible {
    outline: none;
}

.blog-waitlist-input[aria-invalid='true'] {
    border-color: #9b3f31;
}

.blog-waitlist-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.blog-waitlist-status {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    min-height: 18px;
    font-size: 13px;
    line-height: 18px;
}

.blog-waitlist-status[data-state='success'] {
    color: #337460;
}

.blog-waitlist-status[data-state='error'] {
    color: #9b3f31;
}

.blog-page .blog-pill {
    position: relative;
    display: inline-flex;
    height: 52px;
    min-width: 221px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 19px;
    white-space: nowrap;
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease;
}

.blog-pill:active {
    transform: translateY(0) scale(0.985);
}

.blog-pill:disabled {
    cursor: wait;
    opacity: 0.75;
}

/* ---------- Footer (homepage .footer) ---------- */

.blog-site-footer {
    position: relative;
    width: min(1888px, calc(100vw - 32px));
    height: clamp(800px, calc(378px + 35.73vw), 1064px);
    flex: 0 0 auto;
    margin: 75px auto 17px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 70% at 50% 0%, #d4805e 0%, rgba(212, 128, 94, 0) 100%),
        linear-gradient(180deg, #dd8f6a 0%, #e69e75 100%);
}

.blog-site-footer-links {
    position: absolute;
    z-index: 2;
    top: 70px;
    left: 50%;
    display: grid;
    width: min(1200px, calc(100% - 64px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: translateX(-50%);
}

.blog-site-footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.blog-site-footer h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 31px;
}

.blog-site-footer a {
    position: relative;
    font-size: 20px;
    line-height: 26px;
    transition: opacity 180ms ease;
}

.blog-site-footer a::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    content: '';
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.blog-site-footer-brandscape {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 29px;
    pointer-events: none;
}

.blog-site-footer-route {
    position: relative;
    width: 100%;
    aspect-ratio: 1888 / 26;
}

.blog-site-footer-route img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}

.blog-site-footer-route img:last-child {
    position: absolute;
    top: 50%;
    left: 33.77%;
    width: clamp(18px, 1.545%, 29.154px);
    height: auto;
    max-width: none;
    filter: brightness(0) invert(1) drop-shadow(0 4px 4px rgba(87, 43, 29, 0.18));
    transform: translate(-50%, -50%);
}

.blog-site-footer-wordmark {
    width: 100%;
    height: auto;
    max-width: none !important;
}

/* ---------- Blog index ---------- */

.journal-hero {
    display: flex;
    width: min(950px, calc(100% - 32px));
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.journal-deck {
    width: 698px;
    max-width: 100%;
    font-size: 20px;
    line-height: 26px;
    animation: blog-arrive 680ms var(--ease-out) 120ms both;
}

.journal-list {
    display: flex;
    width: min(1200px, calc(100% - 32px));
    flex-direction: column;
    margin-top: 75px;
}

.journal-feature {
    display: grid;
    grid-template-columns: 812px 356px;
    gap: 32px;
    align-items: start;
    color: inherit;
}

.journal-feature .cover-panel {
    aspect-ratio: 1900 / 1068;
}

.journal-feature .cover-panel img {
    height: 88%;
    transition: transform 420ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .journal-feature:hover .cover-panel img {
        transform: translate(-50%, calc(-50% - 6px));
    }
}

.journal-feature-copy {
    position: relative;
    top: -3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.journal-feature-copy h2 {
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
    font-size: 64px;
    letter-spacing: -2.56px;
    line-height: 1.3;
}

.journal-feature-copy p {
    font-size: 20px;
    line-height: 26px;
}

.journal-feature-copy small {
    color: var(--ink-note);
    font-size: 12px;
    line-height: 16px;
}

.journal-feature-copy .blog-pill {
    margin-top: 8px;
}

/* ---------- Motion (homepage data-reveal) ---------- */

.blog-reveal [data-reveal] {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 540ms ease var(--reveal-delay),
        transform 760ms var(--ease-out) var(--reveal-delay),
        background 240ms ease;
}

.blog-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.blog-reveal .post-art[data-reveal],
.blog-reveal .blog-site-footer-brandscape[data-reveal] {
    --reveal-delay: 80ms;
}

.blog-reveal .post-cards > :nth-child(2),
.blog-reveal .blog-site-footer-links > div:nth-child(2) {
    --reveal-delay: 70ms;
}

.blog-reveal .blog-site-footer-links > div:nth-child(3) {
    --reveal-delay: 140ms;
}

.blog-reveal .blog-site-footer-links > div:nth-child(4) {
    --reveal-delay: 210ms;
}

.blog-reveal .blog-site-footer-brandscape[data-reveal] {
    transform: none;
}

@keyframes blog-arrive {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes blog-art-arrive {
    from {
        opacity: 0.72;
        transform: translateY(14px);
    }
}

@media (hover: hover) and (pointer: fine) {
    .blog-page .post-back:hover {
        color: var(--ink);
    }

    .blog-pill:hover {
        box-shadow: 0 12px 26px rgba(112, 53, 34, 0.18);
        transform: translateY(-2px);
    }

    .post-accordion summary:hover > span,
    .post-accordion summary:hover img {
        opacity: 0.7;
    }

    .blog-site-footer a:hover::after,
    .blog-site-footer a:focus-visible::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .journal-feature:hover .blog-pill {
        box-shadow: 0 12px 26px rgba(112, 53, 34, 0.18);
        transform: translateY(-2px);
    }
}

/* ---------- Responsive (same breakpoints as the homepage) ---------- */

@media (max-width: 1240px) {
    .journal-feature {
        grid-template-columns: minmax(0, 812px) minmax(260px, 356px);
    }
}

@media (max-width: 980px) {
    .blog-page .static-mobile-cta {
        color: #fff;
    }

    .blog-main {
        padding-top: 56px;
    }

    .blog-page .post-title,
    .blog-page .journal-title {
        font-size: clamp(62px, 10vw, 88px);
        line-height: 1.03;
    }

    .blog-section-title,
    .journal-feature-copy h2 {
        font-size: clamp(50px, 7vw, 60px);
        letter-spacing: -2px;
        line-height: 1.18;
    }

    .post-feature,
    .post-feature--flip {
        display: flex;
        width: min(620px, calc(100% - 48px));
        flex-direction: column;
        gap: 28px;
    }

    /* Keep the heading, then the artwork, then the story. */
    .post-feature-copy {
        display: contents;
    }

    .post-feature-copy > * {
        order: 2;
    }

    .post-feature-copy > h3 {
        order: 0;
        margin-bottom: 0;
    }

    .post-feature-copy > p + p {
        margin-top: -8px;
    }

    .post-art {
        position: static;
        order: 1;
        width: 100%;
    }

    .art-panel {
        aspect-ratio: 620 / 600;
    }

    .post-band {
        padding: 72px 0;
    }

    .post-band-heading h3 {
        font-size: clamp(50px, 7vw, 60px);
        letter-spacing: -2px;
    }

    .post-accordion ul {
        columns: 1;
    }

    .blog-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-cta-art {
        width: min(584px, 100%);
        justify-self: center;
    }

    .blog-cta-copy {
        width: min(720px, 100%);
        min-width: 0;
        justify-self: center;
    }

    .blog-site-footer-links {
        top: 52px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 44px;
    }

    .journal-feature {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .journal-feature-copy {
        width: min(620px, 100%);
    }
}

@media (max-width: 760px) {
    .post-cards,
    .post-pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-main {
        padding-top: 40px;
    }

    .post {
        gap: 56px;
    }

    .post-hero,
    .journal-hero {
        width: calc(100% - 24px);
        gap: 24px;
    }

    .blog-page .post-back,
    .post-meta {
        font-size: 17px;
        line-height: 23px;
    }

    .blog-page .post-title,
    .blog-page .journal-title {
        font-size: clamp(45px, 14vw, 64px);
        line-height: 0.99;
    }

    .post-meta {
        flex-direction: column;
        gap: 2px;
    }

    .post-meta span + span::before {
        content: none;
    }

    .journal-deck {
        font-size: 17px;
        line-height: 23px;
    }

    .post-cover {
        width: calc(100% - 24px);
    }

    .cover-panel {
        aspect-ratio: 366 / 440;
        border-radius: 24px;
    }

    .cover-panel img {
        border-radius: 14px;
    }

    .post-prose,
    .post-update-intro,
    .post-feature,
    .post-feature--flip,
    .post-centered,
    .post-updates,
    .post-next,
    .blog-cta {
        width: calc(100% - 32px);
    }

    .blog-section-title,
    .journal-feature-copy h2 {
        font-size: clamp(38px, 10.5vw, 44px);
        letter-spacing: -1.4px;
        line-height: 1.08;
    }

    .post-prose > .blog-section-title,
    .post-next-head .blog-section-title {
        margin-bottom: 24px;
    }

    .post-prose p,
    .post-feature-copy p,
    .post-centered p,
    .post-update-intro p,
    .post-updates-intro,
    .post-updates-outro,
    .post-next-head p,
    .post-next-foot p,
    .post-band-copy p,
    .blog-cta-copy > p,
    .journal-feature-copy p {
        font-size: 17px;
        line-height: 26px;
    }

    .post-prose .post-lede {
        font-size: 20px;
        line-height: 27px;
    }

    .post-feature-copy h3,
    .post-centered h3,
    .post-subsection h3 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .art-panel {
        aspect-ratio: 366 / 420;
        border-radius: 22px;
    }

    .post-band {
        width: calc(100vw - 24px);
        gap: 36px;
        padding: 48px 0;
        border-radius: 24px;
    }

    .post-band-heading h3 {
        font-size: clamp(40px, 11vw, 48px);
        letter-spacing: -1.4px;
    }

    .post-band-inner {
        width: calc(100% - 24px);
    }

    .post-band-video video {
        border-radius: 18px;
    }

    .post-callout {
        padding: 22px;
        font-size: 16px;
        line-height: 23px;
    }

    .post-callout strong {
        font-size: 24px;
        line-height: 31px;
    }

    .post-accordion summary {
        min-height: 76px;
        padding: 24px 0;
        font-size: 17px;
        line-height: 23px;
    }

    .post-accordion li {
        font-size: 16px;
        line-height: 24px;
    }

    .post-card {
        border-radius: 24px;
    }

    .post-card-copy h3 {
        font-size: 30px;
        line-height: 36px;
    }

    .post-card-copy p {
        font-size: 16px;
        line-height: 24px;
    }

    .blog-cta {
        gap: 26px;
    }

    .blog-cta-art {
        border-radius: 24px;
    }

    .blog-waitlist {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(132px, 42%);
        gap: 8px 5px;
    }

    .blog-waitlist .blog-pill {
        width: 100%;
        min-width: 0;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 15px;
    }

    .blog-waitlist-status {
        position: static;
        grid-column: 1 / -1;
        padding-left: 14px;
    }

    .blog-site-footer {
        display: flex;
        width: calc(100vw - 24px);
        height: auto;
        min-height: 0;
        flex-direction: column;
        margin-top: 56px;
        padding-top: 46px;
        border-radius: 24px;
    }

    .blog-site-footer-links {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 48px);
        align-self: center;
        row-gap: 34px;
        transform: none;
    }

    .blog-site-footer h2 {
        font-size: 21px;
    }

    .blog-site-footer a {
        font-size: 15px;
        line-height: 21px;
    }

    .blog-site-footer-brandscape {
        position: relative;
        width: 100%;
        gap: 24px;
        margin-top: 58px;
    }

    .blog-site-footer-wordmark {
        width: calc(100% - 24px);
        margin-bottom: 8px;
    }

    .journal-list {
        width: calc(100% - 24px);
        margin-top: 56px;
    }

    .journal-feature .cover-panel {
        aspect-ratio: 366 / 300;
    }
}

.post-summary {
    width: min(1200px, calc(100% - 48px));
}

.post-summary-art {
    display: block;
    overflow: hidden;
    border-radius: 24px;
}

.post-summary-art img {
    width: 100%;
    height: auto;
}

.post-summary > figure {
    margin: 0;
}

@media (max-width: 640px) {
    .post-summary {
        width: calc(100% - 24px);
    }

    .post-summary-art {
        border-radius: 16px;
    }
}

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

    .blog-page *,
    .blog-page *::before,
    .blog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation: none !important;
    }

    .blog-reveal [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
