:root {
    --oryn-blue: #4a90e2;
    --oryn-sky: #e1f5fe;
    --text-dark: #1a1a1a;
    --primary: #ff6b81;
}

/* Global & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--oryn-sky);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100dvh;
}

/* Ghibli Sky Background */
.sky-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, #b3e5fc 0%, #ffffff 100%);
    z-index: -1;
}

.cloud {
    position: absolute;
    background: white;
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.6;
    animation: drift 30s infinite linear;
}

.c1 { width: 400px; height: 200px; top: 15%; left: -100px; }
.c2 { width: 300px; height: 150px; bottom: 20%; right: -50px; animation-duration: 45s; }

@keyframes drift {
    from { transform: translateX(-10vw); }
    to { transform: translateX(110vw); }
}

/* Layout */
.oryn-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5vh 5%;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    gap: 40px;
}

.hero-content { flex: 1; }

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin: 20px 0;
}

.highlight { color: var(--oryn-blue); font-style: italic; }

.project-badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Buttons */
.cta-group { display: flex; gap: 15px; }

.primary-btn {
    padding: 15px 35px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.secondary-btn {
    padding: 15px 35px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

/* Visuals */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-art-wrapper {
    font-size: 8rem;
    position: relative;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.glow-orb {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(74,144,226,0.3) 0%, rgba(255,255,255,0) 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    to { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Counter */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 60px 40px;
    margin: 80px 0;
    background: var(--text-dark);
    color: white;
    border-radius: 40px;
}

.stat-item { text-align: center; }
.stat-item .count { font-size: 3.5rem; font-weight: 800; font-family: 'Syne'; }
.stat-item .symbol { color: var(--oryn-blue); font-size: 2rem; }

/* Detail Cards (Glassmorphism) */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.4s;
}

.detail-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.6);
}

/* Paper Grain Overlay */
.paper-grain {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    pointer-events: none;
    opacity: 0.05;
    z-index: 100;
}

/* Mobile Fixes */
@media (max-width: 850px) {
    .hero-section { flex-direction: column-reverse; text-align: center; }
    .cta-group { justify-content: center; }
    .stats-bar { flex-direction: column; gap: 40px; }
}