.hotel-id,
.hotel-id-notice {
  --id-ink: #29241f;
  --id-muted: #61584c;
  --id-paper: #fffaf0;
  --id-sand: #f3eadc;
  --id-rule: #ddd0bc;
  --id-accent: #644625;
  box-sizing: border-box;
  color: var(--id-ink);
  font: 16px/1.6 Arial, sans-serif;
}

.hotel-id *, .hotel-id-notice * { box-sizing: border-box; }
.hotel-id h1, .hotel-id h2, .hotel-id-notice h2 {
  color: var(--id-ink);
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
  text-transform: none;
}
.hotel-id p, .hotel-id-notice p { margin: 0; }
.hotel-id a:focus-visible, .hotel-id-notice :is(a, button):focus-visible,
.hotel-id summary:focus-visible { outline: 2px solid #855b2f; outline-offset: 4px; }
.hotel-id .hotel-id-button, .hotel-id-notice .hotel-id-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--id-accent);
  color: #fffaf0;
  font: 700 14px/1.35 Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
.hotel-id .hotel-id-button:hover, .hotel-id-notice .hotel-id-button:hover { background: #483018; }
.hotel-id { width: min(100% - 32px, 1120px); margin: 32px auto 60px !important; }
.hotel-id-hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  overflow: hidden;
  border: 1px solid var(--id-rule);
  border-radius: 16px;
  background: var(--id-sand);
}
.hotel-id .hotel-id-hero-copy { display: grid; justify-items: start; gap: 18px; padding: clamp(24px, 5vw, 65px); }
.hotel-id .hotel-id-label {
  color: var(--id-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hotel-id h1 { font-size: clamp(36px, 5.3vw, 69px); }
.hotel-id-hero-copy > p:not(.hotel-id-label) { max-width: 46ch; color: var(--id-muted); }
.hotel-id-hero-image {
  background: #0d001a url("max-logo.svg") center / min(66%, 310px) auto no-repeat;
}
.hotel-id-content { display: grid; gap: 36px; margin-top: 32px !important; }
.hotel-id-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hotel-id .hotel-id-panel {
  background: var(--id-paper);
  border: 1px solid var(--id-rule);
  border-radius: 12px;
  padding: clamp(20px, 3.2vw, 36px);
  scroll-margin-top: 120px;
}
.hotel-id h2 { font-size: clamp(27px, 3vw, 40px); }
.hotel-id ol { margin: 22px 0 0; padding-left: 1.5em; }
.hotel-id li { padding-left: .35em; }
.hotel-id li + li { margin-top: 14px; }
.hotel-id li::marker { color: var(--id-accent); font-weight: 700; }
.hotel-id .hotel-id-text-link { display: inline-block; margin-top: 20px; color: var(--id-accent); font-weight: 700; text-underline-offset: 4px; }
.hotel-id-questions { padding-inline: clamp(4px, 2vw, 24px); }
.hotel-id-questions h2 { margin-bottom: 16px; }
.hotel-id-questions details { border-top: 1px solid var(--id-rule); }
.hotel-id-questions details:last-child { border-bottom: 1px solid var(--id-rule); }
.hotel-id-questions summary { padding: 14px 0; cursor: pointer; font-weight: 700; }
.hotel-id-questions p { padding: 0 0 14px; max-width: 70ch; }
.hotel-id .hotel-id-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px clamp(20px, 3vw, 34px);
  background: var(--id-sand);
  border-radius: 12px;
}
.hotel-id-contact h2 { font-size: clamp(23px, 2.7vw, 32px); margin-bottom: 4px; }
.hotel-id-contact p { color: var(--id-muted); }
.hotel-id-notice[hidden] { display: none; }
.hotel-id-notice {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  z-index: 999;
  width: min(440px, 100% - 48px);
  max-height: 75vh;
  overflow: auto;
  border: 1px solid var(--id-rule);
  border-radius: 14px;
  background: var(--id-paper);
  box-shadow: 0 12px 38px #21170d38;
}
.hotel-id-notice .hotel-id-notice-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px 16px 12px !important;
}
.hotel-id-notice h2 { padding-right: 32px; font-size: clamp(20px, 2.5vw, 25px); }
.hotel-id-notice p { margin: 0; color: var(--id-muted); font: 14px/1.35 Arial, sans-serif; }
.hotel-id-notice-phone { color: var(--id-ink); white-space: nowrap; }
.hotel-id-notice .hotel-id-notice-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
}
.hotel-id-notice-links a:not(.hotel-id-button) {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--id-accent);
  font: 700 14px/1.35 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hotel-id-notice .hotel-id-notice-links .hotel-id-button {
  min-height: 36px;
  padding: 7px 12px;
}
.hotel-id-close {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 5px 5px auto auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--id-accent);
  cursor: pointer;
  font: 27px/1 Arial, sans-serif;
}
.hotel-id-close:hover { background: var(--id-sand); }

.hotel-id-notice-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  z-index: 999;
  width: min(440px, 100% - 48px);
  max-height: 72vh;
  pointer-events: none;
}
.hotel-id-notice-stack .hotel-id-notice {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 0;
  pointer-events: auto;
}
.hotel-id .hotel-pilot-rate {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 5vw, 60px);
  background: #e6d9c4;
  color: var(--id-accent);
}
.hotel-pilot-rate strong {
  display: block;
  color: var(--id-ink);
  font: 400 clamp(44px, 7vw, 76px)/1 Georgia, serif;
  white-space: nowrap;
}
.hotel-id .hotel-pilot-list {
  list-style: disc outside;
  margin: 18px 0 !important;
  padding-left: 1.35em !important;
}
.hotel-id .hotel-pilot-list li + li { margin-top: 6px; }
.hotel-id .hotel-id-panel h2 + p { margin-top: 18px; }
.hotel-id .hotel-id-panel p + p { margin-top: 12px; }
#hotel-pilot-booking { scroll-margin-top: 100px; }

html:has(.hotel-id-page) { overflow-x: clip; }

@media (max-width: 769px) {
  .hotel-id-page #primary { padding-top: clamp(64px, 17vw, 100px); }
}

@media (max-width: 700px) {
  .hotel-id { margin-top: 20px !important; }
  .hotel-id-hero, .hotel-id-steps { grid-template-columns: minmax(0, 1fr); }
  .hotel-id-hero-image { min-height: 155px; background-size: min(54%, 240px) auto; }
  .hotel-id-steps { gap: 16px; }
  .hotel-id-content { gap: 26px; margin-top: 20px !important; }
  .hotel-id-notice, .hotel-id-notice-stack {
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: min(440px, 100% - 24px);
  }
}
