:root {
  --ink: #2a1816;
  --muted: #6d564f;
  --olive: #882018;
  --olive-dark: #5c1612;
  --clay: #e4c48a;
  --cream: #f6f1ec;
  --paper: #fffcf8;
  --line: rgba(42, 24, 22, 0.1);
  --shadow: 0 18px 40px rgba(92, 22, 18, 0.08);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(136, 32, 24, 0.07), transparent 60%),
    var(--cream);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, .brand-name, .section-card-title, .footer-brand {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

a { color: var(--olive-dark); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--olive-dark);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 50;
}

.skip-link:focus { top: 1rem; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 236, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark { display: flex; flex-shrink: 0; }
.brand-logo { width: 3.35rem; height: 3.35rem; display: block; }

.brand-name {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.brand-place {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.lang-toggle {
  min-height: 2.9rem;
  min-width: 4.6rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--olive-dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.lang-toggle:hover,
.lang-toggle:focus,
.lang-toggle.show {
  border-color: var(--olive);
  background: #fff;
  color: var(--olive-dark);
}

.lang-dropdown .dropdown-menu {
  min-width: 5.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.lang-dropdown .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
  color: var(--ink);
  padding: 0.55rem 0.75rem;
}

.lang-dropdown .dropdown-item.active,
.lang-dropdown .dropdown-item:active {
  background: var(--olive-dark);
  color: #fff;
}

.btn-sections {
  min-height: 2.9rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--olive-dark);
  color: #f6f1e8;
  font-weight: 700;
  font-size: 1.02rem;
}

.btn-sections:hover { background: var(--olive); color: #fff; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.15rem 0 1.2rem;
}

.menu-tile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.1rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-tile i {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f4e6e2;
  color: var(--olive);
  flex-shrink: 0;
}

.menu-tile.active,
.menu-tile:hover {
  border-color: transparent;
  background: var(--olive-dark);
  color: #fff;
}

.menu-tile.active i,
.menu-tile:hover i {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero { padding: 1.25rem 0 0.25rem; }

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 22rem;
  padding: 1.8rem 1.35rem 1.6rem;
  border-radius: 28px;
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(155deg, #5c1612 0%, #882018 72%, #a33b2e 100%);
  color: #f7f3ec;
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 1; max-width: 40rem; }

.hero-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 0.92;
}

.hero-panel .tagline {
  max-width: 34rem;
  margin-bottom: 0.7rem;
  color: rgba(247, 243, 236, 0.94);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.35;
}

.hero-excerpt {
  max-width: 36rem;
  margin: 0;
  color: rgba(247, 243, 236, 0.78);
  font-size: 1.12rem;
}

.hero-mark {
  position: absolute;
  right: -1.5rem;
  bottom: -2.2rem;
  width: min(46vw, 280px);
  pointer-events: none;
}

.hero-mark svg { width: 100%; height: auto; display: block; }

.kicker {
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.section-block { padding: 1.6rem 0 2.5rem; }
.page-head { padding: 2.4rem 0 0.2rem; }

.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.narrow { max-width: 46rem; }

.page-sheet {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 1.5rem 1.25rem 1.7rem;
  box-shadow: var(--shadow);
}

.page-intro { margin-bottom: 0.4rem; }

.section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 11rem;
  padding: 1.3rem 3.4rem 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(23, 36, 31, 0.06);
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(92, 22, 18, 0.04);
}

.section-card:hover {
  color: inherit;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(92, 22, 18, 0.1);
}

.section-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
  border-radius: 14px;
  background: #f4e6e2;
  color: var(--olive);
  font-size: 1.2rem;
}

.section-card-title {
  font-size: 1.45rem;
  line-height: 1.2;
}

.section-card-text {
  color: var(--muted);
  font-size: 1.02rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-go {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f4e6e2;
  color: var(--olive-dark);
}

.section-card:hover .section-go {
  background: var(--olive-dark);
  color: #fff;
}

.home-spotlight { padding-top: 0.4rem; padding-bottom: 0.2rem; }
.home-spotlight + .home-topics { padding-top: 1.2rem; }

.home-panel h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.home-hours {
  margin: 0.7rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.home-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #f6f1e8;
  color: inherit;
  text-decoration: none;
}

.home-link:hover { background: #efe8dc; color: inherit; }

.home-link-title {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
}

.home-link-text {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.home-link i { font-size: 1.25rem; color: var(--olive-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem 2rem;
  margin-top: 1.2rem;
}

.home-topics-title {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin: 0.2rem 0 1rem;
}

.home-body { margin-top: 1.5rem; }

.prose { font-size: 1.22rem; line-height: 1.7; }
.prose p { margin-bottom: 1rem; }
.prose h2 { font-size: 1.7rem; margin: 1.8rem 0 0.6rem; }
.prose a { text-underline-offset: 0.15em; }

.audio-block {
  margin-bottom: 1.4rem;
  padding: 1rem 1rem 0.8rem;
  border-radius: 18px;
  background: #f8eee9;
}

.audio-label { margin-bottom: 0.35rem; font-weight: 700; }
audio { width: 100%; height: 3.25rem; }

.page-banner { padding: 1.15rem 0 0; }
.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.page-figure { margin: 0 0 1.4rem; }
.page-figure img,
.material-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.material-card img { margin: -0.2rem -0.2rem 1rem; width: calc(100% + 0.4rem); max-width: none; }

.materials-title {
  font-size: 1.7rem;
  margin: 0.4rem 0 1rem;
}

.material-card {
  background: #fff;
  border: 1px solid rgba(23, 36, 31, 0.06);
  border-radius: 22px;
  padding: 1.3rem;
  box-shadow: 0 10px 30px rgba(92, 22, 18, 0.04);
}

.material-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.material-card p { color: var(--muted); }
.soon { font-size: 1.05rem; }

.fact-list { display: grid; gap: 0; margin-bottom: 0.5rem; }
.fact {
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
.fact:first-child { padding-top: 0; }
.fact-label {
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}
.fact-value { font-size: 1.3rem; margin: 0; }

.phone-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.15;
  color: var(--olive-dark);
  text-decoration: none;
}

.phone-link:hover { text-decoration: underline; text-underline-offset: 0.12em; }

.cta-row { margin: 1.2rem 0 0.4rem; }

.btn-primary,
.btn-clay {
  min-height: 3.25rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--olive-dark);
  --bs-btn-border-color: var(--olive-dark);
  --bs-btn-hover-bg: var(--olive);
  --bs-btn-hover-border-color: var(--olive);
  --bs-btn-active-bg: var(--olive);
  --bs-btn-active-border-color: var(--olive);
  --bs-btn-color: #f6f1e8;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
}

.btn-clay {
  background: var(--clay);
  border-color: var(--clay);
  color: #3f2614;
}

.btn-clay:hover { background: #d4ae6e; border-color: #d4ae6e; color: #3f2614; }

.back-row { margin: 1.6rem 0 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; text-underline-offset: 0.15em; }

.site-footer {
  margin-top: 2.5rem;
  padding: 2.2rem 0 2rem;
  background: var(--olive-dark);
  color: rgba(247, 243, 236, 0.78);
  font-size: 1.05rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.footer-partners { margin: 0; max-width: 40rem; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.12em; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}

@media (max-width: 575px) {
  .brand-logo { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.45rem; }
}

@media (min-width: 700px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .page-sheet { padding: 2rem 2.1rem 2.2rem; }
  .footer-inner {
    grid-template-columns: 1.5fr 0.8fr;
    align-items: end;
  }
  .footer-contact { align-items: flex-end; text-align: right; }
}

@media (min-width: 992px) {
  .hero-panel {
    min-height: 28rem;
    padding: 3.2rem 3.2rem 2.6rem;
    align-items: end;
  }
  .hero-mark { width: 340px; right: 1rem; bottom: -1rem; }
  .menu-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .section-card:hover { transform: none; }
}

.a11y-toggle {
  position: fixed;
  z-index: 40;
  left: 1rem;
  bottom: 1rem;
  width: 4.25rem;
  height: 4.25rem;
  border: 3px solid #5c1612;
  border-radius: 999px;
  background: #fff;
  color: #5c1612;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(92, 22, 18, 0.28);
}

.a11y-toggle:hover {
  background: #5c1612;
  color: #fff;
}

.a11y-panel {
  position: fixed;
  z-index: 40;
  left: 1rem;
  bottom: 6.1rem;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(92, 22, 18, 0.18);
}

.a11y-panel[hidden] { display: none !important; }

.a11y-title {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.a11y-label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.a11y-size {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.a11y-size button,
.a11y-option,
.a11y-reset {
  min-height: 2.8rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.a11y-size button[aria-pressed="true"],
.a11y-option[aria-pressed="true"] {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: #fff;
}

.a11y-option,
.a11y-reset {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  text-align: left;
  padding: 0.55rem 0.8rem;
}

.cookie-bar {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: #2a1816;
  color: #f6f1e8;
}

.cookie-bar[hidden] { display: none !important; }

.cookie-bar p {
  margin: 0;
  max-width: 46rem;
  font-size: 1.05rem;
}

body.has-cookie { padding-bottom: 7.5rem; }
body.has-cookie .a11y-toggle { bottom: 8.2rem; }
body.has-cookie .a11y-panel { bottom: 12.2rem; }

html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 150%; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 0.15em; }

html.a11y-spacing body { line-height: 1.9; letter-spacing: 0.03em; word-spacing: 0.1em; }

html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .hero-panel,
html.a11y-contrast .section-card,
html.a11y-contrast .home-link,
html.a11y-contrast .home-link i,
html.a11y-contrast .page-sheet,
html.a11y-contrast .material-card,
html.a11y-contrast .menu-tile,
html.a11y-contrast .site-footer,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .cookie-bar {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.a11y-contrast .hero-panel h1,
html.a11y-contrast .hero-panel .tagline,
html.a11y-contrast .hero-excerpt,
html.a11y-contrast .hero-kicker,
html.a11y-contrast .section-card,
html.a11y-contrast .section-card-text,
html.a11y-contrast .lead,
html.a11y-contrast .footer-partners,
html.a11y-contrast .site-footer,
html.a11y-contrast .site-footer a,
html.a11y-contrast a {
  color: #fff !important;
}

html.a11y-contrast .section-icon,
html.a11y-contrast .section-go,
html.a11y-contrast .menu-tile i,
html.a11y-contrast .btn-sections,
html.a11y-contrast .btn-primary,
html.a11y-contrast .a11y-toggle {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html.a11y-contrast :focus-visible { outline-color: #ffe14a !important; }
