﻿/*
 * KnowThePerch - Design System CSS
 * Extracted from JSX template inline styles.
 * Matches the unified design system across all 11 page types.
 */

/* --- Color Tokens --- */
:root {
    --ktp-forest: #2D4A3E;
    --ktp-forest-light: #3A5F4F;
    --ktp-canopy: #4A7C5C;
    --ktp-sage: #8BAF7E;
    --ktp-sand: #F5F0E8;
    --ktp-parchment: #FAF9F6;
    --ktp-amber: #C4702B;
    --ktp-stone: #8B8678;
    --ktp-bark: #5C4B3A;
    --ktp-ink: #1A1A1A;
    --ktp-white: #FFFFFF;
    --ktp-lc: #1D7A6E;
    --ktp-shell-max: 1180px;
    --ktp-shell-padding-x: 28px;
    --ktp-shell-padding-top: 42px;
    --ktp-shell-padding-bottom: 72px;
    --ktp-shell-gap: 44px;
    --ktp-frame-max: calc(var(--ktp-shell-max) + (var(--ktp-shell-padding-x) * 2));
    --ktp-shell-main: minmax(0, 760px);
    --ktp-shell-rail: minmax(280px, 320px);
    --ktp-feature-split: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    --ktp-card-grid-min: 236px;
    --ktp-hero-max: 1180px;
    --ktp-hero-padding-x: 28px;
    --ktp-hero-padding-top: 54px;
    --ktp-hero-padding-bottom: 46px;
    --ktp-hero-gap: 36px;
    --ktp-hero-copy-col: minmax(0, 0.96fr);
    --ktp-hero-art-col: minmax(360px, 0.74fr);
    --ktp-hero-art-ratio: 4 / 3;
    --ktp-hero-art-min-height: 430px;
    --ktp-article-body-family: 'Alegreya Sans', sans-serif;
    --ktp-article-heading-family: 'Cormorant Garamond', Georgia, serif;
    --ktp-article-body-size: 20px;
    --ktp-article-body-leading: 1.74;
    --ktp-article-h2-size: 36px;
    --ktp-article-h3-size: 26px;
}

/* --- Typography --- */
body {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ktp-ink);
    background: var(--ktp-sand);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--ktp-forest);
    line-height: 1.3;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; }
h3 { font-size: 1.2rem; font-weight: 600; }

.ktp-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* --- Layout Grid --- */
.ktp-page-wrap {
    padding: 0 var(--ktp-shell-padding-x);
    margin: 0 auto;
}

.ktp-grid {
    display: grid;
    grid-template-columns: 680px 280px;
    gap: 32px;
}

.ktp-grid-full {
    grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
    .ktp-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Nav --- */
.ktp-nav {
    background: var(--ktp-forest);
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 56px;
}

.ktp-nav a {
    color: var(--ktp-white);
    text-decoration: none;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.ktp-nav a:hover {
    background: var(--ktp-forest-light);
}

/* --- Breadcrumb Bar --- */
.ktp-breadcrumb {
    background: var(--ktp-parchment);
    padding: 10px 24px;
    font-size: 13px;
    color: var(--ktp-stone);
    border-bottom: 1px solid #E8E3D9;
}

.ktp-breadcrumb a {
    color: var(--ktp-canopy);
    text-decoration: none;
}

/* --- Hero Section --- */
.ktp-hero {
    padding: 32px 0 24px;
}

.ktp-hero h1 {
    margin: 0 0 4px;
}

.ktp-hero .ktp-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--ktp-stone);
    font-size: 1.1rem;
}

/* --- IUCN Badge --- */
.ktp-iucn-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ktp-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- At-a-Glance Strip --- */
.ktp-glance-strip {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
    background: var(--ktp-white);
    border: 1px solid #E8E3D9;
    border-radius: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ktp-glance-item {
    text-align: center;
}

.ktp-glance-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ktp-stone);
}

.ktp-glance-item .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--ktp-forest);
}

/* --- Content Cards --- */
.ktp-card {
    background: var(--ktp-white);
    border: 1px solid #E8E3D9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.ktp-card h3 {
    margin: 0 0 8px;
}

/* --- Sidebar --- */
.ktp-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.ktp-sidebar-box {
    background: var(--ktp-white);
    border: 1px solid #E8E3D9;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.ktp-sidebar-header {
    background: var(--ktp-forest);
    color: var(--ktp-white);
    padding: 12px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
}

.ktp-sidebar-body {
    padding: 16px;
}

.ktp-sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F0ECE3;
    font-size: 14px;
}

.ktp-sidebar-row:last-child {
    border-bottom: none;
}

.ktp-sidebar-row .label {
    color: var(--ktp-stone);
}

.ktp-sidebar-row .value {
    font-weight: 600;
    color: var(--ktp-forest);
}

/* --- Frequency Chart --- */
.ktp-freq-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 80px;
    padding: 8px 0;
}

.ktp-freq-bar {
    flex: 1;
    background: var(--ktp-canopy);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: opacity 0.15s;
    cursor: pointer;
}

.ktp-freq-bar:hover {
    opacity: 0.8;
}

.ktp-freq-labels {
    display: flex;
    gap: 4px;
    font-size: 10px;
    color: var(--ktp-stone);
}

.ktp-freq-labels span {
    flex: 1;
    text-align: center;
}

/* --- Highlight Band --- */
.ktp-highlight-band {
    background: var(--ktp-forest);
    color: var(--ktp-white);
    padding: 20px 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.ktp-highlight-band .ktp-mono {
    color: var(--ktp-sage);
}

/* --- Did You Know Box --- */
.ktp-did-you-know {
    background: #FDF6ED;
    border: 2px solid var(--ktp-amber);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.ktp-did-you-know .label {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--ktp-amber);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* --- FAQ Accordion --- */
.ktp-faq-item {
    border: 1px solid #E8E3D9;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.ktp-faq-q {
    padding: 14px 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--ktp-white);
}

.ktp-faq-q:hover {
    background: var(--ktp-parchment);
}

.ktp-faq-a {
    padding: 0 20px 14px;
    font-size: 15px;
    color: var(--ktp-bark);
    display: none;
}

.ktp-faq-item.open .ktp-faq-a {
    display: block;
}

/* --- Section Divider --- */
.ktp-section-divider {
    border: none;
    border-top: 1px solid #E8E3D9;
    margin: 32px 0;
}

/* --- Species Grid --- */
.ktp-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.ktp-species-card {
    display: grid;
    gap: 6px;
    justify-items: center;
    background: var(--ktp-white);
    border: 1px solid #E8E3D9;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: box-shadow 0.15s;
}

.ktp-species-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.ktp-species-card .name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--ktp-forest);
    font-size: 15px;
}

.ktp-species-card .sci {
    font-style: italic;
    color: var(--ktp-stone);
    font-size: 13px;
}

.ktp-card-media--species {
    width: 100%;
    height: 76px;
    margin-bottom: 6px;
    border-radius: 12px;
}

/* --- CTA Button --- */
.ktp-cta {
    display: inline-block;
    background: var(--ktp-amber);
    color: var(--ktp-white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.15s;
}

.ktp-cta:hover {
    opacity: 0.9;
    color: var(--ktp-white);
}

/* --- Footer --- */
.ktp-footer {
    background: var(--ktp-forest);
    color: var(--ktp-white);
    padding: 48px 24px 24px;
    margin-top: 48px;
}

.ktp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0 var(--ktp-shell-padding-x);
}

.ktp-footer h4 {
    color: var(--ktp-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.ktp-footer a {
    color: var(--ktp-sage);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 4px 0;
}

.ktp-footer a:hover {
    color: var(--ktp-white);
}

.ktp-footer-bottom {
    border-top: 1px solid var(--ktp-forest-light);
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--ktp-sage);
}

@media (max-width: 768px) {
    .ktp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- Shared Outer Frame Contract --- */
.ktp-nav-inner,
.ktp-breadcrumb-inner,
.ktp-page-wrap,
.ktp-home-shell,
.ktp-v2-shell,
.ktp-hub-shell,
.ktp-state-bird-shell,
.ktp-state-birds-hub-shell,
.ktp-page-shell,
.ktp-hub-editorial-shell,
.ktp-page-identity-inner,
.ktp-hub-hero-inner,
.ktp-hero-c-inner,
.ktp-footer-inner,
.ktp-footer-grid,
.ktp-utility-shell {
    width: min(100%, var(--ktp-frame-max));
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
}

/* --- Nav Inner Structure --- */
.ktp-nav {
    background: var(--ktp-forest);
    height: 54px;
    border-bottom: 1px solid var(--ktp-forest-light);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}
.ktp-nav-inner {
    padding: 0 var(--ktp-shell-padding-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}
.ktp-nav-left {
    display: flex;
    align-items: center;
    gap: 34px;
}
.ktp-nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 178px;
    color: #f7f1e6;
    text-decoration: none;
    padding: 0;
}
.ktp-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(250,246,239,0.08);
    box-shadow: inset 0 0 0 1px rgba(250,246,239,0.08);
    flex-shrink: 0;
}
.ktp-nav-logo-text {
    display: grid;
    gap: 1px;
}
.ktp-nav-logo-word {
    color: #f7f1e6;
    font: 800 16px/1 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.2px;
}
.ktp-nav-logo-kicker {
    color: rgba(154,175,138,0.82);
    font: 800 8px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.ktp-nav-items { display: flex; gap: 2px; }
.ktp-nav-item {
    color: var(--ktp-sage);
    font-size: 12px;
    text-decoration: none;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 13px;
    height: 54px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}
.ktp-nav-item.active { color: #fff; border-bottom-color: var(--ktp-amber); font-weight: 800; }
.ktp-nav-item:hover { color: #fff; background: rgba(250,246,239,.06); }
.ktp-nav-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(250,246,239,0.08);
    border: 1px solid rgba(154,175,138,0.18);
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
    text-decoration: none;
}
.ktp-nav-search span {
    color: rgba(154,175,138,.82);
    font-size: 12px;
    font-family: 'Alegreya Sans', sans-serif;
}

/* --- State Birds Hub Grid --- */
.ktp-state-birds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ktp-card-grid-min)), 1fr));
    gap: 18px;
}
.ktp-state-bird-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px 18px;
    background: #fff; border: 1px solid #EAE6DC; border-radius: 18px;
    text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.ktp-state-bird-card:hover {
    border-color: var(--ktp-canopy);
    box-shadow: 0 2px 8px rgba(45,74,62,.08);
}
.ktp-sbc-state {
    font-size: 13px; font-weight: 700; color: var(--ktp-forest);
    font-family: 'Alegreya Sans', sans-serif; margin-bottom: 4px;
}
.ktp-sbc-bird {
    font-size: 12px; color: var(--ktp-ink);
    font-family: 'Alegreya Sans', sans-serif; margin-bottom: 3px;
}
.ktp-sbc-year {
    font-size: 11px; color: var(--ktp-stone);
    font-family: 'JetBrains Mono', monospace; margin-bottom: 6px;
}

.ktp-card-media--state-bird {
    height: auto;
    min-height: 148px;
    aspect-ratio: 3 / 2;
    margin-bottom: 10px;
    border-radius: 16px;
}

.ktp-hub-shell,
.ktp-state-bird-shell,
.ktp-state-birds-hub-shell,
.ktp-page-shell,
.ktp-hub-editorial-shell,
.ktp-utility-shell {
    padding: var(--ktp-shell-padding-top) var(--ktp-shell-padding-x) var(--ktp-shell-padding-bottom);
    display: grid;
    grid-template-columns: var(--ktp-shell-main) var(--ktp-shell-rail);
    gap: var(--ktp-shell-gap);
}

/* --- Reusable Internal Frame Patterns --- */
.ktp-frame-strip-2,
.ktp-frame-strip-3,
.ktp-frame-card-grid,
.ktp-frame-split-feature,
.ktp-frame-stack-feature,
.ktp-frame-rail-stack,
.ktp-frame-panel-stack,
.ktp-hub-proof-strip,
.ktp-page-proof-grid,
.ktp-state-birds-grid,
.ktp-hub-rail,
.ktp-page-rail,
.ktp-utility-rail,
.ktp-state-bird-sidebar-stack,
.ktp-state-birds-rail,
.ktp-hub-module-side {
    width: 100%;
    box-sizing: border-box;
}

.ktp-frame-strip-2,
.ktp-frame-strip-3 {
    display: grid;
    gap: var(--ktp-frame-strip-gap, 16px);
}

.ktp-frame-strip-2 {
    grid-template-columns: var(--ktp-frame-strip-columns, repeat(2, minmax(0, 1fr)));
}

.ktp-frame-strip-3 {
    grid-template-columns: var(--ktp-frame-strip-columns, repeat(3, minmax(0, 1fr)));
}

.ktp-frame-card-grid,
.ktp-hub-module-grid,
.ktp-trust-module-grid,
.ktp-utility-card-grid,
.ktp-state-birds-grid {
    display: grid;
    grid-template-columns: var(--ktp-frame-card-columns, repeat(auto-fit, minmax(min(100%, var(--ktp-card-grid-min)), 1fr)));
    gap: var(--ktp-frame-card-gap, 16px);
    align-content: var(--ktp-frame-card-align, stretch);
}

.ktp-state-birds-grid {
    --ktp-frame-card-gap: 18px;
}

.ktp-frame-split-feature,
.ktp-trust-module,
.ktp-search-command,
.ktp-notfound-recovery {
    display: grid;
    grid-template-columns: var(--ktp-frame-split-columns, var(--ktp-feature-split));
    gap: var(--ktp-frame-split-gap, 22px);
    align-items: var(--ktp-frame-split-align, start);
}

.ktp-frame-stack-feature,
.ktp-hub-module {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ktp-frame-stack-gap, 20px);
    align-items: start;
}

.ktp-frame-rail-stack,
.ktp-hub-rail,
.ktp-page-rail,
.ktp-utility-rail,
.ktp-state-bird-sidebar-stack,
.ktp-state-birds-rail {
    display: grid;
    gap: var(--ktp-frame-rail-gap, 16px);
    align-content: start;
}

.ktp-frame-panel-stack,
.ktp-hub-module-side,
.ktp-utility-main {
    display: grid;
    gap: var(--ktp-frame-panel-gap, 18px);
    align-content: start;
    align-items: var(--ktp-frame-panel-align, stretch);
}

.ktp-state-bird-main,
.ktp-state-birds-hub-main {
    display: grid;
    gap: 18px;
}

.ktp-state-bird-intro h2,
.ktp-state-birds-hub-shell h2 {
    margin-top: 0;
}

.ktp-state-bird-callout {
    padding: 16px 18px;
    border-left: 3px solid var(--ktp-canopy);
    background: rgba(74,124,92,.07);
    border-radius: 0 12px 12px 0;
}

.ktp-state-bird-callout-label {
    margin-bottom: 6px;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font: 700 11px 'Alegreya Sans', sans-serif;
}

.ktp-state-bird-callout-copy {
    color: var(--ktp-ink);
    font: 400 16px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-state-bird-grid-meta {
    display: block;
    margin-top: 4px;
    color: var(--ktp-stone);
    font-size: 11px;
}

.ktp-state-bird-sidebar-stack,
.ktp-state-birds-rail {
    position: sticky;
    top: 84px;
    align-self: start;
}

.ktp-state-bird-profile-box {
    overflow: hidden;
}

.ktp-state-bird-profile-art {
    height: 78px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139,175,126,.21), rgba(45,74,62,.15));
}

.ktp-state-bird-profile-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ktp-state-bird-profile-body {
    padding: 14px 16px 16px;
}

.ktp-state-bird-profile-name {
    color: var(--ktp-forest);
    font: 700 18px/1.2 'Cormorant Garamond', serif;
}

.ktp-state-bird-profile-sci {
    margin-top: 4px;
    margin-bottom: 10px;
    color: var(--ktp-stone);
    font: italic 400 12px/1.5 'Cormorant Garamond', serif;
}

.ktp-state-bird-profile-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ktp-state-bird-tag {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 1px 8px;
    border-radius: 999px;
    font: 700 10px 'Alegreya Sans', sans-serif;
}

.ktp-state-bird-tag-iucn {
    background: rgba(29,122,110,.1);
    color: #1D7A6E;
}

.ktp-state-bird-tag-symbol {
    background: rgba(196,112,43,.1);
    color: var(--ktp-amber);
}

.ktp-state-bird-mini-list {
    display: grid;
    gap: 0;
}

.ktp-state-bird-mini-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #efe8db;
    color: var(--ktp-forest);
    text-decoration: none;
    font: 400 12px/1.5 'Alegreya Sans', sans-serif;
}

.ktp-state-bird-mini-link span:last-child {
    color: var(--ktp-stone);
    text-align: right;
}

.ktp-state-bird-action {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 15px;
    border: 1px solid #e6dfd1;
    border-radius: 14px;
    background: rgba(255,255,255,0.92);
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(34,49,42,.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ktp-state-bird-action:hover {
    transform: translateY(-2px);
    border-color: rgba(74,124,92,0.34);
    box-shadow: 0 22px 42px rgba(34,49,42,.1);
}

.ktp-state-bird-action-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(139,175,126,.12);
    color: var(--ktp-canopy);
    flex-shrink: 0;
}

.ktp-state-bird-action-title {
    margin-bottom: 2px;
    color: var(--ktp-forest);
    font: 700 13px/1.35 'Alegreya Sans', sans-serif;
}

.ktp-state-bird-action-copy {
    color: var(--ktp-stone);
    font: 400 11px/1.55 'Alegreya Sans', sans-serif;
}

.ktp-state-birds-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ktp-state-birds-stat {
    padding: 16px;
    border: 1px solid #ebe4d8;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(250,249,246,0.95), rgba(255,255,255,0.98));
}

.ktp-state-birds-stat span {
    display: block;
    margin-bottom: 6px;
    color: var(--ktp-stone);
    text-transform: uppercase;
    letter-spacing: .9px;
    font: 700 10px 'Alegreya Sans', sans-serif;
}

.ktp-state-birds-stat strong {
    color: var(--ktp-forest);
    font: 700 17px/1.35 'Cormorant Garamond', serif;
}

/* --- Mobile Nav Hamburger --- */
.ktp-nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 36px; height: 36px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.ktp-nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: rgba(139,175,126,.8); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.ktp-nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ktp-nav-hamburger.open span:nth-child(2) { opacity: 0; }
.ktp-nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ktp-nav-drawer {
    display: none; flex-direction: column;
    background: #2D4A3E; border-top: 1px solid rgba(139,175,126,.15);
    padding: 8px 24px 16px;
}
.ktp-nav-drawer.open { display: flex; }
.ktp-nav-drawer-item {
    padding: 10px 0; font-size: 13px; text-transform: uppercase;
    letter-spacing: .8px; color: rgba(139,175,126,.8);
    font-family: 'Alegreya Sans', sans-serif; text-decoration: none;
    border-bottom: 1px solid rgba(139,175,126,.08);
}
.ktp-nav-drawer-item:last-child { border-bottom: none; }
.ktp-nav-drawer-item.active { color: #fff; }

/* --- Breadcrumb --- */
.ktp-breadcrumb {
    position: relative;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(255,253,248,0.98), rgba(247,241,231,0.98));
    border-bottom: 1px solid rgba(92,75,58,0.12);
    box-shadow:
        inset 0 -1px 0 rgba(255,255,255,0.5),
        0 8px 22px rgba(34,49,42,0.04);
}
.ktp-breadcrumb-inner {
    padding: 14px var(--ktp-shell-padding-x);
    display: flex; justify-content: space-between; align-items: center;
    gap: 14px;
}
.ktp-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 6px;
    border: 1px solid rgba(92,75,58,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
}
.ktp-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--ktp-forest);
    text-decoration: none;
    font: 800 14px/1 'Alegreya Sans', sans-serif;
    background: rgba(74,124,92,0.12);
    transition: background 0.18s ease, color 0.18s ease;
}
.ktp-breadcrumb-link:hover {
    text-decoration: none;
    color: var(--ktp-forest);
    background: rgba(74,124,92,0.2);
}
.ktp-breadcrumb-sep {
    margin: 0 4px;
    color: rgba(74,124,92,0.88);
    font: 900 12px/1 'JetBrains Mono', monospace;
}
.ktp-breadcrumb-current {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--ktp-white);
    font: 900 14px/1 'Alegreya Sans', sans-serif;
    background: linear-gradient(135deg, #2d4a3e, #3a5f4f);
    box-shadow: 0 10px 18px rgba(34,49,42,0.12);
}
.ktp-breadcrumb-date {
    flex-shrink: 0;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(92,75,58,0.12);
    background: rgba(255,255,255,0.9);
    color: var(--ktp-forest);
    font: 800 11px/32px 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Hero C - Gradient Hub Variant --- */
.ktp-hero-c {
    background:
        linear-gradient(135deg, rgba(32,57,47,.92), rgba(45,74,62,.84) 40%, rgba(74,124,92,.76)),
        var(--ktp-hero-background-image, linear-gradient(135deg, #2D4A3E, #3A5F4F 40%, #4A7C5C));
    background-size: cover;
    background-position: center;
    padding: var(--ktp-hero-padding-top) 0 var(--ktp-hero-padding-bottom);
}
.ktp-hero-c-inner {
    padding: 0 var(--ktp-shell-padding-x);
    display: grid;
    grid-template-columns: var(--ktp-hero-copy-col) var(--ktp-hero-art-col);
    gap: var(--ktp-hero-gap);
    align-items: end;
}
.ktp-hero-c-inner > :first-child {
    min-width: 0;
}
.ktp-hero-c .ktp-hero-icon {
    justify-self: end;
    align-self: center;
}
.ktp-hero-c h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
    letter-spacing: -0.8px;
}
.ktp-hero-bird-name {
    font-size: 22px;
    color: var(--ktp-sage);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 6px;
}
.ktp-hero-meta {
    font-size: 14px;
    color: #bdd4c0;
    font-family: 'Alegreya Sans', sans-serif;
    max-width: 480px;
    line-height: 1.7;
}
.ktp-hero-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.ktp-hero-badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Alegreya Sans', sans-serif;
}
.ktp-hero-badge-state { background: rgba(196,112,43,.3); color: #f0c898; }
.ktp-hero-badge-iucn  { background: rgba(29,122,110,.3); color: #b8ece6; }
.ktp-hero-icon {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,175,126,.25), rgba(74,124,92,.25));
    border: 3px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* --- Section Divider (diamond) --- */
.ktp-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 0;
    border: none;
    padding: 0;
    height: auto;
}
.ktp-sd-line { flex: 1; height: 1px; background: rgba(139,175,126,.3); }
.ktp-sd-diamond { font-size: 12px; color: rgba(139,175,126,.6); line-height: 1; }

/* --- Footer 3-Zone Structure --- */
.ktp-footer {
    background: var(--ktp-forest);
    margin-top: 0;
    padding: 0;
    color: var(--ktp-white);
}
.ktp-footer-inner {
    padding: 0 var(--ktp-shell-padding-x);
}
.ktp-footer-newsletter {
    border-bottom: 1px solid var(--ktp-forest-light);
    padding: 18px 0;
}
.ktp-footer-newsletter .ktp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.ktp-footer-nl-title { font-size: 14px; font-weight: 600; color: #d4e8da; font-family: 'Alegreya Sans', sans-serif; }
.ktp-footer-nl-sub   { font-size: 12px; color: var(--ktp-sage); font-family: 'Alegreya Sans', sans-serif; }
.ktp-footer-nl-form  { display: flex; gap: 8px; }
.ktp-footer-nl-form input {
    padding: 8px 14px; border-radius: 6px;
    border: 1px solid #4a6a5a; background: #3a5a4a;
    color: #d4e8da; font-size: 13px;
    font-family: 'Alegreya Sans', sans-serif;
    width: 200px; outline: none;
}
.ktp-footer-nl-form button {
    padding: 8px 16px; border-radius: 6px; border: none;
    background: var(--ktp-amber); color: #fff;
    font-size: 12px; font-weight: 600;
    font-family: 'Alegreya Sans', sans-serif; cursor: pointer;
}
.ktp-footer-links {
    padding: 24px 0;
    border-bottom: 1px solid var(--ktp-forest-light);
}
.ktp-footer-links .ktp-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}
.ktp-footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px; font-weight: 700; color: #d4e8da; margin-bottom: 6px;
}
.ktp-footer-brand-desc {
    font-size: 12px; color: var(--ktp-sage);
    font-family: 'Alegreya Sans', sans-serif;
    line-height: 1.6; max-width: 220px;
}
.ktp-footer-cols { display: flex; gap: 28px; }
.ktp-footer-col-title {
    font-size: 11px; font-weight: 600; color: var(--ktp-sage);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px; font-family: 'Alegreya Sans', sans-serif;
}
.ktp-footer-col-item {
    display: block; font-size: 12px; color: rgba(139,175,126,.73);
    font-family: 'Alegreya Sans', sans-serif; margin-bottom: 4px;
    text-decoration: none;
}
.ktp-footer-col-item:hover { color: #d4e8da; }
.ktp-footer-trust { padding: 12px 0; }
.ktp-footer-trust .ktp-footer-inner {
    display: flex; justify-content: space-between; align-items: center;
}
.ktp-footer-copy { font-size: 11px; color: rgba(139,175,126,.47); font-family: 'Alegreya Sans', sans-serif; }
.ktp-footer-badges { display: flex; gap: 14px; }
.ktp-footer-badge {
    font-size: 10px; color: rgba(139,175,126,.53);
    font-family: 'Alegreya Sans', sans-serif;
    display: flex; align-items: center; gap: 4px;
}

/* --- Homepage --- */
.ktp-home-shell {
    padding: 0 var(--ktp-shell-padding-x);
}
.ktp-home-hero {
    background: linear-gradient(135deg, #2D4A3E, #3A5F4F 42%, #4A7C5C);
    padding: 34px 0 40px;
}
.ktp-home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
    gap: 24px;
    align-items: center;
}
.ktp-home-kicker {
    margin: 0 0 10px;
    color: #d4e8da;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font: 600 11px 'Alegreya Sans', sans-serif;
}
.ktp-home-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font: 700 44px/1.08 'Cormorant Garamond', serif;
    letter-spacing: -.8px;
}
.ktp-home-hero-text {
    max-width: 580px;
    margin: 0 0 18px;
    color: #dceadf;
    font: 400 16px/1.75 'Alegreya Sans', sans-serif;
}
.ktp-home-search {
    display: flex;
    gap: 10px;
    max-width: 560px;
}
.ktp-home-search input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font: 400 14px 'Alegreya Sans', sans-serif;
}
.ktp-home-search input::placeholder { color: rgba(255,255,255,.72); }
.ktp-home-search button {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: var(--ktp-amber);
    color: #fff;
    cursor: pointer;
    font: 600 13px 'Alegreya Sans', sans-serif;
}
.ktp-home-note-card {
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(250,249,246,.1);
    backdrop-filter: blur(6px);
}
.ktp-home-note-label {
    margin-bottom: 8px;
    color: #f0c898;
    text-transform: uppercase;
    letter-spacing: 1px;
    font: 700 10px 'Alegreya Sans', sans-serif;
}
.ktp-home-note-card p {
    margin: 0 0 12px;
    color: #fff;
    font: 400 15px/1.7 'Alegreya Sans', sans-serif;
}
.ktp-home-note-meta {
    color: #d2e0d4;
    font: 600 12px 'Alegreya Sans', sans-serif;
}
.ktp-home-trust-strip {
    background: var(--ktp-parchment);
    border-bottom: 1px solid #eae6dc;
}
.ktp-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.ktp-home-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ktp-home-trust-item strong {
    color: var(--ktp-forest);
    font: 700 13px 'Alegreya Sans', sans-serif;
}
.ktp-home-trust-item span {
    color: var(--ktp-stone);
    font: 400 12px/1.55 'Alegreya Sans', sans-serif;
}
.ktp-home-main {
    padding-top: 28px;
    padding-bottom: 56px;
}
.ktp-home-section { margin-bottom: 34px; }
.ktp-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.ktp-home-eyebrow {
    margin: 0 0 4px;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 1px;
    font: 700 10px 'Alegreya Sans', sans-serif;
}
.ktp-home-section-head h2 {
    margin: 0;
    color: var(--ktp-forest);
    font: 600 28px/1.15 'Cormorant Garamond', serif;
}
.ktp-home-more {
    color: var(--ktp-canopy);
    text-decoration: none;
    font: 600 12px 'Alegreya Sans', sans-serif;
}
.ktp-home-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    border: 1px solid #eae6dc;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}
.ktp-home-feature-copy {
    padding: 26px 28px;
}
.ktp-home-chip-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.ktp-home-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(74,124,92,.12);
    color: var(--ktp-canopy);
    font: 700 10px 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.ktp-home-chip-warm {
    background: rgba(196,112,43,.12);
    color: var(--ktp-amber);
}
.ktp-home-feature h3 {
    margin: 0 0 10px;
    color: var(--ktp-forest);
    font: 700 30px/1.2 'Cormorant Garamond', serif;
}
.ktp-home-feature p {
    margin: 0 0 16px;
    color: var(--ktp-bark);
    font: 400 15px/1.8 'Alegreya Sans', sans-serif;
}
.ktp-home-byline {
    color: var(--ktp-stone);
    font: 600 12px 'Alegreya Sans', sans-serif;
}
.ktp-home-feature-art {
    min-height: 240px;
    background:
        radial-gradient(circle at 35% 30%, rgba(139,175,126,.42), transparent 32%),
        linear-gradient(135deg, rgba(74,124,92,.2), rgba(45,74,62,.08));
}
.ktp-home-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.ktp-home-story-card,
.ktp-home-browse-card,
.ktp-home-list-item,
.ktp-home-state-card {
    text-decoration: none;
}
.ktp-home-story-card {
    overflow: hidden;
    border: 1px solid #eae6dc;
    border-radius: 12px;
    background: #fff;
}
.ktp-home-story-art {
    height: 120px;
    background: linear-gradient(135deg, rgba(74,124,92,.2), rgba(45,74,62,.08));
}
.ktp-home-story-art-amber { background: linear-gradient(135deg, rgba(196,112,43,.24), rgba(45,74,62,.08)); }
.ktp-home-story-art-sage { background: linear-gradient(135deg, rgba(139,175,126,.3), rgba(45,74,62,.08)); }
.ktp-home-story-body {
    padding: 14px 15px 16px;
}
.ktp-home-story-category {
    margin-bottom: 6px;
    color: var(--ktp-canopy);
    font: 700 10px 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .9px;
}
.ktp-home-story-body h3 {
    margin: 0 0 8px;
    color: var(--ktp-forest);
    font: 700 19px/1.25 'Cormorant Garamond', serif;
}
.ktp-home-story-body p {
    margin: 0 0 12px;
    color: var(--ktp-bark);
    font: 400 13px/1.65 'Alegreya Sans', sans-serif;
}
.ktp-home-story-date {
    color: var(--ktp-stone);
    font: 600 11px 'Alegreya Sans', sans-serif;
}
.ktp-home-browse-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.ktp-home-browse-card {
    padding: 16px;
    border: 1px solid #eae6dc;
    border-radius: 12px;
    background: #fff;
}
.ktp-home-browse-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.ktp-home-browse-top h3 {
    margin: 0;
    color: var(--ktp-forest);
    font: 700 18px/1.2 'Alegreya Sans', sans-serif;
}
.ktp-home-browse-top span {
    color: var(--ktp-canopy);
    font: 600 12px 'JetBrains Mono', monospace;
}
.ktp-home-browse-card p {
    margin: 0;
    color: var(--ktp-stone);
    font: 400 13px/1.65 'Alegreya Sans', sans-serif;
}
.ktp-home-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.ktp-home-list {
    display: grid;
    gap: 10px;
}
.ktp-home-list-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #eae6dc;
    border-radius: 12px;
    background: #fff;
}
.ktp-home-list-item h3 {
    margin: 0 0 4px;
    color: var(--ktp-forest);
    font: 700 17px/1.2 'Cormorant Garamond', serif;
}
.ktp-home-list-item p {
    margin: 0;
    color: var(--ktp-stone);
    font: 400 12px/1.6 'Alegreya Sans', sans-serif;
}
.ktp-home-list-item span {
    color: var(--ktp-canopy);
    font: 700 14px 'Alegreya Sans', sans-serif;
}
.ktp-home-state-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.ktp-home-state-card {
    padding: 16px;
    border: 1px solid #eae6dc;
    border-radius: 12px;
    background: #fff;
}
.ktp-home-state-name {
    margin-bottom: 6px;
    color: var(--ktp-forest);
    font: 700 15px 'Alegreya Sans', sans-serif;
}
.ktp-home-state-bird {
    color: var(--ktp-stone);
    font: 400 13px 'Alegreya Sans', sans-serif;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .ktp-glance-strip { gap: 16px; }
    .ktp-nav-items { display: none; }
    .ktp-nav-search { display: none; }
    .ktp-nav-hamburger { display: flex; }
    .ktp-breadcrumb-date { display: none; }
    .ktp-hero-c h1 { font-size: 26px; }
    .ktp-hero-icon { display: none; }
    .ktp-home-hero { padding: 26px 0 30px; }
    .ktp-home-hero-inner,
    .ktp-home-feature,
    .ktp-home-two-col,
    .ktp-home-trust-grid,
    .ktp-home-state-grid,
    .ktp-home-browse-grid,
    .ktp-home-story-grid { grid-template-columns: 1fr; }
    .ktp-home-hero h1 { font-size: 32px; }
    .ktp-home-search { flex-direction: column; }
    .ktp-home-section-head { align-items: flex-start; flex-direction: column; }
    .ktp-footer-newsletter .ktp-footer-inner { flex-direction: column; align-items: flex-start; }
    .ktp-footer-links .ktp-footer-inner { flex-direction: column; }
    .ktp-footer-cols { flex-wrap: wrap; }
}

/* --- Taste Upgrade Overrides --- */
.ktp-nav {
    background: rgba(45, 74, 62, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(24, 39, 33, 0.12);
}

.ktp-nav-logo {
    letter-spacing: -0.5px;
}

.ktp-nav-search {
    border: 1px solid rgba(139, 175, 126, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.ktp-home-hero {
    background:
        radial-gradient(circle at 15% 25%, rgba(139,175,126,0.24), transparent 28%),
        radial-gradient(circle at 88% 24%, rgba(196,112,43,0.16), transparent 26%),
        linear-gradient(135deg, #233a31, #2d4a3e 44%, #4a7c5c);
    padding: 42px 0 48px;
}

.ktp-home-hero-inner {
    gap: 28px;
}

.ktp-home-hero h1 {
    max-width: 12ch;
    font-size: 52px;
}

.ktp-home-hero-text {
    max-width: 34rem;
}

.ktp-home-note-card {
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(16, 28, 23, 0.2);
}

.ktp-home-trust-grid {
    gap: 20px;
}

.ktp-home-main {
    padding-top: 34px;
    padding-bottom: 64px;
}

.ktp-home-story-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-auto-rows: 1fr;
}

.ktp-home-story-card:first-child {
    grid-row: span 2;
}

.ktp-home-story-card:first-child .ktp-home-story-art {
    height: 180px;
}

.ktp-home-story-card:first-child .ktp-home-story-body {
    padding: 18px 18px 20px;
}

.ktp-home-story-card:first-child .ktp-home-story-body h3 {
    font-size: 24px;
}

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

.ktp-home-browse-card,
.ktp-home-list-item,
.ktp-home-state-card,
.ktp-hub-panel,
.ktp-hub-card {
    box-shadow: 0 18px 40px rgba(34, 49, 42, 0.06);
}

.ktp-home-spotlight {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(74,124,92,0.12), rgba(255,255,255,0.9));
    border: 1px solid rgba(74,124,92,0.18);
    border-radius: 16px;
    text-decoration: none;
}

.ktp-home-spotlight-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), transparent 34%),
        linear-gradient(135deg, rgba(139,175,126,0.65), rgba(74,124,92,0.34));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.ktp-home-spotlight-title {
    margin-bottom: 6px;
    color: var(--ktp-forest);
    font: 700 24px/1.2 'Cormorant Garamond', serif;
}

.ktp-home-spotlight-copy p {
    margin: 0;
    color: var(--ktp-bark);
    font: 400 14px/1.8 'Alegreya Sans', sans-serif;
}

.ktp-home-spotlight-cta {
    color: var(--ktp-canopy);
    font: 700 12px 'Alegreya Sans', sans-serif;
    white-space: nowrap;
}

.ktp-home-state-card {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ktp-home-state-card:hover,
.ktp-home-list-item:hover,
.ktp-home-browse-card:hover,
.ktp-hub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74,124,92,0.4);
    box-shadow: 0 22px 42px rgba(34, 49, 42, 0.1);
}

.ktp-home-conservation-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid rgba(139,175,126,0.22);
}

.ktp-home-conservation-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
    color: var(--ktp-bark);
    font: 600 12px 'Alegreya Sans', sans-serif;
}

.ktp-home-conservation-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ktp-home-conservation-dot-lc { background: #1D7A6E; }
.ktp-home-conservation-dot-nt { background: #A88427; }
.ktp-home-conservation-dot-vu { background: #C4702B; }
.ktp-home-conservation-dot-en { background: #B4472B; }
.ktp-home-conservation-dot-cr { background: #7C1E1E; }

.ktp-hub-main {
    display: grid;
    gap: 18px;
}

.ktp-hub-panel {
    padding: 24px 26px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e6e0d4;
    border-radius: 16px;
}

.ktp-hub-panel h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.ktp-hub-lead {
    margin: 0;
    color: var(--ktp-bark);
    font: 400 15px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-hub-panel-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ktp-hub-card {
    display: block;
    padding: 16px;
    border: 1px solid #ebe4d8;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
}

.ktp-hub-card-title {
    margin-bottom: 6px;
    color: var(--ktp-forest);
    font: 700 17px/1.25 'Cormorant Garamond', serif;
}

.ktp-hub-card p {
    margin: 0 0 12px;
    color: var(--ktp-stone);
    font: 400 13px/1.7 'Alegreya Sans', sans-serif;
}

.ktp-hub-card span {
    color: var(--ktp-canopy);
    font: 700 12px 'Alegreya Sans', sans-serif;
}

.ktp-hub-rail {
    position: sticky;
    top: 84px;
    align-self: start;
    display: grid;
    gap: 16px;
    --ktp-rail-accent: rgba(74,124,92,0.92);
}

.ktp-hub-rail .ktp-sidebar-box {
    border-radius: 20px;
    border: 1px solid rgba(94,74,56,0.1);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,246,239,0.92)),
        radial-gradient(circle at top right, rgba(74,124,92,0.08), transparent 42%);
    box-shadow: 0 16px 32px rgba(32,57,47,0.05);
}

.ktp-hub-rail .ktp-sidebar-header {
    padding: 14px 16px 10px;
    background: transparent;
    color: var(--ktp-forest);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-hub-rail .ktp-sidebar-body {
    padding: 0 16px 15px;
}

.ktp-hub-rail-item {
    position: relative;
    padding: 10px 0 10px 16px;
    border-bottom: 1px solid rgba(94,74,56,0.08);
    color: var(--ktp-bark);
    font: 600 13px/1.55 'Alegreya Sans', sans-serif;
}

.ktp-hub-rail-item::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ktp-rail-accent);
    box-shadow: 0 0 0 4px rgba(74,124,92,0.13);
}

.ktp-hub-rail-item:last-child {
    border-bottom: none;
}

.ktp-hub-rail-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(94,74,56,0.08);
    border-radius: 14px;
    color: var(--ktp-forest);
    text-decoration: none;
    font: 700 13px/1.35 'Alegreya Sans', sans-serif;
    background: rgba(255,255,255,0.72);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ktp-hub-rail-link + .ktp-hub-rail-link {
    margin-top: 9px;
}

.ktp-hub-rail-link:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--ktp-rail-accent) 22%, rgba(94,74,56,0.08));
    box-shadow:
        inset 3px 0 0 var(--ktp-rail-accent),
        0 14px 24px rgba(32,57,47,0.08);
    background: rgba(255,255,255,0.92);
}

.ktp-hub-rail--decision {
    --ktp-rail-accent: rgba(196,112,43,0.95);
}

.ktp-hub-rail--taxonomy {
    --ktp-rail-accent: rgba(138,175,126,0.92);
}

.ktp-empty-state {
    background: linear-gradient(135deg, rgba(250,249,246,0.95), rgba(255,255,255,0.98));
}

.ktp-empty-state p {
    margin: 0 0 16px;
    color: var(--ktp-bark);
    font: 400 15px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-page-main {
    display: grid;
    gap: 18px;
}

.ktp-page-panel {
    padding: 24px 26px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e6e0d4;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(34, 49, 42, 0.06);
}

.ktp-page-panel h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.ktp-page-rail {
    position: sticky;
    top: 84px;
    align-self: start;
    display: grid;
    gap: 16px;
}

.ktp-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ktp-page-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(74,124,92,0.16);
    border-radius: 999px;
    background: rgba(74,124,92,0.06);
    color: var(--ktp-canopy);
    text-decoration: none;
    font: 600 12px 'Alegreya Sans', sans-serif;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ktp-page-links a:hover,
.ktp-page-links a[aria-current="page"] {
    transform: translateY(-1px);
    border-color: rgba(74,124,92,0.34);
    background: rgba(74,124,92,0.12);
}

.ktp-page-links a[aria-current="page"] {
    color: var(--ktp-forest);
}

.ktp-prose {
    color: var(--ktp-bark);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.2;
}

.ktp-prose > :first-child {
    margin-top: 0;
}

.ktp-prose h2,
.ktp-prose h3,
.ktp-prose h4 {
    color: var(--ktp-forest);
}

.ktp-prose h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139,175,126,0.22);
}

.ktp-prose h3 {
    margin-top: 28px;
}

.ktp-prose p {
    margin-top: 0;
    margin-bottom: 2em;
}

.ktp-prose ul,
.ktp-prose ol,
.ktp-prose blockquote {
    margin: 0 0 16px;
}

.ktp-prose ul,
.ktp-prose ol {
    padding-left: 22px;
}

.ktp-prose .ez-toc-container,
.ktp-prose #ez-toc-container {
    margin: 0 0 28px;
    padding: 16px;
    border: 1px solid rgba(45,74,62,0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,240,232,0.98) 100%);
    box-shadow: 0 18px 40px rgba(45,74,62,0.06);
}

.ktp-prose .ez-toc-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(74,124,92,0.16);
}

.ktp-prose .ez-toc-title {
    margin: 0;
    color: var(--ktp-forest);
    font: 700 13px/1 'Alegreya Sans', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ktp-prose .ez-toc-title-toggle {
    margin-left: auto;
}

.ktp-prose .ez-toc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(74,124,92,0.2);
    border-radius: 999px;
    background: rgba(74,124,92,0.08);
    color: var(--ktp-canopy);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ktp-prose .ez-toc-toggle:hover,
.ktp-prose .ez-toc-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(74,124,92,0.34);
    background: rgba(74,124,92,0.14);
    outline: none;
}

.ktp-prose .ez-toc-toggle svg {
    width: 16px;
    height: 16px;
    fill: currentColor !important;
    color: currentColor !important;
}

.ktp-prose .ez-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ktp-toc;
}

.ktp-prose .ez-toc-list li {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-increment: ktp-toc;
}

.ktp-prose .ez-toc-list li + li {
    margin-top: 8px;
}

.ktp-prose .ez-toc-list ul {
    margin: 8px 0 0;
    padding: 0 0 0 18px;
    list-style: none;
}

.ktp-prose .ez-toc-link {
    display: grid;
    grid-template-columns: 2.6ch minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    min-height: 0;
    padding: 10px 12px;
    border: 1px solid rgba(74,124,92,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.88);
    color: var(--ktp-forest);
    font: 700 14px/1.35 'Alegreya Sans', sans-serif;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ktp-prose .ez-toc-link::before {
    content: counter(ktp-toc, decimal-leading-zero);
    flex: 0 0 auto;
    min-width: 2.6ch;
    color: var(--ktp-canopy);
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
}

.ktp-prose .ez-toc-link:hover,
.ktp-prose .ez-toc-link:focus-visible {
    transform: translateX(3px);
    border-color: rgba(74,124,92,0.3);
    background: #fff;
    box-shadow: 0 14px 30px rgba(45,74,62,0.07);
    outline: none;
}

.ktp-prose .ez-toc-list ul .ez-toc-link {
    min-height: 0;
    font-weight: 500;
    background: rgba(74,124,92,0.05);
}

.ktp-prose li + li {
    margin-top: 6px;
}

.ktp-prose a {
    color: var(--ktp-canopy);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.ktp-prose strong {
    color: var(--ktp-forest);
}

.ktp-prose blockquote {
    padding: 14px 18px;
    border-left: 3px solid var(--ktp-canopy);
    background: rgba(74,124,92,0.06);
    border-radius: 0 12px 12px 0;
}

.ktp-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.ktp-prose th,
.ktp-prose td {
    padding: 10px 12px;
    border-bottom: 1px solid #ece5d8;
    text-align: left;
}

.ktp-prose th {
    color: var(--ktp-forest);
    font-weight: 700;
}

@media (max-width: 640px) {
    .ktp-prose .ez-toc-container,
    .ktp-prose #ez-toc-container {
        padding: 16px;
        border-radius: 18px;
    }

    .ktp-prose .ez-toc-link {
        min-height: 48px;
        padding: 11px 12px;
        font-size: 15px;
    }
}

.wpcf7-form {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    display: grid;
    gap: 6px;
    color: var(--ktp-forest);
    font: 600 13px 'Alegreya Sans', sans-serif;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d1c2;
    border-radius: 12px;
    background: #fff;
    color: var(--ktp-ink);
    font: 400 15px 'Alegreya Sans', sans-serif;
    box-sizing: border-box;
}

.wpcf7-form textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: rgba(74,124,92,0.5);
    box-shadow: 0 0 0 3px rgba(74,124,92,0.12);
}

.wpcf7-form input[type="submit"],
.wpcf7-form button,
.wpcf7-submit {
    justify-self: start;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: var(--ktp-amber);
    color: #fff;
    cursor: pointer;
    font: 700 13px 'Alegreya Sans', sans-serif;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button:hover,
.wpcf7-submit:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
    margin: 0;
    font: 600 12px/1.6 'Alegreya Sans', sans-serif;
}

.wpcf7-response-output {
    border-radius: 12px;
    padding: 12px 14px;
}

@media (max-width: 900px) {
    .ktp-hub-shell {
        grid-template-columns: 1fr;
    }

    .ktp-hub-rail {
        position: static;
    }

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

    .ktp-page-rail {
        position: static;
    }

    .ktp-state-bird-shell,
    .ktp-state-birds-hub-shell,
    .ktp-state-birds-stats {
        grid-template-columns: 1fr;
    }

    .ktp-state-bird-sidebar-stack,
    .ktp-state-birds-rail {
        position: static;
    }
}

@media (max-width: 768px) {
    .ktp-home-hero h1 {
        font-size: 34px;
    }

    .ktp-home-story-grid,
    .ktp-home-browse-grid,
    .ktp-hub-panel-grid,
    .ktp-home-spotlight {
        grid-template-columns: 1fr;
    }

    .ktp-home-story-card:first-child {
        grid-row: auto;
    }

    .ktp-home-spotlight {
        align-items: flex-start;
    }

    .ktp-home-spotlight-cta {
        white-space: normal;
    }

    .ktp-page-shell {
        padding: 28px 16px 48px;
    }

    .ktp-page-panel {
        padding: 20px 18px;
    }

    .ktp-page-links {
        gap: 8px;
    }

    .ktp-page-links a {
        width: 100%;
        justify-content: center;
    }

    .ktp-state-bird-shell,
    .ktp-state-birds-hub-shell {
        padding: 28px 16px 48px;
    }

    .ktp-state-bird-action {
        align-items: flex-start;
    }
}

/* Homepage v2: editorial nature premium */
:root {
    --ktp-v2-forest: #20392F;
    --ktp-v2-forest-2: #2D4A3E;
    --ktp-v2-canopy: #53785F;
    --ktp-v2-moss: #9AAF8A;
    --ktp-v2-paper: #F3EBDD;
    --ktp-v2-ivory: #FAF6EF;
    --ktp-v2-bark: #5E4A38;
    --ktp-v2-rust: #B8672F;
    --ktp-v2-ink: #18211B;
    --ktp-v2-line: rgba(94,74,56,0.12);
    --ktp-v2-shadow: 0 30px 60px rgba(32,57,47,0.08);
}

.ktp-home-v2 {
    background: var(--ktp-v2-paper);
    color: var(--ktp-v2-ink);
}

.ktp-home-v2-main {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(154,175,138,0.22), transparent 28%),
        linear-gradient(180deg, #f6efe3 0%, var(--ktp-v2-paper) 48%, #eee3d2 100%);
}

.ktp-v2-shell {
    padding: 0 var(--ktp-shell-padding-x);
    max-width: 1180px;
}

.ktp-v2-kicker,
.ktp-v2-card-label,
.ktp-v2-atlas-card span,
.ktp-v2-atlas-note span,
.ktp-v2-current-item span,
.ktp-v2-art-note span,
.ktp-v2-feature-proof span {
    display: block;
    color: var(--ktp-v2-canopy);
    font: 800 11px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-v2-hero {
    position: relative;
    min-height: 620px;
    padding: 76px 0 54px;
    color: var(--ktp-v2-ivory);
    background:
        linear-gradient(90deg, rgba(24,33,27,0.9) 0%, rgba(32,57,47,0.74) 48%, rgba(32,57,47,0.2) 100%),
        var(--ktp-v2-hero-image);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.ktp-v2-hero::after {
    display: none;
}

.ktp-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 6.7fr) minmax(320px, 5.3fr);
    gap: 42px;
    align-items: end;
}

.ktp-v2-hero-copy {
    max-width: 700px;
    padding: 76px 0 22px;
}

.ktp-v2-hero .ktp-v2-kicker {
    color: rgba(250,246,239,0.72);
    margin-bottom: 18px;
}

.ktp-v2-hero-title {
    margin: 0;
    color: var(--ktp-v2-ivory);
    font: 700 68px/0.96 'Cormorant Garamond', Georgia, serif;
    font-size: 68px;
    line-height: 0.96;
    letter-spacing: 0;
    text-wrap: balance;
}

.ktp-v2-hero-deck {
    max-width: 610px;
    margin: 24px 0 0;
    color: rgba(250,246,239,0.82);
    font: 400 19px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-v2-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(100%, 640px);
    margin-top: 30px;
    padding: 8px;
    border: 1px solid rgba(250,246,239,0.28);
    border-radius: 18px;
    background: rgba(250,246,239,0.12);
    box-shadow: inset 0 1px 0 rgba(250,246,239,0.12);
    backdrop-filter: blur(12px);
}

.ktp-v2-search input {
    min-width: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(250,246,239,0.94);
    color: var(--ktp-v2-ink);
    font: 600 15px 'Alegreya Sans', sans-serif;
    padding: 15px 16px;
}

.ktp-v2-search input:focus {
    outline: 2px solid rgba(154,175,138,0.55);
    outline-offset: 2px;
}

.ktp-v2-search button,
.ktp-v2-text-link {
    border: 0;
    border-radius: 12px;
    background: var(--ktp-v2-rust);
    color: #fffaf3;
    cursor: pointer;
    font: 800 13px 'Alegreya Sans', sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ktp-v2-search button {
    padding: 0 18px;
}

.ktp-v2-search button:hover,
.ktp-v2-text-link:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.ktp-v2-search button:active,
.ktp-v2-text-link:active {
    transform: translateY(1px);
}

.ktp-v2-art-panel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(250,246,239,0.24);
    border-radius: 28px;
    background: rgba(250,246,239,0.1);
    box-shadow: 0 30px 70px rgba(24,33,27,0.22);
}

.ktp-v2-art-panel img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.ktp-v2-art-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(32,57,47,0), rgba(32,57,47,0.34)),
        radial-gradient(circle at 22% 18%, rgba(250,246,239,0.25), transparent 28%);
    pointer-events: none;
}

.ktp-v2-art-note {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    padding: 15px 16px;
    border: 1px solid rgba(250,246,239,0.22);
    border-radius: 16px;
    background: rgba(24,33,27,0.48);
    backdrop-filter: blur(10px);
}

.ktp-v2-art-note span {
    color: rgba(250,246,239,0.64);
    margin-bottom: 4px;
}

.ktp-v2-art-note strong {
    color: var(--ktp-v2-ivory);
    font: 700 15px 'Alegreya Sans', sans-serif;
}

.ktp-v2-hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 780px;
    overflow: hidden;
    border: 1px solid rgba(250,246,239,0.2);
    border-radius: 18px;
    background: rgba(250,246,239,0.16);
    backdrop-filter: blur(14px);
}

.ktp-v2-hero-stats div {
    padding: 16px 18px;
    background: rgba(24,33,27,0.24);
}

.ktp-v2-hero-stats span {
    display: block;
    color: rgba(250,246,239,0.62);
    font: 800 10px 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-v2-hero-stats strong {
    display: block;
    margin-top: 5px;
    color: var(--ktp-v2-ivory);
    font: 700 16px 'Alegreya Sans', sans-serif;
}

.ktp-v2-section {
    margin: 58px 0;
}

.ktp-v2-section-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.ktp-v2-section-heading h2,
.ktp-v2-feature h2,
.ktp-v2-atlas h2,
.ktp-v2-current h2 {
    margin: 8px 0 0;
    color: var(--ktp-v2-forest);
    font: 700 34px/1.12 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0;
}

.ktp-v2-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 42px;
}

.ktp-v2-feature-copy {
    padding: 34px;
    border: 1px solid var(--ktp-v2-line);
    border-radius: 28px;
    background: rgba(250,246,239,0.86);
    box-shadow: var(--ktp-v2-shadow);
}

.ktp-v2-feature-copy p {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 18px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-v2-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 24px;
    padding: 0 16px;
}

.ktp-v2-feature-proof {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(184,103,47,0.12), transparent 40%),
        linear-gradient(180deg, #274338, var(--ktp-v2-forest));
    color: var(--ktp-v2-ivory);
}

.ktp-v2-feature-proof-media,
.ktp-v2-card-media,
.ktp-hub-module-media,
.ktp-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(94,74,56,0.08);
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(74,124,92,0.16), transparent 55%),
        linear-gradient(145deg, rgba(255,251,245,0.98), rgba(238,229,214,0.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
}

.ktp-v2-feature-proof-media::before,
.ktp-v2-card-media::before,
.ktp-hub-module-media::before,
.ktp-card-media::before {
    content: "";
    position: absolute;
    inset: auto -24px -32px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(45,74,62,0.08);
}

.ktp-v2-feature-proof-media::after,
.ktp-v2-card-media::after,
.ktp-hub-module-media::after,
.ktp-card-media::after {
    content: "";
    position: absolute;
    inset: 12px auto auto 12px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(74,124,92,0.12);
    background: rgba(255,255,255,0.46);
}

.ktp-v2-feature-proof-media {
    min-height: 136px;
    margin-bottom: auto;
}

.ktp-v2-feature-proof .ktp-v2-feature-proof-media,
.ktp-v2-discovery-card:first-child .ktp-v2-card-media {
    border-color: rgba(250,246,239,0.12);
    background:
        radial-gradient(circle at top left, rgba(212,232,218,0.18), transparent 55%),
        linear-gradient(145deg, rgba(58,90,74,0.96), rgba(36,58,48,0.96));
}

.ktp-v2-feature-proof .ktp-v2-feature-proof-media::before,
.ktp-v2-discovery-card:first-child .ktp-v2-card-media::before {
    background: rgba(250,246,239,0.08);
}

.ktp-v2-feature-proof .ktp-v2-feature-proof-media::after,
.ktp-v2-discovery-card:first-child .ktp-v2-card-media::after {
    background: rgba(250,246,239,0.08);
    border-color: rgba(250,246,239,0.12);
}

.ktp-card-media--illustrated {
    overflow: hidden;
    padding: 8px;
    background: linear-gradient(180deg, rgba(255,252,247,0.98), rgba(244,236,223,0.96));
}

.ktp-card-media--illustrated::before,
.ktp-card-media--illustrated::after {
    display: none;
}

.ktp-card-art-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 18px rgba(34,49,42,0.08));
}

.ktp-v2-feature-proof .ktp-card-media--illustrated,
.ktp-v2-discovery-card:first-child .ktp-card-media--illustrated {
    background: linear-gradient(180deg, rgba(255,250,243,0.98), rgba(240,228,210,0.95));
    border-color: rgba(250,246,239,0.18);
}

.ktp-v2-feature-proof span {
    color: rgba(250,246,239,0.62);
    margin-bottom: 10px;
    margin-top: 18px;
}

.ktp-v2-feature-proof strong {
    font: 700 28px/1.12 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-discovery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 14px;
}

.ktp-v2-discovery-card {
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 20px;
    border: 1px solid var(--ktp-v2-line);
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(32,57,47,0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ktp-v2-card-media {
    height: auto;
    min-height: 120px;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
}

.ktp-card-media {
    height: 104px;
    margin-bottom: 14px;
}

.ktp-v2-discovery-card:first-child {
    min-height: 300px;
    background: var(--ktp-v2-forest);
    color: var(--ktp-v2-ivory);
}

.ktp-v2-discovery-card:hover,
.ktp-v2-atlas-card:hover,
.ktp-v2-current-item:hover {
    transform: translateY(-2px);
    border-color: rgba(83,120,95,0.34);
}

.ktp-v2-discovery-card h3 {
    margin: 14px 0 0;
    color: inherit;
    font: 700 23px/1.16 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-discovery-card p {
    margin: 12px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 14px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-v2-discovery-card:first-child p,
.ktp-v2-discovery-card:first-child .ktp-v2-card-label {
    color: rgba(250,246,239,0.72);
}

.ktp-v2-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--ktp-v2-canopy);
    font: 800 11px 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ktp-v2-discovery-card:first-child .ktp-v2-card-foot {
    color: var(--ktp-v2-moss);
}

.ktp-v2-atlas {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: start;
}

.ktp-v2-atlas-story {
    position: sticky;
    top: 92px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(250,246,239,0.74);
    border: 1px solid var(--ktp-v2-line);
}

.ktp-v2-atlas-story p,
.ktp-v2-current-copy p {
    margin: 16px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 17px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-v2-atlas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ktp-v2-atlas-card {
    display: block;
    min-height: 136px;
    padding: 18px;
    border: 1px solid var(--ktp-v2-line);
    border-radius: 18px;
    background: rgba(255,255,255,0.76);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ktp-v2-card-media--atlas {
    min-height: 102px;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
}

.ktp-v2-atlas-card strong {
    display: block;
    margin-top: 12px;
    color: var(--ktp-v2-forest);
    font: 700 22px/1.12 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-atlas-card em {
    display: block;
    margin-top: 7px;
    color: var(--ktp-v2-bark);
    font: 600 14px 'Alegreya Sans', sans-serif;
}

.ktp-v2-atlas-note {
    grid-column: 2;
    padding: 24px;
    border-radius: 22px;
    background: var(--ktp-v2-forest);
    color: var(--ktp-v2-ivory);
}

.ktp-v2-atlas-note span {
    color: rgba(250,246,239,0.64);
    margin-bottom: 10px;
}

.ktp-v2-atlas-note strong {
    display: block;
    max-width: 520px;
    font: 700 28px/1.1 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-atlas-note p {
    max-width: 620px;
    margin: 12px 0 0;
    color: rgba(250,246,239,0.78);
    font: 400 15px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-v2-credibility {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(83,120,95,0.12), transparent 42%),
        rgba(250,246,239,0.74);
}

.ktp-v2-credibility-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.92fr 0.92fr;
    gap: 14px;
}

.ktp-v2-credibility-item {
    padding: 22px 0 0;
    border-top: 2px solid rgba(83,120,95,0.28);
}

.ktp-v2-card-media--credibility {
    min-height: 136px;
    aspect-ratio: 16 / 8;
    margin-bottom: 16px;
}

.ktp-v2-credibility-item h3 {
    margin: 0;
    color: var(--ktp-v2-forest);
    font: 700 24px/1.14 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-credibility-item p {
    margin: 10px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 15px/1.8 'Alegreya Sans', sans-serif;
}

.ktp-v2-current {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 76px;
}

.ktp-v2-current-copy {
    padding-top: 8px;
}

.ktp-v2-current-grid {
    display: grid;
    gap: 10px;
}

.ktp-v2-current-item {
    padding: 20px 0 20px 24px;
    border-left: 2px solid rgba(83,120,95,0.24);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ktp-v2-card-media--current {
    min-height: 122px;
    aspect-ratio: 16 / 8;
    margin: 0 0 16px;
}

.ktp-v2-card-media.ktp-card-media--illustrated,
.ktp-v2-feature-proof-media.ktp-card-media--illustrated {
    padding: 0;
}

.ktp-v2-card-media.ktp-card-media--illustrated .ktp-card-art-image,
.ktp-v2-feature-proof-media.ktp-card-media--illustrated .ktp-card-art-image {
    object-fit: cover;
    transform: scale(1.06);
}

.ktp-v2-card-media--atlas.ktp-card-media--illustrated .ktp-card-art-image {
    transform: scale(1.12);
}

.ktp-v2-card-media--credibility.ktp-card-media--illustrated .ktp-card-art-image,
.ktp-v2-card-media--current.ktp-card-media--illustrated .ktp-card-art-image {
    object-position: center 42%;
}

.ktp-v2-current-item h3 {
    margin: 8px 0 0;
    color: var(--ktp-v2-forest);
    font: 700 24px/1.16 'Cormorant Garamond', Georgia, serif;
}

.ktp-v2-current-item p {
    margin: 8px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 15px/1.78 'Alegreya Sans', sans-serif;
}

@media (max-width: 980px) {
    .ktp-v2-hero {
        min-height: auto;
        padding: 54px 0 42px;
    }

    .ktp-v2-hero-grid,
    .ktp-v2-feature,
    .ktp-v2-atlas,
    .ktp-v2-current {
        grid-template-columns: 1fr;
    }

    .ktp-v2-hero-copy {
        padding: 42px 0 0;
    }

    .ktp-v2-hero-title {
        font-size: 52px;
    }

    .ktp-v2-art-panel,
    .ktp-v2-art-panel img {
        min-height: 380px;
    }

    .ktp-v2-discovery-grid,
    .ktp-v2-credibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ktp-v2-discovery-card:first-child {
        min-height: 255px;
    }

    .ktp-v2-atlas-story {
        position: static;
    }

    .ktp-v2-atlas-note {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .ktp-v2-hero-title {
        font-size: 40px;
        line-height: 1.02;
    }

    .ktp-v2-hero-deck {
        font-size: 17px;
    }

    .ktp-v2-search,
    .ktp-v2-hero-stats,
    .ktp-v2-discovery-grid,
    .ktp-v2-atlas-grid,
    .ktp-v2-credibility-grid {
        grid-template-columns: 1fr;
    }

    .ktp-v2-search button {
        min-height: 46px;
    }

    .ktp-v2-section {
        margin: 42px 0;
    }

    .ktp-v2-feature-copy,
    .ktp-v2-credibility,
    .ktp-v2-atlas-story {
        padding: 22px;
        border-radius: 22px;
    }

    .ktp-v2-section-heading h2,
    .ktp-v2-feature h2,
    .ktp-v2-atlas h2,
    .ktp-v2-current h2 {
        font-size: 29px;
    }
}

/* Trust and utility page identity system */
.ktp-page-identity-hero {
    padding: var(--ktp-hero-padding-top) 0 var(--ktp-hero-padding-bottom);
    background:
        linear-gradient(90deg, rgba(24,33,27,0.94), rgba(32,57,47,0.78) 48%, rgba(32,57,47,0.38)),
        radial-gradient(circle at 84% 12%, rgba(184,103,47,0.2), transparent 28%),
        var(--ktp-v2-forest);
    color: var(--ktp-v2-ivory);
}

.ktp-page-identity-inner {
    padding: 0 var(--ktp-shell-padding-x);
    display: grid;
    grid-template-columns: var(--ktp-hero-copy-col) var(--ktp-hero-art-col);
    gap: var(--ktp-hero-gap);
    align-items: end;
}

.ktp-page-identity-copy h1 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--ktp-v2-ivory);
    font: 700 58px/0.98 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.7px;
    text-wrap: balance;
}

.ktp-page-identity-copy .ktp-hero-meta {
    max-width: 700px;
    margin-top: 20px;
    color: rgba(250,246,239,0.8);
    font: 400 18px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-page-identity-art {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--ktp-hero-art-min-height);
    aspect-ratio: var(--ktp-hero-art-ratio);
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(250,246,239,0.18);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(24,33,27,0.28);
    background:
        radial-gradient(circle at top left, rgba(250,246,239,0.18), transparent 38%),
        linear-gradient(160deg, rgba(41,62,52,0.92), rgba(27,41,34,0.98));
}

.ktp-page-identity-art img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: contain;
    object-position: center;
}

.ktp-page-identity-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,33,27,0), rgba(24,33,27,0.32));
    pointer-events: none;
}

.ktp-page-identity-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 10px 12px;
    border: 1px solid rgba(250,246,239,0.18);
    border-radius: 14px;
    background: rgba(24,33,27,0.46);
    color: rgba(250,246,239,0.78);
    font: 800 10px/1.3 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.ktp-editor-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(250,246,239,0.9);
    box-shadow: 0 18px 36px rgba(32,57,47,0.05);
}

.ktp-editor-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(94,74,56,0.12);
}

.ktp-editor-label {
    color: var(--ktp-v2-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-editor-name {
    margin-top: 5px;
    color: var(--ktp-v2-forest);
    font: 700 21px/1.1 'Cormorant Garamond', Georgia, serif;
}

.ktp-editor-role {
    margin-top: 3px;
    color: var(--ktp-v2-bark);
    font: 800 12px/1.35 'Alegreya Sans', sans-serif;
}

.ktp-editor-card p {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 13px/1.65 'Alegreya Sans', sans-serif;
}

.ktp-page-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.1);
    border-radius: 16px;
    background: rgba(94,74,56,0.08);
}

.ktp-page-proof-grid div {
    padding: 14px 15px;
    background: rgba(255,255,255,0.76);
}

.ktp-page-proof-grid span {
    display: block;
    color: var(--ktp-v2-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-page-proof-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--ktp-v2-forest);
    font: 700 16px/1.2 'Cormorant Garamond', Georgia, serif;
}

@media (max-width: 980px) {
    .ktp-page-identity-inner {
        grid-template-columns: 1fr;
    }

    .ktp-page-identity-copy h1 {
        font-size: 46px;
    }

    .ktp-nav-logo {
        min-width: auto;
    }

    .ktp-nav-logo-kicker {
        display: none;
    }
}

@media (max-width: 640px) {
    .ktp-page-identity-hero {
        padding: 34px 0 28px;
    }

    .ktp-page-identity-copy h1 {
        font-size: 36px;
    }

    .ktp-page-identity-art,
    .ktp-page-identity-art img {
        min-height: 240px;
    }

    .ktp-editor-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .ktp-editor-avatar {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
}

/* Editorial hub redesign: route-specific discovery pages */
.ktp-hub-editorial {
    background: var(--ktp-v2-paper);
}

.ktp-hub-editorial-hero {
    position: relative;
    overflow: hidden;
    padding: var(--ktp-hero-padding-top) 0 var(--ktp-hero-padding-bottom);
    background:
        radial-gradient(circle at 12% 14%, rgba(184,103,47,0.18), transparent 24%),
        linear-gradient(120deg, #18211b 0%, #20392f 48%, #2d4a3e 100%);
    color: var(--ktp-v2-ivory);
}

.ktp-hub-editorial-hero::after {
    display: none;
}

.ktp-hub-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 var(--ktp-shell-padding-x);
    display: grid;
    grid-template-columns: var(--ktp-hero-copy-col) var(--ktp-hero-art-col);
    gap: var(--ktp-hero-gap);
    align-items: end;
}

.ktp-hub-hero-copy h1 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--ktp-v2-ivory);
    font: 700 58px/0.98 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.7px;
    text-wrap: balance;
}

.ktp-hub-hero-copy p {
    max-width: 700px;
    margin: 20px 0 0;
    color: rgba(250,246,239,0.8);
    font: 400 18px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-hub-review-badge {
    display: inline-grid;
    grid-template-columns: 38px auto;
    gap: 2px 10px;
    align-items: center;
    margin-top: 28px;
    padding: 10px 13px;
    border: 1px solid rgba(250,246,239,0.16);
    border-radius: 999px;
    background: rgba(250,246,239,0.09);
    box-shadow: inset 0 1px 0 rgba(250,246,239,0.08);
}

.ktp-hub-review-badge img {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.ktp-hub-review-badge span {
    color: rgba(250,246,239,0.9);
    font: 800 12px/1.1 'Alegreya Sans', sans-serif;
}

.ktp-hub-review-badge strong {
    color: rgba(154,175,138,0.9);
    font: 800 10px/1.1 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ktp-hub-feature-art {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--ktp-hero-art-min-height);
    aspect-ratio: var(--ktp-hero-art-ratio);
    padding: 18px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(250,246,239,0.18);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(24,33,27,0.28);
    background:
        radial-gradient(circle at top left, rgba(250,246,239,0.16), transparent 38%),
        linear-gradient(160deg, rgba(41,62,52,0.92), rgba(27,41,34,0.98));
}

.ktp-hub-feature-art img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: contain;
    object-position: center;
}

.ktp-hub-feature-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 16%, rgba(250,246,239,0.18), transparent 30%),
        linear-gradient(180deg, rgba(24,33,27,0), rgba(24,33,27,0.44));
    pointer-events: none;
}

.ktp-hub-feature-art figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 12px 13px;
    border: 1px solid rgba(250,246,239,0.18);
    border-radius: 15px;
    background: rgba(24,33,27,0.52);
    color: rgba(250,246,239,0.78);
    font: 600 12px/1.45 'Alegreya Sans', sans-serif;
    backdrop-filter: blur(10px);
}

.ktp-hub-feature-art figcaption span {
    display: block;
    margin-bottom: 3px;
    color: rgba(154,175,138,0.92);
    font: 800 9px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
}

.ktp-hub-editorial-shell .ktp-hub-main {
    gap: 22px;
}

.ktp-hub-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.1);
    border-radius: 22px;
    background: rgba(94,74,56,0.1);
    box-shadow: 0 18px 36px rgba(32,57,47,0.04);
}

.ktp-hub-proof-strip div {
    padding: 18px;
    background: rgba(250,246,239,0.86);
}

.ktp-hub-proof-strip span,
.ktp-hub-table-row span,
.ktp-hub-related-box span {
    display: block;
    color: var(--ktp-v2-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-hub-proof-strip strong {
    display: block;
    margin-top: 7px;
    color: var(--ktp-v2-forest);
    font: 700 18px/1.18 'Cormorant Garamond', Georgia, serif;
}

.ktp-hub-editorial-panel,
.ktp-hub-decision-table,
.ktp-hub-related-box,
.ktp-hub-report-error {
    border: 1px solid rgba(94,74,56,0.11);
    border-radius: 26px;
    background: rgba(250,246,239,0.82);
    box-shadow: 0 22px 44px rgba(32,57,47,0.05);
}

.ktp-hub-editorial-panel {
    padding: 34px;
}

.ktp-hub-editorial-panel h2,
.ktp-hub-table-heading h2,
.ktp-hub-related-box h2,
.ktp-hub-report-error h2 {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--ktp-v2-forest);
    font: 700 34px/1.13 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.2px;
}

.ktp-hub-editorial-panel .ktp-hub-lead {
    margin: 17px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 18px/1.85 'Alegreya Sans', sans-serif;
}

.ktp-hub-pull-quote {
    margin: 0;
    padding: 30px 34px;
    border-left: 4px solid var(--ktp-v2-rust);
    border-radius: 0 24px 24px 0;
    background:
        linear-gradient(135deg, rgba(184,103,47,0.1), transparent 52%),
        rgba(250,246,239,0.72);
}

.ktp-hub-pull-quote p {
    max-width: 720px;
    margin: 0;
    color: var(--ktp-v2-forest);
    font: italic 700 27px/1.3 'Cormorant Garamond', Georgia, serif;
}

.ktp-hub-decision-table {
    padding: 28px;
}

.ktp-hub-table-rows {
    display: grid;
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.1);
    border-radius: 18px;
    background: rgba(94,74,56,0.1);
}

.ktp-hub-table-row {
    display: grid;
    grid-template-columns: 0.74fr 0.42fr minmax(0, 1.1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    background: rgba(255,255,255,0.72);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ktp-hub-table-row:hover {
    transform: translateX(2px);
    background: rgba(255,255,255,0.92);
}

.ktp-hub-table-row strong {
    color: var(--ktp-v2-forest);
    font: 800 13px/1.2 'Alegreya Sans', sans-serif;
}

.ktp-hub-table-row em {
    color: var(--ktp-v2-bark);
    font: normal 400 14px/1.55 'Alegreya Sans', sans-serif;
}

.ktp-hub-related-box {
    display: grid;
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
    gap: 22px;
    padding: 28px;
    align-items: start;
}

.ktp-hub-related-grid {
    display: grid;
    gap: 10px;
}

.ktp-hub-related-grid a {
    display: block;
    padding: 15px 0 15px 18px;
    border-left: 2px solid rgba(83,120,95,0.24);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.ktp-hub-related-grid a:hover {
    transform: translateX(2px);
    border-color: var(--ktp-v2-rust);
}

.ktp-hub-related-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--ktp-v2-forest);
    font: 700 18px/1.2 'Cormorant Garamond', Georgia, serif;
}

.ktp-hub-report-error {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    padding: 26px 28px;
}

.ktp-hub-report-error p {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 15px/1.75 'Alegreya Sans', sans-serif;
}

.ktp-hub-wp-content {
    background: rgba(255,255,255,0.66);
}

.ktp-hub-editorial-shell .ktp-hub-rail {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 82px;
    align-self: start;
}

.ktp-hub-editorial-shell .ktp-sidebar-box {
    border-radius: 18px;
    border-color: rgba(94,74,56,0.1);
    background: rgba(250,246,239,0.9);
    box-shadow: 0 18px 36px rgba(32,57,47,0.04);
}

.ktp-hub-editorial-shell .ktp-sidebar-header {
    background: var(--ktp-v2-forest);
    color: rgba(250,246,239,0.92);
    font-size: 16px;
}

.ktp-hub-editorial-shell .ktp-hub-rail-item {
    color: var(--ktp-v2-bark);
    font: 600 13px/1.6 'Alegreya Sans', sans-serif;
}

.ktp-hub-editorial-shell .ktp-hub-rail-link {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid rgba(94,74,56,0.09);
    color: var(--ktp-v2-forest);
    text-decoration: none;
    font: 800 13px/1.4 'Alegreya Sans', sans-serif;
}

.ktp-hub-editorial-shell .ktp-hub-rail-link:last-child {
    border-bottom: 0;
}

@media (max-width: 980px) {
    .ktp-hub-hero-inner,
    .ktp-hub-editorial-shell,
    .ktp-hub-related-box {
        grid-template-columns: 1fr;
    }

    .ktp-hub-hero-copy h1 {
        font-size: 46px;
    }

    .ktp-hub-feature-art,
    .ktp-hub-feature-art img {
        min-height: 340px;
    }

    .ktp-hub-editorial-shell .ktp-hub-rail {
        position: static;
    }
}

@media (max-width: 680px) {
    .ktp-hub-editorial-hero {
        padding: 34px 0 32px;
    }

    .ktp-hub-editorial-shell {
        padding-top: 30px;
        padding-bottom: 54px;
    }

    .ktp-hub-hero-copy h1 {
        font-size: 36px;
        line-height: 1.02;
    }

    .ktp-hub-proof-strip,
    .ktp-hub-table-row {
        grid-template-columns: 1fr;
    }

    .ktp-hub-editorial-panel,
    .ktp-hub-decision-table,
    .ktp-hub-related-box,
    .ktp-hub-report-error {
        padding: 22px;
        border-radius: 22px;
    }

    .ktp-hub-editorial-panel h2,
    .ktp-hub-table-heading h2,
    .ktp-hub-related-box h2,
    .ktp-hub-report-error h2 {
        font-size: 28px;
    }

    .ktp-hub-pull-quote {
        padding: 24px;
    }

    .ktp-hub-pull-quote p {
        font-size: 22px;
    }

    .ktp-hub-report-error {
        display: grid;
    }
}

/* Global nav and footer premium orientation pass */
.ktp-nav {
    height: 66px;
    background:
        linear-gradient(90deg, rgba(24,33,27,0.98), rgba(32,57,47,0.96) 54%, rgba(45,74,62,0.96));
    border-bottom: 1px solid rgba(250,246,239,0.08);
    box-shadow: 0 18px 42px rgba(24,33,27,0.18);
    backdrop-filter: blur(14px);
}

.ktp-nav-inner {
    height: 66px;
    gap: 18px;
}

.ktp-nav-left {
    gap: 26px;
}

.ktp-nav-logo {
    min-width: 194px;
    height: 66px;
    padding: 0;
}

.ktp-brand-mark {
    width: 38px;
    height: 38px;
    background:
        radial-gradient(circle at 35% 25%, rgba(250,246,239,0.18), rgba(250,246,239,0.06));
    box-shadow:
        inset 0 0 0 1px rgba(250,246,239,0.1),
        0 10px 24px rgba(24,33,27,0.2);
}

.ktp-nav-logo-word {
    font-size: 17px;
    letter-spacing: -0.35px;
}

.ktp-nav-logo-kicker {
    margin-top: 3px;
    color: rgba(154,175,138,0.78);
    letter-spacing: 0.18em;
}

.ktp-nav-items {
    gap: 4px;
}

.ktp-nav-item {
    position: relative;
    display: grid;
    align-content: center;
    gap: 3px;
    height: 66px;
    min-width: 86px;
    padding: 0 12px;
    border-bottom: 0;
    border-radius: 16px;
    color: rgba(250,246,239,0.78);
    text-transform: none;
    letter-spacing: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ktp-nav-item::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 9px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ktp-nav-item:hover {
    transform: translateY(-1px);
    background: rgba(250,246,239,0.07);
    color: #fff;
}

.ktp-nav-item.active {
    color: #fff;
    background: rgba(250,246,239,0.09);
    border-bottom-color: transparent;
}

.ktp-nav-item.active::after {
    background: var(--ktp-v2-rust);
}

.ktp-nav-item-label {
    display: block;
    font: 800 12px/1.1 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.ktp-nav-item-hint {
    display: block;
    color: rgba(154,175,138,0.72);
    font: 700 10px/1.1 'Alegreya Sans', sans-serif;
}

.ktp-nav-intent {
    display: grid;
    gap: 3px;
    padding-left: 18px;
    border-left: 1px solid rgba(250,246,239,0.12);
}

.ktp-nav-intent span {
    color: rgba(154,175,138,0.72);
    font: 800 9px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ktp-nav-intent strong {
    color: rgba(250,246,239,0.86);
    font: 700 12px/1 'Cormorant Garamond', Georgia, serif;
}

.ktp-nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ktp-nav-state-link,
.ktp-nav-search {
    height: auto;
    min-height: 42px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(250,246,239,0.08);
    border: 1px solid rgba(250,246,239,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ktp-nav-state-link {
    display: grid;
    gap: 2px;
    min-width: 124px;
    color: rgba(250,246,239,0.9);
    text-decoration: none;
}

.ktp-nav-state-link span {
    font: 800 11px/1 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ktp-nav-state-link strong {
    color: rgba(154,175,138,0.8);
    font: 800 9px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ktp-nav-state-link:hover,
.ktp-nav-search:hover {
    transform: translateY(-1px);
    background: rgba(250,246,239,0.12);
    border-color: rgba(250,246,239,0.22);
}

.ktp-nav-search span {
    color: rgba(250,246,239,0.82);
    font-weight: 800;
}

.ktp-nav-drawer {
    background: #20392F;
    border-top: 1px solid rgba(250,246,239,0.08);
    box-shadow: 0 24px 42px rgba(24,33,27,0.22);
}

.ktp-nav-drawer-item {
    display: grid;
    gap: 3px;
    padding: 13px 0;
    text-transform: none;
    letter-spacing: 0;
}

.ktp-nav-drawer-label {
    color: rgba(250,246,239,0.92);
    font: 800 13px/1.1 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ktp-nav-drawer-hint {
    color: rgba(154,175,138,0.76);
    font: 600 12px/1.3 'Alegreya Sans', sans-serif;
}

.ktp-nav-drawer-feature {
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(250,246,239,0.1);
    border-radius: 16px;
    background: rgba(250,246,239,0.06);
}

.ktp-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 0%, rgba(184,103,47,0.16), transparent 26%),
        linear-gradient(135deg, #18211b, #20392f 52%, #2d4a3e);
}

.ktp-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(250,246,239,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250,246,239,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.ktp-footer-inner {
    position: relative;
}

.ktp-footer-top {
    padding: 44px 0 32px;
    border-bottom: 1px solid rgba(250,246,239,0.09);
}

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

.ktp-footer-manifesto {
    max-width: 660px;
}

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

.ktp-footer-mark {
    flex: 0 0 auto;
}

.ktp-footer-brand-name {
    color: #FAF6EF;
    font: 800 28px/1 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.4px;
}

.ktp-footer-brand-desc {
    max-width: 560px;
    margin-top: 7px;
    color: rgba(250,246,239,0.62);
    font: 600 13px/1.55 'Alegreya Sans', sans-serif;
}

.ktp-footer-manifesto p {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(250,246,239,0.78);
    font: 400 19px/1.7 'Alegreya Sans', sans-serif;
}

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

.ktp-footer-actions a,
.ktp-footer-correction a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--ktp-v2-rust);
    color: #fffaf3;
    text-decoration: none;
    font: 800 12px/1 'Alegreya Sans', sans-serif;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ktp-footer-actions a:nth-child(2) {
    background: rgba(250,246,239,0.1);
    color: rgba(250,246,239,0.86);
}

.ktp-footer-actions a:hover,
.ktp-footer-correction a:hover {
    transform: translateY(-1px);
    color: #fff;
}

.ktp-footer-route-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
}

.ktp-footer-route-card {
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(250,246,239,0.1);
    border-radius: 22px;
    background: rgba(250,246,239,0.07);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ktp-footer-route-card:first-child {
    grid-row: span 2;
    min-height: 234px;
    background: rgba(250,246,239,0.11);
}

.ktp-footer-route-card:hover {
    transform: translateY(-2px);
    background: rgba(250,246,239,0.13);
    border-color: rgba(250,246,239,0.18);
}

.ktp-footer-route-card span,
.ktp-footer-correction span {
    display: block;
    color: rgba(154,175,138,0.78);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-footer-route-card strong {
    display: block;
    margin-top: 12px;
    color: #FAF6EF;
    font: 800 25px/1.05 'Cormorant Garamond', Georgia, serif;
}

.ktp-footer-links {
    padding: 30px 0;
    border-bottom: 1px solid rgba(250,246,239,0.09);
}

.ktp-footer-link-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.ktp-footer-correction {
    padding: 20px;
    border: 1px solid rgba(250,246,239,0.1);
    border-radius: 22px;
    background: rgba(250,246,239,0.06);
}

.ktp-footer-correction strong {
    display: block;
    margin-top: 9px;
    color: #FAF6EF;
    font: 800 21px/1.16 'Cormorant Garamond', Georgia, serif;
}

.ktp-footer-correction p {
    margin: 11px 0 16px;
    color: rgba(250,246,239,0.66);
    font: 400 13px/1.65 'Alegreya Sans', sans-serif;
}

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

.ktp-footer-col-title {
    color: rgba(154,175,138,0.82);
    font: 800 10px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
}

.ktp-footer-col-item {
    margin-bottom: 7px;
    color: rgba(250,246,239,0.64);
    font: 700 13px/1.35 'Alegreya Sans', sans-serif;
    transition: transform 0.18s ease, color 0.18s ease;
}

.ktp-footer-col-item:hover {
    transform: translateX(2px);
    color: #FAF6EF;
}

.ktp-footer-trust {
    padding: 16px 0;
}

.ktp-footer-trust .ktp-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.ktp-footer-copy {
    color: rgba(250,246,239,0.48);
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
}

.ktp-footer-trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ktp-footer-badge {
    color: rgba(154,175,138,0.78);
    font: 800 11px/1.2 'Alegreya Sans', sans-serif;
}

@media (max-width: 1120px) {
    .ktp-nav-intent,
    .ktp-nav-state-link {
        display: none;
    }

    .ktp-nav-item {
        min-width: 76px;
        padding: 0 10px;
    }
}

@media (max-width: 860px) {
    .ktp-nav {
        height: 62px;
    }

    .ktp-nav-inner {
        height: 62px;
    }

    .ktp-nav-items,
    .ktp-nav-actions {
        display: none;
    }

    .ktp-nav-hamburger {
        display: flex;
    }

    .ktp-footer-top-grid,
    .ktp-footer-link-grid,
    .ktp-footer-route-grid {
        grid-template-columns: 1fr;
    }

    .ktp-footer-route-card:first-child {
        grid-row: auto;
        min-height: 132px;
    }

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

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

@media (max-width: 520px) {
    .ktp-nav-logo-word {
        font-size: 15px;
    }

    .ktp-footer-brand-name {
        font-size: 24px;
    }

    .ktp-footer-manifesto p {
        font-size: 17px;
    }
}

/* Nav/footer correction: generated assets, calmer structure */
.ktp-nav {
    height: 62px;
    background: rgba(32,57,47,0.97);
    border-bottom: 1px solid rgba(250,246,239,0.1);
    box-shadow: 0 14px 34px rgba(24,33,27,0.14);
}

.ktp-nav-inner {
    height: 62px;
    gap: 20px;
}

.ktp-nav-left {
    gap: 32px;
}

.ktp-nav-logo {
    height: 62px;
    min-width: 196px;
    gap: 11px;
}

.ktp-brand-mark {
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 8px 22px rgba(24,33,27,0.22);
}

.ktp-brand-mark-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ktp-nav-logo-word {
    font: 800 18px/1 'Cormorant Garamond', Georgia, serif;
}

.ktp-nav-logo-kicker {
    margin-top: 4px;
    font-size: 8px;
}

.ktp-nav-items {
    display: flex;
    gap: 6px;
}

.ktp-nav-item {
    display: flex;
    align-items: center;
    min-width: auto;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(250,246,239,0.76);
    font: 800 12px/1 'Alegreya Sans', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ktp-nav-item::after,
.ktp-nav-intent,
.ktp-nav-item-hint,
.ktp-nav-drawer-hint {
    display: none;
}

.ktp-nav-item:hover {
    transform: translateY(-1px);
    background: rgba(250,246,239,0.08);
}

.ktp-nav-item.active {
    background: rgba(184,103,47,0.18);
    color: #fff;
}

.ktp-nav-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.ktp-nav-state-link,
.ktp-nav-search {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(250,246,239,0.13);
    background: rgba(250,246,239,0.07);
    color: rgba(250,246,239,0.86);
    text-decoration: none;
    font: 800 12px/1 'Alegreya Sans', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ktp-nav-state-link strong {
    display: none;
}

.ktp-nav-state-link:hover,
.ktp-nav-search:hover {
    transform: translateY(-1px);
    background: rgba(250,246,239,0.11);
    color: #fff;
}

.ktp-nav-drawer-item {
    display: block;
    padding: 12px 0;
    color: rgba(250,246,239,0.86);
    font: 800 13px/1.2 'Alegreya Sans', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ktp-footer {
    background: #20392f;
}

.ktp-footer::before {
    opacity: 0.42;
}

.ktp-footer-main {
    padding: 34px 0 28px;
    border-bottom: 1px solid rgba(250,246,239,0.09);
}

.ktp-footer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 44px;
    align-items: start;
}

.ktp-footer-brand-panel {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(250,246,239,0.11);
    background: rgba(250,246,239,0.06);
    box-shadow: 0 24px 52px rgba(24,33,27,0.2);
}

.ktp-footer-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.82;
}

.ktp-footer-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24,33,27,0.78), rgba(24,33,27,0.3));
    pointer-events: none;
}

.ktp-footer-brand-lockup,
.ktp-footer-brand-panel p,
.ktp-footer-correction {
    position: relative;
    z-index: 1;
}

.ktp-footer-brand-lockup {
    padding: 26px 26px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ktp-footer-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(24,33,27,0.28);
}

.ktp-footer-brand-name {
    color: #FAF6EF;
    font: 800 26px/1 'Cormorant Garamond', Georgia, serif;
}

.ktp-footer-brand-desc {
    max-width: 470px;
    color: rgba(250,246,239,0.7);
}

.ktp-footer-brand-panel p {
    max-width: 530px;
    margin: 24px 26px 0;
    color: rgba(250,246,239,0.82);
    font: 400 17px/1.7 'Alegreya Sans', sans-serif;
}

.ktp-footer-correction {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 24px 26px 0;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--ktp-v2-rust);
    color: #fffaf3;
    text-decoration: none;
    font: 800 12px/1 'Alegreya Sans', sans-serif;
}

.ktp-footer-correction:hover {
    transform: translateY(-1px);
    color: #fff;
}

.ktp-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    padding-top: 8px;
}

.ktp-footer-col-title {
    margin-bottom: 13px;
}

.ktp-footer-route-grid,
.ktp-footer-route-card,
.ktp-footer-top,
.ktp-footer-link-grid {
    display: none;
}

@media (max-width: 980px) {
    .ktp-nav-state-link {
        display: none;
    }
}

@media (max-width: 860px) {
    .ktp-nav-items,
    .ktp-nav-actions {
        display: none;
    }

    .ktp-nav-hamburger {
        display: flex;
    }

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

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

@media (max-width: 620px) {
    .ktp-footer-brand-panel {
        min-height: 360px;
    }

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

/* Generated media/icon system: semantic raster assets, not hand-drawn SVG */
.ktp-media-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(94,74,56,0.12);
    background: #F3EBDD;
    box-shadow: 0 14px 26px rgba(32,57,47,0.08);
}

.ktp-media-icon img,
.ktp-page-identity-art .ktp-media-icon img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.ktp-v2-card-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
}

.ktp-v2-discovery-card:first-child .ktp-v2-card-icon {
    border-color: rgba(250,246,239,0.18);
    background: rgba(250,246,239,0.1);
    box-shadow: 0 16px 30px rgba(24,33,27,0.24);
}

.ktp-v2-credibility-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
}

.ktp-v2-current-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 12px;
}

.ktp-v2-current-item .ktp-media-icon,
.ktp-v2-current-item .ktp-media-icon img,
.ktp-hub-proof-strip .ktp-media-icon,
.ktp-hub-table-row .ktp-media-icon,
.ktp-page-proof-grid .ktp-media-icon {
    display: inline-flex;
}

.ktp-v2-current-item .ktp-media-icon,
.ktp-hub-proof-strip .ktp-media-icon,
.ktp-hub-table-row .ktp-media-icon,
.ktp-page-proof-grid .ktp-media-icon {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.ktp-page-identity-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    box-shadow: 0 22px 38px rgba(24,33,27,0.24);
}

.ktp-page-proof-grid div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
}

.ktp-page-proof-icon {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.ktp-hub-hero-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 20px;
    border-color: rgba(250,246,239,0.18);
    box-shadow: 0 24px 44px rgba(24,33,27,0.28);
}

.ktp-hub-fact-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
}

.ktp-hub-table-row {
    grid-template-columns: 44px 0.74fr 0.42fr minmax(0, 1.1fr);
}

.ktp-hub-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    align-self: center;
}

@media (max-width: 620px) {
    .ktp-page-proof-grid div {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .ktp-hub-table-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .ktp-hub-table-row em {
        grid-column: 1 / -1;
    }
}

/* Editorial action/button correction */
:root {
    --ktp-action-radius: 10px;
    --ktp-action-radius-small: 7px;
    --ktp-action-border: rgba(32,57,47,0.18);
    --ktp-action-shadow: 0 14px 28px rgba(32,57,47,0.10);
}

.ktp-nav-item,
.ktp-nav-state-link,
.ktp-nav-search,
.ktp-v2-search button,
.ktp-v2-text-link,
.ktp-cta,
.ktp-footer-correction,
.ktp-footer-actions a,
.ktp-page-links a,
.wpcf7-form input[type="submit"],
.wpcf7-form button,
.wpcf7-submit,
.ktp-hub-rail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ktp-action-radius);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ktp-nav-item {
    height: 40px;
    padding: 0 13px;
    background: transparent;
}

.ktp-nav-item.active {
    background: rgba(184,103,47,0.20);
    box-shadow: inset 0 -2px 0 var(--ktp-v2-rust);
}

.ktp-nav-state-link,
.ktp-nav-search {
    min-height: 40px;
    padding: 0 16px;
    background: rgba(250,246,239,0.075);
    border-color: rgba(250,246,239,0.16);
}

.ktp-v2-search button,
.ktp-v2-text-link,
.ktp-cta,
.ktp-footer-correction,
.wpcf7-form input[type="submit"],
.wpcf7-form button,
.wpcf7-submit {
    flex: 0 0 auto;
    min-width: 152px;
    min-height: 42px;
    padding: 0 18px;
    background: linear-gradient(135deg, #B8672F, #A85E2D);
    border: 1px solid rgba(250,246,239,0.12);
    box-shadow: var(--ktp-action-shadow);
    color: #fffaf3;
    font: 850 12px/1 'Alegreya Sans', sans-serif;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.ktp-footer-correction {
    width: auto;
    max-width: none;
    margin-top: 22px;
}

.ktp-footer .ktp-footer-correction {
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 52px);
    color: #fffaf3;
}

.ktp-footer-correction,
.ktp-hub-report-error .ktp-cta {
    min-width: 152px;
}

.ktp-page-links {
    gap: 8px;
}

.ktp-page-links a {
    min-height: 36px;
    padding: 8px 11px;
    border-color: var(--ktp-action-border);
    background: rgba(250,246,239,0.72);
    color: var(--ktp-v2-forest);
    box-shadow: none;
}

.ktp-page-links a[aria-current="page"],
.ktp-page-links a:hover {
    background: rgba(32,57,47,0.08);
    border-color: rgba(32,57,47,0.28);
}

.ktp-nav-item:hover,
.ktp-nav-state-link:hover,
.ktp-nav-search:hover,
.ktp-v2-search button:hover,
.ktp-v2-text-link:hover,
.ktp-cta:hover,
.ktp-footer-correction:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button:hover,
.wpcf7-submit:hover,
.ktp-hub-rail-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(32,57,47,0.12);
}

.ktp-nav-item:active,
.ktp-nav-state-link:active,
.ktp-nav-search:active,
.ktp-v2-search button:active,
.ktp-v2-text-link:active,
.ktp-cta:active,
.ktp-footer-correction:active,
.wpcf7-form input[type="submit"]:active,
.wpcf7-form button:active,
.wpcf7-submit:active {
    transform: translateY(1px);
}

.ktp-page-method-grid,
.ktp-hub-field-guide,
.ktp-hub-quality-grid,
.ktp-state-birds-method-strip,
.ktp-state-birds-route-panel {
    margin-top: 22px;
}

.ktp-page-method-grid {
    display: grid;
    grid-template-columns: var(--ktp-feature-split);
    gap: 22px;
    align-items: start;
}

.ktp-page-method-heading,
.ktp-page-route-panel,
.ktp-hub-field-guide-copy,
.ktp-state-birds-method-copy {
    padding: 24px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(250,246,239,0.76);
}

.ktp-page-method-heading h2,
.ktp-page-route-panel h2,
.ktp-hub-field-guide-copy h2,
.ktp-hub-quality-grid h2,
.ktp-state-birds-method-copy h2,
.ktp-state-birds-route-panel h2 {
    margin: 6px 0 0;
    color: var(--ktp-v2-forest);
    font: 750 28px/1.12 'Cormorant Garamond', Georgia, serif;
}

.ktp-page-method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(94,74,56,0.10);
}

.ktp-page-method-cards article,
.ktp-hub-job-list article,
.ktp-hub-quality-grid article,
.ktp-state-birds-method-cards article {
    padding: 18px;
    background: rgba(255,255,255,0.74);
}

.ktp-card-media--method {
    height: 92px;
}

.ktp-page-method-icon,
.ktp-hub-job-icon,
.ktp-state-birds-method-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
}

.ktp-page-method-cards span,
.ktp-hub-job-list span,
.ktp-hub-quality-grid span,
.ktp-state-birds-method-cards span,
.ktp-state-birds-route-panel span {
    display: block;
    color: var(--ktp-v2-canopy);
    font: 850 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-page-method-cards h3,
.ktp-hub-job-list strong,
.ktp-state-birds-method-cards strong,
.ktp-state-birds-route-panel strong {
    display: block;
    margin-top: 8px;
    color: var(--ktp-v2-forest);
    font: 760 19px/1.16 'Cormorant Garamond', Georgia, serif;
}

.ktp-page-method-cards p,
.ktp-page-route-panel p,
.ktp-hub-field-guide-copy p,
.ktp-hub-job-list p,
.ktp-hub-quality-grid p,
.ktp-state-birds-method-cards p,
.ktp-state-birds-route-panel p {
    margin: 9px 0 0;
    color: var(--ktp-v2-bark);
    font: 400 14px/1.65 'Alegreya Sans', sans-serif;
}

.ktp-page-route-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
    background: linear-gradient(135deg, rgba(32,57,47,0.92), rgba(45,74,62,0.84));
}

.ktp-page-route-panel h2,
.ktp-page-route-panel p,
.ktp-page-route-panel .ktp-home-eyebrow {
    color: #FAF6EF;
}

.ktp-page-route-panel p {
    color: rgba(250,246,239,0.78);
}

.ktp-page-route-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ktp-page-route-list li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: rgba(250,246,239,0.82);
    font: 500 15px/1.6 'Alegreya Sans', sans-serif;
}

.ktp-page-route-list li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(196,112,43,0.95);
    box-shadow: 0 0 0 4px rgba(196,112,43,0.16);
}

.ktp-hub-field-guide {
    display: grid;
    grid-template-columns: var(--ktp-feature-split);
    gap: 22px;
}

.ktp-hub-job-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 20px;
    background: rgba(94,74,56,0.10);
}

.ktp-hub-quality-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.9fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 20px;
    background: rgba(94,74,56,0.10);
}

.ktp-hub-quality-grid > div,
.ktp-state-birds-route-panel > div {
    padding: 22px;
    background: rgba(32,57,47,0.92);
}

.ktp-hub-quality-grid > div h2,
.ktp-hub-quality-grid > div .ktp-home-eyebrow,
.ktp-state-birds-route-panel > div h2,
.ktp-state-birds-route-panel > div .ktp-home-eyebrow {
    color: #FAF6EF;
}

.ktp-hub-quality-grid article {
    min-height: 160px;
}

.ktp-state-birds-hero-icon,
.ktp-state-bird-hero-icon,
.ktp-state-bird-profile-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.ktp-state-bird-profile-icon {
    width: 42px;
    height: 42px;
}

.ktp-state-bird-hero {
    background-position: center center;
}

.ktp-state-birds-method-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.ktp-state-birds-method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    align-content: start;
}

.ktp-state-birds-route-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(94,74,56,0.10);
}

.ktp-state-birds-route-panel > div {
    grid-column: 1 / -1;
}

.ktp-state-birds-route-panel a {
    padding: 22px;
    background: rgba(255,255,255,0.76);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ktp-state-birds-route-panel a:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.94);
}

@media (max-width: 980px) {
    .ktp-page-method-grid,
    .ktp-page-route-panel,
    .ktp-hub-field-guide,
    .ktp-hub-quality-grid,
    .ktp-state-birds-method-strip,
    .ktp-state-birds-route-panel {
        grid-template-columns: 1fr;
    }

    .ktp-page-method-cards,
    .ktp-hub-job-list,
    .ktp-state-birds-method-cards,
    .ktp-state-birds-route-panel {
        grid-template-columns: 1fr;
    }
}

/* Brand page quality-card refinement */
.ktp-page-method-grid {
    grid-template-columns: 1fr;
}

.ktp-page-method-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: end;
}

.ktp-page-method-heading .ktp-home-eyebrow {
    grid-column: 1 / -1;
}

.ktp-page-method-cards {
    grid-template-columns: 1fr;
}

.ktp-page-method-cards article {
    display: grid;
    grid-template-columns: 52px minmax(0, 0.38fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.ktp-page-method-cards article .ktp-page-method-icon {
    grid-row: 1 / span 3;
    margin-bottom: 0;
}

.ktp-page-method-cards h3 {
    margin-top: 0;
    overflow-wrap: normal;
}

.ktp-page-method-cards p {
    margin-top: 0;
}

@media (max-width: 720px) {
    .ktp-page-method-heading,
    .ktp-page-method-cards article {
        grid-template-columns: 1fr;
    }

    .ktp-page-method-cards article .ktp-page-method-icon {
        grid-row: auto;
    }
}

/* Blueprint trust adaptation */
.ktp-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 140;
    width: 100%;
    height: 3px;
    background: rgba(45,74,62,0.08);
}

.ktp-reading-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--ktp-amber), var(--ktp-canopy));
    transition: width 0.12s linear;
}

.ktp-article-byline {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 14px 30px rgba(34,49,42,0.04);
}

.ktp-article-byline img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.ktp-article-byline span {
    display: block;
    color: var(--ktp-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-article-byline a {
    color: var(--ktp-forest);
    text-decoration: none;
    font: 700 18px/1.2 'Cormorant Garamond', Georgia, serif;
}

.ktp-article-byline strong {
    display: block;
    margin-top: 4px;
    color: var(--ktp-stone);
    font: 600 12px/1.5 'Alegreya Sans', sans-serif;
}

.ktp-article-accountability {
    margin-top: 8px;
}

.ktp-article-accountability-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: 16px;
    align-items: start;
}

.ktp-article-trust-panel,
.ktp-article-correction-log,
.ktp-article-author-card {
    padding: 20px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 16px 34px rgba(34,49,42,0.05);
}

.ktp-article-trust-panel h2,
.ktp-article-correction-log h3,
.ktp-article-author-card h3 {
    margin: 6px 0 10px;
}

.ktp-article-trust-panel p,
.ktp-article-correction-log li,
.ktp-article-author-card p {
    color: var(--ktp-bark);
    font: 400 14px/1.72 'Alegreya Sans', sans-serif;
}

.ktp-article-trust-panel ol,
.ktp-article-correction-log ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.ktp-article-correction-log ul {
    list-style: disc;
}

.ktp-article-correction-log .ktp-cta {
    margin-top: 14px;
}

.ktp-article-author-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
}

.ktp-article-author-card img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
}

.ktp-article-author-card strong {
    display: block;
    color: var(--ktp-stone);
    font: 700 12px/1.5 'Alegreya Sans', sans-serif;
}

.ktp-article-author-card h3 a {
    color: var(--ktp-forest);
    text-decoration: none;
}

.ktp-article-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}

.ktp-article-author-links a {
    color: var(--ktp-canopy);
    text-decoration: none;
    font: 700 12px/1.4 'Alegreya Sans', sans-serif;
}

.ktp-read-next-bar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    display: grid;
    gap: 4px;
    max-width: 280px;
    padding: 12px 14px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 16px;
    background: rgba(32,57,47,0.96);
    box-shadow: 0 22px 46px rgba(26,26,26,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.ktp-read-next-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ktp-read-next-bar span {
    color: rgba(245,240,232,0.72);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-read-next-bar a {
    color: #fff;
    text-decoration: none;
    font: 700 14px/1.45 'Alegreya Sans', sans-serif;
}

.ktp-author-profile-hero-grid {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.ktp-author-profile-avatar {
    display: block;
    width: 144px;
    height: 144px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 22px 48px rgba(34,49,42,0.12);
}

.ktp-author-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ktp-author-profile-meta span {
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(74,124,92,0.08);
    color: var(--ktp-forest);
    font: 700 11px/1.3 'Alegreya Sans', sans-serif;
}

@media (max-width: 900px) {
    .ktp-article-accountability-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ktp-article-author-card,
    .ktp-author-profile-hero-grid {
        grid-template-columns: 1fr;
    }

    .ktp-read-next-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* Important page archetypes */
.ktp-hub-archetype--gateway,
.ktp-hub-archetype--taxonomy,
.ktp-hub-archetype--atlas,
.ktp-hub-archetype--decision,
.ktp-hub-archetype--guide,
.ktp-hub-archetype--archive,
.ktp-hub-archetype--practical,
.ktp-trust-archetype--brand,
.ktp-trust-archetype--standards,
.ktp-trust-archetype--contact,
.ktp-trust-archetype--policy,
.ktp-trust-archetype--utility,
.ktp-utility-page {
    --ktp-archetype-shadow: 0 20px 40px rgba(34,49,42,0.08);
}

.ktp-hub-module {
    --ktp-frame-stack-gap: 20px;
    padding: 30px;
    border: 1px solid rgba(94,74,56,0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,246,240,0.84)),
        radial-gradient(circle at top left, rgba(74,124,92,0.12), transparent 48%);
    box-shadow: var(--ktp-archetype-shadow);
}

.ktp-hub-module-side {
    --ktp-frame-panel-gap: 18px;
    --ktp-frame-panel-align: start;
}

.ktp-hub-module-copy h2,
.ktp-trust-module-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(1.95rem, 2.7vw, 2.75rem);
    line-height: 0.96;
}

.ktp-hub-module-copy p,
.ktp-hub-module-note p,
.ktp-trust-module-copy p,
.ktp-trust-module-card p,
.ktp-utility-card p {
    color: var(--ktp-bark);
}

.ktp-hub-module-grid {
    --ktp-frame-card-columns: minmax(0, 1fr);
    --ktp-frame-card-align: start;
    --ktp-frame-card-gap: 18px;
}

.ktp-hub-module-card,
.ktp-trust-module-card,
.ktp-utility-card {
    display: grid;
    gap: 18px;
    align-content: center;
    align-items: center;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.86);
    color: var(--ktp-bark);
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(34,49,42,0.05);
}

.ktp-hub-module-card:visited,
.ktp-utility-card:visited {
    color: var(--ktp-bark);
}

.ktp-hub-module-card {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.ktp-hub-module-media {
    min-height: 168px;
    margin-bottom: 0;
}

.ktp-hub-module-card-body {
    display: grid;
    gap: 10px;
    align-content: center;
}

.ktp-hub-module-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ktp-card-media--utility {
    height: 92px;
}

.ktp-semantic-media-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(34,49,42,0.12);
}

.ktp-v2-feature-proof .ktp-semantic-media-icon,
.ktp-v2-discovery-card:first-child .ktp-semantic-media-icon {
    border-color: rgba(250,246,239,0.12);
    background: rgba(250,246,239,0.08);
}

.ktp-semantic-media-label {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    max-width: calc(100% - 24px);
    color: rgba(45,74,62,0.78);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: right;
}

.ktp-v2-feature-proof .ktp-semantic-media-label,
.ktp-v2-discovery-card:first-child .ktp-semantic-media-label {
    color: rgba(250,246,239,0.78);
}

.ktp-hub-module-card:hover,
.ktp-utility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(34,49,42,0.09);
}

.ktp-hub-module-card span,
.ktp-trust-module-card span,
.ktp-utility-card span,
.ktp-hub-module-note span {
    color: var(--ktp-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ktp-hub-module-card strong {
    color: var(--ktp-forest);
    font: 700 20px/1.12 'Cormorant Garamond', Georgia, serif;
    overflow-wrap: anywhere;
}

.ktp-utility-card strong {
    color: var(--ktp-forest);
    overflow-wrap: anywhere;
}

.ktp-hub-module-card p,
.ktp-trust-module-card p,
.ktp-utility-card p {
    margin: 0;
    color: var(--ktp-bark);
    font: 500 15px/1.7 'Alegreya Sans', sans-serif;
}

.ktp-hub-module-card em,
.ktp-utility-card em {
    color: var(--ktp-canopy);
    font: 700 13px/1.4 'Alegreya Sans', sans-serif;
    font-style: normal;
}

.ktp-hub-module-note {
    display: grid;
    gap: 8px;
    align-content: start;
    width: 100%;
    max-width: none;
    padding: 16px 18px 17px;
    border: 1px solid rgba(45,74,62,0.14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(234,241,236,0.96), rgba(255,255,255,0.92)),
        radial-gradient(circle at top right, rgba(74,124,92,0.14), transparent 48%);
    box-shadow:
        inset 4px 0 0 rgba(74,124,92,0.72),
        0 10px 24px rgba(25,37,31,0.08);
}

.ktp-hub-module-note p {
    margin: 0;
    color: var(--ktp-forest);
    font: 600 15px/1.6 'Alegreya Sans', sans-serif;
}

.ktp-hub-module-gateway {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,246,240,0.84)),
        radial-gradient(circle at top left, rgba(74,124,92,0.12), transparent 48%);
}

.ktp-hub-module-taxonomy {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,240,232,0.88)),
        radial-gradient(circle at top center, rgba(196,112,43,0.12), transparent 48%);
}

.ktp-hub-module-atlas {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(242,247,244,0.9)),
        radial-gradient(circle at top right, rgba(74,124,92,0.18), transparent 44%);
}

.ktp-hub-module-decision {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(249,243,235,0.88)),
        radial-gradient(circle at top left, rgba(196,112,43,0.16), transparent 44%);
}

.ktp-hub-module-guide {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,247,242,0.9)),
        radial-gradient(circle at top right, rgba(45,74,62,0.12), transparent 44%);
}

.ktp-hub-module-archive {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,242,236,0.9)),
        radial-gradient(circle at top center, rgba(74,124,92,0.12), transparent 44%);
}

.ktp-hub-module-practical {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(242,247,240,0.9)),
        radial-gradient(circle at top left, rgba(138,175,126,0.2), transparent 44%);
}

.ktp-hub-archetype--gateway .ktp-hub-proof-strip {
    --ktp-frame-strip-columns: 1.1fr 1fr 1fr;
}

.ktp-hub-archetype--decision .ktp-hub-decision-table {
    border-color: rgba(196,112,43,0.24);
    box-shadow: 0 18px 34px rgba(196,112,43,0.08);
}

.ktp-hub-archetype--atlas .ktp-hub-related-box,
.ktp-hub-archetype--archive .ktp-hub-related-box {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,240,232,0.88)),
        radial-gradient(circle at top right, rgba(74,124,92,0.1), transparent 40%);
}

.ktp-trust-module {
    --ktp-frame-stack-gap: 20px;
    padding: 30px;
    border: 1px solid rgba(94,74,56,0.14);
    border-radius: 28px;
    background: rgba(255,255,255,0.82);
    box-shadow: var(--ktp-archetype-shadow);
}

.ktp-trust-module-grid {
    --ktp-frame-card-columns: repeat(2, minmax(0, 1fr));
    --ktp-frame-card-gap: 14px;
}

.ktp-trust-module-grid > :last-child {
    grid-column: 1 / -1;
}

.ktp-trust-module-card h3 {
    margin: 0;
    color: var(--ktp-forest);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.ktp-trust-module-brand {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,240,232,0.9)),
        radial-gradient(circle at top left, rgba(45,74,62,0.12), transparent 44%);
}

.ktp-trust-module-standards {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(242,247,244,0.92)),
        radial-gradient(circle at top center, rgba(74,124,92,0.14), transparent 42%);
}

.ktp-trust-module-contact {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(249,243,235,0.88)),
        radial-gradient(circle at top right, rgba(196,112,43,0.16), transparent 42%);
}

.ktp-trust-module-policy {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,242,236,0.9)),
        radial-gradient(circle at top left, rgba(94,74,56,0.09), transparent 42%);
}

.ktp-trust-module-utility {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(242,247,244,0.9)),
        radial-gradient(circle at top right, rgba(74,124,92,0.12), transparent 42%);
}

.ktp-brand-publication-hero,
.ktp-standards-ledger,
.ktp-accountability-stack,
.ktp-contact-route-grid,
.ktp-policy-explainer,
.ktp-legal-detail-stack,
.ktp-hub-gateway-desk,
.ktp-hub-taxonomy-atlas,
.ktp-hub-place-navigator,
.ktp-hub-decision-cockpit,
.ktp-hub-editorial-desk {
    margin-top: 26px;
}

.ktp-brand-spine-block,
.ktp-standards-ledger,
.ktp-accountability-stack,
.ktp-policy-explainer,
.ktp-hub-gateway-desk,
.ktp-hub-taxonomy-atlas,
.ktp-hub-place-navigator,
.ktp-hub-decision-cockpit,
.ktp-hub-editorial-desk {
    padding: 28px;
    border: 1px solid rgba(94,74,56,0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,243,237,0.9)),
        radial-gradient(circle at top left, rgba(74,124,92,0.1), transparent 44%);
    box-shadow: var(--ktp-archetype-shadow);
}

.ktp-brand-spine-block,
.ktp-reader-promise-band,
.ktp-policy-explainer {
    display: grid;
    gap: 16px;
}

.ktp-brand-spine-block {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: center;
}

.ktp-brand-publication-art {
    display: grid;
    gap: 8px;
    margin: 0;
}

.ktp-brand-publication-art img {
    display: block;
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 20px 42px rgba(24,55,43,0.16);
}

.ktp-brand-publication-art figcaption {
    color: var(--ktp-stone);
    font: 800 10px/1.3 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ktp-reader-promise-band {
    padding: 24px 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(24,55,43,0.98), rgba(43,73,59,0.94)),
        radial-gradient(circle at top right, rgba(229,186,113,0.2), transparent 40%);
    color: #f7f2ea;
    box-shadow: 0 20px 44px rgba(24,55,43,0.18);
}

.ktp-reader-promise-band .ktp-home-eyebrow,
.ktp-reader-promise-band h2,
.ktp-reader-promise-band p {
    color: inherit;
}

.ktp-page-toc-grid,
.ktp-brand-chapter-grid,
.ktp-standards-ledger-grid,
.ktp-accountability-grid,
.ktp-contact-route-grid,
.ktp-legal-detail-stack,
.ktp-hub-gateway-stack,
.ktp-hub-taxonomy-grid,
.ktp-hub-place-grid,
.ktp-hub-decision-sequence,
.ktp-hub-editorial-desk-grid {
    display: grid;
    gap: 16px;
}

.ktp-page-toc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 24px 0 0;
}

.ktp-page-toc-grid > div {
    grid-column: 1 / -1;
}

.ktp-page-toc-grid a,
.ktp-brand-chapter-grid article,
.ktp-standards-ledger-grid article,
.ktp-accountability-grid article,
.ktp-contact-route-grid article,
.ktp-legal-detail-stack article,
.ktp-hub-gateway-stack a,
.ktp-hub-taxonomy-grid article,
.ktp-hub-place-grid a,
.ktp-hub-decision-sequence article,
.ktp-hub-editorial-desk-grid article {
    padding: 18px 20px;
    border: 1px solid rgba(94,74,56,0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 12px 28px rgba(34,49,42,0.05);
    text-decoration: none;
    color: inherit;
}

.ktp-page-toc-grid a span,
.ktp-brand-chapter-grid article span,
.ktp-standards-ledger-grid article span,
.ktp-accountability-grid article span,
.ktp-contact-route-grid article span,
.ktp-legal-detail-stack article span,
.ktp-hub-gateway-stack a span,
.ktp-hub-taxonomy-grid article span,
.ktp-hub-place-grid a span,
.ktp-hub-decision-sequence article span,
.ktp-hub-editorial-desk-grid article span {
    display: inline-block;
    color: var(--ktp-canopy);
    font: 800 10px/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ktp-page-toc-grid a strong,
.ktp-brand-chapter-grid article h3,
.ktp-standards-ledger-grid article h3,
.ktp-accountability-grid article h3,
.ktp-contact-route-grid article h3,
.ktp-legal-detail-stack article h3,
.ktp-hub-gateway-stack a strong,
.ktp-hub-taxonomy-grid article strong,
.ktp-hub-place-grid a strong,
.ktp-hub-decision-sequence article strong,
.ktp-hub-editorial-desk-grid article strong {
    display: block;
    margin-top: 10px;
    color: var(--ktp-forest);
    font: 700 28px/1.02 'Cormorant Garamond', Georgia, serif;
}

.ktp-brand-chapter-grid,
.ktp-standards-ledger-grid,
.ktp-accountability-grid,
.ktp-legal-detail-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ktp-contact-route-grid,
.ktp-hub-place-grid,
.ktp-hub-editorial-desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ktp-contact-route-grid > div,
.ktp-hub-editorial-desk > div:first-child {
    grid-column: 1 / -1;
}

.ktp-standards-ledger {
    display: grid;
    gap: 20px;
}

.ktp-standards-ledger .ktp-page-method-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ktp-accountability-header,
.ktp-hub-gateway-intro,
.ktp-hub-taxonomy-copy,
.ktp-hub-place-copy,
.ktp-hub-decision-copy {
    margin-bottom: 18px;
}

.ktp-hub-gateway-stack,
.ktp-hub-decision-sequence {
    grid-template-columns: minmax(0, 1fr);
}

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

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

.ktp-hub-decision-cockpit {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,243,235,0.9)),
        radial-gradient(circle at top left, rgba(196,112,43,0.16), transparent 42%);
}

.ktp-hub-place-navigator {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(242,247,244,0.9)),
        radial-gradient(circle at top right, rgba(74,124,92,0.16), transparent 42%);
}

.ktp-hub-taxonomy-atlas {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,242,236,0.9)),
        radial-gradient(circle at top center, rgba(196,112,43,0.14), transparent 44%);
}

.ktp-hub-editorial-desk {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,247,242,0.92)),
        radial-gradient(circle at top right, rgba(45,74,62,0.16), transparent 44%);
}

.ktp-utility-main {
    --ktp-frame-panel-gap: 24px;
}

.ktp-utility-rail {
    --ktp-frame-rail-gap: 24px;
}

.ktp-search-command,
.ktp-notfound-recovery {
    --ktp-frame-split-columns: minmax(0, 1fr) minmax(320px, 420px);
    --ktp-frame-split-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,240,232,0.9)),
        radial-gradient(circle at top right, rgba(74,124,92,0.12), transparent 42%);
}

.ktp-utility-card-grid {
    --ktp-frame-card-columns: repeat(2, minmax(0, 1fr));
}

.ktp-utility-card {
    color: inherit;
}

.ktp-utility-card strong {
    font-size: clamp(1.65rem, 2.2vw, 2rem);
}

.ktp-search-command .ktp-home-search,
.ktp-notfound-recovery .ktp-home-search {
    max-width: none;
}

.ktp-search-command .ktp-home-search input,
.ktp-notfound-recovery .ktp-home-search input {
    border-color: rgba(94,74,56,0.16);
    background: rgba(255,255,255,0.96);
    color: var(--ktp-v2-forest);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.ktp-search-command .ktp-home-search input::placeholder,
.ktp-notfound-recovery .ktp-home-search input::placeholder {
    color: rgba(94,74,56,0.62);
}

.ktp-search-command .ktp-home-search button,
.ktp-notfound-recovery .ktp-home-search button {
    box-shadow: 0 12px 24px rgba(196,112,43,0.16);
}

@media (max-width: 1100px) {
    .ktp-trust-module,
    .ktp-utility-shell,
    .ktp-search-command,
    .ktp-notfound-recovery {
        grid-template-columns: 1fr;
    }

    .ktp-trust-module-grid,
    .ktp-utility-card-grid {
        grid-template-columns: 1fr;
    }

    .ktp-page-toc-grid,
    .ktp-brand-chapter-grid,
    .ktp-standards-ledger-grid,
    .ktp-accountability-grid,
    .ktp-contact-route-grid,
    .ktp-legal-detail-stack,
    .ktp-hub-taxonomy-grid,
    .ktp-hub-place-grid,
    .ktp-hub-editorial-desk-grid,
    .ktp-standards-ledger .ktp-page-method-cards {
        grid-template-columns: 1fr;
    }

    .ktp-brand-spine-block {
        grid-template-columns: 1fr;
    }

    .ktp-hub-module-note {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .ktp-hub-module-grid,
    .ktp-trust-module-grid,
    .ktp-utility-card-grid {
        grid-template-columns: 1fr;
    }

    .ktp-hub-module-card {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        align-items: start;
    }
}

@media (max-width: 980px) {
    .ktp-hero-c-inner {
        grid-template-columns: 1fr;
    }

    .ktp-hero-c .ktp-hero-icon {
        justify-self: start;
    }
}

@media (max-width: 860px) {
    .ktp-nav-inner,
    .ktp-breadcrumb-inner,
    .ktp-page-wrap,
    .ktp-home-shell,
    .ktp-v2-shell,
    .ktp-hub-shell,
    .ktp-state-bird-shell,
    .ktp-state-birds-hub-shell,
    .ktp-page-shell,
    .ktp-hub-editorial-shell,
    .ktp-page-identity-inner,
    .ktp-hub-hero-inner,
    .ktp-hero-c-inner,
    .ktp-footer-inner,
    .ktp-footer-grid,
    .ktp-utility-shell {
        padding-inline: 16px;
    }
}

/* ==========================================================================
   .ktp-fam — shared bordered card row (trust pages, data lists)
   ========================================================================== */

.ktp-fam {
    background: var(--ktp-parchment);
    border-left: 3px solid var(--ktp-canopy);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
    padding: 14px 20px;
    transition: border-left-color 0.2s, background 0.2s;
}

.ktp-fam:hover {
    background: var(--ktp-white);
    border-left-color: var(--ktp-amber);
}

/* Species/article typography foundation */
.ktp-article-prose p,
.ktp-sp-article p,
.ktp-faq-item__answer {
    font-family: var(--ktp-article-body-family);
    font-size: var(--ktp-article-body-size);
    line-height: var(--ktp-article-body-leading);
    color: var(--ktp-ink);
}

.ktp-article-prose p + p,
.ktp-sp-article p + p {
    margin-top: -0.15em;
}

.ktp-article-prose strong,
.ktp-sp-article strong {
    font-weight: 800;
    color: var(--ktp-forest);
}

.ktp-article-section h2,
.ktp-sp-block-head h2,
.ktp-sp-article .ktp-sp-section > h2 {
    font-family: var(--ktp-article-heading-family);
    font-size: clamp(31px, 4vw, var(--ktp-article-h2-size));
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--ktp-forest);
}

.ktp-article-section h3,
.ktp-sp-article h3,
.ktp-faq-item__question {
    font-family: var(--ktp-article-heading-family);
    font-size: clamp(23px, 3vw, var(--ktp-article-h3-size));
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ktp-forest);
}

.ktp-sp-quick-answer__text {
    font-family: var(--ktp-article-body-family);
    font-size: 19px;
    line-height: 1.62;
}

