:root {
    --gh-font-heading: "Noto Serif TC", serif;
    --gh-font-body: "IBM Plex Sans TC", sans-serif;
    --font-display: var(--gh-font-heading);
    --font-body: var(--gh-font-body);
    --bg: #f6f7f3;
    --surface: #ffffff;
    --surface-alt: #eef1ec;
    --soft: #e6ebe5;
    --ink: #151916;
    --muted: #626b63;
    --faint: #9aa399;
    --line: #d9ded6;
    --line-dark: #242a25;
    --aizome: #2f5f53;
    --benigara: #8f5b52;
    --koke: #657789;
    --cha: #303832;
    --paper: #ffffff;
    --max: 1180px;
    --content: 720px;
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-body);
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.site-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-top: 4px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; }
.brand-logo { max-height: 30px; width: auto; }
.brand-logo-mark { width: 34px; height: 34px; object-fit: cover; border: 1px solid var(--line-dark); background: var(--surface); }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: var(--benigara); background: var(--surface); border: 1px solid var(--line-dark); font-size: 0.95rem; font-weight: 800; }
.brand-text { overflow: hidden; max-width: 250px; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0; }
.site-nav { justify-self: center; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a,
.nav-cta { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 34px; padding: 6px 11px; color: var(--muted); border-radius: 999px; font-size: 0.84rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.nav-cta { justify-self: end; color: var(--paper); background: var(--aizome); }
.nav-cta:hover { background: var(--benigara); }

.eyebrow { margin: 0 0 10px; color: var(--benigara); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: stretch;
    padding: clamp(52px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--line-dark);
}
.hero-main { display: grid; align-content: end; min-height: clamp(360px, 52vh, 580px); }
.hero-kicker { margin: 0 0 18px; color: var(--benigara); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-main h1 {
    margin: 0;
    max-width: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 10vw, 8.6rem);
    line-height: 0.94;
    letter-spacing: 0;
    font-weight: 700;
    text-wrap: balance;
    white-space: normal;
}
.hero-main p:not(.eyebrow):not(.hero-kicker) { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.2rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-signal { display: grid; align-content: end; gap: 0; margin-bottom: 2px; counter-reset: signal; }
.hero-signal span { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-dark); color: var(--aizome); font-size: 0.95rem; font-weight: 900; }
.hero-signal span::before { counter-increment: signal; content: "0" counter(signal); color: var(--benigara); font-size: 0.7rem; letter-spacing: 0.1em; }
.hero-signal span:last-child { border-bottom: 1px solid var(--line-dark); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 16px; border: 1px solid var(--aizome); border-radius: 12px; font-size: 0.9rem; font-weight: 900; transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease; }
.button-primary { color: var(--paper); background: var(--aizome); }
.button-secondary { color: var(--aizome); background: var(--surface); }
.button:hover { color: var(--paper); border-color: var(--benigara); background: var(--benigara); transform: translateY(-1px); }

.about-richard {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
    margin: 64px 0 40px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.richard-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.richard-portrait {
    display: grid;
    position: relative;
    width: 88px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    color: transparent;
    background: var(--surface-alt);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 50%;
}
.richard-portrait::before,
.richard-portrait::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.richard-portrait::before {
    top: 18%;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--benigara);
}
.richard-portrait::after {
    bottom: 17%;
    width: 64%;
    height: 30%;
    border-radius: 999px 999px 26px 26px;
    background: var(--aizome);
}
.richard-card-body {
    margin-top: 0;
}
.richard-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.38rem;
    line-height: 1.15;
    white-space: nowrap;
}
.richard-card p:not(.eyebrow) {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.75;
}
.about-richard-main h2 {
    max-width: 820px;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0;
}
.about-richard-main > p {
    max-width: 820px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 1rem;
}
.richard-result-row {
    display: grid;
    grid-template-columns: minmax(108px, 0.85fr) minmax(108px, 0.85fr) minmax(160px, 1.2fr) minmax(118px, 0.9fr);
    gap: 12px;
    margin-top: 22px;
}
.richard-result-row div {
    min-height: 82px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.richard-result-row strong {
    display: block;
    color: var(--aizome);
    font-size: clamp(1.22rem, 2vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}
.richard-result-row span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}
.richard-result-row small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.featured-strip { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; margin: 46px 0; padding: 20px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.featured-link { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 24px; align-items: center; font-family: var(--font-display); font-size: clamp(1.45rem, 3.2vw, 3rem); line-height: 1.05; font-weight: 700; letter-spacing: 0; }
.featured-link img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; border-radius: 12px; }
.featured-link.no-image { grid-template-columns: 1fr; }

.topic-gateway {
    display: grid;
    grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    margin: 48px 0 56px;
    padding: 34px 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.topic-gateway-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 700;
}
.topic-gateway-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.topic-gateway-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 18px;
    min-height: 164px;
    padding: 22px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}
.topic-gateway-item:hover { border-color: var(--aizome); background: var(--surface-alt); transform: translateY(-2px); }
.topic-gateway-item:nth-child(4n + 2),
.topic-gateway-item:nth-child(4n + 3) { background: var(--surface-alt); }
.topic-gateway-item span {
    color: var(--benigara);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.topic-gateway-item strong {
    display: block;
    color: var(--aizome);
    font-size: clamp(1.18rem, 1.8vw, 1.48rem);
    line-height: 1.2;
    font-weight: 900;
}
.topic-gateway-item p {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}
.topic-gateway-item:hover strong { color: var(--benigara); }

.category-browse {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    margin: 0 0 58px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-dark);
    scroll-margin-top: 110px;
}

.category-browse-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 700;
}

.category-browse-head p:not(.eyebrow) {
    max-width: 360px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.category-browse-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-browse-card {
    display: grid;
    gap: 16px;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.category-browse-card:nth-child(4n + 2),
.category-browse-card:nth-child(4n + 3) {
    background: var(--surface-alt);
}

.category-browse-card-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 14px;
}

.category-browse-card-head span {
    color: var(--benigara);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.category-browse-card h3 {
    margin: 0;
    color: var(--aizome);
    font-size: clamp(1.16rem, 1.8vw, 1.42rem);
    line-height: 1.18;
    font-weight: 900;
}

.category-browse-card p {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.category-browse-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 44px;
    padding: 9px 13px;
    color: var(--paper);
    border: 1px solid var(--aizome);
    border-radius: 999px;
    background: var(--aizome);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.15;
}

.category-browse-all:hover,
.category-browse-all:focus-visible {
    color: var(--paper);
    border-color: var(--benigara);
    background: var(--benigara);
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
}

.category-browse-posts {
    display: grid;
    border-top: 1px solid var(--line);
}

.category-browse-posts a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 54px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.category-browse-posts time,
.category-browse-posts span {
    color: var(--benigara);
    font-size: 0.75rem;
    font-weight: 850;
    line-height: 1.4;
}

.category-browse-posts strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.42;
}

.category-browse-posts a:hover,
.category-browse-posts a:focus-visible {
    color: var(--aizome);
    background: rgba(255, 255, 255, 0.52);
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
}

.category-browse-empty {
    grid-column: 1 / -1;
    padding-top: 4px;
}

@media (max-width: 980px) {
    .category-browse {
        grid-template-columns: 1fr;
    }

    .category-browse-head p:not(.eyebrow) {
        max-width: 680px;
    }
}

@media (max-width: 620px) {
    .category-browse {
        gap: 20px;
        padding: 30px 0;
        scroll-margin-top: 150px;
    }

    .category-browse-grid {
        grid-template-columns: 1fr;
    }

    .category-browse-card {
        padding: 20px;
    }

    .category-browse-card-head {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .category-browse-posts a {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.tag-list {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    margin: 0 0 58px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-dark);
    scroll-margin-top: 110px;
}

.tag-list-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 700;
}

.tag-list-head p:not(.eyebrow) {
    max-width: 380px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.tag-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
}

.tag-list-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    min-width: 0;
    min-height: 58px;
    align-content: center;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.tag-list-card:nth-child(4n + 2),
.tag-list-card:nth-child(4n + 3) {
    background: var(--surface-alt);
}

.tag-list-card span {
    grid-column: 2;
    grid-row: 1;
    color: var(--benigara);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.tag-list-card strong {
    grid-column: 1;
    grid-row: 1;
    overflow-wrap: anywhere;
    color: var(--aizome);
    font-size: 1rem;
    line-height: 1.26;
}

.tag-list-card:hover,
.tag-list-card:focus-visible {
    color: var(--aizome);
    border-color: var(--aizome);
    background: #fff;
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
    transform: translateY(-2px);
}

.tag-list-empty {
    grid-column: auto;
    margin: 0;
}

@media (max-width: 980px) {
    .tag-list {
        grid-template-columns: 1fr;
    }

    .tag-list-head p:not(.eyebrow) {
        max-width: 680px;
    }

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

@media (max-width: 620px) {
    .tag-list {
        gap: 20px;
        padding: 30px 0;
        scroll-margin-top: 150px;
    }

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

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

    .tag-list-card span,
    .tag-list-card strong {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }
}

.section-head { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: end; margin: 46px 0 18px; }
.section-head h2,
.archive-header h1 { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.75rem, 3.25vw, 2.95rem); line-height: 1.12; letter-spacing: 0; font-weight: 700; }
.archive-header { padding: 50px 0 28px; border-bottom: 1px solid var(--line-dark); margin-bottom: 26px; }
.archive-header p { max-width: 650px; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.post-card { position: relative; display: grid; grid-column: span 2; grid-template-rows: auto 1fr; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 150ms ease, transform 150ms ease, background 150ms ease; }
.post-card:nth-child(2n + 3) { background: var(--surface-alt); }
.post-card:hover { border-color: var(--aizome); transform: translateY(-2px); }
.post-card-media { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--soft); }
.post-card-media img { width: 100%; aspect-ratio: 1.38 / 1; object-fit: cover; filter: saturate(0.86) contrast(0.98) brightness(1.01); transition: filter 180ms ease, transform 180ms ease; }
.post-card:hover .post-card-media img { filter: saturate(1) contrast(1); transform: scale(1.015); }
.post-card-content { display: flex; flex-direction: column; justify-content: flex-start; min-height: 230px; padding: 22px 22px 24px; }
.post-card-meta,
.article-meta,
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.post-card-meta a { color: var(--benigara); }
.post-card h2 { margin: 10px 0 10px; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.18rem, 1.75vw, 1.58rem); line-height: 1.22; letter-spacing: 0; font-weight: 700; }
.post-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.post-grid .post-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); grid-template-rows: 1fr; min-height: 360px; color: var(--ink); background: var(--surface); border-color: var(--line-dark); }
.post-grid .post-card:first-child::before { content: "延伸閱讀"; position: absolute; top: 18px; left: 18px; z-index: 1; padding: 6px 9px; border-radius: 999px; color: var(--paper); background: var(--benigara); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.post-grid .post-card:first-child .post-card-media { height: 100%; border-right: 1px solid var(--line); border-bottom: 0; }
.post-grid .post-card:first-child .post-card-media img { height: 100%; min-height: 340px; aspect-ratio: auto; }
.post-grid .post-card:first-child .post-card-content { min-height: 360px; justify-content: flex-end; padding: 54px 40px 34px; }
.post-grid .post-card:first-child .post-card-meta,
.post-grid .post-card:first-child p { color: var(--muted); }
.post-grid .post-card:first-child .post-card-meta a { color: var(--benigara); }
.post-grid .post-card:first-child h2 { max-width: 720px; color: var(--aizome); font-size: clamp(1.75rem, 2.9vw, 2.72rem); line-height: 1.1; letter-spacing: 0; font-weight: 700; }
.post-grid .post-card:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; border-right: 0; }
.post-grid .post-card:nth-last-child(2):nth-child(3n + 1),
.post-grid .post-card:nth-last-child(2):nth-child(3n + 1) + .post-card { grid-column: span 3; }
.post-grid .post-card:nth-last-child(2):nth-child(3n + 1) + .post-card { border-right: 0; }

.empty-state { grid-column: 1 / -1; min-height: 260px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
.empty-state span { display: inline-block; margin-bottom: 14px; padding: 6px 9px; color: var(--paper); background: var(--aizome); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.empty-state h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: 0; }
.empty-state p { max-width: 560px; margin: 18px 0 0; color: var(--muted); }

.pagination { display: flex; justify-content: space-between; gap: 14px; min-height: 52px; margin: 0 0 34px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted); }
.pagination:empty { display: none; }
.pagination a { font-weight: 800; }

.article-header { max-width: 980px; margin: clamp(44px, 7vw, 78px) auto 34px; text-align: left; }
.article-tag { display: inline-flex; margin-bottom: 18px; padding: 6px 10px; border-radius: 999px; color: var(--paper); background: var(--benigara); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.06em; }
.article-header h1 { margin: 0; max-width: 920px; color: var(--ink); font-family: var(--font-display); font-size: clamp(2.45rem, 5.8vw, 5.25rem); line-height: 1.04; letter-spacing: 0; font-weight: 700; text-wrap: balance; }
.article-excerpt { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.26rem); line-height: 1.75; }
.article-meta { justify-content: flex-start; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.article-image { overflow: hidden; width: min(100%, 1040px); margin: 0 auto 56px; border-radius: var(--radius); background: var(--surface); }
.article-image img { width: 100%; height: auto; object-fit: contain; }
.article-image figcaption { padding: 12px 16px 15px; color: var(--muted); font-size: 0.88rem; }
.article-content { max-width: var(--content); margin: 0 auto; }
.gh-content { font-size: clamp(1.03rem, 1.42vw, 1.16rem); line-height: 1.88; }
.gh-content img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.gh-content > *:first-child { margin-top: 0; }
.gh-content h2,
.gh-content h3 { line-height: 1.24; letter-spacing: 0; font-weight: 800; }
.gh-content h2 { margin: 2.4em 0 0.7em; padding-top: 0.45em; border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 700; }
.gh-content h3 { margin: 1.75em 0 0.5em; font-size: clamp(1.2rem, 1.85vw, 1.52rem); }
.gh-content p,
.gh-content li { color: var(--ink); }
.gh-content a { color: var(--aizome); border-bottom: 1px solid rgba(124, 247, 194, 0.45); }
.gh-content ul,
.gh-content ol { padding-left: 1.35em; }
.gh-content li + li { margin-top: 0.35em; }
.gh-content blockquote { margin: 2.2rem 0; padding: 20px 22px; border-left: 5px solid var(--benigara); border-radius: 0 12px 12px 0; background: var(--surface); font-size: 1.16rem; font-weight: 700; }
.gh-content table { display: block; width: 100%; margin: 2rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; border-spacing: 0; background: var(--surface); font-size: 0.9rem; }
.gh-content th,
.gh-content td { min-width: 160px; padding: 11px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gh-content th { color: var(--paper); background: var(--aizome); }
.gh-content .kg-width-wide { width: min(100vw - 48px, 980px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full img,
.gh-content .kg-width-wide img { width: 100%; height: auto; object-fit: contain; }
.article-author {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
    max-width: var(--content);
    margin: 44px auto 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.article-author .eyebrow { margin: 0; }
.article-author-main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.article-author-mark {
    display: grid;
    width: 58px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--paper);
    background: var(--aizome);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 50%;
}
.article-author h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 900;
}
.article-author p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.article-author a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--aizome);
    border-bottom: 1px solid var(--benigara);
    font-size: 0.9rem;
    font-weight: 800;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--content); margin: 42px auto 0; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.article-tags a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--aizome); background: var(--surface); font-size: 0.85rem; font-weight: 800; }

.subscribe-block,
.footer-card { margin: 42px 0 24px; padding: 28px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.subscribe-block h2,
.footer-card h2 { max-width: 700px; margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.55rem, 2.75vw, 2.65rem); line-height: 1.18; letter-spacing: 0; font-weight: 700; }
.subscribe-block p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.footer-card { display: grid; grid-template-columns: minmax(128px, 210px) minmax(0, 1fr) auto; gap: clamp(18px, 4.5vw, 56px); align-items: center; }
.footer-card .eyebrow { margin: 0; }
.footer-card h2 { max-width: none; font-size: clamp(1.42rem, 2vw, 2.1rem); line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
.footer-card h2 span { display: block; }
.footer-card .button { justify-self: end; white-space: nowrap; }
.footer-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
}
.footer-topics a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 11px;
    color: var(--aizome);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.88rem;
    font-weight: 800;
}
.footer-topics a:hover { color: var(--paper); border-color: var(--benigara); background: var(--benigara); }
.footer-bottom { justify-content: space-between; margin: 0 0 34px; padding-top: 14px; border-top: 1px solid var(--line); }
.error-page { min-height: 48vh; text-align: center; }
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .site-nav { order: 3; grid-column: 1 / -1; justify-self: start; width: 100%; overflow-x: auto; }
    .hero { grid-template-columns: 1fr; gap: 20px; }
    .hero-main h1 { white-space: normal; }
    .hero-actions { flex-direction: row; justify-self: start; }
    .hero-signal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-signal span:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
    .about-richard { grid-template-columns: 1fr; gap: 22px; }
    .richard-result-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-strip,
    .featured-link,
    .topic-gateway,
    .section-head { grid-template-columns: 1fr; }
    .topic-gateway-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .post-card,
    .post-grid .post-card:last-child:nth-child(3n + 1),
    .post-grid .post-card:nth-last-child(2):nth-child(3n + 1),
    .post-grid .post-card:nth-last-child(2):nth-child(3n + 1) + .post-card { grid-column: span 2; }
    .post-grid .post-card:first-child,
    .post-grid .post-card:last-child:nth-child(odd) { grid-column: 2 / span 2; }
    .post-grid .post-card:first-child { grid-column: 1 / -1; grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
    .post-grid .post-card:first-child .post-card-media { height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .post-grid .post-card:first-child .post-card-media img { height: auto; min-height: 0; aspect-ratio: 1.55 / 1; }
    .post-grid .post-card:first-child .post-card-content { min-height: 0; padding: 24px 22px 24px; }
    .footer-card { grid-template-columns: 1fr; gap: 14px; align-items: start; }
    .footer-card h2 { max-width: 680px; }
    .footer-card .button { justify-self: start; }
}

@media (max-width: 620px) {
    .site-shell { width: min(calc(100% - 24px), var(--max)); }
    .brand-text { max-width: 160px; }
    .site-nav ul { flex-wrap: nowrap; }
    .hero { padding: 40px 0 34px; }
    .hero-main { min-height: 0; }
    .hero-main h1 { font-size: clamp(3rem, 17vw, 4.8rem); white-space: normal; }
    .hero-signal { grid-template-columns: 1fr; gap: 0; }
    .hero-signal span:nth-last-child(-n + 2) { border-bottom: 0; }
    .hero-signal span:last-child { border-bottom: 1px solid var(--line-dark); }
    .about-richard { margin: 36px 0 26px; padding: 24px 18px 26px; }
    .about-richard-main h2 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
    .richard-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
    .richard-portrait { width: 72px; font-size: 2.4rem; }
    .richard-result-row { gap: 10px; }
    .richard-result-row div { min-height: 74px; padding: 12px 13px; }
    .post-card { min-height: 0; }
    .post-card-content { min-height: 0; }
    .post-card-media img { aspect-ratio: 1.45 / 1; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card,
    .post-grid .post-card:last-child:nth-child(3n + 1),
    .post-grid .post-card:nth-last-child(2):nth-child(3n + 1),
    .post-grid .post-card:nth-last-child(2):nth-child(3n + 1) + .post-card,
    .post-grid .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .topic-gateway-list { grid-template-columns: 1fr; }
    .topic-gateway-item { min-height: 0; padding: 18px 18px 20px; }
    .article-author { grid-template-columns: 1fr; gap: 10px; }
    .post-grid .post-card:first-child { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
    .post-grid .post-card:first-child .post-card-media { height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .post-grid .post-card:first-child .post-card-media img { height: auto; min-height: 0; aspect-ratio: 1.45 / 1; }
    .post-grid .post-card:first-child .post-card-content { min-height: 0; padding: 24px 20px 24px; }
    .article-header { margin-top: 38px; }
    .article-header h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
    .footer-card h2 { font-size: clamp(1.45rem, 8vw, 2rem); }
    .pagination,
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .richard-result-row { grid-template-columns: 1fr; }
}

/* Open Design signal-terminal pass */
html { background: var(--bg); }
body {
    color: var(--ink);
    background: var(--bg);
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
}
.site-shell { width: min(calc(100% - 40px), var(--max)); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 20, 18, 0.92);
    backdrop-filter: blur(18px);
}
.brand-logo-mark {
    border-color: var(--line-dark);
    border-radius: 4px;
    background: var(--paper);
}
.brand-mark {
    color: var(--bg);
    border-color: var(--aizome);
    border-radius: 4px;
    background: var(--aizome);
}
.brand-text {
    color: var(--paper);
    font-family: var(--font-body);
    font-weight: 900;
}
.site-nav a,
.nav-cta {
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    background: transparent;
}
.site-nav a:hover {
    color: var(--paper);
    border-color: var(--line-dark);
    background: var(--surface-alt);
}
.nav-cta {
    color: var(--bg);
    border-color: var(--aizome);
    background: var(--aizome);
}
.nav-cta:hover {
    color: var(--bg);
    border-color: var(--benigara);
    background: var(--benigara);
}
.eyebrow,
.hero-kicker {
    color: var(--aizome);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.hero {
    position: relative;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.42fr);
    gap: 56px;
    min-height: 620px;
    padding: 76px 0 62px;
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: "";
    position: absolute;
    top: 32px;
    right: 0;
    left: 0;
    border-top: 1px solid var(--line);
}
.hero-main {
    align-content: center;
    min-height: 0;
    padding-top: 20px;
}
.hero-main h1 {
    max-width: 900px;
    color: var(--paper);
    font-size: 7.1rem;
    line-height: 0.94;
}
.hero-main p:not(.eyebrow):not(.hero-kicker) {
    max-width: 610px;
    margin-top: 30px;
    color: var(--cha);
    font-size: 1.1rem;
}
.button {
    min-height: 44px;
    border-radius: 6px;
    font-weight: 900;
}
.button-primary {
    color: var(--bg);
    border-color: var(--aizome);
    background: var(--aizome);
}
.button-secondary {
    color: var(--paper);
    border-color: var(--line-dark);
    background: transparent;
}
.button:hover {
    color: var(--bg);
    border-color: var(--benigara);
    background: var(--benigara);
}
.hero-signal {
    align-content: stretch;
    gap: 0;
    align-self: center;
    margin: 0;
    border: 1px solid var(--line-dark);
    background: var(--surface);
}
.hero-signal span {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px 20px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
}
.hero-signal span::before {
    color: var(--aizome);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.hero-signal span:last-child { border-bottom: 0; }
.featured-strip {
    margin: 42px 0 58px;
    padding: 22px 0;
    border-color: var(--line);
}
.featured-link {
    color: var(--paper);
    font-size: 2.6rem;
}
.featured-link img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    filter: saturate(0.92) contrast(1.08);
}
.topic-gateway {
    margin: 58px 0 64px;
    padding: 42px 0;
    border-color: var(--line);
}
.topic-gateway-head h2,
.section-head h2,
.archive-header h1,
.about-richard-main h2,
.subscribe-block h2,
.footer-card h2 {
    color: var(--paper);
}
.topic-gateway-list { gap: 12px; }
.topic-gateway-item,
.topic-gateway-item:nth-child(4n + 2),
.topic-gateway-item:nth-child(4n + 3) {
    min-height: 176px;
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.topic-gateway-item:hover {
    border-color: var(--aizome);
    background: var(--surface-alt);
}
.topic-gateway-item span {
    color: var(--benigara);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.topic-gateway-item strong { color: var(--paper); }
.topic-gateway-item:hover strong { color: var(--aizome); }
.topic-gateway-item p { color: var(--muted); }
.section-head {
    margin-top: 56px;
    border-bottom: 1px solid var(--line);
}
.post-grid {
    gap: 14px;
    border-top: 0;
}
.post-card,
.post-card:nth-child(2n + 3) {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.post-card:hover {
    border-color: var(--aizome);
    background: var(--surface-alt);
}
.post-card-media {
    border-bottom-color: var(--line);
    background: var(--soft);
}
.post-card-media img {
    filter: saturate(0.86) contrast(1.08) brightness(0.86);
}
.post-card:hover .post-card-media img {
    filter: saturate(1.04) contrast(1.08) brightness(0.96);
}
.post-card h2 { color: var(--paper); }
.post-card p,
.post-card-meta,
.article-meta,
.footer-bottom { color: var(--muted); }
.post-card-meta a,
.post-grid .post-card:first-child .post-card-meta a { color: var(--aizome); }
.post-grid .post-card:first-child {
    border-color: var(--line-dark);
    background: var(--surface-alt);
}
.post-grid .post-card:first-child::before {
    content: "延伸閱讀";
    color: var(--bg);
    border-radius: 4px;
    background: var(--aizome);
}
.post-grid .post-card:first-child .post-card-media {
    border-right-color: var(--line);
}
.post-grid .post-card:first-child h2 {
    color: var(--paper);
    font-size: 2.7rem;
}
.post-grid .post-card:first-child p,
.post-grid .post-card:first-child .post-card-meta { color: var(--muted); }
.about-richard {
    margin: 76px 0 50px;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.richard-card {
    align-self: stretch;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.richard-portrait {
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: var(--surface-alt);
}
.richard-card h2 { color: var(--paper); }
.richard-card p:not(.eyebrow),
.about-richard-main > p,
.richard-result-row span { color: var(--muted); }
.richard-result-row div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.richard-result-row strong { color: var(--aizome); }
.archive-header {
    border-color: var(--line);
}
.article-header {
    max-width: 1040px;
    margin-top: 72px;
}
.article-tag {
    color: var(--bg);
    border-radius: 4px;
    background: var(--aizome);
}
.article-header h1 {
    max-width: 980px;
    color: var(--paper);
    font-size: 5rem;
    line-height: 1.03;
}
.article-excerpt {
    color: var(--cha);
    font-size: 1.16rem;
}
.article-meta {
    border-top-color: var(--line);
}
.article-image {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.article-content { max-width: 760px; }
.gh-content {
    color: var(--paper);
    font-size: 1.08rem;
}
.gh-content p,
.gh-content li { color: var(--paper); }
.gh-content h2 {
    color: var(--paper);
    border-top-color: var(--line);
}
.gh-content h3 { color: var(--aizome); }
.gh-content a {
    color: var(--aizome);
    border-bottom-color: rgba(124, 247, 194, 0.45);
}
.gh-content blockquote {
    color: var(--paper);
    border-left-color: var(--aizome);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--surface);
}
.gh-content table {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.gh-content th,
.gh-content td { border-color: var(--line); }
.gh-content th {
    color: var(--bg);
    background: var(--aizome);
}
.article-author {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.article-author-mark {
    color: var(--bg);
    border-radius: 8px;
    background: var(--aizome);
}
.article-author h2 { color: var(--paper); }
.article-author p:not(.eyebrow) { color: var(--muted); }
.article-author a {
    color: var(--aizome);
    border-bottom-color: rgba(124, 247, 194, 0.45);
}
.article-tags {
    border-top-color: var(--line);
}
.article-tags a,
.footer-topics a {
    color: var(--paper);
    border-color: var(--line);
    border-radius: 6px;
    background: var(--surface);
}
.article-tags a:hover,
.footer-topics a:hover {
    color: var(--bg);
    border-color: var(--benigara);
    background: var(--benigara);
}
.subscribe-block,
.footer-card {
    border-color: var(--line);
}
.footer-topics,
.footer-bottom {
    border-color: var(--line);
}
.footer-card .button { border-radius: 6px; }
.empty-state span {
    color: var(--bg);
    border-radius: 4px;
    background: var(--aizome);
}
.empty-state h2 { color: var(--paper); }
.pagination {
    border-bottom-color: var(--line);
}

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .hero {
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: 0;
        padding: 58px 0 48px;
    }
    .hero-main h1 { font-size: 5.4rem; }
    .hero-signal { align-self: stretch; }
    .hero-signal span:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .hero-signal span:last-child { border-bottom: 0; }
    .featured-link { font-size: 2.2rem; }
    .about-richard { padding: 30px 0; }
    .article-header h1 { font-size: 4.1rem; }
}

@media (max-width: 620px) {
    .site-shell { width: min(calc(100% - 24px), var(--max)); }
    .site-header {
        padding: 12px 0;
        background: rgba(16, 20, 18, 0.96);
    }
    .site-nav { overflow: visible; }
    .site-nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }
    .site-nav a {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 0.74rem;
    }
    .brand-text { max-width: 150px; }
    .nav-cta { min-height: 34px; }
    .hero {
        padding: 44px 0 36px;
    }
    .hero::before { top: 22px; }
    .hero-main h1 {
        font-size: 3.9rem;
        line-height: 0.98;
    }
    .hero-main p:not(.eyebrow):not(.hero-kicker) {
        margin-top: 20px;
        font-size: 1rem;
    }
    .hero-actions { gap: 8px; }
    .button {
        min-height: 40px;
        padding: 8px 13px;
    }
    .hero-signal span {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px;
    }
    .featured-strip {
        gap: 14px;
        margin: 30px 0 42px;
    }
    .featured-link { font-size: 1.85rem; }
    .topic-gateway {
        margin: 38px 0 44px;
        padding: 30px 0;
    }
    .topic-gateway-item {
        padding: 18px;
    }
    .section-head {
        margin-top: 40px;
    }
    .post-grid .post-card:first-child h2 {
        font-size: 2rem;
    }
    .about-richard {
        margin: 48px 0 34px;
        padding: 24px 0;
    }
    .richard-card {
        padding: 18px;
    }
    .article-header {
        margin-top: 44px;
    }
    .article-header h1 {
        font-size: 3rem;
        line-height: 1.08;
    }
    .article-excerpt,
    .gh-content {
        font-size: 1rem;
    }
    .article-image {
        margin-bottom: 38px;
    }
    .footer-card h2 {
        font-size: 1.55rem;
    }
}

/* Open Design luxury editorial pass */
:root {
    --bg: #f6f7f3;
    --surface: #ffffff;
    --surface-alt: #eef1ec;
    --soft: #e6ebe5;
    --ink: #151916;
    --muted: #626b63;
    --faint: #9aa399;
    --line: #d9ded6;
    --line-dark: #242a25;
    --aizome: #2f5f53;
    --benigara: #8f5b52;
    --koke: #657789;
    --cha: #303832;
    --paper: #ffffff;
    --radius: 10px;
}
html,
body {
    color: var(--ink);
    background: var(--bg);
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 16px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 247, 243, 0.94);
    backdrop-filter: blur(18px);
}
.brand-logo-mark {
    border-color: var(--line);
    border-radius: 6px;
    background: var(--paper);
}
.brand-mark {
    color: var(--paper);
    border-color: var(--line-dark);
    border-radius: 6px;
    background: var(--line-dark);
}
.brand-text {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
}
.site-nav a,
.nav-cta {
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
}
.site-nav a:hover {
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}
.nav-cta {
    color: var(--paper);
    border-color: var(--line-dark);
    background: var(--line-dark);
}
.nav-cta:hover {
    color: var(--paper);
    border-color: var(--aizome);
    background: var(--aizome);
}
.eyebrow,
.hero-kicker {
    color: var(--aizome);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.42fr);
    gap: 64px;
    min-height: 560px;
    padding: 76px 0 64px;
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.hero::before { display: none; }
.hero-main {
    align-content: center;
    min-height: 0;
    padding-top: 0;
}
.hero-main h1 {
    max-width: 840px;
    color: var(--ink);
    font-size: 6.4rem;
    line-height: 0.98;
    font-weight: 700;
}
.hero-main p:not(.eyebrow):not(.hero-kicker) {
    max-width: 630px;
    margin-top: 28px;
    color: var(--cha);
    font-size: 1.08rem;
    line-height: 1.95;
}
.button {
    min-height: 44px;
    border-radius: 6px;
}
.button-primary {
    color: var(--paper);
    border-color: var(--line-dark);
    background: var(--line-dark);
}
.button-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}
.button:hover {
    color: var(--paper);
    border-color: var(--aizome);
    background: var(--aizome);
}
.hero-signal {
    align-self: center;
    margin: 0;
    border: 1px solid var(--line);
    border-left: 4px solid var(--aizome);
    border-radius: var(--radius);
    background: var(--surface);
}
.hero-signal span {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px 22px;
    color: var(--ink);
    border-top: 0;
    border-bottom: 1px solid var(--line);
}
.hero-signal span::before {
    color: var(--benigara);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.hero-signal span:last-child { border-bottom: 0; }
.featured-strip {
    margin: 46px 0 64px;
    border-color: var(--line);
}
.featured-link {
    color: var(--ink);
    font-size: 2.35rem;
}
.featured-link img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    filter: none;
}
.topic-gateway {
    margin: 58px 0 66px;
    padding: 42px 0;
    border-color: var(--line);
}
.topic-gateway-head h2,
.section-head h2,
.archive-header h1,
.about-richard-main h2,
.subscribe-block h2,
.footer-card h2 {
    color: var(--ink);
}
.topic-gateway-item,
.topic-gateway-item:nth-child(4n + 2),
.topic-gateway-item:nth-child(4n + 3) {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.topic-gateway-item:hover {
    border-color: var(--aizome);
    background: var(--surface-alt);
}
.topic-gateway-item span {
    color: var(--benigara);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.topic-gateway-item strong { color: var(--ink); }
.topic-gateway-item:hover strong { color: var(--aizome); }
.topic-gateway-item p { color: var(--muted); }
.section-head {
    margin-top: 56px;
    border-bottom: 1px solid var(--line);
}
.post-grid { border-top: 0; }
.post-card,
.post-card:nth-child(2n + 3),
.post-grid .post-card:first-child {
    color: var(--ink);
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.post-card:hover {
    border-color: var(--aizome);
    background: var(--surface);
}
.post-card-media {
    border-bottom-color: var(--line);
    background: var(--surface-alt);
}
.post-card-media img,
.post-card:hover .post-card-media img {
    filter: saturate(0.98) contrast(1.02) brightness(1);
}
.post-card h2,
.post-grid .post-card:first-child h2 {
    color: var(--ink);
}
.post-card p,
.post-card-meta,
.article-meta,
.footer-bottom,
.post-grid .post-card:first-child p,
.post-grid .post-card:first-child .post-card-meta {
    color: var(--muted);
}
.post-card-meta a,
.post-grid .post-card:first-child .post-card-meta a {
    color: var(--aizome);
}
.post-grid .post-card:first-child {
    background: var(--surface-alt);
}
.post-grid .post-card:first-child::before {
    content: "延伸閱讀";
    color: var(--paper);
    border-radius: 5px;
    background: var(--aizome);
}
.post-grid .post-card:first-child .post-card-media {
    border-right-color: var(--line);
}
.post-grid .post-card:first-child h2 {
    font-size: 2.55rem;
}
.about-richard {
    margin: 74px 0 52px;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.richard-card,
.richard-result-row div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.richard-card { padding: 24px; }
.richard-portrait {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
}
.richard-card h2 { color: var(--ink); }
.richard-card p:not(.eyebrow),
.about-richard-main > p,
.richard-result-row span { color: var(--muted); }
.richard-result-row strong { color: var(--aizome); }
.archive-header {
    border-color: var(--line);
}
.article-header {
    max-width: 1040px;
    margin-top: 70px;
}
.article-tag {
    color: var(--paper);
    border-radius: 5px;
    background: var(--aizome);
}
.article-header h1 {
    max-width: 980px;
    color: var(--ink);
    font-size: 4.7rem;
    line-height: 1.04;
}
.article-excerpt {
    color: var(--cha);
    font-size: 1.14rem;
}
.article-meta {
    border-top-color: var(--line);
}
.article-image {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.article-content { max-width: 760px; }
.gh-content {
    color: var(--ink);
    font-size: 1.07rem;
}
.gh-content p,
.gh-content li { color: var(--ink); }
.gh-content h2 {
    color: var(--ink);
    border-top-color: var(--line);
}
.gh-content h3 { color: var(--aizome); }
.gh-content a {
    color: var(--aizome);
    border-bottom-color: rgba(47, 95, 83, 0.35);
}
.gh-content blockquote {
    color: var(--ink);
    border-left-color: var(--aizome);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--surface);
}
.gh-content table {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.gh-content th,
.gh-content td { border-color: var(--line); }
.gh-content th {
    color: var(--paper);
    background: var(--aizome);
}
.article-author {
    border-color: var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.article-author-mark {
    color: var(--paper);
    border-radius: 8px;
    background: var(--aizome);
}
.article-author h2 { color: var(--ink); }
.article-author p:not(.eyebrow) { color: var(--muted); }
.article-author a {
    color: var(--aizome);
    border-bottom-color: rgba(47, 95, 83, 0.35);
}
.article-tags { border-top-color: var(--line); }
.article-tags a,
.footer-topics a {
    color: var(--ink);
    border-color: var(--line);
    border-radius: 6px;
    background: var(--surface);
}
.article-tags a:hover,
.footer-topics a:hover {
    color: var(--paper);
    border-color: var(--aizome);
    background: var(--aizome);
}
.subscribe-block,
.footer-card,
.footer-topics,
.footer-bottom,
.pagination {
    border-color: var(--line);
}
.empty-state span {
    color: var(--paper);
    border-radius: 5px;
    background: var(--aizome);
}
.empty-state h2 { color: var(--ink); }

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
        padding: 58px 0 48px;
    }
    .hero-main h1 { font-size: 5rem; }
    .hero-signal { align-self: stretch; }
    .featured-link { font-size: 2.1rem; }
    .about-richard { padding: 30px 0; }
    .article-header h1 { font-size: 4rem; }
}

@media (max-width: 620px) {
    .site-header {
        padding: 12px 0;
        background: rgba(246, 247, 243, 0.97);
    }
    .site-nav { overflow: visible; }
    .site-nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }
    .site-nav a {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 0.74rem;
    }
    .hero {
        padding: 42px 0 36px;
    }
    .hero-main h1 {
        font-size: 3.45rem;
        line-height: 1.04;
    }
    .hero-main p:not(.eyebrow):not(.hero-kicker) {
        margin-top: 18px;
        font-size: 1rem;
    }
    .hero-signal span {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px;
    }
    .featured-link { font-size: 1.75rem; }
    .topic-gateway {
        margin: 38px 0 44px;
        padding: 30px 0;
    }
    .topic-gateway-item { padding: 18px; }
    .post-grid .post-card:first-child h2 {
        font-size: 2rem;
    }
    .about-richard {
        margin: 48px 0 34px;
        padding: 24px 0;
    }
    .richard-card { padding: 18px; }
    .article-header {
        margin-top: 44px;
    }
    .article-header h1 {
        font-size: 2.72rem;
        line-height: 1.1;
    }
    .article-excerpt,
    .gh-content {
        font-size: 1rem;
    }
    .footer-card h2 { font-size: 1.55rem; }
}

/* 2026 trend-informed colour pass */
:root {
    --bg: #f4f2ec;
    --surface: #fffefa;
    --surface-alt: #ebe7df;
    --soft: #e4ded2;
    --ink: #171512;
    --muted: #62615b;
    --faint: #9b988f;
    --line: #d8d2c5;
    --line-dark: #26211d;
    --aizome: #6f1d35;
    --benigara: #0f5f59;
    --koke: #b86b45;
    --cha: #35302a;
    --paper: #fffefa;
    --accent-lilac: #cfc7dd;
    --radius: 10px;
}
html,
body {
    color: var(--ink);
    background: var(--bg);
}
.site-header {
    border-bottom-color: var(--line);
    background: rgba(244, 242, 236, 0.96);
}
.brand-text,
.hero-main h1,
.topic-gateway-head h2,
.section-head h2,
.archive-header h1,
.post-card h2,
.post-grid .post-card:first-child h2,
.about-richard-main h2,
.article-header h1,
.gh-content h2,
.subscribe-block h2,
.footer-card h2 {
    color: var(--ink);
}
.eyebrow,
.hero-kicker {
    color: var(--aizome);
}
.site-nav a:hover {
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}
.nav-cta,
.button-primary,
.article-tag,
.post-grid .post-card:first-child::before,
.empty-state span {
    color: var(--paper);
    border-color: var(--aizome);
    background: var(--aizome);
}
.nav-cta:hover,
.button:hover {
    color: var(--paper);
    border-color: var(--benigara);
    background: var(--benigara);
}
.button-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}
.hero-signal {
    border-color: var(--line);
    border-left-color: var(--aizome);
    background: var(--surface);
}
.hero-signal span {
    color: var(--ink);
    border-bottom-color: var(--line);
}
.hero-signal span::before,
.topic-gateway-item span {
    color: var(--koke);
}
.featured-strip,
.topic-gateway,
.section-head,
.archive-header,
.article-meta,
.article-tags,
.subscribe-block,
.footer-card,
.footer-topics,
.footer-bottom,
.pagination,
.about-richard {
    border-color: var(--line);
}
.featured-link { color: var(--ink); }
.featured-link img,
.article-image,
.topic-gateway-item,
.post-card,
.post-card:nth-child(2n + 3),
.richard-card,
.richard-result-row div,
.article-author,
.article-tags a,
.footer-topics a {
    border-color: var(--line);
    background: var(--surface);
}
.topic-gateway-item:nth-child(1) { border-top: 4px solid var(--aizome); }
.topic-gateway-item:nth-child(2) { border-top: 4px solid var(--benigara); }
.topic-gateway-item:nth-child(3) { border-top: 4px solid var(--accent-lilac); }
.topic-gateway-item:nth-child(4) { border-top: 4px solid var(--koke); }
.topic-gateway-item:hover,
.post-card:hover {
    border-color: var(--benigara);
    background: var(--surface);
}
.topic-gateway-item strong,
.richard-card h2,
.article-author h2 {
    color: var(--ink);
}
.topic-gateway-item:hover strong,
.post-card-meta a,
.post-grid .post-card:first-child .post-card-meta a,
.gh-content h3,
.article-author a,
.richard-result-row strong {
    color: var(--benigara);
}
.topic-gateway-item p,
.post-card p,
.post-card-meta,
.article-meta,
.footer-bottom,
.post-grid .post-card:first-child p,
.post-grid .post-card:first-child .post-card-meta,
.richard-card p:not(.eyebrow),
.about-richard-main > p,
.richard-result-row span,
.article-author p:not(.eyebrow) {
    color: var(--muted);
}
.post-card-media {
    border-bottom-color: var(--line);
    background: var(--surface-alt);
}
.post-card-media img,
.post-card:hover .post-card-media img {
    filter: saturate(1.02) contrast(1.02) brightness(1);
}
.post-grid .post-card:first-child {
    border-color: var(--line);
    background: var(--surface-alt);
}
.gh-content,
.gh-content p,
.gh-content li,
.article-excerpt {
    color: var(--cha);
}
.gh-content a {
    color: var(--aizome);
    border-bottom-color: rgba(111, 29, 53, 0.34);
}
.gh-content blockquote {
    color: var(--ink);
    border-left-color: var(--aizome);
    background: var(--surface);
}
.gh-content table {
    border-color: var(--line);
    background: var(--surface);
}
.gh-content th,
.gh-content td { border-color: var(--line); }
.gh-content th {
    color: var(--paper);
    background: var(--benigara);
}
.article-author-mark {
    color: var(--paper);
    background: var(--aizome);
}
.article-tags a,
.footer-topics a {
    color: var(--ink);
}
.article-tags a:hover,
.footer-topics a:hover {
    color: var(--paper);
    border-color: var(--aizome);
    background: var(--aizome);
}

@media (max-width: 620px) {
    .site-header { background: rgba(244, 242, 236, 0.98); }
}

/* Open Design UIUX pass: editorial rhythm + reader tools */
html { scroll-padding-top: 96px; }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 80;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--paper);
    border-radius: 6px;
    background: var(--line-dark);
    transform: translateY(-160%);
}
.skip-link:focus {
    transform: translateY(0);
}
.hero-actions {
    align-items: center;
}
.hero-signal {
    counter-reset: signal;
    overflow: hidden;
}
.hero-signal a,
.hero-signal span {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 22px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    font-weight: 900;
}
.hero-signal a::before,
.hero-signal span::before {
    counter-increment: signal;
    content: "0" counter(signal);
    color: var(--koke);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}
.hero-signal a:last-child,
.hero-signal span:last-child {
    border-bottom: 0;
}
.hero-signal a:hover {
    color: var(--aizome);
    background: var(--surface-alt);
}
.post-card:focus-within,
.topic-gateway-item:focus-visible,
.hero-signal a:focus-visible {
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
}
.post-card-content {
    gap: 0;
}
.post-card-readmore {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    color: var(--aizome);
    border-bottom: 1px solid rgba(111, 29, 53, 0.34);
    font-size: 0.9rem;
    font-weight: 900;
}
.post-card-readmore::after {
    content: "→";
    margin-left: 8px;
}
.post-card-readmore:hover {
    color: var(--benigara);
    border-bottom-color: var(--benigara);
}
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 3px;
    pointer-events: none;
}
.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--aizome);
}
.article-reading-layout {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 760px);
    gap: 46px;
    justify-content: center;
    width: min(100%, 1040px);
    margin: 0 auto;
}
.article-afterbody {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 760px);
    gap: 46px;
    justify-content: center;
    width: min(100%, 1040px);
    margin: 48px auto 0;
}
.article-afterbody .article-author {
    grid-column: 2;
}
.article-reading-layout .article-content {
    min-width: 0;
    max-width: none;
    margin: 0;
}
.article-toc {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.article-toc[hidden] {
    display: none;
}
.article-toc nav {
    display: grid;
    gap: 10px;
}
.article-toc a {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}
.article-toc a:hover {
    color: var(--aizome);
}
.article-toc .toc-level-h3 {
    padding-left: 14px;
    font-size: 0.82rem;
    font-weight: 600;
}
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--paper);
    border-radius: 50%;
    background: var(--line-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 140ms ease, transform 140ms ease;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--aizome);
}

@media (max-width: 980px) {
    .article-reading-layout {
        grid-template-columns: minmax(0, 760px);
        gap: 28px;
    }
    .article-afterbody {
        grid-template-columns: minmax(0, 760px);
        gap: 28px;
    }
    .article-afterbody .article-author {
        grid-column: 1;
    }
    .article-toc {
        position: static;
        max-height: none;
        padding: 14px 0;
    }
    .article-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    html { scroll-padding-top: 128px; }
    .hero-actions {
        gap: 8px;
    }
    .hero-signal a,
    .hero-signal span {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px;
    }
    .post-card-readmore {
        padding-top: 14px;
    }
    .article-toc nav {
        grid-template-columns: 1fr;
    }
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 38px;
        height: 38px;
    }
}

/* SurveyCake landing template */
.survey-landing {
    padding: clamp(34px, 5vw, 74px) 0 56px;
}

.survey-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.7fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    min-height: calc(100vh - 118px);
    padding: clamp(32px, 5vw, 56px) 0;
    border-bottom: 1px solid var(--line);
}

.survey-hero-copy {
    display: grid;
    align-content: center;
    min-height: min(620px, calc(100vh - 150px));
}

.survey-kicker,
.survey-form-eyebrow {
    margin: 0;
    color: var(--aizome);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.survey-hero h1 {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3.1rem, 7.2vw, 6.7rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.survey-lede {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--cha);
    font-size: clamp(1.04rem, 1.45vw, 1.2rem);
    line-height: 1.9;
}

.survey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.survey-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 650px);
    margin: 36px 0 0;
}

.survey-metrics div {
    min-height: 104px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--aizome);
    border-radius: var(--radius);
    background: var(--surface);
}

.survey-metrics div:nth-child(2) {
    border-top-color: var(--benigara);
}

.survey-metrics div:nth-child(3) {
    border-top-color: var(--koke);
}

.survey-metrics dt {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 800;
    line-height: 1;
}

.survey-metrics dd {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.survey-form-panel {
    position: sticky;
    top: 92px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(38, 33, 29, 0.12);
}

.survey-form-head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
}

.survey-form-head img {
    width: 52px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.survey-form-head h2 {
    margin: 7px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.65vw, 1.45rem);
    line-height: 1.28;
    letter-spacing: 0;
}

.survey-form-panel iframe {
    display: block;
    width: 100%;
    height: min(920px, calc(100vh - 230px));
    min-height: 680px;
    border: 0;
    background: var(--paper);
}

.survey-form-note {
    margin: 0;
    padding: 13px 18px 16px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.82rem;
    line-height: 1.6;
}

.survey-process {
    display: grid;
    grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.survey-section-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
    text-wrap: balance;
}

.survey-process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.survey-process-list section {
    min-height: 248px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.survey-process-list section:nth-child(2) {
    background: var(--surface-alt);
}

.survey-process-list span {
    color: var(--koke);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.survey-process-list h3 {
    margin: 46px 0 0;
    color: var(--ink);
    font-size: clamp(1.18rem, 1.8vw, 1.5rem);
    font-weight: 900;
    line-height: 1.22;
}

.survey-process-list p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.survey-custom-content {
    margin-top: 46px;
}

.survey-custom-content:empty {
    display: none;
}

@media (max-width: 980px) {
    .survey-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .survey-hero-copy {
        min-height: 0;
    }

    .survey-form-panel {
        position: static;
    }

    .survey-form-panel iframe {
        height: 880px;
    }

    .survey-process {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .survey-metrics,
    .survey-process-list {
        grid-template-columns: 1fr;
    }

    .survey-metrics div,
    .survey-process-list section {
        min-height: 0;
    }

    .survey-process-list h3 {
        margin-top: 28px;
    }
}

@media (max-width: 620px) {
    .survey-landing {
        padding-top: 24px;
    }

    .survey-hero {
        padding-top: 28px;
    }

    .survey-hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.8rem);
        line-height: 1.08;
    }

    .survey-form-head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .survey-form-head img {
        width: 44px;
    }

    .survey-form-panel iframe {
        height: 820px;
        min-height: 660px;
    }

    .survey-form-note {
        font-size: 0.78rem;
    }
}

/* SurveyCake AI marketing consultation revision */
.survey-landing-simple {
    width: min(calc(100% - 48px), 1120px);
    max-width: none;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 68px) 0 clamp(54px, 7vw, 86px);
}

.survey-landing-simple .survey-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: clamp(26px, 4.5vw, 56px);
    align-items: start;
    min-height: 0;
    padding: clamp(28px, 4.6vw, 54px) 0 clamp(32px, 4.5vw, 52px);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.survey-landing-simple .survey-hero-copy {
    min-height: 0;
    align-content: center;
}

.survey-landing-simple .survey-hero h1 {
    max-width: 700px;
    margin-top: 16px;
    font-size: clamp(2.85rem, 6.2vw, 5.8rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.survey-landing-simple .survey-lede {
    max-width: 660px;
    margin-top: 20px;
    color: var(--cha);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.82;
}

.survey-landing-simple .survey-actions {
    gap: 12px;
    margin-top: 28px;
}

.survey-landing-simple .button-primary {
    min-height: 48px;
    padding: 11px 20px;
    border-color: var(--aizome);
    border-radius: var(--radius);
    background: var(--aizome);
    box-shadow: 0 10px 24px rgba(47, 95, 83, 0.16);
}

.survey-landing-simple .button-primary:hover {
    border-color: var(--line-dark);
    background: var(--line-dark);
}

.survey-consult-points {
    display: grid;
    gap: 0;
    align-self: stretch;
    min-width: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.survey-consult-points section {
    min-width: 0;
    padding: 20px 2px 20px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.survey-consult-points section:last-child {
    border-bottom: 0;
}

.survey-consult-points span {
    color: var(--benigara);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.survey-consult-points h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.45vw, 1.24rem);
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.survey-consult-points p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.survey-form-section {
    scroll-margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(38, 33, 29, 0.08);
}

.survey-outcome {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 46px);
    align-items: start;
    margin: 36px 0 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.survey-outcome .eyebrow {
    margin-bottom: 0;
}

.survey-outcome h2 {
    grid-column: 1;
    margin: 10px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.survey-outcome > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    color: var(--cha);
    font-size: 1rem;
    line-height: 1.86;
    overflow-wrap: anywhere;
}

.survey-form-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(240px, 0.32fr);
    gap: clamp(18px, 3.2vw, 34px);
    align-items: center;
    padding: clamp(22px, 3.6vw, 38px);
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
}

.survey-form-intro h2 {
    grid-column: 1;
    margin: 6px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.8vw, 2.45rem);
    line-height: 1.16;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.survey-form-intro p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.survey-form-section iframe {
    display: block;
    width: 100%;
    height: clamp(860px, 92vh, 1080px);
    min-height: 780px;
    border: 0;
    background: var(--paper);
}

.survey-landing-simple .survey-form-panel {
    position: static;
    box-shadow: none;
}

.survey-fit {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 48px);
    margin-top: 38px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.survey-fit h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.survey-fit > p {
    margin: 0;
    color: var(--cha);
    font-size: 1rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.survey-landing-simple .survey-custom-content {
    margin-top: 36px;
}

@media (max-width: 900px) {
    .survey-landing-simple .survey-hero,
    .survey-form-intro,
    .survey-outcome,
    .survey-fit {
        grid-template-columns: 1fr;
    }

    .survey-form-intro p:last-child {
        grid-column: 1;
        grid-row: auto;
    }

    .survey-outcome > p:last-child {
        grid-column: 1;
        grid-row: auto;
    }

    .survey-consult-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        border: 0;
    }

    .survey-consult-points section {
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
    }

    .survey-consult-points section:last-child {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 30px), 1120px);
        padding-top: 22px;
    }

    .survey-landing-simple .survey-hero {
        gap: 24px;
        padding: 28px 0 36px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.55rem);
        line-height: 1.08;
    }

    .survey-landing-simple .survey-lede {
        font-size: 1rem;
        line-height: 1.78;
    }

    .survey-landing-simple .button-primary {
        width: 100%;
        min-height: 46px;
        padding-right: 14px;
        padding-left: 14px;
        white-space: normal;
    }

    .survey-consult-points {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .survey-consult-points section {
        padding: 16px;
    }

    .survey-form-intro {
        padding: 18px;
    }

    .survey-outcome {
        margin: 28px 0;
        padding: 26px 0;
    }

    .survey-form-intro h2 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .survey-form-section iframe {
        height: 900px;
        min-height: 760px;
    }

    .survey-fit {
        margin-top: 30px;
        padding: 28px 0;
    }
}

/* Apple-inspired consultation polish using copy-paste style transitions */
:root {
    /* Card resize */
    --resize-dur: 300ms;
    --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Number pop-in */
    --digit-dur: 500ms;
    --digit-distance: 8px;
    --digit-stagger: 70ms;
    --digit-blur: 2px;
    --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
    --digit-dir-x: 0;
    --digit-dir-y: 1;
    /* Notification badge */
    --badge-slide-dur: 260ms;
    --badge-pop-dur: 500ms;
    --badge-pop-close-dur: 180ms;
    --badge-fade-dur: 400ms;
    --badge-fade-close-dur: 180ms;
    --badge-blur: 2px;
    --badge-offset-x: -8.2px;
    --badge-offset-y: 12.4px;
    --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);
    --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);
    /* Text states swap */
    --text-swap-dur: 200ms;
    --text-swap-translate-y: 8px;
    --text-swap-blur: 2px;
    --text-swap-ease: ease-out;
    /* Menu dropdown */
    --dropdown-open-dur: 250ms;
    --dropdown-close-dur: 150ms;
    --dropdown-pre-scale: 0.97;
    --dropdown-closing-scale: 0.99;
    --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Modal open / close */
    --modal-open-dur: 250ms;
    --modal-close-dur: 150ms;
    --modal-scale: 0.96;
    --modal-scale-close: 0.96;
    --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Panel reveal */
    --panel-open-dur: 400ms;
    --panel-close-dur: 350ms;
    --panel-translate-y: 100px;
    --panel-blur: 2px;
    --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Page side-by-side */
    --page-slide-dur: 200ms;
    --page-fade-dur: 200ms;
    --page-slide-distance: 8px;
    --page-blur: 3px;
    --page-stagger: 0ms;
    --page-exit-enabled: 1;
    --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Icon swap */
    --icon-swap-dur: 200ms;
    --icon-swap-blur: 2px;
    --icon-swap-start-scale: 0.25;
    --icon-swap-ease: ease-in-out;
}

.t-panel-slide {
    transform: translateY(var(--panel-translate-y));
    opacity: 0;
    filter: blur(var(--panel-blur));
    pointer-events: none;
    transition:
        transform var(--panel-close-dur) var(--panel-ease),
        opacity   var(--panel-close-dur) var(--panel-ease),
        filter    var(--panel-close-dur) var(--panel-ease);
    will-change: transform, opacity, filter;
}
.t-panel-slide[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
    transition:
        transform var(--panel-open-dur) var(--panel-ease),
        opacity   var(--panel-open-dur) var(--panel-ease),
        filter    var(--panel-open-dur) var(--panel-ease);
}

@media (prefers-reduced-motion: reduce) {
    .t-panel-slide { transition: none !important; }
}

.survey-landing-simple {
    --consult-bg: #f5f5f7;
    --consult-panel: #ffffff;
    --consult-ink: #1d1d1f;
    --consult-muted: #6e6e73;
    --consult-soft: #86868b;
    --consult-line: rgba(0, 0, 0, 0.12);
    --consult-accent: #0071e3;
    --consult-accent-dark: #005bb5;
    --consult-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
    width: min(calc(100% - 48px), 1180px);
    padding: 0 0 72px;
    color: var(--consult-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

.survey-landing-simple .survey-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
    gap: 56px;
    align-items: center;
    min-height: 680px;
    padding: 78px 0 66px;
    border: 0;
}

.survey-landing-simple .survey-hero::before {
    content: "";
    position: absolute;
    inset: 34px -42px 42px;
    z-index: -1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 247, 0.88)),
        linear-gradient(0deg, rgba(0, 113, 227, 0.05), transparent 42%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.survey-landing-simple .survey-hero-copy {
    max-width: 680px;
}

.survey-landing-simple .survey-kicker,
.survey-landing-simple .survey-form-eyebrow,
.survey-landing-simple .eyebrow {
    color: var(--consult-accent);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.survey-landing-simple .survey-hero h1 {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--consult-ink);
    font-family: inherit;
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.survey-landing-simple .survey-lede {
    max-width: 620px;
    margin-top: 22px;
    color: var(--consult-muted);
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.72;
}

.survey-landing-simple .survey-actions {
    margin-top: 30px;
}

.survey-landing-simple .button-primary {
    min-height: 48px;
    padding: 11px 21px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: var(--consult-accent);
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
}

.survey-landing-simple .button-primary:hover {
    color: #fff;
    background: var(--consult-accent-dark);
    transform: translateY(-1px);
}

.survey-hero-visual {
    position: relative;
    min-width: 0;
}

.survey-device {
    overflow: hidden;
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--consult-shadow);
    backdrop-filter: blur(24px);
}

.survey-device-toolbar {
    display: flex;
    gap: 7px;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(250, 250, 252, 0.86);
}

.survey-device-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d7d7dc;
}

.survey-device-screen {
    padding: 26px;
}

.survey-screen-head {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 24px;
}

.survey-screen-head img {
    width: 44px;
    aspect-ratio: 1;
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: #fff;
}

.survey-screen-head span,
.survey-signal-list span,
.survey-device-footer span {
    display: block;
    color: var(--consult-soft);
    font-size: 0.78rem;
    font-weight: 650;
}

.survey-screen-head strong {
    display: block;
    margin-top: 2px;
    color: var(--consult-ink);
    font-size: 1.1rem;
    font-weight: 700;
}

.survey-signal-list {
    display: grid;
    gap: 10px;
}

.survey-signal-list div,
.survey-device-footer {
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.survey-signal-list strong,
.survey-device-footer strong {
    display: block;
    margin-top: 5px;
    color: var(--consult-ink);
    font-size: 1rem;
    font-weight: 700;
}

.survey-device-footer {
    margin-top: 14px;
    color: #fff;
    border-color: transparent;
    background: #1d1d1f;
}

.survey-device-footer span,
.survey-device-footer strong {
    color: #fff;
}

.survey-landing-simple .survey-consult-points {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    margin: 0 0 26px;
    padding: 0 0 36px;
    border: 0;
}

.survey-consult-label h2 {
    margin: 10px 0 0;
    color: var(--consult-ink);
    font-family: inherit;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
}

.survey-consult-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.survey-landing-simple .survey-consult-points section {
    min-height: 206px;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.survey-landing-simple .survey-consult-points span {
    color: var(--consult-accent);
    font-family: inherit;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.survey-landing-simple .survey-consult-points h2 {
    margin-top: 34px;
    color: var(--consult-ink);
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.22;
}

.survey-landing-simple .survey-consult-points p {
    color: var(--consult-muted);
    font-size: 0.95rem;
    line-height: 1.66;
}

.survey-landing-simple .survey-form-section {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
}

.survey-landing-simple .survey-form-intro {
    grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
    padding: 38px 42px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fbfbfd;
}

.survey-landing-simple .survey-form-intro h2 {
    color: var(--consult-ink);
    font-family: inherit;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.16;
}

.survey-landing-simple .survey-form-intro p:last-child {
    color: var(--consult-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.survey-landing-simple .survey-form-section iframe {
    height: 1060px;
    min-height: 860px;
}

.survey-landing-simple .survey-outcome {
    margin-top: 42px;
    padding: 42px 0;
    border-top: 1px solid var(--consult-line);
    border-bottom: 1px solid var(--consult-line);
}

.survey-landing-simple .survey-outcome h2 {
    color: var(--consult-ink);
    font-family: inherit;
    font-size: 2.3rem;
    font-weight: 700;
}

.survey-landing-simple .survey-outcome > p:last-child {
    color: var(--consult-muted);
    font-size: 1.05rem;
}

@media (prefers-reduced-motion: reduce) {
    .survey-landing-simple [data-reveal] {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .survey-landing-simple {
        width: min(calc(100% - 34px), 1180px);
    }

    .survey-landing-simple .survey-hero,
    .survey-landing-simple .survey-consult-points,
    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-outcome {
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .survey-hero {
        min-height: 0;
        gap: 34px;
        padding: 54px 0 42px;
    }

    .survey-landing-simple .survey-hero::before {
        inset: 18px -18px 28px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: 4.45rem;
    }

    .survey-consult-list {
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .survey-consult-points section {
        min-height: 0;
    }

    .survey-landing-simple .survey-form-intro p:last-child,
    .survey-landing-simple .survey-outcome > p:last-child {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 24px), 1180px);
        padding-bottom: 48px;
    }

    .survey-landing-simple .survey-hero {
        padding: 40px 0 34px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: 3.18rem;
        line-height: 1.06;
    }

    .survey-landing-simple .survey-lede {
        font-size: 1.04rem;
        line-height: 1.72;
    }

    .survey-landing-simple .button-primary {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .survey-device-screen {
        padding: 20px;
    }

    .survey-landing-simple .survey-consult-points {
        gap: 22px;
        padding-bottom: 26px;
    }

    .survey-consult-label h2,
    .survey-landing-simple .survey-form-intro h2,
    .survey-landing-simple .survey-outcome h2 {
        font-size: 1.9rem;
    }

    .survey-landing-simple .survey-consult-points h2 {
        margin-top: 24px;
    }

    .survey-landing-simple .survey-form-intro {
        padding: 26px 20px;
    }

    .survey-landing-simple .survey-form-section iframe {
        height: 960px;
        min-height: 820px;
    }
}

/* Whole-site Apple-grade refinement pass */
:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-alt: #fbfbfd;
    --soft: #e8e8ed;
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --faint: #86868b;
    --line: rgba(0, 0, 0, 0.1);
    --line-dark: #1d1d1f;
    --aizome: #0071e3;
    --benigara: #34c759;
    --koke: #ff9f0a;
    --cha: #424245;
    --paper: #ffffff;
    --radius: 8px;
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
    --site-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
    --site-shadow-hover: 0 24px 70px rgba(0, 0, 0, 0.12);
    --panel-translate-y: 48px;
}

html {
    background: var(--bg);
    scroll-padding-top: 104px;
}

body {
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #fff;
    background: var(--aizome);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--aizome);
    outline-offset: 4px;
}

.site-shell {
    width: min(calc(100% - 48px), var(--max));
}

.site-main {
    padding-top: 22px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    grid-template-columns: minmax(180px, 1fr) minmax(0, auto) auto;
    gap: 22px;
    min-height: 62px;
    padding: 12px 0;
    border-top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(245, 245, 247, 0.82);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.site-header.t-panel-slide {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: none;
}

.brand {
    gap: 11px;
}

.brand-logo-mark {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.brand-text {
    max-width: 280px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0;
}

.site-nav {
    min-width: 0;
}

.site-nav ul {
    gap: 4px;
    align-items: center;
}

.site-nav a,
.nav-cta {
    min-height: 34px;
    padding: 7px 12px;
    color: var(--cha);
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav .nav-current a {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
}

.nav-cta {
    justify-self: end;
    color: #fff;
    background: var(--aizome);
}

.nav-cta:hover {
    color: #fff;
    background: #005bb5;
    transform: translateY(-1px);
}

.eyebrow,
.hero-kicker,
.survey-kicker,
.survey-form-eyebrow {
    color: var(--aizome);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.button {
    min-height: 42px;
    padding: 9px 17px;
    border: 0;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: 0;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button-primary {
    color: #fff;
    background: var(--aizome);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.2);
}

.button-secondary {
    color: var(--aizome);
    background: rgba(0, 113, 227, 0.08);
}

.button:hover {
    color: #fff;
    background: #005bb5;
    transform: translateY(-1px);
}

.hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 54px;
    align-items: center;
    min-height: 610px;
    padding: 74px 0 68px;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    display: none;
}

.hero-main {
    align-content: center;
    min-height: 0;
    padding: 0;
}

.hero-main h1 {
    max-width: 880px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 5.75rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-main p:not(.eyebrow):not(.hero-kicker) {
    max-width: 640px;
    margin-top: 24px;
    color: var(--cha);
    font-size: 1.16rem;
    line-height: 1.78;
}

.hero-actions {
    gap: 11px;
    margin-top: 30px;
}

.hero-signal {
    overflow: hidden;
    align-self: center;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--site-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-signal a,
.hero-signal span {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    min-height: 68px;
    padding: 17px 20px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-signal a::before,
.hero-signal span::before {
    color: var(--faint);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0;
}

.hero-signal a:hover {
    color: var(--aizome);
    background: var(--surface-alt);
}

.featured-strip,
.topic-gateway,
.section-head,
.archive-header,
.about-richard,
.subscribe-block,
.footer-card {
    border-color: var(--line);
}

.featured-strip {
    grid-template-columns: 150px minmax(0, 1fr);
    margin: 52px 0 66px;
    padding: 24px 0;
}

.featured-link {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.12;
}

.featured-link img,
.article-image {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--site-shadow);
}

.topic-gateway {
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
    gap: 48px;
    margin: 64px 0 70px;
    padding: 44px 0;
}

.topic-gateway-head h2,
.section-head h2,
.archive-header h1,
.about-richard-main h2,
.subscribe-block h2,
.footer-card h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
}

.topic-gateway-list {
    gap: 14px;
}

.topic-gateway-item,
.topic-gateway-item:nth-child(4n + 2),
.topic-gateway-item:nth-child(4n + 3),
.post-card,
.post-card:nth-child(2n + 3),
.richard-card,
.richard-result-row div,
.article-author,
.article-tags a,
.footer-topics a {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.045);
}

.topic-gateway-item {
    min-height: 174px;
    padding: 23px 24px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.topic-gateway-item:nth-child(1) { border-top: 3px solid var(--aizome); }
.topic-gateway-item:nth-child(2) { border-top: 3px solid var(--benigara); }
.topic-gateway-item:nth-child(3) { border-top: 3px solid var(--koke); }
.topic-gateway-item:nth-child(4) { border-top: 3px solid #af52de; }

.topic-gateway-item:hover {
    border-color: rgba(0, 113, 227, 0.32);
    background: #fff;
    box-shadow: var(--site-shadow-hover);
    transform: translateY(-2px);
}

.topic-gateway-item span {
    color: var(--faint);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
}

.topic-gateway-item strong,
.topic-gateway-item:hover strong {
    color: var(--ink);
}

.topic-gateway-item p,
.post-card p,
.post-card-meta,
.article-meta,
.footer-bottom,
.richard-card p:not(.eyebrow),
.about-richard-main > p,
.richard-result-row span,
.article-author p:not(.eyebrow) {
    color: var(--muted);
}

.section-head {
    grid-template-columns: 140px minmax(0, 1fr);
    margin: 58px 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.post-grid {
    gap: 18px;
    padding-top: 20px;
    border-top: 0;
}

.post-card {
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.post-card:hover,
.post-card:focus-within {
    border-color: rgba(0, 113, 227, 0.28);
    background: #fff;
    box-shadow: var(--site-shadow-hover);
    transform: translateY(-2px);
}

.post-card-media {
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.post-card-media img,
.post-card:hover .post-card-media img {
    filter: saturate(1.02) contrast(1.02) brightness(1);
}

.post-card-content {
    min-height: 238px;
    padding: 24px;
}

.post-card-meta a,
.post-grid .post-card:first-child .post-card-meta a,
.post-card-readmore,
.gh-content a,
.article-author a,
.article-toc a:hover {
    color: var(--aizome);
}

.post-card h2,
.post-grid .post-card:first-child h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.24;
}

.post-card-readmore {
    border-bottom-color: rgba(0, 113, 227, 0.28);
    font-weight: 700;
}

.post-card-readmore:hover {
    color: #005bb5;
    border-bottom-color: #005bb5;
}

.post-grid .post-card:first-child {
    border-color: var(--line);
    background: #fff;
}

.post-grid .post-card:first-child::before {
    content: "延伸閱讀";
    color: #fff;
    border-radius: 999px;
    background: var(--aizome);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: none;
}

.post-grid .post-card:first-child .post-card-content {
    min-height: 380px;
    padding: 48px 42px 36px;
}

.post-grid .post-card:first-child h2 {
    max-width: 720px;
    font-size: 2.55rem;
    line-height: 1.12;
}

.about-richard {
    grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
    gap: 38px;
    margin: 78px 0 52px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: var(--site-shadow);
}

.richard-card {
    padding: 22px;
}

.richard-portrait,
.article-author-mark {
    border-radius: var(--radius);
    background: var(--aizome);
}

.richard-result-row div {
    border-top: 1px solid var(--line);
    box-shadow: none;
}

.richard-result-row strong {
    color: var(--aizome);
}

.archive-header {
    margin-bottom: 28px;
    padding: 66px 0 34px;
    border-bottom: 1px solid var(--line);
}

.archive-header p {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.article-header {
    max-width: 900px;
    margin: 72px auto 36px;
    text-align: center;
}

.article-tag {
    margin-bottom: 18px;
    color: #fff;
    border-radius: 999px;
    background: var(--aizome);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.article-header h1 {
    max-width: 900px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 4.35rem;
    font-weight: 700;
    line-height: 1.08;
}

.article-excerpt {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: var(--cha);
    font-size: 1.15rem;
}

.article-meta {
    justify-content: center;
    border-top-color: var(--line);
}

.article-image {
    margin-bottom: 58px;
}

.article-reading-layout,
.article-afterbody {
    grid-template-columns: minmax(180px, 230px) minmax(0, 740px);
    gap: 50px;
}

.article-content {
    max-width: 740px;
}

.gh-content {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.9;
}

.gh-content p,
.gh-content li {
    color: var(--ink);
}

.gh-content h2 {
    color: var(--ink);
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 2.05rem;
    font-weight: 700;
}

.gh-content h3 {
    color: var(--ink);
    font-size: 1.42rem;
    font-weight: 700;
}

.gh-content a {
    border-bottom-color: rgba(0, 113, 227, 0.28);
}

.gh-content blockquote {
    color: var(--ink);
    border-left: 4px solid var(--aizome);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
}

.gh-content table {
    border-color: var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.gh-content th,
.gh-content td {
    border-color: var(--line);
}

.gh-content th {
    color: #fff;
    background: var(--ink);
}

.article-toc {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.article-toc a {
    color: var(--muted);
    font-weight: 600;
}

.article-author {
    max-width: none;
    padding: 24px;
}

.article-author a {
    border-bottom-color: rgba(0, 113, 227, 0.28);
    font-weight: 700;
}

.article-tags {
    border-top-color: var(--line);
}

.article-tags a,
.footer-topics a {
    color: var(--ink);
    box-shadow: none;
}

.article-tags a:hover,
.footer-topics a:hover {
    color: #fff;
    border-color: var(--aizome);
    background: var(--aizome);
}

.subscribe-block,
.footer-card {
    margin: 52px 0 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--site-shadow);
}

.subscribe-block p:not(.eyebrow) {
    color: var(--muted);
}

.footer-card {
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
}

.footer-card h2 {
    max-width: 760px;
    font-size: 1.85rem;
}

.footer-topics {
    gap: 9px;
    margin-top: 18px;
    border-bottom-color: var(--line);
}

.footer-bottom {
    color: var(--muted);
    border-top-color: var(--line);
}

.pagination {
    margin-top: 14px;
    border-bottom: 0;
}

.pagination a {
    color: var(--aizome);
}

.reading-progress span {
    background: var(--aizome);
}

.back-to-top {
    color: #fff;
    background: rgba(29, 29, 31, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.back-to-top:hover {
    background: var(--aizome);
}

.empty-state {
    border-bottom-color: var(--line);
}

.empty-state span {
    color: #fff;
    border-radius: 999px;
    background: var(--aizome);
}

.empty-state h2 {
    color: var(--ink);
}

@media (max-width: 980px) {
    .site-shell {
        width: min(calc(100% - 34px), var(--max));
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav ul {
        flex-wrap: nowrap;
        width: max-content;
    }

    .hero,
    .topic-gateway,
    .about-richard,
    .featured-strip,
    .featured-link,
    .section-head,
    .footer-card {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 30px;
        min-height: 0;
        padding: 58px 0 52px;
    }

    .hero-main h1 {
        font-size: 4.35rem;
    }

    .hero-signal {
        align-self: stretch;
    }

    .topic-gateway-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid .post-card:first-child {
        grid-template-columns: 1fr;
    }

    .post-grid .post-card:first-child .post-card-content {
        min-height: 0;
        padding: 28px 24px 26px;
    }

    .article-header h1 {
        font-size: 3.55rem;
    }

    .article-reading-layout,
    .article-afterbody {
        grid-template-columns: minmax(0, 740px);
        gap: 28px;
    }

    .article-afterbody .article-author {
        grid-column: 1;
    }

    .footer-card .button {
        justify-self: start;
    }
}

@media (max-width: 620px) {
    html {
        scroll-padding-top: 136px;
    }

    .site-shell {
        width: min(calc(100% - 24px), var(--max));
    }

    .site-main {
        padding-top: 12px;
    }

    .site-header {
        min-height: 0;
        padding: 10px 0;
        background: rgba(245, 245, 247, 0.94);
    }

    .brand-logo-mark {
        width: 32px;
        height: 32px;
    }

    .brand-text {
        max-width: 156px;
        font-size: 0.92rem;
    }

    .site-nav a,
    .nav-cta {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 42px 0 40px;
    }

    .hero-main h1 {
        font-size: 3.05rem;
        line-height: 1.08;
    }

    .hero-main p:not(.eyebrow):not(.hero-kicker) {
        font-size: 1.03rem;
        line-height: 1.72;
    }

    .hero-actions .button {
        flex: 1 1 150px;
    }

    .hero-signal a,
    .hero-signal span {
        min-height: 58px;
        padding: 15px 16px;
    }

    .featured-strip,
    .topic-gateway {
        margin: 38px 0 44px;
        padding: 30px 0;
    }

    .featured-link {
        font-size: 1.7rem;
    }

    .topic-gateway-head h2,
    .section-head h2,
    .archive-header h1,
    .about-richard-main h2,
    .subscribe-block h2 {
        font-size: 2rem;
    }

    .topic-gateway-list {
        grid-template-columns: 1fr;
    }

    .topic-gateway-item {
        min-height: 0;
        padding: 18px;
    }

    .post-card-content {
        min-height: 0;
        padding: 21px;
    }

    .post-grid .post-card:first-child h2 {
        font-size: 2rem;
    }

    .about-richard {
        gap: 20px;
        margin: 48px 0 34px;
        padding: 20px;
    }

    .richard-card {
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 18px;
    }

    .richard-result-row {
        grid-template-columns: 1fr;
    }

    .archive-header {
        padding: 42px 0 26px;
    }

    .article-header {
        margin-top: 44px;
        text-align: left;
    }

    .article-header h1 {
        font-size: 2.55rem;
        line-height: 1.12;
    }

    .article-meta {
        justify-content: flex-start;
    }

    .article-excerpt,
    .gh-content {
        font-size: 1rem;
    }

    .article-image {
        margin-bottom: 38px;
    }

    .article-toc {
        padding: 16px;
    }

    .article-author-main {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .article-author-mark {
        width: 48px;
    }

    .subscribe-block,
    .footer-card {
        padding: 22px;
    }

    .footer-card h2 {
        font-size: 1.55rem;
    }

    .pagination,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce), (scripting: none) {
    .t-panel-slide {
        opacity: 1;
        filter: none;
        pointer-events: auto;
        transform: none;
    }
}

/* Premium showcase adversarial pass */
:root {
    --bg: #f3f4f6;
    --surface: #ffffff;
    --surface-alt: #f9fafb;
    --soft: #e5e7eb;
    --ink: #111113;
    --muted: #5f6368;
    --faint: #9aa0a6;
    --line: rgba(17, 17, 19, 0.11);
    --aizome: #0066cc;
    --benigara: #0a7f64;
    --koke: #b65f00;
    --cha: #303236;
    --site-shadow: 0 22px 70px rgba(17, 17, 19, 0.09);
    --site-shadow-hover: 0 30px 88px rgba(17, 17, 19, 0.14);
    --max: 1240px;
}

.site-header {
    border-bottom-color: rgba(17, 17, 19, 0.08);
    background: rgba(247, 248, 250, 0.82);
}

.site-main {
    padding-top: 18px;
}

.hero {
    position: relative;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.72fr);
    gap: clamp(38px, 6vw, 78px);
    min-height: calc(100vh - 96px);
    padding: clamp(58px, 8vw, 94px) clamp(18px, 3vw, 34px) clamp(56px, 7vw, 82px);
    border-bottom: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 20px -12px 28px;
    z-index: -1;
    display: block;
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 52%, rgba(236, 245, 255, 0.9) 100%);
    box-shadow: 0 34px 120px rgba(17, 17, 19, 0.08);
}

.hero-main h1 {
    max-width: 820px;
    font-size: clamp(4.45rem, 8.8vw, 7.7rem);
    line-height: 0.98;
}

.hero-main p:not(.eyebrow):not(.hero-kicker) {
    max-width: 690px;
    color: #4b4f56;
    font-size: clamp(1.08rem, 1.45vw, 1.24rem);
    line-height: 1.82;
}

.hero-actions {
    margin-top: 34px;
}

.hero-showcase {
    display: grid;
    gap: 14px;
    align-self: center;
    min-width: 0;
}

.hero-feature-card {
    position: relative;
    display: grid;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    background: #151517;
    box-shadow: 0 34px 90px rgba(17, 17, 19, 0.22);
    isolation: isolate;
}

.hero-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(17, 17, 19, 0.08) 0%, rgba(17, 17, 19, 0.22) 42%, rgba(17, 17, 19, 0.82) 100%);
}

.hero-feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-feature-card:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
}

.hero-feature-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 7px 11px;
    color: #111113;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.hero-feature-body {
    position: relative;
    z-index: 2;
    align-self: end;
    display: grid;
    gap: 9px;
    padding: 26px;
}

.hero-feature-tag {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-feature-body strong {
    max-width: 430px;
    font-size: clamp(1.45rem, 2.4vw, 2.08rem);
    line-height: 1.18;
    text-wrap: balance;
}

.hero-feature-card.no-image {
    min-height: 300px;
    background:
        linear-gradient(135deg, #111113 0%, #222326 58%, #0066cc 100%);
}

.hero-showcase .hero-signal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-showcase .hero-signal a {
    min-height: 72px;
    padding: 16px 17px;
    border: 1px solid rgba(17, 17, 19, 0.09);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(17, 17, 19, 0.055);
}

.hero-showcase .hero-signal a:hover {
    color: var(--aizome);
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 17, 19, 0.09);
    transform: translateY(-1px);
}

.featured-strip {
    margin-top: 36px;
}

.topic-gateway {
    padding: 52px 0;
}

.topic-gateway-list {
    gap: 16px;
}

.topic-gateway-item {
    min-height: 190px;
    background: rgba(255, 255, 255, 0.88);
}

.topic-gateway-item strong {
    font-size: clamp(1.2rem, 1.7vw, 1.52rem);
}

.post-grid {
    gap: 22px;
}

.post-card,
.post-card:nth-child(2n + 3),
.post-grid .post-card:first-child {
    border-color: rgba(17, 17, 19, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(17, 17, 19, 0.065);
}

.post-card:hover,
.post-card:focus-within {
    border-color: rgba(0, 102, 204, 0.28);
    box-shadow: var(--site-shadow-hover);
}

.post-card-media {
    background: #eef1f5;
}

.post-card-content {
    padding: 26px;
}

.post-card h2,
.post-grid .post-card:first-child h2 {
    font-weight: 760;
}

.post-card p {
    line-height: 1.72;
}

.post-grid .post-card:first-child .post-card-content {
    padding: 52px 44px 38px;
}

.post-grid .post-card:first-child::before {
    top: 20px;
    left: 20px;
    box-shadow: 0 10px 24px rgba(0, 102, 204, 0.22);
}

.article-header {
    padding: 28px 0 0;
}

.article-header h1 {
    font-size: clamp(3.15rem, 6.6vw, 5.35rem);
    letter-spacing: 0;
}

.article-image {
    box-shadow: 0 28px 82px rgba(17, 17, 19, 0.12);
}

.article-toc,
.article-author,
.subscribe-block,
.footer-card,
.survey-landing-simple .survey-form-section {
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: 0 20px 58px rgba(17, 17, 19, 0.07);
}

.survey-landing-simple {
    width: min(calc(100% - 48px), 1240px);
}

.survey-landing-simple .survey-hero {
    overflow: hidden;
    min-height: calc(100vh - 110px);
    padding: clamp(48px, 7vw, 82px) clamp(24px, 4vw, 42px);
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 48%, rgba(230, 242, 255, 0.86) 100%);
    box-shadow: 0 34px 120px rgba(17, 17, 19, 0.08);
}

.survey-landing-simple .survey-hero h1 {
    font-size: clamp(3.35rem, 7.4vw, 6.45rem);
    line-height: 0.98;
}

.survey-landing-simple .survey-lede {
    max-width: 700px;
    font-size: clamp(1.08rem, 1.45vw, 1.22rem);
}

.survey-device {
    box-shadow: 0 34px 90px rgba(17, 17, 19, 0.16);
}

.survey-landing-simple .survey-consult-points section {
    box-shadow: 0 18px 50px rgba(17, 17, 19, 0.065);
}

.survey-landing-simple .survey-form-intro {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero::before {
        inset: 14px -10px 20px;
    }

    .hero-feature-card {
        min-height: 360px;
    }

    .hero-showcase .hero-signal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .survey-landing-simple .survey-hero {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .site-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-nav {
        overflow: visible;
    }

    .site-nav ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
    }

    .site-nav a {
        white-space: normal;
    }

    .hero {
        padding: 34px 12px 42px;
    }

    .hero::before {
        inset: 6px 0 16px;
    }

    .hero-main h1 {
        font-size: clamp(3.15rem, 17vw, 4.25rem);
    }

    .hero-actions .button {
        flex: 1 1 100%;
    }

    .hero-feature-card {
        min-height: 310px;
    }

    .hero-feature-body {
        padding: 20px;
    }

    .hero-showcase .hero-signal {
        grid-template-columns: 1fr;
    }

    .hero-showcase .hero-signal a {
        min-height: 58px;
    }

    .topic-gateway {
        padding: 34px 0;
    }

    .post-grid {
        gap: 18px;
    }

    .post-card-content,
    .post-grid .post-card:first-child .post-card-content {
        padding: 22px;
    }

    .survey-landing-simple {
        width: min(calc(100% - 18px), 1240px);
    }

    .survey-landing-simple .survey-hero {
        padding: 30px 16px 28px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: clamp(2.85rem, 14vw, 4.15rem);
    }

    .survey-device {
        box-shadow: 0 18px 46px rgba(17, 17, 19, 0.12);
    }
}

/* Adversarial fixes: reliable reveal, search, archives, mobile conversion */
.t-panel-slide {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: none;
}

.has-js .t-panel-slide[data-open="false"] {
    opacity: 1;
    filter: none;
    transform: none;
}

.has-js .t-panel-slide[data-open="true"],
.has-js .site-header.t-panel-slide,
.has-js .hero.t-panel-slide,
.has-js .survey-hero.t-panel-slide {
    visibility: visible;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: none;
}

.site-search {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 14px;
    color: var(--cha);
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-header {
    grid-template-columns: minmax(180px, 1fr) minmax(0, auto) auto auto;
}

.site-search::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 5px 5px 0 -3px currentColor;
    transform: rotate(-8deg);
}

.site-search:hover {
    color: var(--ink);
    background: #fff;
    transform: translateY(-1px);
}

body:not(.home-template) .post-grid .post-card:first-child {
    grid-column: span 2;
    grid-template-columns: none;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

body:not(.home-template) .post-grid .post-card:first-child::before {
    display: none;
}

body:not(.home-template) .post-grid .post-card:first-child .post-card-media {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
}

body:not(.home-template) .post-grid .post-card:first-child .post-card-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.38 / 1;
}

body:not(.home-template) .post-grid .post-card:first-child .post-card-content {
    min-height: 238px;
    justify-content: flex-start;
    padding: 26px;
}

body:not(.home-template) .post-grid .post-card:first-child h2 {
    font-size: 1.42rem;
    line-height: 1.24;
}

.article-header {
    max-width: 980px;
    margin: clamp(28px, 4vw, 46px) auto 24px;
    padding-top: 0;
    text-align: left;
}

.article-header h1 {
    max-width: 900px;
    font-size: clamp(2.65rem, 4.4vw, 3.65rem);
    line-height: 1.1;
}

.article-excerpt {
    margin-left: 0;
}

.article-meta {
    justify-content: flex-start;
}

.article-image {
    width: min(100%, 980px);
    margin-bottom: 36px;
}

.article-image img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.survey-form-fallback {
    margin: 0;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.survey-form-fallback a {
    color: var(--aizome);
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 102, 204, 0.25);
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-search {
        justify-self: start;
    }

    body:not(.home-template) .post-grid .post-card:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 620px) {
    .site-header {
        grid-template-columns: 1fr;
    }

    .site-search {
        width: 100%;
        justify-self: stretch;
    }

    .site-nav ul {
        width: 100%;
        overflow: visible;
    }

    .site-nav li {
        max-width: 100%;
    }

    .site-nav a {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    body:not(.home-template) .post-grid .post-card:first-child {
        grid-column: 1 / -1;
    }

    .survey-landing-simple .survey-hero {
        gap: 22px;
    }

    .survey-hero-visual {
        max-height: 360px;
        overflow: hidden;
    }

    .survey-form-section {
        scroll-margin-top: 150px;
    }
}

/* Article continuation UX pass */
.article-next-step {
    grid-column: 2;
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 252, 0.9) 100%);
    box-shadow: 0 20px 58px rgba(17, 17, 19, 0.07);
}

.article-next-step .eyebrow {
    margin: 0;
}

.article-next-step h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.article-next-step p:not(.eyebrow) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

.article-next-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.article-next-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 11px;
    color: var(--cha);
    border: 1px solid rgba(17, 17, 19, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.18;
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.article-next-search {
    color: #fff;
    border-color: var(--aizome);
    background: var(--aizome);
}

.article-next-consult {
    color: #fff;
    border-color: var(--benigara);
    background: var(--benigara);
    box-shadow: 0 14px 34px rgba(177, 75, 45, 0.16);
}

.article-next-action:hover,
.article-next-action:focus-visible {
    color: var(--ink);
    border-color: rgba(0, 102, 204, 0.28);
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 17, 19, 0.08);
    outline: 2px solid var(--aizome);
    outline-offset: 3px;
    transform: translateY(-1px);
}

.article-next-search:hover,
.article-next-search:focus-visible,
.article-next-consult:hover,
.article-next-consult:focus-visible {
    color: #fff;
    background: #0057ad;
}

.article-toc a.is-active {
    color: var(--aizome);
    font-weight: 800;
}

@media (max-width: 980px) {
    .article-next-step {
        grid-column: 1;
    }

    .article-next-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .article-next-step {
        padding: 22px;
    }

    .article-next-actions {
        grid-template-columns: 1fr;
    }
}

/* Reader path and accessibility convergence pass */
.site-topic-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-top: 2px;
}

.site-topic-nav a,
.archive-topic-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    color: var(--cha);
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
}

.site-topic-nav a:hover,
.site-topic-nav a:focus-visible,
.archive-topic-links a:hover,
.archive-topic-links a:focus-visible {
    color: var(--ink);
    border-color: rgba(0, 102, 204, 0.28);
    background: #fff;
}

.site-topic-nav a.site-topic-nav-cta,
.footer-topics a.footer-consult-cta {
    color: #fff;
    border-color: var(--benigara);
    background: var(--benigara);
}

.site-topic-nav a.site-topic-nav-cta:hover,
.site-topic-nav a.site-topic-nav-cta:focus-visible,
.footer-topics a.footer-consult-cta:hover,
.footer-topics a.footer-consult-cta:focus-visible {
    color: #fff;
    border-color: var(--aizome);
    background: var(--aizome);
}

.archive-header {
    display: grid;
    gap: 14px;
}

.archive-header h1 {
    overflow-wrap: anywhere;
}

.archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.archive-actions .button {
    min-height: 44px;
}

.archive-primary-hub {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.archive-primary-hub .button {
    min-height: 44px;
}

.archive-topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.article-related {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.article-related h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.article-related-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.article-related-link {
    display: grid;
    gap: 6px;
    min-height: 116px;
    padding: 14px;
    color: var(--cha);
    border: 1px solid rgba(17, 17, 19, 0.09);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
}

.article-related-link span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.article-related-link strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.35;
}

.article-related-link:hover,
.article-related-link:focus-visible {
    color: var(--aizome);
    border-color: rgba(0, 102, 204, 0.28);
    background: #fff;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.article-tags .eyebrow {
    flex-basis: 100%;
}

.nav-cta {
    min-height: 44px;
}

.footer-topics a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
}
.footer-search {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    color: var(--cha);
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.15;
    cursor: pointer;
}

.article-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
}

.back-to-top {
    min-width: 44px;
    min-height: 44px;
}

.article-header h1,
.hero-main h1,
.post-card h2 a {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .site-topic-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .site-topic-nav a {
        flex: 0 0 auto;
    }

    .article-related-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-nav,
    .site-topic-nav {
        grid-column: 1 / -1;
    }

    .site-search {
        width: auto;
        min-width: 44px;
        justify-self: end;
    }

    .site-topic-nav {
        margin-right: -12px;
        padding-right: 12px;
    }
}

/* Paged and archive lists should not inherit first-page lead-card treatment. */
.post-grid-archive .post-card:first-child {
    grid-column: span 2;
    grid-template-columns: none;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}

.post-grid-home .post-card:first-child {
    grid-column: span 2;
    grid-template-columns: none;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    color: var(--ink);
    border-color: var(--line);
    background: var(--surface);
}

.post-grid-archive .post-card:first-child::before {
    display: none;
    content: none;
}

.post-grid-home .post-card:first-child::before {
    display: none;
    content: none;
}

.post-grid-archive .post-card:first-child .post-card-media {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
}

.post-grid-home .post-card:first-child .post-card-media {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
}

.post-grid-archive .post-card:first-child .post-card-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.38 / 1;
}

.post-grid-home .post-card:first-child .post-card-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.38 / 1;
}

.post-grid-archive .post-card:first-child .post-card-content {
    min-height: 238px;
    justify-content: flex-start;
    padding: 26px;
}

.post-grid-home .post-card:first-child .post-card-content {
    min-height: 238px;
    justify-content: flex-start;
    padding: 26px;
}

.post-grid-archive .post-card:first-child h2 {
    font-size: 1.42rem;
    line-height: 1.24;
}

.post-grid-home .post-card:first-child h2 {
    font-size: 1.42rem;
    line-height: 1.24;
}

@media (max-width: 980px) {
    .post-grid-archive .post-card:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 620px) {
    .post-grid-archive .post-card:first-child {
        grid-column: 1 / -1;
    }

    .post-grid-home .post-card:first-child {
        grid-column: 1 / -1;
    }
}

/* Production header hotfix: desktop navigation stays in one compact row. */
@media (min-width: 981px) {
    .site-header {
        grid-template-columns: minmax(220px, max-content) minmax(360px, 1fr) auto auto;
        align-items: center;
        gap: 14px 18px;
        min-height: 64px;
        padding: 12px 0;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .site-topic-nav {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        justify-content: center;
        flex-wrap: nowrap;
        overflow: visible;
        min-width: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-topic-nav a {
        white-space: nowrap;
    }

    .site-search {
        grid-column: 3;
        grid-row: 1;
        width: auto;
        justify-self: end;
    }

    .nav-cta {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }
}

/* Production footer hotfix: keep the CTA card as a readable block, not split columns. */
.footer-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px 24px;
    padding: clamp(24px, 3vw, 34px);
}

.footer-card .eyebrow {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0;
    white-space: normal;
}

.footer-card h2 {
    grid-column: 1;
    max-width: 780px;
    font-size: clamp(1.55rem, 2.1vw, 2.15rem);
    line-height: 1.18;
}

.footer-card .button {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

/* Production footer composition hotfix: plain CTA should not look empty. */
.footer-card-plain {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.footer-card-plain .eyebrow {
    grid-column: 1;
    max-width: 100%;
}

.footer-card-plain h2 {
    grid-column: 1;
    max-width: 620px;
}

/* Production typography hotfix: keep about section readable. */
.about-richard {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 36px);
    align-items: start;
    padding: clamp(24px, 3vw, 34px);
}

.about-richard-main h2 {
    max-width: 760px;
    font-size: clamp(1.72rem, 2.35vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.richard-card {
    align-self: start;
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
}

.richard-portrait {
    display: flex;
    position: relative;
    width: 148px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.92), rgba(255, 255, 255, 0.74));
    box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.14), 0 14px 30px rgba(0, 0, 0, 0.10);
}

.richard-portrait::before,
.richard-portrait::after {
    content: none;
}

.richard-portrait-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.richard-card-body {
    width: 100%;
    min-width: 220px;
    text-align: left;
}

.richard-card p:not(.eyebrow) {
    max-width: none;
    line-height: 1.65;
}

.richard-result-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
}

.richard-result-row div {
    min-height: 130px;
    padding: 16px;
}

.richard-result-row strong {
    font-size: clamp(1.35rem, 2vw, 2rem);
    white-space: nowrap;
}

.richard-result-row span {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.35;
}

.richard-result-row small {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .about-richard {
        grid-template-columns: 1fr;
    }

    .about-richard-main h2 {
        font-size: clamp(1.65rem, 5vw, 2.15rem);
    }

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

@media (max-width: 900px) {
    .footer-card {
        grid-template-columns: 1fr;
    }

    .footer-card h2,
    .footer-card .button {
        grid-column: 1;
    }

    .footer-card .button {
        grid-row: auto;
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .richard-card {
        grid-template-columns: 1fr;
    }

    .richard-portrait {
        width: 128px;
    }

    .richard-card-body {
        min-width: 0;
    }

    .richard-result-row {
        grid-template-columns: 1fr;
    }
}

/* Newsletter subscription flow: keep subscription in-page, not Portal signup. */
.newsletter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 10px;
    align-items: end;
    max-width: 680px;
    margin-top: 22px;
}

.footer-card .newsletter-form {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: min(100%, 520px);
    margin-top: 0;
}

.newsletter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.newsletter-field span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.newsletter-field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    font: inherit;
}

.newsletter-field input:focus {
    outline: 2px solid var(--aizome);
    outline-offset: 2px;
}

.newsletter-form .button,
.footer-card .newsletter-form .button {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    min-height: 44px;
    white-space: nowrap;
}

.newsletter-form-note {
    display: none;
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.newsletter-form.success .newsletter-success {
    color: var(--aizome);
}

.newsletter-form.error .newsletter-error {
    color: var(--benigara);
}

@media (max-width: 900px) {
    .footer-card .newsletter-form {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 620px) {
    .newsletter-form {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Production mobile header hotfix: keep action controls in the first row. */
@media (max-width: 620px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .site-search {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-width: 44px;
        justify-self: end;
        padding-right: 12px;
        padding-left: 12px;
    }

    .nav-cta {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        min-height: 44px;
        padding: 9px 12px;
    }

    .site-topic-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-right: -12px;
        padding-right: 12px;
    }
}

@media (max-width: 360px) {
    .site-search {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 0;
    }

    .site-search::before {
        margin-right: 0;
    }

    .nav-cta {
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Consultation landing visual reset */
.survey-landing-simple {
    width: min(calc(100% - 40px), 1180px);
    padding-top: clamp(18px, 3.8vw, 44px);
}

.survey-landing-simple .survey-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    min-height: clamp(560px, 74vh, 760px);
    padding: clamp(44px, 7vw, 82px) 0 clamp(52px, 7vw, 90px);
    border-top: 0;
    border-bottom: 1px solid rgba(29, 29, 31, 0.1);
}

.survey-landing-simple .survey-hero-copy {
    align-content: center;
}

.survey-landing-simple .survey-kicker,
.survey-landing-simple .survey-form-eyebrow,
.survey-landing-simple .survey-outcome .eyebrow,
.survey-landing-simple .survey-consult-label .eyebrow {
    color: var(--aizome);
    font-family: var(--font-body);
    letter-spacing: 0;
    text-transform: none;
}

.survey-landing-simple .survey-hero h1 {
    max-width: 640px;
    margin-top: 18px;
    font-size: clamp(3rem, 6vw, 5.35rem);
    line-height: 1.03;
}

.survey-landing-simple .survey-lede {
    max-width: 610px;
    margin-top: 22px;
    color: var(--consult-muted);
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.9;
}

.survey-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 640px;
    margin-top: 24px;
}

.survey-hero-notes span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    color: var(--consult-ink);
    border: 1px solid rgba(29, 29, 31, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}

.survey-landing-simple .survey-actions {
    margin-top: 30px;
}

.survey-landing-simple .button-primary {
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--aizome);
    box-shadow: 0 18px 42px rgba(0, 113, 227, 0.22);
}

.survey-landing-simple .survey-hero-visual {
    align-self: center;
}

.survey-diagnostic-card {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: clamp(20px, 3vw, 30px);
    color: var(--consult-ink);
    border: 1px solid rgba(29, 29, 31, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.9)),
        repeating-linear-gradient(90deg, rgba(0, 113, 227, 0.06) 0 1px, transparent 1px 18px);
    box-shadow: 0 30px 90px rgba(29, 29, 31, 0.13);
}

.survey-card-head {
    display: grid;
    gap: 7px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(29, 29, 31, 0.1);
}

.survey-card-head span,
.survey-diagnostic-row > span,
.survey-diagnostic-result span {
    color: var(--consult-muted);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
}

.survey-card-head strong {
    color: var(--consult-ink);
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.18;
}

.survey-diagnostic-list {
    display: grid;
    gap: 10px;
}

.survey-diagnostic-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.survey-diagnostic-row strong,
.survey-diagnostic-result strong {
    display: block;
    color: var(--consult-ink);
    font-size: 1rem;
    line-height: 1.35;
}

.survey-diagnostic-row p,
.survey-diagnostic-result p {
    margin: 6px 0 0;
    color: var(--consult-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.survey-diagnostic-result {
    display: grid;
    gap: 6px;
    padding: 18px;
    color: #fff;
    border-radius: 14px;
    background: #1d1d1f;
}

.survey-diagnostic-result span,
.survey-diagnostic-result strong,
.survey-diagnostic-result p {
    color: #fff;
}

.survey-diagnostic-result p {
    opacity: 0.76;
}

@media (max-width: 980px) {
    .survey-landing-simple .survey-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .survey-landing-simple .survey-hero h1 {
        max-width: 100%;
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 28px), 1180px);
    }

    .survey-landing-simple .survey-hero {
        padding-top: 30px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.4rem);
    }

    .survey-diagnostic-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Consultation landing compact first screen */
.survey-landing-simple .survey-hero {
    align-items: start;
    min-height: 0;
    padding: clamp(16px, 3vw, 32px) 0 clamp(28px, 4vw, 48px);
}

.survey-landing-simple .survey-hero-copy {
    min-height: 0;
    align-content: start;
    padding-top: clamp(24px, 4vw, 42px);
}

.survey-landing-simple .survey-hero-visual {
    align-self: start;
    padding-top: clamp(8px, 2vw, 18px);
}

.survey-landing-simple .survey-hero h1 {
    font-size: clamp(2.8rem, 5.4vw, 4.95rem);
}

.survey-diagnostic-card {
    gap: 8px;
    padding: clamp(14px, 1.8vw, 18px);
}

.survey-card-head {
    gap: 3px;
    padding-bottom: 8px;
}

.survey-card-head span,
.survey-diagnostic-row > span,
.survey-diagnostic-result span {
    font-size: 0.78rem;
}

.survey-card-head strong {
    font-size: clamp(1.22rem, 1.8vw, 1.5rem);
}

.survey-diagnostic-list {
    gap: 0;
}

.survey-diagnostic-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
}

.survey-diagnostic-row strong,
.survey-diagnostic-result strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.survey-diagnostic-row p,
.survey-diagnostic-result p {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.38;
}

.survey-diagnostic-result {
    gap: 3px;
    padding: 10px 12px;
    border-radius: 10px;
}

@media (max-width: 980px) {
    .survey-landing-simple .survey-hero-copy,
    .survey-landing-simple .survey-hero-visual {
        padding-top: 0;
    }
}

/* Consultation landing conversion rewrite */
.survey-landing-simple {
    --consult-accent: var(--aizome);
    --consult-accent-dark: #244d43;
    --consult-ink: var(--ink);
    --consult-muted: var(--muted);
    --consult-line: rgba(21, 25, 22, 0.12);
    width: min(calc(100% - 40px), 1120px);
    padding-top: 26px;
}

.survey-landing-simple .survey-hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.74fr);
    gap: 44px;
    align-items: center;
    padding: 42px 0 46px;
    border-bottom: 1px solid var(--consult-line);
}

.survey-landing-simple .survey-hero-copy {
    max-width: 690px;
    min-height: 0;
    align-content: start;
    padding-top: 0;
}

.survey-landing-simple .survey-kicker,
.survey-landing-simple .survey-form-eyebrow,
.survey-landing-simple .survey-outcome .eyebrow,
.survey-landing-simple .survey-consult-label .eyebrow {
    color: var(--consult-accent);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.survey-landing-simple .survey-hero h1 {
    max-width: 680px;
    margin-top: 14px;
    color: var(--consult-ink);
    font-family: var(--font-display);
    font-size: 3.4rem;
    line-height: 1.08;
}

.survey-landing-simple .survey-lede {
    max-width: 650px;
    margin-top: 20px;
    color: var(--consult-muted);
    font-size: 1.12rem;
    line-height: 1.9;
}

.survey-landing-simple .survey-actions {
    gap: 12px;
    margin-top: 28px;
}

.survey-landing-simple .button-primary,
.survey-landing-simple .button-secondary {
    min-height: 48px;
    padding: 11px 18px;
    border-radius: var(--radius);
    font-weight: 800;
}

.survey-landing-simple .button-primary {
    color: var(--paper);
    background: var(--consult-accent);
    box-shadow: 0 14px 34px rgba(47, 95, 83, 0.18);
}

.survey-landing-simple .button-primary:hover {
    color: var(--paper);
    background: var(--consult-accent-dark);
}

.survey-landing-simple .button-secondary {
    color: var(--consult-accent);
    border: 1px solid var(--consult-line);
    background: var(--surface);
}

.survey-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.survey-trust-strip span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 10px;
    color: var(--consult-ink);
    border: 1px solid var(--consult-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}

.survey-audience {
    scroll-margin-top: 96px;
}

.survey-landing-simple .survey-hero-notes {
    display: none;
}

.survey-landing-simple .survey-hero-visual {
    align-self: center;
    padding-top: 0;
}

.survey-diagnostic-card {
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--consult-line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 20px 58px rgba(21, 25, 22, 0.08);
}

.survey-card-head {
    gap: 5px;
    padding-bottom: 12px;
}

.survey-card-head span,
.survey-diagnostic-row > span,
.survey-diagnostic-result span,
.survey-landing-simple .survey-consult-points span,
.survey-landing-simple .survey-audience span {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.survey-card-head strong {
    font-size: 1.5rem;
}

.survey-diagnostic-list {
    gap: 0;
}

.survey-diagnostic-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
}

.survey-diagnostic-row strong,
.survey-diagnostic-result strong {
    font-size: 0.98rem;
    line-height: 1.35;
}

.survey-diagnostic-row p,
.survey-diagnostic-result p {
    margin-top: 3px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.survey-diagnostic-result {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--line-dark);
}

.survey-landing-simple .survey-audience,
.survey-landing-simple .survey-consult-points {
    display: grid;
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding: 40px 0;
    border-bottom: 1px solid var(--consult-line);
}

.survey-consult-label h2 {
    max-width: 360px;
    margin: 10px 0 0;
    color: var(--consult-ink);
    font-family: var(--font-display);
    font-size: 1.95rem;
    line-height: 1.22;
}

.survey-consult-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.survey-landing-simple .survey-consult-points section,
.survey-landing-simple .survey-audience section {
    min-height: 196px;
    padding: 20px;
    border: 1px solid var(--consult-line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: none;
}

.survey-landing-simple .survey-consult-points h2,
.survey-landing-simple .survey-audience h2 {
    margin-top: 30px;
    color: var(--consult-ink);
    font-family: var(--font-display);
    font-size: 1.14rem;
    line-height: 1.35;
}

.survey-landing-simple .survey-consult-points p,
.survey-landing-simple .survey-audience p {
    color: var(--consult-muted);
    font-size: 0.94rem;
    line-height: 1.72;
}

.survey-landing-simple .survey-form-section {
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--consult-line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(21, 25, 22, 0.08);
}

.survey-landing-simple .survey-form-intro {
    grid-template-columns: minmax(0, 0.64fr) minmax(260px, 0.36fr);
    padding: 32px 34px;
    border-bottom: 1px solid var(--consult-line);
    background: var(--surface-alt);
}

.survey-landing-simple .survey-form-intro h2 {
    color: var(--consult-ink);
    font-family: var(--font-display);
    font-size: 2.05rem;
    line-height: 1.2;
}

.survey-landing-simple .survey-form-intro p:last-child {
    color: var(--consult-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.survey-landing-simple .survey-form-section iframe {
    height: 980px;
    min-height: 820px;
}

.survey-landing-simple .survey-outcome {
    margin-top: 36px;
    padding: 38px 0 14px;
    border-top: 1px solid var(--consult-line);
    border-bottom: 0;
}

.survey-landing-simple .survey-outcome h2 {
    color: var(--consult-ink);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.24;
}

.survey-landing-simple .survey-outcome > p:last-child {
    color: var(--consult-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

@media (max-width: 980px) {
    .survey-landing-simple .survey-hero,
    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points,
    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-outcome {
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .survey-hero {
        gap: 28px;
        padding-top: 30px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: 3rem;
    }

    .survey-consult-label h2 {
        max-width: 680px;
    }

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

    .survey-landing-simple .survey-consult-points section,
    .survey-landing-simple .survey-audience section {
        min-height: 0;
    }

    .survey-landing-simple .survey-form-intro p:last-child,
    .survey-landing-simple .survey-outcome > p:last-child {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 28px), 1120px);
        padding-top: 16px;
    }

    .survey-landing-simple .survey-hero {
        padding: 26px 0 34px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: 2.35rem;
    }

    .survey-landing-simple .survey-lede {
        font-size: 1rem;
        line-height: 1.78;
    }

    .survey-landing-simple .button-primary,
    .survey-landing-simple .button-secondary {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .survey-diagnostic-card {
        padding: 18px;
    }

    .survey-landing-simple .survey-hero-visual {
        max-height: none;
        overflow: visible;
    }

    .survey-diagnostic-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points {
        gap: 20px;
        padding: 32px 0;
    }

    .survey-consult-label h2,
    .survey-landing-simple .survey-form-intro h2,
    .survey-landing-simple .survey-outcome h2 {
        font-size: 1.72rem;
    }

    .survey-landing-simple .survey-form-intro {
        padding: 24px 20px;
    }

    .survey-landing-simple .survey-form-section iframe {
        height: 920px;
        min-height: 800px;
    }
}

/* Consultation landing layout v2 */
.survey-landing-simple {
    --deal-bg: #111113;
    --deal-panel: #f7f7f2;
    --deal-ink: #f8f8f4;
    --deal-muted: rgba(248, 248, 244, 0.72);
    --deal-line: rgba(248, 248, 244, 0.16);
    --deal-blue: #0071e3;
    --deal-green: #07886f;
    width: min(calc(100% - 44px), 1220px);
    padding-top: 22px;
}

.survey-landing-simple .survey-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
    gap: clamp(30px, 4.5vw, 58px);
    align-items: center;
    min-height: 0;
    padding: clamp(38px, 5vw, 68px);
    overflow: hidden;
    border: 1px solid rgba(17, 17, 19, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
        linear-gradient(180deg, #111113 0%, #191a1d 100%);
    box-shadow: 0 32px 90px rgba(17, 17, 19, 0.16);
}

.survey-landing-simple .survey-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 56%, rgba(0, 113, 227, 0.12) 56% 72%, rgba(7, 136, 111, 0.16) 72% 100%);
}

.survey-landing-simple .survey-hero-copy,
.survey-landing-simple .survey-hero-visual {
    position: relative;
    z-index: 1;
}

.survey-landing-simple .survey-hero-copy {
    max-width: 710px;
    padding-top: 0;
}

.survey-landing-simple .survey-kicker {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    color: #bfe8ff;
    border: 1px solid var(--deal-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.survey-landing-simple .survey-hero h1 {
    max-width: 720px;
    margin-top: 18px;
    color: #fff;
    font-size: clamp(3rem, 6.1vw, 5.9rem);
    line-height: 0.98;
}

.survey-landing-simple .survey-lede {
    max-width: 670px;
    color: var(--deal-muted);
    font-size: clamp(1.03rem, 1.25vw, 1.18rem);
    line-height: 1.84;
}

.survey-landing-simple .survey-actions {
    gap: 12px;
    margin-top: 28px;
}

.survey-landing-simple .button-primary,
.survey-landing-simple .button-secondary {
    min-height: 50px;
    border-radius: 8px;
}

.survey-landing-simple .button-primary {
    color: #111113;
    background: #fff;
    box-shadow: 0 18px 38px rgba(255, 255, 255, 0.12);
}

.survey-landing-simple .button-primary:hover {
    color: #111113;
    background: #edf7ff;
}

.survey-landing-simple .button-secondary {
    color: #fff;
    border-color: var(--deal-line);
    background: rgba(255, 255, 255, 0.06);
}

.survey-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 680px;
    margin-top: 26px;
}

.survey-trust-strip span {
    display: grid;
    min-height: 74px;
    align-content: center;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--deal-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.88rem;
    font-weight: 700;
}

.survey-trust-strip strong {
    display: block;
    color: #fff;
    font-size: clamp(1.38rem, 2vw, 1.85rem);
    line-height: 1;
}

.survey-author-chip {
    display: flex;
    max-width: 500px;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 12px;
    color: #fff;
    border: 1px solid var(--deal-line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
}

.survey-author-chip img {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid var(--deal-line);
    border-radius: 8px;
    background: #fff;
}

.survey-author-chip span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 800;
}

.survey-author-chip strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.45;
}

.survey-landing-simple .survey-hero-visual {
    max-height: none;
    overflow: visible;
    align-self: center;
    padding-top: 0;
}

.survey-diagnostic-card {
    gap: 14px;
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid rgba(17, 17, 19, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.survey-card-head {
    gap: 6px;
    padding-bottom: 14px;
}

.survey-card-head span,
.survey-diagnostic-row > span,
.survey-diagnostic-result span {
    color: #6e6e73;
    font-size: 0.8rem;
}

.survey-card-head strong {
    color: #111113;
    font-size: clamp(1.45rem, 2.3vw, 1.85rem);
}

.survey-diagnostic-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 11px 0;
}

.survey-diagnostic-row strong,
.survey-diagnostic-result strong {
    color: #111113;
    font-size: 0.98rem;
    line-height: 1.38;
}

.survey-diagnostic-row p,
.survey-diagnostic-result p {
    color: #6e6e73;
    font-size: 0.88rem;
    line-height: 1.55;
}

.survey-diagnostic-result {
    padding: 15px;
    border-radius: 8px;
    background: #111113;
}

.survey-diagnostic-result strong,
.survey-diagnostic-result span {
    color: #fff;
}

.survey-landing-simple .survey-audience,
.survey-landing-simple .survey-consult-points {
    grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
    gap: 30px;
    margin-top: 18px;
    padding: 38px 0;
}

.survey-consult-label h2 {
    max-width: 360px;
    font-size: clamp(1.68rem, 2.4vw, 2.2rem);
}

.survey-consult-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.survey-landing-simple .survey-consult-points section,
.survey-landing-simple .survey-audience section {
    min-height: 168px;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
}

.survey-landing-simple .survey-consult-points h2,
.survey-landing-simple .survey-audience h2 {
    margin-top: 22px;
}

.survey-landing-simple .survey-form-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
    align-items: stretch;
    margin-top: 26px;
    border-radius: 8px;
}

.survey-landing-simple .survey-form-intro {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    align-content: center;
    padding: clamp(24px, 3vw, 34px);
    border-right: 1px solid var(--consult-line);
    border-bottom: 0;
}

.survey-landing-simple .survey-form-intro p:last-child {
    grid-column: 1;
    grid-row: auto;
}

.survey-landing-simple .survey-form-section iframe {
    grid-column: 2;
    grid-row: 1;
    height: 460px;
    min-height: 420px;
}

.survey-landing-simple .survey-form-fallback {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--consult-line);
    background: #fff;
}

.survey-landing-simple .survey-outcome {
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 30px;
    padding: 30px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: #111113;
}

.survey-landing-simple .survey-outcome .eyebrow,
.survey-landing-simple .survey-outcome h2,
.survey-landing-simple .survey-outcome > p:last-child {
    color: #fff;
}

.survey-landing-simple .survey-outcome > p:last-child {
    opacity: 0.74;
}

@media (max-width: 980px) {
    .survey-landing-simple .survey-hero,
    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points,
    .survey-landing-simple .survey-form-section,
    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-outcome {
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .survey-hero {
        padding: 34px;
    }

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

    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-form-section iframe,
    .survey-landing-simple .survey-form-fallback {
        grid-column: 1;
        grid-row: auto;
    }

    .survey-landing-simple .survey-form-intro {
        border-right: 0;
        border-bottom: 1px solid var(--consult-line);
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 24px), 1220px);
        padding-top: 18px;
    }

    .survey-landing-simple .survey-hero {
        gap: 24px;
        padding: 28px 14px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3rem);
        line-height: 1.04;
    }

    .survey-landing-simple .survey-lede {
        font-size: 1rem;
        line-height: 1.78;
    }

    .survey-trust-strip {
        grid-template-columns: 1fr;
    }

    .survey-trust-strip span {
        min-height: 58px;
    }

    .survey-author-chip {
        align-items: flex-start;
    }

    .survey-diagnostic-card {
        padding: 18px;
    }

    .survey-diagnostic-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 0;
    }

    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points {
        gap: 18px;
        padding: 30px 0;
    }

    .survey-landing-simple .survey-consult-points section,
    .survey-landing-simple .survey-audience section {
        min-height: 0;
    }

    .survey-landing-simple .survey-form-intro {
        padding: 22px 18px;
    }

    .survey-landing-simple .survey-form-section iframe {
        height: 520px;
        min-height: 480px;
    }

    .survey-landing-simple .survey-outcome {
        padding: 26px 20px;
    }
}

/* Consultation landing researched layout */
.survey-landing-simple {
    --consult-page: #f3f4f0;
    --consult-surface: #fffdfa;
    --consult-surface-strong: #ffffff;
    --consult-ink: #111827;
    --consult-muted: #5f6673;
    --consult-line: rgba(17, 24, 39, 0.12);
    --consult-blue: #1359d8;
    --consult-blue-dark: #0f3f9f;
    --consult-green: #087467;
    --consult-gold: #b98528;
    width: min(calc(100% - 48px), 1180px);
    max-width: none;
    margin: 0 auto;
    padding-top: 24px;
    color: var(--consult-ink);
}

.survey-landing-simple .survey-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
    min-height: 0;
    padding: clamp(42px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fffefa 0%, var(--consult-page) 100%);
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.13);
}

.survey-landing-simple .survey-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.055) 1px, transparent 1px) 0 0 / 42px 42px,
        linear-gradient(180deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px) 0 0 / 42px 42px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04) 64%, transparent);
}

.survey-landing-simple .survey-hero::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 36%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(19, 89, 216, 0.14), rgba(8, 116, 103, 0.16), transparent);
    transform: translate3d(-105%, 0, 0);
    will-change: transform;
}

.survey-landing-simple .survey-hero-copy,
.survey-landing-simple .survey-hero-visual {
    position: relative;
    z-index: 1;
}

.survey-landing-simple .survey-hero-copy {
    max-width: 660px;
    padding-top: 0;
}

.survey-landing-simple .survey-kicker {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    align-items: center;
    padding: 5px 11px;
    color: var(--consult-blue-dark);
    border: 1px solid rgba(19, 89, 216, 0.18);
    border-radius: 8px;
    background: rgba(19, 89, 216, 0.07);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.survey-landing-simple .survey-hero h1 {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--consult-ink);
    font-size: clamp(2.65rem, 4.8vw, 4.75rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.survey-landing-simple .survey-lede {
    max-width: 560px;
    margin-top: 22px;
    color: var(--consult-muted);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    font-weight: 650;
    line-height: 1.82;
}

.survey-landing-simple .survey-actions {
    gap: 12px;
    margin-top: 30px;
}

.survey-landing-simple .button-primary,
.survey-landing-simple .button-secondary {
    min-height: 50px;
    border-radius: 8px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.survey-landing-simple .button-primary {
    color: #fff;
    border: 1px solid var(--consult-blue);
    background: var(--consult-blue);
    box-shadow: 0 18px 38px rgba(19, 89, 216, 0.22);
}

.survey-landing-simple .button-primary:hover {
    color: #fff;
    border-color: var(--consult-blue-dark);
    background: var(--consult-blue-dark);
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 22px 46px rgba(19, 89, 216, 0.26);
}

.survey-landing-simple .button-secondary {
    color: var(--consult-ink);
    border-color: var(--consult-line);
    background: rgba(255, 255, 255, 0.62);
}

.survey-landing-simple .button-secondary:hover {
    border-color: rgba(17, 24, 39, 0.24);
    background: #fff;
    transform: translate3d(0, -1px, 0);
}

.survey-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 640px;
    margin-top: 28px;
}

.survey-trust-strip span {
    display: grid;
    min-height: 70px;
    align-content: center;
    padding: 12px 14px;
    color: var(--consult-muted);
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
    font-size: 0.84rem;
    font-weight: 800;
}

.survey-trust-strip strong {
    display: block;
    color: var(--consult-ink);
    font-size: clamp(1.42rem, 2vw, 1.88rem);
    line-height: 1;
}

.survey-author-chip {
    display: flex;
    max-width: 500px;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 12px;
    color: var(--consult-ink);
    border: 1px solid rgba(8, 116, 103, 0.16);
    border-radius: 8px;
    background: rgba(8, 116, 103, 0.07);
}

.survey-author-chip img {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(8, 116, 103, 0.18);
    border-radius: 8px;
    background: #fff;
}

.survey-author-chip span {
    display: block;
    color: var(--consult-green);
    font-size: 0.78rem;
    font-weight: 850;
}

.survey-author-chip strong {
    display: block;
    margin-top: 2px;
    color: var(--consult-ink);
    font-size: 0.94rem;
    line-height: 1.45;
}

.survey-landing-simple .survey-hero-visual {
    max-height: none;
    overflow: visible;
    align-self: center;
    padding-top: 0;
}

.survey-diagnostic-card {
    position: relative;
    gap: 14px;
    padding: clamp(20px, 2.4vw, 28px);
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
    background: var(--consult-surface-strong);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
}

.survey-diagnostic-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--consult-blue), var(--consult-green), var(--consult-gold));
    transform-origin: left center;
}

.survey-card-head {
    gap: 6px;
    padding-bottom: 14px;
}

.survey-card-head span,
.survey-diagnostic-row > span,
.survey-diagnostic-result span {
    color: var(--consult-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.survey-card-head strong {
    color: var(--consult-ink);
    font-size: clamp(1.42rem, 2.25vw, 1.82rem);
    line-height: 1.18;
}

.survey-diagnostic-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--consult-line);
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.survey-diagnostic-row:hover {
    background: rgba(19, 89, 216, 0.035);
    transform: translate3d(6px, 0, 0);
}

.survey-diagnostic-row strong,
.survey-diagnostic-result strong {
    color: var(--consult-ink);
    font-size: 0.98rem;
    line-height: 1.38;
}

.survey-diagnostic-row p {
    color: var(--consult-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.survey-diagnostic-result {
    padding: 15px;
    border-radius: 8px;
    background: #122033;
}

.survey-diagnostic-result strong,
.survey-diagnostic-result span {
    color: #fff;
}

.survey-landing-simple .survey-audience,
.survey-landing-simple .survey-consult-points {
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
    gap: 30px;
    margin-top: 22px;
    padding: 42px 0;
}

.survey-consult-label h2 {
    max-width: 390px;
    color: var(--consult-ink);
    font-size: clamp(1.64rem, 2.3vw, 2.16rem);
    line-height: 1.18;
    text-wrap: balance;
}

.survey-consult-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.survey-landing-simple .survey-consult-points section,
.survey-landing-simple .survey-audience section {
    min-height: 168px;
    padding: 20px;
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: var(--consult-surface-strong);
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.06);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.survey-landing-simple .survey-consult-points section:hover,
.survey-landing-simple .survey-audience section:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 20px 48px rgba(17, 24, 39, 0.1);
}

.survey-landing-simple .survey-consult-points span,
.survey-landing-simple .survey-audience span,
.survey-landing-simple .eyebrow,
.survey-landing-simple .survey-form-eyebrow {
    color: var(--consult-green);
}

.survey-landing-simple .survey-form-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.4fr) minmax(0, 0.6fr);
    align-items: stretch;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--consult-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 26px 76px rgba(17, 24, 39, 0.12);
}

.survey-landing-simple .survey-form-intro {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    align-content: center;
    padding: clamp(24px, 3vw, 36px);
    border-right: 1px solid var(--consult-line);
    border-bottom: 0;
    background: #f8f7f0;
}

.survey-landing-simple .survey-form-intro h2,
.survey-landing-simple .survey-outcome h2 {
    color: var(--consult-ink);
    text-wrap: balance;
}

.survey-landing-simple .survey-form-intro p:last-child {
    grid-column: 1;
    grid-row: auto;
    color: var(--consult-muted);
}

.survey-landing-simple .survey-form-section iframe {
    grid-column: 2;
    grid-row: 1;
    height: 500px;
    min-height: 460px;
}

.survey-landing-simple .survey-form-fallback {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--consult-line);
    background: #fff;
}

.survey-landing-simple .survey-outcome {
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 32px;
    padding: 32px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: #122033;
}

.survey-landing-simple .survey-outcome .eyebrow,
.survey-landing-simple .survey-outcome h2,
.survey-landing-simple .survey-outcome > p:last-child {
    color: #fff;
}

.survey-landing-simple .survey-outcome > p:last-child {
    opacity: 0.76;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes surveyFadeUp {
        from {
            opacity: 0;
            transform: translate3d(0, 18px, 0);
        }

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

    @keyframes surveySweep {
        0% {
            transform: translate3d(-105%, 0, 0);
        }

        42%,
        100% {
            transform: translate3d(310%, 0, 0);
        }
    }

    .survey-landing-simple .survey-hero-copy > *,
    .survey-landing-simple .survey-hero-visual,
    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points,
    .survey-landing-simple .survey-form-section,
    .survey-landing-simple .survey-outcome {
        animation: surveyFadeUp 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .survey-landing-simple .survey-lede {
        animation-delay: 90ms;
    }

    .survey-landing-simple .survey-actions {
        animation-delay: 150ms;
    }

    .survey-trust-strip {
        animation-delay: 210ms;
    }

    .survey-author-chip,
    .survey-landing-simple .survey-hero-visual {
        animation-delay: 270ms;
    }

    .survey-landing-simple .survey-hero::after {
        animation: surveySweep 6.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s infinite;
    }

    .survey-diagnostic-card::before {
        animation: surveyFadeUp 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .survey-landing-simple * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .survey-landing-simple .survey-hero::after {
        transform: translate3d(-105%, 0, 0);
    }
}

@media (max-width: 980px) {
    .survey-landing-simple {
        width: min(calc(100% - 34px), 1180px);
    }

    .survey-landing-simple .survey-hero,
    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points,
    .survey-landing-simple .survey-form-section,
    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-outcome {
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .survey-hero {
        padding: 40px 34px;
    }

    .survey-landing-simple .survey-hero-copy,
    .survey-landing-simple .survey-lede {
        max-width: 100%;
    }

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

    .survey-landing-simple .survey-form-intro,
    .survey-landing-simple .survey-form-section iframe,
    .survey-landing-simple .survey-form-fallback {
        grid-column: 1;
        grid-row: auto;
    }

    .survey-landing-simple .survey-form-intro {
        border-right: 0;
        border-bottom: 1px solid var(--consult-line);
    }
}

@media (max-width: 620px) {
    .survey-landing-simple {
        width: min(calc(100% - 24px), 1180px);
        padding-top: 16px;
    }

    .survey-landing-simple .survey-hero {
        gap: 24px;
        padding: 30px 18px;
    }

    .survey-landing-simple .survey-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.1rem);
        line-height: 1.08;
    }

    .survey-landing-simple .survey-lede {
        font-size: 1rem;
        line-height: 1.76;
    }

    .survey-landing-simple .survey-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .survey-landing-simple .button-primary,
    .survey-landing-simple .button-secondary {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .survey-trust-strip {
        grid-template-columns: 1fr;
    }

    .survey-trust-strip span {
        min-height: 58px;
    }

    .survey-author-chip {
        align-items: flex-start;
    }

    .survey-diagnostic-card {
        padding: 18px;
    }

    .survey-diagnostic-row {
        grid-template-columns: 1fr;
        gap: 6px;
        transform: none;
    }

    .survey-landing-simple .survey-audience,
    .survey-landing-simple .survey-consult-points {
        gap: 18px;
        padding: 30px 0;
    }

    .survey-landing-simple .survey-consult-points section,
    .survey-landing-simple .survey-audience section {
        min-height: 0;
    }

    .survey-landing-simple .survey-form-section iframe {
        height: 540px;
        min-height: 500px;
    }

    .survey-landing-simple .survey-outcome {
        padding: 26px 20px;
    }
}
