/* ============================================================
   AURISUS — home.css (page-specific)
   ============================================================ */

/* --- 1. Hero Background (Aurora & Stars) --- */
.hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: var(--void);
}

.aurora-svg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    opacity: 0.85;
    filter: blur(60px);
    will-change: transform, opacity;
}

.stars-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    will-change: transform, opacity;
}

/* --- 2. Custom Orbital Trajectory SVG --- */
.orbit-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    min-width: 800px;
    min-height: 800px;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    will-change: transform, opacity;
}

.orbit-ring {
    transform-origin: 400px 400px;
    animation: spinRing 60s linear infinite;
}
.orbit-ring:nth-child(2) {
    animation-duration: 40s;
    animation-direction: reverse;
}

@keyframes spinRing {
    100% { transform: rotate(360deg); }
}

.orbit-object-1 {
    transform-origin: 400px 400px;
    animation: spinOrbit 30s linear infinite;
}

.orbit-object-2 {
    transform-origin: 400px 400px;
    animation: spinOrbit 20s linear infinite reverse;
}

@keyframes spinOrbit {
    100% { transform: rotate(360deg); }
}

.ping {
    transform-origin: 400px 400px;
    animation: pingPulse 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* --- 3. Hero Text (Opens the page) --- */
.hero-content {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-6) var(--gutter);
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--ivory);
    max-width: 16ch;
    margin: 0 0 var(--space-4);
}

.hero-sub {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--silver);
    max-width: 48ch;
    margin: 0;
    line-height: 1.5;
}

/* --- 4. Rest of the Page Content --- */
.pursuits .lead {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--ivory);
    font-weight: 500;
    max-width: 32ch;
    line-height: 1.3;
    margin-bottom: var(--space-4);
}

.pursuits p:not(.lead) {
    max-width: 68ch;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
}

.selected-work .work-item {
    border-top: 1px solid color-mix(in srgb, var(--silver) 15%, transparent);
    padding-top: var(--space-5);
    margin-top: var(--space-4);
}

.work-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--ivory);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.work-tagline {
    color: var(--ivory);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.selected-work .work-item p { 
    max-width: 68ch; 
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}

.writings-teaser p { 
    max-width: 48ch;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}