/* Hallmark · macrostructure: Long Document (story) · tone: warm editorial · anchor hue: ember orange
 * Our Story page only. Loaded after /style.css and /pages.css; uses their tokens.
 */

.story {
  --story-wide: 1180px;
  --story-text: 62ch;
  --ember-glow: rgba(224,102,31,.18);
  --red-glow: rgba(189,38,33,.24);
  --card: rgba(255,255,255,.035);
  --card-hover: rgba(247,148,29,.09);
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --ease-out: cubic-bezier(.22,1,.36,1);
  overflow-x: clip;
}
.story h1, .story h2 { overflow-wrap: anywhere; min-width: 0; }
.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; }
.story a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-lg { min-height: 52px; padding: .7em 1.7em; font-size: 1.05rem; }

/* 1. Hero: the chicken on the fire, title set big */
.story-hero {
  position: relative; isolation: isolate;
  min-height: min(78vh, 720px); display: flex; align-items: flex-end;
  padding: 40px 16px clamp(48px, 7vw, 88px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 38%, rgba(27,26,26,.92) 88%, var(--bg) 100%),
    url("/img/hero.jpg") center 40% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 38%, rgba(27,26,26,.92) 88%, var(--bg) 100%),
    image-set(url("/img/hero.avif") type("image/avif"), url("/img/hero.webp") type("image/webp"), url("/img/hero.jpg") type("image/jpeg")) center 40% / cover no-repeat;
  border-bottom: 1px solid var(--rule);
}
.story-hero-inner { width: 100%; max-width: var(--story-wide); margin: 0 auto; }
.story-hero .crumbs ol { margin-bottom: clamp(20px, 7vh, 88px); color: var(--ink-2); align-items: center; }
.story-hero .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.story-hero h1 { margin: 0 0 .4em; line-height: 1; }
.story-title-main {
  display: block; font-size: clamp(3.8rem, 11vw, 8.5rem); letter-spacing: -.005em; line-height: .95;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.story-title-sub {
  display: block; margin-top: .55em; font-size: clamp(1.2rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--orange);
}
.story-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 0 0 1.6em; }

/* 2. Opening: the motto beside the story */
.story-open { padding: clamp(64px, 9vw, 120px) 16px; }
.story-open-inner {
  max-width: var(--story-wide); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(40px, 7vw, 104px); align-items: start;
}
.story-motto {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; margin: 0;
  padding-top: 28px; border-top: 3px solid var(--red);
}
.story-open-text p { margin: 0 0 1.1em; font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.75; color: var(--ink-2); max-width: var(--story-text); }
.story-open-text p:last-child { margin-bottom: 0; }
.story-dropcap { color: var(--text) !important; }
.story-dropcap::first-letter {
  float: left; font-family: var(--heading); font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--orange);
}

/* 3. Generations timeline */
.gens {
  padding: clamp(64px, 9vw, 112px) 16px;
  background:
    radial-gradient(80% 70% at 0% 0%, var(--red-glow), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, var(--ember-glow), transparent 65%),
    linear-gradient(180deg, var(--char), var(--bg));
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.gens-inner { max-width: var(--story-wide); margin: 0 auto; }
.gens h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0 0 .3em; }
.gens-intro { margin: 0 0 clamp(36px, 5vw, 60px); font-size: 1.15rem; color: var(--ink-2); }
.gens-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.gens-list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--ember), var(--orange));
}
.gen { position: relative; padding: 0 clamp(16px, 3vw, 40px) 0 0; }
.gen-num {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--orange); color: var(--orange);
  font-family: var(--heading); font-size: 2rem; line-height: 1;
  box-shadow: 0 0 0 8px var(--char), 0 0 28px rgba(247,148,29,.35);
}
.gen-label { margin: 24px 0 .3em; font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.gen-text { margin: 0; font-family: var(--heading); font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.2; }
.gens-constant {
  margin: clamp(40px, 5vw, 64px) 0 0; padding: 22px 24px; border-left: 3px solid var(--red);
  background: var(--card); border-radius: 0 10px 10px 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 48em;
}
.gens-constant span { font-weight: 700; color: var(--orange); }

/* 4. What's on the grill */
.grill {
  position: relative; isolation: isolate;
  padding: clamp(64px, 9vw, 112px) 16px;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(27,26,26,.86) 45%, rgba(27,26,26,.55) 100%),
    url("/img/flames.jpg") center bottom / cover no-repeat;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(27,26,26,.86) 45%, rgba(27,26,26,.55) 100%),
    image-set(url("/img/flames.avif") type("image/avif"), url("/img/flames.webp") type("image/webp"), url("/img/flames.jpg") type("image/jpeg")) center bottom / cover no-repeat;
}
.grill-inner { max-width: var(--story-wide); margin: 0 auto; }
.grill h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0 0 .9em; }
.grill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 14px; }
.grill-list li {
  font-family: var(--heading); font-size: clamp(1.2rem, 2.2vw, 1.75rem); line-height: 1.1;
  padding: .5em .9em; border-radius: 999px;
  border: 1px solid rgba(247,148,29,.5); background: rgba(18,14,12,.72);
}
.grill-list .grill-lead { background: var(--red); border-color: var(--red); }
.grill-note { margin: 32px 0 0; max-width: 58ch; font-size: 1.1rem; line-height: 1.7; color: var(--text); text-shadow: 0 1px 12px rgba(0,0,0,.8); }

/* 5. Packs and catering */
.crowd { padding: clamp(64px, 9vw, 112px) 16px; }
.crowd-inner { max-width: var(--story-wide); margin: 0 auto; }
.crowd h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0 0 .9em; }
.crowd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.crowd-card {
  display: flex; flex-direction: column; gap: 6px; min-height: 44px;
  padding: 28px 26px 24px; border-radius: 14px; text-decoration: none;
  background: var(--card); border: 1px solid var(--rule-soft); border-top: 3px solid var(--orange);
  transition: background .2s var(--ease-out), transform .2s var(--ease-out), border-color .2s var(--ease-out);
}
.crowd-card:hover { background: var(--card-hover); border-color: var(--rule); border-top-color: var(--orange); transform: translateY(-2px); }
.crowd-card:active { transform: translateY(0); }
.crowd-card-cater { border-top-color: var(--red); }
.crowd-num { font-family: var(--heading); font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--orange); }
.crowd-name { font-size: 1.25rem; font-weight: 700; }
.crowd-go { margin-top: 14px; font-weight: 600; color: var(--ink-2); }
.crowd-go::after { content: " \2192"; color: var(--orange); }
.crowd-card:hover .crowd-go { color: var(--text); }

/* 6. Visit */
.visit-block { padding: clamp(56px, 8vw, 96px) 16px; background: var(--black); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.visit-inner { max-width: var(--story-wide); margin: 0 auto; }
.visit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.visit-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0; }
.visit-head p { margin: 0; color: var(--ink-2); font-size: 1.1rem; }
.visit-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.visit-fact { padding: 22px 20px 22px 0; }
.visit-fact + .visit-fact { padding-left: 20px; border-left: 1px solid var(--rule-soft); }
.visit-fact dt { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.visit-fact dd { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.visit-fact dd a { text-decoration: none; display: inline-block; min-height: 44px; }
.visit-fact dd a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.visit-hours { font-weight: 600; font-variant-numeric: tabular-nums; }
.visit-fact .visit-tel { color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }

/* 7. Close: flames, big call */
.story-close {
  padding: clamp(80px, 12vw, 160px) 16px clamp(88px, 13vw, 180px); text-align: center;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(27,26,26,.55) 40%, rgba(0,0,0,.35) 100%),
    url("/img/flames.jpg") center 85% / cover no-repeat;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(27,26,26,.55) 40%, rgba(0,0,0,.35) 100%),
    image-set(url("/img/flames.avif") type("image/avif"), url("/img/flames.webp") type("image/webp"), url("/img/flames.jpg") type("image/jpeg")) center 85% / cover no-repeat;
}
.story-close-inner { max-width: 820px; margin: 0 auto; }
.story-close h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.05; margin: 0 0 .4em; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.story-close p { margin: 0 auto 1.8em; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
.story-close .actions { justify-content: center; }
.story-close .story-close-more { margin: 32px auto 0; }
.story-close-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--orange); }

/* Tablet */
@media (max-width: 900px) {
  .story-open-inner { grid-template-columns: minmax(0, 1fr); }
  .visit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .visit-fact:nth-child(n+3) { border-top: 1px solid var(--rule-soft); }
}

/* Phone: timeline goes vertical, cards stack, buttons go full width */
@media (max-width: 700px) {
  .gens-list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .gens-list::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), var(--ember), var(--orange)); }
  .gen { padding: 0 0 0 84px; min-height: 56px; }
  .gen-num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; font-size: 1.6rem; }
  .gen-label { margin-top: 4px; }
  .crowd-grid { grid-template-columns: minmax(0, 1fr); }
  .crowd-card { padding: 22px 20px; }
}
@media (max-width: 560px) {
  .story-hero { min-height: 70vh; }
  .story-hero .actions .btn, .visit-actions .btn, .story-close .actions .btn { flex: 1 1 100%; }
  .visit-facts { grid-template-columns: minmax(0, 1fr); }
  .visit-fact, .visit-fact + .visit-fact { padding: 18px 0; border-left: 0; }
  .visit-fact + .visit-fact { border-top: 1px solid var(--rule-soft); }
  .grill-list { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .crowd-card { transition: none; }
  .crowd-card:hover { transform: none; }
}
