/* Brouwerij De 3 Horne: one stylesheet for every page.
   The site is dark in every OS colour mode: the dark "proeflokaal" look is the
   brand, not a theme preference. */

@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #17130f;
  --panel: #1d1813;
  --rule: #2e261f;
  --rule-strong: #5a4a38;
  --text: #efe6d6;
  --muted: #b9ab95;
  --gold: #f2c230;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --measure: 34rem;
  --wide: 68rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Fine grain, generated by an inline SVG noise filter: no image request,
     and the tile is small enough to cost nothing. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p,
ul,
ol,
dl {
  margin: 0 0 1em;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgb(242 194 48 / 0.4);
}
a:hover {
  border-bottom-color: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--bg);
  border: 0;
}
.skip:focus {
  top: 0.5rem;
}

/* Small spaced-out uppercase label, the gold accent of the design. */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.muted {
  color: var(--muted);
}
.credit {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

/* Header and navigation. On phones the nav folds behind a Menu button (see
   the phone section near the end). */
.site-header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  position: relative;
  z-index: 2;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.site-header .brand img {
  width: auto;
  height: 48px;
}
.site-header .brand .wordmark {
  height: 26px;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--text);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-bottom-color: var(--rule-strong);
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.lang-switch {
  color: var(--muted);
}
.lang-switch a {
  color: var(--muted);
}
.lang-switch [aria-current="true"] {
  color: var(--text);
}

/* Home page header: the ingredients photo with the title over it, on a
   gradient that keeps the text readable and fades into the page. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(26rem, 72vh, 40rem);
  display: flex;
  flex-direction: column;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero::before {
  background: url("/img/stock/hero-glasses.jpg") center 45% / cover no-repeat;
  animation: hero-zoom 24s ease-out both;
}
.hero::after {
  background: linear-gradient(rgb(23 19 15 / 0.45), rgb(23 19 15 / 0.65) 55%, var(--bg));
}
@media (max-width: 45.99rem) {
  .hero::before {
    background-image: url("/img/stock/hero-glasses-900.jpg");
  }
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-text {
  animation: rise 1.2s 0.2s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}
.hero-text {
  margin-top: auto;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding: 2rem var(--gutter) 2.5rem;
}
.hero-text p {
  max-width: var(--measure);
  font-size: 1.15rem;
  color: var(--text);
}

/* Page title band for inner pages. */
.page-title {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 1rem;
}
.page-title p {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.15rem;
}

main {
  display: block;
}

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--rule);
}
.section > p,
.section > ul {
  max-width: var(--measure);
}
.section-narrow {
  max-width: calc(var(--measure) + 2 * var(--gutter) + 4rem);
}

.two-col {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
/* Two columns of text read as a pair only when their headings line up. */
.two-col:not(:has(> figure)) {
  align-items: start;
}
.two-col > div > p {
  max-width: var(--measure);
}
@media (min-width: 46rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
  .two-col.flip > :first-child {
    order: 2;
  }
}

/* A photo shown as a print. Sources are small (some only 342 px wide), so a
   print never grows past its own pixel size. */
.print img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--rule);
}
/* A tall photo in running text: kept to about half the column so it does
   not push the story off the screen. */
.print.portrait img {
  max-width: min(100%, 22rem);
}
.print figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
figure {
  margin: 0;
}

.prints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.prints img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (min-width: 46rem) {
  .prints {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Two or three short facts side by side: shop hours, address, where to buy. */
.info-band {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.info-band > div {
  background: var(--panel);
  padding: 1.5rem var(--gutter);
}
.info-band p {
  margin: 0;
}
@media (min-width: 46rem) {
  .info-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Teaser block linking to another page. */
.teaser {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 1.5rem;
}
.teaser p:last-child {
  margin-bottom: 0;
}

/* Story timeline. */
.pull-quote {
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--gold);
}
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid var(--rule-strong);
  list-style: none;
  max-width: 44rem;
}
/* Gold line over the grey one; scroll-driven browsers draw it as you read. */
.timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  transform-origin: top;
}
.timeline-step {
  position: relative;
  padding-bottom: 2.5rem;
  isolation: isolate;
}
/* Large faint year behind the heading, for steps that have one. */
.timeline-step::after {
  content: attr(data-year);
  position: absolute;
  right: 0;
  top: -0.6rem;
  z-index: -1;
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--rule);
  pointer-events: none;
}
.timeline-step:last-child {
  padding-bottom: 0;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 6px);
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-step figure {
  margin: 1rem 0;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
  padding: 0;
  list-style: none;
}
.stat {
  border: 1px solid var(--rule-strong);
  padding: 0.1rem 0.6rem;
  font-size: 0.85rem;
}
details {
  margin: 1rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
}
summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 700;
}
details ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

/* Product categories on 't Gruithuys. */
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 46rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 1.5rem;
}
.card h3 {
  color: var(--text);
}
.card dl {
  margin: 0;
}
.card dt {
  font-weight: 700;
  margin-top: 0.75rem;
}
.card dd {
  margin: 0;
  color: var(--muted);
}

/* Video poster: a link to YouTube that the script swaps for an embedded
   player on click. */
.video {
  position: relative;
  display: block;
  /* The poster is 720 px wide; the player is no larger, so neither stretches. */
  max-width: 45rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--rule);
  color: var(--text);
  background: #000;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.video:hover img {
  opacity: 0.7;
}
.video-overlay {
  position: absolute;
  inset: 0;
  /* Dark scrim so the title and privacy note stay readable over the
     brightest parts of the poster (checked by test_video_overlay_contrast). */
  background: rgb(0 0 0 / 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
}
/* Play button. U+FE0E asks for the text form of the triangle, so iOS does not
   swap in its emoji. */
.video-overlay::before {
  content: "\25B6\FE0E";
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  padding-left: 0.2rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.3rem;
}
.video-title {
  font-family: var(--serif);
  font-size: 1.2rem;
}
.video-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Photo gallery: each thumbnail links to the full image. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 60rem) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gallery a {
  display: block;
  border: 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.entry + .entry {
  margin-top: 3rem;
}
.entry time {
  color: var(--muted);
}

/* Decorative divider. Until the licensed silhouettes arrive it is a short
   gold rule. */
.ornament {
  width: 3rem;
  height: 2px;
  margin: 0 0 1.5rem;
  border: 0;
  background: var(--gold);
}

/* Contact details. */
.contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
}
.contact-list dt {
  color: var(--muted);
}
.contact-list dd {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}

@keyframes menu-open {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: none; }
}

/* Photos brighten slightly under the pointer. */
.prints img,
.gallery img,
.print img {
  transition: filter 0.3s;
}
.prints img:hover,
.gallery a:hover img,
.print img:hover {
  filter: brightness(1.12);
}

/* Sections fade and lift into place as they scroll into view. Uses
   scroll-driven animation, no script; browsers without it show the content
   as is. */
@supports (animation-timeline: view()) {
  .section,
  .info-band > div,
  .prints img,
  .gallery li,
  .timeline-step,
  .card {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .timeline::before {
    animation: draw-line linear both;
    animation-timeline: view();
    /* The tip follows a point 60% down the screen, where the reader is
       looking. For the last stretch to be reachable, the page must scroll
       on until the timeline's end passes that point: see the padding below. */
    animation-range: cover 40vh exit 40vh;
  }
  .section:has(> .timeline) {
    padding-bottom: max(2.5rem, 40vh - 8rem);
  }
  .timeline-step::before {
    animation: dot-on linear both;
    animation-timeline: view();
    animation-range: entry 20% entry 60%;
  }
}
@keyframes draw-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes dot-on {
  from { transform: scale(0.3); box-shadow: 0 0 0 0 rgb(242 194 48 / 0); background: var(--rule-strong); }
  to { transform: scale(1); box-shadow: 0 0 0 6px rgb(242 194 48 / 0.18); background: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Phones: shield, language switch and a Menu button on one row; the menu
   folds out below them as a full-width list. The toggle is a checkbox driven
   by CSS alone, so it works without JavaScript and cannot flash open while a
   script loads. */
.menu-toggle,
.menu-button {
  display: none;
}
@media (max-width: 45.99rem) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand button"
      "nav nav"
      "lang lang";
    align-items: center;
    gap: 0 1rem;
  }
  .site-header .brand { grid-area: brand; }
  /* Smaller shield and lettering so both fit beside the Menu button on a
     320 px screen. */
  .site-header .brand {
    gap: 0.5rem;
  }
  .site-header .brand img {
    height: 40px;
  }
  .site-header .brand .wordmark {
    height: 18px;
  }
  /* The language switch lives at the foot of the folded-out menu. */
  .lang-switch {
    grid-area: lang;
    display: none;
    margin: 0;
    padding: 0.85rem 1rem;
    background: var(--panel);
    border: 1px solid var(--rule);
    border-top: 0;
    border-left: 4px solid var(--rule);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
  }
  .menu-button {
    grid-area: button;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--rule-strong);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
  }
  .menu-icon {
    position: relative;
  }
  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  /* The checkbox is visually hidden but still focusable and announced. */
  .menu-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  .menu-toggle:focus-visible + .menu-button {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
  .menu-toggle:checked + .menu-button {
    border-color: var(--gold);
    color: var(--gold);
  }
  .site-nav {
    grid-area: nav;
    display: none;
  }
  .menu-toggle:checked ~ .site-nav,
  .menu-toggle:checked ~ .lang-switch {
    display: block;
    animation: menu-open 0.25s ease-out;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    margin-top: 0.75rem;
    background: var(--panel);
    border: 1px solid var(--rule);
    font-size: 0.85rem;
  }
  .site-nav li + li {
    border-top: 1px solid var(--rule);
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }
  .site-nav a[aria-current="page"] {
    border-left-color: var(--gold);
  }
}

/* Gallery lightbox (built by site.js). */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(10 8 6 / 0.94);
  color: var(--text);
}
.lightbox[open] {
  display: grid;
  place-items: center;
  animation: menu-open 0.2s ease-out;
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox figure {
  margin: 0;
  padding: 3.5rem 1rem 1rem;
  text-align: center;
}
.lightbox img {
  max-width: min(100%, 1200px);
  max-height: calc(100dvh - 7rem);
  width: auto;
  height: auto;
  margin: 0 auto;
}
.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: rgb(23 19 15 / 0.7);
  color: var(--gold);
  font: 1.8rem/1 var(--serif);
  cursor: pointer;
}
.lightbox button:hover {
  border-color: var(--gold);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 45.99rem) {
  /* On phones the arrows sit at the bottom, clear of the photo; swiping works too. */
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
}

/* Keep the page still behind an open lightbox. */
html:has(dialog.lightbox[open]) {
  overflow: hidden;
}

/* Licensed stock decoration (see brand/stock-licences.md). */

/* Wheat and hop ornament above every page title. */
.page-title::before {
  content: "";
  display: block;
  width: 5.5rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  background: url("/img/stock/ornament-wreath.svg") left center / contain no-repeat;
  opacity: 0.85;
}

/* A small hop cone before each product group on 't Gruithuys. */
.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card h3::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.9rem;
  background: var(--icon) center / contain no-repeat;
}
.card.icon-wheat { --icon: url("/img/stock/wheat-ear.svg"); }
.card.icon-cone { --icon: url("/img/stock/hop-cone.svg"); }
.card.icon-sprig { --icon: url("/img/stock/sprig.svg"); }
.card.icon-leaf { --icon: url("/img/stock/hop-leaf.svg"); }

/* "Where to buy" over a darkened glass of beer. The overlay keeps the text at
   the same contrast as the plain panels next to it. */
.info-band > .info-photo {
  background:
    linear-gradient(rgb(29 24 19 / 0.82), rgb(29 24 19 / 0.82)),
    url("/img/stock/beer-glass.jpg") center 40% / cover no-repeat;
}

/* A band of hops along the bottom of every page, above the footer text and
   fading out at both edges; the text itself stays on the plain background. */
.site-footer {
  --band: clamp(7rem, 16vw, 10rem);
  position: relative;
  border-top: 0;
  padding-top: var(--band);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--band);
  background: url("/img/stock/hop-border.png") center top / auto 100% repeat-x;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 35%, #000 70%, transparent);
}

/* Beer list: name, style line, description. */
.beer h2 {
  font-size: 1.6rem;
  margin: 0;
}
.beer-style {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.3rem 0 0.8rem;
}
.beer p:last-child {
  margin-bottom: 0;
}
.section > .motto {
  max-width: none;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  margin-top: 0.75rem;
}
/* The wax seal from the labels, set above the motto like a stamp. */
.seal {
  display: block;
  width: 4.5rem;
  height: auto;
  margin: 3rem auto 0;
}
/* The label sits beside the text; on narrow cards it goes above it. */
.beer {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 1.25rem;
  align-items: start;
}
.beer img {
  grid-row: 1 / -1;
  width: 100%;
  height: auto;
}
@media (max-width: 30rem) {
  .beer {
    grid-template-columns: 1fr;
  }
  .beer img {
    grid-row: auto;
    width: 9rem;
    margin: 0 auto 1rem;
  }
}
