:root {
    --hp-paper: #f5f1ec;
    --hp-paper-soft: #fbf9f6;
    --hp-ink: #1f2423;
    --hp-ink-soft: #58605d;
    --hp-muted: #7d7468;
    --hp-line: rgba(65, 54, 39, 0.18);
    --hp-line-strong: rgba(65, 54, 39, 0.32);
    --hp-surface: rgba(255, 253, 248, 0.68);
    --hp-surface-strong: rgba(255, 253, 248, 0.9);
    --hp-indigo: #17213a;
    --hp-gold: #8f5f3a;
    --hp-vermilion: #8f1f2b;
    --hp-lantern: #df1224;
    --hp-lantern-soft: rgba(223, 18, 36, 0.18);
    --hp-white: #fffdf8;
    --hp-shadow: 0 24px 70px rgba(36, 29, 21, 0.09);
    --hp-soft-shadow: 0 16px 46px rgba(36, 29, 21, 0.07);
    --hp-wrap: min(1120px, calc(100vw - 40px));
    --hp-reading: min(720px, calc(100vw - 40px));
    --hp-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --hp-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: light;
}

html.hp-dark {
    --hp-paper: #05060a;
    --hp-paper-soft: #0b0d13;
    --hp-ink: #f0edf2;
    --hp-ink-soft: #c7c2ca;
    --hp-muted: #9a929d;
    --hp-line: rgba(223, 18, 36, 0.22);
    --hp-line-strong: rgba(223, 18, 36, 0.38);
    --hp-surface: rgba(12, 14, 20, 0.72);
    --hp-surface-strong: rgba(16, 18, 26, 0.92);
    --hp-indigo: #f4eef2;
    --hp-gold: #c98b55;
    --hp-vermilion: #df1224;
    --hp-lantern: #df1224;
    --hp-lantern-soft: rgba(223, 18, 36, 0.34);
    --hp-white: #0d1017;
    --hp-shadow: 0 26px 76px rgba(223, 18, 36, 0.16), 0 28px 92px rgba(0, 0, 0, 0.55);
    --hp-soft-shadow: 0 16px 46px rgba(223, 18, 36, 0.14), 0 20px 58px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--hp-paper);
    color: var(--hp-ink);
    font-family: var(--hp-sans);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    background:
        linear-gradient(126deg, rgba(143, 31, 43, 0.1), transparent 33rem),
        linear-gradient(180deg, var(--hp-paper-soft), var(--hp-paper) 22rem);
    color: var(--hp-ink);
}

html.hp-dark body {
    background:
        linear-gradient(112deg, rgba(223, 18, 36, 0.18), transparent 32rem),
        linear-gradient(180deg, #0b0d13 0, #05060a 24rem, #040509 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(31, 36, 35, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 36, 35, 0.02) 1px, transparent 1px);
    background-size: 36px 36px;
}

html.hp-dark body::before {
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(238, 229, 210, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 229, 210, 0.026) 1px, transparent 1px);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        radial-gradient(circle at 22% 18%, rgba(255, 253, 248, 0.9) 0 1px, transparent 1px),
        radial-gradient(circle at 74% 42%, rgba(143, 31, 43, 0.18) 0 0.8px, transparent 1px),
        radial-gradient(circle at 44% 68%, rgba(223, 18, 36, 0.16) 0 0.7px, transparent 1px);
    background-size: 17px 19px, 29px 31px, 41px 43px;
}

html.hp-dark body::after {
    opacity: 0.22;
    background-image:
        radial-gradient(circle at 22% 18%, rgba(223, 18, 36, 0.42) 0 1px, transparent 1px),
        radial-gradient(circle at 74% 42%, rgba(255, 179, 107, 0.26) 0 0.7px, transparent 1px),
        radial-gradient(circle at 44% 68%, rgba(240, 237, 242, 0.14) 0 0.7px, transparent 1px);
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

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

button,
input {
    font: inherit;
}

.hp-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hp-main {
    flex: 1;
}

.hp-wrap {
    width: var(--hp-wrap);
    margin-inline: auto;
}

.hp-reading-width {
    width: var(--hp-reading);
    margin-inline: auto;
}

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

.hp-section-mark {
    margin: 0 0 0.85rem;
    color: var(--hp-vermilion);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hp-section-mark::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    margin-right: 0.7rem;
    vertical-align: middle;
    background: currentColor;
    opacity: 0.72;
}

.hp-button,
.hp-subscribe-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.62rem 0.92rem;
    border: 1px solid var(--hp-indigo);
    border-radius: 999px;
    background: var(--hp-indigo);
    color: var(--hp-white);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hp-button:hover,
.hp-subscribe-form button:hover {
    transform: translateY(-1px);
    background: #223154;
    border-color: #223154;
    box-shadow: 0 0 0 4px rgba(143, 31, 43, 0.08), 0 14px 34px rgba(143, 31, 43, 0.13);
}

html.hp-dark .hp-button,
html.hp-dark .hp-subscribe-form button {
    background: linear-gradient(180deg, #f0172a, #c80f20);
    border-color: var(--hp-lantern);
    color: #090a0f;
}

html.hp-dark .hp-button:hover,
html.hp-dark .hp-subscribe-form button:hover {
    background: #f03a49;
    border-color: #f03a49;
    box-shadow: 0 0 30px rgba(223, 18, 36, 0.42), 0 0 90px rgba(223, 18, 36, 0.2);
}

.hp-button-secondary {
    background: transparent;
    color: var(--hp-indigo);
    border-color: var(--hp-line-strong);
}

.hp-button-secondary:hover {
    background: rgba(23, 33, 58, 0.06);
    border-color: var(--hp-indigo);
}

.hp-mark {
    width: 100%;
    height: 100%;
}

.hp-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 242, 232, 0.78);
    border-bottom: 1px solid var(--hp-line);
    backdrop-filter: blur(22px) saturate(1.12);
}

html.hp-dark .hp-site-header {
    background: rgba(5, 6, 10, 0.88);
    box-shadow: 0 1px 0 rgba(223, 18, 36, 0.12), 0 0 42px rgba(223, 18, 36, 0.06);
}

.hp-header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hp-brand,
.hp-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.hp-brand img {
    max-height: 30px;
    width: auto;
}

.hp-brand-mark {
    width: 34px;
    height: 34px;
    color: var(--hp-gold);
}

html.hp-dark .hp-brand-mark,
html.hp-dark .hp-brand {
    color: var(--hp-lantern);
    text-shadow: 0 0 14px rgba(223, 18, 36, 0.32);
}

.hp-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--hp-ink-soft);
    font-size: 0.86rem;
}

.hp-navigation ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-navigation a {
    text-decoration: none;
}

.hp-navigation a:hover,
.hp-navigation .nav-current a {
    color: var(--hp-vermilion);
}

html.hp-dark .hp-navigation a:hover,
html.hp-dark .hp-navigation .nav-current a {
    color: var(--hp-lantern);
    text-shadow: 0 0 16px rgba(223, 18, 36, 0.5);
}

.hp-nav-subscribe {
    padding: 0.44rem 0.78rem;
    border: 1px solid var(--hp-line-strong);
    border-radius: 999px;
    color: var(--hp-indigo);
    font-weight: 700;
}

html.hp-dark .hp-nav-subscribe {
    border-color: rgba(223, 18, 36, 0.46);
    color: var(--hp-lantern);
    box-shadow: inset 0 0 18px rgba(223, 18, 36, 0.06);
}

.hp-theme-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--hp-line-strong);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.18);
    color: var(--hp-indigo);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hp-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--hp-gold);
    background: rgba(143, 31, 43, 0.08);
}

html:not(.hp-dark) .hp-theme-toggle {
    box-shadow: 0 0 22px rgba(143, 31, 43, 0.09);
}

.hp-theme-icon {
    position: absolute;
    width: 19px;
    height: 19px;
    transition: opacity 160ms ease, transform 160ms ease;
}

.hp-theme-icon-sun {
    opacity: 0;
    transform: rotate(-45deg) scale(0.82);
}

html.hp-dark .hp-theme-icon-moon {
    opacity: 0;
    transform: rotate(45deg) scale(0.82);
}

html.hp-dark .hp-theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html.hp-dark .hp-theme-toggle {
    border-color: rgba(223, 18, 36, 0.44);
    background: rgba(223, 18, 36, 0.08);
    color: var(--hp-lantern);
    box-shadow: 0 0 24px rgba(223, 18, 36, 0.14);
}

.hp-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    background: transparent;
    color: var(--hp-indigo);
}

.hp-menu-toggle span:not(.hp-sr) {
    display: block;
    width: 16px;
    height: 1px;
    margin: 4px auto;
    background: currentColor;
}

.hp-home-hero {
    position: relative;
    padding: 0 0 3.4rem;
}

.hp-home-hero::after {
    content: "";
    position: absolute;
    left: 4%;
    right: 18%;
    bottom: 0.6rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 31, 43, 0.5), transparent);
    transform: rotate(-0.35deg);
}

html.hp-dark .hp-home-hero::after {
    background: linear-gradient(90deg, transparent, rgba(223, 18, 36, 0.72), transparent);
    box-shadow: 0 0 22px rgba(223, 18, 36, 0.32);
}

.hp-hero-banner {
    width: 100%;
    margin: 0 0 2.7rem;
    overflow: hidden;
    border-bottom: 1px solid var(--hp-line);
    background: #030407;
}

.hp-hero-banner img {
    width: 100%;
    height: auto;
}

.hp-hero-copy h1,
.hp-article-header h1,
.hp-archive-header h1,
.hp-guide-hero h1,
.hp-error h1 {
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.04;
}

.hp-hero-copy h1 {
    max-width: 680px;
    font-size: clamp(3rem, 6.5vw, 5.4rem);
    text-wrap: balance;
}

.hp-hero-copy p:not(.hp-section-mark) {
    max-width: 620px;
    margin: 0;
    color: var(--hp-ink-soft);
    font-family: var(--hp-serif);
    font-size: 1.18rem;
    line-height: 1.58;
}

.hp-hero-copy .hp-hero-note {
    max-width: 680px;
    margin-top: 1rem;
    color: var(--hp-muted);
    font-family: var(--hp-sans);
    font-size: 0.98rem;
    line-height: 1.62;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.7rem;
}

.hp-enso {
    width: min(230px, 42vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    justify-self: center;
    color: rgba(143, 31, 43, 0.58);
    border-radius: 50%;
}

.hp-enso .hp-mark {
    filter: drop-shadow(0 28px 38px rgba(143, 31, 43, 0.12));
}

html:not(.hp-dark) .hp-enso .hp-mark {
    filter: drop-shadow(0 20px 34px rgba(143, 31, 43, 0.18)) drop-shadow(0 0 26px rgba(223, 18, 36, 0.08));
}

html.hp-dark .hp-enso {
    color: rgba(223, 18, 36, 0.62);
}

html.hp-dark .hp-enso .hp-mark {
    filter: drop-shadow(0 0 22px rgba(223, 18, 36, 0.44)) drop-shadow(0 30px 52px rgba(223, 18, 36, 0.14));
}

.hp-enso-small {
    width: 190px;
}

.hp-feature {
    position: relative;
    margin-bottom: 5.2rem;
}

.hp-feature-link {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.78fr);
    gap: 3rem;
    align-items: center;
    padding: 2rem 0 2.4rem;
    text-decoration: none;
}

.hp-feature-link::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 31, 43, 0.55), rgba(65, 54, 39, 0.08), transparent);
}

.hp-feature-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 13%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(65, 54, 39, 0.12), rgba(143, 31, 43, 0.44));
}

.hp-feature-link img {
    grid-row: span 3;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 48% 52% 49% 51% / 2.5% 3% 2% 2.7%;
    box-shadow: var(--hp-shadow);
}

html.hp-dark .hp-feature-link img,
html.hp-dark .hp-feature-image img {
    border: 1px solid rgba(223, 18, 36, 0.28);
    box-shadow: 0 0 0 1px rgba(240, 237, 242, 0.08), 0 0 34px rgba(223, 18, 36, 0.22), var(--hp-shadow);
}

.hp-feature-meta {
    align-self: end;
    color: var(--hp-vermilion);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hp-feature-link h2 {
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1.08;
}

.hp-feature-link p {
    margin: 0;
    color: var(--hp-ink-soft);
    font-family: var(--hp-serif);
    font-size: 1.08rem;
    line-height: 1.62;
}

.hp-home-sections {
    display: block;
    margin-bottom: 3.8rem;
}

.hp-route-intro {
    max-width: 680px;
    margin-bottom: 1.55rem;
    padding-top: 0.4rem;
}

.hp-route-intro h2 {
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.08;
}

.hp-route-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.hp-path-card {
    position: relative;
    display: flex;
    isolation: isolate;
    min-height: 178px;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    padding: 1.18rem;
    border: 1px solid var(--hp-line);
    border-radius: 18px;
    background: var(--hp-surface);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hp-path-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(135deg, rgba(223, 18, 36, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.08), transparent);
    transition: opacity 180ms ease;
}

html.hp-dark .hp-path-card,
html.hp-dark .hp-start-routes a,
html.hp-dark .hp-subscribe,
html.hp-dark .kg-callout-card,
html.hp-dark .kg-bookmark-card a.kg-bookmark-container,
html.hp-dark .hp-locked {
    background: var(--hp-surface);
    border-color: rgba(223, 18, 36, 0.28);
    box-shadow: inset 0 0 0 1px rgba(240, 237, 242, 0.035), 0 0 30px rgba(223, 18, 36, 0.08);
}

.hp-path-card > * {
    position: relative;
    z-index: 1;
}

.hp-path-card:nth-child(even)::before {
    background:
        linear-gradient(225deg, rgba(223, 18, 36, 0.14), transparent 44%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.08), transparent);
}

.hp-path-card::after {
    content: "";
    position: absolute;
    left: 1.18rem;
    bottom: 1rem;
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--hp-vermilion), transparent);
    opacity: 0.58;
}

.hp-path-card:hover {
    transform: translateY(-2px);
    border-color: rgba(223, 18, 36, 0.48);
    box-shadow: 0 0 0 1px rgba(223, 18, 36, 0.18), 0 20px 58px rgba(143, 31, 43, 0.12);
}

.hp-path-card:hover::before {
    opacity: 1;
}

html:not(.hp-dark) .hp-path-card:hover::before,
html:not(.hp-dark) .hp-start-routes a:hover,
html:not(.hp-dark) .hp-subscribe:hover {
    box-shadow: none;
}

html.hp-dark .hp-path-card:hover,
html.hp-dark .hp-start-routes a:hover {
    background: rgba(15, 18, 27, 0.96);
    border-color: rgba(223, 18, 36, 0.58);
    box-shadow: 0 0 0 1px rgba(223, 18, 36, 0.18), 0 0 28px rgba(223, 18, 36, 0.18), 0 18px 70px rgba(0, 0, 0, 0.28);
}

.hp-path-card span {
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.12;
}

.hp-path-card p {
    margin: 0;
    color: var(--hp-ink-soft);
    font-size: 0.94rem;
    line-height: 1.52;
}

.hp-latest-intro {
    margin-bottom: 1.7rem;
}

.hp-latest-intro h2 {
    max-width: 820px;
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: clamp(1.45rem, 2.6vw, 2.3rem);
    font-weight: 600;
    line-height: 1.12;
}

.hp-latest {
    margin-top: 0;
}

.hp-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2.2rem;
    padding-bottom: 4rem;
}

.hp-post-card a {
    position: relative;
    display: block;
    height: 100%;
    padding-bottom: 1.15rem;
    text-decoration: none;
}

.hp-post-card a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 31, 43, 0.62), transparent);
    opacity: 0.55;
}

.hp-post-card figure,
.hp-card-image {
    margin: 0 0 1rem;
    overflow: hidden;
    background: rgba(23, 33, 58, 0.06);
    border-radius: 24px 3px 20px 3px / 4px 22px 4px 20px;
}

html.hp-dark .hp-post-card figure,
html.hp-dark .hp-card-image {
    background: rgba(240, 237, 242, 0.05);
    border: 1px solid rgba(223, 18, 36, 0.22);
    box-shadow: 0 0 0 1px rgba(240, 237, 242, 0.04), 0 0 26px rgba(223, 18, 36, 0.08);
}

html.hp-dark .hp-post-card:hover figure,
html.hp-dark .hp-post-card:hover .hp-card-image {
    border-color: rgba(223, 18, 36, 0.58);
    box-shadow: 0 0 0 1px rgba(223, 18, 36, 0.22), 0 0 36px rgba(223, 18, 36, 0.34), 0 0 96px rgba(223, 18, 36, 0.16);
}

.hp-post-card img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    transition: transform 220ms ease;
}

.hp-post-card:hover img {
    transform: scale(1.025);
}

html.hp-dark .hp-post-card h2 {
    color: var(--hp-lantern);
}

html.hp-dark .hp-post-card:hover h2 {
    text-shadow: 0 0 16px rgba(223, 18, 36, 0.42);
}

.hp-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    color: var(--hp-vermilion);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hp-card-meta::before {
    content: "";
    width: 18px;
    height: 1px;
    align-self: center;
    background: currentColor;
    opacity: 0.65;
}

.hp-post-card h2 {
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.18;
}

.hp-post-card p:not(.hp-card-meta) {
    margin: 0.8rem 0 0;
    color: var(--hp-ink-soft);
}

.hp-archive-header,
.hp-author-header,
.hp-error {
    padding: 5rem 0 3rem;
    text-align: center;
}

.hp-archive-header h1,
.hp-error h1 {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.hp-archive-header p:not(.hp-section-mark),
.hp-error p {
    max-width: 640px;
    margin: 1rem auto 0;
    color: var(--hp-ink-soft);
    font-family: var(--hp-serif);
    font-size: 1.16rem;
    line-height: 1.6;
}

.hp-author-header img {
    width: 92px;
    height: 92px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.hp-article-header {
    position: relative;
    padding: 5.2rem 0 3rem;
    text-align: center;
}

.hp-article-header::after {
    content: "";
    display: block;
    width: min(220px, 55vw);
    height: 1px;
    margin: 2rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(143, 31, 43, 0.7), transparent);
    transform: rotate(-0.4deg);
}

.hp-article-header h1 {
    font-size: clamp(2.7rem, 7.5vw, 5.9rem);
}

.hp-article-excerpt {
    margin: 1.2rem auto 0;
    color: var(--hp-ink-soft);
    font-family: var(--hp-serif);
    font-size: 1.28rem;
    line-height: 1.58;
}

.hp-article-meta {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
    color: var(--hp-muted);
    font-size: 0.86rem;
}

.hp-feature-image {
    margin-top: 0;
    margin-bottom: 3rem;
}

.hp-feature-image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--hp-shadow);
}

.hp-feature-image figcaption {
    margin-top: 0.65rem;
    color: var(--hp-muted);
    font-size: 0.84rem;
    text-align: center;
}

.hp-content {
    color: var(--hp-ink);
    font-family: var(--hp-serif);
    font-size: 1.15rem;
    line-height: 1.82;
}

.hp-content > *:first-child {
    margin-top: 0;
}

.hp-content p,
.hp-content ul,
.hp-content ol,
.hp-content blockquote,
.hp-content figure,
.hp-content pre,
.hp-content table {
    margin: 1.35rem 0;
}

.hp-content h2,
.hp-content h3,
.hp-content h4 {
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    line-height: 1.18;
}

.hp-content h2 {
    margin: 3rem 0 1rem;
    padding-top: 1.7rem;
    font-size: 2rem;
    font-weight: 600;
}

.hp-content h2::before {
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin: 0 0 1.35rem;
    background: linear-gradient(90deg, var(--hp-gold), transparent);
    opacity: 0.8;
}

.hp-content h3 {
    margin: 2.1rem 0 0.8rem;
    font-size: 1.45rem;
}

.hp-content h4 {
    margin: 1.8rem 0 0.7rem;
    font-size: 1.1rem;
}

.hp-content a {
    color: var(--hp-vermilion);
}

.hp-content blockquote {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.75rem;
    border-left: 0;
    color: var(--hp-indigo);
    font-size: 1.35rem;
    line-height: 1.58;
}

.hp-content blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--hp-gold), transparent);
}

.hp-content blockquote p {
    margin: 0.7rem 0;
}

.hp-content hr {
    width: 110px;
    height: 1px;
    margin: 3rem auto;
    border: 0;
    background: var(--hp-line-strong);
}

.hp-content img {
    border-radius: 2px;
}

.hp-content figcaption {
    color: var(--hp-muted);
    font-family: var(--hp-sans);
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: center;
}

.hp-content code {
    padding: 0.12em 0.28em;
    border-radius: 3px;
    background: rgba(23, 33, 58, 0.07);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9em;
}

html.hp-dark .hp-content code {
    background: rgba(238, 229, 210, 0.08);
}

.hp-content pre {
    overflow-x: auto;
    padding: 1rem;
    border: 1px solid var(--hp-line);
    border-radius: 4px;
    background: var(--hp-indigo);
    color: var(--hp-white);
}

html.hp-dark .hp-content pre {
    background: #0a0d0c;
    color: var(--hp-ink);
}

.hp-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.hp-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--hp-sans);
    font-size: 0.95rem;
}

.hp-content th,
.hp-content td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--hp-line);
    text-align: left;
}

.kg-card {
    margin-block: 2rem;
}

.kg-width-wide {
    width: min(960px, calc(100vw - 40px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full img {
    width: 100%;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
}

.kg-gallery-image {
    flex: 1;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-callout-card {
    border: 1px solid var(--hp-line);
    border-radius: 4px;
    background: rgba(255, 253, 248, 0.7);
    box-shadow: none;
}

.kg-bookmark-card a.kg-bookmark-container {
    display: flex;
    overflow: hidden;
    border-color: var(--hp-line);
    border-radius: 4px;
    background: rgba(255, 253, 248, 0.64);
    color: inherit;
    text-decoration: none;
}

.kg-bookmark-content {
    display: grid;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
    padding: 1rem;
}

.kg-bookmark-title {
    color: var(--hp-indigo);
    font-family: var(--hp-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.kg-bookmark-description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hp-ink-soft);
    font-family: var(--hp-sans);
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    color: var(--hp-muted);
    font-family: var(--hp-sans);
    font-size: 0.78rem;
}

.kg-bookmark-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.kg-bookmark-author,
.kg-bookmark-publisher {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kg-bookmark-thumbnail {
    min-width: 32%;
    max-width: 34%;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-locked {
    padding: 2rem;
    border: 1px solid var(--hp-line);
    background: rgba(255, 253, 248, 0.72);
    text-align: center;
}

.hp-locked h2 {
    margin: 0;
    border: 0;
    padding: 0;
}

.hp-locked-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.hp-article-footer {
    padding: 2.8rem 0 4.5rem;
}

.hp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.hp-tags a {
    padding: 0.42rem 0.7rem;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-ink-soft);
    font-size: 0.82rem;
    text-decoration: none;
}

.hp-subscribe {
    width: min(920px, calc(100vw - 40px));
    margin: 3.4rem auto;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
    padding: 1.35rem;
    border: 1px solid var(--hp-line);
    border-radius: 18px;
    background: var(--hp-surface);
    box-shadow: 0 16px 46px rgba(36, 29, 21, 0.06);
}

.hp-subscribe-mark {
    width: 56px;
    height: 56px;
    color: var(--hp-gold);
}

.hp-subscribe h2 {
    margin: 0;
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.15;
}

.hp-subscribe p {
    margin: 0.55rem 0 0;
    color: var(--hp-ink-soft);
}

.hp-subscribe-form {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hp-subscribe-form input {
    min-width: min(100%, 300px);
    flex: 1;
    min-height: 40px;
    padding: 0.65rem 0.86rem;
    border: 1px solid var(--hp-line-strong);
    border-radius: 999px;
    background: var(--hp-white);
    color: var(--hp-ink);
}

.hp-support-action {
    grid-column: 2;
    margin-top: 0.2rem;
}

.hp-support-action .hp-button {
    width: max-content;
}

.hp-form-success,
.hp-form-error {
    display: none;
    flex-basis: 100%;
    font-size: 0.86rem;
}

.success .hp-form-success,
.error .hp-form-error {
    display: block;
}

.hp-member-note {
    grid-column: 2;
}

.hp-hide-portal-trigger,
.gh-portal-triggerbtn-wrapper,
iframe[title="portal-trigger"],
iframe[title="Ghost Portal trigger"],
iframe[src*="portal-trigger"] {
    display: none !important;
}

.hp-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0 3rem;
}

.hp-guide-hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
}

.hp-guide-hero p:not(.hp-section-mark) {
    max-width: 680px;
    color: var(--hp-ink-soft);
    font-family: var(--hp-serif);
    font-size: 1.25rem;
    line-height: 1.58;
}

.hp-start-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.hp-start-routes a {
    position: relative;
    min-height: 142px;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 253, 248, 0.62);
    border: 1px solid rgba(65, 54, 39, 0.13);
    border-radius: 26px 4px 24px 4px / 5px 24px 5px 22px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(36, 29, 21, 0.035);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hp-start-routes a:nth-child(even) {
    border-radius: 4px 26px 4px 24px / 24px 5px 22px 5px;
}

.hp-start-routes a:hover {
    transform: translateY(-2px);
    background: rgba(255, 253, 248, 0.86);
    box-shadow: var(--hp-soft-shadow);
}

.hp-start-routes span {
    color: var(--hp-indigo);
    font-family: var(--hp-serif);
    font-size: 1.34rem;
    font-weight: 700;
}

.hp-start-routes p {
    margin: 0.7rem 0 0;
    color: var(--hp-ink-soft);
}

.hp-site-footer {
    margin-top: 3rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--hp-line);
    background:
        linear-gradient(180deg, transparent, rgba(255, 253, 248, 0.46));
}

html.hp-dark .hp-site-footer {
    background:
        linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.92));
}

.hp-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
}

.hp-footer-grid p {
    max-width: 420px;
    color: var(--hp-ink-soft);
}

.hp-footer-grid ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.hp-footer-grid a {
    color: var(--hp-ink-soft);
    text-decoration: none;
}

.hp-footer-grid a:hover {
    color: var(--hp-vermilion);
}

.hp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hp-line);
    color: var(--hp-muted);
    font-size: 0.82rem;
}

.pagination {
    width: var(--hp-wrap);
    margin: 0 auto 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: var(--hp-ink-soft);
}

.pagination a {
    color: var(--hp-vermilion);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .hp-menu-toggle {
        display: block;
    }

    .hp-navigation {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        padding: 1rem;
        border: 1px solid var(--hp-line);
        background: var(--hp-paper-soft);
        box-shadow: var(--hp-shadow);
    }

    .hp-navigation.is-open {
        display: grid;
        gap: 1rem;
    }

    .hp-navigation ul {
        display: grid;
        gap: 0.9rem;
    }

    .hp-nav-subscribe {
        width: max-content;
    }

    .hp-guide-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
        padding-top: 3.2rem;
    }

    .hp-enso,
    .hp-enso-small {
        width: min(180px, 54vw);
        justify-self: start;
    }

    .hp-feature-link {
        grid-template-columns: 1fr;
    }

    .hp-feature-link img {
        grid-row: auto;
    }

    .hp-route-list,
    .hp-post-grid,
    .hp-start-routes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --hp-wrap: min(1120px, calc(100vw - 28px));
        --hp-reading: min(720px, calc(100vw - 28px));
    }

    .hp-header-inner {
        min-height: 64px;
    }

    .hp-brand {
        font-size: 1rem;
    }

    .hp-home-hero {
        padding: 0 0 2.8rem;
    }

    .hp-hero-banner {
        margin-bottom: 2rem;
    }

    .hp-hero-copy h1,
    .hp-article-header h1,
    .hp-archive-header h1,
    .hp-guide-hero h1 {
        font-size: 2.45rem;
        line-height: 1.08;
    }

    .hp-hero-copy p:not(.hp-section-mark),
    .hp-article-excerpt,
    .hp-guide-hero p:not(.hp-section-mark) {
        font-size: 1.02rem;
    }

    .hp-route-list,
    .hp-start-routes,
    .hp-post-grid {
        grid-template-columns: 1fr;
    }

    .hp-path-card,
    .hp-start-routes a {
        min-height: auto;
    }

    .hp-article-header,
    .hp-archive-header {
        padding-top: 3.2rem;
    }

    .hp-content {
        font-size: 1.06rem;
        line-height: 1.76;
    }

    .hp-content h2 {
        font-size: 1.65rem;
    }

    .hp-subscribe {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .hp-subscribe-form,
    .hp-support-action,
    .hp-member-note {
        grid-column: 1;
    }

    .hp-support-action .hp-button,
    .hp-subscribe-form button,
    .hp-subscribe-form input {
        width: 100%;
    }

    .hp-footer-grid,
    .hp-footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hp-footer-grid ul {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
