@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  --background: 42 40% 97%;
  --foreground: 220 25% 18%;
  --muted: 39 25% 91%;
  --muted-foreground: 218 11% 43%;
  --border: 38 22% 82%;
  --input: 38 22% 75%;
  --primary: 219 34% 24%;
  --primary-foreground: 42 40% 97%;
  --secondary: 153 18% 85%;
  --secondary-foreground: 219 34% 24%;
  --accent: 35 77% 53%;
  --accent-foreground: 220 25% 18%;
  --card: 40 33% 95%;
  --card-foreground: 220 25% 18%;
  --font-sans: 'DM Sans', ui-sans-serif, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, picture { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 3px; }
.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;
}

.site-shell { min-height: 100dvh; overflow: clip; }
.container-wide { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .97;
}
.body-copy {
  color: hsl(var(--muted-foreground));
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 38rem;
}
.section-pad { padding: 112px 0; }

.topline {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: .76rem;
  letter-spacing: .02em;
}
.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}
.topline a { color: hsl(var(--accent)); text-decoration: none; }
.topline-note { display: flex; align-items: center; gap: 10px; }
.topline-dot {
  width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--accent));
}

.site-header {
  position: relative;
  z-index: 20;
  background: hsl(var(--background) / .92);
  border-bottom: 1px solid hsl(var(--border));
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: -.09em;
  border-radius: 50%;
}
.logo-type { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.logo-name { font-family: var(--font-serif); font-size: 1.18rem; letter-spacing: -.035em; }
.logo-sub {
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  font-size: .54rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a {
  color: hsl(var(--muted-foreground));
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: hsl(var(--primary)); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: .73rem;
  text-decoration: none;
}
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: hsl(var(--primary));
  padding: 8px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding: 9px 16px 18px;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 14px 22px hsl(220 25% 18% / .07);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  text-decoration: none;
  font-size: .9rem;
}
.mobile-nav a:last-child { border: 0; }

.button-primary,
.button-quiet,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.button-primary:hover { background: hsl(219 34% 31%); transform: translateY(-1px); }
.button-quiet { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.button-quiet:hover { background: hsl(35 77% 60%); transform: translateY(-1px); }
.button-outline {
  border-color: hsl(var(--border));
  color: hsl(var(--primary));
  background: transparent;
}
.button-outline:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--muted));
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--primary));
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}
.button-link .icon { transition: transform .2s ease; }
.button-link:hover .icon { transform: translateX(3px); }
.icon { width: 15px; height: 15px; flex: none; }

.hero { padding: 86px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  gap: 72px;
  align-items: center;
}
.hero h1 {
  margin: 19px 0 27px;
  max-width: 670px;
  color: hsl(var(--primary));
  font-size: clamp(3.8rem, 7.3vw, 7rem);
}
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 31px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 29px;
  color: hsl(var(--muted-foreground));
  font-size: .78rem;
}
.hero-note .icon { color: hsl(var(--accent)); width: 17px; height: 17px; }

.media-frame {
  position: relative;
  overflow: hidden;
  background:
    center / cover no-repeat var(--lqip, hsl(var(--primary))),
    hsl(var(--primary));
  isolation: isolate;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, hsl(219 34% 16% / .18), hsl(219 34% 10% / .42));
  z-index: 1;
  pointer-events: none;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .55s ease, transform .9s ease;
}
.media-frame.is-loaded img {
  opacity: 1;
  transform: scale(1);
}
.media-frame .media-meta {
  position: absolute;
  z-index: 2;
  color: hsl(var(--primary-foreground));
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px hsl(220 25% 8% / .45);
}
.hero-media {
  min-height: 510px;
  animation: heroReveal .9s ease both;
}
.hero-media .media-meta { top: 48px; left: 47px; }
.hero-media .media-address {
  position: absolute;
  z-index: 2;
  bottom: 42px;
  left: 47px;
  color: hsl(42 40% 97% / .82);
  font-size: .8rem;
  line-height: 1.5;
  text-shadow: 0 1px 12px hsl(220 25% 8% / .45);
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.intro-strip {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.intro-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.intro-item {
  min-height: 132px;
  padding: 28px 34px;
  border-right: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.intro-item:first-child { padding-left: 0; }
.intro-item:last-child { border-right: 0; }
.intro-value { font-family: var(--font-serif); font-size: 1.7rem; color: hsl(var(--primary)); }
.intro-label { color: hsl(var(--muted-foreground)); font-size: .78rem; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}
.section-head h2 {
  margin: 9px 0 0;
  color: hsl(var(--primary));
  font-size: clamp(2.5rem, 4.4vw, 4.35rem);
}
.section-head .body-copy { font-size: .94rem; max-width: 300px; }
.event-grid { display: grid; grid-template-columns: 1.18fr .82fr .82fr; gap: 14px; }
.event-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease;
}
.event-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary)); }
.event-card.featured { background: hsl(var(--secondary)); min-height: 315px; }
.event-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-date strong {
  color: hsl(var(--primary));
  font-size: 1.5rem;
  font-family: var(--font-serif);
  letter-spacing: -.04em;
}
.event-card h3 {
  margin: 24px 0 9px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.05;
}
.event-card p {
  color: hsl(var(--muted-foreground));
  font-size: .85rem;
  line-height: 1.55;
  max-width: 24rem;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-top: 22px;
  color: hsl(var(--muted-foreground));
  font-size: .73rem;
}

.dark-band { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.dark-band .eyebrow { color: hsl(42 40% 97% / .55); }
.dark-band h2, .dark-band h3 { color: hsl(var(--primary-foreground)); }
.ritual-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: start;
}
.ritual-grid h2 {
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  margin: 11px 0 0;
}
.ritual-visual {
  margin-top: 34px;
  min-height: 280px;
  border: 1px solid hsl(42 40% 97% / .18);
}
.ritual-list { border-top: 1px solid hsl(42 40% 97% / .22); }
.ritual-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid hsl(42 40% 97% / .22);
}
.ritual-number {
  font-family: var(--font-mono);
  color: hsl(var(--accent));
  font-size: .72rem;
  padding-top: 4px;
}
.ritual-item h3 { margin: 0 0 7px; font-size: 1.08rem; }
.ritual-item p {
  margin: 0;
  color: hsl(42 40% 97% / .64);
  font-size: .88rem;
  line-height: 1.62;
  max-width: 35rem;
}

.split-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 95px;
  align-items: start;
}
.split-section h2 {
  margin: 10px 0 20px;
  color: hsl(var(--primary));
  font-size: clamp(2.8rem, 4.9vw, 5rem);
}
.split-media {
  margin-top: 28px;
  min-height: 320px;
  aspect-ratio: 4 / 3;
}
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.principle {
  min-height: 185px;
  padding: 24px;
  border-top: 2px solid hsl(var(--accent));
  background: hsl(var(--card));
}
.principle h3 {
  margin: 0 0 12px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.principle p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: .84rem;
  line-height: 1.6;
}

.responsible { background: hsl(153 18% 85%); }
.responsible-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.responsible h2 {
  margin: 11px 0 20px;
  color: hsl(var(--primary));
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}
.responsible-note { border-left: 2px solid hsl(var(--accent)); padding-left: 28px; }
.responsible-note strong {
  display: block;
  margin-bottom: 10px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.responsible-note p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: .9rem;
  line-height: 1.65;
}
.responsible-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

.page-hero { padding: 77px 0 71px; border-bottom: 1px solid hsl(var(--border)); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 80px;
}
.page-hero h1 {
  margin: 14px 0 0;
  color: hsl(var(--primary));
  font-size: clamp(3.25rem, 7vw, 6.7rem);
}
.page-hero .body-copy { justify-self: end; max-width: 370px; }
.page-content { padding: 84px 0 116px; }
.content-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 90px;
  align-items: start;
}
.content-grid h2 {
  margin: 0 0 18px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -.04em;
}
.content-grid p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 47rem;
}
.sidebar-card {
  padding: 27px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}
.sidebar-card h3 {
  margin: 0 0 16px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.sidebar-card p { font-size: .83rem; line-height: 1.6; margin: 0 0 18px; }
.meta-list { list-style: none; padding: 0; margin: 0; }
.meta-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid hsl(var(--border));
  padding: 13px 0;
  color: hsl(var(--muted-foreground));
  font-size: .81rem;
}
.meta-list .icon { color: hsl(var(--accent)); margin-top: 1px; width: 16px; height: 16px; }
.timeline { margin-top: 47px; border-top: 1px solid hsl(var(--border)); }
.timeline-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 25px 0;
  border-bottom: 1px solid hsl(var(--border));
  gap: 26px;
}
.timeline-row strong {
  color: hsl(var(--primary));
  font-family: var(--font-mono);
  font-size: .72rem;
}
.timeline-row h3 {
  margin: 0 0 8px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.timeline-row p { margin: 0; font-size: .86rem; }

.program-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.program-card {
  padding: 27px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}
.program-card.wide { grid-column: span 2; background: hsl(var(--secondary)); }
.program-card h3 {
  margin: 20px 0 9px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.program-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: .87rem;
  line-height: 1.62;
}
.program-top { display: flex; justify-content: space-between; align-items: start; }
.program-type {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--accent-foreground));
  background: hsl(var(--accent));
  padding: 6px 8px;
}
.program-date {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: .7rem;
}
.faq { margin-top: 70px; max-width: 800px; }
.faq h2 {
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
}
.faq-item { border-top: 1px solid hsl(var(--border)); }
.faq-item:last-child { border-bottom: 1px solid hsl(var(--border)); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  color: hsl(var(--primary));
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}
.faq-answer {
  display: none;
  padding: 0 35px 22px 0;
  color: hsl(var(--muted-foreground));
  font-size: .88rem;
  line-height: 1.65;
}
.faq-item.is-open .faq-answer { display: block; }
.faq-question .icon { transition: transform .2s ease; width: 18px; height: 18px; }
.faq-question[aria-expanded="true"] .icon { transform: rotate(180deg); }

.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-panel {
  padding: 29px;
  border: 1px solid hsl(var(--border));
  min-height: 230px;
  background: hsl(var(--card));
}
.venue-panel.tall {
  min-height: 330px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.venue-panel h3 {
  margin: 0 0 14px;
  color: inherit;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
}
.venue-panel p {
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  font-size: .87rem;
}
.venue-panel.tall p { color: hsl(42 40% 97% / .68); }
.venue-panel.media {
  padding: 0;
  min-height: 330px;
  overflow: hidden;
}
.venue-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  color: hsl(var(--accent));
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .9;
  text-align: center;
  border: 1px solid hsl(var(--accent) / .6);
}

.form-layout {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 100px;
}
.form-layout h2 {
  margin: 10px 0 20px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -.05em;
}
.form {
  display: grid;
  gap: 16px;
  padding: 29px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}
.field { display: grid; gap: 7px; }
.field label { color: hsl(var(--primary)); font-size: .76rem; font-weight: 600; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid hsl(var(--input));
  border-radius: 2px;
  padding: 12px 13px;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-size: .88rem;
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: hsl(var(--accent));
  outline: 2px solid hsl(var(--accent) / .2);
}
.form-note {
  color: hsl(var(--muted-foreground));
  font-size: .72rem;
  line-height: 1.55;
}
.success-box {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: hsl(153 18% 85%);
  color: hsl(var(--primary));
  font-size: .86rem;
  line-height: 1.5;
}
.success-box .icon { color: hsl(153 35% 32%); flex: none; width: 19px; height: 19px; }
.form-success { display: none; }
.form.is-sent .form-fields { display: none; }
.form.is-sent .form-success { display: grid; gap: 16px; }

.legal { max-width: 820px; }
.legal h2 {
  margin-top: 42px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2rem;
}
.legal p, .legal li {
  color: hsl(var(--muted-foreground));
  font-size: .9rem;
  line-height: 1.75;
}
.legal ul { padding-left: 20px; }

.site-footer {
  padding: 63px 0 35px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 50px;
  padding-bottom: 60px;
}
.site-footer .logo-name { color: hsl(var(--primary-foreground)); }
.site-footer .logo-sub { color: hsl(42 40% 97% / .52); }
.footer-copy {
  max-width: 275px;
  margin: 18px 0 0;
  color: hsl(42 40% 97% / .62);
  font-size: .82rem;
  line-height: 1.65;
}
.footer-title {
  color: hsl(var(--accent));
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links { display: grid; gap: 11px; margin-top: 16px; }
.footer-links a,
.footer-contact a {
  color: hsl(42 40% 97% / .72);
  text-decoration: none;
  font-size: .8rem;
}
.footer-links a:hover,
.footer-contact a:hover { color: hsl(var(--accent)); }
.footer-contact { display: grid; gap: 11px; margin-top: 16px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
  border-top: 1px solid hsl(42 40% 97% / .18);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: hsl(42 40% 97% / .5);
  font-family: var(--font-mono);
  font-size: .62rem;
}
.footer-bottom a { color: inherit; text-decoration: none; }

.cookie-banner {
  position: fixed;
  z-index: 50;
  bottom: 18px;
  left: 18px;
  width: min(510px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background) / .97);
  box-shadow: 0 16px 50px hsl(220 25% 18% / .16);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner h2 {
  margin: 0 0 8px;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.cookie-banner p {
  color: hsl(var(--muted-foreground));
  font-size: .78rem;
  line-height: 1.55;
  margin: 0;
}
.cookie-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 17px; }
.cookie-preferences {
  display: none;
  gap: 9px;
  border-top: 1px solid hsl(var(--border));
  margin-top: 16px;
  padding-top: 15px;
}
.cookie-preferences.is-open { display: grid; }
.cookie-preferences label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
}
.cookie-preferences input { accent-color: hsl(var(--accent)); }

.not-found {
  min-height: 65vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 50px 20px;
}
.not-found h1 {
  margin: 12px 0;
  color: hsl(var(--primary));
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .container-wide { width: min(100% - 32px, 720px); }
  .main-nav, .header-phone { display: none; }
  .menu-button { display: block; }
  .header-actions .button-primary { display: none; }
  .hero-grid,
  .page-hero-grid,
  .content-grid,
  .split-section,
  .ritual-grid,
  .responsible-grid,
  .form-layout { grid-template-columns: 1fr; gap: 45px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 6rem); }
  .hero-media { min-height: 410px; }
  .page-hero .body-copy { justify-self: start; }
  .section-pad, .page-content { padding: 78px 0; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 580px) {
  .container-wide { width: calc(100% - 28px); }
  .topline-inner {
    min-height: 49px;
    align-items: flex-start;
    padding: 9px 0;
    flex-direction: column;
    gap: 3px;
  }
  .header-inner { min-height: 72px; }
  .logo-name { font-size: 1.03rem; }
  .hero { padding: 49px 0 68px; }
  .hero h1 { font-size: 3.55rem; }
  .hero-actions,
  .hero-actions .button-primary,
  .hero-actions .button-outline { width: 100%; }
  .hero-media { min-height: 340px; }
  .hero-media .media-meta { top: 31px; left: 30px; }
  .hero-media .media-address { bottom: 27px; left: 30px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-item,
  .intro-item:first-child {
    border-right: 0;
    border-bottom: 1px solid hsl(var(--border));
    min-height: 92px;
    padding: 20px 0;
  }
  .intro-item:last-child { border-bottom: 0; }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 28px;
  }
  .section-head h2 { font-size: 3rem; }
  .event-grid,
  .program-list,
  .venue-grid,
  .principles { grid-template-columns: 1fr; }
  .event-card,
  .event-card.featured,
  .program-card.wide { grid-column: auto; min-height: 230px; }
  .split-section h2,
  .responsible h2,
  .form-layout h2 { font-size: 3rem; }
  .responsible-note { padding-left: 19px; }
  .timeline-row { grid-template-columns: 1fr; gap: 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { bottom: 10px; left: 10px; width: calc(100% - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .media-frame img,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
