/* ============================================
   Generational Technologies — Production CSS
   Stealth Site · Variant 01 "Vault"
   ============================================ */

/* --- Custom Fonts --- */
@font-face {
    font-family: 'ABC Arizona Serif';
    src: url('../fonts/arizona-serif/ABCArizonaSerif-Light.woff2') format('woff2'),
         url('../fonts/arizona-serif/ABCArizonaSerif-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TWK Lausanne';
    src: url('../fonts/twk-lausanne/TWKLausanne-100.woff2') format('woff2'),
         url('../fonts/twk-lausanne/TWKLausanne-100.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* --- Tokens (subset of GT design system) --- */
:root {
    --gt-navy-deep: #00152e;
    --gt-bone:      #EAE6DC;

    --rule-color:   rgba(234, 230, 220, 0.22);
    --tag-color:    rgba(234, 230, 220, 0.55);

    --font-display: 'ABC Arizona Serif', Georgia, serif;
    --font-sans:    'TWK Lausanne', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    --ease-quiet:   cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--gt-navy-deep);
    font-family: var(--font-sans);
    font-weight: 100;
    color: var(--gt-bone);
    position: relative;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Particle Canvas --- */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    -webkit-transition: opacity 4s ease;
    transition: opacity 4s ease;
}

.stars.active {
    opacity: 1;
}

/* --- Vignette --- */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.45) 95%);
    pointer-events: none;
}

/* --- Main Layout --- */
.page {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.brand {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}

/* --- Wordmark --- */
.logo-container {
    opacity: 0;
    -webkit-animation: breatheIn 3s var(--ease-quiet) forwards;
    animation: breatheIn 3s var(--ease-quiet) forwards;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.logo-container img {
    width: min(304px, 42vw);
    height: auto;
    display: block;
    opacity: 0.94;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* --- Tagline Row --- */
.tag-row {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    opacity: 0;
    -webkit-animation: fadeIn 1.6s ease forwards;
    animation: fadeIn 1.6s ease forwards;
    -webkit-animation-delay: 2.4s;
    animation-delay: 2.4s;
}

.tag-row .rule {
    width: 44px;
    height: 1px;
    background: var(--rule-color);
}

.tag-row .text {
    font-family: var(--font-sans);
    font-weight: 100;
    font-size: 10.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--tag-color);
    white-space: nowrap;
}

/* --- Animations --- */
@-webkit-keyframes breatheIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.96);
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes breatheIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.96);
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .logo-container,
    .tag-row,
    .stars {
        -webkit-animation: none;
        animation: none;
        -webkit-transition: none;
        transition: none;
    }
    .logo-container,
    .tag-row,
    .stars.active {
        opacity: 1;
    }
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .logo-container img {
        width: 48vw;
    }

    .tag-row {
        gap: 14px;
        margin-top: 28px;
    }

    .tag-row .rule {
        width: 24px;
    }

    .tag-row .text {
        font-size: 9px;
        letter-spacing: 0.28em;
    }
}
