:root {
  color-scheme: light;
  --ink: #1f2925;
  --muted: #59645f;
  --paper: #f8f5ee;
  --paper-deep: #eee8dc;
  --forest: #173c32;
  --forest-soft: #28584a;
  --gold: #b58a48;
  --line: rgba(31, 41, 37, 0.17);
  --white: #fffdf8;
  --max: 1180px;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.english-entry {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

.english-entry a {
  color: inherit;
}

.english-entry a:focus-visible,
.english-entry button:focus-visible,
.english-entry [tabindex="0"]:focus-visible {
  outline: 3px solid #e8b85e;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 0.55rem max(1.2rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 238, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 8.75rem;
}

.brand span {
  padding-left: 0.65rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.header-nav a,
.language-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.header-nav a:hover,
.language-link:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.language-link {
  min-width: 4.2rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  text-align: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: min(760px, calc(100vh - 76px));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 7.5rem) clamp(1.3rem, 6vw, 6rem) clamp(3rem, 7vw, 6rem) max(1.3rem, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.5vw, 5.9rem);
  line-height: 0.98;
}

h2 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.lead {
  max-width: 42rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--forest);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: var(--white) !important;
  background: var(--forest);
}

.button-primary:hover {
  background: var(--forest-soft);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--forest);
}

.boundary,
.note,
.photo-note,
.fire-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.boundary {
  max-width: 36rem;
  margin: 1.2rem 0 0;
}

.hero-image {
  position: relative;
  min-height: 32rem;
  margin: 0;
  overflow: hidden;
  background: #222;
}

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

.hero-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.65rem;
  color: var(--white);
  background: rgba(13, 29, 24, 0.75);
  font-size: 0.78rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) max(1.3rem, calc((100vw - var(--max)) / 2));
}

.section-heading {
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.section-heading > p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  align-items: end;
  gap: 2rem;
}

.split-heading h2,
.split-heading p {
  margin-bottom: 0;
}

.fit-grid,
.stay-grid,
.travel-summary,
.check-grid,
.rules-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.fit-grid,
.stay-grid,
.travel-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-grid article,
.stay-card,
.travel-summary > div,
.check-grid article,
.rules-grid article {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  background: var(--white);
}

.fit-warning {
  color: var(--white);
  background: var(--forest) !important;
}

.fit-label,
.card-number,
.rule-time {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-tint {
  background: var(--paper-deep);
}

.stay-card.featured {
  border-top: 4px solid var(--gold);
}

.plain-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.prepared-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.prepared-grid figure {
  margin: 0;
}

.prepared-grid figcaption,
.route-grid figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.rate-table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.rate-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.rate-table th,
.rate-table td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rate-table thead th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rate-table tbody th {
  min-width: 12rem;
}

.note {
  margin: 1rem 0 0;
}

.section-dark {
  color: var(--white);
  background: var(--forest);
}

.section-dark .eyebrow {
  color: #e3bd7f;
}

.section-dark .section-heading > p:last-child,
.section-dark .photo-note,
.section-dark .route-grid figcaption {
  color: rgba(255, 253, 248, 0.72);
}

.travel-summary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.travel-summary > div {
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  display: inline-block;
  color: #f0c984 !important;
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.route-grid figure {
  margin: 0;
}

.route-grid a {
  display: block;
  overflow: hidden;
  background: #0b1e18;
}

.route-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.route-grid a:hover img {
  transform: scale(1.015);
}

.check-grid,
.rules-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-rules {
  background: var(--white);
}

.rules-grid article {
  background: var(--paper);
}

.power-warning {
  max-width: 58rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-left: 5px solid var(--gold);
  background: var(--paper-deep);
}

.power-warning h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
}

.fire-note {
  max-width: 56rem;
  margin: 1.5rem 0 0;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  color: var(--white);
  background: #102a23;
}

.booking h2 {
  max-width: 13ch;
}

.booking .note,
.booking .line-id {
  color: rgba(255, 253, 248, 0.72);
}

.booking-steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-steps span {
  color: #e3bd7f;
  font-weight: 800;
}

.line-id {
  font-size: 0.9rem;
}

.inquiry-box {
  align-self: start;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--paper);
}

.inquiry-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inquiry-heading h3 {
  margin: 0;
}

.copy-button {
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--forest);
  color: var(--white);
  background: var(--forest);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover {
  background: var(--forest-soft);
}

#inquiry-template {
  max-width: 100%;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.55;
}

.copy-status {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.food-note {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(18rem, 1fr) minmax(18rem, 1fr);
  align-items: start;
  gap: 2rem;
}

.food-note h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem max(1.3rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.site-footer img {
  width: 9rem;
}

.site-footer p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-weight: 800;
  text-underline-offset: 0.25em;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .hero,
  .prepared-grid,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 4.5rem max(1.3rem, calc((100vw - var(--max)) / 2)) 3.5rem;
  }

  .hero-image {
    min-height: 28rem;
  }

  .food-note {
    grid-template-columns: 1fr 1fr;
  }

  .food-note .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 0.6rem;
  }

  .brand img {
    width: 7.3rem;
  }

  .brand span {
    display: none;
  }

  .language-link {
    min-width: 4.7rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-image {
    min-height: 23rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .split-heading,
  .fit-grid,
  .stay-grid,
  .travel-summary,
  .route-grid,
  .check-grid,
  .rules-grid,
  .food-note {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .prepared-grid {
    gap: 2rem;
  }

  .rate-table-wrap {
    margin-right: -1.3rem;
  }

  .inquiry-heading {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .route-grid img {
    transition: none;
  }
}
