:root {
    --primary: #cc8b46;
    --primary-dark: #b57a3d;
    --primary-light: #fdf6ee;
    --text-main: #2f2418;
    --text-sub: #6c6157;
    --line: #eee3d7;
    --bg-main: #fffaf5;
    --bg-card: #ffffff;
    --shadow: 0 12px 32px rgba(204, 139, 70, 0.08);
    --shadow-hover: 0 20px 48px rgba(204, 139, 70, 0.15);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --wrap: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

button, input, textarea {
    font: inherit;
    outline: none;
}

main {
    min-height: 60vh;
}

.wrap {
    width: calc(100% - 40px);
    max-width: var(--wrap);
    margin: 0 auto;
}

/* Header & Topbar */
.topbar {
    background: #fdf8f3;
    border-bottom: 1px solid var(--line);
    color: var(--text-sub);
    font-size: 13px;
}

.topbar-inner,
.header-inner,
.footer-grid,
.footer-bottom,
.page-hero,
.article-layout,
.detail-hero,
.path-grid,
.cta-box {
    display: flex;
    align-items: center;
}

.topbar-inner {
    justify-content: space-between;
    min-height: 44px;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-meta,
.lang-switch,
.site-nav,
.hero-actions,
.hero-actions-center,
.section-actions,
.footer-links,
.cta-actions,
.page-metrics,
.meta-inline,
.author-line,
.article-meta,
.comment-head,
.comment-foot,
.side-links,
.side-link-cards,
.page-note,
.tab-head,
.pager {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-meta {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lang-switch a {
    padding: 4px 12px;
    border-radius: 999px;
}

.lang-switch a.is-current,
.lang-switch a:hover {
    background: rgba(204, 139, 70, 0.1);
    color: var(--primary-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

.brand, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(204, 139, 70, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 18px;
    color: var(--text-main);
}

.brand-text em {
    font-style: normal;
    color: var(--text-sub);
    font-size: 12px;
}

.site-nav {
    flex: 1;
    justify-content: flex-end;
}

.site-nav a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-sub);
    font-weight: 500;
}

.site-nav a.is-current,
.site-nav a:hover {
    color: var(--primary-dark);
    background: rgba(204, 139, 70, 0.08);
}

.mobile-nav-extra {
    display: none;
}

.site-nav .nav-worship {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(204, 139, 70, 0.25);
}

.site-nav .nav-worship:hover {
    background: var(--primary-dark);
    color: #fff;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text-main);
    border-radius: 2px;
}

/* Heros & Sections */
.portal-hero, .sub-hero {
    padding: 80px 0 40px;
}

.internal-hero, .page-top {
    padding-bottom: 20px;
}

.hero-content-center, .simple-state {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow, .section-tag, .card-label, .timeline-tag, .update-tag, .light-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--primary-light);
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.light-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-title, .simple-state h1, .article-main h1, .detail-main h1, .page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-desc, .simple-state p, .detail-main p, .page-hero p, .section-head p, .path-info p, .page-panel p, .portal-card p, .detail-card p, .stat-card span, .article-content, .comment-item p {
    color: var(--text-sub);
    font-size: 16px;
}

.hero-note-box {
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-top: 24px;
    display: inline-block;
}

.hero-shell {
    padding: 96px 0 72px;
    background:
        radial-gradient(circle at top right, rgba(204, 139, 70, 0.16), transparent 32%),
        linear-gradient(180deg, #fff9f2 0%, #fffaf5 56%, #fffdf9 100%);
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.hero-main-block,
.hero-panel,
.search-panel,
.stats-panel,
.function-card,
.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-main-block {
    padding: 40px;
}

.hero-desc-lg {
    max-width: 760px;
    font-size: 18px;
}

.hero-note-wide {
    display: block;
    margin-top: 24px;
}

.hero-side-stack {
    display: grid;
    gap: 20px;
}

.hero-panel {
    padding: 28px;
}

.hero-panel h2,
.search-panel h2,
.stats-panel h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-panel p,
.search-panel p,
.stats-panel p,
.function-card p,
.platform-card p {
    color: var(--text-sub);
}

.hero-panel-accent {
    background: linear-gradient(135deg, #241a12 0%, #51331e 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero-panel-accent p,
.hero-panel-accent span,
.hero-panel-accent h2 {
    color: #fff;
}

.hero-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(204, 139, 70, 0.1);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
}

.home-stat-grid,
.metric-grid,
.function-grid,
.platform-grid {
    display: grid;
    gap: 16px;
}

.home-stat-grid,
.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-stat-grid {
    margin-top: 22px;
}

.home-stat-item {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-stat-item strong,
.metric-box strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
}

.home-stat-item span,
.metric-box span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
}

.quick-link-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffaf5;
}

.quick-link:hover {
    transform: translateY(-2px);
    border-color: rgba(204, 139, 70, 0.35);
    box-shadow: var(--shadow);
}

.quick-link-copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.quick-link-copy p {
    color: var(--text-sub);
    font-size: 14px;
}

.page-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
    margin-bottom: 32px;
}

.search-panel,
.stats-panel {
    padding: 28px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    min-width: 220px;
    height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-main);
}

.search-input:focus {
    border-color: rgba(204, 139, 70, 0.55);
    box-shadow: 0 0 0 4px rgba(204, 139, 70, 0.12);
}

.metric-box {
    padding: 18px 16px;
    border-radius: 18px;
    background: #fffaf5;
    border: 1px solid var(--line);
}

.metric-note {
    margin-top: 16px;
}

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

.function-card,
.platform-card {
    padding: 28px;
}

.function-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.function-card h3,
.platform-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

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

/* Buttons */
.btn, .text-link, .pager-link, .tab-btn {
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-lg {
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(204, 139, 70, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(204, 139, 70, 0.35);
}

.btn-secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.hero-actions, .hero-actions-center, .section-actions, .cta-actions {
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-actions-center, .section-actions {
    justify-content: center;
}

.breadcrumb-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--text-sub);
    font-size: 14px;
}

.breadcrumb-bar a {
    color: var(--primary-dark);
}

.breadcrumb-bar span:last-child {
    color: var(--text-main);
}

.muted-section {
    background: linear-gradient(180deg, rgba(204, 139, 70, 0.06) 0%, rgba(255, 250, 245, 0.9) 100%);
}

.meta-list {
    margin: 18px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--text-sub);
    line-height: 1.7;
}

.meta-list strong {
    color: var(--text-main);
}

/* Layouts */
.section-block, .features-section, .path-section, .updates-section, .cta-section {
    padding: 60px 0;
}

.section-head {
    margin-bottom: 40px;
}

.section-head.text-center {
    text-align: center;
}

.section-head h2, .path-info h2, .page-panel h2, .detail-card h3, .stat-card h3, .portal-card h3, .feature-card-item h3, .cta-box h2, .article-side h2, .footer-grid h3 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
}

.portal-grid, .feature-cards-grid, .updates-grid, .gallery-grid, .detail-grid, .page-metrics, .footer-grid, .culture-grid, .about-grid, .memorial-grid, .story-grid-list {
    display: grid;
    gap: 24px;
}

.portal-grid, .culture-grid, .about-grid, .feature-cards-grid, .updates-grid, .memorial-grid, .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.story-grid-list, .detail-grid-two, .page-metrics {
    grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.portal-card, .feature-card-item, .path-step, .update-card, .detail-card, .stat-card, .gallery-card, .page-panel, .cta-box, .tab-shell, .article-main, .article-side > .page-panel, .channel-main, .channel-side > .page-panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portal-card:hover, .feature-card-item:hover, .path-step:hover, .update-card:hover, .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(204, 139, 70, 0.3);
}

.portal-card, .update-card, .gallery-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body, .gallery-body, .feature-card-item, .path-step, .detail-card, .page-panel, .stat-card, .update-card-body {
    padding: 24px;
}

.update-card-body {
    flex: 1;
}

.update-card-foot {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    background: #fafaf9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-sub);
    font-size: 13px;
}

.update-card-foot svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.update-card h3 {
    font-size: 18px;
    margin: 12px 0 8px;
    color: var(--text-main);
}

.update-card p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image Covers */
.card-cover, .gallery-image, .detail-cover {
    position: relative;
    background: #f5f0eb;
    overflow: hidden;
}

.card-cover {
    aspect-ratio: 4/3;
}

.card-cover img, .gallery-image img, .detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portal-card:hover .card-cover img {
    transform: scale(1.05);
}

.empty-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
    background: var(--primary-light);
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.card-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-sub);
}

/* Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

/* Path Steps */
.path-grid {
    align-items: stretch;
    gap: 40px;
}

.path-info {
    flex: 1;
}

.path-steps {
    flex: 1.5;
    display: grid;
    gap: 20px;
}

.path-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-main);
}

/* Article & Content */
.article-main, .channel-main {
    padding: 40px;
}

.article-side, .channel-side, .detail-side {
    width: 320px;
    flex-shrink: 0;
}

.article-layout {
    align-items: flex-start;
    gap: 32px;
}

.rich-content {
    line-height: 1.8;
    font-size: 16px;
}

.rich-content img {
    border-radius: 12px;
    margin: 20px 0;
}

.article-head-meta {
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.legal-shell {
    max-width: 920px;
    margin: 0 auto;
}

.legal-panel {
    padding: 36px 40px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.image-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.side-links {
    display: grid;
    gap: 12px;
}

.side-links a,
.side-link-card {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fffaf5;
}

.side-links a:hover,
.side-link-card:hover,
.quick-link.is-active {
    border-color: rgba(204, 139, 70, 0.35);
    box-shadow: var(--shadow);
}

.side-link-card strong {
    display: block;
    margin-bottom: 6px;
}

.side-link-card span {
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.6;
}

.tab-head {
    flex-wrap: wrap;
    padding: 8px;
    border-bottom: 1px solid var(--line);
}

.tab-btn {
    border: none;
    background: transparent;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--text-sub);
    font-weight: 600;
}

.tab-btn.is-active,
.tab-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.tab-panel {
    display: none;
    padding: 24px;
}

.tab-panel.is-active {
    display: block;
}

.timeline-stream,
.comment-wall {
    display: grid;
    gap: 16px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 18px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(204, 139, 70, 0.15);
}

.timeline-card,
.comment-item {
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.timeline-head,
.comment-head,
.comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-head span,
.comment-head a,
.comment-head span,
.comment-foot span {
    color: var(--text-sub);
    font-size: 13px;
}

.timeline-card p,
.comment-item p {
    margin-top: 12px;
}

.manual-detail-main {
    display: grid;
    gap: 18px;
}

.manual-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.manual-block {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
}

.manual-block h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-main);
}

.manual-block p {
    color: var(--text-sub);
    line-height: 1.8;
}

.manual-block-warn {
    background: #fff9f2;
    border-color: #f2d9bb;
}

.manual-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.manual-list li {
    color: var(--text-sub);
    line-height: 1.7;
}

.manual-rich-content {
    white-space: normal;
    line-height: 1.9;
}

/* Help Layout */
.help-nav-item:hover, .help-nav-item.is-active {
    background: var(--primary-light);
    color: var(--primary-dark) !important;
    font-weight: 500;
}

.help-list-item:hover .help-item-title {
    color: var(--primary);
}

.help-list-item:hover .help-item-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* Pagination */
.pagination-wrap {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.page-item a, .page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text-main);
}

.page-item.active span, .page-item a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-item.disabled span {
    opacity: 0.5;
    background: #f5f5f5;
}

.pager-info {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-sub);
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 48px;
    border-radius: 32px;
    justify-content: space-between;
}

.cta-box h2, .cta-box p {
    color: #fff;
}

.cta-box .btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.cta-box .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
}

/* Footer */
.site-footer {
    background: #241a12;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    margin-top: auto;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    justify-content: space-between;
}

.empty-box {
    padding: 60px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    color: var(--text-sub);
}

/* Responsive */
@media (max-width: 1024px) {
    .portal-grid, .feature-cards-grid, .updates-grid, .gallery-grid, .culture-grid, .about-grid, .memorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-split,
    .page-tools,
    .platform-grid,
    .function-grid {
        grid-template-columns: 1fr;
    }
    .article-layout, .path-grid, .cta-box {
        flex-direction: column;
    }
    .article-side, .channel-side, .detail-side {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .portal-grid, .feature-cards-grid, .updates-grid, .gallery-grid, .culture-grid, .about-grid, .memorial-grid, .story-grid-list, .detail-grid-two {
        grid-template-columns: 1fr;
    }
    .image-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-block,
    .hero-panel,
    .search-panel,
    .stats-panel,
    .function-card,
    .platform-card {
        padding: 22px;
    }
    .home-stat-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        position: relative;
    }
    .menu-toggle {
        display: block;
    }
    .site-nav {
        display: none;
    }
    .site-nav.is-open {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open a {
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
    }
    .hero-title {
        font-size: 32px;
    }
    .section-block {
        padding: 40px 0;
    }
    .manual-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium brand refresh */
:root {
    --primary: #8b6444;
    --primary-dark: #6f4e34;
    --primary-light: #f4e9db;
    --text-main: #221913;
    --text-sub: #64564a;
    --line: rgba(92, 64, 42, 0.16);
    --bg-main: #f5eee6;
    --bg-card: rgba(255, 252, 248, 0.94);
    --shadow: 0 10px 28px rgba(48, 33, 21, 0.05);
    --shadow-hover: 0 18px 38px rgba(48, 33, 21, 0.08);
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

body {
    background:
        radial-gradient(circle at top, rgba(185, 151, 119, 0.1), transparent 34%),
        linear-gradient(180deg, #f8f3ed 0%, #f5eee6 55%, #f7f2ed 100%);
    color: var(--text-main);
    font: 15px/1.75 var(--font-body);
}

.hero-title,
.simple-state h1,
.article-main h1,
.detail-main h1,
.page-hero h1,
.section-head h2,
.path-info h2,
.page-panel h2,
.cta-box h2,
.article-side h2,
.detail-card h3,
.stat-card h3,
.portal-card h3,
.feature-card-item h3,
.platform-card h3,
.editorial-card h3,
.heritage-mini-card h3 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.hero-title {
    font-size: clamp(40px, 5.4vw, 66px);
    line-height: 1.02;
    max-width: 12ch;
}

.section-head h2,
.path-info h2,
.page-panel h2,
.cta-box h2,
.article-side h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.detail-card h3,
.stat-card h3,
.portal-card h3,
.feature-card-item h3,
.platform-card h3,
.editorial-card h3,
.heritage-mini-card h3 {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.18;
}

.section-block,
.features-section,
.path-section,
.updates-section,
.cta-section {
    padding: 76px 0;
}

.section-head {
    margin-bottom: 42px;
    max-width: 760px;
}

.section-head p {
    max-width: 720px;
}

.section-head.text-center {
    max-width: none;
}

.section-head.text-center p {
    margin: 0 auto;
}

.eyebrow,
.section-tag,
.card-label,
.timeline-tag,
.update-tag,
.light-tag {
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(139, 100, 68, 0.16);
    background: rgba(244, 233, 219, 0.86);
    color: var(--primary-dark);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
}

.light-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.topbar {
    background: rgba(248, 243, 237, 0.74);
    border-bottom: 1px solid rgba(92, 64, 42, 0.08);
    color: rgba(100, 86, 74, 0.78);
}

.topbar-inner {
    min-height: 46px;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(139, 100, 68, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-dark);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar-meta {
    color: rgba(100, 86, 74, 0.68);
}

.site-header {
    background: rgba(248, 243, 237, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(92, 64, 42, 0.12);
}

.header-inner {
    min-height: 88px;
}

.brand {
    gap: 16px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #231914 0%, #79573b 100%);
    box-shadow: 0 14px 28px rgba(63, 43, 28, 0.24);
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.08em;
}

.brand-text strong {
    font-size: 20px;
}

.brand-text em {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(100, 86, 74, 0.86);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.site-nav {
    flex: none;
    gap: 6px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #5e5146;
    font-size: 14px;
    font-weight: 500;
}

.site-nav a.is-current,
.site-nav a:hover {
    color: var(--text-main);
    background: rgba(139, 100, 68, 0.1);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(111, 78, 52, 0.22);
}

.header-cta:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 16px 30px rgba(111, 78, 52, 0.28);
}

.menu-toggle span {
    background: var(--text-main);
}

.premium-hero {
    position: relative;
    padding: 104px 0 82px;
    background:
        radial-gradient(circle at top right, rgba(139, 100, 68, 0.035), transparent 22%),
        radial-gradient(circle at bottom left, rgba(110, 85, 56, 0.025), transparent 24%);
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: start;
}

.hero-copy,
.hero-ledger-card,
.heritage-copy,
.heritage-step-copy,
.heritage-mini-card {
    border: 1px solid rgba(92, 64, 42, 0.12);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: 46px 48px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.98) 0%, rgba(252, 247, 241, 0.96) 100%);
}

.hero-copy::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 100, 68, 0.04) 0%, rgba(139, 100, 68, 0) 72%);
    pointer-events: none;
}

.hero-desc-lg {
    max-width: 760px;
    font-size: 18px;
}

.home-hero-title {
    font-family: var(--font-body);
    font-size: clamp(26px, 3.9vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    max-width: 8.2ch;
    letter-spacing: -0.05em;
    color: #2d2119;
    text-wrap: balance;
}

.home-hero-desc {
    max-width: 33rem;
    font-size: 17px;
    line-height: 1.78;
}

.hero-story-block {
    margin-top: 28px;
    padding-left: 18px;
    border-left: 2px solid rgba(139, 100, 68, 0.2);
}

.hero-story-block p {
    color: var(--text-sub);
    font-size: 17px;
}

.home-hero-note {
    margin-top: 20px;
}

.home-hero-note p {
    font-size: 15px;
    line-height: 1.72;
}

.hero-pill-list {
    margin-top: 30px;
}

.hero-pill {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(139, 100, 68, 0.12);
    background: rgba(139, 100, 68, 0.06);
    color: #5b422e;
}

.home-trust-pills {
    margin-top: 22px;
}

.hero-search-form {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(92, 64, 42, 0.1);
}

.home-hero-actions {
    margin-top: 24px;
}

.search-input {
    height: 54px;
    border-color: rgba(92, 64, 42, 0.14);
    background: rgba(255, 255, 255, 0.86);
}

.hero-ledger {
    display: grid;
    gap: 18px;
}

.hero-ledger-card {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 251, 247, 0.84);
}

.hero-ledger-card h2 {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.18;
    margin-bottom: 10px;
}

.hero-ledger-card p {
    color: var(--text-sub);
}

.hero-ledger-card-dark {
    background: linear-gradient(135deg, #1f1712 0%, #4a3627 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.hero-ledger-card-dark h2,
.hero-ledger-card-dark p,
.hero-ledger-card-dark span {
    color: #fff;
}

.home-hero-ledger {
    gap: 20px;
}

.home-hero-copy {
    padding: 18px 0 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.home-hero-copy::after {
    display: none;
}

.home-trust-pills .hero-pill {
    min-height: 34px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(139, 100, 68, 0.1);
    font-size: 12px;
}

.hero-archive-card {
    background: linear-gradient(180deg, rgba(250, 244, 237, 0.98) 0%, rgba(247, 240, 232, 0.96) 100%);
}

.hero-archive-card h2,
.hero-path-card h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.16;
}

.hero-archive-intro {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.home-stat-grid-soft {
    margin-top: 20px;
}

.home-stat-grid-soft .home-stat-item {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(139, 100, 68, 0.12);
    box-shadow: none;
}

.home-stat-grid-soft .home-stat-item strong {
    color: var(--primary-dark);
}

.home-stat-grid-soft .home-stat-item span {
    color: var(--text-sub);
}

.home-archive-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
}

.hero-path-card {
    background: rgba(255, 252, 248, 0.96);
}

.hero-route-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.route-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(92, 64, 42, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 246, 240, 0.92) 100%);
}

.route-link:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 100, 68, 0.22);
    box-shadow: 0 16px 34px rgba(48, 33, 21, 0.1);
}

.route-link-copy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
}

.route-link-copy p {
    margin: 0;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.7;
}

.editorial-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
}

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

.editorial-card {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 251, 247, 0.82);
    border: 1px solid rgba(92, 64, 42, 0.12);
    box-shadow: var(--shadow);
}

.editorial-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 30px;
    border-radius: 999px;
    background: rgba(139, 100, 68, 0.08);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.editorial-card .feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin-bottom: 18px;
}

.heritage-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 28px;
    align-items: start;
}

.heritage-copy {
    padding: 40px 42px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.96) 0%, rgba(247, 239, 231, 0.92) 100%);
}

.heritage-side-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.heritage-mini-card {
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.heritage-mini-card h3 {
    font-size: 24px;
    margin: 10px 0;
}

.heritage-steps {
    display: grid;
    gap: 18px;
}

.heritage-step {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.heritage-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #2b2018 0%, #7c5b40 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 26px;
}

.heritage-step-copy {
    padding: 24px 26px;
    border-radius: 28px;
    background: rgba(255, 251, 247, 0.84);
}

.heritage-step-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 19px;
    color: var(--text-main);
}

.premium-platform-grid {
    gap: 22px;
}

.platform-card {
    padding: 32px;
    border-radius: 30px;
    background: rgba(255, 251, 247, 0.82);
}

.platform-card-emphasis {
    background: linear-gradient(135deg, rgba(255, 249, 243, 0.98) 0%, rgba(244, 233, 219, 0.88) 100%);
}

.platform-card h3 {
    font-size: 28px;
}

.portal-card,
.feature-card-item,
.path-step,
.update-card,
.detail-card,
.stat-card,
.gallery-card,
.page-panel,
.cta-box,
.tab-shell,
.article-main,
.article-side > .page-panel,
.channel-main,
.channel-side > .page-panel {
    background: rgba(255, 252, 248, 0.92);
    border: 1px solid rgba(92, 64, 42, 0.12);
    box-shadow: var(--shadow);
    border-radius: 30px;
}

.portal-card:hover,
.feature-card-item:hover,
.path-step:hover,
.update-card:hover,
.gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 100, 68, 0.2);
    box-shadow: var(--shadow-hover);
}

.card-body,
.gallery-body,
.feature-card-item,
.path-step,
.detail-card,
.page-panel,
.stat-card,
.update-card-body {
    padding: 26px;
}

.article-meta,
.meta-inline,
.detail-meta {
    color: var(--text-sub);
}

.article-meta {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-cover,
.gallery-image,
.detail-cover,
.detail-portrait {
    background: linear-gradient(180deg, #ece0d2 0%, #f5ecdf 100%);
}

.detail-portrait,
.detail-cover {
    overflow: hidden;
}

.detail-portrait {
    aspect-ratio: 4 / 4.9;
    border-radius: 32px;
    border: 1px solid rgba(92, 64, 42, 0.12);
    box-shadow: var(--shadow);
}

.detail-stage {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.detail-main-premium {
    padding-top: 10px;
}

.detail-main-premium h1 {
    max-width: 12ch;
}

.detail-lead {
    max-width: 760px;
    font-size: 18px;
    color: var(--text-sub);
}

.detail-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.detail-meta-block {
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(92, 64, 42, 0.12);
    background: rgba(255, 252, 248, 0.74);
}

.detail-meta-block span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-sub);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-meta-block strong {
    font-size: 18px;
    color: var(--text-main);
}

.detail-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.stat-card-inline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px 24px;
}

.stat-card-inline strong {
    display: block;
    min-width: 52px;
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 0.9;
}

.stat-card-inline h3 {
    margin-bottom: 6px;
}

.detail-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 24px;
}

.detail-card-story,
.detail-card-facts {
    padding: 34px 36px;
}

.detail-rich-copy {
    color: var(--text-sub);
    font-size: 16px;
    line-height: 1.92;
}

.memorial-meta-list {
    margin-top: 18px;
    padding-left: 0;
    list-style: none;
    gap: 0;
}

.memorial-meta-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(92, 64, 42, 0.1);
}

.memorial-meta-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.memorial-section .section-head {
    max-width: 720px;
}

.memorial-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.story-stack-card .card-body {
    padding: 28px;
}

.timeline-stream {
    max-width: 920px;
}

.timeline-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    margin-top: 20px;
    background: var(--primary);
    box-shadow: 0 0 0 10px rgba(139, 100, 68, 0.12);
}

.timeline-card,
.comment-item {
    border-radius: 24px;
    border: 1px solid rgba(92, 64, 42, 0.12);
    background: rgba(255, 252, 248, 0.8);
}

.comment-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cta-box {
    background: linear-gradient(135deg, #241b15 0%, #76553a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 36px;
}

.btn {
    height: 50px;
    padding: 0 24px;
}

.btn-lg {
    height: 56px;
    padding: 0 32px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(111, 78, 52, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7f5b3b 0%, #62432d 100%);
    box-shadow: 0 16px 28px rgba(111, 78, 52, 0.24);
}

.btn-secondary {
    background: rgba(255, 252, 248, 0.86);
    border-color: rgba(92, 64, 42, 0.12);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: #f7efe5;
    border-color: rgba(139, 100, 68, 0.24);
}

.text-link {
    color: var(--primary-dark);
    font-weight: 600;
}

.text-link:hover {
    color: var(--text-main);
}

.site-footer {
    margin-top: auto;
    padding: 78px 0 30px;
    background: #17110d;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .brand-text strong {
    color: #fff;
}

.site-footer .brand-text em {
    color: rgba(255, 255, 255, 0.42);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: start;
}

.footer-intro p {
    max-width: 460px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.66);
}

.footer-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-badge-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-column h3 {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.page-tools-shell {
    padding-top: 0;
}

.resource-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.resource-overview-card,
.resource-feature-card,
.resource-topics-card,
.editorial-detail-main,
.editorial-detail-side > .page-panel {
    background: rgba(255, 252, 248, 0.9);
}

.resource-note-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.resource-note {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(139, 100, 68, 0.08);
    border: 1px solid rgba(139, 100, 68, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
}

.resource-library-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.resource-library-main-wide,
.resource-library-main {
    min-width: 0;
}

.resource-topics-card {
    position: sticky;
    top: 104px;
}

.topic-stack {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.topic-link-pill {
    display: grid;
    gap: 4px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(92, 64, 42, 0.1);
    background: rgba(255, 248, 241, 0.7);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.topic-link-pill strong {
    font-size: 15px;
}

.topic-link-pill span {
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.7;
}

.topic-link-pill:hover,
.topic-link-pill.is-active {
    border-color: rgba(139, 100, 68, 0.22);
    background: rgba(244, 233, 219, 0.92);
    box-shadow: var(--shadow);
}

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

.resource-article-card {
    display: grid;
    gap: 14px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(92, 64, 42, 0.12);
    background: rgba(255, 252, 248, 0.92);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.resource-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 100, 68, 0.24);
    box-shadow: var(--shadow-hover);
}

.resource-article-card h3,
.resource-article-card p {
    margin: 0;
}

.resource-article-card p {
    color: var(--text-sub);
}

.resource-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed rgba(92, 64, 42, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.resource-date {
    color: var(--text-sub);
    font-weight: 500;
}

.resource-pager {
    margin-top: 34px;
    justify-content: center;
}

.editorial-detail-section {
    padding-top: 42px;
}

.editorial-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.editorial-detail-main {
    padding: 40px;
}

.editorial-detail-main h1 {
    margin-bottom: 16px;
}

.editorial-detail-side {
    display: grid;
    gap: 20px;
}

.editorial-detail-side > .page-panel {
    position: static;
}

.editorial-detail-side h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.12;
}

.editorial-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
    margin-bottom: 32px;
}

.article-prose {
    display: grid;
    gap: 18px;
    color: var(--text-main);
}

.article-prose p,
.article-prose li {
    color: var(--text-sub);
    line-height: 1.9;
}

.article-prose h2 {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.18;
    color: var(--text-main);
}

.article-prose ul,
.article-prose ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.article-prose img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 8px 0;
}

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

    .memorial-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-stage,
    .heritage-shell,
    .detail-lead-grid,
    .editorial-grid,
    .resource-overview-grid,
    .resource-library-layout,
    .editorial-detail-shell {
        grid-template-columns: 1fr;
    }

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

    .comment-stack {
        grid-template-columns: 1fr;
    }

    .detail-meta-strip,
    .detail-stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-stage {
        grid-template-columns: 1fr;
    }

    .resource-topics-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .header-actions {
        gap: 10px;
    }

    .header-cta {
        min-height: 42px;
        padding: 0 16px;
        font-size: 14px;
    }

    .site-nav.is-open {
        top: calc(100% + 10px);
        border-radius: 18px;
        background: rgba(255, 251, 247, 0.98);
    }

    .hero-copy,
    .hero-ledger-card,
    .heritage-copy,
    .detail-card-story,
    .detail-card-facts,
    .platform-card {
        padding: 26px;
    }

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

    .home-hero-title {
        font-size: clamp(30px, 8vw, 42px);
        max-width: 10ch;
    }

    .detail-meta-strip,
    .detail-stat-row,
    .footer-nav-grid,
    .memorial-gallery-grid,
    .resource-card-grid,
    .editorial-meta-strip {
        grid-template-columns: 1fr;
    }

    .detail-stage {
        grid-template-columns: 1fr;
    }

    .stat-card-inline {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .resource-article-card,
    .editorial-detail-main {
        padding: 24px;
    }

    .footer-bottom-meta {
        gap: 8px;
    }
}

/* Home refinement April 2026 */
:root {
    --primary: #8a6647;
    --primary-dark: #5f4530;
    --primary-light: #f1e8df;
    --text-main: #231912;
    --text-sub: #65584d;
    --line: rgba(72, 52, 36, 0.12);
    --bg-main: #f6f1ea;
    --bg-card: rgba(255, 252, 248, 0.94);
    --shadow: 0 18px 40px rgba(39, 28, 20, 0.04);
    --shadow-hover: 0 22px 50px rgba(39, 28, 20, 0.08);
}

body {
    background: #f8f5f0;
    color: var(--text-main);
}

.topbar {
    background: transparent;
    border-bottom: 1px solid rgba(72, 52, 36, 0.08);
}

.topbar-inner {
    min-height: 38px;
}

.topbar-links,
.topbar-meta {
    gap: 10px;
}

.topbar-chip {
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border-color: rgba(72, 52, 36, 0.1);
    background: transparent;
    color: rgba(95, 69, 48, 0.9);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.topbar-links span:last-child,
.topbar-meta {
    color: rgba(101, 88, 77, 0.74);
}

.site-header {
    background: rgba(250, 247, 242, 0.84);
    border-bottom: 1px solid rgba(72, 52, 36, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
}

.brand {
    gap: 14px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #34261d;
    box-shadow: none;
    font-size: 18px;
}

.brand-text strong {
    font-size: 18px;
    font-weight: 600;
}

.brand-text em {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(101, 88, 77, 0.9);
}

.site-nav {
    gap: 18px;
}

.site-nav a {
    position: relative;
    padding: 0 0 8px;
    border-radius: 0;
    background: transparent;
    color: rgba(95, 81, 70, 0.88);
    font-size: 14px;
    font-weight: 500;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a.is-current,
.site-nav a:hover {
    color: var(--text-main);
    background: transparent;
}

.site-nav a.is-current::after,
.site-nav a:hover::after {
    opacity: 0.28;
    transform: scaleX(1);
}

.header-cta,
.btn-primary {
    background: #34261d;
    box-shadow: none;
}

.header-cta:hover,
.btn-primary:hover {
    background: #251b14;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 253, 250, 0.78);
    border-color: rgba(72, 52, 36, 0.12);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: rgba(245, 238, 230, 0.94);
}

.site-footer {
    padding: 68px 0 28px;
    background: transparent;
    border-top: 1px solid rgba(72, 52, 36, 0.08);
    color: var(--text-sub);
}

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

.site-footer .brand-text em,
.footer-intro p,
.footer-bottom-meta {
    color: var(--text-sub);
}

.footer-badge-row span {
    background: transparent;
    border: 1px solid rgba(72, 52, 36, 0.1);
    color: var(--primary-dark);
}

.footer-column h3 {
    color: rgba(95, 69, 48, 0.64);
}

.footer-links a {
    color: var(--text-main);
}

.footer-links a:hover {
    color: var(--primary-dark);
    transform: none;
}

.footer-bottom {
    border-top: 1px solid rgba(72, 52, 36, 0.08);
}

.home-hero-v2 {
    position: relative;
    padding: 82px 0 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(circle at 82% 12%, rgba(138, 102, 71, 0.08), transparent 24%);
}

.home-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: 64px;
    align-items: start;
}

.home-hero-main {
    min-width: 0;
}

.home-hero-intro {
    max-width: 690px;
    padding-top: 28px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-hero-v2 h1 {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    max-width: 10ch;
    text-wrap: balance;
}

.home-hero-summary {
    max-width: 33rem;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.78;
    color: #493c31;
}

.home-hero-secondary {
    max-width: 38rem;
    margin-top: 14px;
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.84;
}

.home-hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero-guides {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(72, 52, 36, 0.1);
}

.home-guide-pill {
    position: relative;
    padding-left: 14px;
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.7;
}

.home-guide-pill::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(138, 102, 71, 0.5);
}

.home-hero-rail {
    min-width: 0;
}

.home-archive-panel,
.home-nav-panel {
    padding: 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    background: rgba(252, 249, 245, 0.82);
    box-shadow: var(--shadow);
}

.home-panel-label {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    color: rgba(95, 69, 48, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-archive-panel h2,
.home-nav-panel h3 {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.home-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(72, 52, 36, 0.08);
    background: rgba(255, 253, 250, 0.92);
}

.home-metric-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 122px;
    padding: 20px 18px;
    border-right: 1px solid rgba(72, 52, 36, 0.08);
}

.home-metric-card:last-child {
    border-right: none;
}

.home-metric-card strong {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 0.9;
    color: var(--text-main);
}

.home-metric-card span {
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.65;
}

.home-archive-action {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
}

.home-nav-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.home-nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 16px 0;
    border-top: 1px solid rgba(72, 52, 36, 0.08);
}

.home-nav-item:first-child {
    padding-top: 0;
    border-top: none;
}

.home-nav-item strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.16;
}

.home-nav-item p {
    margin: 0;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.72;
}

.home-nav-item span {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.home-hero-lower {
    display: grid;
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    gap: 24px;
    margin-top: 28px;
    align-items: stretch;
}

.home-search-shelf {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    background: rgba(252, 249, 245, 0.82);
    box-shadow: var(--shadow);
}

.home-search-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.home-search-copy p {
    margin-top: 6px;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.72;
}

.home-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-search-form .search-input {
    height: 52px;
    border-radius: 16px;
    border-color: rgba(72, 52, 36, 0.12);
    background: rgba(255, 252, 248, 0.92);
}

.home-search-form .btn {
    justify-self: start;
}

.home-nav-panel-inline .home-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.home-nav-panel-inline .home-nav-item {
    min-height: 118px;
    padding: 0 0 18px;
    align-items: start;
    border-top: none;
    border-bottom: 1px solid rgba(72, 52, 36, 0.08);
}

.home-nav-panel-inline .home-nav-item:nth-last-child(-n+2) {
    padding-bottom: 0;
    border-bottom: none;
}

.home-nav-panel-inline .home-nav-item span {
    align-self: end;
}

.home-values-section,
.home-memorial-section,
.home-framework-section,
.home-updates-section {
    padding: 74px 0;
}

.home-values-section {
    border-top: 1px solid rgba(72, 52, 36, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.home-section-head {
    margin-bottom: 34px;
}

.home-section-head .section-tag {
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(95, 69, 48, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-section-head h2 {
    max-width: 14ch;
    font-size: clamp(30px, 3.5vw, 44px);
}

.home-section-head.text-center h2 {
    margin-left: auto;
    margin-right: auto;
}

.home-section-head p {
    max-width: 44rem;
    color: var(--text-sub);
    font-size: 16px;
    line-height: 1.84;
}

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

.home-value-card {
    padding-top: 20px;
    border-top: 1px solid rgba(72, 52, 36, 0.12);
}

.home-value-index,
.home-step-number {
    display: inline-flex;
    align-items: center;
    color: rgba(95, 69, 48, 0.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-value-card h3,
.home-step-card h3,
.home-platform-card h3,
.home-update-card h3,
.home-memorial-card h3 a {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.home-value-card h3 {
    margin-top: 14px;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.16;
    max-width: 10ch;
}

.home-value-card p {
    margin-top: 12px;
    max-width: 21rem;
    color: var(--text-sub);
    line-height: 1.84;
}

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

.home-memorial-card {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    background: rgba(255, 252, 248, 0.9);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-memorial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(95, 69, 48, 0.18);
    box-shadow: var(--shadow-hover);
}

.home-memorial-cover {
    aspect-ratio: 1 / 0.84;
    border-radius: 0;
    background: linear-gradient(180deg, #eadfd2 0%, #f3ebe1 100%);
}

.home-memorial-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-memorial-card .card-body {
    padding: 22px 22px 24px;
}

.home-memorial-card h3 {
    margin-top: 10px;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.14;
}

.home-memorial-card p {
    margin-top: 12px;
}

.home-framework-section {
    background: linear-gradient(180deg, rgba(239, 231, 221, 0.42) 0%, rgba(239, 231, 221, 0.14) 100%);
}

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

.home-step-card,
.home-platform-card {
    border-radius: 28px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    background: rgba(255, 252, 248, 0.88);
    box-shadow: var(--shadow);
}

.home-step-card {
    padding: 28px 28px 30px;
}

.home-step-card h3 {
    margin-top: 14px;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.16;
}

.home-step-card p {
    margin-top: 12px;
    color: var(--text-sub);
    line-height: 1.84;
}

.home-platform-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.home-platform-card {
    padding: 28px 30px 30px;
}

.home-platform-card-strong {
    background: linear-gradient(135deg, rgba(246, 239, 231, 0.96) 0%, rgba(234, 223, 212, 0.86) 100%);
}

.home-platform-card h3 {
    margin-top: 12px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    max-width: 11ch;
}

.home-platform-card p {
    margin-top: 12px;
    color: var(--text-sub);
    line-height: 1.84;
}

.home-updates-section {
    border-top: 1px solid rgba(72, 52, 36, 0.08);
}

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

.home-update-card {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 250px;
    padding: 24px 0;
    border-top: 1px solid rgba(72, 52, 36, 0.12);
    color: var(--text-main);
}

.home-update-card h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.18;
}

.home-update-card p {
    color: var(--text-sub);
    line-height: 1.8;
}

.home-updates-section .empty-box {
    padding: 38px 32px;
    background: rgba(255, 252, 248, 0.72);
    border-style: solid;
    border-color: rgba(72, 52, 36, 0.08);
    box-shadow: none;
}

.update-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(72, 52, 36, 0.08);
    color: var(--primary-dark);
}

.update-card-foot svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1200px) {
    .home-hero-shell,
    .home-hero-lower {
        grid-template-columns: 1fr;
    }

    .home-hero-intro {
        max-width: none;
    }

    .home-values-grid,
    .home-framework-grid,
    .home-update-grid,
    .home-memorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .home-hero-shell {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .home-metric-grid,
    .home-platform-row,
    .home-values-grid,
    .home-framework-grid,
    .home-update-grid,
    .home-memorial-grid {
        grid-template-columns: 1fr;
    }

    .home-metric-card {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(72, 52, 36, 0.08);
    }

    .home-metric-card:last-child {
        border-bottom: none;
    }

    .home-nav-panel-inline .home-nav-list {
        grid-template-columns: 1fr;
    }

    .home-nav-panel-inline .home-nav-item:nth-last-child(-n+2) {
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(72, 52, 36, 0.08);
    }

    .home-nav-panel-inline .home-nav-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .header-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .brand-text em {
        display: none;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .site-nav.is-open {
        padding: 12px;
        background: rgba(255, 251, 247, 0.98);
        border-radius: 18px;
    }

    .site-nav.is-open a {
        padding: 10px 14px;
        border-radius: 12px;
        background: rgba(244, 236, 228, 0.72);
    }

    .site-nav.is-open a::after {
        display: none;
    }

    .home-hero-v2 {
        padding: 54px 0 24px;
    }

    .home-hero-v2 h1 {
        font-size: clamp(34px, 10vw, 46px);
        max-width: 10ch;
    }

    .home-archive-panel,
    .home-nav-panel,
    .home-search-shelf,
    .home-step-card,
    .home-platform-card {
        padding: 24px;
    }

    .home-search-form {
        grid-template-columns: 1fr;
    }

    .home-nav-item {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-hero-lower {
        margin-top: 22px;
    }
}

/* Homepage cinematic rebuild */
.home-cinematic-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
    background: #211811;
    color: #fff;
}

.home-banner-stage,
.home-banner-slide,
.home-banner-scrim {
    position: absolute;
    inset: 0;
}

.home-banner-stage {
    z-index: -3;
}

.home-banner-slide {
    margin: 0;
    opacity: 0;
    animation: homeBannerFade 24s infinite;
}

.home-banner-slide-1 {
    opacity: 1;
}

.home-banner-slide-2 {
    animation-delay: 8s;
}

.home-banner-slide-3 {
    animation-delay: 16s;
}

.home-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: homeBannerDrift 24s infinite ease-in-out;
}

.home-banner-slide-2 img {
    object-position: center;
}

.home-banner-slide-3 img {
    object-position: center;
}

.home-banner-scrim {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(27, 19, 13, 0.92) 0%, rgba(36, 25, 17, 0.72) 34%, rgba(36, 25, 17, 0.28) 64%, rgba(36, 25, 17, 0.12) 100%),
        linear-gradient(180deg, rgba(17, 12, 8, 0.24) 0%, rgba(17, 12, 8, 0.12) 42%, rgba(17, 12, 8, 0.62) 100%);
}

.home-banner-content {
    position: relative;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 64px;
    align-items: end;
    padding-top: 82px;
    padding-bottom: 74px;
}

.home-banner-copy {
    max-width: 650px;
}

.home-kicker,
.home-section-label {
    display: inline-flex;
    align-items: center;
    color: rgba(138, 102, 71, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-cinematic-hero .home-kicker {
    color: rgba(255, 232, 205, 0.84);
}

.home-banner-copy h1 {
    margin-top: 18px;
    max-width: 12ch;
    font-family: var(--font-display);
    font-size: clamp(48px, 6.2vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.home-banner-copy p {
    max-width: 40rem;
    margin-top: 24px;
    color: rgba(255, 246, 236, 0.86);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.76;
}

.home-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-cinematic-hero .btn-primary {
    background: #fff8f0;
    color: #2e2117;
}

.home-cinematic-hero .btn-primary:hover {
    background: #fff;
}

.home-cinematic-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.home-cinematic-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.home-archive-summary {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(30, 22, 16, 0.48);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.home-archive-summary > span {
    display: block;
    color: rgba(255, 232, 205, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-archive-summary h2 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-archive-summary p {
    margin-top: 14px;
    color: rgba(255, 246, 236, 0.76);
    line-height: 1.74;
}

.home-archive-summary-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: end;
    margin-top: 20px;
}

.home-archive-summary-grid strong {
    font-family: var(--font-display);
    font-size: 74px;
    line-height: 0.84;
}

.home-archive-summary-grid p {
    color: rgba(255, 246, 236, 0.76);
    line-height: 1.7;
}

.home-archive-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.home-archive-mini div,
.home-archive-mini a {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.home-archive-mini a {
    color: rgba(255, 246, 236, 0.86);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.home-archive-mini a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.home-archive-mini strong,
.home-archive-mini span {
    display: block;
}

.home-archive-mini strong {
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1;
}

.home-archive-mini span {
    margin-top: 6px;
    color: rgba(255, 246, 236, 0.72);
    font-size: 12px;
    line-height: 1.55;
}

.home-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 72px;
    z-index: 2;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.home-banner-dots span {
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.34);
    animation: homeDotPulse 24s infinite;
}

.home-banner-dots span:nth-child(2) {
    animation-delay: 8s;
}

.home-banner-dots span:nth-child(3) {
    animation-delay: 16s;
}

.home-search-band {
    position: relative;
    z-index: 3;
    margin-top: -44px;
    padding-bottom: 36px;
}

.home-search-band-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 24px 30px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 30px;
    background: rgba(255, 252, 248, 0.96);
    box-shadow: 0 24px 70px rgba(46, 34, 24, 0.1);
}

.home-search-band h2 {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: clamp(25px, 2.35vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.home-search-form .search-input {
    height: 56px;
    border-radius: 18px;
    background: #fff;
}

.home-editorial-section,
.home-live-archive-section,
.home-featured-section,
.home-service-section,
.home-memorial-showcase,
.home-path-section,
.home-stories-section {
    padding: 88px 0;
}

.home-service-section {
    background: #fffaf4;
}

.home-trust-section {
    padding: 68px 0;
    background: #17211f;
    color: #fff;
}

.home-trust-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.home-trust-section .home-section-label {
    color: #d9eadf;
}

.home-trust-section h2 {
    max-width: 820px;
    margin-top: 12px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-trust-section p {
    max-width: 820px;
    margin-top: 16px;
    color: rgba(246, 250, 245, 0.78);
    font-size: 17px;
    line-height: 1.82;
}

.home-trust-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-trust-section .btn-primary {
    background: #fffdf9;
    color: var(--site-ink);
}

.home-trust-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
}

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

.home-service-card {
    display: grid;
    gap: 16px;
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 16px;
    background: rgba(255, 252, 248, 0.9);
    box-shadow: 0 18px 50px rgba(46, 34, 24, 0.08);
}

.home-service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(82, 107, 98, 0.24);
    box-shadow: 0 24px 62px rgba(22, 32, 30, 0.1);
}

.home-service-card span,
.service-step-card span {
    color: var(--site-sage);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-service-card h3 {
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
}

.home-service-card p {
    color: var(--text-sub);
    line-height: 1.78;
}

.home-service-card em {
    margin-top: auto;
    color: var(--site-sage);
    font-style: normal;
    font-weight: 800;
}

.home-live-archive-section {
    padding-top: 42px;
    background: #fbf7f1;
}

.home-live-archive-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.home-live-metrics {
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 28px;
    background: rgba(255, 252, 248, 0.92);
    box-shadow: 0 24px 70px rgba(46, 34, 24, 0.08);
}

.home-featured-section {
    background: linear-gradient(180deg, #fbf7f1 0%, #fffaf4 100%);
}

.home-featured-grid {
    margin-top: 10px;
}

.home-editorial-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 58px;
    align-items: start;
}

.home-editorial-intro h2,
.home-section-heading h2,
.home-path-copy h2,
.home-stories-section h2 {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.home-editorial-intro p,
.home-section-heading p,
.home-path-copy p,
.home-stories-section .home-section-heading p {
    margin-top: 18px;
    max-width: 46rem;
    color: var(--text-sub);
    font-size: 17px;
    line-height: 1.84;
}

.home-editorial-grid {
    display: grid;
    gap: 18px;
}

.home-editorial-grid article,
.home-path-list article,
.home-story-card {
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 28px;
    background: rgba(255, 252, 248, 0.88);
    box-shadow: var(--shadow);
}

.home-editorial-grid article {
    display: grid;
    grid-template-columns: 58px minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 26px 28px;
}

.home-editorial-grid article span,
.home-path-list article span {
    color: rgba(95, 69, 48, 0.7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-editorial-grid h3,
.home-path-list h3,
.home-story-card h3,
.home-memorial-body h3 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.home-editorial-grid h3 {
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.12;
}

.home-editorial-grid p,
.home-path-list p,
.home-story-card p,
.home-memorial-body p {
    color: var(--text-sub);
    line-height: 1.8;
}

.home-section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.home-section-heading.text-center {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-section-heading.text-center p {
    margin-right: auto;
    margin-left: auto;
}

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

.home-intent-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 24px;
}

.home-intent-card {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 32px;
    background: #241911;
    color: #fff;
    box-shadow: 0 24px 70px rgba(46, 34, 24, 0.12);
}

.home-intent-card::before,
.home-intent-card::after {
    content: "";
    position: absolute;
    inset: 0;
}

.home-intent-card::before {
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
}

.home-intent-card::after {
    background:
        linear-gradient(180deg, rgba(26, 18, 12, 0.06) 0%, rgba(26, 18, 12, 0.76) 100%),
        linear-gradient(90deg, rgba(26, 18, 12, 0.55) 0%, rgba(26, 18, 12, 0.08) 100%);
}

.home-intent-card:hover::before {
    transform: scale(1.045);
}

.home-intent-card-memorials::before {
    background-image: url("/seo-images/home-banner-archive.jpg");
}

.home-intent-card-stories::before {
    background-image: url("/seo-images/home-banner-keepsakes.jpg");
}

.home-intent-card-guidance::before {
    background-image: url("/seo-images/home-banner-lake.jpg");
}

.home-intent-card .home-memorial-body {
    position: relative;
    z-index: 1;
    padding: 30px;
}

.home-intent-card .home-section-label {
    color: rgba(255, 232, 205, 0.82);
}

.home-intent-card h3 {
    margin-top: 10px;
    color: #fff;
    font-size: clamp(32px, 3vw, 46px);
}

.home-intent-card p {
    max-width: 26rem;
    color: rgba(255, 246, 236, 0.78);
}

.home-intent-card em {
    display: inline-flex;
    margin-top: 18px;
    color: #fff;
    font-style: normal;
    font-weight: 800;
}

.home-memorial-card {
    overflow: hidden;
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 30px;
    background: rgba(255, 252, 248, 0.94);
    box-shadow: var(--shadow);
}

.home-memorial-cover {
    display: block;
    aspect-ratio: 1.16 / 1;
    overflow: hidden;
    background: #ece1d4;
}

.home-memorial-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-memorial-card:hover .home-memorial-cover img {
    transform: scale(1.04);
}

.home-memorial-cover.empty-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: 28px;
    text-align: center;
}

.home-memorial-body {
    padding: 24px;
}

.home-memorial-body h3 {
    margin-top: 10px;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.08;
}

.home-memorial-body p {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-path-section {
    background: linear-gradient(135deg, #241911 0%, #6b4e36 100%);
    color: #fff;
}

.home-path-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
    gap: 44px;
    align-items: center;
}

.home-path-copy .home-section-label {
    color: rgba(255, 232, 205, 0.82);
}

.home-path-copy p {
    color: rgba(255, 246, 236, 0.76);
}

.home-path-copy .btn-primary {
    margin-top: 30px;
    background: #fff8f0;
    color: #2e2117;
}

.home-path-list {
    display: grid;
    gap: 16px;
}

.home-path-list article {
    padding: 28px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.home-path-list article span {
    color: rgba(255, 232, 205, 0.68);
}

.home-path-list h3 {
    margin-top: 10px;
    color: #fff;
    font-size: clamp(25px, 2.8vw, 38px);
    line-height: 1.08;
}

.home-path-list p {
    margin-top: 10px;
    color: rgba(255, 246, 236, 0.74);
}

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

.home-story-card {
    display: grid;
    gap: 14px;
    min-height: 260px;
    padding: 28px;
}

.home-story-card h3 {
    font-size: clamp(24px, 2.7vw, 36px);
    line-height: 1.12;
}

.home-story-card em {
    margin-top: auto;
    color: var(--primary-dark);
    font-style: normal;
    font-weight: 700;
}

.home-empty-story {
    display: grid;
    justify-items: center;
    gap: 22px;
    padding: 48px 28px;
    border: 1px solid rgba(72, 52, 36, 0.1);
    border-radius: 30px;
    background: rgba(255, 252, 248, 0.82);
    color: var(--text-sub);
}

@keyframes homeBannerFade {
    0%, 28% {
        opacity: 1;
    }
    35%, 93% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes homeBannerDrift {
    0%, 100% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.09) translate3d(-1.2%, 0, 0);
    }
}

@keyframes homeDotPulse {
    0%, 28% {
        width: 46px;
        background: rgba(255, 248, 240, 0.9);
    }
    35%, 100% {
        width: 24px;
        background: rgba(255, 255, 255, 0.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-banner-slide,
    .home-banner-slide img,
    .home-banner-dots span {
        animation: none;
    }

    .home-banner-slide-1 {
        opacity: 1;
    }

    .home-banner-slide-2,
    .home-banner-slide-3 {
        display: none;
    }
}

@media (max-width: 1180px) {
    .home-banner-content,
    .home-editorial-shell,
    .home-path-shell,
    .home-live-archive-shell,
    .home-trust-shell,
    .home-search-band-inner {
        grid-template-columns: 1fr;
    }

    .home-banner-content {
        align-items: end;
        gap: 32px;
    }

    .home-archive-summary {
        max-width: 520px;
    }
}

@media (max-width: 960px) {
    .home-cinematic-hero,
    .home-banner-content {
        min-height: 680px;
    }

    .home-editorial-grid article,
    .home-memorial-grid,
    .home-featured-grid,
    .home-service-grid,
    .home-intent-grid,
    .home-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-cinematic-hero,
    .home-banner-content {
        min-height: 660px;
    }

    .home-banner-content {
        padding-top: 68px;
        padding-bottom: 58px;
    }

    .home-banner-scrim {
        background:
            linear-gradient(180deg, rgba(27, 19, 13, 0.78) 0%, rgba(27, 19, 13, 0.48) 42%, rgba(27, 19, 13, 0.9) 100%),
            linear-gradient(90deg, rgba(27, 19, 13, 0.5) 0%, rgba(27, 19, 13, 0.1) 100%);
    }

    .home-banner-copy h1 {
        max-width: 10ch;
        font-size: clamp(42px, 14vw, 58px);
    }

    .home-banner-copy p {
        font-size: 16px;
    }

    .home-banner-actions,
    .home-search-form {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .home-banner-actions .btn,
    .home-search-form .btn {
        width: 100%;
    }

    .home-archive-summary {
        display: none;
    }

    .home-banner-dots {
        bottom: 32px;
    }

    .home-search-band {
        margin-top: 0;
        padding: 18px 0 28px;
    }

    .home-search-band-inner {
        padding: 22px;
        border-radius: 24px;
    }

    .home-search-form .search-input {
        font-size: 15px;
    }

    .home-editorial-section,
    .home-live-archive-section,
    .home-featured-section,
    .home-service-section,
    .home-memorial-showcase,
    .home-path-section,
    .home-stories-section {
        padding: 58px 0;
    }

    .home-trust-section {
        padding: 54px 0;
    }

    .home-trust-actions {
        justify-content: stretch;
    }

    .home-trust-actions .btn {
        width: 100%;
    }

    .home-editorial-intro h2,
    .home-section-heading h2,
    .home-path-copy h2,
    .home-stories-section h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .home-editorial-grid article {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }

    .home-path-list article,
    .home-story-card {
        padding: 24px;
    }

    .home-intent-card {
        min-height: 360px;
    }
}

/* Homepage professional refinement */
.home-cinematic-hero {
    min-height: 680px;
    background: #17211f;
}

.home-banner-scrim {
    background:
        linear-gradient(90deg, rgba(13, 20, 19, 0.94) 0%, rgba(20, 30, 28, 0.78) 42%, rgba(49, 70, 64, 0.26) 76%, rgba(49, 70, 64, 0.12) 100%),
        linear-gradient(180deg, rgba(12, 16, 15, 0.08) 0%, rgba(12, 16, 15, 0.18) 46%, rgba(12, 16, 15, 0.68) 100%);
}

.home-banner-content {
    min-height: 680px;
    grid-template-columns: minmax(0, 820px);
    align-items: end;
    padding-top: 72px;
    padding-bottom: 92px;
}

.home-banner-copy {
    max-width: 820px;
}

.home-kicker,
.home-section-label {
    color: #526b62;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.home-cinematic-hero .home-kicker {
    color: #d9eadf;
    font-size: 14px;
}

.home-banner-copy h1 {
    max-width: 760px;
    font-size: 76px;
    line-height: 1.02;
    letter-spacing: 0;
}

.home-banner-copy p {
    max-width: 650px;
    color: rgba(246, 250, 245, 0.88);
    font-size: 19px;
    line-height: 1.72;
}

.home-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: rgba(246, 250, 245, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.home-hero-points span + span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 18px;
    border-radius: 50%;
    background: #9db7aa;
    vertical-align: middle;
}

.home-banner-dots {
    bottom: 44px;
}

.home-search-band {
    margin-top: 0;
    padding: 32px 0;
    border-top: 1px solid rgba(82, 107, 98, 0.16);
    border-bottom: 1px solid rgba(82, 107, 98, 0.16);
    background: #eef3ed;
}

.home-search-band-inner {
    gap: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-search-band h2 {
    max-width: 520px;
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: 0;
}

.home-search-form .search-input {
    height: 54px;
    border-color: rgba(82, 107, 98, 0.26);
    border-radius: 8px;
}

.home-search-form .btn-primary {
    background: #1f312d;
    color: #fff;
}

.home-editorial-section {
    background: #f7f8f4;
}

.home-memorial-showcase,
.home-stories-section {
    background: #fffdf9;
}

.home-editorial-intro h2,
.home-section-heading h2,
.home-path-copy h2,
.home-stories-section h2 {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: 0;
}

.home-section-heading {
    max-width: 820px;
}

.home-editorial-grid article,
.home-path-list article,
.home-story-card,
.home-memorial-card {
    border-color: rgba(82, 107, 98, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(22, 32, 30, 0.08);
}

.home-editorial-grid article {
    grid-template-columns: 48px minmax(0, 0.92fr) minmax(0, 1fr);
}

.home-editorial-grid article span,
.home-path-list article span {
    color: #526b62;
    letter-spacing: 0;
}

.home-editorial-grid h3,
.home-path-list h3,
.home-story-card h3,
.home-memorial-body h3 {
    letter-spacing: 0;
}

.home-intent-grid {
    gap: 18px;
}

.home-intent-card {
    min-height: 400px;
    border-radius: 8px;
    background: #17211f;
    box-shadow: 0 20px 54px rgba(22, 32, 30, 0.12);
}

.home-intent-card::after {
    background:
        linear-gradient(180deg, rgba(13, 20, 19, 0.02) 0%, rgba(13, 20, 19, 0.74) 100%),
        linear-gradient(90deg, rgba(13, 20, 19, 0.58) 0%, rgba(13, 20, 19, 0.06) 100%);
}

.home-intent-card h3 {
    font-size: 36px;
    letter-spacing: 0;
}

.home-path-section {
    background: linear-gradient(135deg, #17211f 0%, #2f4a43 58%, #5a6c63 100%);
}

.home-path-copy p,
.home-path-list p {
    color: rgba(246, 250, 245, 0.78);
}

.home-path-list article {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.home-path-list h3 {
    font-size: 34px;
}

.home-story-card h3 {
    font-size: 32px;
}

.home-story-card .update-tag {
    justify-self: start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #526b62;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 1180px) {
    .home-banner-copy h1 {
        font-size: 64px;
    }

    .home-editorial-intro h2,
    .home-section-heading h2,
    .home-path-copy h2,
    .home-stories-section h2 {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .home-cinematic-hero,
    .home-banner-content {
        min-height: 580px;
    }

    .home-banner-content {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .home-banner-copy h1 {
        max-width: 11ch;
        font-size: 42px;
        line-height: 1.06;
    }

    .home-banner-copy p {
        font-size: 15px;
        line-height: 1.7;
    }

    .home-hero-points {
        gap: 8px;
        font-size: 13px;
    }

    .home-hero-points span {
        flex-basis: 100%;
    }

    .home-hero-points span + span::before {
        margin-right: 10px;
    }

    .home-search-band {
        padding: 26px 0;
    }

    .home-search-band-inner {
        gap: 18px;
    }

    .home-search-band h2 {
        font-size: 25px;
    }

    .home-editorial-section,
    .home-memorial-showcase,
    .home-path-section,
    .home-stories-section {
        padding: 52px 0;
    }

    .home-editorial-intro h2,
    .home-section-heading h2,
    .home-path-copy h2,
    .home-stories-section h2 {
        font-size: 35px;
        line-height: 1.12;
    }

    .home-editorial-grid article {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }

    .home-intent-card {
        min-height: 340px;
    }

    .home-intent-card h3,
    .home-path-list h3,
    .home-story-card h3 {
        font-size: 26px;
    }
}

/* Internal page refinement April 2026 */
:root {
    --site-ink: #17211f;
    --site-ink-soft: #2d3d39;
    --site-sage: #526b62;
    --site-sage-soft: #eef3ed;
    --site-paper: #fffdf9;
    --site-paper-warm: #f8f5f0;
    --site-hairline: rgba(82, 107, 98, 0.16);
    --site-shadow-soft: 0 18px 44px rgba(22, 32, 30, 0.08);
}

.portal-hero.internal-hero,
.sub-hero.page-top {
    position: relative;
    padding: 58px 0 50px;
    border-bottom: 1px solid rgba(82, 107, 98, 0.12);
    background:
        radial-gradient(circle at 78% 6%, rgba(82, 107, 98, 0.12), transparent 26%),
        linear-gradient(180deg, #fbfaf6 0%, #f8f5f0 100%);
}

.portal-hero.internal-hero::after,
.sub-hero.page-top::after {
    content: "";
    position: absolute;
    left: max(20px, calc((100% - var(--wrap)) / 2));
    right: max(20px, calc((100% - var(--wrap)) / 2));
    bottom: 0;
    height: 1px;
    background: rgba(82, 107, 98, 0.18);
}

.internal-hero .hero-content-center,
.page-top .simple-state {
    max-width: var(--wrap);
    text-align: left;
}

.internal-hero .eyebrow,
.page-top .section-tag,
.section-block .section-tag,
.page-panel .card-label,
.portal-card .card-label,
.resource-article-card .card-label,
.detail-card .card-label,
.feature-card-item .card-label,
.timeline-tag,
.update-tag,
.light-tag {
    justify-content: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-sage);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.internal-hero .hero-title,
.page-top .simple-state h1,
.page-hero h1 {
    max-width: 820px;
    margin-top: 14px;
    font-size: clamp(38px, 4.4vw, 58px);
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.internal-hero .hero-desc,
.page-top .simple-state p,
.page-hero p {
    max-width: 720px;
    margin-top: 20px;
    color: #52605b;
    font-size: 17px;
    line-height: 1.78;
}

.internal-hero .hero-actions-center,
.internal-hero .hero-actions {
    justify-content: flex-start;
    margin-top: 28px;
}

.portal-hero.internal-hero + .section-block,
.sub-hero.page-top + .section-block,
.section-block.page-tools-shell {
    padding-top: 48px;
}

.section-block {
    padding: 66px 0;
}

.section-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-head.text-center {
    margin-right: auto;
    margin-left: auto;
}

.internal-hero + .section-block .section-head.text-center,
.page-tools-shell .section-head.text-center {
    margin-left: 0;
    text-align: left;
}

.internal-hero + .section-block .section-head.text-center p,
.page-tools-shell .section-head.text-center p {
    margin-right: 0;
    margin-left: 0;
}

.section-head h2,
.page-panel h2,
.stats-panel h2,
.search-panel h2,
.cta-box h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
}

.section-head p,
.page-panel p,
.portal-card p,
.detail-card p,
.search-panel p,
.stats-panel p,
.resource-article-card p,
.function-card p,
.platform-card p,
.feature-card-item p {
    color: #596761;
    font-size: 16px;
    line-height: 1.78;
}

.page-tools,
.resource-overview-grid {
    gap: 18px;
    margin-bottom: 42px;
}

.search-panel,
.stats-panel,
.page-panel,
.portal-card,
.feature-card-item,
.function-card,
.platform-card,
.detail-card,
.stat-card,
.gallery-card,
.article-main,
.channel-main,
.channel-side > .page-panel,
.article-side > .page-panel,
.resource-article-card,
.editorial-detail-main,
.editorial-detail-side > .page-panel,
.resource-topics-card,
.cta-box {
    border-color: var(--site-hairline);
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: var(--site-shadow-soft);
}

.search-panel,
.resource-feature-card {
    background: var(--site-sage-soft);
}

.stats-panel,
.resource-overview-card {
    background: var(--site-paper);
}

.search-panel,
.stats-panel,
.resource-overview-card,
.resource-feature-card {
    padding: 30px;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.search-input {
    height: 54px;
    border-radius: 8px;
    border-color: rgba(82, 107, 98, 0.24);
    background: rgba(255, 253, 249, 0.92);
}

.search-input:focus {
    border-color: rgba(82, 107, 98, 0.52);
    box-shadow: 0 0 0 4px rgba(82, 107, 98, 0.12);
}

.metric-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 10px;
    background: rgba(255, 253, 249, 0.72);
}

.metric-box {
    padding: 20px 18px;
    border: 0;
    border-right: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 0;
    background: transparent;
}

.metric-box:last-child {
    border-right: 0;
}

.metric-box strong {
    color: var(--site-ink);
    font-size: 34px;
}

.metric-box span {
    color: #596761;
    font-size: 13px;
    line-height: 1.55;
}

.metric-note {
    color: #596761;
    line-height: 1.76;
}

.portal-grid,
.memorial-grid,
.story-grid-list,
.resource-card-grid,
.function-grid,
.platform-grid,
.about-grid {
    gap: 20px;
}

.portal-card:hover,
.feature-card-item:hover,
.path-step:hover,
.update-card:hover,
.gallery-card:hover,
.resource-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(82, 107, 98, 0.26);
    box-shadow: 0 22px 54px rgba(22, 32, 30, 0.1);
}

.portal-card h3,
.resource-article-card h3,
.feature-card-item h3,
.function-card h3,
.platform-card h3 {
    color: var(--site-ink);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.14;
    letter-spacing: 0;
}

.memorial-card .card-body,
.story-wide-card .card-body,
.feature-card-item,
.function-card,
.platform-card,
.page-panel,
.detail-card,
.resource-article-card {
    padding: 26px;
}

.card-cover,
.gallery-image,
.detail-cover {
    background: #e9eee7;
}

.card-cover {
    aspect-ratio: 1.08 / 1;
}

.empty-cover {
    background: #e9eee7;
    color: var(--site-sage);
    font-family: var(--font-display);
    font-size: 28px;
}

.article-meta {
    color: #69746f;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.meta-inline,
.author-line {
    color: #69746f;
    font-size: 13px;
}

.text-link,
.resource-card-meta,
.quick-link > span,
.home-nav-item span {
    color: var(--site-sage);
}

.quick-link,
.topic-link-pill,
.side-links a,
.side-link-card {
    border-radius: 10px;
    border-color: rgba(82, 107, 98, 0.14);
    background: rgba(255, 253, 249, 0.72);
}

.quick-link:hover,
.quick-link.is-active,
.topic-link-pill:hover,
.topic-link-pill.is-active,
.side-links a:hover,
.side-link-card:hover {
    border-color: rgba(82, 107, 98, 0.28);
    background: rgba(238, 243, 237, 0.86);
    box-shadow: none;
}

.resource-note {
    min-height: 34px;
    border-radius: 999px;
    border-color: rgba(82, 107, 98, 0.16);
    background: rgba(255, 253, 249, 0.7);
    color: var(--site-sage);
}

.resource-library-layout {
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 30px;
}

.resource-topics-card {
    top: 100px;
}

.resource-article-card {
    gap: 16px;
}

.resource-card-meta {
    border-top-color: rgba(82, 107, 98, 0.14);
}

.muted-section {
    background: #f7f8f4;
}

.cta-section {
    padding: 72px 0;
}

.cta-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 42px;
    background: linear-gradient(135deg, #17211f 0%, #2f4a43 58%, #5a6c63 100%);
    color: #fff;
}

.cta-box h2 {
    max-width: 680px;
    color: #fff;
}

.cta-box p {
    max-width: 680px;
    color: rgba(246, 250, 245, 0.78);
}

.cta-box .light-tag {
    color: #d9eadf;
}

.cta-box .btn-light {
    background: #fffdf9;
    color: var(--site-ink);
}

.cta-box .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn {
    height: 50px;
    border-radius: 8px;
}

.btn-primary,
.header-cta {
    background: var(--site-ink);
    color: #fff;
}

.btn-primary:hover,
.header-cta:hover {
    background: #0e1715;
}

.btn-secondary,
.pager-link {
    border-color: rgba(82, 107, 98, 0.16);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.76);
    color: var(--site-ink-soft);
}

.btn-secondary:hover,
.pager-link:hover {
    border-color: rgba(82, 107, 98, 0.28);
    background: var(--site-sage-soft);
    color: var(--site-ink);
}

.pager {
    justify-content: center;
    gap: 10px;
}

.pager-info {
    border-color: rgba(82, 107, 98, 0.14);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.72);
}

.pager-link.disabled {
    opacity: 0.45;
}

.breadcrumb-bar {
    margin-bottom: 24px;
    color: #69746f;
    font-size: 13px;
}

.breadcrumb-bar a {
    color: var(--site-sage);
}

.article-layout,
.editorial-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.article-side,
.channel-side,
.detail-side {
    width: auto;
}

.article-main,
.editorial-detail-main,
.legal-panel {
    padding: 42px;
}

.article-main h1,
.editorial-detail-main h1,
.legal-panel h1 {
    max-width: 820px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: 0;
    text-wrap: balance;
}

.editorial-detail-side .page-panel h2,
.article-side .page-panel h2,
.channel-side .page-panel h2,
.resource-topics-card h2 {
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.12;
}

.page-hero .page-panel h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.article-content,
.article-prose,
.editorial-prose,
.detail-rich-copy {
    color: #2f3b38;
    font-size: 17px;
    line-height: 1.9;
}

.article-content p,
.article-prose p,
.article-prose li,
.editorial-prose p,
.editorial-prose li {
    color: #485651;
}

.article-prose h2,
.editorial-prose h2 {
    color: var(--site-ink);
    font-size: clamp(27px, 2.7vw, 38px);
    letter-spacing: 0;
}

.detail-stage {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.memorial-stage.page-top {
    padding-top: 48px;
}

.detail-portrait {
    border-color: var(--site-hairline);
    border-radius: 12px;
    box-shadow: var(--site-shadow-soft);
}

.detail-main-premium h1 {
    max-width: 760px;
    color: var(--site-ink);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: 0;
}

.detail-lead {
    margin-top: 18px;
    color: #52605b;
    font-size: 18px;
    line-height: 1.78;
}

.detail-meta-strip,
.detail-stat-row {
    gap: 12px;
}

.detail-meta-block {
    border-color: rgba(82, 107, 98, 0.14);
    border-radius: 10px;
    background: rgba(255, 253, 249, 0.76);
}

.detail-meta-block span {
    color: var(--site-sage);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.detail-meta-block strong {
    color: var(--site-ink);
}

.stat-card-inline {
    border-radius: 10px;
}

.stat-card-inline strong {
    color: var(--site-ink);
    font-size: 38px;
}

.stat-card-inline h3 {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0;
}

.detail-lead-grid {
    gap: 20px;
}

.detail-card-story,
.detail-card-facts {
    padding: 34px;
}

.memorial-gallery-grid {
    gap: 16px;
}

.gallery-card {
    border-radius: 12px;
}

.timeline-card,
.comment-item {
    border-color: var(--site-hairline);
    border-radius: 10px;
    background: rgba(255, 253, 249, 0.82);
}

.timeline-dot {
    background: var(--site-sage);
    box-shadow: 0 0 0 8px rgba(82, 107, 98, 0.14);
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
    gap: 34px;
    align-items: center;
}

.page-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 10px;
}

.page-metrics > div {
    padding: 18px;
    border-right: 1px solid rgba(82, 107, 98, 0.14);
}

.page-metrics > div:last-child {
    border-right: 0;
}

.page-metrics strong {
    display: block;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: 34px;
}

.page-metrics span {
    color: #596761;
    font-size: 13px;
}

.comment-wall-page,
.comment-wall,
.comment-stack {
    gap: 16px;
}

.large-comment {
    padding: 26px;
}

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

.service-hero {
    padding: 68px 0 76px;
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, rgba(247, 248, 244, 0.98) 100%),
        url("/seo-images/home-banner-keepsakes.jpg") center/cover no-repeat;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 42px;
    align-items: end;
}

.service-hero-copy h1 {
    max-width: 860px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.service-hero-copy p {
    max-width: 760px;
    margin-top: 20px;
    color: #52605b;
    font-size: 18px;
    line-height: 1.82;
}

.service-proof-panel,
.service-feature-card,
.service-step-card,
.service-topic-panel,
.service-faq-panel {
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.service-proof-panel {
    padding: 28px;
}

.service-proof-panel h2 {
    margin-top: 10px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.12;
    letter-spacing: 0;
}

.service-proof-list,
.service-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.service-proof-list span,
.service-topic-list a {
    padding: 9px 12px;
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 999px;
    background: rgba(238, 243, 237, 0.72);
    color: var(--site-sage);
    font-size: 13px;
    font-weight: 800;
}

.service-overview-grid,
.service-seo-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 34px;
    align-items: start;
}

.service-overview-copy h2,
.service-topic-panel h2,
.service-faq-panel h2 {
    margin-top: 10px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.service-overview-copy p {
    margin-top: 18px;
    color: #52605b;
    font-size: 17px;
    line-height: 1.86;
}

.service-feature-grid,
.service-workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-feature-card,
.service-step-card,
.service-topic-panel,
.service-faq-panel {
    padding: 28px;
}

.service-feature-card h3,
.service-step-card h3 {
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
    letter-spacing: 0;
}

.service-feature-card p,
.service-step-card p,
.service-faq-list p {
    margin-top: 12px;
    color: #52605b;
    line-height: 1.78;
}

.service-faq-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.service-faq-list details {
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 10px;
    background: rgba(255, 253, 249, 0.72);
}

.service-faq-list summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--site-ink);
    font-weight: 800;
}

.service-faq-list p {
    padding: 0 18px 18px;
}

.trust-hero {
    padding: 68px 0 76px;
    background:
        linear-gradient(180deg, rgba(247, 248, 244, 0.94) 0%, rgba(255, 250, 244, 0.98) 100%),
        url("/seo-images/home-banner-archive.jpg") center/cover no-repeat;
}

.trust-hero-grid,
.trust-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: 42px;
    align-items: start;
}

.trust-hero h1,
.trust-process-grid h2 {
    max-width: 860px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(44px, 5.8vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.trust-process-grid h2 {
    font-size: clamp(36px, 4.2vw, 58px);
}

.trust-hero p,
.trust-process-grid > article p {
    max-width: 760px;
    margin-top: 20px;
    color: #52605b;
    font-size: 18px;
    line-height: 1.82;
}

.trust-principle-panel,
.trust-card,
.trust-process-item {
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.trust-principle-panel {
    padding: 28px;
}

.trust-principle {
    padding: 18px 0;
    border-top: 1px solid rgba(82, 107, 98, 0.12);
}

.trust-principle:first-of-type {
    border-top: 0;
}

.trust-principle strong,
.trust-process-item strong {
    color: var(--site-ink);
    font-size: 17px;
}

.trust-principle p,
.trust-process-item p {
    margin-top: 8px;
    color: #52605b;
    line-height: 1.72;
}

.trust-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-card,
.trust-process-item {
    padding: 26px;
}

.trust-card span {
    color: var(--site-sage);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.trust-card h3 {
    margin-top: 12px;
    color: var(--site-ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.12;
    letter-spacing: 0;
}

.trust-card p {
    margin-top: 12px;
    color: #52605b;
    line-height: 1.76;
}

.trust-process-list {
    display: grid;
    gap: 14px;
}

.feature-card-item .meta-list {
    padding-left: 0;
    list-style: none;
}

.feature-card-item .meta-list li {
    padding-top: 12px;
    border-top: 1px solid rgba(82, 107, 98, 0.12);
}

.feature-card-item .meta-list li:first-child {
    border-top: 0;
}

.legal-shell {
    max-width: 980px;
}

.not-found-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
    gap: 34px;
    align-items: center;
}

.not-found-copy {
    text-align: left;
}

.not-found-copy h1 {
    max-width: 760px;
}

.not-found-copy p {
    max-width: 680px;
}

.not-found-panel {
    padding: 28px;
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: var(--site-shadow-soft);
}

.not-found-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.not-found-link {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(82, 107, 98, 0.14);
    border-radius: 10px;
    background: rgba(238, 243, 237, 0.58);
}

.not-found-link:hover {
    border-color: rgba(82, 107, 98, 0.28);
    background: rgba(238, 243, 237, 0.86);
}

.not-found-link strong {
    color: var(--site-ink);
}

.not-found-link span {
    color: #52605b;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .page-tools,
    .resource-overview-grid,
    .article-layout,
    .editorial-detail-shell,
    .detail-stage,
    .detail-lead-grid,
    .page-hero,
    .service-hero-grid,
    .service-overview-grid,
    .service-seo-grid,
    .trust-hero-grid,
    .trust-process-grid,
    .not-found-shell,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .internal-hero .hero-title,
    .page-top .simple-state h1,
    .page-hero h1 {
        max-width: 760px;
    }

    .resource-topics-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .portal-grid,
    .memorial-grid,
    .story-grid-list,
    .resource-card-grid,
    .function-grid,
    .platform-grid,
    .about-grid,
    .service-feature-grid,
    .service-workflow-grid,
    .trust-card-grid,
    .comment-stack,
    .memorial-gallery-grid {
        grid-template-columns: 1fr;
    }

    .search-form,
    .home-search-form {
        grid-template-columns: 1fr;
    }

    .search-form .btn,
    .home-search-form .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .portal-hero.internal-hero,
    .sub-hero.page-top {
        padding: 46px 0 40px;
    }

    .internal-hero .hero-title,
    .page-top .simple-state h1,
    .page-hero h1,
    .detail-main-premium h1,
    .article-main h1,
    .editorial-detail-main h1,
    .legal-panel h1 {
        max-width: none;
        font-size: clamp(34px, 11vw, 46px);
        line-height: 1.08;
    }

    .internal-hero .hero-desc,
    .page-top .simple-state p,
    .page-hero p,
    .detail-lead {
        font-size: 16px;
        line-height: 1.72;
    }

    .section-block,
    .cta-section {
        padding: 48px 0;
    }

    .portal-hero.internal-hero + .section-block,
    .sub-hero.page-top + .section-block,
    .section-block.page-tools-shell {
        padding-top: 42px;
    }

    .search-panel,
    .stats-panel,
    .resource-overview-card,
    .resource-feature-card,
    .article-main,
    .editorial-detail-main,
    .legal-panel,
    .cta-box,
    .detail-card-story,
    .detail-card-facts {
        padding: 24px;
    }

    .metric-grid,
    .detail-meta-strip,
    .detail-stat-row,
    .page-metrics {
        grid-template-columns: 1fr;
    }

    .metric-box,
    .page-metrics > div {
        border-right: 0;
        border-bottom: 1px solid rgba(82, 107, 98, 0.14);
    }

    .metric-box:last-child,
    .page-metrics > div:last-child {
        border-bottom: 0;
    }

    .section-head h2,
    .page-panel h2,
    .stats-panel h2,
    .search-panel h2,
    .cta-box h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .pager {
        flex-direction: column;
    }

    .pager-link,
    .pager-info {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile experience polish */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .wrap {
        width: calc(100% - 32px);
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 80;
    }

    .header-inner {
        min-height: 62px;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 16px;
        line-height: 1.05;
        white-space: nowrap;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 8px;
    }

    .header-cta {
        width: 104px;
        min-height: 44px;
        height: 44px;
        flex: 0 0 104px;
        padding: 0;
        font-size: 0;
        white-space: nowrap;
    }

    .header-cta::after {
        content: "Create";
        font-size: 13px;
        font-weight: 800;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 10px;
    }

    .site-nav.is-open {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        z-index: 90;
        max-height: calc(100svh - 88px);
        overflow-y: auto;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(22, 32, 30, 0.18);
    }

    .site-nav.is-open a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 12px;
        font-size: 15px;
    }

    .site-nav.is-open .mobile-nav-extra {
        display: flex;
    }

    .article-layout,
    .channel-layout,
    .editorial-detail-shell,
    .resource-library-layout,
    .resource-overview-grid,
    .detail-stage,
    .detail-lead-grid,
    .page-hero,
    .not-found-shell,
    .service-overview-grid,
    .service-seo-grid,
    .trust-process-grid,
    .cta-box {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .channel-main,
    .channel-side,
    .channel-side > .page-panel,
    .article-main,
    .article-side,
    .article-side > .page-panel,
    .editorial-detail-main,
    .editorial-detail-side,
    .editorial-detail-side > .page-panel,
    .resource-library-main,
    .resource-topics-card,
    .resource-card-grid,
    .resource-article-card,
    .side-link-cards,
    .side-link-card,
    .quick-link-list,
    .quick-link,
    .topic-stack,
    .topic-link-pill,
    .page-panel,
    .search-panel,
    .stats-panel,
    .comment-item,
    .timeline-card,
    .detail-main,
    .detail-main-premium,
    .detail-portrait,
    .not-found-panel,
    .not-found-link,
    .legal-panel {
        min-width: 0;
        max-width: 100%;
    }

    .channel-main,
    .channel-side > .page-panel {
        padding: 22px;
        border-radius: 12px;
    }

    .resource-card-grid,
    .side-link-cards,
    .topic-stack,
    .quick-link-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .not-found-hero {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .not-found-shell {
        gap: 22px;
    }

    .not-found-copy {
        text-align: center;
    }

    .not-found-copy h1 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .not-found-copy .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .not-found-copy .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .not-found-panel {
        padding: 20px;
        border-radius: 12px;
    }

    .resource-article-card,
    .side-link-card,
    .topic-link-pill,
    .quick-link,
    .not-found-link {
        width: 100%;
    }

    .quick-link {
        align-items: flex-start;
    }

    .quick-link > span {
        flex: 0 0 auto;
    }

    .resource-article-card h3,
    .resource-article-card p,
    .side-link-card strong,
    .side-link-card span,
    .quick-link-copy,
    .quick-link-copy strong,
    .quick-link-copy p,
    .topic-link-pill strong,
    .topic-link-pill span,
    .not-found-link strong,
    .not-found-link span,
    .detail-meta-block strong,
    .stat-card-inline h3,
    .stat-card-inline span {
        overflow-wrap: anywhere;
    }

    .breadcrumb-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .breadcrumb-bar a,
    .breadcrumb-bar span {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
    }

    .breadcrumb-bar span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .page-hero {
        gap: 20px;
    }

    .page-hero .page-panel {
        padding: 20px;
        border-radius: 12px;
    }

    .page-hero .page-panel h2 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .page-hero .page-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-hero .page-metrics > div {
        padding: 12px 8px;
        border-right: 1px solid rgba(82, 107, 98, 0.14);
        border-bottom: 0;
    }

    .page-hero .page-metrics > div:last-child {
        border-right: 0;
    }

    .page-hero .page-metrics strong {
        font-size: clamp(24px, 7vw, 30px);
    }

    .page-hero .page-metrics span,
    .page-note {
        font-size: 12px;
        line-height: 1.45;
    }

    .memorial-stage.page-top {
        padding: 24px 0 32px;
    }

    .memorial-breadcrumb {
        display: none;
    }

    .detail-stage {
        gap: 16px;
    }

    .detail-portrait {
        width: min(42vw, 156px);
        margin: 0 auto;
        aspect-ratio: 1 / 1;
    }

    .detail-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .detail-main-premium {
        padding-top: 0;
        text-align: center;
    }

    .detail-main-premium .section-tag {
        margin-right: auto;
        margin-left: auto;
    }

    .detail-main-premium h1 {
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(32px, 9.5vw, 38px);
        line-height: 1.04;
    }

    .detail-lead {
        display: -webkit-box;
        margin-top: 12px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .detail-main-premium .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 22px;
    }

    .detail-main-premium .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .detail-meta-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .detail-meta-block {
        padding: 12px 10px;
        text-align: center;
    }

    .detail-meta-block span {
        margin-bottom: 6px;
        font-size: 11px;
        line-height: 1.25;
    }

    .detail-meta-block strong {
        font-size: 14px;
        line-height: 1.25;
    }

    .stat-card-inline {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
        text-align: left;
    }

    .stat-card-inline strong {
        min-width: 44px;
        font-size: 32px;
    }

    .home-cinematic-hero,
    .home-banner-content {
        min-height: min(690px, calc(100svh - 62px));
    }

    .home-banner-content {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .home-banner-copy h1 {
        max-width: 12ch;
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.02;
    }

    .home-banner-slide img {
        transform: none !important;
        animation: none !important;
    }

    .home-banner-copy p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.62;
    }

    .home-hero-points {
        display: none;
    }

    .home-banner-actions {
        margin-top: 28px;
        gap: 10px;
    }

    .home-banner-actions .btn,
    .service-hero .hero-actions .btn,
    .trust-hero .hero-actions .btn,
    .hero-actions-center .btn,
    .cta-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .service-hero,
    .trust-hero {
        padding: 36px 0 42px;
        background-position: center top;
    }

    .service-hero .breadcrumb-bar,
    .trust-hero .breadcrumb-bar {
        display: none;
    }

    .service-hero-grid,
    .trust-hero-grid {
        gap: 22px;
    }

    .service-hero-copy h1,
    .trust-hero h1 {
        max-width: none;
        font-size: clamp(34px, 9.5vw, 42px);
        line-height: 1.08;
    }

    .service-hero-copy p,
    .trust-hero p {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.66;
    }

    .service-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .service-proof-panel,
    .trust-principle-panel {
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 12px 34px rgba(22, 32, 30, 0.08);
    }

    .service-proof-panel h2 {
        font-size: 20px;
        line-height: 1.2;
    }

    .service-proof-list {
        gap: 8px;
        margin-top: 14px;
    }

    .service-proof-list span,
    .service-topic-list a {
        padding: 7px 10px;
        font-size: 12px;
    }

    .trust-principle {
        padding: 12px 0;
    }

    .trust-principle p {
        display: none;
    }

    .trust-principle strong,
    .trust-process-item strong {
        font-size: 15px;
    }

    .service-overview-copy h2,
    .service-topic-panel h2,
    .service-faq-panel h2,
    .trust-process-grid h2,
    .home-trust-section h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.1;
    }

    .service-feature-card,
    .service-step-card,
    .service-topic-panel,
    .service-faq-panel,
    .trust-card,
    .trust-process-item {
        padding: 20px;
        border-radius: 12px;
    }

    .service-feature-card h3,
    .service-step-card h3,
    .trust-card h3,
    .home-service-card h3 {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.14;
    }

    .service-overview-copy p,
    .service-feature-card p,
    .service-step-card p,
    .trust-card p,
    .trust-process-grid > article p,
    .trust-process-item p,
    .home-service-card p,
    .home-trust-section p {
        font-size: 15px;
        line-height: 1.7;
    }

    .home-service-card {
        min-height: 0;
        padding: 22px;
        border-radius: 12px;
    }

    .home-trust-shell {
        gap: 22px;
    }

    .home-trust-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-top {
        gap: 30px;
        padding-top: 44px;
        padding-bottom: 34px;
    }

    .footer-badge-row {
        gap: 8px;
    }

    .footer-badge-row span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .wrap {
        width: calc(100% - 28px);
    }

    .header-cta {
        width: 92px;
        flex-basis: 92px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .home-banner-copy h1,
    .service-hero-copy h1,
    .trust-hero h1 {
        font-size: clamp(34px, 9.5vw, 40px);
    }
}

@media (max-width: 768px) {
    .section-block.page-tools-shell {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .resource-overview-grid {
        gap: 16px;
    }

    .resource-overview-card,
    .resource-feature-card,
    .resource-topics-card {
        padding: 18px;
        border-radius: 12px;
    }

    .resource-overview-card h2,
    .resource-feature-card h2,
    .resource-topics-card h2 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.12;
    }

    .resource-overview-card p,
    .resource-feature-card p,
    .resource-topics-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .stats-panel .metric-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: hidden;
        border: 1px solid rgba(82, 107, 98, 0.13);
        border-radius: 10px;
    }

    .stats-panel .metric-box {
        min-width: 0;
        padding: 12px 8px;
        border-right: 1px solid rgba(82, 107, 98, 0.13);
        border-bottom: 0;
        text-align: center;
    }

    .stats-panel .metric-box:last-child {
        border-right: 0;
    }

    .stats-panel .metric-box strong {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1;
    }

    .stats-panel .metric-box span {
        margin-top: 8px;
        font-size: 11px;
        line-height: 1.3;
    }

    .resource-note-list {
        margin-top: 14px;
        gap: 8px;
    }

    .resource-note {
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 1.35;
    }

    .quick-link-list,
    .topic-stack {
        gap: 8px;
    }

    .quick-link,
    .topic-link-pill {
        padding: 12px;
        border-radius: 10px;
    }

    .quick-link p,
    .topic-link-pill span {
        font-size: 13px;
        line-height: 1.45;
    }

    .site-footer {
        padding: 34px 0 22px;
    }

    .footer-top {
        gap: 22px;
        padding-top: 0;
        padding-bottom: 22px;
    }

    .footer-intro {
        display: grid;
        gap: 14px;
    }

    .footer-intro p,
    .footer-badge-row {
        display: none;
    }

    .footer-badge-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-badge-row span {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.3;
    }

    .footer-nav-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .footer-column {
        min-width: 0;
        padding: 14px;
        border: 1px solid rgba(82, 107, 98, 0.12);
        border-radius: 12px;
        background: rgba(255, 253, 249, 0.72);
    }

    .footer-column h3 {
        margin-bottom: 10px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .footer-links {
        display: grid;
        gap: 6px;
    }

    .footer-links a {
        min-height: 36px;
        display: flex;
        align-items: center;
        padding: 6px 0;
        font-size: 14px;
        line-height: 1.35;
    }

    .footer-bottom {
        margin-top: 0;
        padding-top: 16px;
        gap: 8px;
    }

    .footer-bottom,
    .footer-bottom-meta {
        align-items: flex-start;
    }

    .footer-bottom-meta {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .resource-overview-card,
    .resource-feature-card,
    .resource-topics-card {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .pager,
    .resource-pager {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
        margin-top: 28px;
    }

    .pager-link,
    .pager-info {
        width: auto;
        min-height: 42px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 1.2;
        text-align: center;
    }

    .pager-info {
        min-width: 108px;
        padding: 0 14px;
        white-space: nowrap;
    }

    .pager-link.disabled {
        border-style: dashed;
        background: rgba(255, 253, 249, 0.48);
        color: #857a70;
        opacity: 0.62;
    }

    .resource-feature-card .hero-actions,
    .search-panel .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .resource-feature-card .hero-actions .btn,
    .search-panel .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .menu-toggle {
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .menu-toggle span {
        transform-origin: center;
        transition: transform 0.22s ease, opacity 0.18s ease;
    }

    .menu-toggle[aria-expanded="true"] {
        background: rgba(82, 107, 98, 0.08);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
