/* The Our Story page (/our-story/), made by cms/story.py. */

.st { background: var(--color-cream, #faf6ef); color: var(--color-ink, #333); font-family: var(--font-sans, Helveticaneue, Arial, sans-serif); }
.st p { margin: 0; font-weight: 300; font-size: 16px; line-height: 26px; }

/* ---- hero ---- */
.st-hero { position: relative; height: 392px; background: #2a2d33; overflow: hidden; }
.st-hero picture, .st-hero img { display: block; width: 100%; height: 100%; }
.st-hero img { object-fit: cover; object-position: 42% 50%; }
.st-hero__title {
  position: absolute; left: 20px; right: 20px; bottom: 24px; margin: 0; color: #fff;
  font-family: var(--font-serif, Charter, Georgia, serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 40px;
}

.st-intro, .st-road, .st-close { max-width: 680px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.st-intro { padding: 36px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.st-lede { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 28px; line-height: 34px; }
.st-lede__soft { font-family: var(--font-serif, Charter, Georgia, serif); font-style: italic; font-weight: 400; }
.st-lede__bold { font-weight: 700; }

/* ---- the road: a dashed line with a stop for each part of the story ---- */
.st-road { position: relative; margin-top: 44px; padding: 0 20px 0 0; }
.st-road::before { content: ""; position: absolute; left: 35px; top: 14px; bottom: 120px; border-left: 2px dashed #d7a9a9; }
.st-road ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 52px; }
.st-stop { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
.st-mark { position: relative; justify-self: center; box-shadow: 0 0 0 5px var(--color-cream, #faf6ef); }
.st-mark--dot { width: 16px; height: 16px; margin-top: 6px; border-radius: 8px; background: #A30B1F; }
.st-mark--ring { width: 16px; height: 16px; margin-top: 6px; border-radius: 8px; border: 2px solid #A30B1F; background: var(--color-cream, #faf6ef); box-sizing: border-box; }
.st-mark--horse { width: 40px; height: 40px; border-radius: 20px; background: #A30B1F; display: flex; align-items: center; justify-content: center; }
.st-mark--horse img { width: 22px; height: auto; }
.st-stop__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-eyebrow { font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #A30B1F; }
.st-h2 { margin: 0; font-family: var(--font-serif, Charter, Georgia, serif); font-weight: 400; font-size: 28px; line-height: 32px; }
.st-statement { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 26px; line-height: 31px; }
.st-statement__bold { font-weight: 700; }
.st-statement__soft { font-family: var(--font-serif, Charter, Georgia, serif); font-style: italic; font-weight: 400; color: #A30B1F; }
.st .st-pull { font-family: var(--font-serif, Charter, Georgia, serif); font-style: italic; font-weight: 400; font-size: 20px; line-height: 28px; }
.st-photo { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 16px; background: #ece4d6; }
.st-photo--tall { height: 340px; object-position: 50% 40%; }
.st-photo--short { height: 200px; object-position: 60% 50%; }
.st-photo[src*="trailer"] { height: 230px; object-position: 55% 60%; }
.st-photo[src*="store-front"] { object-position: 50% 70%; }

.st-next { list-style: none; margin: 2px 0 0; padding: 0; border-top: 1px solid #e6dfd2; }
.st-next__row { padding: 12px 0; border-bottom: 1px solid #e6dfd2; display: flex; justify-content: space-between; gap: 12px; }
.st-next__name { font-family: var(--font-serif, Charter, Georgia, serif); font-size: 20px; line-height: 26px; }
.st-next__when { font-weight: 300; font-size: 14px; line-height: 26px; white-space: nowrap; }
.st-next__when--first { font-weight: 700; }

/* ---- buttons, closing ---- */
.st-btn {
  align-self: flex-start; height: 44px; padding: 0 20px; border: 1px solid #000; border-radius: 50px; background: #fff;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--color-ink, #333); text-decoration: none;
}
.st-btn:hover { color: #A30B1F; }
.st-btn--red { align-self: stretch; justify-content: center; height: 52px; border: 0; background: #A30B1F; color: #fff; font-size: 16px; gap: 10px; }
.st-btn--red:hover { background: #8a0919; color: #fff; }
.st-close {
  margin-top: 64px; padding: 48px 24px; background: #fff; border-top: 1px solid #e6dfd2; border-bottom: 1px solid #e6dfd2;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.st-close img { width: 52px; height: auto; }
.st .st-close p { font-family: var(--font-serif, Charter, Georgia, serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 31px; }

/* ---- wider screens ---- */
@media (min-width: 601px) {
  .st-hero { height: 520px; }
  .st-hero__title { left: max(20px, calc(50% - 320px)); right: 20px; bottom: 40px; font-size: 48px; line-height: 52px; }
  .st-intro { padding-top: 56px; }
  .st-lede { font-size: 36px; line-height: 42px; }
  .st-photo { height: 320px; }
  .st-photo--tall { height: 460px; }
  .st-photo--short { height: 280px; }
  .st-photo[src*="trailer"] { height: 360px; }
  .st-close { border: 1px solid #e6dfd2; border-radius: 20px; padding: 56px 48px; }
  .st-btn--red { align-self: center; padding: 0 40px; }
}
