/*
 * layout.css — Structural / skeletal layout
 * Lunar Birthday Calendar
 */

/* ── Spine ─────────────────────────────────────────────── */
.spine {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--rust) 0%, var(--rust-light) 60%, #A04030 100%);
  z-index: 100;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid rgba(196, 97, 74, 0.2);
  overflow: hidden;
}

/* Inner wrapper — matches .container width & padding */
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-4xl) var(--space-2xl) 100px;
  position: relative;
}

.header-seal {
  position: absolute;
  top: var(--space-lg); right: var(--space-4xl);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seal {
  width: 44px; height: 44px;
  border: 2px solid var(--rust);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-cn);
  font-size: 11px;
  color: var(--rust);
  letter-spacing: 1px;
  position: relative;
}
.seal::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--rust);
  opacity: 0.4;
}

.header-titles {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.vertical-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif-cn);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--indigo);
  margin-bottom: var(--space-md);
}

.main-title {
  font-family: var(--font-serif-en);
  font-size: 42px;
  font-weight: 300;
  font-style: italic;
  color: var(--indigo);
  line-height: 1.1;
}

.subtitle {
  font-family: var(--font-serif-en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--mist);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Ink-mountain SVG illustration */
.header-mountain {
  position: absolute;
  right: 0; bottom: 0;
  width: 340px;
  opacity: 0.18;
  pointer-events: none;
}

/* ── Main container ──────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-4xl) var(--space-4xl) 100px;
}

/* ── Section divider ─────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: 32px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--rust) 30%, transparent);
}
.section-label {
  font-family: var(--font-sans-cn);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--rust);
  text-transform: uppercase;
  white-space: nowrap;
}
