/* Michael's Tavern — design proposal. Motif: the oval of the tavern's beer-mat logo. */
:root {
  --bg: #16352a;        /* bottle green of the tap board */
  --surface: #1e4436;
  --deep: #0f261e;
  --ink: #efeadf;       /* beer foam */
  --muted: #cfc2a2;
  --accent: #e8a33a;    /* amber */
  --accent-ink: #16352a;
    --f: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --step-head: clamp(2.4rem, 1.3rem + 4vw, 4.6rem);
  --step-hero: clamp(4rem, 2rem + 10vw, 11rem);
  --oval: 50% / 50%;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--f); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2 { font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.02em; line-height: .9; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; font-variation-settings: "wdth" 85; }

/* Buttons: the oval */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; transition: transform .18s var(--ease), background-color .18s; }
.btn:hover { background: #f2b452; transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: var(--step-small); }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: color .18s; }
.link:hover { color: var(--accent); }

/* Bar */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.bar-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.mark { font-weight: 800; font-size: 1.25rem; text-decoration: none; font-variation-settings: "wdth" 75; letter-spacing: -.01em; }
.bar nav { display: none; gap: 28px; margin-left: auto; }
.bar nav a { text-decoration: none; font-weight: 500; transition: color .18s; }
.bar nav a:hover { color: var(--accent); }
.bar .btn { margin-left: auto; }
@media (min-width: 860px) { .bar nav { display: flex; } .bar .btn { margin-left: 0; } }

/* Hero: one enormous amber oval, cropped by the right edge, holding the bar photo */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 64px); display: grid; align-content: end; padding-bottom: clamp(32px, 6vw, 72px); }
.hero-oval { position: absolute; width: 118vw; aspect-ratio: 1.45; right: -56vw; top: -6vw; border-radius: var(--oval); background: var(--accent); }
.hero-photo { position: absolute; width: 74vw; aspect-ratio: 1.45; right: -18vw; top: 6vw; border-radius: var(--oval); overflow: hidden; background: var(--deep); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: drift 18s var(--ease) infinite alternate; }
@keyframes drift { to { transform: scale(1.16) translateX(-2%); } }
.hero-text { position: relative; display: grid; gap: 28px; }
.hero h1 { font-size: var(--step-hero); max-width: 9ch; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.now { font-size: var(--step-small); color: var(--muted); }
.now b { color: var(--accent); font-weight: 600; }
@media (max-width: 759px) {
  .hero { align-content: start; padding-top: 0; }
  .hero-oval { width: 150vw; right: -70vw; top: -24vw; }
  .hero-photo { position: relative; width: calc(100% - 2 * var(--gutter)); right: auto; top: auto; margin: 16px var(--gutter) 28px; aspect-ratio: 1.45; }
  .hero-text { gap: 22px; }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 5.6rem); }
}
@media (min-width: 760px) {
  .hero-text { padding-top: 34vw; }
}
@media (min-width: 1100px) {
  .hero-text { padding-top: 0; }
  .hero { align-content: center; }
  .hero-photo { width: 58vw; right: -6vw; top: 8vh; }
  .hero-oval { width: 92vw; right: -40vw; top: -12vh; }
}

/* Taps: the live thing */
.taps { padding: clamp(96px, 12vw, 200px) 0 clamp(80px, 10vw, 160px); }
.taps .wrap { display: grid; gap: 28px; }
.taps-head { display: grid; gap: 14px; }
.taps-head p { max-width: 40ch; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 600 1rem/1 var(--f); min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .18s, color .18s, transform .18s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--accent); color: var(--accent-ink); }
.tap-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.tap-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n a" "f a"; align-items: baseline; column-gap: 16px; padding: 16px 22px; background: var(--surface); border-radius: 999px; transition: opacity .24s, transform .24s var(--ease), background-color .24s; }
.tap-list li:hover { background: #24503f; }
.tap-list li.is-off { opacity: .28; transform: scale(.98); }
.t-name { grid-area: n; font-weight: 700; font-size: var(--step-lead); line-height: 1.1; font-variation-settings: "wdth" 85; }
.t-from { grid-area: f; color: var(--muted); font-size: var(--step-small); }
.t-abv { grid-area: a; font-weight: 800; font-size: var(--step-lead); color: var(--accent); font-variant-numeric: tabular-nums; }
.taps-photo { border-radius: var(--oval); overflow: hidden; aspect-ratio: .78; background: var(--deep); max-width: 420px; justify-self: center; width: 80%; }
.taps-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .taps .wrap { grid-template-columns: 1.25fr 1fr; column-gap: 80px; align-items: start; }
  .taps-head, .filters, .tap-list { grid-column: 1; }
  .taps-photo { grid-column: 2; grid-row: 1 / span 3; width: 100%; position: sticky; top: 100px; }
}

/* Menu */
.menu { background: #e9e6df; color: var(--accent-ink); padding: clamp(96px, 12vw, 180px) 0; }
.menu .wrap { display: grid; }
.menu h2 { margin-bottom: 24px; }
.menu-jump { position: sticky; top: 64px; z-index: 5; background: #e9e6df; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0; margin-bottom: 8px; scrollbar-width: none; }
.menu-jump a { white-space: nowrap; font-weight: 600; text-underline-offset: 5px; }
.menu-jump a:hover { color: #8a4a12; }
.cat { padding-top: clamp(96px, 9vw, 128px); }
.menu-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; padding-top: clamp(64px, 7vw, 104px); align-items: center; }
.menu-photos figure { border-radius: var(--oval); overflow: hidden; aspect-ratio: 1.45; }
.menu-photos figure + figure { aspect-ratio: .8; }
.menu-photos img { width: 100%; height: 100%; object-fit: cover; }
.b-photo { border-radius: var(--oval); overflow: hidden; aspect-ratio: 1.45; }
.b-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.cat-head h3 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem); font-weight: 800; font-variation-settings: "wdth" 75; letter-spacing: -.02em; }
.cat-head span { font-weight: 600; }
.items { list-style: none; padding: 0; display: grid; gap: 30px 64px; }
.items li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.dot { width: 76px; height: 56px; border-radius: var(--oval); object-fit: cover; }
.dot-fill { display: block; width: 26px; height: 18px; border-radius: var(--oval); background: var(--accent); margin: 3px 0 0 4px; }
.items strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.items p { color: #3d5a4c; font-size: 1rem; max-width: 38ch; margin-top: 4px; }
@media (min-width: 860px) { .items { grid-template-columns: 1fr 1fr; } }


/* Breakfast: the one full-width amber band */
.breakfast { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 10vw, 150px) 0; }
.breakfast-in { display: grid; gap: 40px; }
.breakfast .sub { margin-top: 16px; font-size: var(--step-lead); line-height: 1.3; }
.b-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.b-list li { background: rgba(22, 53, 42, .1); border-radius: 999px; padding: 18px 28px; display: grid; gap: 2px; }
.b-list strong { font-size: 1.2rem; }
@media (min-width: 900px) { .breakfast-in { grid-template-columns: 1fr 1.15fr; column-gap: 80px; row-gap: 40px; align-items: start; } .b-photo { grid-column: 1; grid-row: 2; } .b-list { grid-column: 2; grid-row: 1 / span 2; } }

/* Story: inset panel with an oval photo cropped at the bottom */
.story { padding: clamp(96px, 12vw, 180px) 0; }
.story-panel { position: relative; margin: 0 var(--gutter); max-width: calc(var(--max) - 2 * var(--gutter)); background: var(--deep); overflow: hidden; display: grid; gap: 40px; padding: clamp(32px, 5vw, 64px); padding-bottom: 0; }
@media (min-width: 1320px) { .story-panel { margin: 0 auto; } }
.story h2 { max-width: 12ch; }
.story-text { display: grid; gap: 36px; align-content: start; }
.story-text div { display: grid; gap: 10px; }
.story-text p { max-width: 42ch; }
.story-text .btn { justify-self: start; }
.story-photo { width: 100%; aspect-ratio: 1.45; border-radius: var(--oval); overflow: hidden; margin-bottom: -12%; justify-self: center; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.25); transform-origin: 25% 45%; }
@media (min-width: 900px) {
  .story-panel { grid-template-columns: 1.2fr 1fr; column-gap: 64px; grid-template-rows: auto 1fr; }
  .story h2 { grid-column: 1; }
  .story-text { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 64px; }
  .story-photo { grid-column: 1; grid-row: 2; align-self: end; justify-self: start; width: 100%; margin-bottom: -10%; }
}

/* Booking: the coupon, cut like a beer-mat stub */
.book { padding: 0 0 clamp(96px, 12vw, 180px); }
/* taste-skill-ignore: radial masks cut the coupon notches, not a gradient fill */
.coupon { position: relative; background: var(--accent); color: var(--accent-ink); display: grid; gap: 28px; padding: 40px 28px; border-radius: 28px;
  -webkit-mask: radial-gradient(circle 16px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore */
          mask: radial-gradient(circle 16px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; } /* taste-skill-ignore */
.coupon h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.coupon-l { display: grid; gap: 16px; align-content: start; }
.coupon-l p { max-width: 38ch; }
.coupon .alt a { font-weight: 700; }
.coupon-r { display: grid; gap: 10px; }
.coupon input, .coupon select { font: 400 1rem var(--f); color: var(--accent-ink); background: #f2c071; border: 0; border-radius: 999px; min-height: 54px; padding: 0 22px; width: 100%; appearance: none; -webkit-appearance: none; }
.coupon input::placeholder { color: #5a5030; }
.submit { font: 700 1.05rem var(--f); min-height: 56px; border: 0; border-radius: 999px; background: var(--accent-ink); color: var(--ink); cursor: pointer; transition: transform .18s var(--ease), background-color .18s; }
.submit:hover { background: #0f261e; transform: translateY(-2px); }
.submit:active { transform: scale(.98); }
@media (min-width: 900px) {
  .coupon { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px; }
  .coupon-l { padding-right: 32px; }
}

/* Visit */
.visit { padding: 0 0 clamp(96px, 12vw, 180px); }
.visit-in { display: grid; gap: 48px; }
.visit h2 { margin-bottom: 28px; }
.hours { border-collapse: collapse; width: 100%; max-width: 460px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 0; font-weight: 400; border-bottom: 1px solid rgba(244, 234, 210, .16); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 700; }
.visit-r { display: grid; gap: 22px; align-content: start; }
.addr { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; }
.rating strong { font-size: var(--step-head); font-weight: 800; color: var(--accent); font-variation-settings: "wdth" 75; margin-right: 8px; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.pay { color: var(--muted); }
@media (min-width: 900px) { .visit-in { grid-template-columns: 1fr 1fr; gap: 80px; } .visit-r { padding-top: 12px; } }

/* Footer: the name built large inside the oval */
.foot { background: var(--deep); padding: clamp(64px, 8vw, 120px) 0 40px; }
.foot-mark { display: grid; justify-items: center; align-content: center; background: var(--accent); color: var(--accent-ink); border-radius: var(--oval); aspect-ratio: 2.2; font-weight: 800; font-variation-settings: "wdth" 75; letter-spacing: -.03em; line-height: .86; font-size: clamp(2.6rem, 10vw, 9rem); margin-bottom: 48px; }
.foot-row p, .now { max-width: 62ch; }
.foot-row { display: grid; gap: 12px; color: var(--muted); font-size: var(--step-small); }
.foot-row p:first-child { color: var(--ink); font-size: 1rem; }
.credit { font-size: .875rem; }
.nw { white-space: nowrap; }
.preview-msg { background: #f2c071; border-radius: 22px; padding: 16px 20px; font-size: 1rem; }

/* Entrances */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img { animation: none; }
  .btn, .chip, .submit, .tap-list li { transition: none; }
}
