/* ============================================
   lovable.dev — Styles
   Duotone: #f4f0ec (warm bone) / #1a1a2a (deep navy)
   Font: JetBrains Mono 400/700
   ============================================ */

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

:root {
    --light: #f4f0ec;
    --dark: #1a1a2a;
    --font: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--dark);
    background-color: var(--light);
    line-height: 2.0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Hero — Opening Viewport (Duotone Split)
   ============================================ */

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

.hero-light {
    position: relative;
    width: 100%;
    height: 70%;
    background-color: var(--light);
}

.hero-dark {
    width: 100%;
    height: 30%;
    background-color: var(--dark);
}

.hero-text {
    position: absolute;
    top: 38.2%;
    left: 38.2%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
}

.hero-word {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.02em;
    color: var(--dark);
    opacity: 0;
    transition: opacity 600ms ease;
    line-height: 1.4;
}

.hero-word.visible {
    opacity: 1;
}

/* ============================================
   Philosophy Section
   ============================================ */

.section-philosophy {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20vh 10vw;
    background-color: var(--light);
}

.philosophy-content {
    max-width: 28em;
    position: relative;
    z-index: 1;
}

.philosophy-content p {
    font-size: clamp(16px, 1.6vw, 18px);
    letter-spacing: 0.02em;
    color: var(--dark);
    margin-bottom: 2em;
    line-height: 2.0;
}

.philosophy-content p:last-child {
    margin-bottom: 0;
    font-weight: 700;
}

/* Geometric Accent */
.geometric-accent-philosophy {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 60px;
    height: 60px;
}

.geo-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    position: absolute;
    top: 0;
    right: 0;
}

.geo-line {
    width: 40px;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    top: 30px;
    right: 10px;
    transform: rotate(-30deg);
}

/* ============================================
   Principles Sections
   ============================================ */

.section-principle {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20vh 10vw;
}

#principle-1 {
    background-color: var(--dark);
}

#principle-1 .principle-title,
#principle-1 .principle-text {
    color: var(--light);
}

#principle-2 {
    background-color: var(--light);
}

#principle-2 .principle-title,
#principle-2 .principle-text {
    color: var(--dark);
}

#principle-3 {
    background-color: var(--dark);
}

#principle-3 .principle-title,
#principle-3 .principle-text {
    color: var(--light);
}

.principle-content {
    max-width: 28em;
    position: relative;
}

.star-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 2em;
    position: relative;
}

#principle-1 .star-icon::before,
#principle-3 .star-icon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--light);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    opacity: 0.6;
}

#principle-2 .star-icon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--dark);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    opacity: 0.6;
}

.principle-title {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 1em;
}

.principle-text {
    font-size: clamp(16px, 1.6vw, 18px);
    letter-spacing: 0.02em;
    line-height: 2.0;
}

/* Principle Spacer — 50vh of pure empty space */
.principle-spacer {
    height: 50vh;
    background-color: var(--light);
}

/* Alternating spacer backgrounds */
#principle-1 + .principle-spacer {
    background-color: var(--light);
}

#principle-2 + .principle-spacer {
    background-color: var(--light);
}

/* ============================================
   Begin Section — Inverted Duotone Split
   ============================================ */

.section-begin {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.begin-dark {
    position: relative;
    width: 100%;
    height: 70%;
    background-color: var(--dark);
}

.begin-light {
    width: 100%;
    height: 30%;
    background-color: var(--light);
}

.begin-text {
    position: absolute;
    top: 38.2%;
    left: 38.2%;
    transform: translate(-50%, -50%);
}

#begin-word {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.02em;
    color: var(--light);
    line-height: 1.4;
}

/* ============================================
   Progressive Disclosure — Reveal Animation
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Scrollbar Styling (minimal)
   ============================================ */

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 2px;
}

/* ============================================
   Selection
   ============================================ */

::selection {
    background-color: var(--dark);
    color: var(--light);
}
