/* Glasstown blog — matches glasstownbrewery.com: stone background, amber accents, Playfair Display + Inter. */
:root {
  --bg: #0c0a09;
  --surface: #1c1917;
  --surface-2: #292524;
  --line: #3a3532;
  --text: #d6d3d1;
  --muted: #a8a29e;
  --faint: #78716c;
  --head: #fafaf9;
  --amber: #f59e0b;
  --amber-btn: #d97706;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); color: var(--head); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.btn { display: inline-block; background: var(--amber-btn); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 6px; white-space: nowrap; }
.btn:hover { background: var(--amber); text-decoration: none; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); background: rgba(12,10,9,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--surface-2); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--head); }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.brand small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; }
.nav a, .menu nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav a[aria-current], .menu nav a[aria-current] { color: var(--amber); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; display: grid; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; }
.menu nav { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px; min-width: 180px; display: flex; flex-direction: column; }
.menu nav a { padding: 10px 12px; border-radius: 6px; }
.menu nav a:hover { background: var(--surface-2); text-decoration: none; }
@media (max-width: 760px) { .nav { display: none; } .menu { display: block; } }

/* shared bits */
.meta { font-size: 13px; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(245,158,11,.45); border-radius: 100px; padding: 3px 10px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; max-width: 640px; }

/* index */
.index { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.index-head { padding: 64px 0 44px; border-bottom: 1px solid var(--surface-2); margin-bottom: 44px; }
.index-head h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.card { display: block; color: inherit; background: var(--surface); border: 1px solid var(--surface-2); border-radius: 10px; overflow: hidden;
  transition: border-color .2s, transform .2s; }
.card:hover { text-decoration: none; border-color: rgba(245,158,11,.5); transform: translateY(-2px); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-text { padding: 22px 24px 26px; }
.card h2 { font-size: 24px; line-height: 1.2; }
.dek { color: var(--muted); margin: 10px 0 16px; font-size: 16px; }
.more { font-size: 14px; font-weight: 600; color: var(--amber); }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; }
.feature .card-img { aspect-ratio: auto; min-height: 420px; }
.feature .card-text { padding: 40px 40px; align-self: center; }
.feature h2 { font-size: clamp(28px, 3.2vw, 38px); }
.feature .dek { font-size: 17px; }
.section { font-size: 28px; margin: 64px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.empty { color: var(--muted); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature .card-img { min-height: 0; aspect-ratio: 3 / 2; }
  .feature .card-text { padding: 24px; }
  .index-head { padding: 40px 0 32px; margin-bottom: 32px; }
}

/* post */
.post { padding-bottom: 20px; }
.post-head { max-width: 760px; margin: 0 auto; padding: 44px var(--gutter) 34px; }
.back { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 28px; }
.post-head h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; }
.cover { margin: 0 auto; max-width: 1120px; padding: 0 var(--gutter); }
.cover img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: 10px; }
.prose { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 0; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 32px; line-height: 1.2; margin: 1.8em 0 .7em; }
.prose h3 { font-size: 23px; margin: 1.6em 0 .6em; }
.prose ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
.prose li { padding: 12px 0 12px 22px; border-top: 1px solid var(--surface-2); position: relative; }
.prose li:last-child { border-bottom: 1px solid var(--surface-2); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.prose strong { color: var(--head); font-weight: 600; }
.photo { margin: 2em 0; }
.photo img { border-radius: 8px; width: 100%; }
.video { margin: 2em auto; max-width: 420px; }
.video video { width: 100%; height: auto; border-radius: 8px; background: #000; display: block; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

/* awards */
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 1.6em; }
.award { background: var(--surface); border: 1px solid var(--surface-2); border-top: 3px solid var(--amber); border-radius: 8px; padding: 20px 20px 22px; }
.award-name { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.award-who { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--head); line-height: 1.2; margin: 10px 0 6px; }
.award-note { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* gallery: breaks out wider than the text column */
.post { overflow-x: clip; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.4em 0 2em;
  width: min(1040px, 100vw - 2 * var(--gutter)); margin-left: calc(50% - min(520px, 50vw - var(--gutter))); }
.tile { margin: 0; }
.tile a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--surface-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.tile a:hover img { transform: scale(1.04); }
.tile figcaption { font-size: 13px; margin-top: 8px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* share, next up, pager */
.share { max-width: 720px; margin: 8px auto 0; padding: 22px var(--gutter) 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); }
.share span { margin-right: 4px; }
.share a, .share button { font: 600 14px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 16px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--amber); color: var(--amber); text-decoration: none; }
.next-up { max-width: 720px; margin: 48px auto 0; padding: 32px; background: var(--surface); border: 1px solid rgba(245,158,11,.45);
  border-radius: 10px; width: calc(100% - 2 * var(--gutter)); }
.next-hed { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--head); margin: 0 0 8px; line-height: 1.2; }
.next-up p:not(.kicker):not(.next-hed) { color: var(--muted); margin: 0 0 22px; }
.pager { max-width: 720px; margin: 40px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { color: var(--head); font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.pager a small { display: block; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.pager .next { text-align: right; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,7,6,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: var(--text); font-size: 15px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--head); font-size: 44px; line-height: 1; cursor: pointer; padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; color: var(--amber); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* footer */
.foot { margin-top: 80px; border-top: 1px solid var(--surface-2); padding: 0 var(--gutter) 40px; }
.foot-cta { max-width: 1120px; margin: 0 auto; padding: 44px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--surface-2); }
.foot-cta p { margin: 0; color: var(--muted); }
.foot-hed { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--head) !important; margin: 0 0 6px !important; }
.foot-row { max-width: 1120px; margin: 0 auto; padding-top: 32px; display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--muted); }
.foot-row p { margin: 0; }
.fine { max-width: 1120px; margin: 18px auto 0; font-size: 12px; color: var(--faint); }
@media (max-width: 640px) { .foot-cta { flex-direction: column; align-items: flex-start; } .foot-row { align-items: flex-start; } }
