/* Home-page Pepperoni Roll Hunt homage: vintage Italian bakery signage.
   Isolated to this section and the hunt-page hero badge so Christmas theme and the rest of the site stay untouched.
   Parchment is a step deeper than the first cream pass so it is less bright, still clearly cream (not tan or brown). */

.pepHomage{
  --pep-paper:#efe6d2;
  --pep-paper-deep:#eadbc2;
  --pep-red:#7a1f1c;
  --pep-green:#2f4a32;
  --pep-green-soft:#3d5a40;
  --pep-gold:#b8893a;
  --pep-ink:#1c140c;
  --pep-muted:#5a4630;
  --pep-display:"Playfair Display",Georgia,"Times New Roman",serif;
  --pep-script:"Italianno",Georgia,serif;
  /* Section field is the navy used on the little home map frame (#1f3a5f).
     The inner Italian cream card and tricolor stay. This was never lost in a
     deploy — the section itself had been forest green; the navy lived only on
     the excerpt map frame and trail copy. */
  background:
    radial-gradient(1200px 200px at 50% 0%, #2a4a7022, transparent 70%),
    #1f3a5f;
  padding:22px 16px 28px;
  position:relative;
  isolation:isolate;
}
.pepHomageInner{
  max-width:1100px;
  margin:0 auto;
  background:
    linear-gradient(180deg,#f5ede0 0%,var(--pep-paper) 40%,var(--pep-paper-deep) 100%);
  color:var(--pep-ink);
  position:relative;
  padding:0;
  box-shadow:
    0 0 0 1px var(--pep-red),
    0 0 0 7px var(--pep-paper),
    0 0 0 9px var(--pep-green),
    0 18px 40px #00000040;
}
.pepTricolor{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  height:5px;
}
.pepTricolor span:nth-child(1){background:var(--pep-green)}
.pepTricolor span:nth-child(2){background:#f5ede0}
.pepTricolor span:nth-child(3){background:var(--pep-red)}
.pepHomageBody{padding:26px 32px 30px}
.pepHomageSoon{
  margin:0 0 6px;
  font:400 46px/0.9 var(--pep-script);
  color:var(--pep-red);
  letter-spacing:.01em;
  text-align:center;
}
.pepRule{
  display:flex;
  align-items:center;
  gap:12px;
  margin:2px auto 18px;
  max-width:520px;
  color:var(--pep-green);
}
.pepRule:before,.pepRule:after{
  content:"";
  flex:1;
  height:5px;
  border-top:2px solid var(--pep-red);
  border-bottom:1px solid var(--pep-green);
  opacity:.85;
}
.pepRule i{
  font-style:normal;
  font-size:11px;
  letter-spacing:.28em;
  color:var(--pep-red);
}

/* Coming-soon headline + badge */
.pepHomageTop{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:28px 36px;
  align-items:center;
}
.pepHomageCopy{min-width:0}
.pepHomageCopy h2{
  margin:0;
  font:700 clamp(28px,3.4vw,42px)/1.15 var(--pep-display);
  letter-spacing:-.015em;
  color:var(--pep-ink);
  text-wrap:balance;
}
.pepHomageCopy h2 a{
  color:inherit;
  text-decoration:none;
}
.pepHomageCopy h2 a:hover,
.pepHomageCopy h2 a:focus-visible{
  color:var(--pep-red);
}
.pepHomageCopy h2 a:focus-visible{
  outline:2px solid var(--pep-red);
  outline-offset:4px;
}
.pepHomageSub{
  margin:12px 0 0;
  max-width:36em;
  font:italic 400 18px/1.5 var(--pep-display);
  color:var(--pep-muted);
}
.pepHomageCta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  padding:12px 18px;
  background:var(--pep-red);
  color:#f5ede0 !important;
  font:700 10px/1 var(--font-ui,"Helvetica Neue",Arial,sans-serif);
  letter-spacing:.16em;
  text-transform:uppercase;
  text-decoration:none;
  border:1px solid var(--pep-red);
}
.pepHomageCta:hover,
.pepHomageCta:focus-visible{
  background:var(--pep-green);
  border-color:var(--pep-green);
  color:#f5ede0 !important;
}
.pepHomageCta:focus-visible{outline:2px solid var(--pep-ink);outline-offset:3px}

.pepHomageBadge{
  margin:0;
  width:240px;
  justify-self:end;
  border-radius:50%;
  overflow:hidden;
  background:#0a0a0a;
  box-shadow:
    0 0 0 3px var(--pep-paper),
    0 0 0 6px var(--pep-red),
    0 0 0 9px var(--pep-gold),
    0 12px 28px #00000033;
}
.pepHomageBadge img{
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  transform:scale(1.04);
  display:block;
}

/* Tribute / history */
.pepHomageTribute{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);
  gap:28px 32px;
  align-items:start;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid #d4c6a8;
}
.pepHomageKicker{
  margin:0 0 6px;
  font:700 10px/1 var(--font-ui,"Helvetica Neue",Arial,sans-serif);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--pep-green);
}
.pepHomageStory h3{
  margin:0 0 12px;
  font:700 26px/1.2 var(--pep-display);
  color:var(--pep-ink);
}
.pepHomageStory p{
  margin:0;
  max-width:40em;
  font:400 16.5px/1.7 var(--pep-display);
  color:#3a2b1c;
}
.pepHomageAside{
  display:grid;
  justify-items:center;
  gap:18px;
}
.pepSeal{
  width:168px;
  height:168px;
  transform:rotate(-8deg);
  color:var(--pep-red);
  flex:none;
}
.pepSeal svg{width:100%;height:100%;display:block}
.pepPhotoSlot{
  margin:0;
  width:100%;
  max-width:260px;
}
.pepPhotoFrame{
  aspect-ratio:4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:16px;
  background:
    repeating-linear-gradient(-45deg,#f5ede0 0 10px,#eadbc2 10px 20px);
  border:1px dashed #8a6a3a;
  box-shadow:inset 0 0 0 6px #efe6d2;
  color:var(--pep-muted);
  font:italic 15px/1.45 var(--pep-display);
}
.pepPhotoSlot figcaption{
  margin:8px 2px 0;
  font:12px/1.4 var(--font-ui,"Helvetica Neue",Arial,sans-serif);
  color:#7a6650;
  text-align:center;
}

@media (max-width:820px){
  .pepHomageBody{padding:22px 18px 24px}
  .pepHomageTop,
  .pepHomageTribute{grid-template-columns:1fr;gap:20px}
  .pepHomageBadge{width:200px;justify-self:center}
  .pepHomageSoon{font-size:40px}
  .pepHomageCopy{text-align:center}
  .pepHomageSub{margin-left:auto;margin-right:auto}
  .pepHomageStory h3,.pepHomageStory p{text-align:left}
  .pepHomageCta{margin-top:16px}
}
@media (max-width:480px){
  .pepHomage{padding:16px 10px 20px}
  .pepHomageBody{padding:18px 14px 20px}
  .pepHomageSoon{font-size:36px}
  .pepHomageBadge{width:168px}
  .pepSeal{width:140px;height:140px}
  .pepHomageStory h3{font-size:22px}
  .pepHomageStory p{font-size:16px}
}

@media (prefers-reduced-motion:reduce){
  .pepSeal{transform:none}
}

/* Hunt page hero badge */
.pepHuntHero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:24px 28px;
  align-items:center;
}
.pepHuntHeroBadge{
  margin:0;
  width:180px;
  border-radius:50%;
  overflow:hidden;
  background:#0a0a0a;
  box-shadow:0 0 0 3px #f5ede0,0 0 0 6px #7a1f1c,0 8px 20px #00000028;
  justify-self:end;
}
.pepHuntHeroBadge img{
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  transform:scale(1.04);
  display:block;
}
@media (max-width:700px){
  .pepHuntHero{grid-template-columns:1fr;justify-items:center;text-align:center}
  .pepHuntHero .pageLead{margin-left:auto;margin-right:auto}
  .pepHuntHeroBadge{justify-self:center;width:148px}
}

/* History-page link in the home homage story */
.pepHomageStory .pepHistLink{margin:12px 0 0}
.pepHomageStory .pepHistLink a{
  display:inline-block;
  color:#7a1f1c;
  font:700 11px/1.4 "Helvetica Neue",Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
}
.pepHomageStory .pepHistLink a:hover,
.pepHomageStory .pepHistLink a:focus-visible{text-decoration:underline}

/* Compact real hunt-map excerpt. The map card uses parchment opt3c (loaded after
   trail-map CSS). Pins are links to stop pages. */
.pepHomeMap{
  display:block;
  position:relative;
  width:100%;
  max-width:360px;
  justify-self:start;
}
.pepHomeMap .pepMapFrame{
  width:100%;
}
.pepHomeMap a.pepPin{
  display:grid;
  place-items:center;
  text-decoration:none;
  box-sizing:border-box;
  color:inherit;
}
.pepHomeMap a.pepPin:visited{color:inherit}
.pepHomeMap a.pepPin:focus-visible{
  outline:none;
}
@media (max-width:640px){
  .pepHomeMap{max-width:320px;width:100%;justify-self:center}
}
