:root {
    /* Color Palette - Natural Materials */
    --bg-primary: #FAF8F5;
    /* Warm cream */
    --bg-secondary: #F0EDE7;
    /* Rice paper */
    --text-primary: #2C2C2C;
    /* Charcoal */
    --text-secondary: #6B6860;
    /* Stone gray */
    --text-muted: #A39E96;
    /* Muted */
    --accent-warm: #C4A484;
    /* Muted terracotta */
    --border-subtle: #E8E4DE;
    /* Whisper beige */

    /* Spacing */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 2);
    /* 16px */
    --space-sm: calc(var(--space-unit) * 4);
    /* 32px */
    --space-md: calc(var(--space-unit) * 8);
    /* 64px */
    --space-lg: calc(var(--space-unit) * 12);
    /* 96px */
    --space-xl: calc(var(--space-unit) * 20);
    /* 160px */

    /* Typography */
    --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    --font-display: 'Cormorant Garamond', serif;

    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-kr);
    line-height: 1.8;
    /* Korean typography rule */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 300;
    /* Light weights for elegance */
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    font-weight: 300;
    letter-spacing: 0.02em;
    /* Generous letter spacing */
}

a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    /* Micro-interaction rule */
    text-decoration-color: var(--border-subtle);
    transition: text-decoration-color 0.3s ease;
}

a:hover {
    text-decoration-color: var(--text-primary);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.9) contrast(0.95);
    /* Imagery rule */
    border-radius: 2px;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.text-container {
    max-width: 680px;
    /* Content width rule */
    margin: 0 auto;
}

.section {
    padding: var(--space-lg) 0;
    /* Min 80px+ padding */
}

.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Components */
.btn-quiet {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s ease;
    font-family: var(--font-kr);
    font-weight: 400;
    cursor: pointer;
}

.btn-quiet:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.mono-nums {
    font-variant-numeric: tabular-nums oldstyle-nums;
}

/* Specific Section Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    border-color: rgba(232, 228, 222, 0.5);
    background: rgba(250, 248, 245, 0.95);
}

.nav-link {
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 400px;
}

.table-schedule {
    width: 100%;
    border-collapse: collapse;
}

.table-schedule th,
.table-schedule td {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    font-weight: 300;
}

.table-schedule th {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: var(--space-xs);
}

.nav-header {
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
}

.logo:hover {
    text-decoration: none;
}

/* Micro-interaction: Hover Images */
.image-wrapper {
    overflow: hidden;
    border-radius: 2px;
}

.image-hover {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-wrapper:hover .image-hover {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Button Refinement */
.btn-quiet {
    position: relative;
    overflow: hidden;
}

.btn-quiet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.05);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-quiet:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}