/* ============================================
   NagomiMichi Museum Notes - Shared Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@300;400;500;600;700&display=swap');

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

:root {
  /* Colors */
  --cream: #F9F5F0;
  --warm-white: #F2ECE4;
  --indigo: #3A4A5A;
  --cedar: #7B8D6F;
  --ink: #2C2C2C;
  --ochre: #D9B382;
  --text-muted: #6B6B6B;
  --border-light: rgba(58, 74, 90, 0.15);
  --border-medium: rgba(58, 74, 90, 0.3);
  
  /* Typography */
  --font-serif-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-serif-en: 'EB Garamond', 'Georgia', serif;
  --font-sans-en: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --footer-bg: #F2ECE4;
}

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

body {
  font-family: var(--font-sans-ja);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body[lang="en"] {
  font-family: var(--font-sans-en);
}

/* --- Language Toggle System --- */
[data-lang-ja], [data-lang-en] {
  display: none;
}

html[lang="ja"] [data-lang-ja],
body[lang="ja"] [data-lang-ja] {
  display: block;
}

html[lang="en"] [data-lang-en],
body[lang="en"] [data-lang-en] {
  display: block;
}

/* For inline elements */
span[data-lang-ja], span[data-lang-en] {
  display: none;
}

html[lang="ja"] span[data-lang-ja],
body[lang="ja"] span[data-lang-ja] {
  display: inline;
}

html[lang="en"] span[data-lang-en],
body[lang="en"] span[data-lang-en] {
  display: inline;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-ja);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

body[lang="en"] h1,
body[lang="en"] h2,
body[lang="en"] h3,
body[lang="en"] h4,
body[lang="en"] h5,
body[lang="en"] h6 {
  font-family: var(--font-serif-en);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.9;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--cedar);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section-padding {
  padding: var(--space-3xl) 0;
}

.section-padding-sm {
  padding: var(--space-xl) 0;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(249, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(249, 245, 240, 0.98);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  font-family: var(--font-serif-ja);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

body[lang="en"] .header-brand {
  font-family: var(--font-serif-en);
  font-size: 1rem;
}

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

.header-nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.header-nav-links a {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.header-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cedar);
  transition: width 0.3s ease;
}

.header-nav-links a:hover::after,
.header-nav-links a.active::after {
  width: 100%;
}

.header-nav-links a.active {
  color: var(--cedar);
}

.lang-toggle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-medium);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--indigo);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.office-block h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body[lang="ja"] .office-block h4 {
  font-family: var(--font-sans-ja);
  text-transform: none;
  letter-spacing: 0.05em;
}

.office-detail {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--text-muted);
}

.office-detail .label {
  display: inline-block;
  min-width: 80px;
  color: var(--ink);
  font-weight: 500;
}

.footer-legal {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--indigo);
}

.footer-lang-toggle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--indigo);
  color: #fff;
  padding: var(--space-md) 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.8125rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--ochre);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: #fff;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cookie-btn:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-btn-primary {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
}

.cookie-btn-primary:hover {
  background: #c9a372;
  border-color: #c9a372;
}

/* Cookie preferences modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--cream);
  padding: var(--space-xl);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  margin-bottom: var(--space-md);
  color: var(--indigo);
}

.cookie-modal-content p {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-category-label {
  font-weight: 500;
}

.cookie-category-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--cedar);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
  margin-top: var(--space-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--indigo);
  background: var(--indigo);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: var(--cedar);
  border-color: var(--cedar);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: #fff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(58, 74, 90, 0.08);
  transform: translateY(-2px);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  font-family: var(--font-serif-ja);
}

body[lang="en"] .card-title {
  font-family: var(--font-serif-en);
}

.card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.form-label .required {
  color: #c44;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cedar);
  box-shadow: 0 0 0 3px rgba(123, 141, 111, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 0.8125rem;
  color: #c44;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

/* --- Page Header --- */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
  background: var(--warm-white);
  margin-bottom: var(--space-2xl);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.page-header .lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Museum Grid --- */
.museum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

/* --- Month Tabs --- */
.month-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.month-tab {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-family: inherit;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.month-tab:hover {
  border-color: var(--border-medium);
  color: var(--ink);
}

.month-tab.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

/* --- Museum Detail Page --- */
.museum-detail-header {
  margin-bottom: var(--space-xl);
}

.museum-detail-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: var(--space-xl);
}

.museum-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  padding: var(--space-md);
  background: var(--warm-white);
  border-radius: 6px;
}

.meta-item {
  font-size: 0.9375rem;
}

.meta-item .meta-label {
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  color: var(--indigo);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body[lang="ja"] .meta-item .meta-label {
  text-transform: none;
  letter-spacing: 0.02em;
}

.meta-item .meta-value {
  color: var(--ink);
}

/* --- FAQ --- */
.faq-list {
  margin-top: var(--space-xl);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) 0;
}

.faq-question {
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--indigo);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: var(--space-xs) 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.9375rem;
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cedar);
  font-weight: 600;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

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

.breadcrumbs a:hover {
  color: var(--indigo);
}

.breadcrumbs span {
  margin: 0 4px;
}

/* --- Thank You / 404 --- */
.simple-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.simple-page h1 {
  margin-bottom: var(--space-md);
}

.simple-page p {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
}

/* --- Hero (Home) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26,37,47,0.3) 0%, rgba(26,37,47,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: var(--space-xl);
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: var(--space-md);
  font-family: var(--font-serif-ja);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

body[lang="en"] .hero-content h1 {
  font-family: var(--font-serif-en);
  letter-spacing: 0.02em;
}

.hero-content .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  font-weight: 300;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  opacity: 0.7;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--indigo);
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  font-family: var(--font-serif-en);
}

.step h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Seasonal Spotlight --- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.spotlight-image {
  border-radius: 6px;
  overflow: hidden;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.spotlight-content h2 {
  margin-bottom: var(--space-sm);
}

.spotlight-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ochre);
  color: var(--ink);
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.08em;
}

body[lang="ja"] .spotlight-label {
  font-family: var(--font-sans-ja);
}

.spotlight-content p {
  color: var(--text-muted);
  line-height: 1.9;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
  
  .header-nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-nav {
    gap: var(--space-sm);
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 245, 240, 0.98);
    z-index: 999;
    padding: var(--space-xl);
  }
  
  .mobile-menu.show {
    display: block;
  }
  
  .mobile-menu ul {
    list-style: none;
  }
  
  .mobile-menu li {
    margin-bottom: var(--space-md);
  }
  
  .mobile-menu a {
    font-size: 1.25rem;
    font-family: var(--font-serif-ja);
    color: var(--ink);
  }
  
  body[lang="en"] .mobile-menu a {
    font-family: var(--font-serif-en);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .museum-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section-padding {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 var(--space-md);
  }
  
  .header-inner {
    padding: 0 var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .month-tabs {
    gap: 4px;
  }
  
  .month-tab {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }
}

/* --- Print styles --- */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .hero-scroll-hint {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.6;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .page-header {
    padding-top: var(--space-lg);
  }
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid var(--cedar);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
