:root {
  --sky-top: #8ec5ff;
  --sky-bottom: #f4fbff;
  --sand-light: #f6dfb7;
  --sand-dark: #c79252;
  --clay: #cf7a45;
  --sage: #758b4a;
  --ink: #1f1711;
  --paper: #fffaf1;
  --cream: #f5ead2;
  --line: rgba(46, 32, 18, 0.12);
  --shadow: 0 22px 55px rgba(82, 51, 22, 0.16);
  --heading-font: "American Typewriter", "Palatino Linotype", "Book Antiqua", serif;
  --body-font: "Avenir Next", "Trebuchet MS", "Gill Sans MT", sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 18%),
    radial-gradient(circle at 90% 12%, rgba(255, 238, 190, 0.8), transparent 12%),
    linear-gradient(180deg, var(--sky-top) 0%, #cce6ff 18%, #e8efe0 42%, var(--sand-light) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    radial-gradient(rgba(115, 87, 45, 0.08) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.45;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
}

.page-shell::before {
  width: 320px;
  height: 320px;
  top: 140px;
  right: -120px;
  background: rgba(255, 199, 111, 0.55);
}

.page-shell::after {
  width: 240px;
  height: 240px;
  left: -120px;
  bottom: 160px;
  background: rgba(146, 178, 97, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.58);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(68, 45, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f2a23, #836745);
  color: var(--paper);
  font-family: var(--heading-font);
  font-size: 1.3rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.66;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.9rem 1.2rem;
}

.site-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  padding: 6rem 0;
}

section[id] {
  scroll-margin-top: 7rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding-top: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 23, 17, 0.72);
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.route-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.7rem, 8vw, 7rem);
}

.hero h1 span {
  color: var(--clay);
}

.lede,
.service-card p,
.step-card p,
.route-panel,
.info-card p,
.testimonial-card p,
.form-note {
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(31, 23, 17, 0.8);
}

.lede {
  max-width: 36rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-solid {
  background: linear-gradient(180deg, #30281f 0%, #7b5f3f 100%);
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(71, 48, 27, 0.22);
}

.button-ghost {
  border-color: rgba(47, 35, 23, 0.2);
  background: rgba(255, 250, 241, 0.66);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 250, 241, 0.92);
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
}

.hero-metrics li,
.service-card,
.step-card,
.route-panel,
.booking-form,
.info-card,
.testimonial-card {
  background: rgba(255, 250, 241, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-metrics li {
  border-radius: 1.3rem;
  padding: 1.2rem;
}

.hero-metrics strong {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 23, 17, 0.68);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 74% 16%, rgba(255, 215, 131, 0.6), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 234, 210, 0.9));
  border: 1px solid rgba(53, 39, 21, 0.12);
  box-shadow: 0 28px 70px rgba(83, 51, 24, 0.2);
}

.hero-photo-card {
  padding: 1rem;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 1.3rem 1.3rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 216, 137, 0.95), rgba(255, 216, 137, 0) 65%);
  filter: blur(10px);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.7rem;
  border: 1px solid rgba(53, 39, 21, 0.1);
  box-shadow: 0 18px 30px rgba(85, 57, 29, 0.18);
}

.hero-badge,
.route-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(33, 24, 16, 0.88);
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  top: -0.7rem;
  left: 1.2rem;
  transform: rotate(-5deg);
}

.route-chip {
  right: 1.2rem;
  bottom: 1.2rem;
  background: rgba(207, 122, 69, 0.96);
  animation: bob 5s ease-in-out infinite;
}

.hero-inset {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: min(34%, 13rem);
  margin: 0;
  padding: 0.55rem;
  border-radius: 1.3rem;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(53, 39, 21, 0.12);
  box-shadow: 0 12px 24px rgba(70, 45, 21, 0.16);
  transform: rotate(-4deg);
}

.hero-inset img {
  border-radius: 1rem;
}

.hero-inset figcaption,
.photo-card figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31, 23, 17, 0.62);
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(47, 35, 23, 0.08);
  border-bottom: 1px solid rgba(47, 35, 23, 0.08);
  background: rgba(247, 236, 213, 0.56);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: rgba(31, 23, 17, 0.8);
  animation: scroll-track 22s linear infinite;
}

.ticker-track span {
  position: relative;
}

.ticker-track span::after {
  content: "/";
  margin-left: 2rem;
  color: rgba(31, 23, 17, 0.34);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.3rem;
}

.section-heading h2,
.route-copy h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}

.split-section,
.route-section,
.booking-layout,
.photo-grid,
.team-grid {
  display: grid;
  gap: 1.4rem;
}

.photo-grid {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
}

.photo-card,
.photo-copy {
  background: rgba(255, 250, 241, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: 1.7rem;
}

.photo-card {
  padding: 0.85rem;
}

.photo-card img {
  width: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
}

.photo-card-tall {
  grid-row: span 2;
}

.photo-card-tall img {
  aspect-ratio: 4 / 5;
  object-position: center 15%;
}

.photo-card-wide img {
  aspect-ratio: 16 / 10;
  object-position: center 28%;
}

.photo-copy {
  padding: 1.6rem;
}

.photo-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.photo-copy p {
  margin-top: 0;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: 1.8rem;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-bottom: 1px solid rgba(53, 39, 21, 0.08);
}

.team-meta,
.team-placeholder {
  padding: 1.35rem 1.35rem 1.5rem;
}

.team-meta h3,
.team-placeholder h3 {
  margin: 0.7rem 0 0.55rem;
  font-family: var(--heading-font);
  font-size: 1.7rem;
  line-height: 1.05;
}

.team-meta p:last-child,
.team-placeholder p:last-child {
  margin-bottom: 0;
}

.team-card-optional .team-placeholder {
  display: none;
}

.team-card.is-missing {
  display: grid;
  grid-template-rows: auto 1fr;
}

.team-card.is-missing .team-photo {
  display: none;
}

.team-card.is-missing .team-placeholder {
  display: block;
  min-height: 18rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.55), rgba(243, 228, 193, 0.88)),
    repeating-linear-gradient(
      -45deg,
      rgba(117, 139, 74, 0.06),
      rgba(117, 139, 74, 0.06) 12px,
      rgba(207, 122, 69, 0.05) 12px,
      rgba(207, 122, 69, 0.05) 24px
    );
}

.team-card.is-missing code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.fundraiser-shell,
.fundraiser-embed {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
}

.fundraiser-shell {
  padding: 1.8rem;
}

.fundraiser-shell .section-heading {
  margin-bottom: 1.7rem;
}

.fundraiser-embed {
  padding: 1rem;
  overflow: hidden;
}

.gfm-embed {
  width: 100%;
  min-height: 560px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.8rem;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(207, 122, 69, 0.08);
}

.service-number,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 999px;
  background: rgba(117, 139, 74, 0.12);
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card h3,
.step-card h3,
.route-panel h3,
.info-card h3 {
  margin: 1rem 0 0.7rem;
  font-family: var(--heading-font);
  font-size: 1.65rem;
  line-height: 1.05;
}

.route-section {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.step-card,
.route-panel,
.booking-form,
.info-card,
.testimonial-card {
  border-radius: 1.7rem;
  padding: 1.5rem;
}

.panel-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(31, 23, 17, 0.58);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.panel-list li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.5;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
}

.panel-quote {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(47, 35, 23, 0.12);
}

.panel-quote p {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.45rem;
  line-height: 1.2;
}

.panel-quote span,
.testimonial-card span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31, 23, 17, 0.58);
}

.booking-layout {
  grid-template-columns: 1fr 0.95fr;
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 35, 23, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--ink);
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(207, 122, 69, 0.24);
  outline-offset: 2px;
}

.booking-copy {
  display: grid;
  gap: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.5rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(31, 23, 17, 0.66);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes scroll-track {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero,
  .route-section,
  .booking-layout,
  .service-grid,
  .photo-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.8rem;
  }

  .site-header::before {
    inset: 0;
    border-radius: 1.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-around;
    padding-top: 0;
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 1rem;
  }

  .hero-badge,
  .route-chip {
    position: static;
    width: fit-content;
    margin-bottom: 0.85rem;
    transform: none;
  }

  .hero-inset {
    position: static;
    width: 100%;
    margin-top: 0.85rem;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
