:root {
  --paper: #fffaf1;
  --paper-strong: #f7efe2;
  --ink: #211b16;
  --muted: #675b4e;
  --green: #2f5538;
  --green-dark: #19351f;
  --red: #a43225;
  --gold: #d79b2c;
  --line: rgba(33, 27, 22, 0.16);
  --shadow: 0 18px 50px rgba(46, 33, 19, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(47, 85, 56, 0.08), transparent 38%),
    linear-gradient(240deg, rgba(164, 50, 37, 0.08), transparent 42%),
    var(--paper);
}

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

a {
  color: inherit;
}

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

.teaser-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.teaser {
  width: min(100%, 760px);
  text-align: center;
}

.teaser-logo {
  width: clamp(150px, 32vw, 260px);
  margin: 0 auto 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.teaser h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.teaser p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.teaser-footer {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 800;
}

.teaser-footer a {
  color: var(--muted);
  text-decoration: none;
}

.teaser-footer a:hover,
.teaser-footer a:focus-visible {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
}

.brand span {
  font-size: clamp(1rem, 2vw, 1.2rem);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(36px, 7vw, 74px) clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 7vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 10vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 33, 19, 0.16);
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button.secondary {
  background: transparent;
}

.hero-mark {
  justify-self: center;
  width: min(100%, 430px);
  padding: clamp(16px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-mark img {
  border-radius: 50%;
}

.quick-info {
  width: min(calc(100% - 36px), var(--max));
  margin: -32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-info article {
  min-height: 120px;
  padding: 24px;
  background: #fff;
}

.quick-info span,
.day,
.traffic-list dt {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-info strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 118px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.tradition-grid article,
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(46, 33, 19, 0.1);
}

.program-card {
  padding: clamp(24px, 4vw, 34px);
}

.program-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.program-card li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.section-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.traffic-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.traffic-list div {
  padding: 18px;
  background: var(--paper-strong);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
}

.traffic-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.map-panel {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.map-panel figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tradition {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--green-dark);
  color: #fff;
}

.tradition .eyebrow {
  color: #f1be56;
}

.tradition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tradition-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.tradition-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  padding-bottom: clamp(46px, 8vw, 86px);
}

.contact-box {
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
}

.contact-box p {
  max-width: 540px;
  margin: 14px auto 26px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 44px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
}

.legal-nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.legal-nav a {
  color: var(--muted);
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--red);
}

.legal-main {
  width: min(calc(100% - 36px), 900px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 86px) 0;
}

.legal-card {
  padding: clamp(26px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--green);
  font-weight: 800;
}

.legal-status {
  margin: 18px 0 0;
  padding: 16px;
  background: var(--paper-strong);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 36px), 640px);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-notice a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.cookie-notice button {
  min-height: 40px;
  padding: 8px 12px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: min(78vw, 320px);
  }

  .quick-info,
  .program-grid,
  .tradition-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    margin-top: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .teaser-footer {
    position: static;
    justify-content: center;
    margin-top: 18px;
  }

  .teaser-page {
    padding-bottom: 190px;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: 178px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
