/* sora.day — daily sky observation journal */
/* japanese zen portfolio aesthetic */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #FAFAF8;
    background-image: linear-gradient(180deg, #D4E4F7 0%, #FFFFFF 200px);
    background-repeat: no-repeat;
    color: #7A7A7A;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.85;
    min-height: 100vh;
}

/* Section headings */
.section-heading {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* ===================== Hero / Canopy ===================== */
.hero {
    max-width: 640px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.hero-dates {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 2.5rem;
}

.date-western {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #7A7A7A;
    letter-spacing: 0.02em;
}

.date-japanese {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #C4C4C4;
    letter-spacing: 0.04em;
}

.hero-haiku {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-style: italic;
    font-size: 1.35rem;
    color: #2C2C2C;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.ink-divider {
    background: linear-gradient(90deg, transparent, #2C2C2C 20%, #2C2C2C 80%, transparent);
    height: 1px;
    opacity: 0.12;
    margin: 0 auto;
    max-width: 160px;
}

/* ===================== Observation ===================== */
.observation {
    max-width: 640px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.observation-column {
    max-width: 640px;
    margin: 0 auto;
}

.obs-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 2.4rem;
    color: #2C2C2C;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-align: center;
}

.atmo-data {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.atmo-item {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #7A7A7A;
}

.obs-text {
    font-size: 1rem;
    color: #7A7A7A;
    margin-bottom: 1.35rem;
    line-height: 1.85;
}

.obs-text:last-child {
    margin-bottom: 0;
}

/* ===================== Sky Calendar / The Week ===================== */
.sky-calendar {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.swatch-strip {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.swatch-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    transition: transform 0.2s ease;
}

.swatch-day:hover {
    transform: translateY(-2px);
}

.sky-swatch {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    display: inline-block;
    transition: box-shadow 0.25s ease;
}

.swatch-day:hover .sky-swatch {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sky-clear {
    background: #6BA3D6;
}

.sky-sunset {
    background: #E8A87C;
}

.sky-overcast {
    background: #C4C4C4;
}

.swatch-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #7A7A7A;
}

/* ===================== Archive ===================== */
.archive {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
}

.archive-entry {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E8E4DE;
    transition: background-color 0.2s ease;
    cursor: default;
}

.archive-entry:first-child {
    border-top: 1px solid #E8E4DE;
}

.archive-entry:hover {
    background-color: rgba(107, 163, 214, 0.04);
}

.archive-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #7A7A7A;
    white-space: nowrap;
    flex-shrink: 0;
}

.archive-title {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2C2C2C;
    line-height: 1.3;
}

/* ===================== Footer / The Horizon ===================== */
.footer {
    max-width: 640px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.footer-kanji {
    display: block;
    font-size: 4rem;
    color: rgba(44, 44, 44, 0.03);
    line-height: 1;
    margin-bottom: 0.75rem;
    user-select: none;
}

.footer-dash {
    display: block;
    font-size: 1rem;
    color: #C4C4C4;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #7A7A7A;
    letter-spacing: 0.05em;
}

/* ===================== Animations ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.hero.visible {
    transition-delay: 0s;
}

.observation.visible {
    transition-delay: 0.1s;
}

.sky-calendar.visible {
    transition-delay: 0.15s;
}

.archive.visible {
    transition-delay: 0.2s;
}

.footer.visible {
    transition-delay: 0.25s;
}
