:root {
  --green-950: #062713;
  --green-900: #073219;
  --green-800: #0c4624;
  --green-700: #145f36;
  --ink: #121411;
  --muted: #f4f1ea;
  --line: rgba(255, 255, 255, .28);
  --gold: #c99a53;
  --gold-dark: #9b6c2d;
  --white: #fff;
  --booking-overlap: 142px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6f3ed;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  min-height: 50px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--green-950);
  font-size: 18px;
}

.topbar__item,
.button,
.input-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.topbar svg,
.button svg,
.input-button svg,
.urgent-dialog__close svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.site-header {
  min-height: 100px;
  padding: 0 52px 0 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 12px rgba(0, 0, 0, .12);
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
}

.brand__logo {
  display: block;
  width: 280px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 17px;
  font-weight: 650;
}

.main-nav > a,
.nav-item > a {
  padding: 12px 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-item > a svg {
  width: 16px;
  height: 16px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  min-width: 180px;
  display: none;
  padding: 8px;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid rgba(6, 39, 19, .18);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  transform: translateX(-50%);
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  display: grid;
}

.nav-submenu a,
.nav-submenu span {
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: #edf4ee;
}

.header-actions,
.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__book {
  display: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--green-800), var(--green-950));
  border-color: rgba(255, 255, 255, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 28px rgba(0, 0, 0, .24);
}

.button--ghost {
  color: var(--green-950);
  border-color: var(--green-900);
  background: var(--white);
}

.button--glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(3px);
}

.hero {
  min-height: min(760px, calc(100vh - 150px));
  position: relative;
  display: grid;
  align-items: center;
  padding: 72px 7vw 88px;
  overflow: hidden;
  background-image: url("/assets/images/hero-river-campfire-v3.png");
  background-size: cover;
  background-position: center 58%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .46) 34%, rgba(0, 0, 0, .12) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .08) 62%, rgba(0, 0, 0, .74) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  color: var(--white);
}

.hero h1 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(64px, 5.25vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 5px 14px rgba(0, 0, 0, .54);
}

@media (min-width: 681px) {
  .hero h1 {
    white-space: nowrap;
  }
}

.hero p {
  max-width: 720px;
  margin: 22px 0 26px;
  font-size: 28px;
  line-height: 1.25;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .64);
}

.booking-panel {
  position: relative;
  z-index: 2;
  width: min(1430px, 100%);
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1.18fr 1.18fr 1.1fr .82fr auto;
  gap: 24px;
  align-items: end;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 65, 32, .98), rgba(5, 41, 20, .98));
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}

@media (min-width: 1181px) {
  .hero {
    min-height: calc(100svh - 150px);
    padding-bottom: calc(88px + var(--booking-overlap));
  }

  .booking-panel {
    margin-top: calc(-1 * var(--booking-overlap));
  }
}

.field {
  display: grid;
  gap: 10px;
  min-width: 0;
  font-size: 19px;
  font-weight: 650;
}

.input-button {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding: 0 16px;
  color: #161812;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 5px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.input-date-wrapper,
.input-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  color: #161812;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 5px;
}

.input-date-wrapper svg,
.input-select-wrapper svg {
  flex: 0 0 auto;
}

.input-date,
.input-select {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 34px 0 12px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  appearance: auto;
}

.input-date:focus,
.input-select:focus {
  outline: 2px solid rgba(213, 168, 97, .82);
  outline-offset: 2px;
}

.input-button svg:last-child {
  margin-left: auto;
}

.availability-button {
  min-height: 58px;
  padding: 0 28px;
  color: var(--white);
  background: linear-gradient(180deg, #d5a861, var(--gold-dark));
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 5px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.booking-dialog {
  width: min(960px, calc(100vw - 32px));
  padding: 36px;
  color: var(--white);
  background: var(--green-950);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
}

.booking-dialog::backdrop {
  background: rgba(0, 0, 0, .64);
}

.booking-dialog h2 {
  margin: 0 44px 24px 0;
  font-size: 28px;
}

.booking-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.booking-panel--modal {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: none;
}

.booking-panel--modal .availability-button {
  grid-column: 1 / -1;
}

.urgent-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 28px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.urgent-dialog::backdrop {
  background: rgba(0, 0, 0, .42);
}

.urgent-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: #f3efe5;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.urgent-dialog__eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.urgent-dialog h2 {
  margin: 0 36px 12px 0;
  color: var(--green-950);
  font-size: 28px;
}

.urgent-dialog p {
  font-size: 17px;
  line-height: 1.5;
}

.urgent-dialog__link {
  margin-top: 8px;
}

.faq-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 88px 32px 112px;
}

.faq-page__intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.faq-page__intro p {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-page__intro h1 {
  margin: 0;
  color: var(--green-950);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: .95;
}

.faq-page__intro div {
  margin-top: 20px;
  color: #314038;
  font-size: 19px;
  line-height: 1.55;
}

.faq-list {
  border-top: 1px solid rgba(6, 39, 19, .24);
}

.faq-category + .faq-category {
  margin-top: 52px;
}

.faq-category h2 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-size: 26px;
}

.faq-item {
  border-bottom: 1px solid rgba(6, 39, 19, .24);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  color: var(--green-950);
  cursor: pointer;
  font-size: 20px;
  font-weight: 750;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold-dark);
  font-size: 28px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item > div {
  max-width: 760px;
  padding: 0 44px 26px 0;
  color: #314038;
  font-size: 17px;
  line-height: 1.6;
}

.updates-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 88px 32px 112px;
}

.updates-page__intro {
  max-width: 720px;
  margin-bottom: 44px;
}

.updates-page__intro > p {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.updates-page__intro h1 {
  margin: 0;
  color: var(--green-950);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: .95;
}

.updates-page__intro div { margin-top: 20px; color: #314038; font-size: 19px; line-height: 1.55; }
.updates-list { display: grid; gap: 16px; }
.update-card { display: flex; gap: 20px; padding: 24px; border: 1px solid rgba(6, 39, 19, .2); border-left: 5px solid #67816d; border-radius: 6px; background: #fff; }
.update-card--important { border-left-color: var(--gold-dark); }
.update-card img { width: 56px; height: 56px; flex: 0 0 auto; object-fit: contain; }
.update-card__date { margin: 0 0 5px; color: #68756c; font-size: 14px; font-weight: 700; }
.update-card h2 { margin: 0 0 8px; color: var(--green-950); font-size: 24px; }
.update-card p:last-child { margin: 0; color: #314038; line-height: 1.55; }
.updates-editor { margin: 0 0 24px; padding: 24px; color: #fff; background: var(--green-900); border-radius: 6px; }
.updates-editor h2, .updates-editor__existing h2 { margin: 0 0 18px; font-size: 23px; }
.updates-editor form { display: grid; gap: 15px; }
.updates-editor label { display: grid; gap: 7px; font-weight: 700; }
.updates-editor input, .updates-editor textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #c8d3c9; border-radius: 4px; font: inherit; }
.updates-editor textarea { min-height: 120px; resize: vertical; }
.updates-editor__schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.updates-editor__important { display: flex !important; align-items: center; gap: 9px; }
.updates-editor__important input { width: 18px; height: 18px; }
.updates-editor__actions { display: flex; gap: 10px; }
.updates-editor__actions .button { width: auto; }
.updates-editor__existing { margin: 0 0 38px; }
.updates-editor__existing-item { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; color: var(--green-950); background: transparent; border: 0; border-bottom: 1px solid rgba(6,39,19,.2); text-align: left; cursor: pointer; }
.updates-editor__existing-item:hover { color: var(--gold-dark); }
.updates-editor__existing-item span { color: #56645b; font-size: 14px; }
.updates-editor__existing article { border-bottom: 1px solid rgba(6,39,19,.2); }
.updates-editor__inline-form { display: grid; gap: 15px; padding: 16px; color: #fff; background: var(--green-900); }
.updates-editor__inline-form label { display: grid; gap: 7px; font-weight: 700; }
.updates-editor__inline-form input, .updates-editor__inline-form textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #c8d3c9; border-radius: 4px; font: inherit; }
.updates-editor__inline-form textarea { min-height: 120px; resize: vertical; }
.updates-editor__inline-form .updates-editor__important { display: flex; align-items: center; }
.updates-editor__inline-form .updates-editor__important input { width: 18px; height: 18px; }
.updates-alert-dialog__icon { width: 58px; height: 58px; margin: 0 0 14px; object-fit: contain; }
.updates-alert-dialog { width: min(520px, calc(100vw - 28px)); max-height: min(84svh, 760px); padding: 28px 32px 22px; text-align: center; }
.updates-alert-dialog__content { max-height: min(62svh, 590px); overflow-y: auto; overscroll-behavior: contain; }
.updates-alert-dialog__item { padding: 4px 2px 22px; }
.updates-alert-dialog__item--divided { padding-top: 26px; border-top: 1px solid rgb(6 39 19 / 18%); }
.updates-alert-dialog__icon { width: 88px; height: 88px; display: block; margin: 0 auto 14px; }
.updates-alert-dialog h2 { margin: 0; font-size: 34px; line-height: 1.08; }
.updates-alert-dialog__rule { width: 90px; height: 2px; margin: 16px auto 18px; background: var(--gold-dark); }
.updates-alert-dialog p { max-width: 410px; margin: 0 auto; font-size: 17px; line-height: 1.55; }
.updates-alert-dialog__acknowledge { width: auto; min-width: 156px; margin-top: 18px; }

body:has(.faq-page), body:has(.updates-page) {
  background-color: #f7f5ef;
  background-image: linear-gradient(rgb(247 245 239 / 91%), rgb(247 245 239 / 91%)), url("/assets/images/hero-river-campfire-v3.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 18px 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 26px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding: 72px 24px 24px;
  }

  .hero__content {
    margin-bottom: 48px;
  }

  .booking-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-button {
    grid-column: 1 / -1;
  }

}

@media (max-width: 680px) {
  .updates-page { padding: 52px 20px 72px; }
  .updates-page__intro h1 { font-size: 52px; }
  .updates-editor__schedule { grid-template-columns: 1fr; }
  .updates-editor__actions { flex-direction: column; }
  .updates-editor__actions .button { width: 100%; }
  .updates-editor__existing-item { align-items: flex-start; flex-direction: column; gap: 3px; }
  .faq-page {
    padding: 52px 20px 72px;
  }

  .faq-page__intro {
    margin-bottom: 32px;
  }

  .faq-page__intro h1 {
    font-size: 52px;
  }

  .faq-page__intro div {
    font-size: 17px;
  }

  .faq-item summary {
    font-size: 18px;
  }
  .topbar {
    padding: 12px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
  }

  .site-header {
    min-height: 76px;
    padding: 12px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: min(270px, 62vw);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    color: var(--green-950);
    background: var(--white);
    border: 1px solid var(--green-900);
    border-radius: 6px;
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 26px;
    height: 26px;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 4;
    display: grid;
    padding: 12px 16px 16px;
    gap: 2px;
    color: var(--green-950);
    background: var(--white);
    border-top: 1px solid rgba(6, 39, 19, .14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(6, 39, 19, .12);
    font-size: 17px;
    font-weight: 650;
  }

  .mobile-menu__sub {
    padding-left: 24px !important;
    color: #3f5244;
  }

  .mobile-menu__coming-soon {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(6, 39, 19, .12);
    font-size: 15px;
    font-style: italic;
  }

  .mobile-menu__book {
    margin-top: 10px;
    padding: 14px 18px !important;
    color: var(--white) !important;
    background: var(--green-900);
    border: 0 !important;
    border-radius: 6px;
    text-align: center;
  }

  .button {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    font-size: 16px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: calc(100svh - 168px);
    height: calc(100svh - 168px);
    align-items: start;
    padding: 56px 24px 40px;
    background-size: auto 135%;
    background-position: 65% 50%;
  }

  .hero__content {
    align-self: stretch;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero__actions {
    display: flex;
    margin-top: auto;
  }

  .hero__book {
    display: inline-flex;
  }

  .hero__calendar {
    display: none;
  }

  #booking {
    display: none;
  }

  .booking-dialog {
    width: min(100vw - 24px, 560px);
    padding: 52px 18px 18px;
  }

  .booking-panel--modal {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero p {
    font-size: 21px;
  }

  .booking-panel {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    padding: 18px;
    gap: 16px;
  }
}
