:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-alt: #efece4;
  --text: #12211a;
  --text-muted: #4d5c55;
  --border: rgba(18, 33, 26, 0.12);
  --accent: #0f5132;
  --accent-2: #c9a227;
  --secondary: #1c3d2c;
  --on-accent: #ffffff;
  --dark-band: #0c1a13;
  --radius: 10px;
  --radius-btn: 6px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --font-heading: Garamond, "EB Garamond", Georgia, serif;
  --font-body: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  --content-width: 1040px;
  --section-pad: 68px;
  --header-h: 64px;
  --header-h-shrunk: 52px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: clamp(32px, 4.8vw, 50px);
}

h2 {
  font-size: clamp(22px, 3.2vw, 32px);
}

h3 {
  font-size: clamp(18px, 2.4vw, 22px);
}

p {
  margin: 0 0 1em;
}

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

.wrap {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

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

.kicker--on-dark {
  color: var(--accent-2);
}

.page-lead {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.page-lead--spaced {
  padding-bottom: 1.5rem;
}

.page-stack {
  padding-top: 1rem;
  padding-bottom: var(--section-pad);
}

.contact-page {
  padding-top: 1.5rem;
  padding-bottom: var(--section-pad);
}

.sitemap-pad {
  padding-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: min-height 200ms ease;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 200ms ease;
}

.site-header.is-scrolled .site-header__inner {
  min-height: var(--header-h-shrunk);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 35px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent-2);
}

.independence {
  margin: 1.25rem auto 0;
  width: min(100% - 40px, var(--content-width));
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.page-hero {
  padding: 2.5rem 0 0.5rem;
  background: var(--bg);
}

.page-hero .wrap {
  max-width: var(--content-width);
}

.hero {
  position: relative;
  min-height: max(420px, 62vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-band);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 26, 19, 0.55) 0%,
    rgba(12, 26, 19, 0.72) 55%,
    rgba(12, 26, 19, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--on-accent);
  width: min(100% - 40px, 720px);
  padding: 3rem 0;
}

.hero__content .kicker {
  color: var(--accent-2);
}

.hero__content h1 {
  color: var(--on-accent);
  margin-bottom: 0.75rem;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 36em;
  margin-inline: auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--surface {
  background: var(--surface);
}

.section__intro {
  max-width: 40em;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.category-card h3 {
  margin: 0;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.category-card .text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.category-card .text-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.15rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  text-align: left;
}

.accordion__btn::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.accordion__item.is-open .accordion__btn::after {
  content: "–";
}

.accordion__panel {
  display: none;
  padding: 0 0.15rem 1.1rem;
  color: var(--text-muted);
  max-width: 42em;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.note-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.35rem 1.2rem 1.2rem;
  overflow: hidden;
  min-height: 160px;
}

.note-card__num {
  position: absolute;
  top: 0.35rem;
  right: 0.7rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(18, 33, 26, 0.08);
  pointer-events: none;
}

.note-card h3 {
  position: relative;
  margin-bottom: 0.5rem;
}

.note-card p {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.regions-band {
  background: var(--dark-band);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--section-pad) 0;
}

.regions-band h2 {
  color: var(--on-accent);
}

.regions-band .section__intro {
  color: rgba(255, 255, 255, 0.72);
}

.regions-names {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--on-accent);
}

.regions-names span {
  opacity: 0.92;
}

.regions-names span:nth-child(even) {
  color: var(--accent-2);
}

.closing-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.closing-cta__panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.catalog-band {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.catalog-band:last-of-type {
  border-bottom: 0;
}

.catalog-band__media {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.catalog-band__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.catalog-band__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: rgba(12, 26, 19, 0.72);
  color: var(--on-accent);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.4px;
}

.catalog-band__body {
  text-align: center;
  padding: 1.75rem 1.25rem 2.25rem;
  max-width: 640px;
  margin-inline: auto;
}

.catalog-band__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.catalog-band__body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.catalog-close {
  padding: 2.5rem 0 var(--section-pad);
  color: var(--text-muted);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.masonry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.masonry-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.masonry-card__body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.masonry-card__btn {
  margin: 0 1.1rem 1.1rem;
  width: calc(100% - 2.2rem);
}

.masonry-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.masonry-card__title span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.masonry-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.editorial-block {
  padding: 2.25rem 0;
  max-width: 42em;
}

.editorial-block + .editorial-block {
  border-top: 1px solid var(--border);
}

.editorial-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.55rem;
}

.editorial-block h2 {
  margin-bottom: 1rem;
}

.editorial-block p {
  color: var(--text-muted);
}

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-agree input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-error {
  color: #8a1f1f;
  font-size: 0.88rem;
  margin: 0;
}

.form-error[hidden] {
  display: none;
}

.confirm-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.confirm-panel h2 {
  margin-bottom: 0.75rem;
}

.legal-body {
  padding-bottom: var(--section-pad);
}

.legal-body h2 {
  margin-top: 2rem;
  font-size: clamp(18px, 2.4vw, 24px);
}

.legal-body h3 {
  margin-top: 1.25rem;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
}

.legal-body ul {
  padding-left: 1.25rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: var(--section-pad);
}

.sitemap-group h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
}

.sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-group li {
  margin-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.45rem;
}

.sitemap-group a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.sitemap-group a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-band {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.footer-band:last-child {
  border-bottom: 0;
}

.footer-brand-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand-row .brand {
  margin-bottom: 0.5rem;
}

.footer-blurb {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 36em;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: var(--surface);
}

.footer-links-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-group h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
}

.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-group li {
  margin-bottom: 0.4rem;
}

.footer-group a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-group a:hover {
  color: var(--accent);
}

.back-to-top {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
  justify-self: end;
  align-self: start;
}

.footer-notice {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 52em;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.footer-legal a,
.footer-legal button {
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transition: opacity 240ms ease;
}

.reveal.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transition: none;
  }
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.consent-backdrop[hidden] {
  display: none;
}

.consent-modal {
  width: min(100%, 520px);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.35rem 1.2rem;
  color: var(--text);
}

.consent-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.consent-modal p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.consent-actions .btn {
  flex: 1 1 140px;
}

.consent-manage {
  margin-top: 0.75rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-cats {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 240ms ease, opacity 200ms ease, margin 200ms ease;
  margin-top: 0;
  pointer-events: none;
}

.consent-cats.is-open {
  max-height: 420px;
  opacity: 1;
  margin-top: 1rem;
  pointer-events: auto;
}

.consent-cat {
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.consent-cat label {
  font-size: 0.9rem;
  color: var(--text);
}

.consent-cat small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.consent-cat input {
  margin-top: 0.2rem;
}

.consent-policy {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

.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;
}

@media (max-width: 1024px) {
  .footer-links-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .back-to-top {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
  }

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

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--border);
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .closing-cta {
    grid-template-columns: 1fr;
  }

  .masonry {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(100% - 32px, var(--content-width));
  }

  .section {
    padding: 52px 0;
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

  .masonry {
    grid-template-columns: 1fr;
  }

  .footer-brand-row {
    grid-template-columns: 1fr;
  }

  .footer-links-row {
    grid-template-columns: 1fr 1fr;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .regions-names {
    gap: 1rem 1.75rem;
  }

  .catalog-band__media img {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 24px, var(--content-width));
  }

  .hero {
    min-height: 420px;
  }

  .footer-links-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-actions {
    flex-direction: column;
  }

  .consent-actions .btn {
    width: 100%;
  }

  .catalog-band__media img {
    height: 240px;
  }
}
