/* The reservation page shares the booking page's tokens, header, hero, form
   controls, and footer; only the calendar and deposit panels are new. */
/* /book/styles.css is linked directly before this sheet in reserve/index.html
   (no @import, so both download in parallel). */

.steps-section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 5rem) 0;
  max-width: 74rem;
  margin: 0 auto;
}

/* The shared .steps styling is written for the booking page's dark panel;
   on this cream background it needs the ink palette instead. */
.steps-section .steps {
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 0;
  color: rgba(23, 37, 31, 0.75);
}

.steps-section .steps span {
  border-color: rgba(184, 118, 71, 0.5);
  color: var(--accent-text, #935a33);
}

@media (max-width: 720px) {
  .steps-section .steps {
    grid-auto-flow: row;
  }
}

.return-banner {
  max-width: 74rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto -0.5rem;
  padding: 1.1rem 1.35rem;
  border-radius: 1rem;
  font: 500 0.9rem/1.6 "Plus Jakarta Sans", sans-serif;
}

.return-banner.is-success {
  border: 1px solid rgba(46, 91, 77, 0.3);
  background: rgba(46, 91, 77, 0.1);
  color: var(--forest-deep);
}

.return-banner.is-warning {
  border: 1px solid rgba(184, 118, 71, 0.35);
  background: rgba(184, 118, 71, 0.12);
  color: #7a4a25;
}

.reserve-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 5rem)
    clamp(4rem, 8vw, 6rem);
}

/* ---------- Calendar ---------- */

.calendar-panel {
  position: sticky;
  top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 37, 31, 0.07);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.calendar-header h2 {
  margin: 0;
  font: 500 clamp(1.35rem, 2.6vw, 1.7rem) / 1.2 "Cormorant Garamond", serif;
}

.calendar-nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.calendar-nav:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(184, 118, 71, 0.1);
}

.calendar-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.5rem;
  color: rgba(23, 37, 31, 0.72);
  font: 600 0.75rem/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  min-height: 16rem;
}

.day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: transparent;
  color: rgba(23, 37, 31, 0.35);
  font: 500 0.9rem/1 "Plus Jakarta Sans", sans-serif;
  cursor: default;
}

.day.is-blank {
  border: 0;
}

.day.is-open {
  border-color: rgba(46, 91, 77, 0.45);
  background: rgba(46, 91, 77, 0.16);
  color: var(--forest-deep);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.day.is-open:hover,
.day.is-open:focus-visible {
  border-color: var(--forest);
  background: rgba(46, 91, 77, 0.3);
  transform: translateY(-1px);
}

.day.is-booked {
  background: rgba(23, 37, 31, 0.07);
  color: rgba(23, 37, 31, 0.3);
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Held back from online booking — deliberately not styled as "booked",
   because the date is not taken; it needs a conversation. */
.day.is-held {
  border-color: rgba(184, 118, 71, 0.35);
  background: rgba(184, 118, 71, 0.09);
  color: rgba(184, 118, 71, 0.85);
  cursor: not-allowed;
}

.day.is-held::after {
  position: absolute;
  transform: translateY(0.95rem);
  font-size: 0.55rem;
  line-height: 1;
  content: "held";
}

.day.is-held {
  position: relative;
}

.swatch.is-held {
  border-color: rgba(184, 118, 71, 0.35);
  background: rgba(184, 118, 71, 0.14);
}

.day.is-closed {
  background: repeating-linear-gradient(
    -45deg,
    rgba(23, 37, 31, 0.05),
    rgba(23, 37, 31, 0.05) 3px,
    transparent 3px,
    transparent 6px
  );
  color: rgba(23, 37, 31, 0.28);
  cursor: not-allowed;
}

/* Friday to Sunday while a weekday-only package is chosen. The date may be
   free, so it is not struck through like a booked one. */
.day.is-weekday-only {
  background: rgba(23, 37, 31, 0.03);
  color: rgba(23, 37, 31, 0.26);
  cursor: not-allowed;
}

.swatch.is-weekday-only {
  background: rgba(23, 37, 31, 0.03);
  border-color: rgba(23, 37, 31, 0.12);
}

.legend li[hidden] {
  display: none;
}

.swatch.is-closed {
  background: repeating-linear-gradient(
    -45deg,
    rgba(23, 37, 31, 0.14),
    rgba(23, 37, 31, 0.14) 2px,
    transparent 2px,
    transparent 4px
  );
  border-color: rgba(23, 37, 31, 0.16);
}

/* Open, but past the online booking window. Styled from the available palette
   rather than the unavailable one, because the date really is free; the only
   difference is that Sandy takes it by phone. Anything greyed or struck
   through here would read as "taken" and cost a booking. The 2028 season is
   inside the window, so this state only appears when the window is set
   earlier than the calendar. */
.day.is-call {
  position: relative;
  border-color: rgba(46, 91, 77, 0.4);
  border-style: dashed;
  background: rgba(46, 91, 77, 0.09);
  color: var(--forest-deep);
  font-weight: 600;
  cursor: not-allowed;
}

.day.is-call::after {
  position: absolute;
  transform: translateY(0.95rem);
  font-size: 0.55rem;
  line-height: 1;
  content: "call";
}

.swatch.is-call {
  border-color: rgba(46, 91, 77, 0.45);
  border-style: dashed;
  background: rgba(46, 91, 77, 0.16);
}

/* Past the far edge of the calendar — simply not open yet. */
.day.is-too-far {
  color: rgba(23, 37, 31, 0.25);
  cursor: not-allowed;
}

/* Too close to book online, but very possibly still open — styled as a live
   state that invites a call, not as a dead day. */
.day.is-too-soon {
  position: relative;
  border-color: rgba(23, 37, 31, 0.14);
  border-style: dashed;
  color: rgba(23, 37, 31, 0.5);
  cursor: not-allowed;
}

.day.is-too-soon::after {
  position: absolute;
  transform: translateY(0.95rem);
  font-size: 0.55rem;
  line-height: 1;
  content: "call";
}

.swatch.is-too-soon {
  border-color: rgba(23, 37, 31, 0.3);
  border-style: dashed;
}

.day.is-unknown {
  color: rgba(23, 37, 31, 0.25);
  cursor: not-allowed;
}

.day.is-chosen {
  /* Selected date stays copper; --accent-button is now the green CTA fill. */
  border-color: #a2683e;
  background: #a2683e;
  color: #fff;
}

.day.is-chosen:hover {
  background: #a2683e;
}

.calendar-status {
  margin: 1rem 0 0;
  color: rgba(23, 37, 31, 0.72);
  font-size: 0.78rem;
  line-height: 1.6;
}

.calendar-status.is-warning {
  color: #8a4b1e;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(23, 37, 31, 0.72);
  font-size: 0.72rem;
}

.legend li {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.swatch {
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.swatch.is-open {
  border-color: rgba(46, 91, 77, 0.45);
  background: rgba(46, 91, 77, 0.16);
}

.swatch.is-booked {
  background: rgba(23, 37, 31, 0.14);
}

.swatch.is-chosen {
  background: var(--accent);
}

/* ---------- Reservation form ---------- */

.reserve-form {
  display: grid;
  gap: 1.5rem;
}

.chosen-date {
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(184, 118, 71, 0.28);
  border-radius: 1rem;
  background: rgba(184, 118, 71, 0.07);
}

.chosen-label {
  margin: 0;
  color: var(--accent-text, #935a33);
  font: 600 0.75rem/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chosen-value {
  margin: 0.5rem 0 0;
  font: 500 clamp(1.15rem, 2.4vw, 1.5rem) / 1.3 "Cormorant Garamond", serif;
}

.chosen-balance {
  margin: 0.4rem 0 0;
  color: rgba(23, 37, 31, 0.74);
  font-size: 0.76rem;
  line-height: 1.6;
}

.terms-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.terms-amount {
  color: var(--accent);
  font: 500 clamp(1.9rem, 3.4vw, 2.5rem) / 1 "Cormorant Garamond", serif;
}

.terms-card strong {
  font-size: 0.88rem;
}

.terms-card p {
  margin: 0.35rem 0 0;
  color: rgba(23, 37, 31, 0.72);
  font-size: 0.78rem;
  line-height: 1.6;
}

.submit-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .reserve-layout {
    grid-template-columns: 1fr;
  }

  .calendar-panel {
    position: static;
  }
}

@media (max-width: 520px) {
  .calendar-weekdays,
  .calendar-grid {
    gap: 0.25rem;
  }

  .day {
    border-radius: 0.55rem;
    font-size: 0.8rem;
  }

  .terms-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ---------- Short inquiry and agreement step ---------- */

/* A select is as wide as its longest option unless told otherwise, which
   pushed the whole page wider than a phone screen. */
.reserve-form,
.calendar-panel {
  min-width: 0;
}

.reserve-form select,
.reserve-form input,
.reserve-form textarea {
  min-width: 0;
  max-width: 100%;
}

.form-step {
  display: grid;
  gap: 1.5rem;
}

.reserve-form[hidden],
.form-step[hidden],
#agreement-fields[hidden],
#heard-other[hidden] {
  display: none;
}

#agreement-fields {
  display: grid;
  gap: 1.25rem;
}

.note-toggle {
  margin-top: 1rem;
}

.note-toggle summary {
  width: fit-content;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.note-toggle summary span {
  color: rgba(23, 37, 31, 0.72);
  font-weight: 400;
}

.note-toggle[open] summary {
  margin-bottom: 0.9rem;
}

.back-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: var(--forest);
  font: 600 0.86rem/1.4 "Plus Jakarta Sans", sans-serif;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.quote-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(184, 118, 71, 0.28);
  border-radius: 1rem;
  background: #fff;
}

.quote-lines {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.quote-lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.quote-lines dt {
  color: rgba(23, 37, 31, 0.72);
  font-size: 0.86rem;
}

.quote-lines dd {
  margin: 0;
  font: 600 1.35rem/1 "Cormorant Garamond", serif;
  white-space: nowrap;
}

.next-steps {
  align-self: start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(46, 91, 77, 0.25);
  border-radius: 1.25rem;
  background: rgba(46, 91, 77, 0.07);
}

.next-steps[hidden] {
  display: none;
}

.next-steps h2 {
  margin: 0 0 0.6rem;
  font: 500 clamp(1.6rem, 3.4vw, 2.1rem) / 1.15 "Cormorant Garamond", serif;
}

.next-steps p {
  margin: 0;
  color: rgba(23, 37, 31, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.next-steps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.next-steps-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.next-steps-primary {
  background: var(--accent-button, #146c3a);
  color: #fff;
}
.next-steps-primary:hover {
  background: var(--accent-button-hover, #0f5a30);
  color: #fff;
}

.next-steps-secondary {
  border: 1px solid var(--accent-button, #146c3a);
  color: var(--accent-button, #146c3a);
}

/* Small print that was set at 11–12px. */
.chosen-balance,
.legend {
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .reserve-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The day squares take their size from the column, not from a stretched row:
   stretched rows made each square wider than its column on a phone, so the
   Saturday column ran off the screen. */
.calendar-weekdays,
.calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-grid {
  align-content: start;
}

.day {
  width: 100%;
  min-width: 0;
}

.reserve-form label.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.reserve-form label.check input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--forest, #2e5b4d);
}

/* The form is the point of this page, so the photo takes less of a phone screen. */

/* The brochure promise sits between the legend and the first field. */
.brochure-note {
  margin: -1.9rem 0 1.2rem;
  color: var(--forest);
  font-weight: 500;
}

/* The dates page hero (Jeff, November 13, 2026): show the lake and the
   horizon. The photo's sky, sunset and lake are in its top third, so anchor
   the crop to the top instead of the middle, and keep the shading to where
   the words are: a light band behind the menu and the lower left corner. */
.hero-image {
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 23, 18, 0.8), rgba(9, 23, 18, 0.55) 12%, rgba(9, 23, 18, 0) 34%),
    linear-gradient(90deg, rgba(9, 23, 18, 0.6), rgba(9, 23, 18, 0) 60%),
    linear-gradient(0deg, rgba(9, 23, 18, 0.8), rgba(9, 23, 18, 0.3) 45%, rgba(9, 23, 18, 0) 72%);
}

/* On a phone the headline crosses the lake, so shade the full width a little. */
@media (max-width: 760px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 23, 18, 0.45), rgba(9, 23, 18, 0) 24%),
      linear-gradient(0deg, rgba(9, 23, 18, 0.82), rgba(9, 23, 18, 0.5) 55%, rgba(9, 23, 18, 0.36) 80%, rgba(9, 23, 18, 0.28) 100%);
  }
}

/* Booked and held dates stay unselectable but can be tapped for nearby open dates. */
.day[aria-disabled="true"] {
  cursor: help;
}

/* Phone speed-up (Jeff, Nov 20 2026): a shorter hero so the calendar
   starts higher, and a Get pricing button that stays in reach.
   Nov 22: the hero subhead came off; keep the band tight under the
   headline and clear of the logo. */

.event-center-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: rgba(23, 37, 31, 0.72);
}

.sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.25rem;
  background: var(--accent-button, #146c3a);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(9, 23, 18, 0.28);
  cursor: pointer;
}
.sticky-cta:hover {
  background: var(--accent-button-hover, #0f5a30);
  color: #fff;
}
.sticky-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sticky-cta[hidden] {
  display: none;
}

@media (min-width: 721px) {
  .sticky-cta {
    display: none !important;
  }
}

.hero {
  min-height: min(36rem, 70vh);
}

.hero-copy {
  /* Clear the shared logo (top offset + height + a little air). */
  padding-top: calc(var(--ohl-logo-top) + var(--ohl-logo-height) + 1rem);
  padding-bottom: 3.25rem;
}

/* Same sizes and line-heights as the homepage hero heading at each
   breakpoint (tokens in site-brand.css). Typeface and colors stay
   this page's: Cormorant for both lines, gold italic "Get pricing." */
.hero h1 {
  max-width: none;
  font-size: var(--ohl-hero-title-size);
  font-weight: 500;
  line-height: var(--ohl-hero-title-leading);
  letter-spacing: -0.03em;
}

.hero h1 em {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--ohl-hero-italic-size);
  font-style: italic;
  font-weight: 400;
  line-height: var(--ohl-hero-italic-leading);
}

@media (max-width: 720px) {
  .hero {
    min-height: 18rem;
  }

  .hero-copy {
    padding-bottom: 1.15rem;
  }

  .steps-section {
    padding-top: 1.5rem;
  }
}

/* Wide screens: the menu sits on the brightest part of the sky, so give it its own light shade. */
@media (min-width: 761px) {
  .site-header {
    background: linear-gradient(180deg, rgba(9, 23, 18, 0.68), rgba(9, 23, 18, 0));
  }
}

@media (max-width: 560px) {
  /* Reassert the shared heading tokens; book/styles.css sets a larger clamp here. */
  .hero h1 {
    font-size: var(--ohl-hero-title-size);
    line-height: var(--ohl-hero-title-leading);
  }

  .hero h1 em {
    font-size: var(--ohl-hero-italic-size);
    line-height: var(--ohl-hero-italic-leading);
  }
}
