/* Universe Knows. Brand tokens first, everything references them. */

:root {
    --thp-ink: #04060F;
    --thp-ink-2: #080D20;
    --thp-surface: #0C1330;
    --thp-surface-2: #111A3D;
    --thp-indigo: #242965;
    --thp-indigo-2: #354487;
    --thp-gold: #E3C381;
    --thp-gold-2: #F2E0B6;
    --thp-blue: #6E9BFF;
    --thp-violet: #8E74C9;

    --thp-card: rgba(0, 0, 0, 0.86);
    --thp-card-solid: #000000;
    --thp-panel: rgba(0, 0, 0, 0.86);

    --thp-line: rgba(198, 214, 255, 0.16);
    --thp-line-2: rgba(198, 214, 255, 0.3);
    --thp-text: #EFF2FC;
    --thp-muted: #A7B0D4;

    --thp-font-display: var(--gh-font-heading, "Cormorant Garamond", Georgia, "Times New Roman", serif);
    --thp-font-body: var(--gh-font-body, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);

    --thp-r: 14px;
    --thp-r-lg: 24px;
    --thp-pill: 999px;

    --thp-wrap: 1200px;
    --thp-text-max: 850px;

    --thp-shadow: 0 24px 60px rgba(2, 4, 12, 0.65);
    --thp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Base */

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

html { -webkit-text-size-adjust: 100%; }

body.thp-body {
    margin: 0;
    background: #000000;
    color: var(--thp-text);
    font-family: var(--thp-font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--thp-gold); text-decoration: none; }
a:hover { color: var(--thp-gold-2); }

button { font: inherit; }

:focus-visible {
    outline: 2px solid var(--thp-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.thp-visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.thp-skip {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 999;
    background: var(--thp-gold);
    color: var(--thp-ink);
    padding: 10px 18px;
    border-radius: var(--thp-pill);
    font-size: 14px;
    font-weight: 600;
}
.thp-skip:focus { left: 16px; }

/* Layout */

.thp-wrap {
    width: 100%;
    max-width: var(--thp-wrap);
    margin: 0 auto;
    padding: 0 30px;
}

.thp-narrow { max-width: calc(var(--thp-text-max) + 60px); }

.thp-sec { position: relative; padding: 96px 0; }
.thp-sec-tight { padding: 56px 0 96px; }
.thp-sec-alt { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100%); }

.thp-text { max-width: var(--thp-text-max); }
.thp-center { text-align: center; margin-top: 44px; }

.thp-headwrap { margin-bottom: 52px; }

.thp-headwrap-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Typography */

.thp-h1,
.thp-h2,
.thp-h4 {
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.85);
    font-family: var(--thp-font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

.thp-h1 {
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.05;
}

.thp-h2 {
    font-size: clamp(32px, 4.2vw, 50px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.thp-h4 {
    font-size: clamp(21px, 2.2vw, 26px);
    line-height: 1.25;
}

.thp-lede {
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8);
    font-size: clamp(17px, 1.7vw, 19px);
    line-height: 1.6;
    color: var(--thp-muted);
    max-width: 560px;
    margin: 22px 0 30px;
}

.thp-sub {
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8);
    font-size: 16px;
    line-height: 1.6;
    color: var(--thp-muted);
    margin: 0;
    max-width: 620px;
}

.thp-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--thp-gold);
    border: 1px solid var(--thp-line-2);
    border-radius: var(--thp-pill);
    padding: 7px 16px;
    margin-bottom: 22px;
    background: rgba(0, 0, 0, 0.55);
}

.thp-num {
    display: block;
    font-family: var(--thp-font-display);
    font-size: 15px;
    letter-spacing: 0.2em;
    color: var(--thp-gold);
    opacity: 0.8;
    margin-bottom: 16px;
}

.thp-dot {
    display: inline-block;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
    vertical-align: middle;
    margin: 0 4px;
}

/* The cosmos. A fixed backdrop behind every page, always present. */

.thp-cosmos {
    position: fixed;
    top: -130px;
    bottom: -130px;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
    background: #000000;
    overflow: hidden;
    transform: translate3d(0, var(--thp-scroll, 0px), 0);
}

.thp-cosmos-img {
    position: absolute;
    inset: -6%;
    background-image: url("../images/cosmos-wide.jpg");
    background-size: cover;
    background-position: 28% center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.06);
    animation: thp-drift 120s var(--thp-ease) infinite alternate;
}

@media (max-aspect-ratio: 1/1) {
    .thp-cosmos-img {
        background-image: url("../images/cosmos.jpg");
        background-position: 50% 30%;
    }
}

@keyframes thp-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1.06); }
    50%  { transform: translate3d(-1.6%, -1.2%, 0) scale(1.12); }
    100% { transform: translate3d(1.2%, -2.4%, 0) scale(1.08); }
}

.thp-cosmos-stars {
    position: absolute;
    inset: -20%;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.9), transparent 60%),
        radial-gradient(1.2px 1.2px at 28% 62%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(1.8px 1.8px at 46% 28%, rgba(227, 195, 129, 0.8), transparent 60%),
        radial-gradient(1.1px 1.1px at 63% 72%, rgba(255, 255, 255, 0.5), transparent 60%),
        radial-gradient(1.5px 1.5px at 78% 34%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1.2px 1.2px at 88% 66%, rgba(110, 155, 255, 0.7), transparent 60%),
        radial-gradient(1px 1px at 36% 88%, rgba(255, 255, 255, 0.45), transparent 60%),
        radial-gradient(1.3px 1.3px at 70% 12%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1.1px 1.1px at 18% 46%, rgba(255, 255, 255, 0.5), transparent 60%),
        radial-gradient(1.4px 1.4px at 54% 92%, rgba(227, 195, 129, 0.5), transparent 60%);
    opacity: 0.75;
    animation: thp-stars 180s linear infinite alternate;
}

@keyframes thp-stars {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(2.5%, -3.5%, 0); }
}

.thp-cosmos-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(180deg, rgba(4, 6, 15, 0.72) 0%, rgba(4, 6, 15, 0.42) 35%, rgba(4, 6, 15, 0.62) 100%);
}

.thp-cosmos-beam {
    position: absolute;
    top: -4%;
    bottom: -4%;
    right: -7vw;
    width: 46vw;
    max-width: 620px;
    background-image: url("../images/beam.jpg");
    background-size: auto 108%;
    background-position: right center;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    opacity: 0.62;
    will-change: transform, opacity;
    animation: thp-float 46s ease-in-out infinite alternate;
}

@keyframes thp-float {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
    50%  { transform: translate3d(-0.6vw, -1.4%, 0) scale(1.03); opacity: 0.72; }
    100% { transform: translate3d(0.4vw, 1.2%, 0) scale(1.01); opacity: 0.6; }
}

/* Starfield, kept as a local accent layer inside individual sections */

.thp-starfield {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-color: transparent;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.85), transparent 60%),
        radial-gradient(1.2px 1.2px at 28% 62%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1.8px 1.8px at 46% 28%, rgba(227, 195, 129, 0.75), transparent 60%),
        radial-gradient(1.1px 1.1px at 63% 72%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 78% 34%, rgba(255, 255, 255, 0.7), transparent 60%),
        radial-gradient(1.2px 1.2px at 88% 66%, rgba(110, 155, 255, 0.7), transparent 60%),
        radial-gradient(1px 1px at 36% 88%, rgba(255, 255, 255, 0.5), transparent 60%),
        radial-gradient(1.3px 1.3px at 70% 12%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(900px 520px at 76% 8%, rgba(36, 41, 101, 0.5), transparent 70%),
        radial-gradient(700px 480px at 6% 82%, rgba(142, 116, 201, 0.18), transparent 72%);
    opacity: 0.9;
}

/* Buttons and forms */

.thp-btn {
    display: inline-block;
    border: 1px solid var(--thp-gold);
    background: var(--thp-gold);
    color: var(--thp-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 15px 28px;
    border-radius: var(--thp-pill);
    cursor: pointer;
    transition: background 0.25s var(--thp-ease), color 0.25s var(--thp-ease), transform 0.25s var(--thp-ease);
    text-align: center;
}
.thp-btn:hover {
    background: var(--thp-gold-2);
    border-color: var(--thp-gold-2);
    color: var(--thp-ink);
    transform: translateY(-2px);
}

.thp-btn-sm { padding: 11px 20px; font-size: 14px; }

.thp-btn-ghost {
    background: transparent;
    color: var(--thp-gold);
    border-color: var(--thp-line-2);
}
.thp-btn-ghost:hover {
    background: rgba(227, 195, 129, 0.1);
    border-color: var(--thp-gold);
    color: var(--thp-gold-2);
}

.thp-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 520px;
}

.thp-input {
    flex: 1 1 240px;
    min-width: 0;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--thp-line-2);
    border-radius: var(--thp-pill);
    color: var(--thp-text);
    font-size: 15px;
    padding: 15px 22px;
    font-family: inherit;
}
.thp-input::placeholder { color: rgba(167, 176, 212, 0.7); }
.thp-input:focus {
    border-color: var(--thp-gold);
    background: rgba(0, 0, 0, 0.75);
}

.thp-form-msg {
    flex: 1 0 100%;
    margin: 0;
    font-size: 14px;
    display: none;
}
.thp-success { color: var(--thp-gold-2); }
.thp-error { color: #FFAFA0; }

form[data-members-form].success .thp-success { display: block; }
form[data-members-form].error .thp-error { display: block; }
form[data-members-form].loading .thp-btn { opacity: 0.65; pointer-events: none; }

.thp-fineprint {
    font-size: 13px;
    color: var(--thp-muted);
    margin: 16px 0 0;
    opacity: 0.85;
}

.thp-cta-member {
    font-size: 17px;
    color: var(--thp-gold-2);
    margin: 0 0 22px;
}

/* Header */

.thp-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--thp-line);
}

.thp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.thp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--thp-text);
}
.thp-brand:hover { color: var(--thp-gold-2); }

.thp-brand-mark {
    display: inline-block;
    width: 30px;
    color: var(--thp-gold);
    flex: none;
}
.thp-brand-mark svg { width: 100%; height: auto; display: block; }
.thp-brand-mark-lg { width: 42px; }

.thp-brand-logo { max-height: 34px; width: auto; }

.thp-brand-name {
    font-family: var(--thp-font-display);
    font-size: 25px;
    letter-spacing: 0.01em;
}

.thp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.thp-nav-link {
    color: var(--thp-muted);
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: color 0.2s var(--thp-ease);
}
.thp-nav-link:hover { color: var(--thp-text); }
.thp-nav-cta { color: var(--thp-ink); }

.thp-burger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--thp-line-2);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.thp-burger span {
    position: absolute;
    left: 13px;
    width: 18px; height: 1.5px;
    background: var(--thp-text);
    transition: transform 0.25s var(--thp-ease), opacity 0.2s var(--thp-ease);
}
.thp-burger span:first-child { top: 18px; }
.thp-burger span:last-child { top: 24px; }
.thp-burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.thp-burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Hero */

.thp-hero {
    position: relative;
    padding: 132px 0 140px;
    overflow: hidden;
}

.thp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.thp-hero-text {
    padding-top: 12px;
    max-width: 640px;
}



/* Tiles */

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

.thp-tile {
    background: var(--thp-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--thp-line);
    border-radius: var(--thp-r);
    padding: 30px;
    transition: border-color 0.3s var(--thp-ease), transform 0.3s var(--thp-ease);
}
.thp-tile:hover { border-color: rgba(227, 195, 129, 0.4); transform: translateY(-3px); }
.thp-tile p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--thp-muted);
}

/* The rotation wheel */

.thp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.thp-split-reverse .thp-split-visual { order: -1; }

.thp-wheel-panel {
    margin-top: 32px;
    border-left: 2px solid var(--thp-gold);
    padding: 4px 0 4px 22px;
    min-height: 108px;
}
.thp-wheel-panel-title {
    font-family: var(--thp-font-display);
    font-size: 26px;
    margin: 0 0 8px;
    color: var(--thp-gold-2);
}
.thp-wheel-panel-body {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--thp-muted);
    max-width: 460px;
}

.thp-wheel {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    --thp-orbit: 144px;
}

.thp-wheel-ring {
    position: absolute;
    inset: 2%;
    border: 1px solid var(--thp-line);
    border-radius: 50%;
}
.thp-wheel-ring-2 {
    inset: 16%;
    border-style: dashed;
    border-color: rgba(227, 195, 129, 0.22);
    animation: thp-spin 90s linear infinite;
}

@keyframes thp-spin { to { transform: rotate(360deg); } }

.thp-wheel-core {
    position: absolute;
    left: 50%; top: 50%;
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--thp-gold);
    box-shadow: 0 0 30px 8px rgba(227, 195, 129, 0.45);
}

.thp-wheel-point {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
    border-radius: 50%;
    border: 1px solid var(--thp-line-2);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    color: var(--thp-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transform: rotate(calc(var(--i) * 60deg)) translate(0, calc(var(--thp-orbit) * -1)) rotate(calc(var(--i) * -60deg));
    transition: color 0.25s var(--thp-ease), border-color 0.25s var(--thp-ease), background 0.25s var(--thp-ease), box-shadow 0.25s var(--thp-ease);
    display: grid;
    place-items: center;
    padding: 4px;
}
.thp-wheel-point:hover { color: var(--thp-text); border-color: var(--thp-gold); background: rgba(0, 0, 0, 0.95); }
.thp-wheel-point.is-active {
    color: var(--thp-ink);
    background: var(--thp-gold);
    border-color: var(--thp-gold);
    box-shadow: 0 0 34px rgba(227, 195, 129, 0.4);
}

/* Sky block */

.thp-sky { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%); }

.thp-sky-frame {
    position: relative;
    border-radius: var(--thp-r-lg);
    overflow: hidden;
    mix-blend-mode: screen;
}
.thp-sky-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 80px 34px rgba(0, 0, 0, 0.8);
}
.thp-sky-frame img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.thp-moons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.thp-moon {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(198, 214, 255, 0.35);
    background: var(--thp-ink-2);
    position: relative;
    overflow: hidden;
}
.thp-moon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--thp-gold-2);
}
.thp-moon-new::after { clip-path: inset(0 100% 0 0); }
.thp-moon-cres::after { clip-path: inset(0 74% 0 0); }
.thp-moon-half::after { clip-path: inset(0 50% 0 0); }
.thp-moon-gib::after { clip-path: inset(0 22% 0 0); }
.thp-moon-full::after { clip-path: inset(0 0 0 0); }
.thp-moon-gib2::after { clip-path: inset(0 0 0 22%); }
.thp-moon-half2::after { clip-path: inset(0 0 0 50%); }
.thp-moon-cres2::after { clip-path: inset(0 0 0 74%); }

.thp-rules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 520px;
}
.thp-rules li {
    font-size: 15px;
    line-height: 1.55;
    color: var(--thp-muted);
    padding-left: 20px;
    position: relative;
}
.thp-rules li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--thp-gold);
}
.thp-rules strong { color: var(--thp-text); font-weight: 600; }

/* Cards */

.thp-card {
    background: var(--thp-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--thp-line);
    border-radius: var(--thp-r);
    transition: border-color 0.3s var(--thp-ease), transform 0.3s var(--thp-ease);
}
.thp-card:hover { border-color: rgba(227, 195, 129, 0.42); transform: translateY(-3px); }

.thp-card-link {
    display: block;
    padding: 30px;
    color: inherit;
    height: 100%;
}

.thp-card-empty { padding: 30px; }
.thp-card-empty .thp-card-excerpt { margin-bottom: 0; }

.thp-card-meta {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thp-muted);
    margin: 0 0 14px;
}

.thp-card-title { color: var(--thp-text); }
.thp-card-link:hover .thp-card-title { color: var(--thp-gold-2); }

.thp-card-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--thp-muted);
    margin: 12px 0 20px;
}

.thp-card-more {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--thp-gold);
}

/* Archive list */

.thp-archive-head { padding: 74px 0 0; overflow: hidden; }

.thp-posts {
    display: grid;
    gap: 0;
    background: var(--thp-card);
    backdrop-filter: blur(6px);
    border: 1px solid var(--thp-line);
    border-radius: var(--thp-r-lg);
    padding: 10px 30px;
}

.thp-post { border-bottom: 1px solid var(--thp-line); }
.thp-post:last-child { border-bottom: 0; }

.thp-post-link {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 110px;
    gap: 28px;
    align-items: start;
    padding: 28px 8px;
    color: inherit;
    transition: background 0.25s var(--thp-ease);
}
.thp-post-link:hover { background: rgba(0, 0, 0, 0.75); }

.thp-post-date,
.thp-post-time {
    margin: 4px 0 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thp-muted);
}
.thp-post-time { text-align: right; }

.thp-post-title { color: var(--thp-text); margin: 0; }
.thp-post-link:hover .thp-post-title { color: var(--thp-gold-2); }

.thp-post-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--thp-muted);
    margin: 10px 0 0;
    max-width: var(--thp-text-max);
}

.thp-post-empty { padding: 34px 8px; }

/* Article */

.thp-article { padding: 64px 0 0; }

.thp-article-head { padding-bottom: 6px; }

.thp-article-meta {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thp-muted);
    margin: 0 0 18px;
}
.thp-article-tag { color: var(--thp-gold); }

.thp-article-title {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    margin: 0;
}

.thp-article-excerpt {
    max-width: var(--thp-text-max);
    margin: 20px 0 0;
    font-size: 18px;
}

.thp-article-image { margin: 34px 0 30px; }
.thp-article-image img {
    width: 100%;
    max-width: var(--thp-text-max);
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--thp-r);
    border: 1px solid var(--thp-line);
    margin: 0 auto;
}
.thp-article-image figcaption {
    font-size: 13px;
    color: var(--thp-muted);
    text-align: center;
    margin-top: 12px;
}

/* Post body. Top padding 0, sides handled by the wrap. */

.thp-content:empty { display: none; }

.thp-content {
    background: var(--thp-panel);
    backdrop-filter: blur(8px);
    border: 1px solid var(--thp-line);
    border-radius: var(--thp-r-lg);
    padding: 44px;
    max-width: calc(var(--thp-text-max) + 88px);
    font-size: 18px;
    line-height: 1.75;
    color: #E4E8F7;
}
.thp-content > * { margin: 0 0 24px; }
.thp-content > *:last-child { margin-bottom: 0; }

.thp-content p { margin: 0 0 24px; }

.thp-content h2,
.thp-content h3 {
    font-family: var(--thp-font-display);
    font-weight: 500;
    color: var(--thp-text);
    letter-spacing: -0.005em;
}
.thp-content h2 {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.2;
    margin: 46px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--thp-line);
}
.thp-content h3 {
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.3;
    margin: 34px 0 12px;
    color: var(--thp-gold-2);
}

.thp-content h4 {
    font-family: var(--thp-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--thp-gold);
    margin: 34px 0 12px;
}

.thp-content a { color: var(--thp-gold); text-decoration: underline; text-underline-offset: 3px; }
.thp-content a:hover { color: var(--thp-gold-2); }

.thp-content strong { color: var(--thp-gold-2); font-weight: 600; }

/* source lines under an item, matching the email */
.thp-content small {
    display: inline-block;
    font-size: 13px;
    line-height: 1.6;
    color: #8E97BC;
}

.thp-content ul,
.thp-content ol { padding-left: 22px; margin: 0 0 24px; }
.thp-content li { margin-bottom: 10px; }
.thp-content ul li::marker { color: var(--thp-gold); }
.thp-content ol li::marker { color: var(--thp-gold); }

.thp-content blockquote {
    margin: 34px 0;
    padding: 4px 0 4px 24px;
    border-left: 2px solid var(--thp-gold);
    font-family: var(--thp-font-display);
    font-size: clamp(22px, 2.4vw, 27px);
    line-height: 1.4;
    color: var(--thp-gold-2);
}
.thp-content blockquote p { margin: 0; }

.thp-content hr {
    border: 0;
    height: 1px;
    background: var(--thp-line);
    margin: 44px 0;
}

.thp-content img,
.thp-content video { border-radius: var(--thp-r); }

.thp-content figcaption {
    font-size: 13px;
    color: var(--thp-muted);
    text-align: center;
    margin-top: 10px;
}

.thp-content .kg-card { margin-bottom: 28px; }

/* Callout cards. Blue renders as the sky panel, yellow as the next step box. */
.thp-content .kg-callout-card {
    display: flex;
    gap: 14px;
    border-radius: 12px;
    padding: 26px 28px;
    margin: 34px 0;
    background: #0C1330;
}
.thp-content .kg-callout-card .kg-callout-emoji { font-size: 20px; line-height: 1.5; }
.thp-content .kg-callout-card .kg-callout-text {
    font-size: 16px;
    line-height: 1.7;
    color: #D3D9F0;
}
.thp-content .kg-callout-card .kg-callout-text strong { color: var(--thp-gold); }
.thp-content .kg-callout-card-blue { background: #0C1330; }
.thp-content .kg-callout-card-yellow {
    background: transparent;
    border: 1px solid #6E5A2E;
}
.thp-content .kg-callout-card-yellow .kg-callout-text { color: var(--thp-text); }

/* ------------------------------------------------------------------
   One block of HTML, two renderings.
   An issue is written once as an email safe table. Email clients read
   the inline styles. On the web these rules override them, so the same
   markup reads as a native post in the site typography.
   ------------------------------------------------------------------ */

.thp-content .uk-card {
    background: transparent !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.thp-content .uk-banner { display: none !important; }
.thp-content .uk-card .uk-pad { padding: 0 !important; }

.thp-content .uk-body {
    font-family: var(--thp-font-body) !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
    color: #E4E8F7 !important;
}

.thp-content .uk-h2row {
    margin: 46px 0 18px !important;
    border-bottom: 1px solid var(--thp-line) !important;
    padding-bottom: 12px !important;
}
.thp-content .uk-h2 {
    font-family: var(--thp-font-display) !important;
    font-size: clamp(26px, 3vw, 32px) !important;
    line-height: 1.2 !important;
    color: var(--thp-text) !important;
}
.thp-content .uk-h3row { margin: 34px 0 12px !important; }
.thp-content .uk-h3 {
    font-family: var(--thp-font-display) !important;
    font-size: clamp(20px, 2.2vw, 24px) !important;
    line-height: 1.3 !important;
    color: var(--thp-gold-2) !important;
}

/* Ghost already prints the date in the post header, so an issue that
   still carries its own date line does not show it twice on the web. */
.thp-content .uk-date { display: none !important; }

.thp-content .uk-label {
    font-family: var(--thp-font-body) !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
    color: var(--thp-gold) !important;
}
.thp-content .uk-source {
    font-family: var(--thp-font-body) !important;
    font-size: 13px !important;
    color: #8E97BC !important;
}
.thp-content .uk-num {
    font-family: var(--thp-font-display) !important;
    font-size: 18px !important;
    color: var(--thp-gold) !important;
}
.thp-content .uk-quote {
    font-family: var(--thp-font-display) !important;
    font-size: clamp(22px, 2.4vw, 27px) !important;
    color: var(--thp-gold-2) !important;
}
.thp-content .uk-signoff {
    font-family: var(--thp-font-display) !important;
    font-size: 22px !important;
    color: var(--thp-gold-2) !important;
}

/* the theme's content table styling must not touch the layout tables */
.thp-content .uk-card,
.thp-content .uk-card table {
    border-collapse: separate !important;
    font-size: inherit !important;
}
.thp-content .uk-card td,
.thp-content .uk-card th {
    border: 0;
    padding: 0;
    text-align: left;
}
.thp-content td.uk-nextstep { border: 1px solid #6E5A2E; }

.thp-content .uk-panel { border-radius: var(--thp-r) !important; }
.thp-content .uk-panel .uk-body,
.thp-content .uk-panel span:not(.uk-label) { font-size: 16px !important; }
.thp-content .uk-nextstep { border-color: #6E5A2E !important; border-radius: var(--thp-r) !important; }

@media (max-width: 760px) {
    .thp-content .uk-body { font-size: 17px !important; }
}

/* the small gold label used above a panel, and for Your next step */
.thp-content .uk-label {
    display: block;
    font-family: var(--thp-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--thp-gold);
    margin: 0 0 10px;
}

.thp-content .kg-width-wide { max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.thp-content .kg-width-full { max-width: 1200px; margin-left: 50%; transform: translateX(-50%); }

.thp-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.thp-content th,
.thp-content td { border-bottom: 1px solid var(--thp-line); padding: 10px 12px; text-align: left; }

.thp-content > p:last-child {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--thp-line);
    font-family: var(--thp-font-display);
    font-size: 21px;
    color: var(--thp-gold-2);
}

.thp-readnext { padding-top: 88px; }

/* Closing CTA */

.thp-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--thp-line);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.8) 100%);
}
.thp-cta-inner { position: relative; max-width: 760px; }
.thp-cta-title { margin-left: auto; margin-right: auto; }
.thp-cta-lede { margin-left: auto; margin-right: auto; }
.thp-cta .thp-form { margin: 0 auto; justify-content: center; }
.thp-cta .thp-form-msg { text-align: center; }

/* Footer */

.thp-footer {
    border-top: 1px solid var(--thp-line);
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(10px);
    padding: 64px 0 30px;
}

.thp-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.thp-footer-brand .thp-brand-mark { color: var(--thp-gold); margin-bottom: 16px; }

.thp-footer-name {
    font-family: var(--thp-font-display);
    font-size: 27px;
    margin: 0 0 8px;
    color: var(--thp-text);
}

.thp-footer-line {
    margin: 0;
    font-size: 15px;
    color: var(--thp-muted);
    max-width: 340px;
}

.thp-footer-nav { display: grid; gap: 12px; align-content: start; }

.thp-footer-head {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--thp-gold);
}

.thp-footer-nav a { color: var(--thp-muted); font-size: 15px; }
.thp-footer-nav a:hover { color: var(--thp-text); }

.thp-footer-base {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid var(--thp-line);
}
.thp-footer-base p {
    margin: 0;
    font-size: 13px;
    color: var(--thp-muted);
    opacity: 0.8;
}

/* Ghost pagination */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 52px;
    font-size: 14px;
    color: var(--thp-muted);
}
.pagination a { color: var(--thp-gold); }

/* Responsive */

.thp-show-sm { display: none; }

@media (max-width: 980px) {
    .thp-split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .thp-split-reverse .thp-split-visual { order: 0; }
    .thp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .thp-footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .thp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .thp-wrap { padding: 0 20px; }
    .thp-sec { padding: 68px 0; }
    .thp-sec-tight { padding: 40px 0 68px; }
    .thp-hero { padding: 64px 0 78px; }
    .thp-headwrap { margin-bottom: 36px; }

    .thp-burger { display: block; }

    .thp-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(0, 0, 0, 0.94);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--thp-line);
        padding: 10px 20px 22px;
        display: none;
    }
    .thp-nav.is-open { display: flex; }
    .thp-nav-link { padding: 14px 0; border-bottom: 1px solid var(--thp-line); font-size: 16px; }
    .thp-nav-cta { margin-top: 16px; border-bottom: 0; }

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

    .thp-tile,
    .thp-card-link,
    .thp-card-empty { padding: 24px; }

    .thp-post-link { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 4px; }
    .thp-post-time { text-align: left; }

    .thp-article { padding: 40px 0 0; }
    .thp-article-image { margin: 26px 0 20px; }
    .thp-content { font-size: 17px; line-height: 1.7; padding: 26px 22px; border-radius: var(--thp-r); }
    .thp-posts { padding: 6px 20px; }
    .thp-content .kg-width-wide,
    .thp-content .kg-width-full { max-width: 100%; margin-left: 0; transform: none; }

    .thp-wheel { width: min(100%, 300px); --thp-orbit: 108px; }
    .thp-wheel-point { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 11px; }

    .thp-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }

    .thp-hide-sm { display: none; }
    .thp-show-sm { display: block; }

    .thp-form { max-width: 100%; }
    .thp-input { flex: 1 1 100%; }
    .thp-btn { width: 100%; }
    .thp-btn-sm { width: auto; }

    /* keep phones smooth: hold the backdrop still and drop the blurs */
    .thp-cosmos-img,
    .thp-cosmos-stars,
    .thp-cosmos-beam { animation: none; }
    .thp-cosmos { transform: none; }
    .thp-cosmos-beam { right: -24vw; width: 96vw; background-size: auto 100%; opacity: 0.4; }
    .thp-tile,
    .thp-card,
    .thp-posts,
    .thp-content,
    .thp-wheel-point { backdrop-filter: none; }
    .thp-tile,
    .thp-card,
    .thp-posts { background: rgba(0, 0, 0, 0.9); }
    .thp-content { background: rgba(0, 0, 0, 0.92); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .thp-tile:hover,
    .thp-card:hover,
    .thp-btn:hover { transform: none; }
    .thp-cosmos-img,
    .thp-cosmos-stars,
    .thp-cosmos-beam { animation: none; transform: none; }
    .thp-cosmos-img { inset: 0; }
    .thp-cosmos { transform: none; }
}
