/* The brochure request form (/brochure).
   Self-contained: every rule is scoped under .eoi. Mobile first. */
.eoi {
  --eoi-green: #146c3a;       /* white text AA; same as site CTAs */
  --eoi-green-dark: #0f5a30;
  --eoi-ink: #17251f;
  --eoi-muted: #4c5a53;
  --eoi-line: rgba(29, 61, 52, 0.22);
  --eoi-paper: #fffdf9;
  box-sizing: border-box;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid var(--eoi-line);
  border-radius: 1.25rem;
  background: var(--eoi-paper);
  box-shadow: 0 18px 40px rgba(23, 37, 31, 0.12);
  color: var(--eoi-ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.eoi *, .eoi *::before, .eoi *::after { box-sizing: border-box; }
.eoi [hidden] { display: none !important; }
.eoi h2 {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}
.eoi .eoi-lede { margin: 0 0 1.25rem; color: var(--eoi-muted); font-size: 1rem; line-height: 1.5; }
.eoi form { display: grid; gap: 0.9rem; margin: 0; }
.eoi label { display: grid; gap: 0.35rem; font-size: 0.95rem; font-weight: 600; }
.eoi input[type="text"], .eoi input[type="email"], .eoi input[type="tel"], .eoi input[type="number"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--eoi-line);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--eoi-ink);
  font: 500 1.0625rem/1.3 "Plus Jakarta Sans", system-ui, sans-serif; /* 17px: no iOS zoom */
}
.eoi input:focus { outline: 3px solid rgba(27, 122, 61, 0.35); outline-offset: 1px; border-color: var(--eoi-green); }
.eoi input[aria-invalid="true"] { border-color: #b42318; }
.eoi .eoi-error { margin: -0.2rem 0 0; color: #b42318; font-size: 0.875rem; font-weight: 600; }
.eoi .eoi-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eoi .eoi-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 0.3rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--eoi-green);
  color: #fff;
  font: 700 1.125rem/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(27, 122, 61, 0.28);
}
.eoi .eoi-submit:hover, .eoi .eoi-submit:focus-visible { background: var(--eoi-green-dark); }
.eoi .eoi-submit:focus-visible { outline: 3px solid #0b3d1c; outline-offset: 2px; }
.eoi .eoi-submit[disabled] { opacity: 0.7; cursor: progress; }
.eoi .eoi-note { margin: 0; color: var(--eoi-muted); font-size: 0.9rem; text-align: center; line-height: 1.45; }
.eoi .eoi-note a { color: var(--eoi-green-dark); font-weight: 600; }
.eoi .eoi-status { margin: 0; padding: 0.7rem 0.9rem; border-radius: 0.7rem; background: #fef3f2; color: #b42318; font-size: 0.92rem; font-weight: 600; }
.eoi .eoi-check {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 0 0 1rem; padding: 0.85rem 1rem; border-radius: 0.9rem;
  background: #ecfdf3; color: #0b5a2a; font-size: 0.98rem; line-height: 1.45;
}
.eoi .eoi-check strong { display: block; font-size: 1.05rem; }
.eoi .eoi-check-icon {
  flex: none; display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--eoi-green); color: #fff; font-weight: 700;
}
.eoi h3 { margin: 0.25rem 0 0.25rem; font-size: 1.15rem; }
.eoi .eoi-optional { color: var(--eoi-muted); font-weight: 500; font-size: 0.9rem; }

/* Calendar */
.eoi .eoi-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0.75rem 0 0.5rem; }
.eoi .eoi-cal-title { margin: 0; font-size: 1.05rem; font-weight: 700; }
.eoi .eoi-nav {
  width: 2.9rem; height: 2.9rem; border: 1.5px solid var(--eoi-line); border-radius: 50%;
  background: #fff; color: var(--eoi-ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.eoi .eoi-nav[disabled] { opacity: 0.35; cursor: default; }
.eoi .eoi-weekdays, .eoi .eoi-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.eoi .eoi-weekdays span { text-align: center; color: var(--eoi-muted); font-size: 0.75rem; font-weight: 600; }
.eoi .eoi-day {
  height: 2.75rem; padding: 0;
  border: 1.5px solid transparent; border-radius: 0.6rem;
  background: #f1f1ee; color: #9aa39e; font: 600 0.95rem/1 "Plus Jakarta Sans", system-ui, sans-serif;
}
.eoi .eoi-day.is-blank { background: transparent; }
.eoi .eoi-day.is-open { background: #e3f4e8; color: #0b5a2a; border-color: rgba(27, 122, 61, 0.35); cursor: pointer; }
.eoi .eoi-day.is-open:hover, .eoi .eoi-day.is-open:focus-visible { border-color: var(--eoi-green); }
.eoi .eoi-day.is-booked { text-decoration: line-through; }
.eoi .eoi-day.is-chosen { background: var(--eoi-green); color: #fff; border-color: var(--eoi-green-dark); }
.eoi .eoi-cal-status { min-height: 1.3rem; margin: 0.5rem 0 0; color: var(--eoi-muted); font-size: 0.85rem; }
.eoi .eoi-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.35rem 0 0.75rem; padding: 0; list-style: none; color: var(--eoi-muted); font-size: 0.8rem; }
.eoi .eoi-legend span { display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.35rem; border-radius: 0.2rem; vertical-align: -0.1rem; }
.eoi .eoi-chosen { margin: 0.25rem 0 0; font-weight: 700; color: var(--eoi-green-dark); }
.eoi .eoi-skip {
  display: block; width: 100%; min-height: 3rem; margin-top: 0.35rem;
  border: 0; background: none; color: var(--eoi-muted);
  font: 600 1rem/1.2 "Plus Jakarta Sans", system-ui, sans-serif; text-decoration: underline; cursor: pointer;
}
.eoi .eoi-done p { margin: 0 0 0.75rem; line-height: 1.5; }
.eoi .eoi-call {
  display: flex; align-items: center; justify-content: center; min-height: 3.25rem;
  border: 1.5px solid var(--eoi-green); border-radius: 0.9rem; color: var(--eoi-green-dark);
  font-weight: 700; text-decoration: none;
}
@media (min-width: 720px) {
  .eoi { padding: 2rem 2rem 2.25rem; }
  .eoi .eoi-day { height: 3rem; }
}

/* /reserve: the brochure form leads the page; the full calendar form follows. */
.eoi-section { position: relative; z-index: 1; padding: 1.5rem 0.9rem 0; margin: 0 auto; max-width: 74rem; }
/* Bring the form up toward the first screen on /reserve. */
.hero:has(~ .eoi-section) { min-height: auto; }
.hero:has(~ .eoi-section) .hero-copy { padding-bottom: 2.25rem; }
@media (max-width: 720px) {
  .hero:has(~ .eoi-section) .hero-copy { padding-top: 7rem; }
  .hero:has(~ .eoi-section) h1 { font-size: clamp(3.2rem, 15vw, 4.4rem); max-width: none; }
  .hero:has(~ .eoi-section) .hero-copy > p:not(.eyebrow) { margin-top: 1rem; }
}
.eoi-secondary-heading { margin: 0 0 1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 600; text-align: center; }
body.eoi-active .eoi-hide-when-active { display: none !important; }
