@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-800.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-700.ttf) format('truetype');
}


:root { color-scheme: dark; --ink:#16191c; --cream:#f8eed9; --gold:#f8c76b; }
* { box-sizing:border-box; }
body { margin:0; background:var(--ink); color:var(--cream); font: 1.05rem/1.6 "DM Sans",sans-serif; }
a { color:inherit; text-underline-offset:.22em; }
a:hover { text-decoration-thickness:.16em; }
a:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
.shell { width:min(1120px,calc(100% - 2.5rem)); margin-inline:auto; }
header,footer,nav,.actions { display:flex; align-items:center; gap:1.3rem; flex-wrap:wrap; }
header,footer { justify-content:space-between; padding-block:1.3rem; }
header { border-bottom:1px solid #fff3; }
.brand img { display:block; filter:invert(1); }
.button { display:inline-block; background:var(--gold); color:var(--ink); font-weight:700; padding:.55em 1em; border-radius:.2rem; text-decoration:none; }
.button:hover { background:var(--cream); }
.hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:36rem; padding-block:3rem; }
.eyebrow { color:var(--gold); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
h1,h2 { font-family:"Barlow Condensed","Arial Narrow",sans-serif; text-transform:uppercase; margin:0; line-height:.88; }
h1 { font-size:clamp(4rem,10vw,9rem); }
h2 { font-size:clamp(2.4rem,5vw,4rem); }
.lead { font-size:clamp(1.25rem,2.8vw,1.8rem); }
.art { position:relative; aspect-ratio:1.15; background:radial-gradient(ellipse closest-side at center,#55442a 0%,#3b3123 45%,transparent 100%); }
.art img { position:absolute; object-fit:contain; height:100%; }
.lamp { width:62%; right:0; }
.curser { width:72%; right:22%; }
.story { background:var(--cream); color:var(--ink); padding-block:clamp(2.5rem,7vw,6rem); }
.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,5vw,5rem); }
.story p:first-child { margin-top:0; }
.trade-hero { padding-block:clamp(3rem,9vw,7rem); }
dt { font-weight:700; }
dd { margin:0 0 1rem; }
footer { font-size:.95rem; }
@media(max-width:680px) {
  .hero,.story-grid { grid-template-columns:1fr; }
  .hero { padding-bottom:1rem; }
  .art { max-height:22rem; }
  header { gap:.75rem; }
  nav { gap:.75rem; }
}

.art .mascot { position:absolute; width:100%; height:100%; inset:0; }
.range { padding-block:clamp(2rem,5vw,5rem); }
.beer-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr)); gap:1rem; margin-block:1.5rem 3rem; }
.beer-card { background:#202428; border-radius:1rem; padding:1rem; }
.beer-visual img { clip-path:circle(45% at center); display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
.beer-card h3 { margin:.4rem 0; font:800 2rem/1 "Barlow Condensed",sans-serif; }
.beer-card p { margin:.4rem 0 0; }
.beer-card p:empty { display:none; }
.beer-card .beer-story { margin-top:.85rem; color:#eee4d1; }
.hero h1 { font-size:clamp(3rem,7vw,6rem); }

.hero .lead { text-wrap:balance; }

.beer-details {
  border-top:1px solid #ffffff26;
  margin-top:1rem;
  padding-top:.75rem;
}
.beer-details summary { color:var(--gold); cursor:pointer; }
.beer-can {
  display:block;
  width:100%;
  max-width:320px;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
  margin:.75rem auto;
}
.can-cutout {
  clip-path:polygon(34.5% 11%, 63% 11%, 63% 13.5%, 66% 20%, 66% 85%, 64% 88%, 35% 88%, 32% 85%, 32% 20%, 34.5% 13.5%);
}
.can-cutout[src$="swipes.png"],
.can-cutout[src$="mizzle.png"],
.can-cutout[src$="bonebox-cooler.png"],
.can-cutout[src$="elbow-crooker.png"] {
  clip-path:polygon(34.5% 0, 63% 0, 66% 5%, 66% 85%, 64% 88%, 35% 88%, 32% 85%, 32% 5%);
}

.taproom-hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:clamp(1.5rem,5vw,4rem);
  padding-block:clamp(3rem,7vw,6rem);
}
.taproom-hero h1 { font-size:clamp(3.5rem,8vw,7rem); }
.taproom-hours { margin-block:1.5rem; }
.taproom-hours div { display:flex; gap:1rem; }
.taproom-hours dt { min-width:6rem; }
.taproom-hours dd { margin-bottom:.35rem; }
.taproom-photo { display:block; width:100%; border-radius:1rem; }
.taproom-map {
  display:block;
  width:100%;
  height:clamp(18rem,48vw,30rem);
  border:0;
  border-radius:1rem;
  margin-block:1rem;
}
@media (max-width:680px) {
  .taproom-hero { grid-template-columns:1fr; }
}

.beer-card-link { position:relative; }
.beer-card-link a { display:inline-block; margin-top:1rem; color:var(--gold); }
.beer-card-link a::after { content:""; position:absolute; inset:0; }
.beer-page {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.5rem,5vw,4rem);
  align-items:center;
  padding-block:clamp(2rem,6vw,5rem);
}
.beer-page h1 { font-size:clamp(3rem,7vw,6rem); }
.beer-page .beer-can { max-width:460px; }
@media (max-width:680px) {
  .beer-page { grid-template-columns:1fr; }
}
.beer-copy h2 { font-size:1.55rem; margin-top:1.5rem; }
.beer-copy p { margin-top:.55rem; }
/* Give each original illustration its own space beside the packaging. */
.beer-artwork {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  gap:1.25rem clamp(.75rem,2vw,1.75rem);
}
.beer-artwork .beer-character {
  grid-area:1 / 1 / 3 / 2;
  display:block;
  width:100%;
  height:clamp(18rem,34vw,29rem);
  object-fit:contain;
  object-position:center;
}
.beer-artwork .beer-packshot,
.beer-artwork .beer-can {
  grid-area:1 / 2;
  width:100%;
  max-width:12rem;
  height:clamp(16rem,28vw,24rem);
  margin:0;
  justify-self:center;
  object-fit:contain;
}
.beer-page-badge {
  grid-area:2 / 2;
  width:min(100%,8rem);
  height:auto;
  clip-path:circle(45% at center);
  justify-self:center;
}
.beer-artwork:not(:has(.beer-character)) { grid-template-columns:1fr; }
.beer-artwork:not(:has(.beer-character)) > * { grid-column:1; }
@media (max-width:680px) {
  .beer-artwork { width:100%; max-width:30rem; margin-inline:auto; gap:1rem; }
  .beer-artwork .beer-character { height:clamp(17rem,70vw,25rem); }
  .beer-artwork .beer-packshot,
  .beer-artwork .beer-can { height:clamp(14rem,58vw,21rem); }
  .beer-page-badge { width:min(100%,7rem); }
}
.trade-signup {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap:1rem;
  max-width:44rem;
}
.trade-signup label { display:grid; gap:.35rem; }
.trade-signup input {
  width:100%;
  padding:.65rem;
  border:1px solid #ffffff55;
  border-radius:.2rem;
  background:#202428;
  color:var(--cream);
  font:inherit;
}
.trade-signup button { justify-self:start; align-self:end; font:inherit; border:0; cursor:pointer; }
.signup-trap { position:absolute; left:-5000px; }

.footer-alliance img {
  filter:invert(1);
  mix-blend-mode:screen;
  opacity:.8;
  display:block;
  width:150px;
  height:auto;
  border-radius:.2rem;
}

.brewery-story { align-items:center; }
.brewery-story img { display:block; width:100%; height:auto; border-radius:.75rem; }
.brewery-history h1 { font-size:clamp(3rem,7vw,6rem); margin-top:1.5rem; }
.brewery-history figure { margin:0; max-width:28rem; }
.brewery-history figcaption { margin-top:.5rem; }
.footer-socials { display:flex; gap:1rem; }
#our-story p { max-width:60ch; }
.brewery-history .brewery-kit-photo { margin-top:1.5rem; }

.beer-divider {
  display:block;
  width:100vw;
  margin-left:calc(50% - 50vw);
  height:97px;
  margin-bottom:1rem;
  background:linear-gradient(var(--gold),var(--gold)) center top / 100% 11px no-repeat, url("assets/amber-drips-continuous.svg") no-repeat center top / 11200px auto;
}

/* Our Brewery: working brewery photography, process and original installation. */
.brewery-intro { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(2rem,5vw,5rem); align-items:center; padding-block:clamp(2.5rem,6vw,5rem); }
.brewery-intro h1 { font-size:clamp(3.5rem,7vw,6.5rem); }
.our-brewery figure { margin:0; }
.our-brewery img { display:block; width:100%; object-fit:cover; border-radius:.5rem; }
.brewery-hero-photo img { aspect-ratio:4/5; height:auto; object-position:50% 60%; }
.brewery-hero-photo figcaption,.video-caption { font-size:.9rem; opacity:.8; margin-top:.6rem; }
.brewery-intro .actions { margin-top:1.8rem; }
.brewery-intro .actions a:not(.button) { font-size:.95rem; }
.brewery-process { padding-block:1rem 5rem; }
.brewery-section-intro { max-width:46rem; margin:1.3rem 0 2rem; }
.brewery-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.brewery-photo-grid img { aspect-ratio:4/5; height:auto; }
.brewery-photo-grid h3 { font:700 1.8rem/1.1 "Barlow Condensed",sans-serif; margin:1.2rem 0 .6rem; }
.brewery-photo-grid p { margin:0; }
.brewery-origins { background:#202428; padding-block:clamp(3rem,6vw,5rem); }
.brewery-origins .shell>p:last-child { max-width:46rem; }
.brewery-video { aspect-ratio:16/9; background:#111; border-radius:.5rem; overflow:hidden; }
.brewery-video iframe { width:100%; height:100%; border:0; display:block; }
.brewery-visit { padding-block:clamp(3rem,6vw,5rem); display:flex; justify-content:space-between; gap:2rem; flex-wrap:wrap; align-items:center; }
nav a[aria-current="page"] { color:var(--gold); }
@media(max-width:680px) {
  .brewery-intro,.brewery-photo-grid { grid-template-columns:1fr; }
  .brewery-hero-photo img { max-height:30rem; }
  .brewery-photo-grid { gap:2.25rem; }
  .brewery-photo-grid img { aspect-ratio:4/3; }
  .brewery-process { padding-bottom:3rem; }
  nav { font-size:.95rem; }
}

.taproom-hero .taproom-photo { height:auto; aspect-ratio:4/5; object-fit:cover; }
.taproom-photo-pair { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.taproom-photo-pair figure { margin:0; }
.taproom-photo-pair img { display:block; width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; border-radius:.75rem; }
@media(max-width:680px) { .taproom-photo-pair { grid-template-columns:1fr; } }

.external-arrow { display:inline-block; width:.85em; height:.85em; vertical-align:baseline; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }



.artwork-credit { grid-area:3 / 1; margin:0; font-size:.8rem; text-align:center; color:var(--cream); opacity:.75; }

/* Launch preparation: local fonts, keyboard access and optional external media. */
.skip-link { position:absolute; left:1rem; top:.5rem; z-index:100; padding:.7rem 1rem; background:var(--cream); color:var(--ink); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
main:focus { outline:none; }
.footer-legal { flex-basis:100%; display:flex; gap:1.5rem; flex-wrap:wrap; font-size:.85rem; color:#b8b7b2; }
.footer-legal a { color:inherit; text-decoration:none; padding-block:.4rem; }
.footer-legal a:hover, .footer-legal a:focus-visible { color:var(--cream, #f4edda); text-decoration:underline; text-underline-offset:.25em; }
.legal-page { max-width:75ch; }
.legal-page h1 { font-size:clamp(2.8rem,7vw,5rem); margin-bottom:2rem; }
.legal-page h2 { font-size:clamp(1.8rem,4vw,2.5rem); line-height:1.1; margin-top:2rem; }
.legal-page address { font-style:normal; }
.signup-note { font-size:.88rem; max-width:75ch; }
.external-media { margin-block:2rem; }
.media-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:20rem; background:#16191c; border:1px solid #ffffff33; border-radius:.7rem; padding:clamp(1.25rem,4vw,3rem); text-align:center; }
.media-placeholder[hidden] { display:none; }
.media-placeholder h3 { margin:0; font:700 2rem/1.15 'Barlow Condensed',sans-serif; }
.media-placeholder p { max-width:60ch; }
.enable-media { font:inherit; cursor:pointer; border:0; }
.external-media iframe { display:block; width:100%; border:0; border-radius:.7rem; aspect-ratio:16/9; }
.external-media[data-service="maps"] iframe { height:26rem; aspect-ratio:auto; }
.media-disable { margin-top:.75rem; background:none; color:var(--cream); border:1px solid currentColor; border-radius:.25rem; padding:.5rem .8rem; font:inherit; cursor:pointer; }
@media(max-width:680px) { .external-media[data-service="maps"] iframe { height:21rem; } .media-placeholder { min-height:18rem; } }
