/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; font-weight: 600; padding: 13px 22px; border-radius: 0;
  transition: transform .12s ease, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cream); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.btn-outline:hover { background: var(--cream); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .66rem; }

/* ============ HOUSE CARDS ============ */
.houses { display: grid; gap: 24px; }
@media (min-width: 760px) { .houses { grid-template-columns: repeat(2, 1fr); } }
.house { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease; }
.house:hover { box-shadow: 0 18px 40px rgba(0,0,0,.09); transform: translateY(-2px); }
.house-media { position: relative; aspect-ratio: 16 / 10; background: #e4e2dd center/cover no-repeat;
  display: grid; place-items: end start; overflow: hidden; }
.house-media::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.62)); }
.house-no { position: relative; z-index: 1; padding: 12px 16px; font-family: var(--serif); font-weight: 700; font-size: 2rem; color: #fff; }
.house-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.house-body h3 { font-size: 1.32rem; }
.house-brand { display: block; font-family: var(--label); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--cream); margin-top: 6px; }
.house-meta { font-family: var(--label); font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 9px 0 12px; }
.house-body > p:last-of-type { color: var(--cream-2); font-size: .98rem; line-height: 1.55; margin-bottom: 22px; }
.house-link { margin-top: auto; align-self: flex-start; }

/* ============ TIMELINE (dotted) ============ */
.timeline { position: relative; padding-left: 2px; }
.timeline::before { content: ""; position: absolute; left: 80px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 30px; padding: 18px 0; position: relative; }
.t-year { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--cream); text-align: right; }
.timeline li > div { position: relative; padding-left: 4px; }
.timeline li > div::before { content: ""; position: absolute; left: -19px; top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 0 3px var(--ink); }
.timeline h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.timeline p { font-size: .96rem; }

/* ============ HERITAGE LIST ============ */
.heritage-list { display: grid; border: 1px solid var(--line); background: #fff; }
.heritage-list li { display: grid; gap: 4px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.heritage-list li:last-child { border-bottom: 0; }
.heritage-list strong { font-family: var(--serif); font-size: 1.08rem; color: var(--cream); font-weight: 700; }
.heritage-list span { font-size: .92rem; color: var(--cream-2); }

/* ============ FAQ (boxed) ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); padding: 2px 20px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--label); font-size: 1.3rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; font-size: .98rem; }

/* ============ COOKIE BANNER ============ */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: #fff; border-top: 2px solid var(--rule); box-shadow: 0 -10px 30px rgba(0,0,0,.06);
  padding: 16px var(--gutter); display: flex; flex-direction: column; gap: 14px; }
/* the hidden attribute must win over the display rules above */
.cookie[hidden] { display: none; }
.cookie p { font-size: .86rem; color: var(--cream-2); max-width: 80ch; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 700px) {
  .cookie { flex-direction: row; align-items: center; gap: 24px; }
  .cookie-actions { margin-left: auto; flex-wrap: nowrap; }
}

/* ============ BREWERY ENTRY PAGE ============ */
.entry { padding-top: clamp(26px, 4vw, 44px); padding-bottom: clamp(56px, 8vw, 100px); position: relative; z-index: 2; }
.entry-back { display: inline-block; margin-bottom: 22px; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; color: var(--accent); }
.entry-back:hover { color: var(--accent-2); }
.entry .kicker { display: block; color: var(--muted); margin-bottom: 14px; }
.entry h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.entry h1 em { display: block; font-size: .6em; font-weight: 400; font-style: italic; color: var(--cream-2); margin-top: 4px; }
.entry-figure { margin: clamp(28px, 4vw, 44px) 0; }
.entry-img { width: 100%; aspect-ratio: 16 / 8; background: #e4e2dd center/cover no-repeat; }
.entry-figure figcaption { padding-top: 10px; font-family: var(--label); font-size: .72rem; color: var(--muted); }
.entry-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 34px; }
@media (min-width: 560px) { .entry-facts { grid-template-columns: repeat(4, 1fr); } }
.entry-facts div { background: #fff; padding: 16px 18px; }
.entry-facts dt { font-family: var(--label); font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.entry-facts dd { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); }
.entry-body > p { font-size: 1.12rem; line-height: 1.7; margin-bottom: 20px; max-width: 68ch; color: var(--cream-2); }
.entry-body > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-weight: 700; font-size: 3.4em; line-height: .78; padding: 9px 10px 0 0; color: var(--cream); }
.entry-cta { margin-top: 16px; }

/* ============ LEGAL PAGES ============ */
.legal { padding-block: clamp(44px, 7vw, 88px); position: relative; z-index: 2; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .updated { font-family: var(--label); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 36px; }
.legal h2 { font-size: 1.45rem; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 1.05rem; color: var(--cream-2); line-height: 1.6; }
.legal ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; margin: 12px 0; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-block; margin-top: 40px; font-family: var(--label); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--accent); }
