/* ============================================
   layer2.id - High Contrast Duotone Brand
   Colors: #1A0033 (deep purple-black), #E6FF00 (electric lime), #FFFFFF (white)
   Fonts: Archivo Black (display), Archivo (body), DM Mono (data)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #E6FF00;
    background-color: #1A0033;
    overflow-x: hidden;
}

/* ---- Hero Section (100vh, 50/50 split) ---- */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.hero-left {
    position: relative;
    width: 50%;
    height: 100%;
    background-color: #1A0033;
    z-index: 1;
}

.hero-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #E6FF00;
    z-index: 1;
    transform: translateX(100%);
}

.hero-right.animate-in {
    transform: translateX(0);
    transition: transform 250ms ease-out;
}

.hero-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background-color: #FFFFFF;
    z-index: 3;
    transform: translateX(-50%);
}

.hero-divider.animate-in {
    height: 100%;
    transition: height 300ms ease-out;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    white-space: nowrap;
    opacity: 0;
    mix-blend-mode: difference;
}

.hero-text.animate-in {
    opacity: 1;
}

.hero-layer2,
.hero-dot-id {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: -0.02em;
    color: #E6FF00;
    line-height: 1;
}

/* Monogram in hero (subtle) */
.hero-monogram-left {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 40px;
    height: 40px;
    border: 2px solid #E6FF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 2;
}

.hero-monogram-left.animate-in {
    opacity: 1;
    transition: opacity 300ms ease-out;
}

.monogram-text {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #E6FF00;
    line-height: 1;
}

/* ---- Value Blocks (Section 2) ---- */

#value-blocks {
    width: 100%;
}

.value-band {
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.band-dark {
    background-color: #1A0033;
}

.band-lime {
    background-color: #E6FF00;
}

.band-content {
    max-width: 720px;
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.band-content.revealed {
    opacity: 1;
}

.statement-text {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
}

.band-dark .statement-text {
    color: #E6FF00;
}

.band-lime .statement-text {
    color: #1A0033;
}

/* ---- ID Preview (Section 3) ---- */

#id-preview {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1A0033;
    padding: 4rem 2rem;
}

.id-card {
    width: 400px;
    max-width: 90vw;
    min-height: 240px;
    background-color: #1A0033;
    position: relative;
    padding: 3px;
}

.id-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #E6FF00;
    clip-path: inset(0 100% 100% 0);
}

.id-card.border-drawn::before {
    clip-path: inset(0 0 0 0);
    transition: clip-path 500ms ease-out;
}

.id-card-inner {
    padding: 1.5rem;
    opacity: 0;
}

.id-card-inner.content-visible {
    opacity: 1;
    transition: opacity 200ms ease-out;
}

.id-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E6FF00;
}

.id-label {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #E6FF00;
}

.id-monogram-small {
    width: 30px;
    height: 30px;
    border: 2px solid #E6FF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monogram-text-sm {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    color: #E6FF00;
    line-height: 1;
}

.id-card-field {
    margin-bottom: 1rem;
}

.id-card-field:last-child {
    margin-bottom: 0;
}

.id-field-label {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #E6FF00;
    margin-bottom: 0.2rem;
}

.id-field-value {
    display: block;
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 0.85rem;
    color: #FFFFFF;
    min-height: 1.4em;
}

/* ---- Call to Identity (Section 4) ---- */

#call-to-identity {
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E6FF00;
    padding: 3rem 2rem;
}

.cta-content {
    max-width: 720px;
    text-align: center;
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.cta-content.revealed {
    opacity: 1;
}

#call-to-identity .statement-text {
    color: #1A0033;
}

/* ---- Footer / Mark ---- */

#footer {
    width: 100%;
    padding: 3rem 2rem;
    background-color: #1A0033;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-monogram {
    width: 40px;
    height: 40px;
    border: 2px solid #E6FF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #E6FF00;
    letter-spacing: 0.05em;
}

/* ---- Section utility classes ---- */

.section-dark {
    background-color: #1A0033;
    color: #E6FF00;
}

.section-lime {
    background-color: #E6FF00;
    color: #1A0033;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
    .hero-layer2,
    .hero-dot-id {
        font-size: clamp(3rem, 14vw, 6rem);
    }

    .id-card {
        width: 100%;
    }

    .statement-text {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
}
