:root {
  --bg: #f2f6f7;
  --surface: #ffffff;
  --surface-alt: #e4edef;
  --text: #10222a;
  --text-muted: #48606a;
  --border: rgba(16, 34, 42, 0.12);
  --accent: #125e6e;
  --accent-2: #c2803d;
  --secondary: #1a3a45;
  --on-accent: #ffffff;
  --dark: #0c1c23;
  --radius: 2px;
  --radius-btn: 2px;
  --font-heading: Baskerville, 'Baskerville Old Face', Georgia, serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --content-width: 1180px;
  --section-pad: 108px;
  --header-h1: clamp(40px, 6.5vw, 72px);
  --header-h2: clamp(28px, 4.4vw, 44px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  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: 3px;
}

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

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

h1 {
  font-size: var(--header-h1);
  line-height: 1.08;
}

h2 {
  font-size: var(--header-h2);
}

h3 {
  font-size: clamp(20px, 2.4vw, 28px);
}

p {
  margin: 0 0 1.1em;
}

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

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

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

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

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

.section--dark {
  background: var(--dark);
  color: #d5e0e4;
}

.section--dark h2,
.section--dark h3,
.section--dark .kicker {
  color: #e8f0f2;
}

.section--dark .kicker {
  color: rgba(213, 224, 228, 0.7);
}

.section--dark p {
  color: #c5d2d7;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  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);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-2);
}

.independence-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.independence-strip p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-brand-row {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

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

.brand-lockup span {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1;
}

.header-nav-row {
  padding: 0;
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  min-height: 52px;
  position: relative;
}

.nav-panel > nav {
  grid-column: 2;
  justify-self: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

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

.nav-links a:hover {
  color: var(--text);
}

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

.nav-contact {
  grid-column: 3;
  justify-self: end;
}

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

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

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

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

.nav-panel {
  display: contents;
}

@media (max-width: 900px) {
  .nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 48px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--border);
    padding: 12px 0 16px;
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-contact {
    position: static;
    transform: none;
    width: 100%;
    padding-top: 8px;
  }

  .nav-contact a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
  }
}

.hero-corner {
  position: relative;
  padding: calc(var(--section-pad) - 24px) 0 var(--section-pad);
  overflow: hidden;
}

.hero-corner__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px 48px;
  align-items: start;
}

.hero-corner__title {
  grid-column: 1 / -1;
  max-width: 18ch;
  margin: 0;
}

.hero-corner__intro {
  grid-column: 2;
  margin-top: -12px;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-corner__photo {
  grid-column: 2;
  justify-self: end;
  width: min(100%, 380px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: -72px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

.hero-corner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-corner__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-corner__intro {
    grid-column: 1;
    margin-top: 0;
    max-width: none;
  }

  .hero-corner__photo {
    grid-column: 1;
    justify-self: start;
    width: min(100%, 320px);
    margin-bottom: -48px;
  }
}

@media (max-width: 480px) {
  .hero-corner__photo {
    width: 100%;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.category-card__body {
  padding: 28px 28px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.category-card__body h3 {
  margin: 0;
  padding-top: 4px;
}

.category-card__body p {
  color: var(--text-muted);
  flex: 1;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.amenities-lead {
  max-width: 62ch;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 18px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.amenity-tile {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.amenity-tile h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.amenity-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

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

@media (max-width: 700px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.arrival-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.arrival-note h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.arrival-note p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

@media (max-width: 1024px) {
  .arrival-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.testimonials-grid__intro p {
  color: var(--text-muted);
  max-width: 34ch;
}

.quote-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-block {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.quote-block p {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}

.quote-block cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.regions-compose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.regions-names {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.regions-names span {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.15;
  color: #e8f0f2;
}

.regions-compose p {
  max-width: 42ch;
  margin: 0;
}

@media (max-width: 768px) {
  .regions-compose {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.closing-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.closing-cta__panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}

.closing-cta__panel p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .closing-cta {
    grid-template-columns: 1fr;
  }
}

.page-title-block {
  padding: calc(var(--section-pad) - 28px) 0 48px;
}

.page-title-block p {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 18px;
  margin: 0;
}

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

.catalog-close p {
  max-width: 62ch;
  color: var(--text-muted);
}

.row-catalog {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 64px;
}

.row-card {
  display: grid;
  grid-template-columns: 40% 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.row-card--flip {
  grid-template-columns: 1fr 40%;
}

.row-card--flip .row-card__media {
  order: 2;
}

.row-card--flip .row-card__body {
  order: 1;
}

.row-card__media {
  min-height: 280px;
}

.row-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.row-card__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-top: none;
}

.row-card__body h2 {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: clamp(24px, 3vw, 34px);
}

.venue-meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.row-card__body p.venue-desc {
  color: var(--text-muted);
  margin: 0;
}

.row-card__body .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .row-card,
  .row-card--flip {
    grid-template-columns: 1fr;
  }

  .row-card--flip .row-card__media,
  .row-card--flip .row-card__body {
    order: initial;
  }

  .row-card__body {
    padding: 28px;
  }
}

.premier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 64px;
}

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

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

.premier-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.premier-card__body h2 {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: clamp(22px, 2.2vw, 28px);
}

.premier-card__body .venue-desc {
  color: var(--text-muted);
  flex: 1;
  margin: 0;
}

.premier-card__body .btn {
  align-self: stretch;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 900px) {
  .premier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.gems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 64px;
  align-items: start;
}

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

.gem-card--image-bottom {
  flex-direction: column;
}

.gem-card--image-bottom .gem-card__media {
  order: 2;
}

.gem-card--image-bottom .gem-card__body {
  order: 1;
}

.gem-card--image-bottom .gem-card__btn-wrap {
  order: 3;
}

.gem-card__media {
  position: relative;
}

.gem-card__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.gem-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(12, 28, 35, 0.82), rgba(12, 28, 35, 0.15));
}

.gem-card__body {
  padding: 24px 28px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gem-card__body .venue-desc {
  color: var(--text-muted);
  margin: 0;
}

.gem-card__btn-wrap {
  padding: 12px 28px 28px;
}

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

.editorial-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: var(--section-pad);
}

.editorial-index {
  position: sticky;
  top: 120px;
  padding: 20px 0;
}

.editorial-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.editorial-index a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
}

.editorial-index a:hover {
  color: var(--accent);
}

.editorial-prose section {
  padding: 0 0 56px;
  scroll-margin-top: 120px;
}

.editorial-prose h2 {
  margin-bottom: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.editorial-prose p {
  color: var(--text-muted);
  max-width: 68ch;
}

@media (max-width: 900px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-index {
    position: static;
    background: var(--surface-alt);
    padding: 20px 24px;
    border-radius: var(--radius);
  }

  .editorial-index ol {
    border-left: none;
    padding-left: 0;
  }
}

.contact-intro {
  background: var(--surface-alt);
  padding: var(--section-pad) 0 56px;
}

.contact-intro p {
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 18px;
}

.contact-email {
  margin-top: 20px;
  font-size: 16px;
}

.contact-form-wrap {
  padding: 56px 0 var(--section-pad);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  max-width: 820px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  width: 100%;
}

.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);
  outline-offset: 1px;
}

.agree-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
}

.agree-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.agree-row label {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.form-error {
  display: none;
  width: 100%;
  font-size: 14px;
  color: #8b2e2e;
}

.form-error.is-visible {
  display: block;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-status {
  display: none;
  font-size: 14px;
  color: #8b2e2e;
}

.form-status.is-visible {
  display: block;
}

.confirm-panel {
  max-width: 640px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
}

.confirm-panel h2 {
  margin-bottom: 16px;
}

.confirm-panel p {
  color: var(--text-muted);
}

.confirm-again {
  margin-top: 24px;
}

.confirm-panel[hidden],
.contact-form[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.legal-body {
  padding: 48px 0 var(--section-pad);
}

.legal-body h1 {
  margin-bottom: 12px;
}

.legal-body > p:first-of-type {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: clamp(22px, 3vw, 30px);
}

.legal-body h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 20px;
}

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

.sitemap-body {
  padding: 48px 0 var(--section-pad);
}

.sitemap-body > p {
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 32px;
}

.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  line-height: 2;
}

.sitemap-links a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

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

.sitemap-links .sep {
  margin: 0 12px;
  color: var(--text-muted);
  user-select: none;
}

.site-footer {
  background: var(--dark);
  color: #c5d2d7;
  padding: 72px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-group-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col a {
  color: #d5e0e4;
  text-decoration: none;
  font-size: 14px;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-brand-col .brand-lockup {
  color: #e8f0f2;
  margin-bottom: 18px;
}

.footer-brand-col .brand-lockup span {
  color: #e8f0f2;
}

.footer-blurb {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
  color: #aebcc2;
}

.footer-email {
  margin-bottom: 22px;
}

.footer-email a {
  color: #e8f0f2;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 240, 242, 0.35);
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-pill {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aebcc2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}

.footer-row-meta {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row-meta a {
  color: #aebcc2;
  font-size: 13px;
  text-decoration: none;
}

.footer-row-meta a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 28px 0 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-bottom .independence-footer {
  font-size: 12px;
  line-height: 1.55;
  color: #8fa0a8;
  max-width: 72ch;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

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

.footer-legal a:hover,
.footer-legal button:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: #7a8c94;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer-links-col {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 32px, var(--content-width));
  }

  :root {
    --section-pad: 72px;
  }
}

.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-anchor {
  scroll-margin-top: 100px;
}

.consent-banner {
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(12, 28, 35, 0.14);
  border-radius: 16px;
  margin: 0 auto 32px;
  width: min(100% - 48px, var(--content-width));
  padding: 28px 32px;
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}

.consent-banner__text {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 62ch;
}

.consent-banner__text a {
  color: var(--accent);
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

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

.consent-btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.consent-pill {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(12, 28, 35, 0.12);
}

.consent-pill[hidden] {
  display: none !important;
}

.consent-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.consent-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 28, 35, 0.45);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.consent-dialog {
  background: var(--surface);
  border-radius: 12px;
  width: min(100%, 440px);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(12, 28, 35, 0.22);
}

.consent-dialog h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.consent-dialog > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.consent-cat {
  border-top: 1px solid var(--border);
  padding: 14px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-cat:last-of-type {
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.consent-cat input {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent-cat label {
  flex: 1;
}

.consent-cat strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}

.consent-cat span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 480px) {
  .consent-banner {
    width: min(100% - 32px, var(--content-width));
    padding: 22px;
    border-radius: 12px;
  }

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

  .consent-btn {
    width: 100%;
    text-align: center;
  }
}
