:root {
    --bg: #f2ede4;
    --bg-soft: #faf6ef;
    --surface: rgba(255, 252, 247, 0.68);
    --surface-strong: rgba(255, 252, 247, 0.88);
    --surface-dark: #171411;
    --border: rgba(57, 45, 31, 0.12);
    --border-strong: rgba(57, 45, 31, 0.2);
    --text: #201912;
    --text-soft: #5d5144;
    --text-muted: #877866;
    --accent: #815127;
    --accent-strong: #4b3019;
    --accent-soft: rgba(129, 81, 39, 0.08);
    --signal: #b2463e;
    --signal-soft: rgba(178, 70, 62, 0.12);
    --success: #255239;
    --warning: #8a5d1f;
    --shadow-sm: 0 14px 40px rgba(32, 25, 18, 0.05);
    --shadow-md: 0 24px 60px rgba(32, 25, 18, 0.08);
    --radius-sm: 16px;
    --radius: 22px;
    --radius-lg: 34px;
    --radius-pill: 999px;
    --page-width: min(1180px, calc(100% - 2rem));
    --page-width-narrow: min(920px, calc(100% - 2rem));
    --trans: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top, rgba(255, 233, 205, 0.58), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(234, 205, 176, 0.42), transparent 30%),
        linear-gradient(180deg, #faf6ef 0%, #f1ebdf 100%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../assets/grain.webp");
    opacity: 0.035;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input {
    font: inherit;
}

.page-main {
    flex: 1;
    width: var(--page-width);
    margin: 0 auto;
    padding-bottom: 4rem;
}

.page-main-home {
    width: min(1240px, calc(100% - 2rem));
}

.page-main-about {
    width: var(--page-width-narrow);
}

.site-header {
    position: sticky;
    top: 1rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    width: min(1240px, calc(100% - 1.4rem));
    margin: 1rem auto 0;
    padding: 0.9rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 26px;
    background: rgba(255, 251, 246, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sm);
}

.site-header-home {
    background: rgba(255, 251, 246, 0.62);
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.header-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.header-logo-zzt {
    opacity: 0.88;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    width: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.site-nav-link {
    position: relative;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.15rem 0;
    transition: color var(--trans);
}

.site-nav-link,
.page-title,
.page-subtitle,
.page-description,
.path-card-copy,
.epoch-card-title,
.epoch-card-meta span,
.collection-card h2,
.collection-card p,
.page-summary-grid strong,
.page-summary-grid span,
.site-footer-copy p,
.site-footer-links a,
.s-title,
.s-sub,
.resource-link-copy,
.resource-link-copy > span,
.quick-tag,
.home-motto {
    overflow-wrap: anywhere;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.7);
    transform-origin: center;
    transition:
        opacity var(--trans),
        transform var(--trans);
}

.site-nav-link:hover,
.site-nav-link.is-active {
    color: var(--accent-strong);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: min(760px, 100%);
}

.search-wrap-xl {
    width: min(780px, 100%);
    margin-inline: auto;
}

.search-icon {
    position: absolute;
    left: 1.15rem;
    color: var(--text-muted);
    pointer-events: none;
}

#searchInput {
    width: 100%;
    min-width: 0;
    padding: 1.02rem 1rem 1.02rem 3rem;
    border: 1px solid rgba(57, 45, 31, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 10px 28px rgba(32, 25, 18, 0.05);
    color: var(--text);
    outline: none;
    transition:
        border-color var(--trans),
        box-shadow var(--trans),
        background-color var(--trans);
}

#searchInput:focus {
    border-color: rgba(129, 81, 39, 0.34);
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 0 0 4px rgba(129, 81, 39, 0.09);
}

#searchButton,
.hero-button {
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    transition:
        transform var(--trans),
        background-color var(--trans),
        box-shadow var(--trans),
        color var(--trans);
}

#searchButton {
    flex-shrink: 0;
    padding: 1rem 1.2rem;
    background: var(--surface-dark);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(23, 20, 17, 0.14);
}

#searchButton:hover,
.hero-button:hover,
.text-link:hover {
    transform: translateY(-1px);
}

.suggestions-box {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    display: none;
    overflow: auto;
    max-height: min(340px, 52vh);
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 14px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: none;
    backdrop-filter: none;
    z-index: 60;
    min-width: 0;
    overscroll-behavior: contain;
}

.suggestions-box.active {
    display: block;
}

.suggestion-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(57, 45, 31, 0.06);
    background: transparent;
    cursor: pointer;
    display: grid;
    gap: 0.08rem;
    padding: 0.68rem 0.8rem;
    text-align: left;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.suggestion-item:last-child {
    border-bottom: 0;
}

.suggestion-item:hover,
.suggestion-item:focus-visible {
    background: rgba(57, 45, 31, 0.03);
}

.s-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.s-cat,
.s-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.s-cat {
    color: var(--accent-strong);
}

.s-badge {
    color: var(--text-muted);
}

.s-title {
    font-size: 0.88rem;
    font-weight: 700;
    min-width: 0;
    line-height: 1.28;
}

.s-sub,
.suggestion-empty {
    color: var(--text-muted);
    font-size: 0.74rem;
    min-width: 0;
    line-height: 1.35;
}

.suggestion-empty {
    padding: 0.8rem 0.85rem;
}

.section-heading {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 2rem;
}

.section-heading-centered {
    justify-items: center;
    text-align: center;
}

.section-heading h2,
.home-note h2,
.about-section h2,
.about-zzt h2,
.about-closing h2,
.related-section h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.section-kicker,
.home-kicker,
.page-eyebrow,
.about-process-label,
.epoch-card-kicker,
.accordion-meta {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero {
    position: relative;
    min-height: calc(100vh - 5.5rem);
    display: grid;
    place-items: center;
    padding: clamp(3.5rem, 8vw, 7rem) 0 2rem;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero::before {
    inset: 6% 10% auto;
    height: 72%;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 224, 188, 0.92), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(242, 211, 175, 0.78), transparent 28%),
        radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.86), transparent 38%);
    filter: blur(8px);
    transform: translateY(calc(var(--hero-shift, 0px) * -1));
    animation: heroFloat 18s ease-in-out infinite alternate;
}

.home-hero::after {
    inset: auto 14% 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.18), transparent);
}

.home-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    width: min(860px, 100%);
    text-align: center;
}

.home-title,
.page-title {
    font-family: "Playfair Display", serif;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.home-title {
    font-size: clamp(4.1rem, 13vw, 8.8rem);
}

.page-title {
    font-size: clamp(2.5rem, 7vw, 4.9rem);
}

.home-motto,
.page-description,
.page-subtitle,
.home-note p,
.about-section p,
.about-process-item p,
.about-zzt p,
.about-closing p {
    color: var(--text-soft);
    font-size: 1rem;
    max-width: 40rem;
}

.home-motto,
.home-note p,
.about-zzt p {
    margin-inline: auto;
}

.home-search-block {
    margin-top: 0.8rem;
    min-width: 0;
}

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.1rem;
    margin-top: 0.45rem;
}

.quick-tag {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
    padding-bottom: 0.14rem;
    border-bottom: 1px solid transparent;
    transition:
        color var(--trans),
        border-color var(--trans),
        transform var(--trans);
}

.quick-tag:hover,
.text-link:hover,
.toc-link:hover {
    color: var(--accent-strong);
    border-color: rgba(129, 81, 39, 0.34);
}

.home-hero-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-search-stage.search-active .quick-tags,
.home-search-stage.search-active .home-hero-meta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    margin: 0;
    overflow: hidden;
}

.epochs-section {
    margin-top: clamp(4rem, 8vw, 7rem);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: -0.4rem;
}

.proof-strip article,
.path-card,
.collection-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.proof-strip article {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
}

.proof-strip strong {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.proof-strip span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.path-section {
    margin-top: clamp(3rem, 7vw, 5rem);
}

.path-grid,
.epochs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.epoch-card,
.path-card {
    display: grid;
    gap: 0.6rem;
    min-height: 176px;
    padding: 1.35rem;
    transition:
        transform var(--trans),
        border-color var(--trans),
        background-color var(--trans),
        box-shadow var(--trans);
}

.epoch-block,
.lektura-block,
.related-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.epoch-card:hover,
.path-card:hover,
.resource-link:hover,
.related-link:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    background: rgba(255, 252, 247, 0.82);
    box-shadow: var(--shadow-md);
}

.epoch-card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: flex-start;
}

.epoch-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.epoch-card-arrow {
    color: var(--accent);
    font-size: 1.05rem;
}

.epoch-card-dates {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.path-card-copy {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.epoch-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.home-note {
    display: grid;
    gap: 0.95rem;
    max-width: 44rem;
    margin: clamp(4.5rem, 8vw, 7rem) auto 0;
    padding: 0 0 1rem;
    text-align: center;
}

.text-link {
    justify-self: center;
    color: var(--accent-strong);
    font-weight: 700;
    padding-bottom: 0.16rem;
    border-bottom: 1px solid rgba(129, 81, 39, 0.24);
    transition:
        color var(--trans),
        border-color var(--trans),
        transform var(--trans);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.crumb-link {
    color: var(--accent-strong);
    font-weight: 700;
}

.page-hero {
    display: grid;
    gap: 0.8rem;
    padding: clamp(3rem, 7vw, 5.2rem) 0 2rem;
    border-bottom: 1px solid rgba(57, 45, 31, 0.12);
}

.hero-chip-row,
.hero-chip-group,
.toc-links,
.related-links,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hero-actions {
    margin-top: 0.6rem;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.86rem 1.25rem;
    font-weight: 700;
}

.hero-button-primary {
    background: var(--surface-dark);
    color: #fff;
    box-shadow: 0 16px 34px rgba(23, 20, 17, 0.14);
}

.hero-button-secondary {
    background: rgba(129, 81, 39, 0.1);
    color: var(--accent-strong);
}

.inline-pill {
    display: inline-flex;
    align-items: center;
    min-height: 33px;
    padding: 0.34rem 0.72rem;
    border: 1px solid rgba(57, 45, 31, 0.12);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
}

.tier-required {
    color: #6b3c19;
    background: rgba(244, 224, 199, 0.82);
}

.tier-primary {
    color: #6d4515;
    background: rgba(247, 232, 195, 0.88);
}

.tier-oral {
    color: #305549;
    background: rgba(220, 239, 232, 0.92);
}

.tier-context {
    color: #5b4a35;
    background: rgba(234, 227, 216, 0.9);
}

.tier-supporting {
    color: #40372d;
}

.status-verified {
    color: var(--success);
    background: rgba(217, 240, 226, 0.82);
}

.status-partial {
    color: var(--warning);
    background: rgba(247, 232, 207, 0.9);
}

.page-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.page-summary-grid article {
    display: grid;
    gap: 0.16rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    min-width: 0;
}

.page-summary-grid strong {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-summary-grid span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.toc-box {
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    border-bottom: 1px solid rgba(57, 45, 31, 0.12);
    margin-bottom: 1.6rem;
}

.toc-box h2 {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.toc-links,
.related-links {
    gap: 0.7rem 1rem;
}

.toc-link {
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    padding-bottom: 0.14rem;
    border-bottom: 1px solid transparent;
    transition:
        color var(--trans),
        border-color var(--trans);
}

.epoch-sections,
.lektura-sections-full {
    display: grid;
    gap: 1rem;
}

.accordion-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    text-align: left;
}

.accordion-title,
.lektura-block h2 {
    font-size: 1.05rem;
    font-weight: 800;
}

.accordion-caret {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform var(--trans);
}

.accordion.is-open .accordion-caret {
    transform: rotate(180deg);
}

.accordion-panel {
    height: 0;
    overflow: hidden;
    transition: height 0.34s cubic-bezier(0.23, 0.73, 0.32, 1);
}

.resource-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    padding: 0 1rem 1rem;
}

.resource-list-lektury {
    gap: 0;
}

.resource-list-lektury > li {
    border-top: 1px solid rgba(57, 45, 31, 0.08);
}

.resource-link {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.84rem 0.95rem;
    border: 1px solid rgba(57, 45, 31, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    transition:
        transform var(--trans),
        border-color var(--trans),
        background-color var(--trans),
        box-shadow var(--trans);
    min-width: 0;
}

.resource-link-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.resource-link.muted {
    opacity: 0.72;
}

.resource-icon {
    width: 1rem;
    flex: 0 0 1rem;
    color: var(--accent);
    margin-top: 0.16rem;
}

.resource-icon-svg,
.resource-icon-asset {
    width: 1rem;
    height: 1rem;
}

.lektura-block {
    padding: 1rem 0 0;
}

.lektura-block h2 {
    padding: 0 1rem 0.25rem;
}

.related-section {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
    padding: 1.2rem;
}

.collection-grid {
    display: grid;
    gap: 1rem;
}

.collection-grid-page {
    margin-top: 1.6rem;
}

.collection-card {
    display: grid;
    gap: 0.95rem;
    padding: 1.2rem;
    min-width: 0;
}

.collection-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.collection-card p {
    color: var(--text-soft);
}

.collection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.resource-list-tight {
    padding: 0;
}

.resource-list-tight .resource-link {
    padding: 0.78rem 0.88rem;
}

.related-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-width: min(100%, 260px);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(57, 45, 31, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    transition:
        transform var(--trans),
        border-color var(--trans),
        background-color var(--trans),
        box-shadow var(--trans);
}

.home-hero-shell-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.78fr);
    gap: clamp(1.4rem, 4vw, 2.6rem);
    align-items: end;
}

.home-hero-copy {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.hero-actions-home {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.home-search-stage {
    margin-top: 1.6rem;
    padding: 1rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(255, 250, 245, 0.56)),
        radial-gradient(circle at 12% 18%, rgba(201, 84, 61, 0.1), transparent 32%);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 45;
}

.home-route-panel {
    position: relative;
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid rgba(195, 71, 51, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(255, 248, 242, 0.72)),
        radial-gradient(circle at 88% 12%, rgba(195, 71, 51, 0.12), transparent 24%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.home-route-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% 38%;
    height: 55%;
    background: radial-gradient(circle, rgba(195, 71, 51, 0.14), transparent 62%);
    pointer-events: none;
}

.home-route-panel h2,
.about-hero-aside h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.home-route-panel p,
.about-hero-aside p {
    color: var(--text-soft);
}

.home-route-preview {
    position: relative;
    display: grid;
    gap: 1rem;
    padding-left: 1.2rem;
}

.home-route-preview-line {
    position: absolute;
    left: 0.28rem;
    top: 0.2rem;
    bottom: 0.3rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(195, 71, 51, 0.24), rgba(195, 71, 51, 0.9));
}

.home-route-stop {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    min-width: 0;
}

.home-route-stop::before {
    content: "";
    position: absolute;
    left: -0.18rem;
    top: 0.78rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff8f4;
    border: 2px solid #c34733;
    box-shadow: 0 0 0 6px rgba(195, 71, 51, 0.08);
}

.home-route-stop-index,
.home-path-index,
.about-route-step {
    color: #b94834;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-route-stop-copy,
.home-path-copy,
.epoch-row-main,
.home-foundation-copy,
.home-foundation-side {
    min-width: 0;
}

.home-route-stop-copy {
    display: grid;
    gap: 0.16rem;
}

.home-route-stop-copy strong,
.home-path-copy h3,
.epoch-row-main h3 {
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.home-route-stop-copy span,
.home-path-copy p,
.home-path-meta span,
.epoch-row-main p,
.epoch-row-meta span,
.home-foundation-copy p {
    color: var(--text-soft);
}

.home-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-block: 1rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    border-bottom: 1px solid rgba(57, 45, 31, 0.12);
}

.home-fact {
    display: grid;
    gap: 0.15rem;
}

.home-fact strong {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.home-fact span {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.home-route-section,
.home-epochs-editorial {
    margin-top: clamp(3rem, 7vw, 5rem);
}

.home-path-list,
.epoch-rail {
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.home-path-row,
.epoch-row {
    display: grid;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(57, 45, 31, 0.1);
    transition:
        transform var(--trans),
        color var(--trans),
        border-color var(--trans);
}

.home-path-row {
    grid-template-columns: auto minmax(0, 1.3fr) minmax(170px, 0.9fr) auto;
}

.home-path-row:hover,
.epoch-row:hover {
    transform: translateX(4px);
    border-color: rgba(195, 71, 51, 0.25);
}

.home-path-kicker,
.epoch-row-kicker {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-path-copy {
    display: grid;
    gap: 0.22rem;
}

.home-path-meta,
.epoch-row-meta {
    display: grid;
    gap: 0.1rem;
    justify-items: end;
    text-align: right;
}

.home-path-meta strong,
.epoch-row-meta strong {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-path-arrow {
    color: #b94834;
    font-size: 1.15rem;
}

.epoch-row {
    grid-template-columns: minmax(0, 1.45fr) auto;
}

.epoch-row-main {
    display: grid;
    gap: 0.22rem;
}

.home-foundation {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
    gap: 1.5rem;
    align-items: end;
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-top: 1.4rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.home-foundation-copy {
    display: grid;
    gap: 0.7rem;
}

.home-foundation-side {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.about-hero-route {
    padding-top: clamp(3.8rem, 8vw, 6.5rem);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.78fr);
    gap: clamp(1.4rem, 4vw, 2.6rem);
    align-items: end;
}

.about-hero-aside {
    padding: 1.35rem;
    border: 1px solid rgba(195, 71, 51, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 251, 246, 0.86), rgba(255, 248, 242, 0.74)),
        radial-gradient(circle at 88% 14%, rgba(195, 71, 51, 0.11), transparent 25%);
    box-shadow: var(--shadow-sm);
}

.about-route-stage {
    margin-top: clamp(3.8rem, 8vw, 6rem);
}

.about-route-shell {
    position: relative;
    margin-top: 1.6rem;
}

.about-route-rail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 240px;
    transform: translateX(-50%);
    pointer-events: none;
}

.about-route-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.about-route-path-base,
.about-route-path-progress {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
}

.about-route-path-base {
    stroke: rgba(195, 71, 51, 0.14);
}

.about-route-path-progress {
    stroke: #c34733;
    filter: drop-shadow(0 0 16px rgba(195, 71, 51, 0.18));
}

.about-route-list {
    position: relative;
    display: grid;
    gap: 2.8rem;
    padding-block: 0.6rem;
}

.about-route-node {
    position: relative;
    width: calc(50% - 5rem);
}

.about-route-node-left {
    margin-right: auto;
}

.about-route-node-right {
    margin-left: auto;
}

.about-route-node::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    width: 3.6rem;
    height: 2.5rem;
    border-top: 2px solid rgba(195, 71, 51, 0.34);
}

.about-route-node-left::before {
    right: -3.6rem;
    border-right: 2px solid rgba(195, 71, 51, 0.34);
    border-top-right-radius: 26px;
}

.about-route-node-right::before {
    left: -3.6rem;
    border-left: 2px solid rgba(195, 71, 51, 0.34);
    border-top-left-radius: 26px;
}

.about-route-marker {
    position: absolute;
    top: 1.4rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff8f4;
    border: 3px solid #c34733;
    box-shadow: 0 0 0 9px rgba(195, 71, 51, 0.08);
    transition:
        transform var(--trans),
        background-color var(--trans),
        box-shadow var(--trans);
}

.about-route-node-left .about-route-marker {
    right: -4.45rem;
}

.about-route-node-right .about-route-marker {
    left: -4.45rem;
}

.about-route-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.3rem 1.35rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(255, 249, 243, 0.72)),
        radial-gradient(circle at 90% 12%, rgba(195, 71, 51, 0.08), transparent 24%);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--trans),
        box-shadow var(--trans),
        border-color var(--trans),
        background-color var(--trans);
}

.about-route-card h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.55rem, 2.7vw, 2.1rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.about-route-card p:last-child {
    color: var(--text-soft);
}

.about-route-node.is-reached .about-route-card {
    transform: translateY(-2px);
    border-color: rgba(195, 71, 51, 0.18);
    box-shadow: var(--shadow-md);
}

.about-route-node.is-reached .about-route-marker {
    transform: scale(1.08);
    background: #c34733;
    box-shadow: 0 0 0 11px rgba(195, 71, 51, 0.12);
}

.about-hero {
    padding-top: clamp(4rem, 8vw, 7rem);
}

.about-story {
    display: grid;
    gap: 3.6rem;
    margin-top: 1rem;
}

.about-section,
.about-closing {
    display: grid;
    gap: 0.95rem;
    padding-top: 2.8rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.about-process {
    margin-top: clamp(4rem, 8vw, 6rem);
}

.about-process-list {
    position: relative;
    display: grid;
    gap: 2.4rem;
    margin-top: 1rem;
    padding-left: 2.6rem;
}

.about-process-list::before {
    content: "";
    position: absolute;
    left: 0.65rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(129, 81, 39, 0.28), rgba(129, 81, 39, 0.06));
}

.about-process-item {
    position: relative;
    display: grid;
    gap: 0.5rem;
    max-width: 38rem;
}

.about-process-item::before {
    content: "";
    position: absolute;
    left: -2.3rem;
    top: 0.1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(129, 81, 39, 0.08);
}

.about-process-item h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-zzt {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    margin: clamp(4rem, 8vw, 6rem) auto 0;
    padding-top: 2.8rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    text-align: center;
}

.about-zzt-logo {
    width: min(180px, 46vw);
}

.about-closing {
    margin-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: 1rem;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    width: 100%;
}

.home-hero-grid .home-hero-shell {
    width: 100%;
    max-width: none;
    text-align: left;
    justify-items: start;
}

.home-hero-grid .home-motto {
    margin-inline: 0;
    max-width: 32rem;
}

.hero-actions-home {
    justify-content: flex-start;
}

.home-search-stage {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.home-compass {
    position: relative;
    display: grid;
    gap: 1rem;
    align-self: stretch;
    padding: 1.5rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(255, 251, 246, 0.9), rgba(247, 239, 228, 0.72)),
        radial-gradient(circle at top right, rgba(178, 70, 62, 0.12), transparent 42%);
    box-shadow: var(--shadow-sm);
}

.home-compass::before {
    content: "";
    position: absolute;
    inset: 1rem 1rem auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(178, 70, 62, 0.4), transparent);
}

.home-compass-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.home-compass-body {
    color: var(--text-soft);
}

.home-layer-list {
    display: grid;
    gap: 0.3rem;
}

.home-layer-row {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(57, 45, 31, 0.08);
    transition: transform var(--trans), color var(--trans);
}

.home-layer-row:hover {
    transform: translateX(4px);
    color: var(--accent-strong);
}

.home-layer-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: var(--signal-soft);
    color: var(--signal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.home-layer-copy {
    display: grid;
    gap: 0.18rem;
}

.home-layer-copy strong {
    font-size: 0.98rem;
}

.home-layer-copy span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.home-proof-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-proof-item,
.home-fact {
    display: grid;
    gap: 0.12rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(57, 45, 31, 0.1);
}

.home-proof-item strong,
.home-fact strong {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-proof-item span,
.home-fact span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.home-route-section {
    margin-top: clamp(3rem, 6vw, 4.8rem);
}

.home-route-list,
.home-epoch-list {
    display: grid;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.route-row,
.epoch-row,
.home-path-row,
.home-epoch-row {
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(57, 45, 31, 0.1);
    transition: transform var(--trans), color var(--trans);
}

.route-row:hover,
.epoch-row:hover,
.home-path-row:hover,
.home-epoch-row:hover {
    transform: translateX(6px);
    color: var(--accent-strong);
}

.route-row-kicker,
.home-path-kicker,
.epoch-row-kicker {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.route-row-main,
.home-path-row {
    grid-template-columns: minmax(0, 1fr);
}

.route-row-copy,
.epoch-row-main,
.home-path-copy,
.home-epoch-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.route-row-copy h3,
.epoch-row-main h3,
.home-path-copy h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.route-row-copy p,
.epoch-row-main p,
.home-path-copy p,
.home-epoch-copy span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.route-row-meta,
.epoch-row-meta,
.home-path-meta,
.home-epoch-meta {
    display: grid;
    gap: 0.18rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.route-row-meta strong,
.epoch-row-meta strong,
.home-path-meta strong,
.home-epoch-meta strong {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 800;
}

.home-path-row {
    grid-template-columns: 42px minmax(0, 1fr) minmax(150px, 0.38fr) auto;
    align-items: end;
    gap: 1rem;
}

.home-path-index {
    color: var(--signal);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.home-path-arrow {
    color: var(--signal);
    font-size: 1rem;
}

.epoch-row,
.home-epoch-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.home-epoch-row {
    position: relative;
    padding-left: 1.2rem;
}

.home-epoch-dot {
    position: absolute;
    left: 0;
    top: 1.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--signal);
}

.home-note-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: end;
    margin-top: clamp(3rem, 6vw, 4.8rem);
    padding: 1.4rem 0 0;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.home-note-band .home-note-copy {
    display: grid;
    gap: 0.65rem;
}

.page-main-about-story {
    width: min(1120px, calc(100% - 2rem));
}

.about-hero-map {
    gap: 1.3rem;
}

.about-proof-list {
    margin-top: 0.2rem;
}

.about-route {
    margin-top: clamp(4rem, 8vw, 6rem);
}

.about-route-shell {
    position: relative;
    margin-top: 1.2rem;
    padding-bottom: 1rem;
}

.about-route-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 220px;
    transform: translateX(-50%);
    pointer-events: none;
}

.about-route-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.about-route-path-base,
.about-route-path-progress {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-route-path-base {
    stroke: rgba(178, 70, 62, 0.18);
    stroke-width: 4;
}

.about-route-path-progress {
    stroke: var(--signal);
    stroke-width: 4.5;
    filter: drop-shadow(0 0 12px rgba(178, 70, 62, 0.28));
}

.about-route-stops {
    position: relative;
    display: grid;
    gap: 1.8rem;
}

.about-route-stop {
    position: relative;
    display: flex;
    min-height: 11rem;
    width: 100%;
}

.about-route-stop-left {
    justify-content: flex-start;
    padding-right: calc(50% + 4.5rem);
}

.about-route-stop-right {
    justify-content: flex-end;
    padding-left: calc(50% + 4.5rem);
}

.about-route-marker,
.about-route-stop-node {
    position: absolute;
    left: 50%;
    top: 1.35rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--signal);
    box-shadow:
        0 0 0 8px rgba(178, 70, 62, 0.08),
        0 8px 18px rgba(178, 70, 62, 0.18);
}

.about-route-card {
    position: relative;
    width: min(100%, 31rem);
    display: grid;
    gap: 0.5rem;
    padding: 1.3rem 1.35rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(248, 241, 232, 0.76));
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--trans),
        border-color var(--trans),
        box-shadow var(--trans);
}

.about-route-card::after {
    content: "";
    position: absolute;
    top: 1.55rem;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, rgba(178, 70, 62, 0.42), transparent);
}

.about-route-stop-left .about-route-card::after {
    right: -42px;
}

.about-route-stop-right .about-route-card::after {
    left: -42px;
    transform: scaleX(-1);
}

.about-route-step {
    color: var(--signal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-route-card h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    letter-spacing: -0.035em;
    line-height: 1;
}

.about-route-card p:last-child {
    color: var(--text-soft);
}

.about-route-stop.is-active .about-route-card {
    transform: translateY(-4px);
    border-color: rgba(178, 70, 62, 0.28);
    box-shadow: 0 24px 44px rgba(32, 25, 18, 0.1);
}

.about-principles {
    margin-top: clamp(4rem, 8vw, 5.8rem);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-principle {
    display: grid;
    gap: 0.45rem;
    padding: 1.15rem 0 0.2rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.about-principle h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-principle p:last-child {
    color: var(--text-soft);
}

.about-support {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    margin-top: clamp(4rem, 8vw, 6rem);
    padding-top: 2rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.about-support-copy {
    display: grid;
    gap: 0.55rem;
}

.about-closing-map {
    margin-top: clamp(4rem, 8vw, 6rem);
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(1.8rem, 5vw, 4.2rem);
    align-items: start;
    width: min(1160px, 100%);
}

.home-hero-grid .home-hero-shell {
    width: min(720px, 100%);
    text-align: left;
}

.home-hero-grid .search-wrap-xl {
    margin-inline: 0;
}

.home-hero-grid .home-motto,
.home-hero-grid .home-hero-meta {
    margin-inline: 0;
}

.home-hero-grid .quick-tags {
    justify-content: flex-start;
}

.home-compass {
    display: grid;
    gap: 1rem;
    padding: 1.45rem 1.55rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(252, 246, 238, 0.6)),
        radial-gradient(circle at top right, rgba(214, 108, 86, 0.08), transparent 42%);
    box-shadow: var(--shadow-sm);
}

.home-compass-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.home-compass-body {
    color: var(--text-soft);
    font-size: 0.96rem;
}

.home-layer-list,
.home-route-list,
.home-epoch-list {
    display: grid;
}

.home-layer-list {
    gap: 0.85rem;
}

.home-layer-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(57, 45, 31, 0.08);
}

.home-layer-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    border-radius: 999px;
    background: rgba(129, 81, 39, 0.08);
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-layer-copy {
    display: grid;
    gap: 0.18rem;
}

.home-layer-copy strong,
.route-row-copy h3,
.epoch-row-main h3,
.about-principle h3 {
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-layer-copy span,
.route-row-copy p,
.route-row-meta span,
.epoch-row-main p,
.epoch-row-meta span,
.about-route-stop p,
.about-principle p,
.about-support-copy p {
    color: var(--text-soft);
}

.home-proof-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(57, 45, 31, 0.08);
}

.home-proof-item {
    display: grid;
    gap: 0.12rem;
}

.home-proof-item strong {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-proof-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.home-route-section,
.home-epochs {
    margin-top: clamp(4rem, 7vw, 6rem);
}

.route-row,
.epoch-row {
    display: grid;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(57, 45, 31, 0.1);
    transition:
        transform var(--trans),
        color var(--trans);
}

.home-route-list .route-row:last-child,
.home-epoch-list .epoch-row:last-child {
    border-bottom: 1px solid rgba(57, 45, 31, 0.1);
}

.route-row {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    align-items: start;
}

.route-row-kicker,
.epoch-row-kicker,
.about-route-stop-label {
    color: var(--accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.route-row-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.68fr);
    gap: 1rem 1.4rem;
    align-items: start;
}

.route-row-copy,
.route-row-meta,
.epoch-row-main,
.epoch-row-meta {
    display: grid;
    gap: 0.24rem;
}

.route-row-meta strong,
.epoch-row-meta strong {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.route-row:hover,
.epoch-row:hover {
    transform: translateX(4px);
}

.epoch-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.epoch-row-meta {
    justify-items: end;
    text-align: right;
}

.home-note-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 2rem;
    align-items: end;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: 1.4rem 0;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    border-bottom: 1px solid rgba(57, 45, 31, 0.12);
}

.home-note-copy {
    display: grid;
    gap: 0.65rem;
}

.home-note-copy h2,
.about-support-copy h2,
.about-route-stop h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.home-note-copy p {
    max-width: 52rem;
}

.page-main-about-story {
    width: min(1100px, calc(100% - 2rem));
}

.about-hero-map .page-description {
    max-width: 46rem;
}

.about-proof-list {
    max-width: 28rem;
    margin-top: 1rem;
}

.about-route {
    margin-top: clamp(4rem, 8vw, 6.5rem);
}

.about-route-shell {
    position: relative;
    padding: 1.4rem 0 0.2rem;
}

.about-route-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(240px, 24vw);
    transform: translateX(-50%);
    pointer-events: none;
}

.about-route-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.about-route-path-base,
.about-route-path-progress {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-route-path-base {
    stroke: rgba(198, 77, 53, 0.18);
    stroke-width: 3;
}

.about-route-path-progress {
    stroke: #c64d35;
    stroke-width: 4;
}

.about-route-stops {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.75rem;
}

.about-route-stop {
    position: relative;
    width: min(45%, 430px);
    display: grid;
    gap: 0.58rem;
    padding: 1.3rem 1.45rem 1.25rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(253, 246, 238, 0.72)),
        radial-gradient(circle at top right, rgba(198, 77, 53, 0.08), transparent 48%);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--trans),
        border-color var(--trans),
        box-shadow var(--trans),
        background-color var(--trans);
}

.about-route-stop-left {
    margin-right: auto;
}

.about-route-stop-right {
    margin-left: auto;
}

.about-route-stop-node {
    position: absolute;
    top: 1.55rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fffaf6;
    border: 3px solid #c64d35;
    box-shadow: 0 0 0 8px rgba(198, 77, 53, 0.1);
}

.about-route-stop-left .about-route-stop-node {
    right: -48px;
}

.about-route-stop-right .about-route-stop-node {
    left: -48px;
}

.about-route-stop.is-active {
    transform: translateY(-4px);
    border-color: rgba(198, 77, 53, 0.28);
    box-shadow: 0 20px 44px rgba(32, 25, 18, 0.12);
}

.about-principles {
    margin-top: clamp(4rem, 8vw, 6rem);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.about-principle {
    display: grid;
    gap: 0.55rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.about-support {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-top: clamp(4rem, 8vw, 6rem);
    padding-top: 2rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.about-support-copy {
    display: grid;
    gap: 0.6rem;
}

.about-closing-map {
    gap: 0.9rem;
}

.site-footer {
    width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    background: rgba(255, 250, 245, 0.74);
    backdrop-filter: blur(14px);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: var(--page-width);
    margin: 0 auto;
    padding: 1rem 0 1.25rem;
}

.site-footer-copy {
    display: grid;
    gap: 0.2rem;
}

.site-footer strong {
    color: var(--text);
}

.site-footer-home-link {
    color: var(--text);
    font-weight: 700;
}

.site-footer-home-link:hover {
    color: var(--accent-strong);
}

.site-footer-copy p,
.site-footer-links {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible,
html:not(.js-motion-ready) [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroFloat {
    from {
        transform: translate3d(0, calc(var(--hero-shift, 0px) * -1), 0) scale(1);
    }

    to {
        transform: translate3d(0, calc(var(--hero-shift, 0px) * -1 - 12px), 0) scale(1.02);
    }
}

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

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .home-hero::before {
        transform: none !important;
    }
}

/* Home refinement */
.page-main {
    width: min(1160px, calc(100% - 2.6rem));
}

.page-main-home {
    width: min(1040px, calc(100% - 2.6rem));
}

.page-main-about {
    width: min(960px, calc(100% - 2.6rem));
}

.site-header {
    width: min(1120px, calc(100% - 2.2rem));
    padding: 0.88rem 1.1rem;
    background: rgba(255, 250, 245, 0.8);
}

.home-hero {
    min-height: auto;
    padding: clamp(2.8rem, 7vw, 4.8rem) 0 1.2rem;
}

.home-hero::before {
    inset: 4% 16% auto;
    height: 54%;
    opacity: 0.74;
}

.home-hero::after {
    inset: auto 18% 3%;
    opacity: 0.56;
}

.home-hero-shell {
    width: min(820px, 100%);
    margin: 0 auto;
    gap: 1.3rem;
    text-align: center;
    position: relative;
}

.home-hero-shell::before {
    content: "";
    position: absolute;
    top: -0.55rem;
    left: 50%;
    width: min(560px, 80vw);
    height: 110px;
    transform: translateX(-50%);
    border-radius: 999px;
    background:
        radial-gradient(circle at 22% 45%, rgba(109, 84, 196, 0.18), transparent 28%),
        radial-gradient(circle at 78% 52%, rgba(202, 79, 68, 0.16), transparent 24%),
        linear-gradient(90deg, rgba(109, 84, 196, 0), rgba(109, 84, 196, 0.24), rgba(255, 255, 255, 0.1), rgba(202, 79, 68, 0.24), rgba(202, 79, 68, 0));
    filter: blur(16px);
    opacity: 0.78;
    pointer-events: none;
    z-index: -1;
    animation: ribbonFloat 16s ease-in-out infinite alternate;
}

.home-hero-copy {
    display: grid;
    gap: 0.72rem;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0 auto;
}

.home-kicker::before,
.home-kicker::after {
    content: "";
    width: clamp(34px, 8vw, 76px);
    height: 1px;
    opacity: 0.8;
}

.home-kicker::before {
    background: linear-gradient(90deg, rgba(109, 84, 196, 0), rgba(109, 84, 196, 0.72));
}

.home-kicker::after {
    background: linear-gradient(90deg, rgba(202, 79, 68, 0.72), rgba(202, 79, 68, 0));
}

.home-title {
    font-size: clamp(3.6rem, 10vw, 6.4rem);
}

.home-motto {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 1.02rem;
}

.home-search-stage {
    position: relative;
    isolation: isolate;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 1.05rem 1.05rem 1rem;
    border: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 32px;
    background: rgba(255, 250, 245, 0.78);
    box-shadow: 0 22px 42px rgba(32, 25, 18, 0.08);
}

.home-search-stage::before {
    content: "";
    position: absolute;
    top: 0.85rem;
    left: 1.1rem;
    right: 1.1rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(109, 84, 196, 0.72), rgba(255, 255, 255, 0.88) 52%, rgba(202, 79, 68, 0.68));
    opacity: 0.72;
    pointer-events: none;
}

.home-search-stage::after {
    content: "";
    position: absolute;
    right: 1.15rem;
    top: -0.7rem;
    width: 114px;
    height: 30px;
    border-top: 2px solid rgba(109, 84, 196, 0.3);
    border-right: 2px solid rgba(202, 79, 68, 0.24);
    border-top-right-radius: 42px;
    transform: rotate(4deg);
    pointer-events: none;
}

.home-search-block.search-wrap {
    width: 100%;
    gap: 0.75rem;
}

#searchInput {
    min-height: 62px;
    padding: 1.1rem 1.1rem 1.1rem 3.15rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
}

#searchButton {
    min-width: 120px;
    min-height: 62px;
    border-radius: 22px;
    padding-inline: 1.35rem;
}

.suggestions-box {
    top: calc(100% + 0.75rem);
    border-radius: 22px;
    background: rgba(255, 250, 245, 0.98);
    box-shadow: 0 24px 48px rgba(32, 25, 18, 0.14);
    z-index: 110;
}

.quick-tags {
    margin-top: 0.85rem;
    gap: 0.65rem;
}

.quick-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 0.92rem;
    border: 1px solid rgba(57, 45, 31, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text-soft);
}

.home-hero-meta {
    margin-top: 0.1rem;
    letter-spacing: 0.12em;
}

.home-epochs-editorial {
    margin-top: clamp(2.4rem, 6vw, 3.8rem);
}

.home-epochs-editorial .section-heading {
    max-width: 36rem;
    margin: 0 auto 1.4rem;
    text-align: center;
}

.home-epochs-editorial .section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.epoch-rail {
    border-top: 1px solid rgba(57, 45, 31, 0.1);
}

.epoch-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem 1.25rem;
    align-items: center;
    padding: 1.05rem 0.15rem;
}

.epoch-row-main {
    gap: 0.2rem;
}

.epoch-row-kicker {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.epoch-row-main h3 {
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    line-height: 1.05;
}

.epoch-row-meta {
    min-width: 9rem;
    gap: 0.08rem;
    justify-items: end;
    text-align: right;
}

.epoch-row-meta strong {
    font-size: 1.35rem;
}

.epoch-row-meta span:first-child {
    font-size: 0.82rem;
}

.epoch-row-meta span:last-child {
    font-size: 0.78rem;
}

.home-afterword {
    display: grid;
    gap: 0.55rem;
    max-width: 42rem;
    margin: 2.4rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
    text-align: center;
}

.home-afterword p:not(.section-kicker) {
    color: var(--text-soft);
}

.site-footer {
    background: rgba(255, 250, 245, 0.84);
}

.site-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, rgba(109, 84, 196, 0.58), rgba(255, 255, 255, 0.9) 52%, rgba(202, 79, 68, 0.6));
    opacity: 0.9;
}

.site-footer-inner {
    width: min(1040px, calc(100% - 2.6rem));
    padding: 0.85rem 0 1rem;
}

.site-footer-links {
    gap: 0.7rem 1rem;
}

@keyframes ribbonFloat {
    from {
        transform: translateX(-50%) translateY(0);
    }

    to {
        transform: translateX(-50%) translateY(-6px);
    }
}

@media (max-width: 980px) {
    .home-hero-grid,
    .home-hero-shell-split,
    .about-hero-grid,
    .home-foundation,
    .route-row-main,
    .about-principles-grid,
    .about-support {
        grid-template-columns: 1fr;
    }

    .home-compass,
    .about-proof-list {
        max-width: none;
    }

    .route-row,
    .home-path-row,
    .epoch-row {
        grid-template-columns: 1fr;
    }

    .home-path-meta,
    .epoch-row-meta {
        justify-items: start;
        text-align: left;
    }

    .home-epoch-list {
        gap: 0;
    }

    .about-route-line {
        left: 1.1rem;
        width: 78px;
        transform: none;
    }

    .about-route-stops {
        gap: 1.3rem;
        padding-left: 2.8rem;
    }

    .about-route-stop,
    .about-route-stop-left,
    .about-route-stop-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .about-route-stop-left .about-route-stop-node,
    .about-route-stop-right .about-route-stop-node {
        left: -2.15rem;
        right: auto;
    }

    .home-facts,
    .proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-summary-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-search-stage {
        width: min(760px, 100%);
    }
}

@media (max-width: 860px) {
    .site-header,
    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        justify-content: center;
    }

    .header-brand {
        justify-content: center;
    }

    .page-main,
    .site-footer-inner {
        width: min(1180px, calc(100% - 1.6rem));
    }

    .home-title {
        font-size: clamp(3.6rem, 16vw, 6.6rem);
    }

    .home-hero-grid .home-hero-shell,
    .home-hero-shell-split {
        width: 100%;
    }

    .site-footer-inner {
        padding-inline: 0;
        align-items: center;
    }

    .site-footer-copy,
    .site-footer-meta,
    .site-footer-block {
        width: 100%;
        justify-items: center;
        align-items: center;
        text-align: center;
    }

    .site-footer-home-link,
    .site-footer-zzt-note,
    .site-footer-attribution,
    .site-footer-links,
    .site-footer-legal,
    .site-socials-footer {
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .site-header {
        position: static;
        width: min(1240px, calc(100% - 1.4rem));
        padding: 0.78rem 0.95rem;
        margin-top: 0.55rem;
        border-radius: 22px;
    }

    .header-logo {
        height: 32px;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.45rem 0.8rem;
    }

    .site-nav-link {
        font-size: 0.88rem;
        text-align: center;
    }

    .home-hero {
        padding: 1.85rem 0 1rem;
    }

    .home-hero-shell {
        gap: 1rem;
    }

    .home-hero-grid .home-hero-shell {
        text-align: center;
    }

    .home-hero-shell::before {
        width: min(300px, 84vw);
        height: 82px;
        top: -0.2rem;
        filter: blur(14px);
    }

    .hero-actions-home,
    .home-foundation-side {
        justify-items: stretch;
    }

    .home-title {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .home-motto,
    .page-description,
    .page-subtitle {
        font-size: 0.96rem;
    }

    .search-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    #searchButton {
        width: 100%;
        order: 2;
    }

    .suggestions-box {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 0;
        right: 0;
        max-height: 40vh;
        background: #fffaf6;
        border-color: var(--border-strong);
        border-radius: 18px;
        backdrop-filter: none;
        box-shadow: 0 18px 34px rgba(32, 25, 18, 0.12);
    }

    .suggestion-item {
        gap: 0.12rem;
        padding: 0.75rem 0.85rem;
    }

    .s-topline {
        gap: 0.35rem 0.5rem;
    }

    .s-title {
        font-size: 0.92rem;
        line-height: 1.28;
    }

    .s-sub {
        font-size: 0.76rem;
        line-height: 1.35;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .quick-tags,
    .related-links {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-tags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        margin-top: 0.8rem;
    }

    .home-hero-grid .quick-tags {
        justify-content: stretch;
    }

    .home-hero-grid .home-motto,
    .home-hero-grid .home-hero-meta {
        margin-inline: auto;
    }

    .site-footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem 0.85rem;
        align-items: center;
    }

    .home-compass,
    .home-route-panel,
    .about-hero-aside,
    .home-note-band,
    .about-support {
        padding: 1rem 1rem 1.05rem;
        border-radius: 24px;
    }

    .home-proof-list {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .home-layer-row {
        gap: 0.75rem;
    }

    .route-row,
    .home-path-row,
    .epoch-row {
        gap: 0.55rem;
        padding: 0.95rem 0;
    }

    .route-row-kicker,
    .home-path-kicker,
    .epoch-row-kicker {
        font-size: 0.68rem;
    }

    .home-route-panel,
    .about-hero-aside {
        max-width: none;
    }

    .about-route-shell {
        padding-left: 2.8rem;
    }

    .about-route-rail {
        left: 0.25rem;
        width: 88px;
        transform: none;
    }

    .about-route-node,
    .about-route-node-left,
    .about-route-node-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .about-route-node::before,
    .about-route-node-left::before,
    .about-route-node-right::before {
        left: -2rem;
        right: auto;
        width: 2rem;
        height: 2rem;
        border-top: 2px solid rgba(195, 71, 51, 0.34);
        border-left: 2px solid rgba(195, 71, 51, 0.34);
        border-right: 0;
        border-top-left-radius: 22px;
        border-top-right-radius: 0;
    }

    .about-route-marker,
    .about-route-node-left .about-route-marker,
    .about-route-node-right .about-route-marker {
        left: -2.45rem;
        right: auto;
    }

    .about-route-card {
        padding: 1.05rem;
        border-radius: 24px;
    }

    .home-note-band {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-search-stage {
        padding: 0.85rem 0.85rem 0.92rem;
        border-radius: 28px;
    }

    .home-search-stage::before {
        left: 0.85rem;
        right: 0.85rem;
        top: 0.72rem;
        height: 2px;
    }

    .home-search-stage::after {
        right: 0.9rem;
        top: -0.55rem;
        width: 78px;
        height: 24px;
    }

    #searchInput {
        min-height: 58px;
        padding-left: 2.9rem;
    }

    #searchButton {
        min-height: 52px;
    }

    .epoch-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding: 0.95rem 0;
    }

    .epoch-row-meta {
        min-width: 0;
        justify-items: start;
        text-align: left;
    }

    .home-afterword {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .home-epoch-list {
        gap: 0;
    }

    .proof-strip article,
    .collection-card,
    .path-card,
    .epoch-card,
    .related-section {
        padding-inline: 0.95rem;
    }

    .quick-tag,
    .text-link,
    .toc-link {
        text-align: center;
    }

    .quick-tag {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0.65rem 0.7rem;
        border: 1px solid rgba(57, 45, 31, 0.1);
        border-radius: 14px;
        background: rgba(255, 252, 247, 0.6);
    }

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

    .home-facts,
    .proof-strip {
        grid-template-columns: 1fr;
    }

    .epoch-card,
    .path-card {
        min-height: 0;
        gap: 0.5rem;
        padding: 1rem 0.95rem;
    }

    .collection-card {
        gap: 0.75rem;
        padding: 1rem 0.95rem;
    }

    .inline-pill {
        min-height: 28px;
        padding: 0.22rem 0.55rem;
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .hero-chip-row,
    .hero-chip-group {
        gap: 0.45rem;
    }

    .resource-link,
    .related-link {
        gap: 0.55rem;
        padding: 0.72rem 0.8rem;
    }

    .about-route {
        margin-top: 3.2rem;
    }

    .about-route-shell {
        padding-top: 1rem;
    }

    .about-route-stops {
        padding-left: 2.35rem;
    }

    .about-route-stop {
        padding: 1.05rem 1.05rem 1rem;
        border-radius: 24px;
    }

    .about-route-stop-label {
        font-size: 0.66rem;
    }

    .about-support {
        gap: 0.9rem;
    }

    .about-process-list {
        gap: 1.65rem;
        padding-left: 1.45rem;
    }

    .about-process-list::before {
        left: 0.3rem;
    }

    .about-process-item::before {
        left: -1.08rem;
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 6px rgba(129, 81, 39, 0.08);
    }

    .resource-link-copy {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-link {
        display: grid;
        justify-content: start;
    }

    .home-foundation,
    .home-note {
        margin-top: 3.3rem;
    }

    .page-main {
        padding-bottom: 3rem;
    }

    .site-footer-inner {
        gap: 0.55rem;
        padding: 0.75rem 0 0.9rem;
    }

    .site-footer-copy p,
    .site-footer-links {
        font-size: 0.82rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .site-header {
        padding: 0.7rem 0.82rem;
        gap: 0.7rem;
    }

    .header-logo {
        height: 29px;
    }

    .home-hero {
        padding: 1.8rem 0 1.15rem;
    }

    .home-hero-shell {
        gap: 0.7rem;
    }

    .home-search-stage {
        padding: 0.78rem 0.78rem 0.84rem;
    }

    .home-title {
        font-size: clamp(2.7rem, 13.5vw, 3.8rem);
    }

    .home-motto {
        font-size: 0.9rem;
    }

    .home-hero-meta {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .proof-strip {
        gap: 0.75rem;
    }

    .proof-strip article {
        padding: 0.85rem 0.95rem;
    }

    .proof-strip strong {
        font-size: 1.45rem;
    }

    .home-fact strong {
        font-size: 1.45rem;
    }

    .quick-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .suggestions-box {
        max-height: 36vh;
    }

    .suggestion-item {
        padding: 0.68rem 0.78rem;
    }

    .path-section,
    .epochs-section {
        margin-top: 2.6rem;
    }

    .page-hero {
        gap: 0.7rem;
        padding: 2.2rem 0 1.4rem;
    }

    .home-compass-title,
    .home-note-copy h2,
    .about-route-stop h2,
    .about-support-copy h2 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .about-route-line {
        left: 0.85rem;
        width: 62px;
    }

    .about-route-stops {
        padding-left: 2rem;
    }

    .hero-button {
        min-height: 42px;
        padding: 0.72rem 1rem;
    }

    .resource-link,
    .related-link,
    .collection-card,
    .epoch-card,
    .path-card,
    .related-section {
        padding: 0.82rem;
    }

    .about-route-shell {
        padding-left: 2.35rem;
    }

    .about-route-rail {
        width: 72px;
    }

    .about-route-list {
        gap: 1.1rem;
    }
}

/* Final polish pass for active version7 home/shared shell.
   This sits at the end on purpose so it can override older home/V2 leftovers
   without touching generator markup or parallel JS/template work. */
.page-main-home {
    width: min(1180px, calc(100% - 2.4rem));
}

.site-header {
    width: min(1240px, calc(100% - 2.2rem));
    padding: 0.92rem 1.3rem;
    border-color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.94), rgba(255, 249, 242, 0.82));
    box-shadow: 0 18px 34px rgba(32, 25, 18, 0.06);
    backdrop-filter: blur(14px);
}

.site-header-home {
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.98), rgba(255, 249, 242, 0.86));
}

.site-header::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.12), transparent);
    opacity: 1;
    pointer-events: none;
}

.site-nav {
    gap: 0.85rem 1rem;
}

.site-nav-link {
    font-size: 0.88rem;
    font-weight: 750;
}

.search-wrap-xl {
    width: min(900px, 100%);
}

#searchInput {
    padding: 1.15rem 1.08rem 1.15rem 3.15rem;
    border-color: rgba(57, 45, 31, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 14px 32px rgba(32, 25, 18, 0.06);
}

#searchInput::placeholder {
    color: rgba(93, 81, 68, 0.75);
}

#searchButton {
    padding: 1.08rem 1.35rem;
    border-radius: 22px;
}

.suggestions-box {
    top: calc(100% + 0.5rem);
    max-height: min(280px, 44vh);
    border-color: rgba(57, 45, 31, 0.1);
    border-radius: 12px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: none;
}

.suggestion-item {
    padding: 0.52rem 0.68rem;
}

.s-topline {
    gap: 0.3rem 0.42rem;
}

.s-title {
    font-size: 0.84rem;
}

.s-sub,
.suggestion-empty {
    font-size: 0.72rem;
}

.home-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding-left: 0.9rem;
}

.home-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.55rem;
    height: 1px;
    background: rgba(57, 45, 31, 0.28);
    transform: translateY(-50%);
}

.home-hero {
    min-height: auto;
    align-items: start;
    padding: clamp(2.9rem, 7vw, 5.8rem) 0 1.3rem;
}

.home-hero::before {
    inset: 5% 9% auto;
    height: 60%;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.88), transparent 30%),
        radial-gradient(circle at 82% 24%, rgba(248, 242, 233, 0.76), transparent 24%),
        radial-gradient(circle at 50% 56%, rgba(244, 237, 227, 0.82), transparent 34%);
    filter: blur(8px);
}

.home-hero::after {
    inset: auto 12% 4%;
    height: 26px;
    background:
        linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.1), transparent) center 16px / 100% 1px no-repeat;
    opacity: 1;
}

.home-hero-shell {
    gap: 0.85rem;
}

.home-hero-shell-split {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.72fr);
    gap: clamp(1.1rem, 3vw, 2rem);
    align-items: start;
}

.home-hero-copy {
    gap: 0.8rem;
    align-content: start;
}

.home-title {
    font-size: clamp(3.8rem, 11vw, 7rem);
    line-height: 0.92;
}

.home-motto {
    max-width: 34rem;
    color: rgba(93, 81, 68, 0.96);
    font-size: 1.04rem;
}

.hero-actions-home {
    gap: 0.72rem;
}

.home-route-panel {
    align-self: start;
    gap: 0.75rem;
    padding: 1.05rem 1.1rem 1.1rem;
    border-color: rgba(178, 70, 62, 0.14);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0.86), rgba(253, 247, 240, 0.68)),
        linear-gradient(130deg, rgba(178, 70, 62, 0.05), transparent 36%);
    box-shadow: none;
}

.home-route-panel::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    right: 1.05rem;
    top: 0.82rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(178, 70, 62, 0.28), transparent 72%);
    pointer-events: none;
}

.home-route-panel::after {
    inset: auto auto 0.9rem 1rem;
    width: 54%;
    height: 22px;
    background:
        linear-gradient(90deg, rgba(178, 70, 62, 0.18), transparent) center / 100% 1px no-repeat;
    opacity: 0.9;
}

.home-route-panel h2 {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    line-height: 1.05;
}

.home-route-panel p {
    font-size: 0.92rem;
}

.home-route-preview {
    gap: 0.8rem;
    padding-left: 1rem;
}

.home-route-preview-line {
    left: 0.18rem;
    top: 0.18rem;
    bottom: 0.45rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(178, 70, 62, 0.28), rgba(178, 70, 62, 0.78));
}

.home-route-stop {
    gap: 0.72rem;
}

.home-route-stop::before {
    left: -0.12rem;
    top: 0.62rem;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(195, 71, 51, 0.07);
}

.home-route-stop-copy strong {
    font-size: 0.95rem;
}

.home-route-stop-copy span {
    font-size: 0.83rem;
    line-height: 1.45;
}

.home-search-stage {
    max-width: min(980px, 100%);
    margin: 1.35rem auto 0;
    padding: 1.18rem 1.2rem 1rem;
    border-color: rgba(57, 45, 31, 0.08);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 248, 241, 0.78)),
        linear-gradient(90deg, rgba(178, 70, 62, 0.08), transparent 18%, transparent 82%, rgba(178, 70, 62, 0.06));
    box-shadow: 0 26px 58px rgba(32, 25, 18, 0.08);
}

.home-search-stage::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0.88rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(178, 70, 62, 0.3), transparent 68%);
    pointer-events: none;
}

.home-search-stage::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 0.68rem;
    width: 74px;
    height: 26px;
    border-top: 1px solid rgba(178, 70, 62, 0.22);
    border-right: 1px solid rgba(178, 70, 62, 0.18);
    border-top-right-radius: 28px;
    pointer-events: none;
}

.quick-tags {
    gap: 0.58rem 0.65rem;
    margin-top: 0.15rem;
}

.quick-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.46rem 0.76rem;
    border: 1px solid rgba(57, 45, 31, 0.09);
    border-radius: var(--radius-pill);
    background: rgba(255, 252, 247, 0.74);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.quick-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(178, 70, 62, 0.62);
    flex: 0 0 auto;
}

.quick-tag:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 20px rgba(32, 25, 18, 0.05);
}

.home-hero-meta {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
}

.home-facts {
    gap: 1.15rem;
    margin-top: 2.25rem;
    padding: 1.15rem 0 0.2rem;
    border-top: 0;
    border-bottom: 0;
    position: relative;
}

.home-facts::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.14), transparent);
}

.home-fact {
    gap: 0.2rem;
    padding-top: 0.9rem;
    position: relative;
}

.home-fact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 1px;
    background: rgba(178, 70, 62, 0.3);
}

.home-fact span {
    max-width: 11rem;
}

.home-route-section,
.home-epochs-editorial {
    margin-top: clamp(2.9rem, 6vw, 4.6rem);
}

.home-path-row,
.epoch-row {
    gap: 1.1rem;
    padding: 1.2rem 0 1.15rem;
}

.home-path-row:hover,
.epoch-row:hover {
    transform: translateX(3px);
}

.home-path-copy h3,
.epoch-row-main h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 2vw, 1.82rem);
    line-height: 1.02;
}

.home-path-kicker,
.epoch-row-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
}

.home-path-copy p,
.epoch-row-main p {
    font-size: 0.94rem;
}

.home-path-meta strong,
.epoch-row-meta strong {
    font-size: 1.22rem;
}

.home-foundation {
    gap: 1rem 1.4rem;
    margin-top: clamp(2.8rem, 6vw, 4.4rem);
    padding-top: 1.15rem;
}

.home-foundation::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(178, 70, 62, 0.2), transparent 78%);
}

.home-foundation-copy {
    gap: 0.6rem;
}

.home-foundation-side {
    align-content: start;
}

.home-foundation-side .hero-chip-row:empty {
    display: none;
}

.text-link {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-footer {
    margin-top: 1rem;
    background: transparent;
    border-top: 0;
    backdrop-filter: none;
}

.site-footer-inner {
    width: min(1180px, calc(100% - 2.2rem));
    gap: 0.75rem 1.2rem;
    padding: 0.92rem 0 1.1rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.site-footer-copy {
    gap: 0.08rem;
}

.site-footer-links {
    gap: 0.55rem 1rem;
}

@media (max-width: 980px) {
    .page-main-home {
        width: min(1180px, calc(100% - 2rem));
    }

    .home-hero-shell-split {
        gap: 1rem;
    }

    .home-route-panel {
        max-width: none;
    }

    .home-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem 1.2rem;
    }
}

@media (max-width: 860px) {
    .site-header {
        width: min(1240px, calc(100% - 1.8rem));
        padding: 0.82rem 1rem;
        gap: 0.78rem;
    }

    .site-nav {
        justify-content: center;
        gap: 0.45rem 0.9rem;
    }

    .site-footer-inner {
        width: min(1180px, calc(100% - 1.8rem));
    }
}

@media (max-width: 640px) {
    .page-main,
    .page-main-home,
    .page-main-legal,
    .page-main-about-story,
    .site-footer-inner {
        width: min(1180px, calc(100% - 1.8rem));
    }

    .site-header {
        width: min(1240px, calc(100% - 1.8rem));
        padding: 0.8rem 0.95rem;
        margin-top: 0.6rem;
        gap: 0.7rem;
        border-radius: 24px;
    }

    .site-header::after {
        left: 1rem;
        right: 1rem;
    }

    .site-nav-link {
        font-size: 0.84rem;
    }

    .home-hero {
        padding: 2rem 0 1rem;
    }

    .home-hero-shell {
        gap: 0.75rem;
    }

    .home-hero-shell-split {
        gap: 0.95rem;
    }

    .home-hero-copy {
        justify-items: center;
        text-align: center;
        gap: 0.72rem;
    }

    .home-kicker {
        justify-self: center;
    }

    .home-title {
        font-size: clamp(3.2rem, 15vw, 4.6rem);
    }

    .home-motto,
    .page-description,
    .page-subtitle {
        font-size: 0.93rem;
        max-width: 31rem;
    }

    .hero-actions-home {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.55rem;
    }

    .hero-actions-home .hero-button {
        width: 100%;
        justify-content: center;
    }

    .home-route-panel {
        gap: 0.65rem;
        padding: 0.95rem 1rem 1rem;
        border-radius: 22px;
    }

    .home-route-panel::before {
        left: 0.95rem;
        right: 0.95rem;
        top: 0.72rem;
    }

    .home-route-panel::after {
        left: 0.95rem;
        bottom: 0.82rem;
        width: 48%;
    }

    .home-route-panel h2 {
        font-size: clamp(1.15rem, 6.4vw, 1.5rem);
    }

    .home-route-panel p {
        font-size: 0.86rem;
    }

    .home-route-preview {
        gap: 0.68rem;
        padding-left: 0.85rem;
    }

    .home-route-stop {
        gap: 0.58rem;
    }

    .home-route-stop-copy strong {
        font-size: 0.9rem;
    }

    .home-route-stop-copy span {
        font-size: 0.77rem;
    }

    .home-search-stage {
        margin-top: 1rem;
        padding: 0.95rem 0.95rem 0.88rem;
        border-radius: 26px;
    }

    .home-search-stage::before {
        left: 1rem;
        right: 1rem;
        top: 0.74rem;
    }

    .home-search-stage::after {
        right: 0.95rem;
        top: 0.62rem;
        width: 52px;
        height: 20px;
    }

    .search-wrap {
        gap: 0.58rem;
    }

    #searchInput {
        padding: 1.02rem 0.98rem 1.02rem 2.95rem;
        font-size: 1rem;
        border-radius: 22px;
    }

    #searchButton {
        padding: 0.98rem 1rem;
        border-radius: 18px;
    }

    .suggestions-box {
        top: calc(100% + 0.38rem);
        margin-top: 0;
        max-height: min(220px, 34vh);
        border-radius: 10px;
        box-shadow: none;
    }

    .suggestion-item {
        gap: 0.06rem;
        padding: 0.46rem 0.56rem;
    }

    .s-topline {
        gap: 0.22rem 0.36rem;
    }

    .s-cat,
    .s-badge {
        font-size: 0.54rem;
        letter-spacing: 0.08em;
    }

    .s-title {
        font-size: 0.8rem;
    }

    .s-sub,
    .suggestion-empty {
        font-size: 0.68rem;
    }

    .quick-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        margin-top: 0.5rem;
    }

    .quick-tag {
        justify-content: center;
        min-height: 0;
        padding: 0.58rem 0.62rem;
        font-size: 0.69rem;
        letter-spacing: 0.06em;
    }

    .home-hero-meta {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .home-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem 0.95rem;
        margin-top: 1.8rem;
    }

    .home-fact strong {
        font-size: 1.5rem;
    }

    .home-fact span {
        max-width: none;
        font-size: 0.76rem;
    }

    .home-route-section,
    .home-epochs-editorial,
    .home-foundation {
        margin-top: 2.6rem;
    }

    .home-path-row,
    .epoch-row {
        gap: 0.5rem;
        padding: 0.95rem 0 0.92rem;
    }

    .home-path-copy h3,
    .epoch-row-main h3 {
        font-size: clamp(1.26rem, 7vw, 1.55rem);
    }

    .home-path-copy p,
    .epoch-row-main p {
        font-size: 0.88rem;
    }

    .home-foundation {
        padding-top: 0.95rem;
    }

    .home-foundation-copy {
        gap: 0.5rem;
    }

    .site-footer {
        margin-top: 0.7rem;
    }

    .site-footer-inner {
        align-items: flex-start;
        gap: 0.42rem 0.9rem;
        padding: 0.7rem 0 0.86rem;
    }

    .site-footer-links {
        gap: 0.38rem 0.75rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .page-main,
    .page-main-home,
    .page-main-about-story,
    .site-footer-inner {
        width: min(1180px, calc(100% - 1.6rem));
    }

    .site-header {
        width: min(1240px, calc(100% - 1.6rem));
        padding: 0.74rem 0.88rem;
        gap: 0.62rem;
    }

    .header-logo {
        height: 30px;
    }

    .home-hero {
        padding: 1.7rem 0 0.8rem;
    }

    .home-title {
        font-size: clamp(2.8rem, 13.6vw, 3.9rem);
    }

    .home-motto {
        font-size: 0.88rem;
    }

    .hero-actions-home {
        gap: 0.45rem;
    }

    .hero-actions-home .hero-button {
        min-height: 42px;
    }

    .home-route-panel {
        padding: 0.82rem 0.9rem 0.9rem;
    }

    .home-route-preview {
        gap: 0.55rem;
    }

    .home-route-stop-copy strong {
        font-size: 0.86rem;
    }

    .home-route-stop-copy span {
        font-size: 0.74rem;
    }

    .home-search-stage {
        padding: 0.86rem 0.86rem 0.8rem;
        border-radius: 22px;
    }

    .home-search-stage::after {
        width: 44px;
    }

    #searchInput {
        padding: 0.96rem 0.94rem 0.96rem 2.82rem;
    }

    #searchButton {
        padding: 0.9rem 0.96rem;
    }

    .suggestions-box {
        max-height: min(280px, 43vh);
    }

    .quick-tags {
        gap: 0.4rem;
    }

    .quick-tag {
        padding: 0.52rem 0.56rem;
        font-size: 0.66rem;
    }

    .home-facts {
        margin-top: 1.55rem;
    }

    .home-route-section,
    .home-epochs-editorial,
    .home-foundation {
        margin-top: 2.3rem;
    }
}

/* Final home cleanup */
.home-hero-shell {
    width: min(720px, 100%);
    gap: 0.72rem;
}

.home-title {
    font-size: clamp(3rem, 7.8vw, 4.9rem);
}

.home-motto {
    max-width: 31rem;
    color: var(--text-soft);
    font-size: 0.99rem;
}

.home-search-stage {
    margin-top: 1rem;
    padding: 0.7rem 0.72rem 0.74rem;
    border-radius: 22px;
    background: rgba(255, 252, 248, 0.72);
    box-shadow: none;
}

.home-search-stage::before,
.home-search-stage::after {
    display: none;
}

.home-search-block.search-wrap {
    gap: 0.54rem;
}

.quick-tags {
    gap: 0.36rem;
    margin-top: 0.45rem;
}

.quick-tag {
    gap: 0;
    padding: 0.38rem 0.52rem;
    border-radius: 999px;
    background: transparent;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

.quick-tag::before {
    display: none;
}

.quick-tag:hover {
    background: transparent;
    box-shadow: none;
    color: var(--accent-strong);
}

.home-hero-meta {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.home-epochs-editorial {
    margin-top: clamp(1.7rem, 4vw, 2.4rem);
}

.home-epochs-editorial .section-heading {
    max-width: 24rem;
    margin: 0 auto 0.55rem;
    justify-items: center;
    text-align: center;
}

.home-epochs-editorial .section-heading h2 {
    font-size: clamp(1.55rem, 3.4vw, 2.1rem);
}

.epoch-rail {
    width: min(880px, 100%);
    margin-inline: auto;
}

.epoch-row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.3rem;
    padding: 0.82rem 0.05rem;
    text-align: center;
}

.epoch-row:hover {
    transform: none;
    color: inherit;
}

.epoch-row-main {
    gap: 0.02rem;
}

.epoch-row-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
}

.epoch-row-main h3 {
    font-size: clamp(1.18rem, 1.6vw, 1.42rem);
}

.epoch-row-meta {
    min-width: 0;
    justify-items: center;
    gap: 0.06rem;
    text-align: center;
}

.epoch-row-meta strong {
    font-size: 1.05rem;
}

.epoch-row-meta span:last-child {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.site-footer {
    margin-top: 0.45rem;
    background: transparent;
    border-top: 1px solid rgba(57, 45, 31, 0.1);
}

.site-footer::before {
    display: none;
}

.site-footer-inner {
    width: min(1000px, calc(100% - 2.4rem));
    padding: 1rem 0 1.15rem;
    gap: 0.45rem 1rem;
}

.site-footer-copy p {
    color: var(--text-muted);
}

@media (max-width: 860px) {
    .page-main,
    .page-main-home,
    .site-footer-inner {
        width: min(1180px, calc(100% - 2rem));
    }

    .site-header {
        width: min(1240px, calc(100% - 2rem));
        padding: 0.72rem 0.82rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        width: min(1240px, calc(100% - 2rem));
        margin-top: 0.45rem;
        padding: 0.62rem 0.78rem;
        gap: 0.48rem;
        border-radius: 18px;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .header-brand {
        gap: 0.48rem;
    }

    .header-logo {
        height: 28px;
    }

    .site-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        grid-template-columns: none;
        gap: 0.18rem 0.85rem;
    }

    .site-nav-link {
        padding: 0.08rem 0;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .home-hero {
        padding: 1.05rem 0 0.55rem;
    }

    .home-hero-shell {
        gap: 0.72rem;
    }

    .home-title {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .home-kicker {
        gap: 0.45rem;
    }

    .home-kicker::before,
    .home-kicker::after {
        width: 26px;
    }

    .home-motto {
        max-width: 19rem;
        font-size: 0.88rem;
    }

    .home-search-stage {
        padding: 0.64rem;
        border-radius: 18px;
        box-shadow: none;
    }

    .home-search-block.search-wrap {
        gap: 0.52rem;
    }

    #searchInput {
        min-height: 52px;
        padding-left: 2.65rem;
        font-size: 0.95rem;
    }

    #searchButton {
        min-height: 46px;
        font-size: 0.93rem;
    }

    .quick-tags {
        gap: 0.32rem;
        margin-top: 0.5rem;
    }

    .quick-tag {
        min-height: 34px;
        padding: 0.42rem 0.48rem;
        font-size: 0.63rem;
    }

    .home-hero-meta {
        font-size: 0.66rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 0.35rem;
    }

    .home-epochs-editorial .section-heading h2 {
        font-size: 1.65rem;
    }

    .epoch-row {
        gap: 0.35rem;
        padding: 0.72rem 0;
        justify-items: center;
        text-align: center;
    }

    .epoch-row-kicker {
        font-size: 0.56rem;
    }

    .epoch-row-main h3 {
        font-size: clamp(1.15rem, 6vw, 1.4rem);
    }

    .epoch-row-meta {
        gap: 0.02rem;
        justify-items: center;
        text-align: center;
    }

    .epoch-row-meta strong {
        font-size: 0.98rem;
    }

    .epoch-row-meta span:last-child {
        font-size: 0.7rem;
    }

    .site-footer {
        margin-top: 0.35rem;
    }

    .site-footer-inner {
        width: min(1180px, calc(100% - 2rem));
        padding: 0.82rem 0 0.95rem;
        gap: 0.3rem 0.75rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .page-main,
    .page-main-home,
    .page-main-about-story,
    .site-footer-inner {
        width: min(1180px, calc(100% - 2rem));
    }

    .site-header {
        width: min(1240px, calc(100% - 2rem));
        padding: 0.58rem 0.72rem;
    }

    .site-nav {
        gap: 0.12rem 0.72rem;
    }

    .home-search-stage {
        padding: 0.72rem;
    }

    .quick-tag {
        font-size: 0.64rem;
    }
}

/* Visual feedback batch */

@keyframes footerStripeShift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 200% 0;
    }
}

@keyframes homeSideShift {
    from {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes supportAccentDrift {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 0.88;
    }

    50% {
        transform: translate3d(-6px, 4px, 0);
        opacity: 1;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 0.88;
    }
}

.search-icon {
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: block;
}

.search-field {
    width: 100%;
    min-width: 0;
}

.search-submit {
    border: 0;
    cursor: pointer;
    transition:
        transform var(--trans),
        background-color var(--trans),
        box-shadow var(--trans),
        color var(--trans);
}

.header-actions {
    align-items: center;
    gap: 0.8rem 1.1rem;
}

.header-search-slot {
    flex: 0 1 22rem;
    min-width: 0;
    transition:
        opacity var(--trans),
        transform var(--trans),
        max-height var(--trans),
        margin var(--trans);
    transform-origin: top center;
}

.search-wrap-header {
    width: min(360px, 100%);
    gap: 0.48rem;
    align-items: center;
}

.search-wrap-header .search-field {
    min-height: 42px;
    padding: 0.76rem 0.88rem 0.76rem 2.6rem;
    border: 1px solid rgba(57, 45, 31, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    outline: none;
}

.search-wrap-header .search-field:focus {
    border-color: rgba(129, 81, 39, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 3px rgba(129, 81, 39, 0.08);
}

.search-wrap-header .search-submit {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0.76rem 1rem;
    border-radius: 16px;
    background: var(--surface-dark);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: none;
    white-space: nowrap;
}

.search-wrap-header .suggestions-box {
    top: calc(100% + 0.36rem);
    z-index: 125;
    max-height: min(260px, 44vh);
}

body[data-page-type="home"] {
    background: linear-gradient(180deg, #faf6ef 0%, #f2ede4 100%);
}

body[data-page-type="home"]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
    background:
        linear-gradient(135deg, transparent 0 47%, rgba(198, 77, 53, 0.11) 47% 50%, transparent 50%) left 2.8vw top 16vh / 54px 54px repeat-y,
        linear-gradient(225deg, transparent 0 47%, rgba(198, 77, 53, 0.11) 47% 50%, transparent 50%) right 2.8vw top 22vh / 54px 54px repeat-y;
    animation: homeSideShift 14s ease-in-out infinite;
}

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

.home-hero-copy {
    gap: 0.68rem;
}

.home-kicker {
    position: relative;
    justify-self: center;
    padding-inline: clamp(2rem, 7vw, 3.6rem);
}

.home-kicker::before,
.home-kicker::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(28px, 5vw, 44px);
    height: 1px;
    background: rgba(57, 45, 31, 0.24);
    transform: translateY(-50%);
}

.home-kicker::before {
    left: 0;
}

.home-kicker::after {
    right: 0;
}

.home-motto {
    max-width: 29rem;
    font-size: 0.93rem;
}

.home-search-stage {
    background: rgba(255, 252, 248, 0.84);
    border: 1px solid rgba(57, 45, 31, 0.08);
    box-shadow: none;
}

.home-search-stage .quick-tags {
    justify-content: center;
    gap: 0.24rem 0.8rem;
    margin-top: 0.45rem;
}

.home-search-stage .quick-tag {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.home-search-stage .quick-tag::before {
    display: none;
}

.home-search-stage .quick-tag:hover {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 0.16rem;
}

.home-epochs-editorial {
    margin-top: clamp(2.3rem, 5vw, 3.4rem);
}

.home-epochs-editorial .section-heading {
    position: relative;
    max-width: 32rem;
    margin: 0 auto 1.4rem;
    padding-bottom: 1rem;
    justify-items: center;
    text-align: center;
}

.home-epochs-editorial .section-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(220px, 70%);
    height: 18px;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent, rgba(198, 77, 53, 0.34) 20%, rgba(198, 77, 53, 0.34) 80%, transparent) center / 100% 1px no-repeat,
        linear-gradient(90deg, transparent 0 10%, rgba(102, 78, 165, 0.22) 10% 12%, transparent 12% 88%, rgba(102, 78, 165, 0.22) 88% 90%, transparent 90%) center / 100% 100% no-repeat;
}

.epoch-rail {
    width: min(920px, 100%);
}

.epoch-row {
    gap: 0.42rem;
    padding: 1rem 0.1rem 0.94rem;
}

.epoch-row-main {
    gap: 0.14rem;
    justify-items: center;
}

.epoch-row-main h3 {
    font-size: clamp(1.48rem, 2.3vw, 1.88rem);
}

.epoch-row-main p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.epoch-row-meta {
    gap: 0.04rem;
    justify-items: center;
}

.epoch-row-meta strong {
    font-size: 0.94rem;
}

.epoch-row-meta span:last-child {
    font-size: 0.7rem;
}

.proof-strip-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(57, 45, 31, 0.12);
}

.proof-strip-page article {
    padding: 0.36rem 0 0.3rem;
    border: 0;
    border-bottom: 1px solid rgba(57, 45, 31, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.proof-strip-page strong {
    font-size: 1.24rem;
    letter-spacing: -0.03em;
}

.proof-strip-page span {
    font-size: 0.75rem;
}

.about-route-shell {
    --about-route-node-offset: 48px;
}

.about-route-stop-node {
    top: 1.52rem;
    left: auto;
    right: auto;
    transform: translate(-50%, -50%);
}

.about-route-stop-left .about-route-stop-node {
    left: calc(100% + var(--about-route-node-offset));
}

.about-route-stop-right .about-route-stop-node {
    left: calc(var(--about-route-node-offset) * -1);
}

.about-support {
    position: relative;
    overflow: hidden;
}

.about-support::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 78, 165, 0.38), rgba(198, 77, 53, 0.34), transparent 86%);
}

.about-support::after {
    content: "";
    position: absolute;
    right: min(3vw, 1.2rem);
    top: 1rem;
    width: min(210px, 22vw);
    height: 76px;
    background:
        linear-gradient(110deg, transparent 0 36%, rgba(102, 78, 165, 0.18) 36% 38%, transparent 38% 100%),
        linear-gradient(110deg, transparent 0 64%, rgba(198, 77, 53, 0.16) 64% 66%, transparent 66% 100%);
    pointer-events: none;
    animation: supportAccentDrift 9s ease-in-out infinite;
}

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

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
}

.site-footer::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 16%, rgba(198, 77, 53, 0.86) 16% 34%, rgba(255, 255, 255, 0.95) 34% 54%, rgba(102, 78, 165, 0.55) 54% 72%, rgba(255, 255, 255, 0.95) 72% 100%);
    background-size: 200% 100%;
    animation: footerStripeShift 18s linear infinite;
}

.site-footer-inner {
    border-top: 0;
    padding-top: 1.2rem;
}

@media (max-width: 980px) {
    body[data-page-type="home"]::after {
        display: none;
    }
}

@media (max-width: 860px) {
    .header-actions {
        align-items: stretch;
    }

    .header-search-slot {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }

    .search-wrap-header {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .search-icon {
        left: 0.95rem;
        width: 15px;
        height: 15px;
    }

    .home-search-block .search-icon {
        top: 26px;
    }

    .search-wrap-header {
        flex-direction: row;
        align-items: center;
        gap: 0.34rem;
    }

    .search-wrap-header .search-icon {
        left: 0.8rem;
        top: 50%;
    }

    .search-wrap-header .search-field {
        min-height: 38px;
        padding: 0.64rem 0.74rem 0.64rem 2.3rem;
        border-radius: 15px;
        font-size: 0.86rem;
    }

    .search-wrap-header .search-submit {
        min-height: 38px;
        min-width: 0;
        padding: 0.64rem 0.72rem;
        border-radius: 14px;
        font-size: 0.74rem;
        line-height: 1;
    }

    .site-header .header-search-slot {
        max-height: 3.15rem;
    }

    .site-header.site-header-search-muted {
        gap: 0.28rem;
    }

    .site-header.site-header-search-muted .header-search-slot {
        max-height: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(-0.35rem);
        overflow: clip;
        pointer-events: none;
    }

    #searchInput {
        padding-left: 2.8rem;
    }

    .home-search-stage .quick-tags {
        gap: 0.18rem 0.7rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.64rem;
    }

    .home-motto {
        font-size: 0.86rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.15rem;
        padding-bottom: 0.82rem;
    }

    .home-epochs-editorial .section-heading::after {
        width: min(180px, 76%);
    }

    .epoch-row-main h3 {
        font-size: clamp(1.24rem, 6.6vw, 1.54rem);
    }

    .epoch-row-main p {
        font-size: 0.76rem;
    }

    .epoch-row-meta strong {
        font-size: 0.88rem;
    }

    .epoch-row-meta span:last-child {
        font-size: 0.66rem;
    }

    .proof-strip-page {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .proof-strip-page article {
        padding: 0.34rem 0 0.26rem;
    }

    .about-route-shell {
        --about-route-node-offset: 2.2rem;
    }

    .about-route-stop {
        padding: 1rem 1rem 0.95rem;
    }

    .about-route-stop-left .about-route-stop-node,
    .about-route-stop-right .about-route-stop-node {
        left: calc(var(--about-route-node-offset) * -1);
    }

    .about-support::after {
        width: 128px;
        height: 52px;
        top: auto;
        bottom: 0.75rem;
    }

    .site-footer-inner {
        padding-top: 1rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .search-icon {
        left: 0.9rem;
    }

    .home-search-block .search-icon {
        top: 24px;
    }

    .search-wrap-header .search-icon {
        top: 50%;
    }

    .search-wrap-header .search-field {
        min-height: 36px;
        padding-left: 2.2rem;
        font-size: 0.83rem;
    }

    .search-wrap-header .search-submit {
        min-height: 36px;
        padding: 0.58rem 0.66rem;
        font-size: 0.72rem;
    }

    .site-header .header-search-slot {
        max-height: 3rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.62rem;
    }

    .about-route-shell {
        --about-route-node-offset: 2.05rem;
    }
}

/* style/home worker pass */

@keyframes homeGhostDrift {
    from {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

body[data-page-type="home"] {
    background:
        linear-gradient(180deg, #fbf7f1 0%, #f4eee4 54%, #efe7da 100%);
}

body[data-page-type="home"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.34;
    background:
        linear-gradient(90deg, rgba(57, 45, 31, 0.045) 1px, transparent 1px) center / 160px 160px,
        linear-gradient(180deg, rgba(57, 45, 31, 0.04) 1px, transparent 1px) center / 160px 160px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.18) 72%, transparent 100%);
}

body[data-page-type="home"]::after {
    opacity: 0.42;
    background:
        linear-gradient(180deg, transparent 44%, rgba(167, 93, 67, 0.18) 44% 56%, transparent 56%) left 3.2vw top 19vh / 34px 34px repeat-y,
        linear-gradient(90deg, transparent 44%, rgba(167, 93, 67, 0.18) 44% 56%, transparent 56%) left 3.2vw top 19vh / 34px 34px repeat-y,
        linear-gradient(180deg, transparent 44%, rgba(167, 93, 67, 0.18) 44% 56%, transparent 56%) right 3.2vw top 25vh / 34px 34px repeat-y,
        linear-gradient(90deg, transparent 44%, rgba(167, 93, 67, 0.18) 44% 56%, transparent 56%) right 3.2vw top 25vh / 34px 34px repeat-y;
    animation: homeGhostDrift 18s ease-in-out infinite;
}

.home-hero-shell {
    gap: 0.82rem;
}

.home-motto {
    max-width: 30rem;
    font-size: 0.95rem;
}

.home-search-stage {
    margin-top: 0.88rem;
    padding: 0.68rem 0.72rem 0.62rem;
    background: rgba(255, 252, 248, 0.88);
    border-color: rgba(57, 45, 31, 0.09);
}

.home-search-stage .quick-tags {
    gap: 0.16rem 0.7rem;
    margin-top: 0.28rem;
}

.home-search-stage .quick-tag {
    padding-bottom: 0.12rem;
    color: rgba(57, 45, 31, 0.72);
    font-size: 0.71rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(57, 45, 31, 0.16);
    text-underline-offset: 0.26rem;
}

.home-search-stage .quick-tag:hover {
    color: var(--accent-strong);
    text-decoration-color: rgba(167, 93, 67, 0.52);
}

.home-epochs-editorial {
    margin-top: clamp(2.2rem, 5vw, 3.3rem);
}

.home-epochs-editorial .section-heading {
    max-width: 36rem;
    margin: 0 auto 1.55rem;
    padding: 1.05rem 0 0.95rem;
    gap: 0.4rem;
}

.home-epochs-editorial .section-heading::before {
    content: "";
    width: min(120px, 30vw);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.42), transparent);
}

.home-epochs-editorial .section-heading::after {
    bottom: 0;
    width: min(260px, 78%);
    height: 14px;
    background:
        linear-gradient(90deg, transparent 0 16%, rgba(57, 45, 31, 0.16) 16% calc(50% - 9px), rgba(167, 93, 67, 0.56) calc(50% - 9px) calc(50% + 9px), rgba(57, 45, 31, 0.16) calc(50% + 9px) 84%, transparent 84%) center / 100% 1px no-repeat;
}

.home-epochs-editorial .section-heading h2 {
    font-size: clamp(1.92rem, 4vw, 2.95rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.epoch-rail {
    position: relative;
    width: min(920px, 100%);
    padding-block: 0.15rem;
}

.epoch-rail::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(57, 45, 31, 0.04), rgba(167, 93, 67, 0.22) 16%, rgba(57, 45, 31, 0.12) 84%, rgba(57, 45, 31, 0.04));
}

.epoch-row {
    position: relative;
    gap: 0.46rem;
    padding: 1.05rem 0.2rem 1rem;
}

.epoch-row::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(167, 93, 67, 0.92) 0 2.4px, #fbf7f1 2.4px 100%);
    box-shadow:
        0 0 0 1px rgba(57, 45, 31, 0.2),
        0 0 0 6px rgba(167, 93, 67, 0.06);
}

.epoch-row-main {
    gap: 0.08rem;
    padding-top: 0.18rem;
}

.epoch-row-main h3 {
    font-size: clamp(1.52rem, 2.3vw, 1.92rem);
    line-height: 0.95;
}

.epoch-row-meta {
    gap: 0.08rem;
}

.epoch-row-meta strong {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}

.epoch-row-meta span:first-child {
    color: rgba(57, 45, 31, 0.72);
    font-size: 0.78rem;
}

.epoch-row-meta span:last-child {
    font-size: 0.68rem;
}

.epoch-row:hover {
    color: var(--accent-strong);
}

.epoch-row:hover::before {
    background: radial-gradient(circle at center, rgba(167, 93, 67, 0.98) 0 2.6px, #fbf7f1 2.6px 100%);
    box-shadow:
        0 0 0 1px rgba(167, 93, 67, 0.36),
        0 0 0 8px rgba(167, 93, 67, 0.09);
}

.about-route-shell {
    --about-route-node-offset: 50px;
}

.about-route-stop-node {
    top: 1.4rem;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle at center, rgba(167, 93, 67, 0.92) 0 2.6px, #fbf7f1 2.6px 100%);
    box-shadow:
        0 0 0 1px rgba(57, 45, 31, 0.22),
        0 0 0 6px rgba(167, 93, 67, 0.07);
}

.about-support::before,
.about-support::after {
    display: none;
}

.about-support {
    overflow: visible;
    padding-top: 1.85rem;
}

.site-footer {
    margin-top: 0.7rem;
    border-top: 0;
}

.site-footer::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background:
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(167, 93, 67, 0.84) 44px 78px, transparent 78px 164px, rgba(57, 45, 31, 0.16) 164px 172px, transparent 172px 228px);
    background-size: 228px 100%;
    opacity: 0.92;
    animation: footerStripeShift 20s linear infinite;
}

.site-footer-inner {
    padding-top: 1.28rem;
}

.site-footer-links a {
    position: relative;
    text-decoration: none;
}

.site-footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.14rem;
    height: 1px;
    background: currentColor;
    opacity: 0.14;
    transform: scaleX(0.64);
    transform-origin: left center;
    transition:
        opacity var(--trans),
        transform var(--trans);
}

.site-footer-links a:hover::after {
    opacity: 0.36;
    transform: scaleX(1);
}

@media (max-width: 980px) {
    body[data-page-type="home"]::before {
        display: none;
    }

    body[data-page-type="home"]::after {
        display: none;
    }

    .epoch-rail::before {
        opacity: 0.78;
    }
}

@media (max-width: 860px) {
    .about-route-stop-left .about-route-stop-node,
    .about-route-stop-right .about-route-stop-node {
        left: 0.78rem;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding-bottom: 0.48rem;
    }

    .home-title {
        font-size: clamp(2.25rem, 11vw, 3.18rem);
    }

    .home-motto {
        max-width: 18.5rem;
        font-size: 0.84rem;
    }

    .home-search-stage {
        margin-top: 0.78rem;
        padding: 0.6rem 0.6rem 0.5rem;
        border-radius: 18px;
    }

    .home-search-stage .quick-tags {
        gap: 0.14rem 0.56rem;
        margin-top: 0.2rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.63rem;
        text-underline-offset: 0.22rem;
    }

    .home-epochs-editorial {
        margin-top: 1.8rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.15rem;
        padding-top: 0.7rem;
        padding-bottom: 0.8rem;
    }

    .home-epochs-editorial .section-heading h2 {
        font-size: clamp(1.72rem, 8vw, 2.16rem);
    }

    .home-epochs-editorial .section-heading::after {
        width: min(210px, 86%);
    }

    .epoch-row {
        gap: 0.36rem;
        padding: 0.96rem 0.12rem 0.9rem;
    }

    .epoch-row::before {
        top: 0.94rem;
        width: 9px;
        height: 9px;
    }

    .epoch-row-main h3 {
        font-size: clamp(1.3rem, 7vw, 1.6rem);
    }

    .epoch-row-meta strong {
        font-size: 0.84rem;
    }

    .epoch-row-meta span:first-child {
        font-size: 0.72rem;
    }

    .epoch-row-meta span:last-child {
        font-size: 0.64rem;
    }

    .about-route-shell {
        --about-route-node-offset: 1.95rem;
    }

    .about-route-stop {
        padding: 1rem 1rem 0.92rem;
    }

    .about-route-stop-left .about-route-stop-node,
    .about-route-stop-right .about-route-stop-node {
        left: calc(var(--about-route-node-offset) * -1);
    }

    .about-route-stop-node {
        top: 1.26rem;
        width: 14px;
        height: 14px;
    }

    .about-support {
        padding-top: 1.5rem;
    }

    .site-footer {
        margin-top: 0.5rem;
    }

    .site-footer-inner {
        padding-top: 1.02rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .home-search-stage {
        padding: 0.58rem 0.58rem 0.48rem;
    }

    .home-search-stage .quick-tags {
        gap: 0.12rem 0.5rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.61rem;
    }

    .about-route-shell {
        --about-route-node-offset: 1.82rem;
    }
}

/* final polish pass 2026-03-12 */

@keyframes homeEnergyFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.48;
    }

    50% {
        transform: translate3d(0, -14px, 0);
        opacity: 0.72;
    }
}

.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
}

.search-submit-icon {
    display: none;
    flex: 0 0 auto;
}

body[data-page-type="home"] {
    background: #f6f0e7;
}

body[data-page-type="home"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(57, 45, 31, 0.04) 1px, transparent 1px) center / 168px 168px,
        linear-gradient(180deg, rgba(57, 45, 31, 0.035) 1px, transparent 1px) center / 168px 168px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.18) 72%, transparent 100%);
}

body[data-page-type="home"]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(112deg, transparent 0 47%, rgba(167, 93, 67, 0.16) 47% 48%, transparent 48% 100%) left max(2vw, 18px) top 14vh / 180px 280px no-repeat,
        linear-gradient(112deg, transparent 0 49%, rgba(57, 45, 31, 0.09) 49% 49.7%, transparent 49.7% 100%) left max(4vw, 34px) top 29vh / 120px 220px no-repeat,
        linear-gradient(68deg, transparent 0 47%, rgba(167, 93, 67, 0.16) 47% 48%, transparent 48% 100%) right max(2vw, 18px) top 19vh / 180px 280px no-repeat,
        linear-gradient(68deg, transparent 0 49%, rgba(57, 45, 31, 0.09) 49% 49.7%, transparent 49.7% 100%) right max(4vw, 34px) top 36vh / 120px 220px no-repeat;
    animation: homeEnergyFloat 18s ease-in-out infinite;
}

.home-hero,
.home-hero-shell,
.home-hero-copy {
    background: transparent;
}

.home-hero-shell {
    gap: 0.74rem;
}

.home-kicker {
    padding-inline: clamp(2.2rem, 6vw, 3.1rem);
    letter-spacing: 0.22em;
}

.home-kicker::before,
.home-kicker::after {
    width: clamp(34px, 4.6vw, 48px);
    background: rgba(57, 45, 31, 0.22);
}

.home-motto {
    max-width: 27rem;
    font-size: 0.88rem;
    line-height: 1.52;
}

.home-search-stage {
    margin-top: 0.76rem;
    padding: 0.66rem 0.7rem 0.56rem;
    background: rgba(255, 252, 248, 0.9);
}

.home-search-stage .quick-tags {
    gap: 0.08rem 0.54rem;
    margin-top: 0.16rem;
}

.home-search-stage .quick-tag {
    font-size: 0.66rem;
    font-weight: 500;
    text-underline-offset: 0.22rem;
}

.home-epochs-editorial {
    margin-top: clamp(2.4rem, 5.4vw, 3.8rem);
}

.home-epochs-editorial .section-heading {
    max-width: 42rem;
    margin: 0 auto 2.05rem;
    padding: 0 0 1.18rem;
    gap: 0.56rem;
    justify-items: center;
    text-align: center;
}

.home-epochs-editorial .section-heading::before {
    content: "";
    width: min(112px, 30vw);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(167, 93, 67, 0.84), rgba(167, 93, 67, 0.16));
    box-shadow: 0 10px 30px rgba(167, 93, 67, 0.12);
}

.home-epochs-editorial .section-heading::after {
    width: min(320px, 88%);
    height: 1px;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.34), transparent);
}

.home-epochs-editorial .section-heading h2 {
    font-size: clamp(2.12rem, 4.8vw, 3.34rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.epoch-rail {
    width: min(860px, 100%);
}

.epoch-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.34rem;
    padding: 1.08rem 0 0.98rem;
    text-align: center;
}

.epoch-row::before {
    top: 1.06rem;
}

.epoch-row-main,
.epoch-row-meta {
    width: min(100%, 18rem);
    justify-items: center;
    text-align: center;
}

.epoch-row-main {
    gap: 0.06rem;
}

.epoch-row-main h3 {
    font-size: clamp(1.64rem, 2.5vw, 2rem);
    line-height: 0.94;
}

.epoch-row-meta {
    gap: 0.1rem;
}

.epoch-row-meta strong {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.epoch-row-meta span:first-child {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(57, 45, 31, 0.62);
}

.epoch-row-meta span:last-child {
    font-size: 0.62rem;
    color: rgba(57, 45, 31, 0.72);
}

.about-route-stop-node {
    top: 50%;
}

.about-support::before,
.about-support::after {
    display: none;
}

.site-footer::before {
    height: 2px;
    background:
        linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.84) 10% 42%, rgba(167, 93, 67, 0.82) 42% 58%, rgba(255, 255, 255, 0.84) 58% 90%, transparent 90%);
    background-size: 160% 100%;
    opacity: 0.78;
    animation: footerStripeShift 24s ease-in-out infinite;
}

@media (max-width: 980px) {
    body[data-page-type="home"]::before,
    body[data-page-type="home"]::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header .header-search-slot {
        max-height: 2.9rem;
    }

    .site-header .search-wrap-header {
        gap: 0.28rem;
    }

    .site-header .search-wrap-header .search-field {
        min-height: 36px;
        padding: 0.6rem 0.68rem 0.6rem 2.18rem;
        font-size: 0.82rem;
    }

    .site-header .search-wrap-header .search-submit {
        min-height: 36px;
        width: 36px;
        min-width: 36px;
        padding: 0;
        border-radius: 13px;
        gap: 0;
    }

    .site-header .search-wrap-header .search-submit-label {
        display: none;
    }

    .site-header .search-wrap-header .search-submit-icon {
        display: block;
    }

    .site-header.site-header-search-muted .header-actions {
        gap: 0.32rem 0.74rem;
    }

    .site-header.site-header-search-muted .header-search-slot {
        width: 0;
        max-width: 0;
        max-height: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(-0.35rem);
        overflow: clip;
        pointer-events: none;
    }

    .home-motto {
        max-width: 18rem;
        font-size: 0.8rem;
    }

    .home-search-stage {
        margin-top: 0.7rem;
        padding: 0.58rem 0.58rem 0.46rem;
    }

    .home-search-stage .quick-tags {
        gap: 0.08rem 0.44rem;
        margin-top: 0.12rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.6rem;
    }

    .home-epochs-editorial {
        margin-top: 1.95rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.4rem;
        padding-bottom: 0.94rem;
    }

    .home-epochs-editorial .section-heading::before {
        width: min(92px, 26vw);
    }

    .home-epochs-editorial .section-heading::after {
        width: min(230px, 88%);
    }

    .home-epochs-editorial .section-heading h2 {
        font-size: clamp(1.92rem, 8.6vw, 2.34rem);
    }

    .epoch-row {
        padding: 0.98rem 0 0.88rem;
    }

    .epoch-row-main h3 {
        font-size: clamp(1.42rem, 7.2vw, 1.72rem);
    }

    .epoch-row-meta strong {
        font-size: 0.74rem;
    }

    .epoch-row-meta span:first-child {
        font-size: 0.62rem;
    }

    .epoch-row-meta span:last-child {
        font-size: 0.58rem;
    }

    .about-route-shell {
        --about-route-node-offset: 1.86rem;
    }

    .about-route-stop-left .about-route-stop-node,
    .about-route-stop-right .about-route-stop-node {
        left: calc(var(--about-route-node-offset) * -1);
    }

    .about-route-stop-node {
        top: 50%;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .site-header .search-wrap-header .search-field {
        min-height: 34px;
        padding-left: 2.06rem;
        font-size: 0.79rem;
    }

    .site-header .search-wrap-header .search-submit {
        min-height: 34px;
        width: 34px;
        min-width: 34px;
    }

    .site-header .header-search-slot {
        max-height: 2.7rem;
    }

    .home-search-stage {
        padding: 0.54rem 0.54rem 0.42rem;
    }

    .home-search-stage .quick-tags {
        gap: 0.06rem 0.4rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.58rem;
    }

    .about-route-shell {
        --about-route-node-offset: 1.72rem;
    }
}

/* home cleanup pass 2026-03-12 */

body[data-page-type="home"] {
    background: #f6f0e7;
}

body[data-page-type="home"]::before,
body[data-page-type="home"]::after,
.home-hero::before,
.home-hero::after,
.home-search-stage::before,
.home-search-stage::after {
    content: none !important;
    display: none !important;
}

.home-hero-shell {
    gap: 0.62rem;
}

.home-title {
    font-size: clamp(4.2rem, 12vw, 7rem);
    line-height: 0.9;
}

.home-motto {
    max-width: 24rem;
    font-size: 0.88rem;
    line-height: 1.44;
}

.home-search-stage {
    margin-top: 0.54rem;
    padding: 0.56rem 0.62rem 0.34rem;
    border: 1px solid rgba(57, 45, 31, 0.08);
    border-radius: 22px;
    background: rgba(255, 252, 248, 0.92);
    box-shadow: none;
}

.home-search-block.search-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.44rem;
    align-items: center;
}

#searchInput {
    min-height: 46px;
    padding: 0.82rem 0.86rem 0.82rem 2.65rem;
    border-radius: 18px;
    font-size: 0.92rem;
    box-shadow: none;
}

#searchButton {
    min-height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 16px;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

#searchButton .search-submit-label {
    display: none;
}

#searchButton .search-submit-icon {
    display: block;
}

.home-search-stage .quick-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.36rem;
    margin-top: 0.24rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.04rem;
}

.home-search-stage .quick-tags::-webkit-scrollbar {
    display: none;
}

.home-search-stage .quick-tag {
    flex: 0 0 auto;
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: 0.62rem;
    line-height: 1.2;
}

.home-epochs-editorial {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.home-epochs-editorial .section-heading {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0;
    gap: 0.42rem;
}

.home-epochs-editorial .section-heading::before,
.home-epochs-editorial .section-heading::after,
.epoch-rail::before,
.epoch-row::before {
    content: none !important;
    display: none !important;
}

.home-epochs-editorial .section-heading h2 {
    font-size: clamp(2.3rem, 5.6vw, 3.5rem);
    line-height: 0.92;
}

.epoch-rail {
    width: min(780px, 100%);
}

.epoch-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.18rem;
    padding: 1rem 1rem 0.9rem;
    text-align: center;
}

.epoch-row-main,
.epoch-row-meta {
    width: 100%;
    justify-items: center;
    text-align: center;
}

.epoch-row-main h3 {
    font-size: clamp(1.68rem, 2.6vw, 2.05rem);
    text-align: center;
}

.epoch-row-meta {
    gap: 0.08rem;
}

.epoch-row-meta span,
.epoch-row-meta strong {
    text-align: center;
}

.epoch-row-meta span:first-child {
    font-size: 0.66rem;
}

.epoch-row-meta strong {
    font-size: 0.76rem;
}

.epoch-row-meta span:last-child {
    font-size: 0.6rem;
}

@media (max-width: 640px) {
    .home-hero {
        padding: 0.92rem 0 0.42rem;
    }

    .home-hero-copy {
        gap: 0.5rem;
    }

    .home-kicker {
        padding-inline: 1.85rem;
        letter-spacing: 0.18em;
    }

    .home-kicker::before,
    .home-kicker::after {
        width: 24px;
    }

    .home-title {
        font-size: clamp(3.4rem, 15.8vw, 4.6rem);
    }

    .home-motto {
        max-width: 15.2rem;
        font-size: 0.72rem;
        line-height: 1.38;
    }

    .home-search-stage {
        margin-top: 0.52rem;
        padding: 0.48rem 0.5rem 0.26rem;
        border-radius: 18px;
    }

    .home-search-block.search-wrap {
        gap: 0.36rem;
    }

    .home-search-block .search-icon {
        top: 50%;
        left: 0.84rem;
    }

    #searchInput {
        min-height: 40px;
        padding: 0.66rem 0.72rem 0.66rem 2.25rem;
        border-radius: 15px;
        font-size: 0.84rem;
    }

    #searchButton {
        min-height: 40px;
        width: 40px;
        min-width: 40px;
        border-radius: 14px;
    }

    .home-search-stage .quick-tags {
        gap: 0.32rem;
        margin-top: 0.18rem;
        justify-content: flex-start;
    }

    .home-search-stage .quick-tag {
        font-size: 0.58rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.16rem;
    }

    .home-epochs-editorial .section-heading h2 {
        font-size: clamp(2.1rem, 10vw, 2.58rem);
    }

    .epoch-row {
        padding: 0.9rem 0.9rem 0.82rem;
        gap: 0.14rem;
    }

    .epoch-row-main h3 {
        font-size: clamp(1.48rem, 7.8vw, 1.84rem);
    }

    .epoch-row-meta span:first-child {
        display: none;
    }

    .epoch-row-meta strong {
        font-size: 0.72rem;
    }

    .epoch-row-meta span:last-child {
        font-size: 0.56rem;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    #searchInput {
        min-height: 38px;
        font-size: 0.8rem;
    }

    #searchButton {
        min-height: 38px;
        width: 38px;
        min-width: 38px;
    }

    .home-search-stage {
        padding: 0.42rem 0.46rem 0.24rem;
    }

    .home-search-stage .quick-tag {
        font-size: 0.56rem;
    }
}

/* home cleanup pass 2026-03-12b */

body[data-page-type="home"] {
    background: #f6f0e7 !important;
}

.page-main-home,
.home-hero,
.home-hero-shell,
.home-hero-copy {
    background: #f6f0e7 !important;
    background-image: none !important;
}

body[data-page-type="home"]::before,
body[data-page-type="home"]::after,
.page-main-home::before,
.page-main-home::after,
.home-hero::before,
.home-hero::after,
.home-hero-shell::before,
.home-hero-shell::after,
.home-hero-copy::before,
.home-hero-copy::after,
.home-search-stage::before,
.home-search-stage::after,
.home-epochs-editorial .section-heading::before,
.home-epochs-editorial .section-heading::after,
.epoch-rail::before,
.epoch-row::before {
    content: none !important;
    display: none !important;
}

.home-search-stage {
    margin-top: 0.6rem;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-search-block.search-wrap {
    gap: 0.42rem;
}

.home-search-stage .quick-tags {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.18rem 0.5rem;
    margin-top: 0.22rem;
    padding-inline: 0.04rem;
}

.home-search-stage .quick-tag {
    position: relative;
    white-space: nowrap;
    overflow-wrap: normal;
    padding-inline: 0.16rem;
    color: rgba(57, 45, 31, 0.7);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.15;
}

.home-search-stage .quick-tag + .quick-tag::before {
    content: "•";
    position: absolute;
    left: -0.22rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(57, 45, 31, 0.3);
    pointer-events: none;
}

.home-epochs-editorial {
    margin-top: clamp(2.8rem, 6.4vw, 4.2rem);
}

.home-epochs-editorial .section-heading {
    margin: 0 auto 1.95rem;
    padding: 0;
    gap: 0.3rem;
}

.epoch-row {
    min-height: 6.7rem;
    align-content: center;
    gap: 0.22rem;
}

.epoch-row-main {
    display: grid;
    place-items: center;
    min-height: 2.8rem;
    width: 100%;
}

.epoch-row-main h3 {
    margin: 0;
    width: 100%;
    text-align: center;
}

.epoch-row-meta {
    gap: 0.1rem;
    justify-items: center;
    width: 100%;
}

.epoch-row-meta span:first-child {
    display: block !important;
    text-transform: none;
    letter-spacing: 0.08em;
}

@media (max-width: 640px) {
    .home-title {
        font-size: clamp(3.55rem, 16.2vw, 4.75rem);
    }

    .home-search-stage {
        margin-top: 0.66rem;
    }

    #searchInput {
        min-height: 40px;
    }

    #searchButton {
        min-height: 40px;
        width: 40px;
        min-width: 40px;
    }

    .home-search-stage .quick-tags {
        margin-top: 0.18rem;
        gap: 0.14rem 0.44rem;
    }

    .home-epochs-editorial {
        margin-top: 3rem;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.7rem;
    }

    .epoch-row {
        min-height: 6.2rem;
        padding: 0.94rem 0.9rem 0.9rem;
    }

    .epoch-row-main {
        min-height: 2.5rem;
    }

    .epoch-row-meta span:first-child {
        font-size: 0.64rem;
    }

    .epoch-row-meta strong {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }
}

/* home cleanup pass 2026-03-12d */

body[data-page-type="home"],
.page-main-home,
.home-hero,
.home-hero-shell,
.home-hero-copy {
    background-color: #f6f0e7 !important;
    background-image: none !important;
}

.home-title,
.home-kicker,
.home-motto {
    background: none !important;
    color: #181310 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.home-hero-shell::before,
.home-hero-shell::after,
.home-title::before,
.home-title::after {
    content: none !important;
    display: none !important;
}

.home-search-stage {
    margin-top: 0.84rem !important;
}

.home-search-block.search-wrap {
    gap: 0.34rem !important;
}

#searchInput {
    min-height: 44px !important;
    padding: 0.74rem 0.84rem 0.74rem 2.5rem !important;
    border-radius: 16px !important;
}

#searchButton {
    min-height: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    border-radius: 14px !important;
}

.home-search-stage .quick-tags {
    justify-content: center !important;
    gap: 0.58rem !important;
    margin-top: 0.42rem !important;
    padding: 0 !important;
}

.home-search-stage .quick-tag {
    padding: 0 !important;
    color: rgba(57, 45, 31, 0.74) !important;
    font-size: 0.64rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    border-bottom: 1px solid transparent;
}

.home-search-stage .quick-tag + .quick-tag::before {
    content: none !important;
    display: none !important;
}

.home-search-stage .quick-tag:hover,
.home-search-stage .quick-tag:focus-visible {
    color: rgba(57, 45, 31, 0.96) !important;
    border-bottom-color: rgba(57, 45, 31, 0.28);
}

.home-epochs-editorial {
    margin-top: clamp(3.8rem, 7vw, 5rem) !important;
}

.home-epochs-editorial .section-heading {
    margin: 0 auto 2.25rem !important;
}

.epoch-row {
    min-height: 6.95rem !important;
    padding: 1.08rem 1rem 1rem !important;
    gap: 0.28rem !important;
}

.epoch-row-main {
    min-height: 3.15rem !important;
}

.epoch-row-main h3 {
    display: block;
    width: auto !important;
    margin-inline: auto !important;
    font-size: clamp(1.76rem, 2.65vw, 2.12rem) !important;
}

.epoch-row-meta {
    gap: 0.18rem !important;
}

.epoch-row-meta span:first-child {
    font-size: 0.67rem !important;
}

.epoch-row-meta strong {
    font-size: 0.77rem !important;
    letter-spacing: 0.05em !important;
}

@media (max-width: 640px) {
    .home-hero {
        padding-top: 3.3rem !important;
    }

    .home-title {
        font-size: clamp(3.72rem, 16.8vw, 4.92rem) !important;
    }

    .home-motto {
        max-width: 14.2rem !important;
        font-size: 0.68rem !important;
        line-height: 1.34 !important;
    }

    .home-search-stage {
        margin-top: 0.92rem !important;
    }

    #searchInput {
        min-height: 38px !important;
        padding: 0.62rem 0.68rem 0.62rem 2.16rem !important;
        border-radius: 14px !important;
        font-size: 0.8rem !important;
    }

    #searchButton {
        min-height: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        border-radius: 12px !important;
    }

    .home-search-stage .quick-tags {
        gap: 0.48rem !important;
        margin-top: 0.34rem !important;
    }

    .home-search-stage .quick-tag {
        font-size: 0.57rem !important;
    }

    .home-epochs-editorial {
        margin-top: 3.45rem !important;
    }

    .home-epochs-editorial .section-heading {
        margin-bottom: 1.95rem !important;
    }

    .epoch-row {
        min-height: 6.35rem !important;
        padding: 0.98rem 0.92rem 0.94rem !important;
    }

    .epoch-row-main {
        min-height: 2.72rem !important;
    }

    .epoch-row-main h3 {
        font-size: clamp(1.56rem, 8vw, 1.92rem) !important;
    }

    .epoch-row-meta span:first-child {
        display: block !important;
        font-size: 0.6rem !important;
    }

    .epoch-row-meta strong {
        font-size: 0.68rem !important;
    }
}

/* micro-pass 2026-03-12e */

.home-epochs-editorial .section-heading::before {
    content: none !important;
    display: none !important;
}

.home-epochs-editorial .section-heading::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(232px, 76%);
    height: 1px !important;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(57, 45, 31, 0.28), transparent) !important;
}

.epoch-rail {
    border-top: 0 !important;
}

.home-search-stage .quick-tag {
    font-size: 0.71rem !important;
}

.about-route-stop-node {
    display: none !important;
}

@media (max-width: 640px) {
    .home-search-stage .quick-tag {
        font-size: 0.64rem !important;
    }
}

/* micro-pass 2026-03-12f */

.header-brand-group,
.header-zzt-link {
    display: inline-flex;
    align-items: center;
}

.header-brand-group {
    gap: 0.7rem;
    flex-shrink: 0;
}

.header-logo-main {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.home-title-accent {
    color: #8b2e26 !important;
    -webkit-text-fill-color: #8b2e26 !important;
}

.js-motion-ready .home-title.is-visible {
    animation: homeTitleInk 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-motto {
    min-height: 2.8em;
}

.home-motto.typewriter-active::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.95em;
    margin-left: 0.14em;
    background: currentColor;
    vertical-align: -0.08em;
    animation: typeCaret 0.85s step-end infinite;
}

.site-footer-home-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.site-footer-copy {
    gap: 0.02rem;
    justify-items: center;
    text-align: center;
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.95rem;
}

.site-footer-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.42rem;
}

.site-footer-heading {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(20, 17, 15, 0.52);
}

.site-footer-brand-logo {
    display: block;
    width: clamp(176px, 18vw, 248px);
    height: auto;
}

.site-footer-zzt-note {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-top: -0.08rem;
    padding-bottom: 0.16rem;
    color: #6f4bd8 !important;
    line-height: 1.22;
    text-shadow: 0 0 0 rgba(111, 75, 216, 0);
    animation: footerZztGlow 4.6s ease-in-out infinite;
}

.site-footer-zzt-note::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(111, 75, 216, 0.14), rgba(111, 75, 216, 0.72), rgba(111, 75, 216, 0.14));
    transform-origin: center;
    animation: footerZztLine 4.6s ease-in-out infinite;
}

.site-footer-attribution {
    max-width: 34ch;
    margin: 0.18rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(20, 17, 15, 0.66);
}

.site-footer-attribution-main,
.site-footer-attribution-secondary {
    display: block;
}

.site-footer-attribution-secondary {
    margin-top: 0.08rem;
    font-size: 0.72rem;
    color: rgba(20, 17, 15, 0.5);
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.38rem 0.9rem;
    font-size: 0.92rem;
}

.site-footer-legal a {
    position: relative;
    color: inherit;
    text-decoration: none;
}

.site-footer-legal a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.16rem;
    height: 1px;
    background: rgba(20, 17, 15, 0.18);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

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

.site-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-socials-footer {
    justify-content: flex-end;
}

.site-socials-header {
    align-items: center;
    gap: 0.18rem;
    flex: 0 0 auto;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0.55rem;
    border: 1px solid rgba(20, 17, 15, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-social-link:hover,
.site-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(111, 75, 216, 0.26);
    box-shadow: 0 12px 24px rgba(20, 17, 15, 0.08);
}

.site-social-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

.site-socials-header .site-social-link {
    min-width: 1.72rem;
    min-height: 1.72rem;
    padding: 0.22rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.site-socials-header .site-social-link:hover,
.site-socials-header .site-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: transparent;
    background: rgba(57, 45, 31, 0.05);
    box-shadow: none;
}

.site-socials-header .site-social-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.site-socials-about {
    justify-content: flex-start;
    gap: 0.7rem;
}

.site-socials-about .site-social-link {
    padding-inline: 0.82rem;
}

.site-socials-about .site-social-link span {
    font-size: 0.92rem;
    font-weight: 600;
}

.about-support-socials {
    margin-top: 1.1rem;
}

.page-main-legal {
    width: min(780px, calc(100% - 2.4rem));
}

.legal-document {
    padding-bottom: 1.4rem;
}

.legal-hero {
    gap: 0.95rem;
    padding-top: clamp(2.7rem, 7vw, 4.6rem);
}

.legal-document-meta,
.legal-note {
    max-width: 46rem;
    color: rgba(20, 17, 15, 0.62);
    font-size: 0.94rem;
    line-height: 1.68;
}

.legal-note {
    padding-left: 0.9rem;
    border-left: 2px solid rgba(20, 17, 15, 0.12);
}

.legal-sections {
    display: grid;
    gap: clamp(1.45rem, 3vw, 2rem);
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.2rem) 0 0 1.35rem;
}

.legal-section {
    display: grid;
    gap: 0.85rem;
    padding-top: clamp(1.25rem, 2vw, 1.55rem);
    border-top: 1px solid rgba(20, 17, 15, 0.1);
}

.legal-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.legal-section::marker {
    color: rgba(20, 17, 15, 0.66);
    font-family: "Playfair Display", serif;
    font-size: 1.02rem;
    font-weight: 700;
}

.legal-section h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.22rem, 2.4vw, 1.72rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.legal-section p {
    margin: 0;
    color: rgba(20, 17, 15, 0.8);
    line-height: 1.78;
    max-width: 46rem;
}

.legal-section p + p,
.legal-section p + .legal-list {
    margin-top: 0.84rem;
}

.legal-list {
    margin: 0.92rem 0 0;
    padding-left: 1.2rem;
    color: rgba(20, 17, 15, 0.8);
    line-height: 1.72;
    max-width: 46rem;
}

.legal-list li + li {
    margin-top: 0.46rem;
}

@media (max-width: 860px) {
    .header-logo-main {
        width: 34px;
        height: 34px;
    }

    .site-footer-brand-logo {
        width: min(220px, 64vw);
    }

    .site-footer-meta,
    .site-footer-block {
        align-items: center;
    }

    .site-footer-legal,
    .site-socials-footer {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .header-logo-zzt {
        height: 24px;
    }

    .header-brand-group {
        gap: 0.5rem;
    }

    .header-logo-main {
        width: 30px;
        height: 30px;
    }

    .home-motto {
        min-height: 3.2em;
    }

    .site-footer-brand-logo {
        width: min(190px, 72vw);
    }

    .site-footer-zzt-note {
        padding-bottom: 0.14rem;
    }

    .site-footer-attribution {
        max-width: none;
        text-align: center;
    }

    .site-footer-home-link,
    .site-footer-zzt-note,
    .site-footer-attribution {
        width: 100%;
        justify-content: center;
        margin-inline: auto;
    }

    .site-socials-about .site-social-link {
        padding-inline: 0.72rem;
    }
}

/* final micro-pass 2026-03-13 */

.header-actions {
    flex-wrap: nowrap;
    align-items: center;
}

.header-socials-slot {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
}

.home-epochs-editorial .section-heading::before,
.home-epochs-editorial .section-heading::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

@media (max-width: 860px) {
    .site-header {
        position: relative;
        padding-right: 0.82rem;
    }

    .header-brand-group {
        width: 100%;
        padding-right: 3.7rem;
        justify-content: flex-start;
    }

    .header-actions {
        justify-content: flex-end;
        width: 100%;
    }

    .header-actions {
        gap: 0.48rem;
    }

    .site-header .header-search-slot,
    .site-header .search-wrap-header {
        width: 100%;
        max-width: none;
        margin-inline: auto;
    }

    .site-header .search-wrap-header .suggestions-box {
        left: 0;
        right: 0;
    }

    .header-socials-slot {
        position: absolute;
        top: 0.72rem;
        right: 0.82rem;
        width: auto;
        margin-left: 0;
        justify-content: flex-end;
        z-index: 2;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
        padding-right: 0.78rem;
    }

    .header-brand-group {
        padding-right: 3.3rem;
    }

    .header-socials-slot {
        top: 0.56rem;
        right: 0.72rem;
    }

    .site-socials-header {
        justify-content: flex-end;
    }

    .site-socials-header .site-social-link {
        min-width: 1.55rem;
        min-height: 1.55rem;
        padding: 0.18rem;
    }
}

@keyframes homeTitleInk {
    0% {
        opacity: 0.2;
        letter-spacing: 0.04em;
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        letter-spacing: 0;
        filter: blur(0);
    }
}

@keyframes footerZztGlow {
    0%,
    100% {
        text-shadow: 0 0 0 rgba(111, 75, 216, 0);
    }

    50% {
        text-shadow: 0 0 12px rgba(111, 75, 216, 0.18);
    }
}

@keyframes footerZztLine {
    0%,
    100% {
        opacity: 0.55;
        transform: scaleX(0.92);
    }

    50% {
        opacity: 0.96;
        transform: scaleX(1);
    }
}

@keyframes typeCaret {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}
