:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-alt: #f0f0ec;
  --text: #1b1b1a;
  --text-muted: #585856;
  --border: rgba(27, 27, 26, 0.12);
  --accent: #2e2e2c;
  --accent-2: #9a7b4f;
  --secondary: #3d3d3a;
  --on-accent: #fbfbf9;
  --dark: #1b1b1a;
  --radius: 20px;
  --radius-btn: 2px;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1320px;
  --section-pad: 120px;
  --header-h: 84px;
  --shadow-soft: 0 24px 60px -24px rgba(27, 27, 26, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.06; }
h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

p { margin: 0 0 1.1em; }

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.section { padding: var(--section-pad) 0; }
.section--band { background: var(--surface-alt); }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%); }

.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 60ch;
}

.prose p:last-child { margin-bottom: 0; }


.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 15px 26px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.btn:hover { background: transparent; color: var(--text); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-link {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.btn-link:hover { color: var(--accent-2); text-decoration: underline; }

.text-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-2);
  padding-bottom: 1px;
}
.text-link:hover { color: var(--accent-2); }


.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled,
body:not(.is-home) .site-header {
  background: var(--surface);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.nav__brand img { width: 38px; height: 44px; object-fit: contain; }
.nav__brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav__links a,
.nav__contact a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__contact a:hover { color: var(--text); border-bottom-color: var(--accent-2); }
.nav__links a[aria-current="page"],
.nav__contact a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent-2);
}
.nav__contact { margin-left: auto; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  width: 44px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__links { gap: 18px; }
  .nav__links a, .nav__contact a { font-size: 12px; }
}

@media (max-width: 899px) {
  .nav { position: relative; }
  .nav__toggle { display: inline-flex; order: 3; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 32px 24px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .nav__contact { display: none; }
  .nav-mobile-contact { display: block; }
}

.nav-mobile-contact { display: none; }


.independence-notice {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.independence-notice p { margin: 0; max-width: none; }


.hero { padding: 72px 0 var(--section-pad); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.hero h1 { margin-bottom: 28px; }
.hero__copy p { color: var(--text-muted); font-size: 17px; max-width: 54ch; }
.hero__frame {
  position: relative;
  margin: 14px 14px 0 0;
}
.hero__frame::before {
  content: "";
  position: absolute;
  top: 14px;
  right: -14px;
  bottom: -14px;
  left: 14px;
  border: 1px solid var(--accent-2);
  z-index: 0;
}
.hero__frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 45%;
  border-radius: var(--radius);
  background: var(--surface-alt);
}
@media (max-width: 899px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__frame { margin: 12px 12px 0 0; }
}


.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.cat-card { display: block; text-decoration: none; color: inherit; }
.cat-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.cat-card__panel {
  position: relative;
  margin-top: -150px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 30px 34px;
  z-index: 2;
}
.cat-card__panel h3 { margin-bottom: 10px; }
.cat-card__panel p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.cat-card__more {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
}
.cat-card:hover .cat-card__media img { transform: scale(1.03); }
.cat-card:hover .cat-card__panel { box-shadow: var(--shadow-soft); }
@media (max-width: 899px) {
  .cat-grid { grid-template-columns: 1fr; gap: 56px; }
  .cat-card__media { aspect-ratio: 16 / 10; }
}


.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.mission__left {
  border-right: 1px solid var(--border);
  padding-right: 64px;
}
.mission__right { color: var(--text-muted); }
@media (max-width: 899px) {
  .mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .mission__left { border-right: none; padding-right: 0; }
}


.timeline {
  border-left: 1px solid var(--border);
  margin-left: 4px;
  padding-left: 48px;
}
.timeline__item { position: relative; padding-bottom: 56px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -53px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-2);
}
.timeline__item h3 { margin-bottom: 8px; }
.timeline__item p { color: var(--text-muted); margin: 0; max-width: 58ch; }


.testi__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.testi__quotes { display: grid; gap: 28px; }
.testi__quote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 34px;
}
.testi__quote p {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.testi__quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 899px) {
  .testi__grid { grid-template-columns: 1fr; gap: 40px; }
}


.amen__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.amen__tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 26px;
}
.amen__tile h3 { font-size: 20px; margin-bottom: 8px; }
.amen__tile p { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 899px) {
  .amen__tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .amen__tiles { grid-template-columns: 1fr; }
}


.page-head { padding: 88px 0 56px; }
.page-head .lead { margin-top: 8px; }


.masonry {
  columns: 2;
  column-gap: 48px;
}
.masonry .venue-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 48px;
  break-inside: avoid;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.venue-card__media { position: relative; }
.venue-card__media img { width: 100%; object-fit: cover; }
.venue-card__nameplate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  padding: 18px 26px;
}
.venue-card__nameplate h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}
.venue-card__loc {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.venue-card__body { padding: 26px 30px 34px; }
.venue-card__body > p { color: var(--text-muted); margin-bottom: 24px; }
.masonry .venue-card--img-bottom .venue-card__media { order: 2; }
.masonry .venue-card--img-bottom { display: flex; flex-direction: column; }
@media (max-width: 899px) {
  .masonry { columns: 1; }
}


.hl-list { display: grid; gap: 40px; }
.hl-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}
.hl-row__thumb {
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
}
.hl-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-row__main { text-align: center; }
.hl-row__title { margin: 0 0 14px; font-size: 26px; }
.hl-row__middot { color: var(--accent-2); padding: 0 8px; }
.hl-row__city {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hl-row__desc { color: var(--text-muted); font-size: 15px; max-width: 52ch; margin: 0 auto 20px; }
.hl-row__action { display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.hl-row__action .btn { width: 100%; }
@media (max-width: 768px) {
  .hl-row { grid-template-columns: 1fr; text-align: center; }
  .hl-row__thumb { margin: 0 auto; }
  .hl-row__action { align-self: center; width: 100%; margin-top: 8px; }
}


.bp-list { display: grid; gap: 56px; }
.bp-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.bp-row__media { margin: 0; }
.bp-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.bp-row__body { padding: 48px 52px 48px 0; }
.bp-row--flip { grid-template-columns: 1fr 40%; }
.bp-row--flip .bp-row__media { order: 2; }
.bp-row--flip .bp-row__body { padding: 48px 0 48px 52px; }
.bp-row__name { margin: 0 0 10px; font-size: 30px; }
.bp-row__rule {
  width: 64px;
  height: 2px;
  background: var(--accent-2);
  border: none;
  margin: 0 0 22px;
}
.bp-row__loc {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.bp-row__desc { color: var(--text-muted); margin-bottom: 26px; }
@media (max-width: 768px) {
  .bp-row, .bp-row--flip { grid-template-columns: 1fr; }
  .bp-row--flip .bp-row__media { order: 0; }
  .bp-row__body, .bp-row--flip .bp-row__body { padding: 0 28px 34px; }
}


.catalog-close {
  margin-top: 72px;
  padding: 40px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 16px;
}
.catalog-close p { margin: 0; max-width: 72ch; }


.prose-col {
  max-width: 70ch;
  margin: 0 auto;
}
.prose-col h2 { margin-top: 0; }
.prose-col section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.prose-col section:first-of-type { padding-top: 24px; }
.prose-col section:last-of-type { border-bottom: none; padding-bottom: 80px; }
.prose-col p { color: var(--text); }


.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.band:last-of-type { border-bottom: none; }
.band__ornament {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 44px 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band--flip .band__ornament { order: 2; }
.band__ornament .orn-num {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.band__ornament .orn-quote {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.5;
  color: var(--secondary);
  margin: 0;
}
@media (max-width: 899px) {
  .band { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .band--flip .band__ornament { order: 0; }
}


.contact-band {
  background: var(--surface-alt);
  padding: 88px 0;
}
.contact-band .lead { max-width: 58ch; }
.contact-form-wrap { padding: 72px 0 120px; }
.contact-form {
  max-width: 880px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.form-field { display: flex; flex-direction: column; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  line-height: 1.5;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 1px;
}
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  grid-column: 1 / -1;
}
.form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-agree label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.form-agree label a { color: var(--text); }
.form-error {
  grid-column: 1 / -1;
  color: #8c2f2f;
  font-size: 14px;
  min-height: 1em;
  margin: 0;
}
.form-actions { grid-column: 1 / -1; }
.form-actions .btn { min-width: 220px; }
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}

.confirm-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 52px;
}
.confirm-panel h2 { margin-bottom: 16px; }
.confirm-panel p { color: var(--text-muted); }
.confirm-panel .ref {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.confirm-panel .btn { margin-top: 24px; }


.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-band {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-brand img { width: 40px; height: 46px; object-fit: contain; }
.footer-brand span {
  font-family: var(--font-heading);
  font-size: 24px;
}
.footer-blurb {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 56ch;
  margin-bottom: 26px;
}
.footer-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 64px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  color: var(--secondary);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { padding: 36px 0 44px; }
.footer-notice {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-meta .copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.cookie-settings-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 9px 16px;
  cursor: pointer;
}
.cookie-settings-btn:hover { border-color: var(--accent-2); color: var(--text); }


.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-list li { border-bottom: 1px solid var(--border); }
.sitemap-list li:first-child { border-top: 1px solid var(--border); }
.sitemap-list a {
  display: block;
  padding: 20px 8px;
  text-decoration: none;
  font-size: 17px;
  color: var(--text);
}
.sitemap-list a:hover { color: var(--accent-2); }
.sitemap-list .sitemap-note {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 12px;
}


.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.consent-bar[hidden] { display: none; }
.consent-bar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
}
.consent-bar__copy {
  padding-right: 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.consent-bar__copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  max-width: 56ch;
}
.consent-bar__policy {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
}
.consent-bar__controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-left: 32px;
  min-width: 240px;
}
.consent-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.consent-btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.consent-btn--primary:hover { background: transparent; color: var(--text); }
.consent-btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.consent-btn--secondary:hover { border-color: var(--accent-2); }
.consent-btn--ghost {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 2px;
  cursor: pointer;
  align-self: flex-start;
}
.consent-bar__cats {
  padding: 4px 0;
}
.consent-bar__cats-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.consent-cat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.consent-cat__name { font-weight: 600; font-size: 14.5px; }
.consent-cat__state {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  align-self: center;
}
.consent-cat__desc {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.consent-toggle {
  appearance: none;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
}
.consent-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  transition: transform 160ms ease, background 160ms ease;
}
.consent-toggle:checked::after {
  transform: translateX(20px);
  background: var(--accent-2);
}
.consent-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.consent-toggle:focus-visible,
.consent-btn:focus-visible,
.consent-bar__policy:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .consent-bar__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 24px 24px;
  }
  .consent-bar__copy {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 18px;
  }
  .consent-bar__controls {
    padding-left: 0;
    min-width: 0;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .consent-bar__controls .consent-btn { width: 100%; }
}


html.js .reveal { opacity: 0; transition: opacity 240ms ease; }
html.js .reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transition: none; }
}
