/* Art direction: bright beige, peaceful, and cultural.
   Typography: Cormorant Garamond + Manrope for a calm Nordic editorial feel.
   Density: spacious and mobile-friendly. */

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', Arial, sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);
  --text-xl: clamp(1.6rem, 1.15rem + 1.8vw, 2.6rem);
  --text-2xl: clamp(2.6rem, 1.5rem + 4vw, 5.2rem);
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --radius-lg: 1.25rem;
  --color-bg: #fbf6ee;
  --color-surface: #fffaf2;
  --color-border: rgba(92, 78, 58, 0.14);
  --color-text: #3a2f24;
  --color-text-muted: #7d6f61;
  --color-primary: #9b7b52;
  --shadow-sm: 0 12px 30px rgba(124, 96, 62, 0.08);
  --content: 1180px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-4) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.brand svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-5);
  font-size: var(--text-sm);
}

.site-nav a,
.event-card a {
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.event-card a:hover,
.event-card a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--color-primary);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video { object-fit: cover; }

.hero-overlay {
  background: linear-gradient(to top, rgba(92, 72, 48, 0.56), rgba(92, 72, 48, 0.16) 45%, rgba(92, 72, 48, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fffaf2;
  padding: clamp(7rem, 14vw, 12rem) 0 var(--space-16);
}

.hero h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero h1 {
  font-size: var(--text-2xl);
}

.hero-text,
.event-card p,
.contact-card p {
  color: var(--color-text-muted);
}

.hero-text {
  max-width: 34rem;
  margin: var(--space-5) 0 0;
  color: rgba(255, 250, 242, 0.9);
}

.section {
  padding: clamp(var(--space-12), 10vw, var(--space-24)) 0;
}

.section-head,
.visit-grid {
  display: grid;
  gap: var(--space-6);
}

.section-label {
  margin: 0 0 var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section-head {
  grid-template-columns: 1fr;
  margin-bottom: var(--space-8);
}

h2 {
  font-size: var(--text-xl);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.event-card,
.contact-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.event-card h3 {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
  margin-bottom: var(--space-4);
}

.event-card p,
.contact-card p {
  margin: 0 0 var(--space-4);
}

.event-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.event-card a,
.contact-card a {
  color: var(--color-primary);
  font-weight: 700;
}

.visit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: var(--space-5);
}

@media (max-width: 860px) {
  .event-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .site-nav {
    gap: var(--space-3);
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 6rem 0 var(--space-10);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .hero-text {
    max-width: 28ch;
  }

  .event-card,
  .contact-card {
    padding: var(--space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
