:root {
  --bg: #141112;
  --surface: #1d1819;
  --surface-alt: #251f20;
  --text: #f3efef;
  --text-muted: #b0a4a5;
  --border: rgba(243, 239, 239, 0.13);
  --accent: #a8443f;
  --accent-2: #8a7448;
  --secondary: #0d0b0b;
  --on-accent: #f3efef;
  --deep: #0a0808;
  --radius: 10px;
  --btn-radius: 0px;
  --content: 1140px;
  --font-h: Optima, Candara, "Segoe UI", sans-serif;
  --font-b: Georgia, "Times New Roman", serif;
  --pad-y: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(243, 239, 239, 0.012) 2px,
      rgba(243, 239, 239, 0.012) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(243, 239, 239, 0.01) 2px,
      rgba(243, 239, 239, 0.01) 3px
    );
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-h);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.09;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 26px);
}

p {
  margin: 0 0 1.1em;
}

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

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

.kicker {
  font-family: var(--font-h);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.utility-strip {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0;
  font-size: 0.82rem;
}

.utility-strip .wrap {
  display: flex;
  justify-content: flex-end;
}

.utility-strip a {
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.utility-strip a:hover {
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 17, 18, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
}

.brand-mark {
  font-family: var(--font-h);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark:hover {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  border-radius: var(--btn-radius);
}

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

.btn {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

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

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

.btn-solid:hover {
  background: transparent;
  color: var(--text);
}

.text-link {
  font-family: var(--font-h);
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  padding-bottom: 0.1rem;
}

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

.hero-type {
  background: var(--surface);
  padding: calc(var(--pad-y) * 0.85) 0 calc(var(--pad-y) * 0.55);
}

.hero-type h1 {
  max-width: 18ch;
  margin-bottom: 0;
  margin-inline: 0;
}

.hero-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 1.4rem 0 1.5rem;
  border: 0;
}

.hero-standfirst {
  max-width: 42rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.section-tight {
  padding: calc(var(--pad-y) * 0.7) 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.feature-card .card-media {
  overflow: hidden;
  min-height: 320px;
}

.feature-card .card-media img,
.venue-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature-card:hover .card-media img,
.venue-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card-body h2,
.card-body h3 {
  margin-bottom: 0.5rem;
}

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

.card-body .text-link {
  margin-top: 0.5rem;
  align-self: flex-start;
}

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

.venue-card {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.venue-card .card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.venue-card .card-body {
  flex: 1;
  padding: 1.4rem 1.35rem 1.6rem;
}

.qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.qa-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.qa-list li:first-child {
  border-top: 1px solid var(--border);
}

.qa-q {
  font-family: var(--font-h);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.qa-a {
  color: var(--text-muted);
  margin: 0;
}

.panel {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}

.panel-quiet {
  background: rgba(37, 31, 32, 0.55);
}

.method-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.method-item {
  background: var(--surface);
  border-top: 2px solid var(--accent-2);
  padding: 1.4rem 1.3rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.method-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.method-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 2rem;
}

.footer-notices {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-notices p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  max-width: 52rem;
}

.footer-sailing {
  font-family: var(--font-h);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(176, 164, 165, 0.45);
  margin-bottom: 2rem;
  overflow: hidden;
  white-space: nowrap;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
}

.footer-col {
  padding: 0 1.6rem;
  border-right: 1px solid var(--border);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 40px;
  height: 42px;
  object-fit: contain;
}

.footer-brand span {
  font-family: var(--font-h);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

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

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

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

.footer-col li {
  margin-bottom: 0.45rem;
}

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

.footer-col a:hover {
  color: var(--text);
}

.footer-email {
  margin: 2.2rem 0 1.4rem;
  font-family: var(--font-h);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  letter-spacing: 0.04em;
}

.footer-email a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  align-items: center;
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.footer-bottom-links a,
.footer-bottom-links button {
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
  color: var(--text);
}

.page-hero {
  padding: calc(var(--pad-y) * 0.55) 0 1.5rem;
  background: var(--surface);
}

.page-hero h1 {
  margin-inline: 0;
  max-width: none;
}

.page-hero .hero-standfirst {
  margin-bottom: 0;
}

.enquiry-note {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-hero .meta-line {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.lead-photo {
  margin: 0 0 2.5rem;
}

.lead-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.monogram {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-h);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  flex-shrink: 0;
}

.byline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.byline-text a {
  color: var(--text);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.article-prose h2 {
  margin-top: 1.8rem;
}

.article-prose p {
  color: var(--text);
}

.facts-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.35rem 1.3rem;
  position: sticky;
  top: 80px;
  font-size: 0.92rem;
}

.facts-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.facts-panel dt {
  font-family: var(--font-h);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 0.85rem;
}

.facts-panel dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.facts-panel a {
  color: var(--text);
}

.aboard-section {
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.review-card {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.review-card .stars {
  font-family: var(--font-h);
  color: var(--accent-2);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.review-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  quotes: none;
}

.guest-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.guest-photo-btn {
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  max-width: 140px;
}

.guest-photo-btn img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.guest-photo-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.review-attribution {
  display: block;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  line-height: 1.45;
}

.cta-block {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  margin-bottom: 2rem;
}

.cta-block h2 {
  margin-bottom: 0.75rem;
}

.cta-address {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.map-slot {
  margin: 1.5rem 0;
}

.map-slot iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
}

.map-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text-muted);
}

.rg-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.7s ease;
}

.gallery-strip a:hover img,
.gallery-strip figure:hover img {
  transform: scale(1.03);
}

.editorial-toc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding: calc(var(--pad-y) * 0.55) 0 var(--pad-y);
}

.toc-nav {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 1.2rem 1.15rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.toc-nav h2 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.toc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-nav a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
}

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

.editorial-body section {
  margin-bottom: 2.8rem;
  scroll-margin-top: 90px;
}

.method-page {
  padding: calc(var(--pad-y) * 0.55) 0 var(--pad-y);
}

.method-col {
  max-width: 42rem;
  margin-inline: auto;
}

.method-col section {
  margin-bottom: 3rem;
}

.standfirst-p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.authors-list {
  padding: calc(var(--pad-y) * 0.55) 0 var(--pad-y);
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 1.6rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  scroll-margin-top: 90px;
}

.author-card .monogram {
  width: 56px;
  height: 56px;
}

.author-card h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 0.2rem;
}

.author-role {
  color: var(--accent-2);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.enquiry-page {
  padding: calc(var(--pad-y) * 0.55) 0 var(--pad-y);
}

.enquiry-col {
  max-width: 62ch;
  margin-inline: auto;
}

.enquiry-form label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.enquiry-form .field {
  margin-bottom: 1.15rem;
}

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

.enquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.agree-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.2rem 0 1rem;
}

.agree-row input {
  width: auto;
  margin-top: 0.3rem;
}

.agree-row label {
  font-family: var(--font-b);
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0;
  color: var(--text-muted);
}

.form-error {
  color: var(--accent);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.confirm-panel {
  background: var(--surface);
  border-top: 2px solid var(--accent-2);
  padding: 1.8rem 1.6rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.legal-page,
.sitemap-page {
  padding: calc(var(--pad-y) * 0.5) 0 var(--pad-y);
}

.legal-page .wrap,
.prose-narrow {
  max-width: 46rem;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(22px, 3vw, 28px);
}

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

.sitemap-grid h2 {
  font-size: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

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

.sitemap-grid li {
  margin-bottom: 0.45rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 8, 8, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 92vw;
  text-align: center;
}

.lightbox-inner img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

.lightbox-caption {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.consent-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: min(380px, calc(100vw - 2rem));
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 1.25rem 1.2rem 1.15rem;
}

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

.consent-banner h2 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.consent-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.consent-actions button {
  font-family: var(--font-h);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.consent-actions button:hover,
.consent-actions .consent-accept:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.consent-banner .consent-policy {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10, 8, 8, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consent-dialog {
  width: min(420px, 100%);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}

.consent-dialog h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.consent-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.consent-cat:last-of-type {
  margin-bottom: 1rem;
}

.consent-cat input:disabled {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card .card-media {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

  .method-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .facts-panel {
    position: static;
  }

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

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

  .nav-links {
    position: fixed;
    inset: auto 0 0 0;
    top: 0;
    background: var(--secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 120;
    border-left: 1px solid var(--border);
    width: min(320px, 88vw);
    margin-left: auto;
    height: 100vh;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-drawer-brand {
    display: block;
    font-family: var(--font-h);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 0.5rem;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 110;
    display: none;
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    border-right: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }

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

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

  .toc-nav {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-y: 72px;
  }

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

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

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

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .hero-photo img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .consent-banner {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

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

  .card-body {
    padding: 1.3rem 1.15rem;
  }

  .cta-block {
    padding: 1.6rem 1.2rem;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

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

.nav-drawer-brand {
  display: none;
}

@media (max-width: 880px) {
  .nav-drawer-brand {
    display: block;
  }
}
