:root {
    --signal-bg: #061018;
    --signal-bg-deep: #040b10;
    --signal-panel: rgba(10, 24, 34, 0.88);
    --signal-panel-soft: rgba(15, 31, 41, 0.78);
    --signal-panel-strong: rgba(9, 20, 29, 0.96);
    --signal-line: rgba(238, 181, 88, 0.46);
    --signal-line-soft: rgba(66, 197, 174, 0.24);
    --signal-grid: rgba(78, 153, 160, 0.08);
    --signal-text: #d8ece7;
    --signal-text-strong: #f3fbf8;
    --signal-muted: #90ada8;
    --signal-accent: #39c89f;
    --signal-accent-soft: rgba(57, 200, 159, 0.18);
    --signal-accent-deep: #113a37;
    --signal-warn: #e3b55d;
    --signal-warn-soft: rgba(227, 181, 93, 0.18);
    --signal-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
    --signal-radius: 24px;
    --signal-radius-sm: 16px;
}

body.theme-signal-board {
    color: var(--signal-text);
    font-family: var(--font-body);
    background:
        url('/assets/img/textures/texture-signal-grid-dark-01.svg'),
        url('/assets/img/textures/texture-topo-lines-dark-01.svg'),
        radial-gradient(circle at 12% -12%, rgba(57, 200, 159, 0.14), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(227, 181, 93, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(4, 11, 16, 1) 0%, rgba(6, 16, 24, 1) 34%, rgba(7, 20, 28, 1) 100%);
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-size: 320px 320px, 1180px auto, auto, auto, auto;
    background-position: center top, center top, center top, center top, center top;
}

body.theme-signal-board::selection {
    background: rgba(57, 200, 159, 0.3);
    color: var(--signal-text-strong);
}

.theme-signal-board .wrap {
    width: min(1320px, calc(100% - 2.4rem));
}

.theme-signal-board h1,
.theme-signal-board h2,
.theme-signal-board h3,
.theme-signal-board h4 {
    color: var(--signal-text-strong);
    font-family: var(--font-ui);
    letter-spacing: -0.02em;
}

.theme-signal-board p,
.theme-signal-board li,
.theme-signal-board dt,
.theme-signal-board dd,
.theme-signal-board label,
.theme-signal-board input,
.theme-signal-board select,
.theme-signal-board button {
    font-family: var(--font-body);
}

.theme-signal-board a {
    color: #9cebd3;
}

.theme-signal-board a:hover,
.theme-signal-board a:focus {
    color: #d7fff1;
}

.theme-signal-board .kicker,
.theme-signal-board .muted,
.theme-signal-board .terminal-breadcrumb,
.theme-signal-board .terminal-rail-label,
.theme-signal-board .terminal-panel-label,
.theme-signal-board .spotlight-step,
.theme-signal-board .feed-story-meta,
.theme-signal-board .footer-heading,
.theme-signal-board .top-nav a,
.theme-signal-board .hero-btn,
.theme-signal-board .quick-link-chip,
.theme-signal-board .button-link,
.theme-signal-board .hub-link-inline,
.theme-signal-board .metric-link-btn,
.theme-signal-board .badge,
.theme-signal-board .hero-side-kicker {
    font-family: var(--font-mono);
}

.theme-signal-board .site-main {
    padding: 1.2rem 0 3rem;
}

.theme-signal-board .muted {
    color: var(--signal-muted);
}

.theme-signal-board .kicker {
    color: #79d8c0;
}

.theme-signal-board .ssl-warning {
    background: rgba(56, 33, 7, 0.96);
    color: #ffdba1;
    border-bottom-color: rgba(227, 181, 93, 0.34);
}

.theme-signal-board .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(4, 10, 15, 0.88);
    border-bottom: 1px solid rgba(238, 181, 88, 0.22);
}

.theme-signal-board .nav-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
}

.theme-signal-board .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--signal-text-strong);
    text-decoration: none;
}

.theme-signal-board .brand-mark {
    width: 44px;
    height: 44px;
    padding: 0.45rem;
    border-radius: 14px;
    border: 1px solid rgba(57, 200, 159, 0.36);
    background: linear-gradient(180deg, rgba(13, 36, 44, 0.94), rgba(8, 21, 29, 0.94));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.theme-signal-board .brand-copy {
    display: grid;
    line-height: 1.05;
}

.theme-signal-board .brand-copy strong {
    font-family: var(--font-ui);
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.theme-signal-board .brand-copy span:last-child {
    color: var(--signal-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme-signal-board .top-nav .nav-home,
.theme-signal-board .top-nav .nav-policy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-signal-board .top-nav a,
.theme-signal-board .top-nav .top-nav-current {
    border-radius: 999px;
    border: 1px solid rgba(57, 200, 159, 0.22);
    background: rgba(8, 21, 29, 0.84);
    color: var(--signal-text);
    padding: 0.5rem 0.84rem;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.theme-signal-board .top-nav a:hover,
.theme-signal-board .top-nav a:focus {
    border-color: rgba(238, 181, 88, 0.46);
    background: rgba(15, 32, 40, 0.94);
    transform: translateY(-1px);
}

.theme-signal-board .top-nav .nav-home::before,
.theme-signal-board .top-nav .nav-policy::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 0.92;
}

.theme-signal-board .top-nav .nav-home::before {
    -webkit-mask-image: url("/assets/img/ui/icon-home.svg");
    mask-image: url("/assets/img/ui/icon-home.svg");
}

.theme-signal-board .top-nav .nav-policy::before {
    -webkit-mask-image: url("/assets/img/ui/icon-policy-shield.svg");
    mask-image: url("/assets/img/ui/icon-policy-shield.svg");
}

.theme-signal-board .terminal-page {
    display: grid;
    gap: 1rem;
}

.theme-signal-board .terminal-masthead {
    display: grid;
    gap: 0.9rem;
    padding: 0.2rem 0 0.1rem;
}

.theme-signal-board .terminal-breadcrumb {
    margin: 0;
    color: rgba(141, 196, 187, 0.74);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.theme-signal-board .terminal-title-row h1 {
    margin-bottom: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.4vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
}

.theme-signal-board .terminal-home-title,
.theme-signal-board .terminal-destination-title {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.theme-signal-board .terminal-subtitle {
    max-width: 52ch;
    margin: 0;
    color: var(--signal-muted);
    font-size: 1rem;
}

.theme-signal-board .terminal-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.theme-signal-board .terminal-rail-card {
    display: grid;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    border: 1px solid rgba(238, 181, 88, 0.28);
    background: rgba(8, 21, 29, 0.8);
    padding: 0.75rem 0.82rem;
    box-shadow: inset 0 0 0 1px rgba(57, 200, 159, 0.04);
}

.theme-signal-board .terminal-rail-card strong {
    color: var(--signal-text-strong);
    font-size: 0.96rem;
    font-weight: 600;
}

.theme-signal-board .terminal-rail-label {
    color: rgba(141, 196, 187, 0.76);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-rail-track {
    position: relative;
    display: block;
    height: 18px;
    border-radius: 999px;
    background: rgba(7, 19, 26, 0.96);
    border: 1px solid rgba(57, 200, 159, 0.14);
    overflow: hidden;
}

.theme-signal-board .terminal-rail-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(57, 200, 159, 0.88), rgba(40, 168, 139, 0.36));
    box-shadow: 0 0 18px rgba(57, 200, 159, 0.28);
}

.theme-signal-board .terminal-panel,
.theme-signal-board .feed-item,
.theme-signal-board .loading-card,
.theme-signal-board .metric-card,
.theme-signal-board .directory-card,
.theme-signal-board .empty-state-card {
    position: relative;
    border-radius: var(--signal-radius);
    border: 1px solid rgba(238, 181, 88, 0.28);
    background: linear-gradient(180deg, rgba(12, 26, 36, 0.94), rgba(8, 19, 27, 0.96));
    box-shadow: var(--signal-shadow);
    overflow: hidden;
}

.theme-signal-board .terminal-panel::before,
.theme-signal-board .feed-item::before,
.theme-signal-board .loading-card::before,
.theme-signal-board .metric-card::before,
.theme-signal-board .directory-card::before,
.theme-signal-board .empty-state-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(57, 200, 159, 0.06), transparent 34%);
    pointer-events: none;
}

.theme-signal-board .terminal-panel::after,
.theme-signal-board .feed-item::after,
.theme-signal-board .loading-card::after,
.theme-signal-board .metric-card::after,
.theme-signal-board .directory-card::after,
.theme-signal-board .empty-state-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/img/textures/texture-signal-grid-dark-01.svg") center/320px 320px repeat;
    opacity: 0.16;
    mix-blend-mode: screen;
    pointer-events: none;
}

.theme-signal-board .terminal-panel > *,
.theme-signal-board .feed-item > *,
.theme-signal-board .loading-card > *,
.theme-signal-board .metric-card > *,
.theme-signal-board .directory-card > *,
.theme-signal-board .empty-state-card > * {
    position: relative;
    z-index: 1;
}

.theme-signal-board .terminal-panel,
.theme-signal-board .feed-item,
.theme-signal-board .loading-card,
.theme-signal-board .metric-card,
.theme-signal-board .directory-card,
.theme-signal-board .empty-state-card {
    padding: 1.15rem;
}

.theme-signal-board .terminal-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.9rem;
    margin-bottom: 0.95rem;
}

.theme-signal-board .terminal-panel-head-inline {
    margin-bottom: 0.85rem;
}

.theme-signal-board .terminal-panel-head-stack {
    margin-bottom: 1rem;
}

.theme-signal-board .terminal-panel-label {
    margin: 0 0 0.32rem;
    color: rgba(141, 196, 187, 0.78);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-panel-copy {
    max-width: 34ch;
    margin: 0;
    color: var(--signal-muted);
    font-size: 0.94rem;
}

.theme-signal-board .section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0.9rem;
    margin-bottom: 0.95rem;
}

.theme-signal-board .section-title-row-tight {
    margin-top: 1rem;
    margin-bottom: 0.85rem;
}

.theme-signal-board .home-terminal-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1.55fr) 280px;
    gap: 1rem;
    align-items: start;
}

.theme-signal-board .state-terminal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 1fr);
    gap: 1rem;
}

.theme-signal-board .location-terminal-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1.18fr) 280px;
    gap: 1rem;
    align-items: start;
}

.theme-signal-board .home-terminal-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.theme-signal-board .terminal-state-stack,
.theme-signal-board .terminal-signal-list,
.theme-signal-board .terminal-support-stack,
.theme-signal-board .terminal-path-list,
.theme-signal-board .terminal-note-stream {
    display: grid;
    gap: 0.72rem;
}

.theme-signal-board .terminal-list-row,
.theme-signal-board .terminal-signal-row,
.theme-signal-board .terminal-source-item,
.theme-signal-board .terminal-related-card,
.theme-signal-board .terminal-path-step,
.theme-signal-board .terminal-brief-card,
.theme-signal-board .terminal-gallery-card,
.theme-signal-board .terminal-stat-card,
.theme-signal-board .terminal-mini-stat {
    border-radius: 16px;
    border: 1px solid rgba(57, 200, 159, 0.14);
    background: rgba(8, 20, 28, 0.82);
}

.theme-signal-board .terminal-list-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
    text-decoration: none;
    color: inherit;
}

.theme-signal-board .terminal-list-row:hover,
.theme-signal-board .terminal-list-row:focus {
    border-color: rgba(238, 181, 88, 0.32);
    background: rgba(11, 24, 32, 0.92);
}

.theme-signal-board .terminal-list-index,
.theme-signal-board .terminal-queue-order,
.theme-signal-board .planning-path-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(57, 200, 159, 0.24);
    background: linear-gradient(180deg, rgba(28, 93, 83, 0.92), rgba(17, 54, 48, 0.92));
    color: var(--signal-text-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.theme-signal-board .terminal-list-copy {
    display: grid;
    gap: 0.18rem;
}

.theme-signal-board .terminal-list-copy strong,
.theme-signal-board .terminal-signal-row strong,
.theme-signal-board .terminal-source-item h3,
.theme-signal-board .terminal-related-card span,
.theme-signal-board .terminal-brief-card strong,
.theme-signal-board .terminal-stat-card strong,
.theme-signal-board .terminal-mini-stat strong {
    color: var(--signal-text-strong);
}

.theme-signal-board .terminal-list-copy small,
.theme-signal-board .terminal-source-meta,
.theme-signal-board .terminal-inline-meta,
.theme-signal-board .terminal-note,
.theme-signal-board .terminal-board-line,
.theme-signal-board .metric-trust,
.theme-signal-board .terminal-gallery-card figcaption span {
    color: var(--signal-muted);
}

.theme-signal-board .terminal-list-value {
    color: var(--signal-warn);
    font-family: var(--font-mono);
    font-size: 0.92rem;
}

.theme-signal-board .terminal-mini-grid,
.theme-signal-board .terminal-stat-rack,
.theme-signal-board .terminal-brief-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.theme-signal-board .terminal-mini-stat,
.theme-signal-board .terminal-stat-card,
.theme-signal-board .terminal-brief-card {
    display: grid;
    gap: 0.28rem;
    padding: 0.82rem 0.9rem;
}

.theme-signal-board .terminal-mini-stat span,
.theme-signal-board .terminal-stat-card span,
.theme-signal-board .terminal-brief-card span {
    color: rgba(141, 196, 187, 0.78);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-map-canvas {
    padding: 0.85rem;
    border-radius: 22px;
    border: 1px solid rgba(57, 200, 159, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 26, 36, 0.96), rgba(7, 18, 27, 0.96)),
        repeating-linear-gradient(0deg, transparent 0, transparent 25px, rgba(78, 153, 160, 0.08) 25px, rgba(78, 153, 160, 0.08) 26px),
        repeating-linear-gradient(90deg, transparent 0, transparent 25px, rgba(78, 153, 160, 0.08) 25px, rgba(78, 153, 160, 0.08) 26px);
}

.theme-signal-board .us-state-map {
    width: 100%;
    height: auto;
    display: block;
}

.theme-signal-board .map-state-link {
    cursor: pointer;
}

.theme-signal-board .map-state-link rect {
    fill: rgba(21, 42, 54, 0.96);
    stroke: rgba(96, 146, 154, 0.58);
    stroke-width: 1.1;
    transition: fill 0.2s ease, stroke-color 0.2s ease, transform 0.2s ease;
}

.theme-signal-board .map-state-link.has-caves rect {
    fill: rgba(18, 56, 58, 0.96);
    stroke: rgba(66, 197, 174, 0.72);
}

.theme-signal-board .map-state-link .map-state-code {
    fill: rgba(224, 241, 236, 0.86);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.theme-signal-board .map-state-link .map-count-dot {
    fill: var(--signal-warn);
    stroke: rgba(6, 16, 24, 0.96);
    stroke-width: 1.1;
}

.theme-signal-board .map-state-link .map-count-text {
    fill: rgba(6, 16, 24, 0.96);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
}

.theme-signal-board .map-state-link:hover rect,
.theme-signal-board .map-state-link:focus rect,
.theme-signal-board .map-state-link.active rect {
    fill: rgba(34, 84, 86, 0.98);
    stroke: rgba(238, 181, 88, 0.86);
}

.theme-signal-board .map-state-link.no-caves rect {
    opacity: 0.8;
}

.theme-signal-board .terminal-status-note,
.theme-signal-board .terminal-note {
    margin: 0.95rem 0 0;
    color: var(--signal-muted);
    font-size: 0.88rem;
}

.theme-signal-board .terminal-signal-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.74rem 0.8rem;
}

.theme-signal-board .terminal-signal-row p,
.theme-signal-board .terminal-source-item p {
    margin: 0.2rem 0 0;
}

.theme-signal-board .terminal-signal-dot {
    width: 12px;
    height: 12px;
    margin-top: 0.28rem;
    border-radius: 50%;
    background: var(--signal-accent);
    box-shadow: 0 0 0 4px rgba(57, 200, 159, 0.12);
}

.theme-signal-board .terminal-signal-row.tone-queued .terminal-signal-dot,
.theme-signal-board .terminal-signal-row.tone-utility .terminal-signal-dot {
    background: var(--signal-warn);
    box-shadow: 0 0 0 4px rgba(227, 181, 93, 0.12);
}

.theme-signal-board .terminal-console-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) repeat(2, minmax(170px, 1fr));
    gap: 0.8rem;
}

.theme-signal-board .terminal-control-block,
.theme-signal-board .state-filter-grid label {
    display: grid;
    gap: 0.4rem;
    padding: 0.78rem 0.86rem;
    border-radius: 18px;
    border: 1px solid rgba(57, 200, 159, 0.16);
    background: rgba(8, 21, 29, 0.82);
    color: var(--signal-text);
}

.theme-signal-board .terminal-control-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.7rem;
}

.theme-signal-board .terminal-control-topics legend {
    grid-column: 1 / -1;
    padding: 0;
    color: rgba(141, 196, 187, 0.78);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-control-topics label {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 0.82rem;
}

.theme-signal-board input[type='search'],
.theme-signal-board select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(96, 146, 154, 0.36);
    background: rgba(3, 12, 18, 0.94);
    color: var(--signal-text-strong);
    font-size: 0.92rem;
    padding: 0.68rem 0.74rem;
}

.theme-signal-board input[type='search']::placeholder {
    color: rgba(144, 173, 168, 0.68);
}

.theme-signal-board input[type='search']:focus,
.theme-signal-board select:focus {
    outline: 2px solid rgba(57, 200, 159, 0.18);
    border-color: rgba(57, 200, 159, 0.54);
}

.theme-signal-board input[type='checkbox'] {
    accent-color: var(--signal-accent);
}

.theme-signal-board .hero-actions,
.theme-signal-board .directory-actions,
.theme-signal-board .quick-link-row,
.theme-signal-board .metric-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme-signal-board .hero-btn,
.theme-signal-board .quick-link-chip,
.theme-signal-board .button-link,
.theme-signal-board .hub-link-inline,
.theme-signal-board .metric-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(57, 200, 159, 0.28);
    background: rgba(57, 200, 159, 0.08);
    color: var(--signal-text-strong);
    text-decoration: none;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.56rem 0.88rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.theme-signal-board .hero-btn.primary {
    background: rgba(57, 200, 159, 0.16);
    border-color: rgba(57, 200, 159, 0.48);
}

.theme-signal-board .hero-btn:hover,
.theme-signal-board .hero-btn:focus,
.theme-signal-board .quick-link-chip:hover,
.theme-signal-board .quick-link-chip:focus,
.theme-signal-board .button-link:hover,
.theme-signal-board .button-link:focus,
.theme-signal-board .hub-link-inline:hover,
.theme-signal-board .hub-link-inline:focus,
.theme-signal-board .metric-link-btn:hover,
.theme-signal-board .metric-link-btn:focus {
    border-color: rgba(238, 181, 88, 0.48);
    background: rgba(238, 181, 88, 0.12);
    transform: translateY(-1px);
}

.theme-signal-board .terminal-spotlight-list,
.theme-signal-board .terminal-queue-list {
    display: grid;
    gap: 0.85rem;
}

.theme-signal-board .terminal-spotlight-card {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.9rem;
}

.theme-signal-board .terminal-queue-row {
    display: grid;
    grid-template-columns: auto minmax(200px, 260px) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
    padding: 0.9rem;
}

.theme-signal-board .terminal-spotlight-media,
.theme-signal-board .terminal-queue-media,
.theme-signal-board .feed-story-media {
    display: block;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}

.theme-signal-board .directory-photo,
.theme-signal-board .feed-thumb,
.theme-signal-board .terminal-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    border: 1px solid rgba(96, 146, 154, 0.22);
}

.theme-signal-board .terminal-spotlight-body,
.theme-signal-board .terminal-queue-body,
.theme-signal-board .feed-story-body {
    display: grid;
    align-content: start;
    gap: 0.54rem;
}

.theme-signal-board .spotlight-step,
.theme-signal-board .feed-story-meta {
    margin: 0;
    color: rgba(141, 196, 187, 0.74);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .card-meta {
    margin: 0;
}

.theme-signal-board .terminal-feed-grid {
    display: grid;
    gap: 0.9rem;
}

.theme-signal-board .feed-story {
    display: grid;
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem;
}

.theme-signal-board .feed-story-title,
.theme-signal-board .feed-story-title a,
.theme-signal-board .directory-body h3,
.theme-signal-board .directory-body h3 a,
.theme-signal-board .terminal-note-stream h3,
.theme-signal-board .terminal-source-item h3 a {
    color: var(--signal-text-strong);
    text-decoration: none;
}

.theme-signal-board .metric-grid,
.theme-signal-board .terminal-metric-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.theme-signal-board .metric-card {
    padding: 0.95rem;
}

.theme-signal-board .metric-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.75rem;
}

.theme-signal-board .metric-head h4 {
    margin: 0;
    font-size: 1rem;
}

.theme-signal-board .metric-value {
    margin: 0.44rem 0 0.28rem;
    color: var(--signal-warn);
    font-size: 1.02rem;
    font-weight: 600;
}

.theme-signal-board .metric-summary {
    margin: 0;
    color: var(--signal-muted);
}

.theme-signal-board .badge {
    border-radius: 999px;
    background: rgba(57, 200, 159, 0.12);
    color: var(--signal-text-strong);
    padding: 0.22rem 0.52rem;
    font-size: 0.68rem;
}

.theme-signal-board .badge.stale {
    background: rgba(227, 181, 93, 0.12);
    color: #ffdd94;
}

.theme-signal-board .tip {
    border-color: rgba(57, 200, 159, 0.42);
    color: var(--signal-text-strong);
}

.theme-signal-board .tip::after {
    border-color: rgba(238, 181, 88, 0.24);
    background: rgba(5, 15, 22, 0.98);
    color: var(--signal-text);
}

.theme-signal-board .news-list {
    margin: 0.6rem 0 0;
    padding-left: 1rem;
}

.theme-signal-board .news-list li {
    margin-bottom: 0.38rem;
}

.theme-signal-board .terminal-support-board {
    display: grid;
    gap: 1rem;
}

.theme-signal-board .terminal-source-item {
    padding: 0.86rem 0.92rem;
}

.theme-signal-board .terminal-source-item h3 {
    margin-bottom: 0.2rem;
}

.theme-signal-board .terminal-state-board,
.theme-signal-board .terminal-destination-panel {
    min-height: 100%;
}

.theme-signal-board .terminal-photo-wash {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: saturate(0.8) contrast(1.05);
}

.theme-signal-board .terminal-state-board::after,
.theme-signal-board .terminal-destination-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 24, 0.55), rgba(6, 16, 24, 0.88));
    pointer-events: none;
}

.theme-signal-board .terminal-state-board > *,
.theme-signal-board .terminal-destination-panel > * {
    position: relative;
    z-index: 2;
}

.theme-signal-board .terminal-callout {
    display: inline-grid;
    gap: 0.18rem;
    padding: 0.65rem 0.74rem;
    margin-bottom: 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(238, 181, 88, 0.24);
    background: rgba(8, 21, 29, 0.7);
}

.theme-signal-board .terminal-callout span {
    color: rgba(141, 196, 187, 0.74);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-signal-board .terminal-callout strong,
.theme-signal-board .terminal-destination-title {
    color: var(--signal-text-strong);
    font-family: var(--font-ui);
}

.theme-signal-board .terminal-destination-title {
    margin: 0 0 0.32rem;
    font-size: clamp(2rem, 3.8vw, 3.45rem);
    line-height: 0.95;
}

.theme-signal-board .terminal-board-copy {
    max-width: 58ch;
    margin: 0 0 0.9rem;
    color: var(--signal-text);
    font-size: 1rem;
}

.theme-signal-board .terminal-board-line {
    margin: 0.95rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(238, 181, 88, 0.28);
}

.theme-signal-board .terminal-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px);
    gap: 0.75rem;
}

.theme-signal-board .terminal-inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.84rem;
}

.theme-signal-board .terminal-inline-meta span {
    padding: 0.26rem 0.52rem;
    border-radius: 999px;
    border: 1px solid rgba(57, 200, 159, 0.14);
    background: rgba(6, 16, 24, 0.55);
}

.theme-signal-board .terminal-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.theme-signal-board .terminal-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.82rem 0.9rem;
    text-decoration: none;
    color: inherit;
}

.theme-signal-board .terminal-related-card strong {
    color: var(--signal-warn);
    font-family: var(--font-mono);
}

.theme-signal-board .terminal-path-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-signal-board .terminal-path-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.8rem 0.86rem;
}

.theme-signal-board .terminal-path-step h3 {
    margin-bottom: 0.26rem;
    font-size: 1.02rem;
}

.theme-signal-board .terminal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.theme-signal-board .terminal-gallery-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.72rem;
}

.theme-signal-board .terminal-gallery-card img {
    height: 180px;
    border-radius: 14px;
}

.theme-signal-board .terminal-gallery-card figcaption {
    display: grid;
    gap: 0.18rem;
    margin: 0;
}

.theme-signal-board .terminal-tools-shell {
    margin-top: 1rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(57, 200, 159, 0.12);
}

.theme-signal-board .terminal-note-stream article {
    border-radius: 18px;
    border: 1px solid rgba(57, 200, 159, 0.14);
    background: rgba(8, 20, 28, 0.82);
    padding: 1rem 1.05rem;
}

.theme-signal-board .terminal-note-stream p:last-child,
.theme-signal-board .terminal-source-item p:last-child,
.theme-signal-board .terminal-signal-row p:last-child {
    margin-bottom: 0;
}

.theme-signal-board .empty-state-card {
    color: var(--signal-text);
}

.theme-signal-board .site-footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(238, 181, 88, 0.18);
    background: rgba(4, 10, 15, 0.92);
    color: var(--signal-text);
}

.theme-signal-board .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 1rem;
}

.theme-signal-board .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.theme-signal-board .footer-logo {
    width: 54px;
    height: 54px;
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(57, 200, 159, 0.22);
    background: rgba(8, 21, 29, 0.84);
}

.theme-signal-board .footer-brand p,
.theme-signal-board .footer-note {
    color: var(--signal-muted);
}

.theme-signal-board .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.theme-signal-board .footer-links a {
    color: var(--signal-text);
    text-decoration: none;
}

.theme-signal-board .footer-links .footer-current {
    color: var(--signal-text);
    font-weight: 700;
}

.theme-signal-board .footer-links a:hover,
.theme-signal-board .footer-links a:focus {
    color: #d7fff1;
}

@media (max-width: 1240px) {
    .theme-signal-board .terminal-title-row,
    .theme-signal-board .terminal-panel-head,
    .theme-signal-board .section-title-row {
        align-items: start;
    }

    .theme-signal-board .terminal-title-row,
    .theme-signal-board .home-terminal-lower,
    .theme-signal-board .state-terminal-hero,
    .theme-signal-board .location-terminal-grid,
    .theme-signal-board .home-terminal-grid,
    .theme-signal-board .footer-grid {
        grid-template-columns: 1fr;
    }

    .theme-signal-board .terminal-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .theme-signal-board .terminal-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .theme-signal-board .terminal-console-form,
    .theme-signal-board .terminal-filter-bar,
    .theme-signal-board .terminal-mini-grid,
    .theme-signal-board .terminal-stat-rack,
    .theme-signal-board .terminal-brief-grid,
    .theme-signal-board .feed-story,
    .theme-signal-board .terminal-spotlight-card,
    .theme-signal-board .terminal-queue-row {
        grid-template-columns: 1fr;
    }

    .theme-signal-board .terminal-queue-order {
        width: 44px;
    }

    .theme-signal-board .terminal-control-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-signal-board .terminal-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .theme-signal-board .wrap {
        width: min(1320px, calc(100% - 1.2rem));
    }

    .theme-signal-board .nav-shell,
    .theme-signal-board .terminal-title-row,
    .theme-signal-board .terminal-panel-head,
    .theme-signal-board .section-title-row {
        flex-direction: column;
    }

    .theme-signal-board .terminal-page,
    .theme-signal-board .terminal-rail,
    .theme-signal-board .terminal-console-form,
    .theme-signal-board .terminal-filter-bar,
    .theme-signal-board .terminal-gallery-grid,
    .theme-signal-board .metric-grid,
    .theme-signal-board .terminal-metric-stream,
    .theme-signal-board .terminal-related-grid,
    .theme-signal-board .footer-links {
        grid-template-columns: 1fr;
    }

    .theme-signal-board .terminal-panel,
    .theme-signal-board .feed-item,
    .theme-signal-board .loading-card,
    .theme-signal-board .metric-card,
    .theme-signal-board .directory-card,
    .theme-signal-board .empty-state-card {
        padding: 0.92rem;
        border-radius: 18px;
    }

    .theme-signal-board .brand-copy span:last-child,
    .theme-signal-board .terminal-subtitle,
    .theme-signal-board .terminal-panel-copy {
        max-width: none;
    }

    .theme-signal-board .terminal-control-topics {
        grid-template-columns: 1fr;
    }
}

/* --- Home Simplification (March 2026) --- */
.theme-signal-board .home-terminal .terminal-home-masthead {
    gap: 0.35rem;
    padding-top: 0;
}

.theme-signal-board .home-terminal .terminal-home-title {
    margin: 0;
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

.theme-signal-board .home-terminal-grid {
    grid-template-columns: 1fr;
}

.theme-signal-board .home-terminal .terminal-map-board {
    padding: 1.2rem;
}

.theme-signal-board .home-terminal .terminal-panel-head-map {
    align-items: end;
}

.theme-signal-board .home-terminal .terminal-map-title h2 {
    margin: 0;
}

.theme-signal-board .home-terminal .terminal-map-focus {
    display: grid;
    gap: 0.28rem;
    margin-left: auto;
    max-width: 28rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(57, 200, 159, 0.16);
    background: rgba(8, 21, 29, 0.82);
}

.theme-signal-board .home-terminal .terminal-map-focus strong {
    color: var(--signal-text-strong);
    font-family: var(--font-ui);
    font-size: 1.12rem;
}

.theme-signal-board .home-terminal .terminal-map-focus p {
    margin: 0;
    color: var(--signal-muted);
}

.theme-signal-board .home-terminal .terminal-map-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(57, 200, 159, 0.12);
}

.theme-signal-board .home-terminal .terminal-map-meta .terminal-status-note {
    margin: 0;
}

.theme-signal-board .home-terminal .terminal-map-canvas {
    padding: 1rem;
}

@media (max-width: 980px) {
    .theme-signal-board .home-terminal .terminal-panel-head-map {
        flex-direction: column;
    }

    .theme-signal-board .home-terminal .terminal-map-focus {
        margin-left: 0;
        max-width: none;
    }
}

/* --- Policy + Shell Cleanup (March 2026) --- */
.theme-signal-board .page-policy .site-main > .wrap,
.theme-signal-board .page-legal .legal-shell {
    display: grid;
    gap: 1rem;
}

.theme-signal-board .page-policy .site-main > .wrap > h1,
.theme-signal-board .page-legal .legal-shell > h1 {
    margin-bottom: 0;
}

.theme-signal-board .page-policy .site-main > .wrap > p,
.theme-signal-board .page-legal .legal-shell > .muted {
    margin: 0;
    color: var(--signal-muted);
}

.theme-signal-board .policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.theme-signal-board .policy-card,
.theme-signal-board .legal-section {
    position: relative;
    border-radius: var(--signal-radius);
    border: 1px solid rgba(238, 181, 88, 0.28);
    background: linear-gradient(180deg, rgba(12, 26, 36, 0.94), rgba(8, 19, 27, 0.96));
    box-shadow: var(--signal-shadow);
    color: var(--signal-text);
    overflow: hidden;
}

.theme-signal-board .policy-card::before,
.theme-signal-board .legal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(57, 200, 159, 0.06), transparent 34%);
    pointer-events: none;
}

.theme-signal-board .policy-card > *,
.theme-signal-board .legal-section > * {
    position: relative;
    z-index: 1;
}

.theme-signal-board .policy-card h2,
.theme-signal-board .legal-section h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.theme-signal-board .policy-card h2 a,
.theme-signal-board .legal-section h2 {
    color: #8ee1cc;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.theme-signal-board .policy-card p,
.theme-signal-board .legal-section p {
    color: var(--signal-text);
}

.theme-signal-board .policy-card .muted,
.theme-signal-board .legal-shell > .muted,
.theme-signal-board .legal-section .muted {
    color: var(--signal-muted);
}

.theme-signal-board .policy-card:hover,
.theme-signal-board .policy-card:focus-within,
.theme-signal-board .legal-section:hover,
.theme-signal-board .legal-section:focus-within {
    border-color: rgba(57, 200, 159, 0.28);
}

.theme-signal-board .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
}

/* --- Home Stack Cleanup (March 2026) --- */
.theme-signal-board .home-terminal-lower {
    grid-template-columns: 1fr;
}

.theme-signal-board .home-terminal .terminal-support-board {
    grid-template-columns: 1fr;
}

.theme-signal-board .home-terminal .terminal-console-form {
    grid-template-columns: minmax(260px, 1.8fr) repeat(2, minmax(170px, 1fr));
}

.theme-signal-board .home-terminal .terminal-directory-intro {
    margin: -0.1rem 0 1rem;
    max-width: 72ch;
    color: var(--signal-muted);
}

.theme-signal-board .home-terminal .terminal-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.theme-signal-board .home-terminal .terminal-spotlight-card {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.theme-signal-board .home-terminal .terminal-spotlight-media {
    align-self: start;
    height: auto;
    aspect-ratio: 4 / 3;
}

.theme-signal-board .home-terminal .directory-photo {
    height: 100%;
    min-height: 0;
}

.theme-signal-board .home-terminal .terminal-spotlight-body {
    gap: 0.7rem;
}

.theme-signal-board .home-terminal .is-priority-cave {
    border-color: rgba(238, 181, 88, 0.44);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(238, 181, 88, 0.12);
}

.theme-signal-board .home-terminal .is-priority-cave .spotlight-step {
    color: #f0c472;
}

.theme-signal-board .feed-story {
    align-items: start;
}

.theme-signal-board .feed-story-media {
    align-self: start;
    height: auto;
    aspect-ratio: 4 / 5;
}

.theme-signal-board .feed-thumb {
    height: 100%;
}

@media (max-width: 980px) {
    .theme-signal-board .home-terminal .terminal-spotlight-media,
    .theme-signal-board .feed-story-media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 720px) {
    .theme-signal-board .home-terminal .terminal-directory-intro {
        margin-bottom: 0.85rem;
    }

    .theme-signal-board .home-terminal .terminal-spotlight-media {
        aspect-ratio: 16 / 11;
    }
}

body.theme-location-editorial {
    color: #14252d;
    background:
        radial-gradient(circle at 12% 0%, rgba(113, 211, 187, 0.1), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(213, 176, 109, 0.14), transparent 32%),
        linear-gradient(180deg, #08131a 0%, #0a1820 18%, #f3eee4 18%, #ece3d4 100%);
}

.theme-location-editorial .site-main {
    position: relative;
    isolation: isolate;
    padding: 1rem 0 4rem;
}

.theme-location-editorial .site-main::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.34), transparent 0 34%),
        radial-gradient(circle at 82% 32%, rgba(198, 153, 84, 0.12), transparent 0 28%),
        radial-gradient(circle at 52% 70%, rgba(166, 123, 63, 0.05), transparent 0 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(247, 241, 231, 0.84) 16%, rgba(239, 231, 219, 0.96) 100%);
}

.theme-location-editorial .site-header {
    background: rgba(8, 18, 25, 0.86);
    border-bottom-color: rgba(113, 211, 187, 0.16);
}

.theme-location-editorial .top-nav a,
.theme-location-editorial .top-nav-current,
.theme-location-editorial .brand,
.theme-location-editorial .brand-copy strong,
.theme-location-editorial .brand-copy span {
    color: var(--signal-text-strong);
}

.theme-location-editorial .site-footer {
    border-top-color: rgba(238, 181, 88, 0.18);
    background: rgba(4, 10, 15, 0.92);
    color: var(--signal-text);
}

.theme-location-editorial .location-article-page {
    display: grid;
    gap: 2rem;
}

.theme-location-editorial .location-reading-field {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 0;
}

.theme-location-editorial .location-reading-field::before,
.theme-location-editorial .location-reading-field::after {
    content: '';
    position: absolute;
    inset: -1rem -4vw -1.5rem;
    border-radius: 42px;
    pointer-events: none;
}

.theme-location-editorial .location-reading-field::before {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(250, 246, 240, 0.82) 0%, rgba(243, 234, 221, 0.97) 12%, rgba(232, 220, 202, 1) 100%);
}

.theme-location-editorial .location-reading-field::after {
    z-index: -1;
    background:
        radial-gradient(circle at 0% 42%, rgba(7, 20, 28, 0.11), transparent 0 20%),
        radial-gradient(circle at 100% 18%, rgba(255, 255, 255, 0.54), transparent 0 22%),
        radial-gradient(circle at 18% 76%, rgba(177, 136, 79, 0.08), transparent 0 24%),
        radial-gradient(circle at 82% 78%, rgba(120, 92, 58, 0.06), transparent 0 26%),
        linear-gradient(90deg, rgba(8, 18, 25, 0.14) 0%, rgba(8, 18, 25, 0.03) 20%, rgba(255, 255, 255, 0.03) 74%, rgba(255, 255, 255, 0.34) 100%);
    opacity: 1;
}

.theme-location-editorial .location-story-hero {
    display: grid;
    gap: 1.6rem;
}

.theme-location-editorial .location-story-image {
    position: relative;
    min-height: 600px;
    margin: 0;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(213, 176, 109, 0.28);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    background: #0c1820;
}

.theme-location-editorial .location-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.02);
}

.theme-location-editorial .location-story-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 18, 25, 0.12), transparent 30%),
        linear-gradient(0deg, rgba(5, 10, 15, 0.88), rgba(5, 10, 15, 0.1) 48%);
}

.theme-location-editorial .location-story-caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem 1.5rem;
    color: #edf6f3;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-location-editorial .location-story-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.9rem;
    max-width: 51rem;
    margin: -2.75rem auto 0;
    padding: 1.45rem 1.55rem 0.35rem;
    border-radius: 28px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: linear-gradient(180deg, rgba(251, 247, 241, 0.97), rgba(245, 236, 225, 0.98));
    box-shadow: 0 18px 40px rgba(14, 28, 38, 0.12);
    color: #14252d;
}

.theme-location-editorial .location-story-kicker,
.theme-location-editorial .location-story-button,
.theme-location-editorial .location-chip,
.theme-location-editorial .location-metric-links a {
    font-family: var(--font-ui);
}

.theme-location-editorial .location-story-kicker {
    margin: 0;
    color: #0f6861;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.theme-location-editorial .location-story-copy h1,
.theme-location-editorial .location-gallery-head h2,
.theme-location-editorial .location-support-card h2 {
    font-family: var(--font-serif);
    letter-spacing: 0.01em;
}

.theme-location-editorial .location-story-copy h1 {
    margin: 0;
    color: #13232b;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.98;
    font-weight: 400;
}

.theme-location-editorial .location-story-standfirst {
    margin: 0;
    max-width: 42rem;
    color: #2f444c;
    font-size: 1.12rem;
    line-height: 1.8;
}

.theme-location-editorial .location-review-panel {
    display: grid;
    gap: 0.8rem;
    max-width: 42rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 104, 97, 0.16);
    background:
        linear-gradient(180deg, rgba(15, 104, 97, 0.08), rgba(15, 104, 97, 0.02)),
        rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.theme-location-editorial .location-review-kicker,
.theme-location-editorial .location-review-item span,
.theme-location-editorial .location-review-note {
    font-family: var(--font-ui);
}

.theme-location-editorial .location-review-kicker {
    margin: 0;
    color: #0b5a54;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.theme-location-editorial .location-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.theme-location-editorial .location-review-item {
    display: grid;
    gap: 0.18rem;
}

.theme-location-editorial .location-review-item span {
    color: #59707a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-location-editorial .location-review-item strong {
    color: #102830;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.theme-location-editorial .location-review-note {
    margin: 0;
    color: #47616a;
    font-size: 0.82rem;
    line-height: 1.55;
}

.theme-location-editorial .location-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    align-items: center;
    color: #3b5058;
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-location-editorial .location-story-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-location-editorial .location-story-meta span::before {
    content: '';
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: rgba(15, 104, 97, 0.38);
}

.theme-location-editorial .location-story-utility {
    display: grid;
    gap: 0.65rem;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0.95rem 0.4rem 1rem;
    border-bottom: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-story-utility-label {
    margin: 0;
    color: #50636c;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-location-editorial .location-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.theme-location-editorial .location-story-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(19, 35, 43, 0.14);
    background: rgba(255, 255, 255, 0.58);
    color: #163139;
}

.theme-location-editorial .location-story-button:hover,
.theme-location-editorial .location-story-button:focus {
    color: #163139;
    border-color: rgba(213, 176, 109, 0.52);
    background: rgba(255, 255, 255, 0.92);
}

.theme-location-editorial .location-story-button.primary {
    border-color: rgba(15, 104, 97, 0.2);
    background: rgba(15, 104, 97, 0.1);
    color: #0b504b;
    font-weight: 600;
}

.theme-location-editorial .location-fact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0.35rem 0.4rem 1rem;
    border-bottom: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-fact-card {
    padding: 0;
    min-width: 10rem;
}

.theme-location-editorial .location-fact-card span {
    display: block;
    margin-bottom: 0.28rem;
    color: #50636c;
    font-family: var(--font-ui);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-location-editorial .location-fact-card strong {
    display: block;
    color: #13232b;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 500;
}

.theme-location-editorial .location-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.theme-location-editorial .location-article-card {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 0.4rem;
}

.theme-location-editorial .location-article-card::before {
    display: none;
}

.theme-location-editorial .location-article-card p {
    margin: 0 0 1.2rem;
    color: #1c3138;
    font-size: 1.12rem;
    line-height: 1.92;
    max-width: none;
}

.theme-location-editorial .location-article-section {
    margin-top: 2.1rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-article-section h2 {
    margin: 0 0 0.8rem;
    color: #13232b;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.theme-location-editorial .location-pull-quote {
    margin: 1.4rem 0 1.25rem;
    padding: 1rem 1.2rem 1rem 1.4rem;
    border-left: 4px solid #b6823e;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, rgba(213, 176, 109, 0.12), rgba(113, 211, 187, 0.08));
    color: #21333b;
    font-family: var(--font-serif);
    font-size: 1.24rem;
    line-height: 1.55;
}

.theme-location-editorial .location-side-rail {
    display: grid;
    gap: 0;
    max-width: 50rem;
    margin: 0 auto;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-side-card {
    padding: 1.15rem 0.4rem 1.25rem;
    border-bottom: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-side-card-glance {
    display: grid;
    gap: 1rem;
}

.theme-location-editorial .location-side-card h2 {
    margin: 0 0 0.5rem;
    color: #13232b;
    font-size: 1.7rem;
    font-weight: 400;
}

.theme-location-editorial .location-side-card p {
    margin: 0 0 0.8rem;
    color: #344952;
    line-height: 1.8;
    font-size: 1rem;
}

.theme-location-editorial .location-side-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.65rem;
    color: #13232b;
}

.theme-location-editorial .location-side-card li {
    line-height: 1.75;
    font-size: 1rem;
}

.theme-location-editorial .location-fact-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.theme-location-editorial .location-fact-item {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(19, 35, 43, 0.1);
}

.theme-location-editorial .location-fact-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.theme-location-editorial .location-fact-item dt {
    margin: 0;
    color: #50636c;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-location-editorial .location-fact-item dd {
    margin: 0.28rem 0 0;
    color: #13232b;
    font-size: 1rem;
    line-height: 1.65;
}

.theme-location-editorial .location-side-actions {
    margin-top: 0.2rem;
}

.theme-location-editorial .location-entry-list {
    display: grid;
    gap: 0.95rem;
}

.theme-location-editorial .location-entry-item {
    padding-top: 0.95rem;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-entry-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.theme-location-editorial .location-entry-item h3 {
    margin: 0 0 0.22rem;
    color: #13232b;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.theme-location-editorial .location-entry-meta {
    margin: 0 0 0.45rem;
    color: #0f6861;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
}

.theme-location-editorial .location-entry-item p:last-child {
    margin-bottom: 0;
}

.theme-location-editorial .location-entry-item .quick-link-chip {
    min-height: 38px;
    padding: 0.52rem 0.78rem;
    border-color: rgba(19, 35, 43, 0.12);
    background: rgba(255, 255, 255, 0.58);
    color: #0f6861;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-location-editorial .location-entry-item .quick-link-chip:hover,
.theme-location-editorial .location-entry-item .quick-link-chip:focus {
    color: #0b504b;
    border-color: rgba(177, 113, 45, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.theme-location-editorial .location-tiny-note {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
    color: #50636c;
    font-size: 0.82rem;
}

.theme-location-editorial .location-tiny-note a {
    color: #0f6861;
}

.theme-location-editorial .location-gallery-shell {
    padding: 1.25rem;
}

.theme-location-editorial .location-gallery-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.theme-location-editorial .location-support-card h2 {
    margin: 0;
    color: #13232b;
    font-size: 1.9rem;
    font-weight: 400;
}

.theme-location-editorial .location-support-card p {
    margin: 0;
    color: #344952;
    line-height: 1.8;
    font-size: 1.02rem;
}

.theme-location-editorial .location-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 0.9rem;
}

.theme-location-editorial .location-gallery-card {
    position: relative;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #10202a;
    border: 1px solid rgba(19, 35, 43, 0.08);
}

.theme-location-editorial .location-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-location-editorial .location-gallery-card figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    gap: 0.18rem;
    padding: 1rem 1rem 0.95rem;
    background: linear-gradient(180deg, transparent, rgba(5, 11, 15, 0.88));
    color: #eef7f3;
    font-size: 0.92rem;
    line-height: 1.45;
}

.theme-location-editorial .location-utility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    max-width: 50rem;
    margin: 0 auto;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-support-card {
    padding: 1.2rem 0.4rem 1rem;
    border-bottom: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-location-editorial .location-support-card p {
    margin: 0.45rem 0 0.9rem;
}

.theme-location-editorial .location-chip-list,
.theme-location-editorial .location-metric-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.theme-location-editorial .location-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(213, 176, 109, 0.12);
    border: 1px solid rgba(182, 130, 62, 0.24);
    color: #744f24;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-location-editorial .location-source-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.theme-location-editorial .location-source-item {
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(19, 35, 43, 0.08);
}

.theme-location-editorial .location-source-item strong,
.theme-location-editorial .location-source-item span {
    display: block;
}

.theme-location-editorial .location-source-item strong {
    margin-bottom: 0.18rem;
    color: #13232b;
    font-size: 0.92rem;
}

.theme-location-editorial .location-source-item strong a {
    color: inherit;
    text-decoration: none;
}

.theme-location-editorial .location-source-item span {
    color: #50636c;
    font-size: 0.88rem;
    line-height: 1.5;
}

.theme-location-editorial .location-metric-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.52rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(19, 35, 43, 0.12);
    background: rgba(255, 255, 255, 0.58);
    color: #0f6861;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.theme-location-editorial .location-metric-links a:hover,
.theme-location-editorial .location-metric-links a:focus {
    color: #0b504b;
    border-color: rgba(177, 113, 45, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.theme-location-editorial .location-metric-stream {
    display: grid;
    gap: 0;
    margin-top: 0.75rem;
}

.theme-location-editorial .location-metric-stream .metric-card,
.theme-location-editorial .location-metric-stream .loading-card,
.theme-location-editorial .location-metric-stream .feed-item {
    padding: 1rem 0 0.95rem;
    border: 0;
    border-top: 1px solid rgba(19, 35, 43, 0.1);
    border-radius: 0;
    background: transparent;
    color: #13232b;
    box-shadow: none;
}

.theme-location-editorial .location-metric-stream .metric-card::before,
.theme-location-editorial .location-metric-stream .loading-card::before,
.theme-location-editorial .location-metric-stream .feed-item::before,
.theme-location-editorial .location-metric-stream .metric-card::after,
.theme-location-editorial .location-metric-stream .loading-card::after,
.theme-location-editorial .location-metric-stream .feed-item::after {
    display: none;
}

.theme-location-editorial .location-metric-stream .metric-card > *,
.theme-location-editorial .location-metric-stream .loading-card > *,
.theme-location-editorial .location-metric-stream .feed-item > * {
    position: static;
}

.theme-location-editorial .location-metric-stream .metric-head h4,
.theme-location-editorial .location-metric-stream .metric-value,
.theme-location-editorial .location-metric-stream .metric-link-btn {
    color: #13232b;
}

.theme-location-editorial .location-metric-stream .metric-summary,
.theme-location-editorial .location-metric-stream .metric-trust {
    color: #344952;
}

.theme-location-editorial .location-metric-stream .badge {
    background: rgba(15, 104, 97, 0.12);
    color: #0b504b;
}

.theme-location-editorial .location-metric-stream .badge.stale {
    background: rgba(177, 113, 45, 0.14);
    color: #7f460f;
}

.theme-location-editorial .location-metric-stream .tip {
    border-color: rgba(15, 104, 97, 0.4);
    color: #0b504b;
}

.theme-location-editorial .location-metric-stream .tip::after {
    border-color: rgba(19, 35, 43, 0.12);
    background: #21333b;
    color: #eef7f3;
}

.theme-location-editorial .location-metric-stream .metric-link-btn {
    border-color: rgba(19, 35, 43, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-location-editorial .location-metric-stream .metric-link-btn:hover,
.theme-location-editorial .location-metric-stream .metric-link-btn:focus {
    color: #0b504b;
    border-color: rgba(177, 113, 45, 0.3);
    background: #fff;
}

@media (max-width: 1120px) {
    .theme-location-editorial .location-story-hero,
    .theme-location-editorial .location-story-grid,
    .theme-location-editorial .location-gallery-grid,
    .theme-location-editorial .location-fact-strip,
    .theme-location-editorial .location-utility-grid {
        grid-template-columns: 1fr;
    }

    .theme-location-editorial .location-story-image {
        min-height: 420px;
    }

    .theme-location-editorial .location-story-copy {
        margin-top: -2rem;
    }

    .theme-location-editorial .location-reading-field::before,
    .theme-location-editorial .location-reading-field::after {
        inset: -0.85rem -2vw -1.15rem;
    }
}

@media (max-width: 720px) {
    .theme-location-editorial .site-main {
        padding-bottom: 2rem;
    }

    .theme-location-editorial .location-story-copy,
    .theme-location-editorial .location-story-utility,
    .theme-location-editorial .location-article-card,
    .theme-location-editorial .location-side-card,
    .theme-location-editorial .location-gallery-shell,
    .theme-location-editorial .location-support-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .theme-location-editorial .location-story-copy {
        margin-top: -1.45rem;
        padding-top: 1.1rem;
        padding-bottom: 0.2rem;
    }

    .theme-location-editorial .location-review-grid {
        grid-template-columns: 1fr;
    }

    .theme-location-editorial .location-story-image {
        min-height: 320px;
    }

    .theme-location-editorial .location-reading-field::before,
    .theme-location-editorial .location-reading-field::after {
        inset: -0.45rem -0.5rem -0.85rem;
        border-radius: 28px;
    }

    .theme-location-editorial .location-story-caption {
        display: grid;
    }

    .theme-location-editorial .location-gallery-card {
        min-height: 220px;
    }
}

body.theme-home-editorial,
body.theme-state-editorial {
    --editorial-ink: #14252d;
    --editorial-copy: #344851;
    --editorial-muted: #64767d;
    --editorial-line: rgba(19, 35, 43, 0.12);
    --editorial-line-strong: rgba(177, 113, 45, 0.32);
    --editorial-panel: rgba(255, 250, 244, 0.9);
    --editorial-panel-strong: rgba(255, 255, 255, 0.96);
    --editorial-accent: #0f6861;
    --editorial-accent-soft: rgba(15, 104, 97, 0.12);
    --editorial-warm: #b1712d;
    --editorial-warm-soft: rgba(177, 113, 45, 0.12);
    --editorial-shadow: 0 24px 58px rgba(31, 39, 45, 0.12);
    color: var(--editorial-ink);
    background:
        radial-gradient(circle at 0% 12%, rgba(14, 104, 97, 0.12), transparent 0 24%),
        radial-gradient(circle at 100% 0%, rgba(177, 113, 45, 0.14), transparent 0 26%),
        linear-gradient(180deg, #f8f4ee 0%, #efe4d4 52%, #e4d7c4 100%);
}

body.theme-home-editorial {
    overflow-x: clip;
    background:
        radial-gradient(circle at 0% 18%, rgba(22, 36, 42, 0.18), transparent 0 22%),
        radial-gradient(circle at 100% 14%, rgba(22, 36, 42, 0.16), transparent 0 22%),
        radial-gradient(circle at 50% 0%, rgba(177, 113, 45, 0.12), transparent 0 34%),
        linear-gradient(180deg, #f5efe5 0%, #ebdecd 52%, #e1d2bf 100%);
}

body.theme-home-editorial::selection,
body.theme-state-editorial::selection {
    background: rgba(15, 104, 97, 0.18);
    color: var(--editorial-ink);
}

.theme-home-editorial h1,
.theme-home-editorial h2,
.theme-home-editorial h3,
.theme-home-editorial h4,
.theme-state-editorial h1,
.theme-state-editorial h2,
.theme-state-editorial h3,
.theme-state-editorial h4 {
    color: var(--editorial-ink);
}

.theme-home-editorial p,
.theme-home-editorial li,
.theme-home-editorial dt,
.theme-home-editorial dd,
.theme-home-editorial label,
.theme-home-editorial input,
.theme-home-editorial select,
.theme-home-editorial button,
.theme-state-editorial p,
.theme-state-editorial li,
.theme-state-editorial dt,
.theme-state-editorial dd,
.theme-state-editorial label,
.theme-state-editorial input,
.theme-state-editorial select,
.theme-state-editorial button {
    color: var(--editorial-copy);
}

.theme-home-editorial a,
.theme-state-editorial a {
    color: var(--editorial-accent);
}

.theme-home-editorial a:hover,
.theme-home-editorial a:focus,
.theme-state-editorial a:hover,
.theme-state-editorial a:focus {
    color: #0a504a;
}

.theme-home-editorial .site-main,
.theme-state-editorial .site-main {
    position: relative;
    padding: 1.5rem 0 4rem;
}

.theme-home-editorial .site-main {
    overflow-x: clip;
}

.theme-home-editorial .site-main::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 26, 32, 0.24) 0%, rgba(15, 26, 32, 0.04) 12%, rgba(15, 26, 32, 0.04) 88%, rgba(15, 26, 32, 0.22) 100%),
        radial-gradient(circle at 50% 0%, rgba(13, 23, 30, 0.18), transparent 0 42%);
}

.theme-home-editorial .site-main::before,
.theme-state-editorial .site-main::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 24rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 0 38%),
        linear-gradient(180deg, rgba(255, 249, 240, 0.88), rgba(255, 249, 240, 0));
    pointer-events: none;
}

.theme-home-editorial .site-header,
.theme-state-editorial .site-header {
    background: rgba(247, 242, 234, 0.86);
    border-bottom: 1px solid rgba(19, 35, 43, 0.08);
    backdrop-filter: blur(18px);
}

.theme-home-editorial .site-header {
    background: rgba(243, 236, 226, 0.92);
    border-bottom-color: rgba(19, 35, 43, 0.1);
}

.theme-home-editorial .brand,
.theme-state-editorial .brand {
    color: var(--editorial-ink);
}

.theme-home-editorial .brand {
    gap: 0.9rem;
}

.theme-home-editorial .brand-mark,
.theme-state-editorial .brand-mark {
    width: 50px;
    height: 50px;
    padding: 0.52rem;
    border-color: rgba(19, 35, 43, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 239, 228, 0.94));
    box-shadow: inset 0 0 0 1px rgba(19, 35, 43, 0.03);
}

.theme-home-editorial .brand-copy strong,
.theme-state-editorial .brand-copy strong {
    color: var(--editorial-ink);
}

.theme-home-editorial .brand-copy strong {
    font-size: 1.08rem;
}

.theme-home-editorial .brand-copy span:last-child,
.theme-state-editorial .brand-copy span:last-child {
    color: var(--editorial-muted);
}

.theme-home-editorial .brand-copy span:last-child {
    font-size: 0.74rem;
}

.theme-home-editorial .top-nav a,
.theme-home-editorial .top-nav .top-nav-current,
.theme-state-editorial .top-nav a,
.theme-state-editorial .top-nav .top-nav-current {
    border-color: rgba(19, 35, 43, 0.1);
    background: rgba(255, 255, 255, 0.7);
    color: var(--editorial-ink);
}

.theme-home-editorial .top-nav a,
.theme-home-editorial .top-nav .top-nav-current {
    justify-content: center;
    min-width: 7.25rem;
    min-height: 2.85rem;
    padding: 0 1.25rem;
    line-height: 1;
}

.theme-home-editorial .top-nav a:hover,
.theme-home-editorial .top-nav a:focus,
.theme-state-editorial .top-nav a:hover,
.theme-state-editorial .top-nav a:focus {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(177, 113, 45, 0.34);
}

.theme-home-editorial .site-footer,
.theme-state-editorial .site-footer {
    border-top: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(250, 245, 237, 0.92);
    color: var(--editorial-copy);
}

.theme-home-editorial .footer-brand h2,
.theme-state-editorial .footer-brand h2,
.theme-home-editorial .footer-links a,
.theme-home-editorial .footer-links .footer-current,
.theme-state-editorial .footer-links a,
.theme-state-editorial .footer-links .footer-current {
    color: var(--editorial-ink);
}

.theme-home-editorial .footer-brand p,
.theme-home-editorial .footer-note,
.theme-home-editorial .footer-heading,
.theme-state-editorial .footer-brand p,
.theme-state-editorial .footer-note,
.theme-state-editorial .footer-heading {
    color: var(--editorial-muted);
}

.theme-home-editorial .editorial-panel,
.theme-state-editorial .editorial-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--editorial-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 240, 230, 0.9));
    box-shadow: var(--editorial-shadow);
}

.theme-home-editorial .editorial-panel::before,
.theme-home-editorial .editorial-panel::after,
.theme-state-editorial .editorial-panel::before,
.theme-state-editorial .editorial-panel::after {
    display: none;
}

.theme-home-editorial .editorial-panel > *,
.theme-state-editorial .editorial-panel > * {
    position: relative;
    z-index: 1;
}

.theme-home-editorial .directory-card,
.theme-home-editorial .empty-state-card,
.theme-state-editorial .directory-card,
.theme-state-editorial .empty-state-card {
    padding: 0;
    color: var(--editorial-ink);
}

.theme-home-editorial .directory-card > *,
.theme-home-editorial .empty-state-card > *,
.theme-state-editorial .directory-card > *,
.theme-state-editorial .empty-state-card > * {
    position: relative;
    z-index: 1;
}

.theme-home-editorial .directory-card::before,
.theme-home-editorial .directory-card::after,
.theme-home-editorial .empty-state-card::before,
.theme-home-editorial .empty-state-card::after,
.theme-state-editorial .directory-card::before,
.theme-state-editorial .directory-card::after,
.theme-state-editorial .empty-state-card::before,
.theme-state-editorial .empty-state-card::after {
    display: none;
}

.theme-home-editorial .editorial-kicker,
.theme-home-editorial .editorial-mini-meta,
.theme-home-editorial .editorial-link-row small,
.theme-home-editorial .editorial-link-row em,
.theme-home-editorial .editorial-fact-card span,
.theme-home-editorial .home-priority-badge,
.theme-home-editorial .spotlight-step,
.theme-home-editorial .home-card-facts dt,
.theme-state-editorial .editorial-kicker,
.theme-state-editorial .editorial-mini-meta,
.theme-state-editorial .editorial-link-row small,
.theme-state-editorial .editorial-link-row em,
.theme-state-editorial .editorial-fact-card span,
.theme-state-editorial .state-shortlist-index,
.theme-state-editorial .spotlight-step,
.theme-state-editorial .state-card-order,
.theme-state-editorial .state-card-facts dt {
    font-family: var(--font-mono);
}

.theme-home-editorial .editorial-kicker,
.theme-state-editorial .editorial-kicker {
    margin: 0;
    color: var(--editorial-accent);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.theme-home-editorial .editorial-section-head,
.theme-state-editorial .editorial-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.theme-home-editorial .editorial-section-head h2,
.theme-state-editorial .editorial-section-head h2 {
    margin: 0.2rem 0 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.theme-home-editorial .editorial-section-note,
.theme-state-editorial .editorial-section-note {
    max-width: 28rem;
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.theme-home-editorial .editorial-pill-button,
.theme-state-editorial .editorial-pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.78rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(19, 35, 43, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--editorial-ink);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.theme-home-editorial .editorial-pill-button.primary,
.theme-state-editorial .editorial-pill-button.primary {
    border-color: rgba(177, 113, 45, 0.5);
    background: linear-gradient(135deg, rgba(213, 176, 109, 0.98), rgba(183, 136, 61, 0.98));
}

.theme-home-editorial .editorial-pill-button:hover,
.theme-home-editorial .editorial-pill-button:focus,
.theme-state-editorial .editorial-pill-button:hover,
.theme-state-editorial .editorial-pill-button:focus {
    color: var(--editorial-ink);
    border-color: rgba(177, 113, 45, 0.34);
    background: rgba(255, 255, 255, 0.94);
    transform: translateY(-1px);
}

.theme-home-editorial .editorial-pill-button.primary:hover,
.theme-home-editorial .editorial-pill-button.primary:focus,
.theme-state-editorial .editorial-pill-button.primary:hover,
.theme-state-editorial .editorial-pill-button.primary:focus {
    background: linear-gradient(135deg, rgba(221, 186, 122, 1), rgba(190, 142, 68, 1));
}

.theme-home-editorial .editorial-fact-strip,
.theme-state-editorial .editorial-fact-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.theme-home-editorial .editorial-fact-card,
.theme-state-editorial .editorial-fact-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(255, 255, 255, 0.62);
}

.theme-home-editorial .editorial-fact-card span,
.theme-state-editorial .editorial-fact-card span {
    display: block;
    color: var(--editorial-muted);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-home-editorial .editorial-fact-card strong,
.theme-state-editorial .editorial-fact-card strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.theme-home-editorial .editorial-mini-stack,
.theme-state-editorial .editorial-mini-stack {
    display: grid;
    gap: 0.85rem;
}

.theme-home-editorial .editorial-mini-card,
.theme-state-editorial .editorial-mini-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(255, 255, 255, 0.55);
}

.theme-home-editorial .editorial-mini-card h3,
.theme-state-editorial .editorial-mini-card h3 {
    margin: 0.22rem 0 0.4rem;
    font-size: 1.12rem;
}

.theme-home-editorial .editorial-mini-card h3 a,
.theme-home-editorial .home-feature-card h3 a,
.theme-home-editorial .home-directory-body h3 a,
.theme-state-editorial .editorial-mini-card h3 a,
.theme-state-editorial .state-shortlist-card h3 a,
.theme-state-editorial .state-directory-body h3 a {
    color: var(--editorial-ink);
}

.theme-home-editorial .editorial-mini-card h3 a:hover,
.theme-home-editorial .editorial-mini-card h3 a:focus,
.theme-home-editorial .home-feature-card h3 a:hover,
.theme-home-editorial .home-feature-card h3 a:focus,
.theme-home-editorial .home-directory-body h3 a:hover,
.theme-home-editorial .home-directory-body h3 a:focus,
.theme-state-editorial .editorial-mini-card h3 a:hover,
.theme-state-editorial .editorial-mini-card h3 a:focus,
.theme-state-editorial .state-shortlist-card h3 a:hover,
.theme-state-editorial .state-shortlist-card h3 a:focus,
.theme-state-editorial .state-directory-body h3 a:hover,
.theme-state-editorial .state-directory-body h3 a:focus {
    color: #0a504a;
}

.theme-home-editorial .editorial-mini-card p:last-child,
.theme-state-editorial .editorial-mini-card p:last-child {
    margin-bottom: 0;
}

.theme-home-editorial .editorial-mini-meta,
.theme-state-editorial .editorial-mini-meta {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-home-editorial .editorial-link-list,
.theme-state-editorial .editorial-link-list {
    display: grid;
    gap: 0.75rem;
}

.theme-home-editorial .editorial-link-row,
.theme-state-editorial .editorial-link-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(255, 255, 255, 0.58);
    text-decoration: none;
}

.theme-home-editorial .editorial-link-row strong,
.theme-state-editorial .editorial-link-row strong {
    display: block;
    color: var(--editorial-ink);
}

.theme-home-editorial .editorial-link-row small,
.theme-home-editorial .editorial-link-row em,
.theme-state-editorial .editorial-link-row small,
.theme-state-editorial .editorial-link-row em {
    color: var(--editorial-muted);
    font-size: 0.74rem;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-home-editorial .editorial-bullet-list,
.theme-state-editorial .editorial-bullet-list {
    display: grid;
    gap: 0.75rem;
    padding-left: 1.15rem;
}

.theme-home-editorial .quick-link-chip,
.theme-state-editorial .quick-link-chip {
    border-color: rgba(19, 35, 43, 0.1);
    background: rgba(255, 255, 255, 0.72);
    color: var(--editorial-ink);
}

.theme-home-editorial .quick-link-chip:hover,
.theme-home-editorial .quick-link-chip:focus,
.theme-state-editorial .quick-link-chip:hover,
.theme-state-editorial .quick-link-chip:focus {
    color: var(--editorial-ink);
    border-color: rgba(177, 113, 45, 0.34);
    background: rgba(255, 255, 255, 0.96);
}

.theme-home-editorial input[type='search'],
.theme-home-editorial select,
.theme-state-editorial input[type='search'],
.theme-state-editorial select {
    border-color: rgba(19, 35, 43, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--editorial-ink);
}

.theme-home-editorial input[type='search']::placeholder,
.theme-state-editorial input[type='search']::placeholder {
    color: #7d8d93;
}

.theme-home-editorial input[type='search']:focus,
.theme-home-editorial select:focus,
.theme-state-editorial input[type='search']:focus,
.theme-state-editorial select:focus {
    border-color: rgba(177, 113, 45, 0.38);
    box-shadow: 0 0 0 3px rgba(177, 113, 45, 0.12);
}

.theme-home-editorial .home-editorial-page,
.theme-state-editorial .state-editorial-page {
    display: grid;
    gap: 1.5rem;
}

.theme-home-editorial .home-editorial-hero,
.theme-state-editorial .state-editorial-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.theme-home-editorial .home-hero-copy,
.theme-home-editorial .home-hero-aside,
.theme-state-editorial .state-hero-copy {
    padding: 1.7rem;
}

.theme-home-editorial .home-hero-copy h1,
.theme-state-editorial .state-hero-copy h1 {
    margin: 0.25rem 0 0;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
}

.theme-home-editorial .home-hero-standfirst,
.theme-state-editorial .state-hero-standfirst {
    max-width: 42rem;
    margin: 1rem 0 0;
    font-size: 1.08rem;
    line-height: 1.8;
}

.theme-home-editorial .home-hero-note,
.theme-home-editorial .home-hero-aside-note {
    color: var(--editorial-muted);
}

.theme-home-editorial .home-hero-actions,
.theme-state-editorial .state-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.2rem 0 1.3rem;
}

.theme-home-editorial .home-hero-aside h2,
.theme-state-editorial .state-overview-card h2,
.theme-state-editorial .state-shortlist-shell h2,
.theme-state-editorial .state-filter-shell h2,
.theme-state-editorial .state-directory-head h2 {
    margin: 0.24rem 0 0;
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.02;
}

.theme-home-editorial .home-discovery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 1.25rem;
}

.theme-home-editorial .home-map-panel {
    padding: 1.55rem;
}

.theme-home-editorial .home-map-summary {
    display: grid;
    gap: 0.25rem;
    margin-top: 1rem;
}

.theme-home-editorial .home-map-summary strong {
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    line-height: 1;
}

.theme-home-editorial .home-map-summary p,
.theme-home-editorial .home-map-meta p {
    margin: 0;
}

.theme-home-editorial .home-map-canvas {
    margin-top: 1.15rem;
    padding: 1rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at 20% 0%, rgba(57, 200, 159, 0.14), transparent 0 30%),
        linear-gradient(180deg, rgba(6, 16, 24, 0.96), rgba(10, 23, 31, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.theme-home-editorial .home-map-canvas .us-state-map {
    width: 100%;
    height: auto;
}

.theme-home-editorial .home-map-canvas .map-state-link rect {
    fill: rgba(17, 40, 47, 0.96);
    stroke: rgba(255, 255, 255, 0.05);
}

.theme-home-editorial .home-map-canvas .map-state-link.has-caves rect {
    fill: rgba(18, 57, 61, 0.98);
    stroke: rgba(227, 181, 93, 0.2);
}

.theme-home-editorial .home-map-canvas .map-state-link.no-caves rect {
    fill: rgba(22, 31, 36, 0.92);
}

.theme-home-editorial .home-map-canvas .map-state-link:hover rect,
.theme-home-editorial .home-map-canvas .map-state-link:focus rect,
.theme-home-editorial .home-map-canvas .map-state-link.active rect {
    fill: rgba(30, 83, 86, 1);
    stroke: rgba(227, 181, 93, 0.48);
}

.theme-home-editorial .home-map-canvas .map-state-code,
.theme-home-editorial .home-map-canvas .map-count-text {
    fill: #eef7f3;
}

.theme-home-editorial .home-map-canvas .map-count-dot {
    fill: rgba(227, 181, 93, 0.92);
}

.theme-home-editorial .home-map-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin-top: 1rem;
}

.theme-home-editorial .home-support-rail,
.theme-state-editorial .state-overview-rail {
    display: grid;
    gap: 1rem;
}

.theme-home-editorial .home-support-rail .editorial-panel,
.theme-state-editorial .state-overview-rail .editorial-panel {
    padding: 1.4rem;
}

.theme-home-editorial .home-filter-shell,
.theme-state-editorial .state-filter-shell {
    padding: 1.45rem;
}

.theme-home-editorial .home-filter-form,
.theme-state-editorial .state-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 0.75fr) minmax(180px, 0.75fr);
    gap: 0.9rem;
    margin-top: 1.15rem;
}

.theme-home-editorial .home-filter-form label,
.theme-state-editorial .state-filter-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--editorial-ink);
}

.theme-home-editorial .home-directory-shell,
.theme-state-editorial .state-directory-shell,
.theme-state-editorial .state-shortlist-shell {
    display: grid;
    gap: 1rem;
}

.theme-home-editorial .home-directory-head,
.theme-state-editorial .state-directory-head {
    align-items: start;
}

.theme-home-editorial .home-directory-meta,
.theme-state-editorial .state-directory-meta {
    margin: 0;
    color: var(--editorial-muted);
}

.theme-home-editorial .home-feature-strip,
.theme-state-editorial .state-shortlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.theme-home-editorial .home-feature-card,
.theme-state-editorial .state-shortlist-card {
    padding: 1.35rem;
}

.theme-home-editorial .home-feature-card h3,
.theme-state-editorial .state-shortlist-card h3 {
    margin: 0.25rem 0 0.45rem;
}

.theme-home-editorial .home-editorial-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.theme-home-editorial .home-directory-card {
    display: grid;
    min-height: 100%;
}

.theme-home-editorial .home-directory-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.theme-home-editorial .home-directory-card .directory-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.theme-home-editorial .home-directory-body {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem 1.2rem 1.25rem;
}

.theme-home-editorial .home-directory-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.theme-home-editorial .home-priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    background: var(--editorial-warm-soft);
    color: #7f460f;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-home-editorial .spotlight-step,
.theme-state-editorial .spotlight-step {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-home-editorial .home-card-facts,
.theme-state-editorial .state-card-facts {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.theme-home-editorial .home-card-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-home-editorial .home-card-facts div,
.theme-state-editorial .state-card-facts div {
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(19, 35, 43, 0.08);
}

.theme-home-editorial .home-card-facts dt,
.theme-state-editorial .state-card-facts dt {
    margin: 0 0 0.2rem;
    color: var(--editorial-muted);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-home-editorial .home-card-facts dd,
.theme-state-editorial .state-card-facts dd {
    margin: 0;
    color: var(--editorial-ink);
    font-size: 0.92rem;
    line-height: 1.5;
}

.theme-state-editorial .state-hero-media {
    min-height: 560px;
    margin: 0;
    padding: 0;
}

.theme-state-editorial .state-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.02);
}

.theme-state-editorial .state-hero-media figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.45rem 1.45rem;
    color: #edf6f3;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(5, 10, 15, 0), rgba(5, 10, 15, 0.9));
}

.theme-state-editorial .state-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    gap: 1.25rem;
}

.theme-state-editorial .state-overview-card,
.theme-state-editorial .state-hero-copy {
    padding: 1.65rem;
}

.theme-state-editorial .state-overview-card p:last-child,
.theme-state-editorial .state-shortlist-card p:last-child {
    margin-bottom: 0;
}

.theme-state-editorial .state-shortlist-index {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.theme-state-editorial .state-filter-form {
    grid-template-columns: minmax(0, 2fr) minmax(180px, 0.8fr);
}

.theme-state-editorial .state-editorial-directory {
    display: grid;
    gap: 1rem;
}

.theme-state-editorial .state-editorial-card {
    display: grid;
    grid-template-columns: auto minmax(180px, 240px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.theme-state-editorial .state-card-order {
    align-self: start;
    margin: 1.2rem 0 0 1.2rem;
    color: var(--editorial-muted);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-state-editorial .state-directory-media {
    display: block;
    overflow: hidden;
}

.theme-state-editorial .state-directory-media .directory-photo {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.theme-state-editorial .state-directory-body {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem 1.25rem 1.25rem 0;
}

.theme-state-editorial .state-card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .theme-home-editorial .home-article-page::before {
        inset: -1rem 0 auto;
        height: 27rem;
    }

    .theme-home-editorial .home-editorial-hero,
    .theme-home-editorial .home-discovery-grid,
    .theme-home-editorial .home-editorial-directory,
    .theme-state-editorial .state-editorial-hero,
    .theme-state-editorial .state-overview-grid {
        grid-template-columns: 1fr;
    }

    .theme-home-editorial .home-feature-strip,
    .theme-state-editorial .state-shortlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-home-editorial .editorial-fact-strip,
    .theme-state-editorial .editorial-fact-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .theme-home-editorial .home-filter-form,
    .theme-state-editorial .state-filter-form {
        grid-template-columns: 1fr;
    }

    .theme-state-editorial .state-editorial-card {
        grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    }

    .theme-state-editorial .state-card-order {
        grid-column: 1 / -1;
        margin: 1.1rem 0 0 1.2rem;
    }

    .theme-state-editorial .state-directory-body {
        padding-left: 0;
    }
}

@media (max-width: 720px) {
    .theme-home-editorial .home-article-page::before {
        inset: -0.85rem 0 auto;
        height: 18rem;
        border-radius: 34px;
    }

    .theme-home-editorial .top-nav a,
    .theme-home-editorial .top-nav .top-nav-current {
        min-width: 6.35rem;
    }

    .theme-home-editorial .site-main,
    .theme-state-editorial .site-main {
        padding-bottom: 2.25rem;
    }

    .theme-home-editorial .editorial-section-head,
    .theme-home-editorial .home-directory-topline,
    .theme-state-editorial .editorial-section-head,
    .theme-state-editorial .home-directory-topline,
    .theme-state-editorial .state-hero-media figcaption {
        display: grid;
    }

    .theme-home-editorial .home-hero-copy,
    .theme-home-editorial .home-hero-aside,
    .theme-home-editorial .home-map-panel,
    .theme-home-editorial .home-support-rail .editorial-panel,
    .theme-home-editorial .home-filter-shell,
    .theme-home-editorial .home-feature-card,
    .theme-home-editorial .home-directory-body,
    .theme-home-editorial .empty-state-card,
    .theme-state-editorial .state-hero-copy,
    .theme-state-editorial .state-overview-card,
    .theme-state-editorial .state-overview-rail .editorial-panel,
    .theme-state-editorial .state-shortlist-card,
    .theme-state-editorial .state-filter-shell,
    .theme-state-editorial .state-directory-body,
    .theme-state-editorial .empty-state-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .theme-home-editorial .home-feature-strip,
    .theme-home-editorial .home-editorial-directory,
    .theme-state-editorial .state-shortlist-grid {
        grid-template-columns: 1fr;
    }

    .theme-home-editorial .home-card-facts,
    .theme-state-editorial .state-card-facts {
        grid-template-columns: 1fr;
    }

    .theme-home-editorial .editorial-fact-strip,
    .theme-state-editorial .editorial-fact-strip {
        grid-template-columns: 1fr 1fr;
    }

    .theme-state-editorial .state-hero-media {
        min-height: 340px;
    }

    .theme-state-editorial .state-editorial-card {
        grid-template-columns: 1fr;
    }

    .theme-state-editorial .state-card-order {
        margin: 1rem 0 0 1rem;
    }

    .theme-state-editorial .state-directory-body {
        padding-top: 0;
    }
}

.theme-home-editorial .home-article-page {
    position: relative;
    display: grid;
    gap: 2rem;
    overflow-x: clip;
}

.theme-home-editorial .home-story-hero {
    display: grid;
    gap: 1.6rem;
}

.theme-home-editorial .home-story-image {
    position: relative;
    min-height: clamp(320px, 56vw, 600px);
    margin: 0;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(213, 176, 109, 0.28);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
    background: #0c1820;
}

.theme-home-editorial .home-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.02);
}

.theme-home-editorial .home-story-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 18, 25, 0.12), transparent 30%),
        linear-gradient(0deg, rgba(5, 10, 15, 0.88), rgba(5, 10, 15, 0.1) 48%);
}

.theme-home-editorial .home-story-caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem 1.5rem;
    color: #edf6f3;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-home-editorial .home-hero-utility {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 0.4rem;
}

.theme-home-editorial .home-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(19, 35, 43, 0.14);
    background: rgba(255, 255, 255, 0.62);
    color: #163139;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.theme-home-editorial .home-jump-link:hover,
.theme-home-editorial .home-jump-link:focus {
    color: #163139;
    border-color: rgba(213, 176, 109, 0.52);
    background: rgba(255, 255, 255, 0.92);
}

.theme-home-editorial .home-reading-field {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 0;
    padding-top: 0.35rem;
    overflow-x: clip;
}

.theme-home-editorial .home-reading-field::before,
.theme-home-editorial .home-reading-field::after {
    content: '';
    position: absolute;
    inset: -0.65rem 0 -1.15rem;
    border-radius: 42px;
    pointer-events: none;
}

.theme-home-editorial .home-reading-field::before {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(248, 244, 238, 0.56) 0%, rgba(243, 234, 221, 0.96) 11%, rgba(232, 220, 202, 1) 100%);
}

.theme-home-editorial .home-reading-field::after {
    z-index: -1;
    background:
        radial-gradient(circle at 0% 18%, rgba(177, 113, 45, 0.12), transparent 0 24%),
        radial-gradient(circle at 100% 14%, rgba(177, 113, 45, 0.1), transparent 0 24%),
        radial-gradient(circle at 8% 54%, rgba(7, 20, 28, 0.1), transparent 0 18%),
        radial-gradient(circle at 92% 50%, rgba(7, 20, 28, 0.08), transparent 0 18%),
        radial-gradient(circle at 0% 42%, rgba(7, 20, 28, 0.11), transparent 0 20%),
        radial-gradient(circle at 100% 18%, rgba(255, 255, 255, 0.54), transparent 0 22%),
        radial-gradient(circle at 18% 76%, rgba(177, 136, 79, 0.08), transparent 0 24%),
        radial-gradient(circle at 82% 78%, rgba(120, 92, 58, 0.06), transparent 0 26%),
        linear-gradient(90deg, rgba(8, 18, 25, 0.14) 0%, rgba(8, 18, 25, 0.03) 20%, rgba(255, 255, 255, 0.03) 74%, rgba(255, 255, 255, 0.34) 100%);
}

.theme-home-editorial .home-article-card {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 0.4rem;
}

.theme-home-editorial .home-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.theme-home-editorial .home-article-section {
    margin-top: 2.1rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
}

.theme-home-editorial .home-article-section h2 {
    margin: 0 0 0.8rem;
    color: #13232b;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.theme-home-editorial .home-section-kicker {
    margin: 0;
    color: #0f6861;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.theme-home-editorial .home-section-intro {
    margin: 0 0 1.2rem;
    color: #1c3138;
    font-size: 1.08rem;
    line-height: 1.82;
    max-width: 48rem;
}

.theme-home-editorial .home-article-page::before {
    content: '';
    position: absolute;
    inset: -1.35rem 0 auto;
    height: 32rem;
    z-index: -1;
    pointer-events: none;
    border-radius: 56px;
    background:
        radial-gradient(circle at 10% 24%, rgba(10, 23, 30, 0.24), transparent 0 34%),
        radial-gradient(circle at 90% 16%, rgba(177, 113, 45, 0.24), transparent 0 38%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 0 34%),
        linear-gradient(180deg, rgba(12, 24, 31, 0.16) 0%, rgba(12, 24, 31, 0) 82%);
}

.theme-home-editorial .home-map-section,
.theme-home-editorial .home-directory-section,
.theme-home-editorial .home-updates-section {
    scroll-margin-top: 6rem;
}

.theme-home-editorial .home-map-section {
    margin-top: 0;
    padding-top: 0.35rem;
    border-top: 0;
}

.theme-home-editorial .home-map-section .home-section-kicker {
    margin-bottom: 0.45rem;
}

.theme-home-editorial .home-map-section h1 {
    margin: 0;
    color: #13232b;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 0.98;
}

.theme-home-editorial .home-map-intro {
    max-width: 48rem;
    margin: 0.95rem 0 0;
    color: #1c3138;
    font-size: 1.08rem;
    line-height: 1.82;
}

.theme-home-editorial .home-map-section .home-map-summary {
    margin-top: 1.15rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(255, 255, 255, 0.52);
}

.theme-home-editorial .home-directory-section .home-directory-meta {
    margin: 1rem 0 0;
    color: #50636c;
    font-size: 0.95rem;
}

.theme-home-editorial .home-directory-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.theme-home-editorial .home-directory-row {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 43, 0.08);
    background: rgba(255, 255, 255, 0.5);
}

.theme-home-editorial .home-directory-row.is-priority-cave {
    border-color: rgba(177, 113, 45, 0.22);
    box-shadow: 0 12px 28px rgba(177, 113, 45, 0.08);
}

.theme-home-editorial .home-directory-media {
    display: block;
    min-height: 190px;
    aspect-ratio: auto;
    overflow: hidden;
}

.theme-home-editorial .home-directory-media .directory-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.theme-home-editorial .home-directory-body {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1.1rem 1.05rem;
}

.theme-home-editorial .home-directory-summary,
.theme-home-editorial .home-directory-meta-line {
    margin: 0;
}

.theme-home-editorial .home-directory-summary {
    color: #1c3138;
    font-size: 1rem;
    line-height: 1.72;
}

.theme-home-editorial .home-directory-meta-line {
    color: #50636c;
    font-size: 0.95rem;
}

.theme-home-editorial .home-highlights-list {
    margin-top: 1rem;
}

.theme-home-editorial .home-map-canvas {
    overflow: hidden;
}

.theme-home-editorial .home-directory-section .empty-state-card {
    margin-top: 1rem;
    padding: 1.1rem 0.4rem 0;
    border: 0;
    border-top: 1px solid rgba(19, 35, 43, 0.12);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.theme-home-editorial .home-directory-section .empty-state-card h3 {
    color: #13232b;
}

.theme-home-editorial .home-directory-section .empty-state-card p {
    color: #50636c;
}

@media (max-width: 920px) {
    .theme-home-editorial .home-story-image {
        min-height: 420px;
    }

    .theme-home-editorial .home-directory-row {
        grid-template-columns: 1fr;
    }

    .theme-home-editorial .home-directory-media {
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .theme-home-editorial .home-story-image {
        min-height: 320px;
    }

    .theme-home-editorial .home-story-caption {
        display: grid;
    }

    .theme-home-editorial .home-reading-field::before,
    .theme-home-editorial .home-reading-field::after {
        inset: -0.45rem 0 -0.85rem;
        border-radius: 28px;
    }

    .theme-home-editorial .home-article-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .theme-home-editorial .home-directory-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .theme-home-editorial .home-directory-media {
        min-height: 220px;
    }
}
