:root {
  --bg-base: #fbf1f0;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f5e8e6;
  --text-main: #1c1917;
  --text-muted: #645a57;
  --plum-primary: #6b2155;
  --plum-hover: #50173e;
  --plum-border: #8b3a72;
  --border-light: #eddcd9;
  --line-color: #e4ceca;
  --radius: 4px;
  --shadow-soft: 0 4px 18px rgba(107, 33, 85, 0.06);
  --shadow-hover: 0 8px 24px rgba(107, 33, 85, 0.12);
  --font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.65;
  padding: 24px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
}

.site-frame {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--plum-border);
  background-color: var(--bg-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
}

/* Header */
.site-header {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plum-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--plum-primary);
  display: inline-block;
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--plum-primary);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--plum-primary);
  transition: width 0.25s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  font-size: 1.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius);
  color: var(--plum-primary);
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  padding: 0.75rem 0;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--border-light);
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

/* Typography & Layout Basics */
main {
  padding: 2.5rem 2rem;
}

.prose-container {
  max-width: 72ch;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  color: var(--plum-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.3rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.25rem;
}

.hero-band {
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0 1.5rem 0;
  margin-bottom: 2.5rem;
}

.hero-band .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin-top: 0.5rem;
}

/* Action Button */
.btn-primary {
  display: inline-block;
  background-color: var(--plum-primary);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--plum-primary);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-primary:hover {
  background-color: var(--plum-hover);
  border-color: var(--plum-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--plum-primary);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--plum-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
}

.text-link {
  color: var(--plum-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

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

/* Destination Panels & Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.destination-panel {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(107, 33, 85, 0.08);
}

.destination-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface-subtle);
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--plum-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* Access Planning Stat Strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.85rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.stat-value {
  font-weight: 700;
  color: var(--plum-primary);
}

/* Tabs & Accordions */
.tab-container {
  margin: 2rem 0;
}

.tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--plum-primary);
  border-bottom-color: var(--plum-primary);
}

.tab-pane {
  display: none;
  padding: 1.5rem 0;
}

.tab-pane.active {
  display: block;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--border-light);
  margin: 1.5rem 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--plum-primary);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-muted);
}

.accordion-item.open .accordion-trigger::after {
  content: "−";
}

.accordion-content {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--text-main);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  background-color: var(--bg-surface-subtle);
  color: var(--plum-primary);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* Form Styling */
.form-card {
  background: var(--bg-surface-subtle);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--plum-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--plum-primary);
}

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

.output-preview {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  padding: 2.5rem 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--plum-primary);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--plum-primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header {
    padding: 1rem;
  }
  main {
    padding: 1.5rem 1rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
