/* ==========================================================
   Chipperteampicnc — Editorial / Glass-overlay cards
   Palette: burgundy, ivory, champagne, charcoal, copper
   ========================================================== */

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

:root {
  --burgundy: #6E1F2E;
  --burgundy-deep: #4A1420;
  --ivory: #F8F3EA;
  --ivory-2: #F0E7D8;
  --champagne: #E9D9B8;
  --champagne-soft: #F3E9D3;
  --charcoal: #26211F;
  --charcoal-soft: #524843;
  --copper: #B06A43;
  --copper-text: #8A4B2A;
  --rule: rgba(38, 33, 31, 0.18);
  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

p { margin: 0; }
figure { margin: 0; }
address { font-style: normal; }

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--burgundy-deep); }

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

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: 8px;
  z-index: 300;
  padding: 8px 16px;
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--ivory); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.photo { filter: sepia(0.2) saturate(0.9) contrast(1.03); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 210;
  background: var(--ivory);
  color: var(--charcoal);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.brand:hover { color: var(--burgundy-deep); }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__name { min-width: 0; overflow-wrap: anywhere; }

.primary-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.primary-nav__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav__list > li { min-width: 0; }

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  color: var(--charcoal);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.primary-nav__link:hover { color: var(--burgundy); }
.primary-nav__link:hover::after,
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__link[aria-current="page"] { color: var(--burgundy); }
.primary-nav__num { font-family: var(--serif); font-size: 0.72rem; color: var(--copper-text); letter-spacing: 0; }

.header-cta {
  flex: 0 0 auto;
  padding: 10px 16px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.header-cta:hover { background: var(--burgundy-deep); color: var(--ivory); }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav-toggle:hover { border-color: var(--burgundy); color: var(--burgundy); }
.nav-toggle__bar {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] { background: var(--burgundy-deep); color: var(--ivory); border-color: var(--burgundy-deep); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Dropdown menu (small screens) */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  padding: 8px 24px 32px;
  background: var(--burgundy-deep);
  color: var(--ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid rgba(233, 217, 184, 0.25);
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.55);
  transform-origin: top center;
  animation: dropIn .4s var(--ease) both;
}
.mobile-menu :focus-visible { outline-color: var(--champagne); }
.mobile-menu__top { display: none; }
.mobile-menu .brand { color: var(--ivory); font-size: 1.1rem; }
.mobile-menu .brand:hover { color: var(--champagne); }
.mobile-menu__close {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(233, 217, 184, 0.45);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
}
.mobile-menu__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 217, 184, 0.2);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { color: var(--champagne); padding-left: 6px; }
.mobile-menu__num { flex: 0 0 auto; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--champagne); }
.mobile-menu__cta {
  align-self: flex-start;
  padding: 16px 24px;
  background: var(--champagne);
  color: var(--charcoal);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu__cta:hover { background: var(--ivory); color: var(--charcoal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--primary { background: var(--burgundy); color: var(--ivory); }
.btn--primary:hover { background: var(--burgundy-deep); color: var(--ivory); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--ivory); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 96px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(233, 217, 184, 0.55), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(176, 106, 67, 0.12), transparent 50%),
    var(--ivory);
  color: var(--charcoal);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.hero__grid > * { min-width: 0; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  color: var(--copper-text);
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.hero__title {
  margin: 24px 0;
  font-size: clamp(2.75rem, 7.2vw, 6.75rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.hero__title em, .page-hero__title em { font-style: italic; color: var(--burgundy); }
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--charcoal-soft);
}
.hero__lead { margin-top: 24px; max-width: 46ch; color: var(--charcoal-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line > span { display: block; animation: lineUp 1.2s var(--ease) both; animation-delay: var(--d, 0s); }

.fade-in { animation: fadeUp 1.2s var(--ease) both; animation-delay: .9s; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 64px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.stat { display: flex; flex-direction: column-reverse; gap: 12px; min-width: 0; }
.stat__num { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; color: var(--burgundy); }
.stat__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-soft); overflow-wrap: anywhere; }

.hero__visual { position: relative; min-width: 0; }
.hero__collage { position: relative; aspect-ratio: 6 / 5; }
.hero__collage::before {
  content: "";
  position: absolute;
  left: 5%; top: 4%;
  width: 58%; height: 80%;
  border: 1px solid var(--copper);
}
.collage__frame {
  position: absolute;
  overflow: hidden;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
  box-shadow: 0 24px 60px -30px rgba(38, 33, 31, 0.55);
  animation: frameIn 1.6s var(--ease) both;
}
.collage__frame img { width: 100%; height: 100%; object-fit: cover; }
.collage__frame--main { left: 0; top: 10%; width: 60%; height: 80%; animation-delay: .2s; }
.collage__frame--top { right: 0; top: 0; width: 40%; height: 46%; border: 8px solid var(--ivory); animation-delay: .55s; }
.collage__frame--bottom { right: 6%; bottom: 0; width: 44%; height: 44%; border: 8px solid var(--ivory); animation-delay: .85s; }

.collage__badge {
  position: absolute;
  left: 16px; bottom: 24px;
  z-index: 2;
  max-width: 44%;
  padding: 16px 24px;
  background: rgba(38, 33, 31, 0.74);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 217, 184, 0.35);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.35;
  animation: fadeUp 1.2s var(--ease) both;
  animation-delay: 1.2s;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.section-head > * { min-width: 0; }
.section-head__num {
  display: block;
  margin-bottom: 16px;
  color: var(--copper-text);
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.section-head__title { font-size: clamp(2.25rem, 5.5vw, 4.75rem); letter-spacing: -0.015em; }
.section-head__intro { max-width: 52ch; color: var(--charcoal-soft); }

/* Explore */
.explore { background: var(--ivory); color: var(--charcoal); }
.explore__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.explore__grid > * { min-width: 0; }
.explore__figure { position: relative; margin-top: 40px; }
.explore__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.explore__caption { margin-top: 16px; font-family: var(--serif); font-style: italic; color: var(--charcoal-soft); }
.explore__body { padding-top: 16px; }
.lead { font-size: 1.2rem; line-height: 1.65; }
.dropcap::first-letter {
  float: left;
  padding: 8px 12px 0 0;
  font-family: var(--serif);
  font-size: 4.4em;
  line-height: 0.8;
  color: var(--burgundy);
}
.explore__columns { column-count: 2; column-gap: 40px; margin-top: 40px; column-rule: 1px solid var(--rule); }
.explore__columns p { margin-bottom: 16px; break-inside: avoid; }

.contents { margin-top: 64px; padding-top: 24px; border-top: 2px solid var(--charcoal); }
.contents__title {
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--charcoal);
}
.contents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.contents__list > li { min-width: 0; }
.contents__link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.contents__link:hover { color: var(--burgundy); padding-left: 8px; }
.contents__num { flex: 0 0 auto; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--copper-text); }

/* Guides */
.guides { background: var(--ivory-2); color: var(--charcoal); }
.guide-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.guide-grid > .card:nth-child(1) { grid-column: span 7; min-height: 600px; }
.guide-grid > .card:nth-child(2) { grid-column: span 5; min-height: 600px; }
.guide-grid > .card:nth-child(n+3) { grid-column: span 4; min-height: 500px; }

/* ---------- Card: glass overlay ---------- */
.card { position: relative; min-width: 0; min-height: 460px; display: flex; }
.card__link {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
  isolation: isolate;
}
.card__link:hover { color: var(--ivory); }
.card__link:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.card__media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(38, 33, 31, 0) 35%, rgba(38, 33, 31, 0.55) 100%);
}
.card__panel {
  position: relative;
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 16px;
  padding: 24px;
  background: rgba(38, 33, 31, 0.74);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(233, 217, 184, 0.3);
  transition: transform .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease);
}
.card__panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 2px;
  background: var(--copper);
  transition: width .7s var(--ease);
}
.card__kicker { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); }
.card__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--ivory); }
.card__text { color: #EFE6D6; font-size: 0.98rem; max-width: 52ch; }
.card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--champagne);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.card__cta span { transition: transform .5s var(--ease); }
.card__link:hover .card__media { transform: scale(1.06); filter: sepia(0.1) saturate(1) contrast(1.05); }
.card__link:hover .card__panel { transform: translateY(-6px); border-color: rgba(176, 106, 67, 0.8); background: rgba(74, 20, 32, 0.8); color: var(--ivory); }
.card__link:hover .card__panel::before { width: 100%; }
.card__link:hover .card__cta span { transform: translateX(6px); }

/* ---------- Atlas ---------- */
.atlas { background: var(--burgundy-deep); color: var(--ivory); }
.atlas :focus-visible { outline-color: var(--champagne); }
.section-head--dark { border-bottom-color: rgba(233, 217, 184, 0.25); }
.section-head--dark .section-head__num { color: var(--champagne); }
.section-head--dark .section-head__intro { color: #E6D8C3; }
.atlas__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(233, 217, 184, 0.25); }
.atlas__link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 2fr) 40px;
  gap: 24px;
  align-items: center;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(233, 217, 184, 0.2);
  background: transparent;
  color: var(--ivory);
  text-decoration: none;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.atlas__link > * { min-width: 0; }
.atlas__num { font-family: var(--serif); font-size: 1rem; color: var(--champagne); }
.atlas__name { font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.atlas__places { font-size: 0.95rem; color: #E6D8C3; }
.atlas__arrow { font-size: 1.4rem; color: var(--champagne); transition: transform .45s var(--ease); justify-self: end; }
.atlas__link:hover { background: var(--champagne); color: var(--charcoal); }
.atlas__link:hover .atlas__num { color: var(--copper-text); }
.atlas__link:hover .atlas__places { color: var(--charcoal-soft); }
.atlas__link:hover .atlas__arrow { color: var(--burgundy); transform: translateX(6px); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 64px 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(233, 217, 184, 0.5), transparent 55%),
    var(--ivory);
  color: var(--charcoal);
  border-bottom: 1px solid var(--rule);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.page-hero__grid > * { min-width: 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal-soft);
}
.breadcrumb a { color: var(--burgundy); text-decoration: none; }
.breadcrumb a:hover { color: var(--burgundy-deep); text-decoration: underline; }
.page-hero__title { margin: 24px 0; font-size: clamp(2.5rem, 6.2vw, 5.75rem); line-height: 1; letter-spacing: -0.02em; }
.page-hero__lede { max-width: 42ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--charcoal-soft); }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin: 24px 0 0; padding: 0; list-style: none;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal-soft);
}
.page-hero__meta li + li::before { content: "\2014\00a0"; color: var(--copper-text); }
.page-hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }
.page-hero__visual::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px; right: 0; bottom: 0;
  border: 1px solid var(--copper);
}
.page-hero__frame {
  position: absolute;
  top: 0; left: 0; right: 16px; bottom: 16px;
  overflow: hidden;
  animation: frameIn 1.6s var(--ease) both;
  animation-delay: .2s;
}
.page-hero__frame img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.glass-chip {
  position: absolute;
  left: 32px; bottom: 48px;
  max-width: calc(100% - 64px);
  padding: 16px 24px;
  background: rgba(38, 33, 31, 0.74);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 217, 184, 0.35);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.page-hero--plain .page-hero__title { max-width: 16ch; }

/* ---------- Article ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.article-layout > * { min-width: 0; }
.toc { position: sticky; top: 24px; align-self: start; padding-top: 16px; border-top: 2px solid var(--burgundy); }
.toc__title { margin-bottom: 16px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal); }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.toc__list a {
  display: flex; gap: 12px;
  padding: 8px 0;
  color: var(--charcoal);
  font-size: 0.95rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); flex: 0 0 auto; font-family: var(--serif); color: var(--copper-text); }
.toc__list a:hover { color: var(--burgundy); }

.prose { max-width: 780px; }
.prose h2 {
  margin: 64px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  scroll-margin-top: 24px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 40px 0 16px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--burgundy); scroll-margin-top: 24px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 24px; padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--copper); }
.prose strong { color: var(--charcoal); }

.pull-quote {
  margin: 40px 0;
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--copper);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.3;
  color: var(--burgundy);
  overflow-wrap: anywhere;
}

.figure { margin: 40px 0; }
.figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.figure figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--charcoal-soft); }

.table-wrap { margin: 24px 0 40px; overflow-x: auto; border-top: 2px solid var(--charcoal); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-wrap th, .table-wrap td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}
.table-wrap th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); font-weight: 600; }
.table-wrap td:first-child { font-family: var(--serif); font-size: 1.05rem; color: var(--burgundy); }
.table-wrap tbody tr:hover { background: var(--champagne-soft); color: var(--charcoal); }

.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0 40px; }
.pros-cons__col { min-width: 0; padding: 24px; background: var(--ivory-2); color: var(--charcoal); border-top: 3px solid var(--burgundy); }
.pros-cons__col--cons { border-top-color: var(--copper); }
.prose .pros-cons__title { margin: 0 0 16px; font-size: 1.35rem; color: var(--charcoal); }
.pros-cons__col ul { margin: 0; }

.callout { margin: 40px 0 0; padding: 24px; background: var(--champagne); color: var(--charcoal); }
.callout p { margin: 0; }
.callout a { color: var(--burgundy-deep); font-weight: 600; }
.callout a:hover { color: var(--charcoal); }

.itinerary { margin: 0 0 24px; padding: 24px; background: var(--ivory-2); color: var(--charcoal); }
.prose .itinerary__title { margin: 0 0 16px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--burgundy); }
.itinerary__stops { margin: 0; padding-left: 24px; }
.itinerary__stops li + li { margin-top: 8px; }
.itinerary__stops li::marker { color: var(--copper-text); font-family: var(--serif); }

.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__question {
  position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  position: absolute;
  right: 8px; top: 20px;
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--copper-text);
  transition: transform .35s var(--ease);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__question:hover { color: var(--burgundy); }
.prose .faq__answer { margin: 0; padding: 0 0 24px; color: var(--charcoal-soft); }

/* Related */
.related { background: var(--ivory-2); color: var(--charcoal); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid > .card { min-height: 440px; }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); color: var(--charcoal); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact__heading { margin-bottom: 40px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field__label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal); }
.field__input {
  width: 100%;
  padding: 16px;
  font: inherit;
  background: #FFFDF8;
  color: var(--charcoal);
  border: 1px solid #7A6E66;
  border-radius: 0;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field__input:hover { border-color: var(--charcoal); }
.field__input:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-color: var(--burgundy); }
textarea.field__input { resize: vertical; min-height: 160px; }
.field__check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--charcoal-soft); }
.field__check input { width: 20px; height: 20px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--burgundy); }
.field__error { display: none; font-size: 0.88rem; color: #8E1B28; }
.field.is-invalid .field__input { border-color: #8E1B28; box-shadow: inset 3px 0 0 #8E1B28; }
.field.is-invalid .field__error { display: block; }
.form-status {
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--champagne);
  color: var(--charcoal);
  border-left: 3px solid var(--burgundy);
}

.details-list { margin: 0 0 40px; border-top: 2px solid var(--charcoal); }
.details-list__row { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.details-list dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-soft); padding-top: 4px; }
.details-list dd { margin: 0; overflow-wrap: anywhere; }

.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--rule); background: #EFE3CC; color: var(--charcoal); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label {
  position: absolute;
  left: 16px; bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  background: rgba(38, 33, 31, 0.78);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.map__link { margin-top: 16px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; background: var(--charcoal); color: var(--ivory); }
.site-footer :focus-visible { outline-color: var(--champagne); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.footer-grid > * { min-width: 0; }
.brand--footer { color: var(--champagne); }
.brand--footer:hover { color: var(--ivory); }
.footer-blurb { margin-top: 24px; max-width: 36ch; color: #D9CDBA; }
.footer-title { margin-bottom: 24px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: 8px; }
.site-footer a { color: #EFE6D6; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--champagne); text-decoration: underline; }
.footer-address { margin-bottom: 16px; color: #D9CDBA; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 217, 184, 0.2);
  font-size: 0.85rem;
  color: #D9CDBA;
}
.footer-bottom p { overflow-wrap: anywhere; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(38, 33, 31, 0.95);
  color: var(--ivory);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 217, 184, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  animation: fadeUp .6s var(--ease) both;
}
.cookie-banner > * { min-width: 0; }
.cookie-banner :focus-visible { outline-color: var(--champagne); }
.cookie-banner__title { margin-bottom: 8px; font-family: var(--serif); font-size: 1.3rem; color: var(--champagne); }
.cookie-banner__text p:last-child { font-size: 0.92rem; color: #E6D8C3; }
.cookie-banner a { color: var(--champagne); }
.cookie-banner a:hover { color: var(--ivory); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn {
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cookie-btn--accept { background: var(--champagne); color: var(--charcoal); }
.cookie-btn--accept:hover { background: var(--ivory); color: var(--charcoal); }
.cookie-btn--reject { background: transparent; color: var(--ivory); border-color: rgba(248, 243, 234, 0.7); }
.cookie-btn--reject:hover { background: var(--ivory); color: var(--charcoal); }
.cookie-btn--prefs { background: transparent; color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btn--prefs:hover { background: transparent; color: var(--ivory); }
.cookie-prefs {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(233, 217, 184, 0.25);
}
.cookie-prefs__option { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ivory); }
.cookie-prefs__option input { width: 18px; height: 18px; accent-color: var(--copper); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes lineUp { from { transform: translateY(105%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes frameIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .primary-nav__num { display: none; }
  .primary-nav__list { gap: 16px; }
  .primary-nav__link { font-size: 0.7rem; letter-spacing: 0.08em; }
  .brand { font-size: 1.1rem; }
  .header-cta { padding: 10px 12px; font-size: 0.68rem; letter-spacing: 0.08em; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Switch to the dropdown menu before the desktop nav can overflow */
@media (max-width: 1023.98px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { justify-content: flex-start; }
  .brand { margin-right: auto; font-size: 1.15rem; }
}

@media (max-width: 1024px) {
  .hero__grid, .page-hero__grid, .explore__grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__visual { max-width: 760px; }
  .page-hero__visual { max-width: 520px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid > .card:nth-child(n) { grid-column: span 1; min-height: 480px; }
  .guide-grid > .card:nth-child(1) { grid-column: span 2; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; }
  .toc__list { columns: 2; column-gap: 24px; }
  .toc__list li { break-inside: avoid; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .explore__figure img { aspect-ratio: 16 / 10; }
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 767.98px) {
  .header-inner { height: 56px; padding: 0 20px; gap: 12px; }
  .mobile-menu { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); padding: 8px 20px 32px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand { font-size: 1.05rem; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .page-hero { padding: 40px 0 64px; }
  .article-layout { padding-top: 40px; padding-bottom: 64px; }
  .explore__columns { column-count: 1; }
  .contents__list { grid-template-columns: minmax(0, 1fr); }
  .collage__badge { position: relative; left: 0; bottom: 0; max-width: none; margin-top: 24px; }
  .hero__collage { aspect-ratio: 1 / 1; }
  .hero__collage::before { left: 0; top: 0; }
  .page-hero__visual::before { top: 0; left: 0; }
  .page-hero__frame { right: 0; bottom: 0; }
  .glass-chip { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
  .atlas__link { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 8px 16px; padding: 24px 16px; }
  .atlas__places { grid-column: 2 / 4; grid-row: 2; }
  .atlas__arrow { grid-column: 3; grid-row: 1; }
  .pros-cons { grid-template-columns: minmax(0, 1fr); }
  .cookie-banner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .guide-grid, .card-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-grid > .card:nth-child(n) { grid-column: span 1; min-height: 460px; }
  .hero__stats { gap: 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .toc__list { columns: 1; }
  .details-list__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lead { font-size: 1.1rem; }
}

@media (max-width: 479px) {
  .header-cta { display: none; }
}

@media (max-width: 399.98px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; gap: 8px; }
  .mobile-menu { padding: 8px 16px 28px; }
  .brand { font-size: 0.98rem; }
  .hero__title { font-size: 2.4rem; }
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .card__panel { margin: 8px; padding: 20px; }
  .guide-grid > .card:nth-child(n), .card-grid > .card { min-height: 420px; }
  .collage__frame--top, .collage__frame--bottom { border-width: 4px; }
  .dropcap::first-letter { font-size: 3.4em; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 20px; }
  .cookie-btn { flex: 1 1 100%; }
  .table-wrap th, .table-wrap td { padding: 16px 12px; }
  .page-hero__title { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}