:root {
    /* Typography parser tokens: Interactions (Primary Animation Pattern IntersectionObserver with threshold 0.15 */
    --accent: #7eb8c9;
    --bg: #e8e8e8;
    --midnight: #0f0f0f;
    --charcoal: #1a1a1a;
    --shadow: #2e2e2e;
    --stone: #6b6b6b;
    --haze: #a0a0a0;
    --cloud: #d4d4d4;
    --pearl: #e8e8e8;
    --paper: #f5f5f5;
    --frost: #7eb8c9;
    --amber: #c9a87e;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Commissioner", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wght" 300;
    background: var(--bg);
    color: var(--charcoal);
    line-height: 1.72;
    letter-spacing: 0.01em;
    transition: background-color 0.6s ease;
}

a { color: inherit; }

[lang="ko"], [lang="zh"] { font-size: 120%; font-weight: 500; font-feature-settings: "kern" 1; }

.timeline {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 100;
    padding: 28px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #f5f5f5;
}

.timeline-brand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: #e8e8e8;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-variation-settings: "wght" 200;
    padding-bottom: 18px;
    border-bottom: 1px solid #2e2e2e;
}

.timeline-brand span:first-child { letter-spacing: 0; color: var(--accent); }

.current-hour {
    margin: 24px 0 18px;
    min-height: 1.1rem;
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-variation-settings: "wght" 200;
}

.timeline-list {
    position: relative;
    flex: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: #2e2e2e;
}

.timeline-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 14px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2e2e2e;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.timeline-label {
    color: #a0a0a0;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-variation-settings: "wght" 200;
}

.timeline-list li.passed .timeline-dot { background: #f5f5f5; }
.timeline-list li.active .timeline-dot { background: var(--accent); animation: pulseHour 2s ease-in-out infinite; }
.timeline-list li.active .timeline-label { color: #f5f5f5; }
.timeline-list li:hover .timeline-dot { transform: scale(1.5); background: var(--accent); }

.tooltip {
    position: absolute;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f0f0f;
    color: #f5f5f5;
    border: 1px solid #2e2e2e;
    padding: 4px 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.timeline-list li:hover .tooltip { opacity: 1; }

.timeline-indicator {
    position: absolute;
    left: 29px;
    top: 112px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transition: top 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0), border-color 0.3s ease;
    pointer-events: none;
}

@keyframes pulseHour { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.day-grid {
    margin-left: 220px;
    display: grid;
    grid-template-columns: 1fr minmax(40px, 80px);
    min-height: 100vh;
}

.day-section, .night {
    grid-column: 1 / 3;
    position: relative;
    min-height: 100vh;
    padding: clamp(72px, 10vw, 128px) clamp(40px, 8vw, 120px);
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dawn { background: #e8e8e8; display: flex; align-items: center; }
.morning {
    background: #f5f5f5;
    background-image: repeating-linear-gradient(0deg, #e8e8e8, #e8e8e8 1px, transparent 1px, transparent 48px), repeating-linear-gradient(90deg, #e8e8e8, #e8e8e8 1px, transparent 1px, transparent 48px);
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 48px;
    align-items: center;
}
.afternoon { background: #f5f5f5; }
.evening {
    background: #1a1a1a;
    color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.night {
    background: #0f0f0f;
    color: #d4d4d4;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.evening-fade {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%);
}

.hero-copy { max-width: 980px; z-index: 2; }
h1, h2 {
    font-family: "Commissioner", Inter, system-ui, sans-serif;
    font-variation-settings: "wght" 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(4rem, 10vw, 9rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: 30px; font-variation-settings: "wght" 500; }
p { font-size: clamp(1rem, 1.8vw, 1.15rem); max-width: 760px; color: #6b6b6b; margin-bottom: 28px; }
.evening p, .night p { color: #d4d4d4; }
.tagline { font-size: clamp(1.15rem, 2vw, 1.5rem); color: #2e2e2e; max-width: 840px; }

.eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-variation-settings: "wght" 200;
    margin-bottom: 18px;
}

.text-link {
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.3s ease-out;
    padding-bottom: 5px;
}
.evening .text-link, .night .text-link { color: #f5f5f5; }
.text-link:hover { background-size: 100% 1px; }

.section-marker {
    position: absolute;
    left: clamp(24px, 4vw, 58px);
    top: clamp(48px, 7vw, 82px);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #6b6b6b;
}

.gutter-mark { position: absolute; right: clamp(20px, 4vw, 58px); top: 24%; }
.circle-mark { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.triangle-mark { width: 0; height: 0; border-left: 10px solid #6b6b6b; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.square-mark { width: 16px; height: 16px; background: #a0a0a0; }

.split-text p + p { margin-top: 48px; }
.shape-stack { display: flex; flex-direction: column; align-items: center; gap: 54px; }
.hangul-grid {
    width: 150px;
    height: 150px;
    border: 1px solid #d4d4d4;
    background-image: repeating-linear-gradient(0deg, #e8e8e8, #e8e8e8 1px, transparent 1px, transparent 48px), repeating-linear-gradient(90deg, #e8e8e8, #e8e8e8 1px, transparent 1px, transparent 48px);
    display: grid;
    place-items: center;
    color: #6b6b6b;
    font-size: 3rem;
}

.reading-column { max-width: 860px; margin: 0 auto; padding: 30px 0; }
blockquote {
    font-variation-settings: "wght" 200;
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.08em;
    line-height: 1.5;
    color: #2e2e2e;
    margin: 56px 0;
}
.day-arc { width: min(100%, 720px); height: auto; display: block; margin: 44px auto 0; }
.day-arc path, .day-arc line { fill: none; stroke: #a0a0a0; stroke-width: 2; }
.day-arc .arc-sun { fill: var(--accent); }
.float-shape { position: absolute; border-radius: 50%; background: #d4d4d4; }
.fs-one { width: 26px; height: 26px; left: 10%; top: 35%; }
.fs-two { width: 52px; height: 52px; right: 12%; top: 56%; background: #e8e8e8; }
.fs-three { width: 14px; height: 14px; left: 20%; bottom: 18%; background: #a0a0a0; }
.evening-copy { width: min(760px, 72%); margin-right: 6vw; z-index: 2; }

.petal-cluster { position: relative; width: 120px; height: 120px; transition: transform 0.4s ease-out; }
.petal-cluster span { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; background: #d4d4d4; border-radius: 50%; transform-origin: 0 0; transition: transform 0.4s ease-out; }
.petal-cluster span:nth-child(2n) { background: #a0a0a0; }
.petal-cluster span:nth-child(1) { transform: rotate(0deg) translate(20%, -95%); }
.petal-cluster span:nth-child(2) { transform: rotate(72deg) translate(20%, -95%); }
.petal-cluster span:nth-child(3) { transform: rotate(144deg) translate(20%, -95%); }
.petal-cluster span:nth-child(4) { transform: rotate(216deg) translate(20%, -95%); }
.petal-cluster span:nth-child(5) { transform: rotate(288deg) translate(20%, -95%); }
.petal-cluster:hover span:nth-child(1) { transform: rotate(15deg) translate(30%, -108%); }
.petal-cluster:hover span:nth-child(2) { transform: rotate(87deg) translate(30%, -108%); }
.petal-cluster:hover span:nth-child(3) { transform: rotate(159deg) translate(30%, -108%); }
.petal-cluster:hover span:nth-child(4) { transform: rotate(231deg) translate(30%, -108%); }
.petal-cluster:hover span:nth-child(5) { transform: rotate(303deg) translate(30%, -108%); }
.petal-large { width: 120px; height: 120px; }
.medium { width: 72px; height: 72px; }
.small { width: 32px; height: 32px; }
.hero-petal { position: absolute; right: 12%; top: 18%; transform: rotate(-12deg) scale(1.4); opacity: 0.9; }
.rotate-a { transform: rotate(18deg); }
.rotate-b { transform: rotate(-28deg); }
.evening-petal { position: absolute; right: 12%; bottom: 16%; opacity: 0.35; }

.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal > * { transition-delay: var(--delay, 0ms); }

.star { position: absolute; border-radius: 50%; background: #2e2e2e; }
.s1 { width: 6px; height: 6px; left: 12%; top: 18%; }
.s2 { width: 18px; height: 18px; left: 25%; top: 72%; background: #1a1a1a; }
.s3 { width: 4px; height: 4px; right: 16%; top: 24%; background: #a0a0a0; }
.s4 { width: 24px; height: 24px; right: 26%; bottom: 18%; background: #2e2e2e; }
.s5 { width: 10px; height: 10px; left: 48%; top: 35%; background: #6b6b6b; }
.s6 { width: 14px; height: 14px; right: 8%; bottom: 40%; background: #1a1a1a; }
.s7 { width: 5px; height: 5px; left: 70%; top: 12%; background: #d4d4d4; }

@media (max-width: 768px) {
    .timeline { width: 48px; padding: 16px 10px; align-items: center; }
    .timeline-brand span:last-child, .timeline-label, .current-hour { display: none; }
    .timeline-list li { justify-content: center; gap: 0; }
    .timeline-dot { width: 6px; height: 6px; }
    .timeline-list::before { left: 50%; transform: translateX(-50%); }
    .tooltip { left: 30px; }
    .timeline-indicator { left: 13px; width: 20px; height: 20px; }
    .day-grid { margin-left: 48px; display: block; }
    .day-section, .night { padding: 76px 24px; min-height: 100vh; }
    .morning { grid-template-columns: 1fr; gap: 42px; }
    .shape-stack { align-items: flex-start; }
    .evening { justify-content: flex-start; }
    .evening-copy { width: 100%; margin: 0; }
    .hero-petal { right: -20px; top: 68%; transform: rotate(-12deg) scale(0.9); }
    .gutter-mark { display: none; }
}
