/* Little Discoveries — shared components */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scroll-padding-bottom: 6.5rem;
}
body {
  background: #FAF8F4;
  color: #1F1F1F;
  font-family: "Nunito Sans", system-ui, sans-serif;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

.label-caps {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5F7A63;
}

@media (min-width: 640px) {
  .label-caps {
    font-size: 0.7rem;
  }
}

/* Bottom forest CTAs clear the sticky mobile bar */
.cta-band {
  padding-bottom: calc(3.5rem + 4.5rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .cta-band {
    padding-bottom: 4rem;
  }
}

/* Non-forest final CTAs / footers */
@media (max-width: 767px) {
  body.has-mobile-cta .mobile-bottom-pad {
    padding-bottom: calc(4rem + 4.75rem + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-cta footer {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .hero-ctas > .btn-primary,
  .hero-ctas > .btn-secondary {
    width: auto;
    flex: 0 0 auto;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #243C2E;
  color: #FAF8F4;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  border: 1.5px solid #243C2E;
  box-sizing: border-box;
  min-height: 3.15rem;
  line-height: 1.25;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn-primary:hover {
  background: #1a2e22;
  border-color: #1a2e22;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(36, 60, 46, 0.2);
}
@media (hover: none) {
  .btn-primary:hover,
  .btn-secondary:hover,
  .card-brand:hover {
    transform: none;
    box-shadow: inherit;
  }
  .btn-primary:hover {
    box-shadow: none;
  }
  .card-brand:hover {
    box-shadow: 0 4px 24px rgba(36, 60, 46, 0.08);
  }
}
.btn-primary:focus-visible {
  outline: 2px solid #5F7A63;
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #243C2E;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  border: 1.5px solid #243C2E;
  box-sizing: border-box;
  min-height: 3.15rem;
  line-height: 1.25;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: #E8EDE9;
  transform: scale(1.02);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: #243C2E;
  font-weight: 600;
  transition: color 0.2s, gap 0.2s;
}
.btn-ghost:hover { color: #5F7A63; gap: 0.55rem; }

.speech-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}
.speech-row .speech {
  min-width: 0;
  flex: 1 1 auto;
}

.speech {
  position: relative;
  background: #FAF8F4;
  border: 1.5px solid #E8E2D6;
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: #4A4A4A;
  max-width: 18rem;
  box-shadow: 0 4px 16px rgba(36, 60, 46, 0.06);
}
.speech::after {
  content: '';
  position: absolute;
  left: -7px;
  bottom: 1.35rem;
  width: 12px;
  height: 12px;
  background: #FAF8F4;
  border-left: 1.5px solid #E8E2D6;
  border-bottom: 1.5px solid #E8E2D6;
  transform: rotate(45deg);
}

@media (max-width: 639px) {
  .speech.speech--from-left {
    font-size: 0.8125rem;
    padding: 0.7rem 0.9rem;
    line-height: 1.45;
  }
  .speech.speech--from-left::after {
    bottom: 1rem;
  }
}

.card-brand {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(36, 60, 46, 0.08);
  border: 1px solid rgba(185, 168, 142, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.card-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(36, 60, 46, 0.12);
}

/* Inside Out Crew teaching cards */
.crew-panel {
  background: #FAF8F4;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(36, 60, 46, 0.08);
  border: 1px solid rgba(185, 168, 142, 0.2);
}
.crew-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 14px;
  padding: 1.35rem 1rem 1.25rem;
  height: 100%;
  min-height: 100%;
}
.crew-card__avatar {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
}
.crew-card__avatar img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.crew-card__body {
  flex: 1;
  margin-bottom: 1rem;
}
.crew-card__skill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
}
.crew-card--birch { background: #E4EDE6; }
.crew-card--birch .crew-card__name,
.crew-card--birch .crew-card__skill { color: #5F7A63; }
.crew-card--sunny { background: #F5EDD8; }
.crew-card--sunny .crew-card__name,
.crew-card--sunny .crew-card__skill { color: #A88628; }
.crew-card--bella { background: #F5E6E2; }
.crew-card--bella .crew-card__name,
.crew-card--bella .crew-card__skill { color: #C46B4A; }
.crew-card--milo { background: #E4EAF1; }
.crew-card--milo .crew-card__name,
.crew-card--milo .crew-card__skill { color: #4A5F7A; }
.crew-card--willow { background: #EBE6F0; }
.crew-card--willow .crew-card__name,
.crew-card--willow .crew-card__skill { color: #8B7A9E; }
.crew-card--ember { background: #E8EAF3; }
.crew-card--ember .crew-card__name,
.crew-card--ember .crew-card__skill { color: #C4A035; }

/* A Day values bar — overlaps hero */
.day-values-bar {
  background: #FAF8F4;
  border: 1px solid rgba(185, 168, 142, 0.28);
  box-shadow: 0 8px 28px rgba(36, 60, 46, 0.12);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.35rem 0;
}
.day-values-bar li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #243C2E;
  line-height: 1.3;
}
.day-values-bar li span {
  text-wrap: balance;
}
.day-values-bar li + li {
  border-top: 1px solid rgba(185, 168, 142, 0.28);
}
.day-values-bar__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}
@media (min-width: 640px) {
  .day-values-bar {
    grid-template-columns: 1fr 1fr;
  }
  .day-values-bar li:nth-child(odd) {
    border-right: 1px solid rgba(185, 168, 142, 0.28);
  }
  .day-values-bar li:nth-child(-n+2) {
    border-top: none;
  }
  .day-values-bar li:nth-child(n+3) {
    border-top: 1px solid rgba(185, 168, 142, 0.28);
  }
  .day-values-bar li:nth-child(5) {
    grid-column: 1 / -1;
    border-right: none;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .day-values-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    grid-template-columns: none;
    border-radius: 9999px;
    padding: 0.65rem 0.5rem;
  }
  .day-values-bar li {
    flex: 1;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border: none !important;
    text-align: left;
  }
  .day-values-bar li + li {
    border-top: none;
    border-left: 1px solid rgba(185, 168, 142, 0.35);
  }
}

/* Shared hero media washes — readable type, photo visible on the right */
.hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-wash__mobile {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #faf8f4 0%,
    rgba(250, 248, 244, 0.97) 38%,
    rgba(250, 248, 244, 0.62) 68%,
    rgba(250, 248, 244, 0.22) 100%
  );
}
.hero-wash__desktop {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #faf8f4 0%,
    rgba(250, 248, 244, 0.97) 26%,
    rgba(250, 248, 244, 0.78) 44%,
    rgba(250, 248, 244, 0.28) 62%,
    transparent 78%
  );
}
/* Wider/stronger left wash for busy or warm-tinted photos */
.hero-wash__desktop--strong {
  background: linear-gradient(
    to right,
    #faf8f4 0%,
    rgba(250, 248, 244, 0.98) 30%,
    rgba(250, 248, 244, 0.85) 48%,
    rgba(250, 248, 244, 0.35) 66%,
    transparent 82%
  );
}
.hero-wash__floor {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(to top, rgba(250, 248, 244, 0.72), transparent);
}
@media (min-width: 768px) {
  .hero-wash__mobile {
    display: none;
  }
  .hero-wash__desktop {
    display: block;
  }
  .hero-wash__floor {
    height: 5.5rem;
    background: linear-gradient(to top, rgba(250, 248, 244, 0.45), transparent);
  }
}
.section-accent {
  position: relative;
}
.section-accent__art {
  display: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.5;
}
.section-accent__art--left {
  left: 0;
  object-position: left center;
}
.section-accent__art--right {
  right: 0;
  left: auto;
  object-position: right center;
}
.section-accent > *:not(.section-accent__art):not(.values-overlap) {
  position: relative;
  z-index: 1;
}
.section-accent > .values-overlap {
  z-index: 2;
}
@media (min-width: 768px) {
  .section-accent__art {
    display: block;
  }
}
@media (min-width: 1024px) {
  .section-accent__art {
    opacity: 0.55;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 168, 142, 0.35);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4A4A4A;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: #243C2E; }

#menu-btn {
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 1023px) {
  #menu-btn {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  #menu-btn {
    display: none !important;
  }
  .mobile-panel {
    display: none !important;
  }
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(232, 237, 233, 0.95), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(245, 237, 216, 0.7), transparent 50%),
    #FAF8F4;
  overflow: hidden;
}
.mobile-panel.open {
  display: flex;
  animation: mobile-panel-in 0.35s ease-out;
}
@keyframes mobile-panel-in {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-panel__art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.mobile-panel__scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.25rem 1.25rem 1rem;
}
.mobile-panel__intro {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.mobile-panel__mascot {
  width: 3.75rem;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(36, 60, 46, 0.12));
}
.mobile-panel__hello {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1.5px solid #E8E2D6;
  border-radius: 16px;
  padding: 0.7rem 0.95rem;
  box-shadow: 0 4px 16px rgba(36, 60, 46, 0.06);
  position: relative;
}
.mobile-panel__hello::after {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 1.1rem;
  width: 11px;
  height: 11px;
  background: #fff;
  border-left: 1.5px solid #E8E2D6;
  border-bottom: 1.5px solid #E8E2D6;
  transform: rotate(45deg);
}
.mobile-panel__hello-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5F7A63;
  margin-bottom: 0.2rem;
}
.mobile-panel__hello-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #243C2E;
  line-height: 1.25;
}
.mobile-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-panel__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  color: #243C2E;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(8px);
}
.mobile-panel.open .mobile-panel__link {
  animation: mobile-link-in 0.4s ease forwards;
}
.mobile-panel.open .mobile-panel__link:nth-child(1) { animation-delay: 0.04s; }
.mobile-panel.open .mobile-panel__link:nth-child(2) { animation-delay: 0.08s; }
.mobile-panel.open .mobile-panel__link:nth-child(3) { animation-delay: 0.12s; }
.mobile-panel.open .mobile-panel__link:nth-child(4) { animation-delay: 0.16s; }
.mobile-panel.open .mobile-panel__link:nth-child(5) { animation-delay: 0.2s; }
.mobile-panel.open .mobile-panel__link:nth-child(6) { animation-delay: 0.24s; }
.mobile-panel.open .mobile-panel__link:nth-child(7) { animation-delay: 0.28s; }
.mobile-panel.open .mobile-panel__link:nth-child(8) { animation-delay: 0.32s; }
@keyframes mobile-link-in {
  to { opacity: 1; transform: translateY(0); }
}
.mobile-panel__link:active,
.mobile-panel__link:hover {
  background: rgba(232, 237, 233, 0.9);
}
.mobile-panel__link[aria-current="page"] {
  background: #E8EDE9;
  color: #243C2E;
}
.mobile-panel__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}
.mobile-panel__dot--0 { background: #A88628; }
.mobile-panel__dot--1 { background: #5F7A63; }
.mobile-panel__dot--2 { background: #C46B4A; }
.mobile-panel__dot--3 { background: #4A5F7A; }
.mobile-panel__dot--4 { background: #8B7A9E; }
.mobile-panel__dot--5 { background: #C4A035; }
.mobile-panel__dot--6 { background: #5F7A63; }
.mobile-panel__footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 0.85rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, #FAF8F4 70%, rgba(250, 248, 244, 0));
  border-top: 1px solid rgba(185, 168, 142, 0.28);
}
.mobile-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  background: #243C2E;
  color: #FAF8F4;
  font-weight: 600;
  border-radius: 14px;
  margin-bottom: 0.65rem;
}
.mobile-panel__phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.mobile-panel__phone {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(185, 168, 142, 0.3);
  border-radius: 12px;
  text-decoration: none;
}
.mobile-panel__phone strong {
  font-size: 0.8rem;
  color: #243C2E;
}
.mobile-panel__phone span {
  font-size: 0.72rem;
  color: #6B6B6B;
}
body.menu-open,
body.call-sheet-open {
  overflow: hidden;
  touch-action: none;
}
body.menu-open .mobile-cta-bar,
body.menu-open .back-to-top {
  visibility: hidden;
  pointer-events: none;
}
body.menu-open .site-header {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(185, 168, 142, 0.2);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-panel.open,
  .mobile-panel.open .mobile-panel__link {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.crew-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF8F4;
  flex-shrink: 0;
}
.crew-avatar--lg {
  width: 9rem;
  height: 9rem;
}
@media (min-width: 768px) {
  .crew-avatar--lg {
    width: 10rem;
    height: 10rem;
  }
}

.wordmark-little {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #243C2E;
  line-height: 1;
  letter-spacing: 0.02em;
}
.wordmark-discoveries {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(185, 168, 142, 0.35);
  background: #E8EDE9;
}
@media (min-width: 640px) {
  .map-embed {
    aspect-ratio: 16 / 10;
  }
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 42rem;
  margin-inline: auto;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(185, 168, 142, 0.3);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36, 60, 46, 0.04);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(95, 122, 99, 0.45);
  box-shadow: 0 4px 20px rgba(36, 60, 46, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 1rem 1.15rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: #243C2E;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .faq-item summary {
    padding: 1.1rem 1.25rem;
    font-size: 1.05rem;
    align-items: flex-start;
  }
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #5F7A63;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  color: #2f4a39;
}
.faq-item summary:focus-visible {
  outline: 2px solid #5F7A63;
  outline-offset: 2px;
  border-radius: 14px;
}
.faq-item__body {
  padding: 0 1.15rem 1.15rem;
  color: #4A4A4A;
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (min-width: 640px) {
  .faq-item__body {
    padding: 0 1.25rem 1.2rem;
    font-size: 0.98rem;
  }
}
.faq-item__body a {
  color: #243C2E;
  font-weight: 600;
  text-underline-offset: 2px;
}
.faq-item__body a:hover {
  text-decoration: underline;
}

/* Form fields */
.field {
  width: 100%;
  border: 1.5px solid #D4C8B4;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 16px; /* prevent iOS zoom on focus */
  color: #1F1F1F;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235F7A63' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}
textarea.field {
  resize: vertical;
  min-height: 6.5rem;
}
.field:focus {
  outline: none;
  border-color: #5F7A63;
  box-shadow: 0 0 0 3px rgba(95, 122, 99, 0.2);
}
.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #243C2E;
  margin-bottom: 0.4rem;
}
.field-hint {
  font-size: 0.875rem;
  color: #6B6B6B;
  margin-top: 0.5rem;
}
#tour-form,
#book {
  scroll-margin-top: 5.5rem;
  scroll-margin-bottom: 6rem;
}

/* Tour page location pickers */
.tour-loc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  width: 100%;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(185, 168, 142, 0.4);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tour-loc:hover,
.tour-loc:focus-visible {
  border-color: #5F7A63;
  outline: none;
}
.tour-loc.is-selected {
  border-color: #243C2E;
  background: #E8EDE9;
  box-shadow: 0 0 0 3px rgba(95, 122, 99, 0.18);
}
.tour-loc__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #243C2E;
}
.tour-loc__meta {
  font-size: 0.8rem;
  color: #6B6B6B;
}
.tour-loc__phone {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #243C2E;
  text-decoration: none;
}
.tour-loc__phone:hover {
  color: #5F7A63;
}
.tour-form {
  background: #fff;
  border: 1px solid rgba(185, 168, 142, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(36, 60, 46, 0.08);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .tour-form {
    padding: 2rem;
  }
}
.tour-form__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .tour-form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-form__grid .tour-form__full {
    grid-column: 1 / -1;
  }
}
.tour-form-success {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #E8EDE9;
  border-radius: 20px;
}

/* Mobile sticky CTA + call sheet + back to top */
body.has-mobile-cta {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
body.has-mobile-cta--call-only {
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body.has-mobile-cta,
  body.has-mobile-cta--call-only {
    padding-bottom: 0;
  }
  html {
    scroll-padding-bottom: 1.5rem;
  }
}
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(185, 168, 142, 0.35);
  box-shadow: 0 -8px 28px rgba(36, 60, 46, 0.1);
}
@media (min-width: 768px) {
  .mobile-cta-bar,
  .mobile-call-sheet {
    display: none !important;
  }
}
.mobile-cta-bar__call,
.mobile-cta-bar__tour {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}
.mobile-cta-bar__call {
  background: #fff;
  color: #243C2E;
  border: 1.5px solid #243C2E;
}
.mobile-cta-bar__tour {
  background: #243C2E;
  color: #FAF8F4;
  border: 1.5px solid #243C2E;
}
.has-mobile-cta--call-only .mobile-cta-bar__call {
  min-height: 3rem;
}
.mobile-call-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.mobile-call-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.4);
}
.mobile-call-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FAF8F4;
  border-radius: 20px 20px 0 0;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(36, 60, 46, 0.15);
}
.mobile-call-sheet__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.25rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid rgba(185, 168, 142, 0.3);
  border-radius: 14px;
  margin-bottom: 0.65rem;
}
.mobile-call-sheet__cancel {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 2.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  font-weight: 600;
  color: #243C2E;
  background: #E8EDE9;
}
.back-to-top {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #243C2E;
  color: #FAF8F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(36, 60, 46, 0.25);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.back-to-top.back-to-top--solo {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  left: auto;
  right: 1rem;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 768px) {
  .back-to-top,
  .back-to-top.back-to-top--solo {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn-primary,
  .btn-secondary,
  .card-brand,
  .back-to-top {
    transition: none !important;
  }
}
