:root {
  --bg-canvas: #1c1f24;
  --bg-surface: #292d31;
  --bg-surface-elevated: #32373c;
  --bg-darker: #14171a;
  --text-primary: #e5e7eb;
  --text-muted: #9ca3af;
  --text-bright: #ffffff;
  --accent-teal: #14b8a6;
  --accent-teal-dark: #0f766e;
  --accent-teal-soft: #2dd4bf;
  --border-subtle: #3f454d;
  --font-serif: "Charter", "Cambria", "Georgia", serif;
  --shadow-block: 4px 4px 0px #0b4f46;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

a {
  color: var(--accent-teal-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-bright);
}

/* Header & Navigation (Far-left brand, static flow) */
.site-header {
  position: relative;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--accent-teal);
  color: var(--bg-darker);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px #0b4f46;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

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

.desktop-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent-teal-soft);
  border-bottom-color: var(--accent-teal);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--accent-teal);
}

.mobile-nav-panel {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.mobile-nav-panel.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-panel a {
  color: var(--text-primary);
  text-decoration: none;
  font-variant: small-caps;
  font-size: 1.05rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.prose-ledger {
  max-width: 70ch;
  margin: 0 auto;
}

/* Hero Section */
.hero-viewport {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-darker);
  background-image: linear-gradient(rgba(20, 23, 26, 0.75), rgba(28, 31, 36, 0.92)), url('images/fjord-mist-water-rock-plateau.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--border-subtle);
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  font-variant: small-caps;
  letter-spacing: 0.15em;
  color: var(--accent-teal-soft);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-teal-dark);
  padding: 0.25rem 0.75rem;
  background: rgba(20, 184, 166, 0.1);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-ledger {
  display: inline-block;
  background-color: var(--accent-teal);
  color: #121517;
  font-weight: 700;
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border: 1px solid #14b8a6;
  border-radius: 0;
  box-shadow: var(--shadow-block);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-ledger:hover {
  color: #000000;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #0b4f46;
}

.btn-ledger:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #000;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  font-variant: small-caps;
  text-decoration: none;
  margin-left: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--accent-teal);
  color: var(--accent-teal-soft);
}

/* Stat-Strip Ledger Component */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin: 2.5rem 0;
}

.stat-item {
  background-color: var(--bg-surface);
  padding: 1.25rem 1.5rem;
}

.stat-label {
  font-variant: small-caps;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-teal-soft);
  display: block;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Diagonal Shoreline Transition Section */
.shoreline-divider {
  height: 48px;
  background: linear-gradient(135deg, var(--bg-canvas) 25%, transparent 25%) -24px 0,
              linear-gradient(225deg, var(--bg-canvas) 25%, transparent 25%) -24px 0,
              linear-gradient(315deg, var(--bg-canvas) 25%, transparent 25%),
              linear-gradient(45deg, var(--bg-canvas) 25%, transparent 25%);
  background-size: 48px 48px;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Panels and Route Cards */
.section-intro {
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.section-intro p {
  color: var(--text-muted);
  max-width: 65ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.route-card {
  background-color: var(--bg-surface);
  border: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -4px rgba(0, 0, 0, 0.6);
}

.route-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.route-image-wrap img {
  width: 100%;
  height: 100%;
}

.route-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--bg-darker);
  color: var(--accent-teal-soft);
  font-variant: small-caps;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-subtle);
}

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

.route-body h3 {
  font-size: 1.35rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.route-meta {
  font-variant: small-caps;
  font-size: 0.85rem;
  color: var(--accent-teal-soft);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.route-body p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-link {
  align-self: flex-start;
  color: var(--accent-teal);
  font-weight: 700;
  font-variant: small-caps;
}

/* Checklists and Disclosures */
.ledger-box {
  background-color: var(--bg-surface);
  border-left: 3px solid var(--accent-teal);
  padding: 1.75rem;
  margin: 2rem 0;
}

.ledger-box h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.checklist {
  list-style: none;
  margin-top: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

.weather-disclosure {
  background-color: #212529;
  border: 1px dashed var(--border-subtle);
  padding: 1.25rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.weather-disclosure strong {
  color: var(--accent-teal-soft);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

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

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

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background-color: var(--bg-surface);
  color: var(--text-bright);
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: var(--bg-surface-elevated);
}

.accordion-header .acc-icon {
  font-size: 1.25rem;
  color: var(--accent-teal);
  transition: transform 0.2s ease;
}

.accordion-content {
  display: none;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
}

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

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-variant: small-caps;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-bright);
  font-family: var(--font-serif);
  font-size: 1rem;
  border-radius: 0;
}

.form-control:focus {
  outline: 2px solid var(--accent-teal);
  border-color: transparent;
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--accent-teal);
  font-size: 0.95rem;
}

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

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.ledger-table th {
  background-color: var(--bg-darker);
  color: var(--accent-teal-soft);
  font-variant: small-caps;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.ledger-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

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

/* Footer (Standardized across pages) */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-column h4 {
  color: var(--text-bright);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

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

.footer-column a:hover {
  color: var(--accent-teal-soft);
  text-decoration: underline;
}

.footer-legal-address {
  line-height: 1.5;
  font-size: 0.875rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
}

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