/* Educational Farm Tour (her mock-up p5): the two tour boxes with sage season bars, the sage perks strip, the burgundy
   "be on time" pill, two story rows (words left, photos right), three captioned photos, and two video posters of
   equal height. Shared tokens only. */

/* hero: the ostrich's neck sat behind "Stories." and from 1600px the shared 40rem column broke the 3.875rem headline onto
   three lines. As on the ostrich-meat hero, from 900px the photo box starts where the words' column ends (the wrap's
   content edge plus the column width), so the words sit on clean cream and the shared fade runs to the right of them.
   "Discover Their Stories." measures 10.62em of the h1: 37.2rem at 3.5rem (a 38rem column holds it on one line from
   1200px) and 41.2rem at 3.875rem (42rem from 1600px). From 900 to 1199px a 28rem column keeps the photo near half the
   width and the headline takes three lines. */
@media (min-width: 900px) {
  .hero--split { --hero-copy: 28rem; }
  .hero--split .hero__copy { max-width: var(--hero-copy); }
  .hero--split .hero__photo { left: calc(max(0px, (100% - var(--maxw)) / 2 - var(--gutter)) + var(--gutter) + var(--hero-copy)); }
}
@media (min-width: 1200px) { .hero--split { --hero-copy: 38rem; } }
@media (min-width: 1600px) { .hero--split { --hero-copy: 42rem; } }

.tour-boxes { display: grid; gap: var(--gap); }
.tour-box { display: grid; align-content: start; gap: 0.875rem; padding: clamp(1.25rem, 2vw, 1.75rem); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.tour-box__title { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.25rem; font-size: 1.625rem; color: var(--forest); }
.tour-box__title .leaf-title__words { display: inline-flex; align-items: center; gap: 0.75rem; }
.tour-box__title .icon { flex: none; width: 1.75rem; height: 1.75rem; color: var(--forest); }
.season { display: grid; gap: 0.375rem; text-align: center; }
.season__name { padding: 0.375rem 1rem; border-radius: var(--r-btn); background: var(--sage); font-family: var(--serif); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.season__times { margin: 0; padding: 0 0 0.25rem; list-style: none; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.tour-box__prices { padding: 0.25rem 1.25rem; border-radius: var(--r-btn); background: var(--cream); font-size: 1.0625rem; }
.tour-box__prices > div:last-child { border-bottom: 0; }
.tour-box__prices dd { font-weight: 700; color: var(--ink); }

.tour-perks { margin-top: var(--gap); }
.tour-perks .strip { border-radius: var(--r-card); background: var(--sage); }
/* her leaf sprig at each end of the strip (strip's art slot carries art.leafSprig, mirrored on the right; decorative, the
   svg is aria-hidden; the shared strip rule hides it under 900px); no hairlines, the sage fill is the edge */
.tour-perks .strip--pine { box-shadow: none; }
.tour-perks .strip__pine { width: clamp(3.5rem, 6vw, 5.5rem); }
.tour-perks .strip__pine--left { left: clamp(0.75rem, 2vw, 2rem); }
.tour-perks .strip__pine--right { right: clamp(0.75rem, 2vw, 2rem); }
.tour-ontime .note { width: fit-content; max-width: 100%; margin-inline: auto; padding: 0.625rem 1.75rem; border: 0; border-radius: 999px; background: var(--burgundy); color: var(--on-color); font-style: normal; font-size: 1.0625rem; }

.story { display: grid; gap: var(--gap); align-items: center; }
.story + .story { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--hair); }
.leaf-title.story__title { justify-content: flex-start; margin-bottom: 0.875rem; font-size: 1.625rem; text-align: left; }
.leaf-title.story__title .leaf-title__sprig--flip { display: none; }
.story__text p { max-width: 38rem; font-family: var(--serif); font-size: 1.125rem; line-height: 1.55; }
.story__photo { margin: 0; }
.story__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.story__photo figcaption { margin-top: 0.5rem; font-size: 1rem; font-style: italic; color: var(--muted); }
.story__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.story__pair img { aspect-ratio: 4 / 3; }

.stay { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.stay__item { display: flex; flex-direction: column; height: 100%; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--forest); box-shadow: var(--shadow-1); }
.stay__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.stay__item figcaption { padding: 0.625rem 1rem; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; text-align: center; color: var(--on-color); }
.ruled.stay-note { margin: var(--gap) 0 0; font-family: var(--serif); font-size: 1.0625rem; font-style: italic; color: var(--ink); }

@media (min-width: 760px) {
  .tour-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .peek .video--main { grid-row: auto; aspect-ratio: 16 / 9; }
  .peek .video:not(.video--main) { aspect-ratio: auto; }
}
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(2rem, 4vw, 4.5rem); }
}
/* two heading steps on this page: section titles on the shared h2 scale (40px at 1280), box and story titles on the
   shared .offer__title step (1.625rem, 1.875rem from 1600px), like the two offer cards below them. The closing band's
   2.625rem was a third step only 2px off the section titles at 1280, so from 1200px it takes the h2 step too. */
@media (min-width: 1200px) { .closing h2 { font-size: 2.5rem; } }
@media (min-width: 1600px) { .tour-box__title, .leaf-title.story__title { font-size: 1.875rem; } }
@media (max-width: 479px) { .tour-box__title .leaf-title__sprig { display: none; } }
@media (max-width: 639px) {
  .ruled.stay-note::before, .ruled.stay-note::after { content: none; }
  .tour-ontime .note { border-radius: var(--r-card); }
}
