/* ---------------------------------------------------------------------------
   For Restaurants + city pairing pages.
   Loaded after styles-v2.css; uses its tokens (--navy, --ink, --orange, …).
   --------------------------------------------------------------------------- */

/* Proof numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.stat {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 18px;
  border-top: 1.5px solid currentColor;
}
.stat b {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}
.stat span {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream-soft);
  max-width: 30ch;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
}

/* Reasons to stock */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.reasons .card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
@media (max-width: 780px) {
  .reasons { grid-template-columns: 1fr; }
}

/* Spec sheet */
.spec {
  display: grid;
  gap: 0;
  background: #fffaf2;
  border: 1px solid rgba(14, 26, 51, 0.16);
  border-radius: 8px;
  overflow: hidden;
}
.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 3vw, 32px);
  background: var(--navy);
  color: var(--cream);
}
.spec-head .brand-line { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.02em; }
.spec-head .brand-line img { width: 34px; height: auto; }
.spec-head .mono { color: var(--orange); }
.spec-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spec-beer {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-content: start;
  padding: clamp(20px, 3vw, 32px);
}
.spec-beer + .spec-beer { border-left: 1px solid rgba(14, 26, 51, 0.14); }
.spec-beer > img { width: 96px; height: auto; filter: drop-shadow(8px 14px 14px rgba(14, 26, 51, 0.25)); }
.spec-beer h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.spec-beer .deva { font-family: var(--deva); font-size: 15px; color: var(--ink-soft); }
.spec-beer .notes { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.spec dl.rows { display: grid; margin-top: 6px; }
.spec dl.rows div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(14, 26, 51, 0.12);
}
.spec dl.rows dt {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec dl.rows dd { font-size: 15.5px; font-variant-numeric: tabular-nums; }
.spec-shared {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(14, 26, 51, 0.16);
  background: var(--parchment);
}
.spec-shared > div { display: grid; gap: 4px; padding: 16px clamp(18px, 3vw, 32px); }
.spec-shared > div + div { border-left: 1px solid rgba(14, 26, 51, 0.14); }
.spec-shared dt {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
}
.spec-shared dd { font-size: 15px; line-height: 1.45; }
.spec-foot {
  padding: 12px clamp(18px, 3vw, 32px);
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(14, 26, 51, 0.12);
}
@media (max-width: 860px) {
  .spec-cols, .spec-shared { grid-template-columns: 1fr; }
  .spec-beer + .spec-beer { border-left: 0; border-top: 1px solid rgba(14, 26, 51, 0.14); }
  .spec-shared > div + div { border-left: 0; border-top: 1px solid rgba(14, 26, 51, 0.14); }
}
@media (max-width: 460px) {
  .spec-beer { grid-template-columns: 1fr; }
  .spec-beer > img { width: 72px; }
  .spec dl.rows div { grid-template-columns: 1fr; gap: 2px; }
}

/* Values still to confirm before go-live. Remove the class once filled in. */
.tbd {
  background: #ffe7c4;
  color: #6e2f10;
  border: 1px dashed #b0562b;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 0.92em;
  white-space: normal;
}

/* Pour tags */
.pour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pour.h { background: #dce8f1; color: #1d3a5a; }
.pour.e { background: #f6dcc0; color: #6e2f10; }
.pour.b { background: #e6e1ef; color: #2a2450; }

/* Pairing rule cards */
.rule2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.rule {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
}
.rule.h { background: linear-gradient(160deg, #e3edf6, #cfdeec 60%, #b9cfe3); color: var(--ink); }
.rule.e { background: linear-gradient(155deg, #3a2f5c 0%, #6b3f55 55%, var(--warm) 100%); color: var(--cream); }
.rule h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.rule p { font-size: 16px; line-height: 1.6; }
.rule.h p { color: var(--ink-soft); }
.rule.e p { color: #eadfd9; }
.rule .meta { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.rule.h .meta { color: var(--ember); }
.rule.e .meta { color: #ffb766; }
@media (max-width: 780px) {
  .rule2 { grid-template-columns: 1fr; }
}

/* Venue pairing blocks on city pages */
.venue-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid rgba(14, 26, 51, 0.16);
}
.venue-pair:last-child { border-bottom: 1px solid rgba(14, 26, 51, 0.16); }
.venue-pair .who { display: grid; gap: 8px; align-content: start; }
.venue-pair .who h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.venue-pair .who .kind { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }
.venue-pair .who p { color: var(--ink-soft); font-size: 15.5px; }
.venue-pair .who address { font-style: normal; font-size: 15px; color: var(--ink-soft); }
.venue-pair .who .links { display: flex; gap: 18px; flex-wrap: wrap; }
.venue-pair.soon .who h3:after {
  content: "Coming soon";
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  padding: 3px 10px;
  border: 1.5px dashed var(--orange);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
}
.pairs { list-style: none; padding: 0; display: grid; }
.pairs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(14, 26, 51, 0.18);
}
.pairs li:last-child { border-bottom: 0; }
.pairs b { font-size: 17px; font-weight: 600; }
.pairs .why { grid-column: 1 / -1; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 780px) {
  .venue-pair { grid-template-columns: 1fr; }
}

/* City links */
.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid rgba(14, 26, 51, 0.38);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.band.navy .city-links a { border-color: #f3ebdd66; }
@media (hover: hover) {
  .city-links a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
}

/* Print: only the spec sheet */
@media print {
  @page { margin: 12mm; }
  body * { visibility: hidden !important; }
  #spec-sheet, #spec-sheet * { visibility: visible !important; }
  #spec-sheet { position: absolute; left: 0; top: 0; width: 100%; }
  #spec-sheet .spec-head { background: #0b1733 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #spec-sheet .tbd { border: 0; background: none; }
  body:after { display: none; }
}

/* Perks list on For Restaurants */
.perks { list-style: none; padding: 0; display: grid; gap: 14px; }
.perks li { position: relative; padding-left: 26px; font-size: 17px; color: var(--ink-soft); }
.perks li:before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 2px; background: var(--orange); }
.perks b { color: var(--ink); }

/* City jump links on a dark hero (Pairing guide) */
.page-hero .city-links a { border-color: #f3ebdd66; color: var(--cream); }
