
:root {
  --ink: #17130d;
  --paper: #fffaf0;
  --cream: #f4ead5;
  --amber: #d98b18;
  --amber-deep: #9b4f0e;
  --hop: #486b37;
  --foam: #fff6df;
  --muted: #6d6254;
  --line: rgba(23, 19, 13, .14);
  --shadow: 0 20px 50px rgba(43, 25, 7, .14);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .75rem 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 240, .88);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 900; letter-spacing: -.04em; font-size: 1.3rem; }
.brand-mark { width: 38px; height: 38px; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a { text-decoration: none; padding: .62rem .8rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--cream); }
.nav-toggle { display: none; border: 0; background: transparent; padding: .5rem; font-weight: 800; }

.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 8.5rem) 0 5rem; }
.hero::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  right: -260px; top: -300px;
  background: radial-gradient(circle at 40% 60%, rgba(217,139,24,.32), rgba(217,139,24,0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--amber-deep); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin: 0 0 .8rem; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 8vw, 6.7rem); max-width: 10ch; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.55rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; border-radius: 999px; padding: .85rem 1.15rem; font-weight: 900; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--amber-deep); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.45); }
.btn-secondary:hover { background: var(--cream); }
.hero-art { filter: drop-shadow(0 35px 40px rgba(73, 44, 12, .16)); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.2rem; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(51,30,5,.06); }
.card-body { padding: 1.35rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-media { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #e8d8bb; }
.tag { display: inline-block; background: var(--cream); color: var(--amber-deep); border-radius: 999px; padding: .32rem .65rem; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .85rem; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { border-top: 2px solid var(--amber); padding-top: 1rem; }
.feature strong { display: block; font-size: 1.5rem; font-family: Georgia, serif; }
.feature span { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { padding: .55rem 0 .55rem 1.8rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--hop); font-weight: 900; }

.page-hero { padding: 5.2rem 0 3.5rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--cream), var(--paper)); }
.page-hero h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 5.5rem); }

.style-list { display: grid; gap: 1rem; }
.style-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.65); }
.style-row img { border-radius: 12px; width: 110px; height: 82px; object-fit: cover; }
.style-meta { color: var(--muted); font-size: .92rem; }
.pill { border-radius: 999px; padding: .4rem .72rem; background: var(--cream); font-weight: 800; white-space: nowrap; }

.pairing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.pairing { min-height: 280px; padding: 1.5rem; border-radius: var(--radius); color: white; display: flex; flex-direction: column; justify-content: end; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.pairing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(13,10,6,.82)); }
.pairing > * { position: relative; }
.pairing p { margin: 0; color: rgba(255,255,255,.84); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; }
.contact-card, .form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); background: rgba(255,255,255,.7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: .8rem .9rem; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .88rem; }

.cta { background: var(--ink); color: white; border-radius: 28px; padding: clamp(2rem, 5vw, 4rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta p { color: rgba(255,255,255,.72); margin: 0; max-width: 50ch; }
.cta .btn { background: var(--amber); color: var(--ink); white-space: nowrap; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); }
.small { color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 1rem; right: 1rem; padding: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .section-head, .cta, .footer-grid { align-items: flex-start; flex-direction: column; }
  .pairing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .style-row { grid-template-columns: 78px 1fr; }
  .style-row img { width: 78px; height: 78px; }
  .style-row .pill { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .feature-strip { grid-template-columns: 1fr; }
}


/* Long-form beer guides */
.breadcrumbs{padding:1rem 0 0;font-size:.9rem;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;margin:0;padding:0}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-left:.45rem;opacity:.55}
.article-hero{padding:3rem 0 4.5rem;background:radial-gradient(circle at 84% 20%,rgba(217,139,24,.22),transparent 36%),linear-gradient(180deg,var(--cream),var(--paper));border-bottom:1px solid var(--line)}
.article-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:clamp(2rem,5vw,4.5rem)}
.article-hero h1{font-size:clamp(3.1rem,7vw,5.8rem);max-width:12ch}
.article-hero-art{width:100%;max-height:490px;object-fit:contain;filter:drop-shadow(0 28px 35px rgba(73,44,12,.14))}
.fact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin-top:1.7rem}.fact{padding:.9rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.64)}.fact strong{display:block;font-family:Georgia,serif;font-size:1.05rem}.fact span{color:var(--muted);font-size:.86rem}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:clamp(2rem,5vw,4rem);align-items:start}.article-content{max-width:790px}.article-content>section{scroll-margin-top:100px;padding-bottom:2.8rem}.article-content h2{font-size:clamp(2rem,4.5vw,3.2rem)}.article-content p,.article-content li{font-size:1.04rem}.article-content a{text-decoration-color:rgba(155,79,14,.45);text-decoration-thickness:2px;text-underline-offset:3px}
.contents-card{position:sticky;top:98px;border:1px solid var(--line);border-radius:16px;padding:1.1rem;background:rgba(255,255,255,.72)}.contents-card strong{display:block;margin-bottom:.55rem}.contents-card ol{margin:0;padding-left:1.15rem}.contents-card li{padding:.28rem 0;color:var(--muted)}.contents-card a{text-decoration:none}
.answer-box{border-left:5px solid var(--amber);background:var(--cream);border-radius:0 15px 15px 0;padding:1.15rem 1.25rem;margin:1.4rem 0}.answer-box p:last-child{margin-bottom:0}
.info-table{width:100%;border-collapse:collapse;margin:1.35rem 0;border:1px solid var(--line);background:rgba(255,255,255,.72)}.info-table th,.info-table td{padding:.85rem .9rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.info-table th{width:34%;background:var(--cream)}
.faq-list details{border-top:1px solid var(--line);padding:1rem 0}.faq-list details:last-child{border-bottom:1px solid var(--line)}.faq-list summary{cursor:pointer;font-weight:900;font-size:1.08rem}.faq-list details p{color:var(--muted)}
.sources{font-size:.93rem;color:var(--muted)}.sources li{margin-bottom:.55rem}.editorial-note{padding:1rem 1.1rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.65);color:var(--muted);font-size:.92rem}
.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.guide-card{display:grid;grid-template-columns:120px 1fr;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.7);overflow:hidden;text-decoration:none}.guide-card img{width:100%;height:100%;object-fit:cover}.guide-card div{padding:1rem}.guide-card p{color:var(--muted);margin:0;font-size:.94rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.related-card{border:1px solid var(--line);border-radius:16px;padding:1rem;background:rgba(255,255,255,.7);text-decoration:none}.related-card span{color:var(--amber-deep);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.related-card p{color:var(--muted);margin:.35rem 0 0;font-size:.92rem}
@media(max-width:900px){.article-hero-grid,.article-layout{grid-template-columns:1fr}.contents-card{position:static;order:-1}.fact-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.fact-grid,.guide-grid,.related-grid{grid-template-columns:1fr}.guide-card{grid-template-columns:92px 1fr}.info-table,.info-table tbody,.info-table tr,.info-table th,.info-table td{display:block;width:100%}.info-table th{border-bottom:0;padding-bottom:.25rem}.info-table td{padding-top:.25rem}}


/* Comparison guides */
.guide-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.guide-directory .directory-card { min-height: 172px; }
.vs-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: .9rem;
  margin: 1.5rem 0;
}
.vs-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  background: rgba(255,255,255,.72);
}
.vs-panel h3 { margin-bottom: .4rem; }
.vs-panel p { margin: 0; color: var(--muted); }
.vs-badge {
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}
.key-difference {
  border: 1px solid rgba(155,79,14,.28);
  background: linear-gradient(135deg, rgba(244,234,213,.95), rgba(255,255,255,.72));
  border-radius: 18px;
  padding: 1.25rem;
  margin: 1.4rem 0;
}
.key-difference strong {
  display: block;
  color: var(--amber-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: .35rem;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.choice-card {
  border-top: 3px solid var(--amber);
  background: rgba(255,255,255,.68);
  padding: 1rem;
  border-radius: 0 0 14px 14px;
}
.choice-card p { color: var(--muted); margin-bottom: 0; }
.myth-list {
  display: grid;
  gap: .75rem;
}
.myth {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255,255,255,.65);
}
.myth strong { display: block; margin-bottom: .25rem; }
.hub-hero-art { max-height: 460px; object-fit: contain; }
@media (max-width: 760px) {
  .guide-directory,
  .choice-grid { grid-template-columns: 1fr; }
  .vs-summary { grid-template-columns: 1fr; }
  .vs-badge { justify-self: center; }
}

/* Editorial redesign, July 2026 */
.breadcrumbs {
  padding-top: .9rem;
  font-size: .86rem;
}
.breadcrumbs a {
  color: var(--amber-deep);
  font-weight: 750;
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-hero {
  padding: clamp(2.4rem, 5vw, 3.8rem) 0 clamp(2.8rem, 5vw, 4.2rem);
  background:
    radial-gradient(circle at 86% 14%, rgba(217,139,24,.16), transparent 27rem),
    linear-gradient(180deg, #f8edd8 0%, var(--paper) 100%);
}
.article-hero > .container { max-width: 1050px; }
.article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.article-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5.5vw, 4.9rem);
  line-height: .98;
  margin-bottom: 1rem;
}
.article-hero .lead {
  max-width: 52ch;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.62;
}
.article-hero-art,
.hub-hero-art {
  justify-self: end;
  width: min(100%, 320px);
  max-width: 320px;
  max-height: 320px;
  border-radius: 24px;
  filter: drop-shadow(0 20px 28px rgba(73,44,12,.12));
}
.fact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.4rem;
  max-width: 650px;
  margin-top: 1.7rem;
}
.fact {
  min-width: 0;
  padding: .75rem 0 .2rem;
  border: 0;
  border-top: 1px solid rgba(23,19,13,.2);
  border-radius: 0;
  background: transparent;
}
.fact strong {
  display: block;
  margin-bottom: .2rem;
  font-family: inherit;
  font-size: .73rem;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.fact span {
  display: block;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink);
}

.article-layout {
  grid-template-columns: minmax(0, 790px);
  justify-content: center;
  gap: 2.4rem;
}
.article-content {
  width: 100%;
  max-width: none;
}
.contents-card {
  position: static;
  order: -1;
  padding: 0 0 1.3rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.contents-card strong {
  margin-bottom: .8rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contents-card ol {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contents-card li {
  padding: 0;
  color: inherit;
}
.contents-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .48rem .76rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}
.contents-card a:hover,
.contents-card a:focus-visible {
  border-color: rgba(155,79,14,.5);
  background: var(--cream);
  color: var(--amber-deep);
}

.article-content > section {
  padding: .35rem 0 3.6rem;
  margin-bottom: 3.1rem;
  border-bottom: 1px solid var(--line);
}
.article-content > section:last-child { margin-bottom: 0; }
.article-content h2 {
  max-width: 18ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.04;
}
.article-content h3 {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2.4vw, 1.72rem);
}
.article-content p,
.article-content li {
  font-size: 1.08rem;
  line-height: 1.76;
}
.article-content p {
  max-width: 69ch;
  margin: 0 0 1.25rem;
}
.article-content p a,
.article-content li a,
.sources a {
  color: var(--amber-deep);
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(155,79,14,.5);
  text-underline-offset: 4px;
}
.article-content p a:hover,
.article-content li a:hover,
.sources a:hover {
  text-decoration-color: currentColor;
}
.answer-box {
  max-width: 740px;
  margin: 1.6rem 0 1.7rem;
  padding: 1.35rem 1.5rem;
  border-left-width: 4px;
  border-radius: 0 14px 14px 0;
  background: #f5ead3;
}
.answer-box p { font-size: 1.1rem; line-height: 1.68; }
.info-table {
  margin: 1.6rem 0;
  border-radius: 14px;
  overflow: hidden;
  font-size: 1rem;
}
.info-table th,
.info-table td {
  padding: 1rem 1.05rem;
  line-height: 1.58;
}
.faq-list {
  display: grid;
  gap: .75rem;
}
.faq-list details,
.faq-list details:last-child {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.64);
}
.faq-list summary {
  font-size: 1.02rem;
  line-height: 1.4;
}
.faq-list details p {
  margin: .75rem 0 0;
  font-size: 1rem;
}
.editorial-note {
  padding: 1.15rem 1.25rem;
  line-height: 1.65;
}
.sources {
  padding-left: 1.3rem;
  line-height: 1.6;
}
.sources li { margin-bottom: .8rem; }

.related-grid { gap: 1.1rem; }
.related-card {
  position: relative;
  min-height: 170px;
  padding: 1.25rem 1.25rem 2.7rem;
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.related-card::after {
  content: "Read guide →";
  position: absolute;
  left: 1.25rem;
  bottom: 1.05rem;
  color: var(--amber-deep);
  font-size: .86rem;
  font-weight: 800;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155,79,14,.3);
  box-shadow: 0 16px 32px rgba(51,30,5,.08);
}

/* Comparison page components */
.vs-summary {
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 1rem;
}
.vs-panel { padding: 1.25rem; }
.key-difference { padding: 1.35rem 1.5rem; }
.choice-card,
.myth { padding: 1.15rem; }

/* Keep supporting hub imagery useful rather than dominant. */
.guide-directory .directory-card { min-height: 150px; }
.guide-directory .directory-card img { max-height: 170px; }
.section .split > img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  background: var(--cream);
}

@media (max-width: 900px) {
  .article-hero-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2rem;
  }
  .article-hero-art,
  .hub-hero-art {
    width: 230px;
    max-height: 230px;
  }
  .article-layout { grid-template-columns: minmax(0, 740px); }
}

@media (max-width: 720px) {
  .article-hero { padding-top: 2rem; }
  .article-hero-grid { grid-template-columns: 1fr; }
  .article-hero-art,
  .hub-hero-art {
    justify-self: start;
    width: 210px;
    max-height: 210px;
  }
  .article-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .contents-card ol { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
  .contents-card li { flex: 0 0 auto; }
  .article-content > section { padding-bottom: 2.8rem; margin-bottom: 2.5rem; }
  .article-content p,
  .article-content li { font-size: 1.02rem; }
  .related-grid { grid-template-columns: 1fr; }
  .vs-summary { grid-template-columns: 1fr; }
  .vs-badge { justify-self: center; }
}

@media (max-width: 440px) {
  .fact-grid { grid-template-columns: 1fr; }
  .article-hero-art,
  .hub-hero-art { width: 180px; max-height: 180px; }
  .answer-box { padding: 1.1rem 1.15rem; }
}

/* More restrained imagery and headings across hub pages. */
.hero { padding: clamp(4rem, 7vw, 6.5rem) 0 4.5rem; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr); }
.hero-art { justify-self: end; width: min(100%, 460px); }
.page-hero { padding: clamp(3.5rem, 6vw, 5rem) 0 3.2rem; }
.page-hero h1 { max-width: 15ch; font-size: clamp(3rem, 5.5vw, 4.8rem); }
.card-body a,
.directory-copy a {
  color: var(--amber-deep);
  font-weight: 800;
  text-decoration: none;
}
.card-body a::after,
.directory-copy a::after { content: " →"; }
.card-body a:hover,
.directory-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; width: min(100%, 360px); }
}


/* Content batch 3: link clarity, imagery and subtle motion */
:where(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid rgba(217,139,24,.55);
  outline-offset: 3px;
}
.article-content p { max-width: 72ch; line-height: 1.78; margin: 0 0 1.25rem; }
.article-content li { line-height: 1.68; }
.article-content a:not(.btn):not(.related-card) {
  color: #8a430b;
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-thickness: .11em;
  text-decoration-color: rgba(155,79,14,.42);
  text-underline-offset: .18em;
  transition: color .18s ease, text-decoration-color .18s ease, background-color .18s ease;
}
.article-content a:not(.btn):not(.related-card):hover {
  color: #5e2b07;
  text-decoration-color: currentColor;
  background: rgba(217,139,24,.09);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  color: var(--amber-deep);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.animated-art {
  animation: pageArtFloat 9s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pageArtFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(240px,360px);
  align-items: center;
  gap: clamp(2rem,6vw,5rem);
}
.pairing-page-hero { padding-block: clamp(2.8rem,6vw,5rem); }
.pairing-page-hero h1 { max-width: 10ch; }
.pairing-directory {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.25rem;
}
.pairing-guide-card {
  display: grid;
  grid-template-columns: minmax(150px,42%) 1fr;
  min-height: 245px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(51,30,5,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pairing-guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155,79,14,.34);
  box-shadow: 0 18px 38px rgba(51,30,5,.11);
}
.pairing-guide-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  background: var(--cream);
}
.pairing-guide-card > div { padding: 1.35rem; align-self: center; }
.pairing-guide-card h3 { margin-bottom: .5rem; font-size: clamp(1.45rem,2vw,1.9rem); }
.pairing-guide-card p { margin: 0; color: var(--muted); }
.compact-split img { max-height: 430px; object-fit: contain; box-shadow: none; }
.guide-card, .directory-card, .related-card, .card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.guide-card:hover, .directory-card:hover, .related-card:hover, .card:hover { transform: translateY(-2px); border-color: rgba(155,79,14,.3); box-shadow: 0 14px 32px rgba(51,30,5,.09); }
.motion-ready .reveal { opacity: 0; transform: translateY(12px); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (max-width: 840px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid img { justify-self: center; width: min(100%,300px); }
  .pairing-directory { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .pairing-guide-card { grid-template-columns: 1fr; }
  .pairing-guide-card img { min-height: 190px; max-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animated-art { animation: none; }
  .motion-ready .reveal, .motion-ready .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Content batch 4: verified beer stories and real-world links */
.story-directory { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.story-card { display:grid; grid-template-columns:minmax(170px,38%) 1fr; min-height:280px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.78); color:var(--ink); text-decoration:none; box-shadow:0 10px 30px rgba(51,30,5,.06); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.story-card:hover { transform:translateY(-3px); border-color:rgba(155,79,14,.34); box-shadow:0 18px 38px rgba(51,30,5,.11); }
.story-card img { width:100%; height:100%; min-height:280px; object-fit:cover; background:var(--cream); }
.story-card>div { align-self:center; padding:1.35rem; }
.story-card h2 { font-size:clamp(1.55rem,2.3vw,2.15rem); margin-bottom:.55rem; }
.story-card p { margin:0 0 .9rem; color:var(--muted); }
.story-card-link { color:var(--amber-deep); font-weight:850; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.story-hero .fact-grid { max-width:760px; }
.visit-box { margin:1.4rem 0; padding:1.35rem 1.45rem; border:1px solid rgba(72,107,55,.28); border-radius:16px; background:linear-gradient(135deg,rgba(72,107,55,.09),rgba(255,255,255,.74)); }
.visit-box p:first-child { font-size:1.08rem; }
.external-link::after { content:" ↗"; font-size:.82em; }
.sources .external-link { overflow-wrap:anywhere; }
@media(max-width:900px){.story-directory{grid-template-columns:1fr}.site-nav a{padding:.58rem .68rem;font-size:.9rem}}
@media(max-width:580px){.story-card{grid-template-columns:1fr}.story-card img{min-height:205px;max-height:230px}}


/* Mobile layout and cross-browser artwork fixes, July 2026 */
.card,
.card-media,
.pairing-guide-card,
.story-card,
.directory-card,
.guide-card {
  min-width: 0;
}

.card {
  overflow: hidden;
}

.card-media {
  display: block;
  width: 100%;
  height: clamp(220px, 24vw, 290px);
  max-height: 290px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.card-body {
  position: relative;
  z-index: 1;
}

.hero-grid {
  min-width: 0;
}

.hero-art {
  display: block;
  max-height: 390px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .hero {
    padding: 2.6rem 0 2.8rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 13vw, 4.75rem);
    line-height: .96;
  }

  .hero .lead {
    margin-bottom: 0;
    font-size: clamp(1.08rem, 4.4vw, 1.24rem);
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-art {
    width: min(100%, 280px);
    max-height: 215px;
    margin: -.25rem auto 0;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section.alt {
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .card-grid {
    gap: 1rem;
  }

  .card-media {
    height: 235px;
    max-height: 235px;
  }

  .card-body {
    padding: 1.2rem 1.25rem 1.3rem;
  }

  .card-body h3 {
    font-size: 1.75rem;
  }

  .split {
    gap: 1.75rem;
  }

  .split > img {
    width: min(100%, 420px);
    max-height: 300px;
    margin-inline: auto;
    object-fit: contain;
  }

  .feature-strip {
    gap: .75rem;
  }

  .feature {
    padding-top: .75rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 1.16rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 2.1rem 0 2.25rem;
  }

  .hero::before {
    width: 430px;
    height: 430px;
    right: -235px;
    top: -180px;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero h1 {
    max-width: 8.2ch;
    margin-bottom: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: .8rem 1rem;
  }

  .hero-art {
    width: 230px;
    max-height: 170px;
    margin-top: .15rem;
  }

  .section,
  .section.alt {
    padding: 2.65rem 0;
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature strong {
    font-size: 1.25rem;
  }

  .feature span {
    font-size: .9rem;
  }

  .card-media {
    height: 210px;
    max-height: 210px;
    padding: .25rem;
  }

  .card-body {
    padding: 1.05rem 1.1rem 1.2rem;
  }

  .card-body .tag {
    margin-bottom: .65rem;
  }

  .card-body p {
    margin-top: .5rem;
  }

  .page-hero {
    padding: 2.6rem 0 2.3rem;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .article-hero {
    padding: 1.8rem 0 2.35rem;
  }

  .article-hero-grid {
    gap: 1rem;
  }

  .article-hero-art,
  .hub-hero-art {
    width: 165px;
    max-height: 165px;
  }

  .fact-grid {
    gap: .55rem;
    margin-top: 1.15rem;
  }

  .fact {
    padding: .72rem .8rem;
  }

  .contents-card {
    margin: 1.1rem auto 1.8rem;
  }

  .pairing-guide-card img,
  .story-card img {
    min-height: 180px;
    max-height: 205px;
    object-fit: contain;
  }

  .cta {
    padding: 1.5rem;
  }
}

/* Avoid any animated SVG content painting outside its host box. */
img[src$=".svg"] {
  overflow: hidden;
}

/* Beer School, July 2026 */
.school-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(72,107,55,.13), transparent 24rem),
    linear-gradient(180deg, #f8edd8 0%, var(--paper) 100%);
}
.school-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.school-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(51,30,5,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.school-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(51,30,5,.12);
}
.school-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.school-card > div { padding: 1.25rem; }
.school-card p { color: var(--muted); }
.text-link { font-weight: 900; color: var(--amber-deep); }
.school-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.school-path-card {
  min-height: 210px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-top: 4px solid rgba(23,19,13,.18);
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.65);
}
.school-path-card.is-live { border-top-color: var(--hop); }
.school-path-card > span {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--amber-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.school-path-card p { color: var(--muted); margin-bottom: 0; }
.lesson-hero .article-hero-art { max-height: 430px; }
.pint-answer {
  position: relative;
  margin: 1.4rem 0 1.6rem;
  padding: 1.25rem 1.35rem 1.25rem 1.5rem;
  border: 1px solid rgba(155,79,14,.22);
  border-left: 6px solid var(--amber);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, rgba(244,234,213,.95), rgba(255,255,255,.72));
}
.pint-answer::before {
  content: "60 SEC";
  position: absolute;
  top: -12px;
  right: 16px;
  padding: .28rem .58rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.pint-answer p { margin: 0; font-size: 1.08rem; }
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}
.ingredient-card {
  position: relative;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}
.ingredient-card h3 { margin-top: .2rem; }
.ingredient-card p { margin-bottom: 0; color: var(--muted); }
.ingredient-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--amber-deep);
  font-weight: 900;
  font-size: .78rem;
}
.process-rail {
  position: relative;
  display: grid;
  gap: .85rem;
  margin: 1.5rem 0;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 25px;
  width: 2px;
  background: rgba(217,139,24,.34);
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}
.process-step > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}
.process-step h3 { margin-top: .15rem; margin-bottom: .35rem; }
.process-step p { margin: 0; color: var(--muted); }
.behind-pint {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--ink);
  color: white;
}
.behind-pint > span,
.remember-card > span {
  display: block;
  margin-bottom: .45rem;
  color: #efbd65;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.behind-pint h3 { color: white; }
.behind-pint p { color: rgba(255,255,255,.76); margin-bottom: 0; }
.glass-effect {
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.7);
}
.glass-effect > strong {
  display: block;
  margin-bottom: .8rem;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.glass-effect > div {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .65rem;
}
.glass-effect span {
  padding: .7rem .8rem;
  border-radius: 12px;
  background: var(--cream);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 750;
}
.myth-card {
  padding: 1.3rem;
  border: 1px solid rgba(155,79,14,.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244,234,213,.95), rgba(255,255,255,.7));
}
.myth-card > strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--amber-deep);
  font-size: 1.08rem;
}
.myth-card p { margin-bottom: 0; }
.remember-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 22px;
  background: var(--hop);
  color: white;
}
.remember-card h2 { color: white; font-size: clamp(1.9rem,4vw,3rem); }
.remember-card p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.source-note {
  padding: .9rem 1rem;
  border-left: 4px solid var(--hop);
  background: rgba(72,107,55,.08);
  color: var(--muted);
}
.hop-aroma-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .75rem;
  margin: 1.4rem 0;
}
.hop-aroma-grid > div {
  padding: .95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.68);
}
.hop-aroma-grid strong { display: block; font-family: Georgia, serif; font-size: 1.15rem; }
.hop-aroma-grid span { color: var(--muted); font-size: .9rem; }
.hop-timing {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .85rem;
  margin: 1.4rem 0;
}
.hop-timing > div {
  padding: 1.1rem;
  border-top: 4px solid var(--amber);
  border-radius: 0 0 16px 16px;
  background: rgba(255,255,255,.68);
}
.hop-timing span {
  color: var(--amber-deep);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hop-timing h3 { margin-top: .45rem; }
.hop-timing p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 1050px) {
  .site-nav a { padding-inline: .62rem; font-size: .9rem; }
}
@media (max-width: 900px) {
  .school-card-grid { grid-template-columns: 1fr; }
  .school-card { display: grid; grid-template-columns: minmax(180px, .8fr) 1.2fr; }
  .school-card img { height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .school-path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .ingredient-grid,
  .glass-effect > div,
  .hop-aroma-grid,
  .hop-timing { grid-template-columns: 1fr; }
  .school-card { display: flex; }
  .school-card img { aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .school-path-grid { grid-template-columns: 1fr; }
  .school-path-card { min-height: 0; }
  .process-step { grid-template-columns: 44px minmax(0,1fr); gap: .8rem; }
  .process-step > span { width: 44px; height: 44px; }
  .process-rail::before { left: 21px; }
}
