/* Common Roots — site styles (hero uses photo + static overlays). */

:root {
  --color-cream: #fbf6ef;
  --color-ink: #1a1410;
  --color-ink-muted: #4a4238;
  --color-red: #c42b2e;
  --color-red-dark: #8f1e22;
  --color-green: #1f6b4a;
  --color-green-dark: #134530;
  --color-gold: #e8b84a;
  --color-gold-soft: #f4d896;
  --color-sky: #87b8c8;
  --shadow-soft: 0 8px 32px rgba(26, 20, 16, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --radius-pill: 999px;
  --content-max: 52rem;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__ribbon {
    animation: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-cream);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(232, 184, 74, 0.15), transparent 50%),
    radial-gradient(ellipse 100% 60% at 0% 100%, rgba(31, 107, 74, 0.12), transparent 55%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-ink);
  color: var(--color-cream);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(251, 246, 239, 0.97), rgba(251, 246, 239, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-green)) 1;
  box-shadow: 0 1px 0 rgba(26, 20, 16, 0.06);
}

.site-header__bar {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
  line-height: 1.15;
}

.site-header__brand-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.site-header__brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green-dark);
}

.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius);
  background: var(--color-cream);
  color: var(--color-ink);
}

.site-header__menu-btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-header__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__link {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-decoration: none;
  border-radius: 6px;
}

.site-header__link:hover {
  color: var(--color-red-dark);
  background: rgba(196, 43, 46, 0.08);
}

.site-header__link[aria-current="true"] {
  color: var(--color-red-dark);
  background: rgba(232, 184, 74, 0.25);
}

.site-header__link--emphasis {
  color: var(--color-red);
}

@media (max-width: 52rem) {
  .site-header__menu-btn {
    display: inline-flex;
  }

  .site-header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(251, 246, 239, 0.98);
    border-bottom: 1px solid rgba(26, 20, 16, 0.08);
    box-shadow: var(--shadow-soft);
    display: none;
    justify-content: stretch;
  }

  .site-header__nav.site-header__nav--open {
    display: flex;
  }

  .site-header__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-header__link {
    padding: 0.65rem 0.5rem;
  }
}

/* ——— Hero (photo + CSS layers) ——— */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 3rem;
}

.hero--with-photo {
  min-height: clamp(26rem, 78vh, 44rem);
}

/* Panorama crop; sits behind scrim + decor */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Stronger wash so text stays readable over the photo */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(251, 246, 239, 0.94) 0%,
    rgba(251, 246, 239, 0.88) 40%,
    rgba(251, 246, 239, 0.72) 65%,
    rgba(26, 20, 16, 0.22) 100%
  );
}

/* Subtle static tint only (no stripes — they clash with the photo) */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(196, 43, 46, 0.08) 0%, transparent 45%),
    linear-gradient(335deg, rgba(31, 107, 74, 0.08) 0%, transparent 45%);
  opacity: 0.5;
}

/* Ribbon between tagline and title — subtle gradient drift */
.hero__ribbon {
  height: 6px;
  margin: 0.35rem 0 0.85rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--color-red),
    var(--color-gold),
    var(--color-green),
    var(--color-red)
  );
  background-size: 200% 100%;
  opacity: 0.95;
  animation: hero-ribbon-flow 6s ease-in-out infinite alternate;
}

@keyframes hero-ribbon-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Solid-enough panel so body copy and buttons aren’t on the photo */
.hero--with-photo .hero__inner {
  background: rgba(251, 246, 239, 0.94);
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(26, 20, 16, 0.08);
}

.hero--with-photo .hero__title {
  text-shadow: none;
}

.hero--with-photo .hero__eyebrow {
  text-shadow: none;
}

.hero--with-photo .hero__subtitle {
  color: var(--color-ink-muted);
  text-shadow: none;
}

.hero--with-photo .hero__lede {
  color: var(--color-ink);
  text-shadow: none;
}

.hero--with-photo .hero__note {
  color: var(--color-ink-muted);
  text-shadow: none;
}

.hero--with-photo .hero__facts li {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(26, 20, 16, 0.06);
}

.hero__eyebrow {
  margin: 0 0 clamp(0.35rem, 1.5vw, 0.5rem);
  max-width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green-dark);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-red-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero__subtitle {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-style: italic;
  color: var(--color-ink-muted);
}

.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.1rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-gold);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-left-color 0.2s ease,
    background-color 0.2s ease;
}

.hero__facts li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 20, 16, 0.12);
  border-left-color: var(--color-green);
  background: rgba(255, 255, 255, 0.88);
}

.hero__fact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
  margin-bottom: 0.2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

/* ——— Sections ——— */

.section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(251, 246, 239, 0.9));
  border-top: 1px solid rgba(26, 20, 16, 0.06);
  border-bottom: 1px solid rgba(26, 20, 16, 0.06);
}

.section--ribbon {
  position: relative;
  background: linear-gradient(135deg, rgba(196, 43, 46, 0.09), rgba(232, 184, 74, 0.15));
}

.section--ribbon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 40rem;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-green-dark);
}

.section__h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
}

.section__lede {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.section__note {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-ink-muted);
}

.section__outro {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
}

.list li {
  margin-bottom: 0.35rem;
}

/* ——— Schedule table ——— */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 1rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}

.schedule-table th {
  background: linear-gradient(180deg, rgba(31, 107, 74, 0.12), rgba(31, 107, 74, 0.06));
  font-family: var(--font-display);
  font-weight: 700;
}

.schedule-table tbody tr {
  transition: background-color 0.2s ease;
}

.schedule-table tbody tr:hover td {
  background-color: rgba(232, 184, 74, 0.1);
}

.schedule-table tbody tr:hover td:first-child {
  box-shadow: inset 4px 0 0 var(--color-gold);
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

/* ——— Cards ——— */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--color-gold);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-top-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 20, 16, 0.11);
  border-top-color: var(--color-red);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red-dark);
}

.card__text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-ink-muted);
}

/* ——— Buttons ——— */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.button--primary {
  background: linear-gradient(180deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(143, 30, 34, 0.35);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143, 30, 34, 0.42);
}

.button--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(143, 30, 34, 0.35);
}

.button--secondary {
  background: #fff;
  color: var(--color-green-dark);
  border-color: var(--color-green);
}

.button--secondary:hover {
  transform: translateY(-1px);
  background: rgba(31, 107, 74, 0.06);
  border-color: var(--color-green-dark);
  box-shadow: 0 4px 12px rgba(26, 20, 16, 0.08);
}

.button--secondary:active {
  transform: translateY(0);
}

.button--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink-muted);
}

.button--ghost:hover {
  transform: translateY(-1px);
  background: rgba(26, 20, 16, 0.05);
  border-color: var(--color-ink);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06);
}

.button--ghost:active {
  transform: translateY(0);
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

.placeholder-note code {
  font-size: 0.8em;
  padding: 0.1rem 0.35rem;
  background: rgba(26, 20, 16, 0.06);
  border-radius: 4px;
}

.contact-email {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-green-dark);
}

/* ——— Footer ——— */

.site-footer {
  padding: 2.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.04), rgba(26, 20, 16, 0.09));
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-green), var(--color-gold), var(--color-red)) 1;
  text-align: center;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-footer__tagline {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-green-dark);
}

.site-footer__meta,
.site-footer__legal {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

.site-footer__site {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.site-footer__link {
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__link:hover {
  color: var(--color-red-dark);
}

/* Respect reduced motion: keep color/shadow hints, drop lifts */
@media (prefers-reduced-motion: reduce) {
  .button,
  .hero__facts li,
  .card,
  .schedule-table tbody tr {
    transition-duration: 0.01ms;
  }

  .button:hover,
  .button:active,
  .hero__facts li:hover,
  .card:hover {
    transform: none;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
