/* Root page local overrides */
:root {
  --bg: #fffaf4;
  --bg-soft: #fff5ec;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --ink: #294248;
  --ink-soft: rgba(41, 66, 72, 0.78);
  --accent: #d98b5f;
  --accent-deep: #c87444;
  --accent-soft: rgba(217, 139, 95, 0.18);
  --teal: #6f9397;
  --line: rgba(41, 66, 72, 0.12);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 192, 135, 0.28), transparent 26%),
    radial-gradient(circle at left center, rgba(111, 147, 151, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #fff8f1 48%, #fdf3ea 100%);
}

#brand-header,
#top,
.brand,
.nav-links-list a {
  color: #476268;
}

.hero,
#about,
#home-events,
#home-cta {
  position: relative;
  z-index: 2;
}

#page-root {
  opacity: 0;
  transition: opacity 0.18s ease;
}



#page-root[data-dx-visible="1"] {
  opacity: 1;
}

/* Hero */
.hero {
  width: calc(100% - 2rem);
  min-height: 88vh;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(121, 101, 84, 0.12);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.3s ease-in-out, transform 6.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-overlay {
  background:
    linear-gradient(
      to top,
      rgba(255, 248, 240, 0.88),
      rgba(255, 248, 240, 0.42),
      rgba(255, 248, 240, 0.10)
    ),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.34),
      transparent 42%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 18vh 0 4.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(41, 66, 72, 0.85);
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
  color: var(--ink);
}

.hero-copy {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.92rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7a67e 0%, #d98b5f 100%);
  color: #fff;
  box-shadow: 0 15px 30px var(--accent-soft);
  text-align: center;
}

.btn-alt {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

/* Shared content sections */
#about,
#home-events,
#home-cta {
  padding: 1rem 0 4rem;
}

#about-content,
#home-events-content,
#home-cta-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  color: var(--ink);
}

.section-copy p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* About highlights */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.highlight-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(217, 139, 95, 0.2));
}

.highlight-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--ink);
}

.highlight-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Upcoming stops mini calendar */
.home-calendar-list {
  display: grid;
  gap: 1rem;
}

.home-calendar-empty {
  padding: 2rem 0;
  font-size: 1rem;
  text-align: center;
  color: var(--ink-soft);
}

.home-calendar-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.home-calendar-item:last-child {
  border-bottom: 1px solid var(--line);
}

.home-calendar-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(41, 66, 72, 0.08);
}

.home-calendar-date .month {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.home-calendar-date .day {
  margin: 0.2rem 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
}

.home-calendar-date .year {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.home-calendar-info h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--ink);
}

.home-calendar-info .location {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.home-calendar-info .note {
  margin: 0;
  color: var(--ink-soft);
}

.home-events-actions {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

@media (min-width: 901px) {
  .home-events-actions {
    margin-top: 2.4rem;
  }
}

.home-events-actions .btn,
.home-cta-actions .btn {
  min-width: 220px;
}

/* CTA */
.home-cta-banner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.home-cta-copy {
  max-width: 720px;
}

.home-cta-copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  color: var(--ink);
}

.home-cta-copy p:last-child {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.home-cta-actions {
  flex-shrink: 0;
  margin-top: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    min-height: 80vh;
    border-radius: 24px;
  }

  .hero-content {
    padding-top: 14vh;
    padding-bottom: 3rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-calendar-item {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .home-calendar-date {
    width: 100px;
  }

  .home-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-cta-actions .btn {
    min-width: 0;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    width: calc(100% - 1rem);
    min-height: auto;
    margin-bottom: 1.5rem;
    border-radius: 22px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to top,
        rgba(255, 248, 240, 0.94),
        rgba(255, 248, 240, 0.64),
        rgba(255, 248, 240, 0.18)
      ),
      linear-gradient(
        to right,
        rgba(255, 255, 255, 0.2),
        transparent 55%
      );
  }

  .hero-content {
    padding: 7rem 0 2.5rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    line-height: 0.94;
  }

  .hero-copy {
    margin-top: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  #about,
  #home-events,
  #home-cta {
    padding: 0.5rem 0 3rem;
  }

  #about-content,
  #home-events-content,
  #home-cta-content {
    width: calc(100% - 1.25rem);
  }

  .section-copy {
    margin-bottom: 1.5rem;
  }

  .section-copy h2,
  .home-cta-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    line-height: 0.98;
  }

  .section-copy p,
  .home-cta-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .highlight-grid {
    gap: 1rem;
  }

  .highlight-card h3 {
    font-size: 1rem;
  }

  .home-calendar-list {
    gap: 0.85rem;
  }

  .home-calendar-item {
    gap: 0.85rem;
    padding: 1rem 0;
  }

  .home-calendar-date {
    width: 92px;
    min-height: 88px;
    padding: 0.65rem 0.45rem;
    border-radius: 16px;
  }

  .home-calendar-date .month {
    font-size: 0.72rem;
  }

  .home-calendar-date .day {
    font-size: 1.75rem;
  }

  .home-calendar-date .year {
    font-size: 0.76rem;
  }

  .home-calendar-info h3 {
    font-size: 1.08rem;
  }

  .home-calendar-info .location,
  .home-calendar-info .note {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .home-events-actions,
  .home-cta-actions {
    width: 100%;
    justify-content: stretch;
  }

  .home-events-actions .btn,
  .home-cta-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .home-cta-banner {
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .hero {
    width: calc(100% - 0.75rem);
    border-radius: 18px;
  }

  .hero-content {
    padding: 6.25rem 0 2.15rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 11.5vw, 3rem);
  }

  .hero-copy,
  .section-copy p,
  .home-cta-copy p:last-child,
  .home-calendar-info .location,
  .home-calendar-info .note {
    font-size: 0.94rem;
  }

  #about-content,
  #home-events-content,
  #home-cta-content {
    width: calc(100% - 1rem);
  }

  .home-calendar-date {
    width: 84px;
    min-height: 82px;
  }

  .btn {
    min-height: 50px;
    padding: 0.88rem 1rem;
  }
}