:root {
    --bg-deep: #05060f;
    --bg-mid: #0a0d1f;
    --bg-soft: #11142b;
    --gold: #f5c560;
    --gold-bright: #ffd97a;
    --gold-soft: #d3a85a;
    --gold-deep: #6b4d1c;
    --gold-glow: rgba(245, 197, 96, 0.35);
    --ink: #f6f3e8;
    --ink-dim: #ddd7c4;
    --ink-faint: #a8a392;
    --line: rgba(245, 197, 96, 0.22);
    --line-strong: rgba(245, 197, 96, 0.45);
    --serif-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --serif-body: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 17.5px;
}

body {
    font-family: var(--sans);
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at top, #1a1538 0%, transparent 60%),
        radial-gradient(ellipse at bottom, #0c1432 0%, transparent 50%),
        linear-gradient(180deg, #05060f 0%, #0a0d1f 50%, #050615 100%);
    background-attachment: fixed;
    color: var(--ink);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   COSMIC BACKGROUND
   ============================================ */

.cosmic-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at top, #1a1538 0%, transparent 60%),
        radial-gradient(ellipse at bottom, #0c1432 0%, transparent 50%),
        linear-gradient(180deg, #05060f 0%, #0a0d1f 50%, #050615 100%);
    overflow: hidden;
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 217, 122, 0.6), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 10% 50%, rgba(255, 217, 122, 0.5), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 75% 90%, rgba(245, 197, 96, 0.4), transparent),
        radial-gradient(1px 1px at 40% 40%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 65% 35%, rgba(255, 255, 255, 0.4), transparent);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.85;
    animation: starsTwinkle 8s ease-in-out infinite;
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.95; }
}

.aurora {
    position: absolute;
    width: 60%;
    height: 130%;
    top: -15%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}

.aurora-left {
    left: -20%;
    background: radial-gradient(ellipse, rgba(245, 197, 96, 0.35) 0%, rgba(199, 154, 69, 0.18) 30%, transparent 70%);
    animation: auroraDrift 18s ease-in-out infinite;
}

.aurora-right {
    right: -20%;
    background: radial-gradient(ellipse, rgba(80, 100, 200, 0.35) 0%, rgba(40, 60, 140, 0.18) 30%, transparent 70%);
    animation: auroraDrift 22s ease-in-out infinite reverse;
}

@keyframes auroraDrift {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-30px) translateX(20px) scale(1.05); }
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 6, 15, 0.85) 100%);
    pointer-events: none;
}

/* ============================================
   HEADER / BRAND
   ============================================ */

.site-header {
    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.brand {
    text-align: center;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 0.95;
    font-family: var(--serif-display);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #ffe9a3 0%, #f5c560 45%, #c79a45 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(245, 197, 96, 0.35));
}

.brand-the {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    margin-bottom: 0.15rem;
}

.brand-other {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
}

.brand-side {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
}

.brand-tag {
    margin-top: 0.6rem;
    font-family: var(--sans);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink-dim);
    letter-spacing: 0.04em;
    font-weight: 400;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--serif-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.hero-title .line-2 {
    display: block;
    background: linear-gradient(180deg, #fff0c2 0%, #f5c560 50%, #b88536 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(245, 197, 96, 0.3));
}

.hero-hook {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: var(--ink);
    max-width: 580px;
    margin: 0 auto 2.25rem;
    font-weight: 400;
}

/* ============================================
   CALCULATOR
   ============================================ */

.section-title {
    font-family: var(--serif-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
    background: linear-gradient(180deg, #ffe9a3 0%, #f5c560 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.date-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1.2rem;
    margin: 0 auto 1.25rem;
    max-width: 640px;
    background: linear-gradient(180deg, rgba(20, 24, 50, 0.7) 0%, rgba(10, 13, 31, 0.8) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 80px rgba(245, 197, 96, 0.1),
        inset 0 1px 0 rgba(245, 197, 96, 0.1);
    position: relative;
}

.date-form::before,
.date-form::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--gold-soft);
    pointer-events: none;
    opacity: 0.6;
}

.date-form::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.date-form::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
    min-width: 110px;
}

.field label {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: left;
    padding-left: 0.2rem;
}

.field input,
.field select {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    background: rgba(5, 6, 15, 0.6);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0.95rem 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    -moz-appearance: textfield;
}

.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23f5c560' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.2rem;
}

.field select option {
    background: var(--bg-mid);
    color: var(--ink);
}

.field input::placeholder {
    color: var(--ink-faint);
    font-style: italic;
}

.field input:focus,
.field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(245, 197, 96, 0.2);
}

.reveal-btn {
    flex-basis: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-top: 0.5rem;
    position: relative;
    font-family: inherit;
}

.reveal-btn-inner {
    display: block;
    position: relative;
    padding: 1.1rem 2rem;
    background: linear-gradient(180deg, #f5c560 0%, #c79a45 100%);
    color: #1a1100;
    font-family: var(--serif-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow:
        0 0 0 1px var(--gold-soft),
        0 0 30px rgba(245, 197, 96, 0.25),
        inset 0 1px 0 rgba(255, 233, 163, 0.4);
}

.reveal-btn:hover .reveal-btn-inner {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px var(--gold-bright),
        0 0 50px rgba(245, 197, 96, 0.5),
        inset 0 1px 0 rgba(255, 233, 163, 0.6);
}

.reveal-btn:active .reveal-btn-inner {
    transform: translateY(0);
}

.reveal-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.reveal-btn:hover .reveal-btn-glow {
    left: 100%;
}

.calc-note {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink-dim);
    max-width: 580px;
    margin: 1.5rem auto 0;
    line-height: 1.65;
    font-weight: 400;
}

.calc-note strong {
    color: var(--gold);
    font-weight: 600;
}

.form-error {
    color: #ff8a86;
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 1rem;
    min-height: 1.2em;
}

/* ============================================
   RESULT
   ============================================ */

.result {
    max-width: 880px;
    margin: 0 auto;
    padding: 1rem 1.5rem 5rem;
    animation: resultFade 0.9s ease-out both;
}

@keyframes resultFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-inner > * + * {
    margin-top: 4rem;
}

.calc-breakdown {
    background: rgba(10, 13, 31, 0.5);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.75rem 1.75rem;
    font-family: var(--sans);
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.9;
    text-align: center;
}

.calc-breakdown .step {
    display: block;
}

.calc-breakdown .step-label {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-right: 0.6rem;
}

.calc-breakdown .step-equation {
    font-family: var(--serif-display);
    font-weight: 500;
    color: var(--ink);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

.calc-breakdown .step-divider {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold-soft);
    margin: 0.6rem auto;
    opacity: 0.4;
}

/* Number reveal */
.number-reveal {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.reveal-label {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.big-number {
    font-family: var(--serif-display);
    font-weight: 800;
    font-size: clamp(7rem, 22vw, 14rem);
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff5d2 0%, #ffd97a 30%, #f5c560 55%, #a87423 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(245, 197, 96, 0.5));
    margin: 0.5rem 0;
    animation: numberReveal 1.6s ease-out both;
    position: relative;
}

@keyframes numberReveal {
    0% { opacity: 0; transform: scale(0.7); filter: blur(20px) drop-shadow(0 0 0 rgba(245, 197, 96, 0)); }
    60% { opacity: 1; filter: blur(0) drop-shadow(0 0 60px rgba(245, 197, 96, 0.7)); }
    100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 40px rgba(245, 197, 96, 0.5)); }
}

.master-badge[hidden] {
    display: none !important;
}

.master-note {
    margin: 1.2rem auto 0;
    max-width: 32rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(245, 197, 96, 0.25);
    font-family: var(--sans);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-dim);
    text-align: center;
    opacity: 0.85;
}

.master-badge {
    display: inline-block;
    margin: 0.25rem auto 0.9rem;
    padding: 0.35rem 1rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1a1408;
    background: linear-gradient(135deg, #f5c560 0%, #e8a738 50%, #f5c560 100%);
    border-radius: 999px;
    box-shadow: 0 0 24px rgba(245, 197, 96, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

.master-tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.55rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1a1408;
    background: linear-gradient(135deg, #f5c560 0%, #e8a738 100%);
    border-radius: 999px;
    vertical-align: middle;
}

.archetype {
    font-family: var(--serif-display);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 0.5rem;
}

.path-tag {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold);
    margin-top: 0.6rem;
    letter-spacing: 0.05em;
}

/* Essence */
.number-essence {
    font-family: var(--sans);
    font-size: clamp(1.2rem, 2.1vw, 1.4rem);
    line-height: 1.8;
    color: var(--ink);
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    font-weight: 400;
    padding: 0 1rem;
}

.number-essence p + p {
    margin-top: 1.2rem;
}

/* ============================================
   ASPECT TABS
   ============================================ */

.aspect-tabs {
    --tab-accent: var(--gold);
}

.tab-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(180deg, rgba(20, 24, 50, 0.55) 0%, rgba(10, 13, 31, 0.7) 100%);
    border: 1px solid var(--line);
    border-radius: 3px;
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.tab-btn:hover {
    color: var(--ink);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.tab-btn .tab-icon {
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.tab-btn .tab-label {
    line-height: 1;
}

.tab-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Active states — gold for strength, purple for shadow, blue for lesson */
.tab-btn.is-active {
    background: linear-gradient(180deg, rgba(35, 32, 50, 0.95) 0%, rgba(20, 18, 35, 1) 100%);
    color: var(--ink);
    border-color: rgba(245, 197, 96, 0.5);
    box-shadow:
        0 0 0 1px rgba(245, 197, 96, 0.2),
        0 0 30px rgba(245, 197, 96, 0.1),
        inset 0 1px 0 rgba(245, 197, 96, 0.15);
}

.tab-btn.is-active .tab-icon {
    opacity: 1;
    color: var(--gold);
}

.tab-btn.tab-shadow.is-active {
    border-color: rgba(180, 110, 220, 0.55);
    box-shadow:
        0 0 0 1px rgba(180, 110, 220, 0.25),
        0 0 30px rgba(180, 110, 220, 0.12),
        inset 0 1px 0 rgba(180, 110, 220, 0.18);
}

.tab-btn.tab-shadow.is-active .tab-icon {
    color: #d8b3e8;
}

.tab-btn.tab-lesson.is-active {
    border-color: rgba(140, 195, 245, 0.55);
    box-shadow:
        0 0 0 1px rgba(140, 195, 245, 0.25),
        0 0 30px rgba(140, 195, 245, 0.12),
        inset 0 1px 0 rgba(140, 195, 245, 0.18);
}

.tab-btn.tab-lesson.is-active .tab-icon {
    color: #b0d4f0;
}

/* Tab panels */
.tab-panels {
    margin-top: 1.5rem;
    position: relative;
}

.tab-panel {
    background: linear-gradient(180deg, rgba(15, 18, 38, 0.7) 0%, rgba(8, 10, 24, 0.85) 100%);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    position: relative;
    animation: tabFade 0.45s ease-out both;
}

.tab-panel.panel-shadow {
    border-color: rgba(180, 110, 220, 0.3);
}

.tab-panel.panel-lesson {
    border-color: rgba(140, 195, 245, 0.3);
}

.tab-panel::before,
.tab-panel::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    opacity: 0.55;
}

.tab-panel::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid var(--gold-soft);
    border-left: 1px solid var(--gold-soft);
}

.tab-panel::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 1px solid var(--gold-soft);
    border-right: 1px solid var(--gold-soft);
}

.tab-panel.panel-shadow::before,
.tab-panel.panel-shadow::after {
    border-color: rgba(180, 110, 220, 0.6);
}

.tab-panel.panel-lesson::before,
.tab-panel.panel-lesson::after {
    border-color: rgba(140, 195, 245, 0.6);
}

@keyframes tabFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tab-panel-content p {
    font-family: var(--sans);
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--ink);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto;
}

.tab-panel-content p + p {
    margin-top: 1.4rem;
}

/* Practice */
.practice {
    background: linear-gradient(180deg, rgba(15, 18, 38, 0.7) 0%, rgba(8, 10, 24, 0.8) 100%);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2.5rem 1.75rem;
    position: relative;
}

.practice::before,
.practice::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--gold-soft);
    opacity: 0.5;
}

.practice::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
}

.practice::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
}

.practice-title {
    font-family: var(--serif-display);
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gold);
    margin-bottom: 2.5rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.practice-item {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.practice-item:last-child {
    border-bottom: none;
}

.practice-step {
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.practice-name {
    font-family: var(--serif-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.practice-text {
    font-family: var(--sans);
    font-size: 1.18rem;
    line-height: 1.75;
    color: var(--ink);
    font-weight: 400;
}

.practice-quote {
    font-family: var(--sans);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold-bright);
    line-height: 1.5;
    padding: 0.6rem 0 0.9rem 1rem;
    border-left: 3px solid var(--gold-soft);
    margin-bottom: 0.9rem;
}

/* Subscribe card */
.subscribe-card {
    position: relative;
    margin: 3rem auto 1rem;
    max-width: 38rem;
    padding: 2.6rem 2rem 2rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 197, 96, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(245, 197, 96, 0.04) 0%, rgba(20, 14, 32, 0.5) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(245, 197, 96, 0.08), inset 0 1px 0 rgba(245, 197, 96, 0.12);
    text-align: center;
    overflow: hidden;
}

.subscribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
    transform: translateX(-50%);
}

.subscribe-decor {
    display: block;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    text-shadow: 0 0 20px rgba(245, 197, 96, 0.6);
}

.subscribe-title {
    font-family: var(--serif-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.04em;
    margin: 0 0 0.7rem;
}

.subscribe-sub {
    font-family: var(--sans);
    font-size: clamp(1.05rem, 1.7vw, 1.15rem);
    line-height: 1.65;
    color: var(--ink-dim);
    max-width: 30rem;
    margin: 0 auto 1.6rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: 26rem;
}

.subscribe-fields {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.95rem 1.1rem;
    background: rgba(10, 8, 18, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 1.05rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.subscribe-form input::placeholder {
    color: rgba(221, 215, 196, 0.45);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--gold-soft);
    background: rgba(10, 8, 18, 0.8);
    box-shadow: 0 0 0 3px rgba(245, 197, 96, 0.15);
}

.subscribe-btn {
    margin-top: 0.4rem;
    padding: 1rem 1.4rem;
    background: linear-gradient(135deg, #f5c560 0%, #e8a738 50%, #f5c560 100%);
    border: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1a1408;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 0 24px rgba(245, 197, 96, 0.25);
}

.subscribe-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 0 36px rgba(245, 197, 96, 0.45);
}

.subscribe-btn:active:not(:disabled) {
    transform: translateY(0);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.subscribe-error {
    min-height: 1.2rem;
    margin: 0.4rem 0 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: #ff9a8b;
    text-align: center;
}

.subscribe-disclaimer {
    margin: 1.1rem 0 0;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--ink-dim);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.subscribe-success {
    margin: 1rem auto 0;
    max-width: 28rem;
    padding: 1.2rem 1rem;
    animation: subscribeFadeIn 0.4s ease both;
}

.subscribe-success-title {
    font-family: var(--serif-display);
    font-size: 1.35rem;
    color: var(--gold);
    margin: 0 0 0.5rem;
    letter-spacing: 0.04em;
}

.subscribe-success-text {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink-dim);
    margin: 0;
}

@keyframes subscribeFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 600px) {
    .subscribe-fields {
        flex-direction: row;
    }
    .subscribe-fields input[type="text"] {
        flex: 1 1 40%;
    }
    .subscribe-fields input[type="email"] {
        flex: 1 1 60%;
    }
}

/* Closing card */
.closing-card {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
    border-top: 1px solid var(--line);
}

.closing-text {
    font-family: var(--sans);
    font-size: clamp(1.2rem, 2.1vw, 1.4rem);
    line-height: 1.75;
    color: var(--ink);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    font-weight: 400;
}

.closing-signature {
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.reset-btn {
    background: transparent;
    border: 1.5px solid var(--gold-soft);
    color: var(--gold);
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: var(--gold);
    color: #1a1100;
    box-shadow: 0 0 30px rgba(245, 197, 96, 0.4);
}

/* ============================================
   ABOUT SECTION (educational, below the fold)
   ============================================ */

.about {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.about-inner {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(15, 18, 38, 0.5) 0%, rgba(8, 10, 24, 0.6) 100%);
    border: 1px solid var(--line);
    border-radius: 4px;
    position: relative;
}

.about-inner::before,
.about-inner::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold-soft);
    opacity: 0.55;
    pointer-events: none;
}

.about-inner::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.about-inner::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.about-title {
    font-family: var(--serif-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffe9a3 0%, #f5c560 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 1.9vw, 1.25rem);
    line-height: 1.75;
    color: var(--ink);
    max-width: 640px;
    margin: 0 auto;
    font-weight: 400;
    text-align: left;
}

.about-text + .about-text {
    margin-top: 1.25rem;
}

/* ============================================
   CAYCE NOTE
   ============================================ */

.cayce-note {
    max-width: 760px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.cayce-note-inner {
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.cayce-quote {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    line-height: 1.5;
    color: var(--ink);
    max-width: 640px;
    margin: 0 auto 1.2rem;
    font-weight: 500;
}

.quote-mark {
    font-family: var(--serif-display);
    color: var(--gold);
    font-size: 1.5em;
    line-height: 0;
    vertical-align: -0.1em;
    margin: 0 0.1em;
}

.cayce-attr {
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.cayce-disclaimer {
    font-family: var(--sans);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--ink-dim);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    font-family: var(--serif-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-sub {
    font-family: var(--sans);
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--ink-dim);
    margin-top: 0.9rem;
    font-weight: 400;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 720px) {
    .site-header { padding: 2rem 2rem 0.5rem; }
    .brand-the { font-size: 1rem; }
    .brand-other, .brand-side { font-size: 2rem; }

    .hero { padding: 3rem 2rem 5rem; }

    .practice-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .practice-item {
        border-bottom: none;
        border-left: 1px solid var(--line);
        padding-left: 1.5rem;
    }

    .practice-item:nth-child(1),
    .practice-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
        padding-bottom: 1.5rem;
    }

    .practice-item:nth-child(odd) {
        border-left: none;
        padding-left: 1rem;
    }
}

@media (min-width: 720px) {
    .tab-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .field { min-width: 100%; }
    .date-form { padding: 1.5rem 1rem; }
    .reveal-btn-inner { font-size: 0.85rem; letter-spacing: 0.15em; }
}

/* ============================================
   STICKY BOTTOM BAR
   ============================================ */
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: linear-gradient(180deg, rgba(20, 14, 32, 0.85) 0%, rgba(10, 8, 18, 0.96) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(245, 197, 96, 0.32);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(245, 197, 96, 0.15) inset;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.sticky-bar[hidden] {
    display: none !important;
}

.sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 1.2rem 0.85rem 1.4rem;
}

.sticky-bar-text {
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.sticky-bar-icon {
    display: inline-block;
    margin-right: 0.4rem;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(245, 197, 96, 0.6);
}

.sticky-bar-form {
    display: flex;
    gap: 0.5rem;
    flex: 0 1 auto;
}

.sticky-bar-form input[type="email"] {
    width: 14rem;
    padding: 0.65rem 0.9rem;
    background: rgba(10, 8, 18, 0.6);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sticky-bar-form input[type="email"]::placeholder {
    color: rgba(221, 215, 196, 0.45);
}

.sticky-bar-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold-soft);
    box-shadow: 0 0 0 3px rgba(245, 197, 96, 0.15);
}

.sticky-bar-btn {
    padding: 0.65rem 1.1rem;
    background: linear-gradient(135deg, #f5c560 0%, #e8a738 50%, #f5c560 100%);
    border: none;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1408;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 0 18px rgba(245, 197, 96, 0.2);
}

.sticky-bar-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(245, 197, 96, 0.4);
}

.sticky-bar-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.sticky-bar-close {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-dim);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sticky-bar-close:hover {
    color: var(--gold);
    border-color: var(--gold-soft);
}

.sticky-bar-status {
    margin: 0 1.4rem 0.6rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--gold);
    text-align: center;
    min-height: 1em;
}

.sticky-bar-status:empty {
    display: none;
}

@media (max-width: 720px) {
    .sticky-bar-inner {
        flex-wrap: wrap;
        padding: 0.8rem 0.9rem;
        gap: 0.6rem;
    }
    .sticky-bar-text {
        flex: 1 1 100%;
        font-size: 0.9rem;
        order: 1;
    }
    .sticky-bar-form {
        flex: 1 1 auto;
        order: 2;
    }
    .sticky-bar-form input[type="email"] {
        width: 100%;
        flex: 1 1 0;
    }
    .sticky-bar-close {
        order: 3;
    }
}

/* ============================================
   EXIT-INTENT MODAL
   ============================================ */
.exit-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    background: rgba(5, 3, 12, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.exit-modal[hidden] {
    display: none !important;
}

.exit-modal.is-visible {
    opacity: 1;
}

.exit-modal-card {
    position: relative;
    width: 100%;
    max-width: 30rem;
    padding: 2.6rem 2rem 1.8rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 197, 96, 0.14), transparent 60%),
        linear-gradient(180deg, #1a1228 0%, #0f0a1c 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 197, 96, 0.08);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.exit-modal.is-visible .exit-modal-card {
    transform: translateY(0) scale(1);
}

.exit-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
    transform: translateX(-50%);
}

.exit-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-dim);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.exit-modal-close:hover {
    color: var(--gold);
    border-color: var(--gold-soft);
}

.exit-modal-decor {
    display: block;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    text-shadow: 0 0 22px rgba(245, 197, 96, 0.6);
}

.exit-modal-title {
    font-family: var(--serif-display);
    font-size: clamp(1.7rem, 3.4vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.04em;
    margin: 0 0 0.7rem;
}

.exit-modal-sub {
    font-family: var(--sans);
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ink-dim);
    max-width: 24rem;
    margin: 0 auto 1.6rem;
}

.exit-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 auto;
    max-width: 22rem;
}

.exit-modal-form input[type="text"],
.exit-modal-form input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.05rem;
    background: rgba(10, 8, 18, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exit-modal-form input::placeholder {
    color: rgba(221, 215, 196, 0.45);
}

.exit-modal-form input:focus {
    outline: none;
    border-color: var(--gold-soft);
    box-shadow: 0 0 0 3px rgba(245, 197, 96, 0.15);
}

.exit-modal-btn {
    margin-top: 0.4rem;
    padding: 0.95rem 1.4rem;
    background: linear-gradient(135deg, #f5c560 0%, #e8a738 50%, #f5c560 100%);
    border: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1a1408;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 0 24px rgba(245, 197, 96, 0.25);
}

.exit-modal-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 0 36px rgba(245, 197, 96, 0.45);
}

.exit-modal-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.exit-modal-error {
    min-height: 1.2rem;
    margin: 0.4rem 0 0;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: #ff9a8b;
}

.exit-modal-success {
    margin: 1rem 0 0;
    animation: subscribeFadeIn 0.4s ease both;
}

.exit-modal-success-title {
    font-family: var(--serif-display);
    font-size: 1.3rem;
    color: var(--gold);
    margin: 0 0 0.4rem;
    letter-spacing: 0.04em;
}

.exit-modal-success-text {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-dim);
    margin: 0;
}

.exit-modal-disclaimer {
    margin: 1.2rem 0 0;
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink-dim);
    opacity: 0.7;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sticky-bar,
    .exit-modal,
    .exit-modal-card {
        transition: opacity 0.15s ease;
        transform: none !important;
    }
}
