:root {
    --paper: #f5f1e8;
    --surface: #fffdf8;
    --ink: #18201e;
    --muted: #66706d;
    --line: #ded9cd;
    --accent: #d84a2f;
    --accent-dark: #ac321f;
    --forest: #174f43;
    --sand: #e9dfc8;
    --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, SimSun, serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --shadow: 0 20px 60px rgba(43, 45, 38, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

img,
svg,
video,
canvas {
    display: block;
    height: auto;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(216, 74, 47, 0.38);
    outline-offset: 4px;
}

.container {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.skip-link {
    background: var(--ink);
    color: #fff;
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -100px;
    z-index: 100;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    background: rgba(245, 241, 232, 0.94);
    border-bottom: 1px solid rgba(24, 32, 30, 0.12);
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
}

.header-inner {
    align-items: center;
    display: flex;
    height: 82px;
    justify-content: space-between;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.brand-mark {
    align-items: center;
    background: var(--accent);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-top: 5px;
}

.desktop-nav {
    align-items: center;
    display: flex;
    gap: 34px;
}

.desktop-nav a {
    color: #4e5855;
    font-size: 14px;
    font-weight: 600;
    padding: 27px 0 24px;
    position: relative;
}

.desktop-nav a::after {
    background: var(--accent);
    bottom: 19px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transition: transform 180ms ease;
    width: 18px;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
    color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-nav summary {
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    height: 42px;
    justify-items: center;
    list-style: none;
    padding: 10px;
    width: 42px;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav summary span {
    background: var(--ink);
    display: block;
    height: 1.5px;
    margin: 2px 0;
    width: 17px;
}

.mobile-nav nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: grid;
    min-width: 180px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 52px;
}

.mobile-nav nav a {
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 18px;
}

.mobile-nav nav a:last-child {
    border-bottom: 0;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0;
    text-transform: uppercase;
}

.display-title,
.section-title,
.page-title,
.article-title,
.policy-title {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin: 0;
}

.home-hero {
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    padding-bottom: 68px;
    padding-top: 74px;
}

.display-title {
    font-size: clamp(46px, 6.7vw, 82px);
    line-height: 1.08;
    margin-top: 22px;
    max-width: 860px;
}

.hero-copy {
    color: #535e5a;
    font-size: 18px;
    line-height: 1.9;
    margin: 28px 0 0;
    max-width: 720px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.button-primary,
.button-secondary {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    padding: 12px 20px;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
    background: var(--ink);
    color: #fff;
}

.button-primary:hover {
    background: var(--forest);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid #cfc9bc;
    color: #414a47;
}

.button-secondary:hover {
    background: var(--surface);
    color: var(--ink);
}

.hero-note {
    align-self: end;
    border-left: 1px solid #cfc9bc;
    padding-left: 34px;
}

.hero-note > p {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 24px;
}

.note-list {
    display: grid;
    gap: 13px;
}

.note-item {
    align-items: baseline;
    display: grid;
    gap: 13px;
    grid-template-columns: 28px 1fr;
}

.note-item span {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
}

.note-item strong {
    font-size: 14px;
}

.section-block {
    padding-bottom: 78px;
}

.section-heading {
    align-items: end;
    border-top: 1px solid var(--ink);
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-top: 18px;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin-top: 6px;
}

.text-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.featured-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    min-height: 420px;
    overflow: hidden;
}

.featured-art {
    background: var(--forest);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    overflow: hidden;
    padding: 38px;
    position: relative;
}

.featured-art::before,
.featured-art::after {
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 50%;
    content: "";
    height: 330px;
    position: absolute;
    right: -120px;
    top: -70px;
    width: 330px;
}

.featured-art::after {
    height: 220px;
    right: -30px;
    top: 150px;
    width: 220px;
}

.featured-art .art-label,
.featured-art .art-date {
    font-size: 12px;
    letter-spacing: 0.13em;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.featured-art .art-number {
    color: #eadcc0;
    font-family: Georgia, serif;
    font-size: 118px;
    font-style: italic;
    line-height: 0.8;
    position: relative;
    z-index: 1;
}

.featured-body {
    align-self: center;
    padding: 48px;
}

.post-meta {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 9px;
}

.meta-dot {
    background: #a8afac;
    border-radius: 50%;
    height: 3px;
    width: 3px;
}

.featured-body h2 {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.035em;
    line-height: 1.24;
    margin: 20px 0 0;
}

.featured-body h2 a:hover,
.post-card h3 a:hover,
.archive-card h2 a:hover,
.related-item a:hover {
    color: var(--accent-dark);
}

.featured-body > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    margin: 22px 0 0;
}

.featured-body .text-link {
    display: inline-block;
    margin-top: 28px;
}

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

.post-card {
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 28px;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card-index {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 30px;
    font-style: italic;
    line-height: 1;
}

.post-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1.45;
    margin: 24px 0 0;
}

.post-card > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 15px 0 0;
}

.post-card .post-meta {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 20px;
}

.empty-state {
    background: var(--surface);
    border: 1px dashed #b9b2a4;
    grid-column: 1 / -1;
    padding: 52px;
    text-align: center;
}

.empty-state strong {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
}

.empty-state p {
    color: var(--muted);
    margin: 10px auto 0;
    max-width: 560px;
}

.principles {
    background: var(--ink);
    color: #fff;
    padding: 70px 0;
}

.principles-head {
    display: grid;
    gap: 30px;
    grid-template-columns: 0.8fr 1.2fr;
}

.principles .eyebrow {
    color: #f08b71;
}

.principles .section-title {
    max-width: 500px;
}

.principles-intro {
    color: #bfc8c5;
    font-size: 17px;
    line-height: 1.9;
    margin: 12px 0 0;
    max-width: 680px;
}

.principle-grid {
    border-top: 1px solid rgba(255,255,255,0.22);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
}

.principle {
    border-right: 1px solid rgba(255,255,255,0.22);
    padding: 30px 36px 4px 0;
}

.principle + .principle {
    padding-left: 36px;
}

.principle:last-child {
    border-right: 0;
}

.principle span {
    color: #f08b71;
    font-family: Georgia, serif;
    font-size: 14px;
    font-style: italic;
}

.principle h3 {
    font-family: var(--serif);
    font-size: 22px;
    margin: 14px 0 0;
}

.principle p {
    color: #aeb8b4;
    font-size: 14px;
    line-height: 1.8;
    margin: 12px 0 0;
}

.page-hero {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr auto;
    padding-bottom: 54px;
    padding-top: 68px;
}

.page-title {
    font-size: clamp(44px, 7vw, 74px);
    line-height: 1.08;
    margin-top: 15px;
}

.page-intro {
    color: var(--muted);
    font-size: 17px;
    margin: 22px 0 0;
    max-width: 660px;
}

.page-stamp {
    align-items: center;
    align-self: end;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent-dark);
    display: flex;
    font-family: var(--serif);
    font-size: 14px;
    height: 112px;
    justify-content: center;
    line-height: 1.4;
    text-align: center;
    transform: rotate(8deg);
    width: 112px;
}

.archive-list {
    border-top: 1px solid var(--ink);
    margin-bottom: 70px;
}

.archive-card {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 32px;
    grid-template-columns: 90px minmax(0, 1fr) 170px;
    padding: 34px 0;
}

.archive-card .card-index {
    font-size: 38px;
}

.archive-card h2 {
    font-family: var(--serif);
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.38;
    margin: 0;
}

.archive-card .summary {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 14px 0 0;
    max-width: 720px;
}

.archive-side {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.archive-side .text-link {
    display: block;
    margin-top: 18px;
}

.blog-pagination {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: -36px 0 72px;
}

.blog-pagination a,
.blog-pagination span {
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    padding: 9px 15px;
}

.blog-pagination a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.blog-pagination .page-count {
    border: 0;
    color: var(--muted);
}

.article-shell {
    padding-bottom: 80px;
    padding-top: 56px;
}

.breadcrumbs {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 8px;
    margin-bottom: 38px;
}

.breadcrumbs a:hover {
    color: var(--accent-dark);
}

.article-header {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 46px;
}

.article-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-title {
    font-size: clamp(40px, 6.4vw, 72px);
    line-height: 1.16;
    margin-top: 18px;
    max-width: 1040px;
}

.article-deck {
    color: #56615d;
    font-family: var(--serif);
    font-size: clamp(18px, 2.3vw, 23px);
    line-height: 1.75;
    margin: 24px 0 0;
    max-width: 850px;
}

.article-byline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.author-mark {
    align-items: center;
    background: var(--forest);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-family: Georgia, serif;
    font-size: 13px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.byline-copy {
    display: grid;
}

.byline-copy strong {
    font-size: 14px;
}

.byline-copy span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.article-layout {
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
    justify-content: space-between;
    padding-top: 50px;
}

.article-content {
    color: #313a37;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 2;
    min-width: 0;
}

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

.article-content > *:last-child {
    margin-bottom: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content figure,
.article-content table {
    margin-bottom: 1.5em;
    margin-top: 1.5em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--ink);
    font-family: var(--serif);
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.article-content h2 {
    border-top: 1px solid var(--line);
    font-size: 31px;
    margin: 2.3em 0 0.8em;
    padding-top: 0.8em;
}

.article-content h3 {
    font-size: 24px;
    margin: 1.9em 0 0.7em;
}

.article-content h4 {
    font-size: 20px;
}

.article-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.article-content li + li {
    margin-top: 0.55em;
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    color: #58625e;
    font-size: 20px;
    margin-left: 0;
    padding: 6px 0 6px 26px;
}

.article-content img {
    border: 1px solid var(--line);
    margin: 2em auto;
}

.article-content figure {
    background: rgba(255,255,255,0.48);
    border: 1px solid var(--line);
    max-width: 100%;
    padding: 22px;
}

.article-content figcaption {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 10px;
}

.article-content pre {
    background: var(--ink);
    color: #e8edea;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: auto;
    padding: 22px;
}

.article-content code {
    background: #e9e3d7;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.86em;
    padding: 0.12em 0.35em;
}

.article-content pre code {
    background: transparent;
    padding: 0;
}

.article-content table {
    border-collapse: collapse;
    display: block;
    font-family: var(--sans);
    font-size: 14px;
    overflow-x: auto;
    width: 100%;
}

.article-content th,
.article-content td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}

.article-content th {
    background: #ebe5d9;
}

/* Compatibility for charts already stored as article HTML. */
.article-content .flex {
    display: flex;
}

.article-content .items-end {
    align-items: flex-end;
}

.article-content .justify-between {
    justify-content: space-between;
}

.article-content .gap-3 {
    gap: 12px;
}

.article-content .mt-1 {
    margin-top: 4px;
}

.article-content .mt-2 {
    margin-top: 8px;
}

.article-content .mt-3 {
    margin-top: 12px;
}

.article-content .mt-4 {
    margin-top: 16px;
}

.article-content .h-3 {
    height: 12px;
}

.article-content .overflow-hidden {
    overflow: hidden;
}

.article-content .rounded-full {
    border-radius: 999px;
}

.article-content .bg-slate-200 {
    background: #d9d5cb;
}

.article-content .bg-blue-600 {
    background: var(--accent);
}

.article-content .text-sm {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
}

.article-content .font-semibold,
.article-content .font-bold {
    font-weight: 700;
}

.article-content .tabular-nums {
    font-variant-numeric: tabular-nums;
}

.article-sidebar {
    align-self: start;
    position: sticky;
    top: 120px;
}

.sidebar-note {
    border-top: 2px solid var(--accent);
    padding-top: 18px;
}

.sidebar-note h2 {
    font-family: var(--serif);
    font-size: 19px;
    margin: 0;
}

.sidebar-note p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 11px 0 0;
}

.related-list {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 19px;
}

.related-list > strong {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.related-item {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}

.related-item a {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.related-item time {
    color: var(--muted);
    display: block;
    font-size: 11px;
    margin-top: 4px;
}

.article-footer-note {
    background: #ebe5d9;
    border-left: 3px solid var(--forest);
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.8;
    margin-top: 46px;
    padding: 20px 22px;
}

.policy-shell {
    max-width: 900px;
    padding-bottom: 80px;
    padding-top: 62px;
}

.policy-header {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 34px;
}

.policy-title {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.15;
    margin-top: 14px;
}

.policy-intro {
    color: var(--muted);
    font-size: 16px;
    margin: 19px 0 0;
    max-width: 700px;
}

.policy-content {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 2;
    margin-top: 38px;
    max-width: 760px;
}

.policy-content h2 {
    font-size: 25px;
    letter-spacing: -0.02em;
    margin: 2em 0 0.55em;
}

.policy-content p {
    color: #424c48;
    margin: 0 0 1.25em;
}

.policy-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ad-slot {
    background: rgba(255,255,255,0.46);
    border: 1px solid var(--line);
    margin: 0 auto 64px;
    max-width: 1180px;
    padding: 18px;
    text-align: center;
}

.ad-label {
    color: #8a918e;
    font-size: 10px;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.site-footer {
    background: #e9e3d7;
    border-top: 1px solid #cec7ba;
}

.footer-lead {
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1.25fr;
    padding-bottom: 54px;
    padding-top: 58px;
}

.footer-brand .brand-mark {
    height: 38px;
    width: 38px;
}

.footer-lead > div > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 20px 0 0;
}

.footer-links {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.footer-links > div {
    display: grid;
    gap: 8px;
}

.footer-links strong {
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid #cec7ba;
    color: #737b78;
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    padding-bottom: 22px;
    padding-top: 22px;
}

@media (max-width: 920px) {
    .home-hero,
    .principles-head,
    .footer-lead {
        grid-template-columns: 1fr;
    }

    .home-hero {
        gap: 36px;
        padding-top: 54px;
    }

    .hero-note {
        border-left: 0;
        border-top: 1px solid #cfc9bc;
        padding-left: 0;
        padding-top: 28px;
    }

    .featured-card {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .featured-body {
        padding: 34px;
    }

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

    .archive-card {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .archive-side {
        grid-column: 2;
        text-align: left;
    }

    .article-layout {
        gap: 46px;
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@media (max-width: 720px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-inner {
        height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .brand-copy small {
        display: none;
    }

    .display-title {
        font-size: 45px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .section-heading {
        align-items: start;
        gap: 18px;
    }

    .featured-card,
    .posts-grid,
    .principle-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .featured-art {
        min-height: 290px;
        padding: 28px;
    }

    .featured-art .art-number {
        font-size: 90px;
    }

    .featured-body {
        padding: 28px;
    }

    .post-card {
        min-height: 280px;
    }

    .principle-grid {
        border-top: 0;
    }

    .principle,
    .principle + .principle {
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,0.22);
        padding: 25px 0;
    }

    .page-hero {
        grid-template-columns: 1fr;
        padding-top: 48px;
    }

    .page-stamp {
        display: none;
    }

    .archive-card {
        gap: 16px;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 27px 0;
    }

    .archive-card .card-index {
        font-size: 25px;
    }

    .archive-side {
        grid-column: 2;
    }

    .article-shell {
        padding-top: 38px;
    }

    .article-title {
        font-size: 38px;
    }

    .article-content {
        font-size: 17px;
        line-height: 1.95;
    }

    .article-content h2 {
        font-size: 27px;
    }

    .article-sidebar {
        position: static;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding-bottom: 54px;
    }

    .display-title {
        font-size: 39px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        display: inline-block;
        margin-top: 12px;
    }

    .featured-body h2 {
        font-size: 28px;
    }

    .empty-state {
        padding: 36px 22px;
    }

    .page-title {
        font-size: 42px;
    }

    .archive-card {
        grid-template-columns: 1fr;
    }

    .archive-card .card-index {
        font-size: 22px;
    }

    .archive-side {
        grid-column: 1;
    }

    .blog-pagination {
        gap: 8px;
    }

    .blog-pagination a,
    .blog-pagination span {
        padding: 8px 11px;
    }

    .article-title {
        font-size: 34px;
    }

    .article-deck {
        font-size: 18px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }
}

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

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