/* Bistro Gambrinus — ported from the Claude Design prototype.
   Palette and type are drawn from the design brief and the room itself:
   dark, amber-lit beer-bistro. */

:root {
  --espresso: #1C1310;   /* page ground */
  --walnut:   #3A2419;   /* cards */
  --oxblood:  #7A2E22;   /* brand blocks, footer */
  --amber:    #D89A3E;   /* primary accent */
  --brass:    #E9BC6A;   /* bright accent, hairlines */
  --foam:     #F2E8D5;   /* text on dark */
  --foam-70:  rgba(242, 232, 213, 0.7);
  --foam-60:  rgba(242, 232, 213, 0.6);

  --serif:  'DM Serif Display', Georgia, serif;
  --script: 'Pinyon Script', cursive;
  --sans:   'Work Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--foam);
  background: var(--espresso);
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
::selection { background: rgba(216, 154, 62, 0.35); color: var(--foam); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- crest ---------- */
.crest {
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crest span {
  font-family: var(--serif);
  color: var(--brass);
  line-height: 1;
}

/* ---------- sticky nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 11px clamp(16px, 4vw, 40px);
  background: rgba(28, 19, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 188, 106, 0.14);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.nav__brand .crest { width: 34px; height: 34px; box-shadow: inset 0 0 12px rgba(216, 154, 62, 0.3); }
.nav__brand .crest span { font-size: 20px; }
.nav__brand .wordmark { font-family: var(--script); font-size: 26px; color: var(--foam); line-height: 1; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav__link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam);
  text-decoration: none;
  font-weight: 500;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brass);
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone-text { display: inline; }

/* ---------- buttons ---------- */
.btn {
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--pill-sm {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--espresso);
  background: var(--amber);
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(216, 154, 62, 0.35);
}
.btn--primary {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--espresso);
  background: var(--amber);
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(216, 154, 62, 0.4);
}
.btn--ghost {
  font-size: 15px;
  color: var(--foam);
  background: rgba(242, 232, 213, 0.06);
  border: 1px solid rgba(233, 188, 106, 0.4);
  padding: 14px 26px;
  border-radius: 999px;
}

/* ---------- order popover ---------- */
.order-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 9, 7, 0.66);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.order-overlay[hidden] { display: none; }
.order-card {
  width: 100%;
  max-width: 360px;
  background: var(--walnut);
  border: 1px solid rgba(233, 188, 106, 0.28);
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.order-card__title { font-family: var(--serif); font-size: 24px; color: var(--foam); margin-bottom: 4px; }
.order-card__sub { font-size: 13.5px; color: rgba(242, 232, 213, 0.62); margin-bottom: 20px; }
.order-card__list { display: flex; flex-direction: column; gap: 10px; }
.order-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--espresso);
  border: 1px solid rgba(233, 188, 106, 0.16);
  border-radius: 11px;
  text-decoration: none;
  color: var(--foam);
  font-weight: 600;
}
.order-link span { color: var(--amber); }
.order-link--call { background: var(--amber); color: var(--espresso); border: none; }
.order-link--call span { color: var(--espresso); }
.order-card__close {
  margin-top: 16px;
  width: 100%;
  background: none;
  border: none;
  color: rgba(242, 232, 213, 0.5);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px 72px;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28,19,16,0.72) 0%, rgba(28,19,16,0.5) 40%, rgba(28,19,16,0.88) 100%);
}
.hero__glow {
  position: absolute;
  z-index: 1;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 92vw);
  height: min(760px, 92vw);
  background: radial-gradient(circle, rgba(216,154,62,0.42) 0%, rgba(216,154,62,0.14) 34%, rgba(216,154,62,0) 66%);
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.05); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}
.hero__crest {
  width: clamp(76px, 16vw, 102px);
  height: clamp(76px, 16vw, 102px);
  box-shadow: 0 0 0 7px rgba(233,188,106,0.09), inset 0 0 28px rgba(216,154,62,0.32);
  margin-bottom: 22px;
}
.hero__crest span { font-size: clamp(42px, 9vw, 58px); }
.hero__title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(60px, 15vw, 132px);
  line-height: 0.9;
  margin: 0 0 14px;
  color: var(--foam);
  text-shadow: 0 2px 40px rgba(216, 154, 62, 0.3);
}
.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(19px, 3.4vw, 27px);
  color: var(--foam);
  margin: 0 0 30px;
  opacity: 0.92;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.hero__status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 14px;
  color: rgba(242, 232, 213, 0.82);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot--open   { background: #7F9E5B; box-shadow: 0 0 8px #7F9E5B; }
.status-dot--closed { background: #C25B4A; box-shadow: 0 0 8px #C25B4A; }

/* ---------- about ---------- */
.about {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) 22px;
  text-align: center;
}
.about__eyebrow { margin-bottom: 18px; }
.about__body {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.42;
  margin: 0;
  color: var(--foam);
}
.about__dropcap {
  float: left;
  font-family: var(--serif);
  font-size: clamp(78px, 15vw, 116px);
  line-height: 0.72;
  padding: 8px 14px 0 0;
  color: var(--amber);
}

/* ---------- menu ---------- */
.menu {
  background: var(--espresso);
  padding: clamp(30px, 5vw, 54px) 0 clamp(60px, 9vw, 96px);
  scroll-margin-top: 60px;
}
.menu__head { max-width: 1080px; margin: 0 auto; padding: 0 22px; text-align: center; }
.menu__head .eyebrow { margin-bottom: 10px; }
.menu__title { font-family: var(--serif); font-size: clamp(38px, 7vw, 64px); margin: 0 0 8px; color: var(--foam); }

.chips {
  position: sticky;
  top: 57px;
  z-index: 40;
  background: rgba(28, 19, 16, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(233, 188, 106, 0.12);
  border-bottom: 1px solid rgba(233, 188, 106, 0.12);
  margin: 22px 0 40px;
}
.chips__track {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 22px;
  -webkit-overflow-scrolling: touch;
}
.chip {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.15s;
  background: transparent;
  color: rgba(242, 232, 213, 0.72);
  border: 1px solid rgba(233, 188, 106, 0.28);
}
.chip.is-active { background: var(--amber); color: var(--espresso); border-color: var(--amber); }

.menu__cats {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 7vw, 72px);
}
.cat { scroll-margin-top: 118px; }
.cat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.cat__name {
  font-family: var(--serif);
  font-size: clamp(26px, 4.6vw, 38px);
  margin: 0;
  color: var(--brass);
  white-space: nowrap;
}
.cat__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(233,188,106,0.4), rgba(233,188,106,0)); }
.cat__aside {
  display: inline-block;
  font-size: 13px;
  font-style: italic;
  color: var(--amber);
  background: rgba(216, 154, 62, 0.1);
  border: 1px solid rgba(216, 154, 62, 0.24);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.cat__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 6px 46px;
}
.item { padding: 12px 0; }
.item__row { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-weight: 600; font-size: 16.5px; color: var(--foam); }
.item__dots { flex: 1; border-bottom: 1px dotted rgba(242, 232, 213, 0.28); transform: translateY(-3px); }
.item__price {
  font-weight: 600;
  font-size: 16px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.item__desc { font-size: 13.5px; line-height: 1.5; color: var(--foam-60); margin-top: 4px; max-width: 52ch; }

/* ---------- beer ---------- */
.beer {
  background: linear-gradient(180deg, #7A2E22 0%, #5c2419 100%);
  padding: clamp(60px, 9vw, 100px) 0;
  scroll-margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.beer__glow {
  position: absolute;
  top: -10%;
  right: -6%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  background: radial-gradient(circle, rgba(216,154,62,0.3), rgba(216,154,62,0) 68%);
  pointer-events: none;
}
.beer__grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
.beer .eyebrow { color: var(--brass); margin-bottom: 14px; }
.beer__title {
  font-family: var(--serif);
  font-size: clamp(38px, 6.5vw, 60px);
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--foam);
}
.beer__lead { font-size: 15.5px; line-height: 1.6; color: rgba(242,232,213,0.82); margin: 0 0 26px; max-width: 46ch; }
.beer__badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  background: rgba(28, 19, 16, 0.35);
  border: 1px dashed rgba(233, 188, 106, 0.45);
  padding: 7px 14px;
  border-radius: 8px;
}
.beer__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.beer-card {
  background: rgba(28, 19, 16, 0.4);
  border: 1px solid rgba(233, 188, 106, 0.18);
  border-radius: 11px;
  padding: 14px 15px;
}
.beer-card__name { font-family: var(--serif); font-size: 19px; color: var(--foam); line-height: 1.1; }
.beer-card__style { font-size: 12.5px; color: var(--brass); margin-top: 4px; }
.beer-card__origin { font-size: 12px; color: rgba(242,232,213,0.55); margin-top: 2px; }
.beer__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 26px 60px rgba(0,0,0,0.4); }

/* ---------- visit ---------- */
.visit { padding: clamp(64px, 10vw, 110px) 0; scroll-margin-top: 56px; }
.visit__wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.visit__head { text-align: center; margin-bottom: 44px; }
.visit__head .eyebrow { margin-bottom: 10px; }
.visit__title { font-family: var(--serif); font-size: clamp(38px, 7vw, 60px); margin: 0; color: var(--foam); }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--walnut);
  border: 1px solid rgba(233, 188, 106, 0.16);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 34px);
}
.info-card__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.info-card__block { margin-bottom: 26px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.hours-row__time { color: rgba(242, 232, 213, 0.82); font-variant-numeric: tabular-nums; text-align: right; }
.hours-note { margin-top: 8px; font-size: 13px; color: var(--foam-60); }
.info-card__addr { color: var(--foam); text-decoration: none; font-size: 16px; line-height: 1.5; display: block; }
.info-card__phone { display: inline-block; margin-top: 12px; color: var(--amber); font-weight: 600; font-size: 17px; text-decoration: none; }
.info-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.info-card__actions .btn { flex: 1; min-width: 130px; font-size: 14px; padding: 12px; border-radius: 10px; }
.info-card__actions .btn--primary { box-shadow: none; }

.map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(233, 188, 106, 0.16);
  min-height: 340px;
  background: var(--walnut);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: saturate(0.82) brightness(0.92) sepia(0.12);
}
.map__pin {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--espresso);
  background: var(--brass);
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ---------- footer ---------- */
.footer { background: var(--oxblood); padding: clamp(50px, 8vw, 80px) 22px 40px; }
.footer__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px;
  align-items: start;
}
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand .crest { width: 36px; height: 36px; }
.footer__brand .crest span { font-size: 21px; }
.footer__brand .wordmark { font-family: var(--script); font-size: 30px; color: var(--foam); }
.footer__blurb { font-size: 14px; line-height: 1.55; color: rgba(242,232,213,0.78); margin: 0; max-width: 34ch; }
.footer__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.footer__addr { display: block; font-size: 14.5px; line-height: 1.6; color: var(--foam); text-decoration: none; }
.footer__phone { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--brass); text-decoration: none; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer__links a { color: var(--foam); text-decoration: none; }
.footer__bottom {
  max-width: 1080px;
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 188, 106, 0.2);
  font-size: 12.5px;
  color: var(--foam-60);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

/* ---------- hover (pointer devices only) ---------- */
@media (hover: hover) {
  .nav__link:hover, .footer__links a:hover, .footer__addr:hover { color: var(--brass); }
  .chip:hover { border-color: var(--brass); color: var(--foam); }
  .order-link:hover { border-color: rgba(233, 188, 106, 0.4); }
  .btn--ghost:hover { background: rgba(242, 232, 213, 0.12); }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .nav__phone-text { display: none; }        /* icon-only phone to save room */
  .nav__brand .wordmark { font-size: 22px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow { animation: none; }
}
