/* The Tavern on 42. Sign yellow, patio-light teal, night black. */
:root {
  --yellow: #FBD638;
  --yellow-deep: #E3B80F;
  --teal: #197C84;
  --teal-bright: #2FC0CC;
  --black: #000;
  --white: #fff;
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --text: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--yellow); color: var(--black); font-family: var(--text);
  font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .09em; }
p { margin: 0 0 1em; }
a[href^="tel:"] { white-space: nowrap; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide { max-width: 1380px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--yellow);
  padding: 10px 16px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 8px; }

/* type */
.h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.1rem, 8.6vw, 7.6rem);
  line-height: .9; letter-spacing: -.015em; text-wrap: balance; }
.h1-page { font-size: clamp(2.7rem, 7.4vw, 6rem); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.4; font-weight: 600; max-width: 34ch; }
.body { max-width: 52ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 12px 26px 10px; border: 3px solid var(--black); border-radius: 14px; font-family: var(--text);
  font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, color .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-black { background: var(--black); color: var(--yellow); }
.btn-line { background: transparent; color: var(--black); }
.btn-line:hover { background: var(--black); color: var(--yellow); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--black); }
.btn-yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--yellow); border-bottom: 3px solid var(--black); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1;
  padding-top: .12em; white-space: nowrap; }
.shield { width: 46px; height: 46px; flex: none; }
.shield-plate { fill: var(--white); stroke: var(--black); stroke-width: 7; stroke-linejoin: round; }
.shield-num { font-family: var(--text); font-weight: 900; font-size: 46px; fill: var(--black); letter-spacing: -1px; }
.nav { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.nav-link { font-weight: 800; text-decoration: none; padding: 10px 12px 8px; border-radius: 10px; }
.nav-link:hover { background: var(--black); color: var(--yellow); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--black); border-radius: 0; }
.nav-cta { min-height: 46px; padding: 10px 18px 8px; margin-left: 8px; }

/* bands */
.band { position: relative; padding-block: clamp(56px, 8vw, 112px); }
.band-yellow { background: var(--yellow); color: var(--black); }
.band-teal { background: var(--teal); color: var(--white); }
.band-night { background: var(--black); color: var(--white); }
.band-teal .h2, .band-teal .h1 { color: var(--yellow); }
.band-night .h2 { color: var(--yellow); }

/* string lights */
.lights { position: absolute; top: 0; left: 0; width: 100%; height: 84px; pointer-events: none; }
.wire { fill: none; stroke: var(--black); stroke-width: 2.5; }
.cap { fill: var(--black); }
.bulb { stroke: var(--black); stroke-width: 2.5; fill: var(--c, #E3262E); }
/* Christmas lights: five colors, each color blinking in turn. */
.lights g:nth-of-type(5n+1) { --c: #E3262E; --k: 0; }
.lights g:nth-of-type(5n+2) { --c: #169B45; --k: 1; }
.lights g:nth-of-type(5n+3) { --c: #1C6FE8; --k: 2; }
.lights g:nth-of-type(5n+4) { --c: #F26B0F; --k: 3; }
.lights g:nth-of-type(5n+5) { --c: #D93BB0; --k: 4; }
.lights-night g:nth-of-type(5n+1) { --c: #FF3B45; }
.lights-night g:nth-of-type(5n+2) { --c: #2EDB6B; }
.lights-night g:nth-of-type(5n+3) { --c: #4C9BFF; }
.lights-night g:nth-of-type(5n+4) { --c: #FBD638; }
.lights-night g:nth-of-type(5n+5) { --c: #FF5AD0; }
.lights-night .wire { stroke: #5c5c5c; }
.lights-night .cap { fill: #5c5c5c; }
.lights-night .bulb { stroke: none; filter: drop-shadow(0 0 7px var(--c)); }
@media (prefers-reduced-motion: no-preference) {
  .bulb { animation: twinkle 2.5s linear infinite; animation-delay: calc(var(--k, 0) * -0.5s); }
  @keyframes twinkle { 0%, 40% { fill-opacity: 1; } 48%, 92% { fill-opacity: .16; } 100% { fill-opacity: 1; } }
}

/* live status */
.status { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.35; margin: 1.5rem 0 0; font-weight: 800; }
.status::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--black); flex: none; margin-top: .2em; }
.status.is-on::before { background: var(--teal-bright); }
.status-light::before { border-color: var(--white); background: transparent; }
.status-light.is-on::before { background: var(--yellow); border-color: var(--yellow); }
.status-foot { margin-top: 0; font-weight: 600; }
.status-foot::before { border-color: var(--white); background: transparent; }
.status-foot.is-on::before { background: var(--teal-bright); border-color: var(--teal-bright); }

/* hero */
.hero { padding-top: clamp(104px, 11vw, 150px); padding-bottom: clamp(72px, 9vw, 128px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lede { margin-top: 1.4rem; margin-bottom: 0; }
.snaps { position: relative; }
.snap { border: 5px solid var(--black); border-radius: var(--r); background: var(--black); object-fit: cover; }
.snap-front { width: 100%; aspect-ratio: 4 / 3; transform: rotate(1.6deg); }
.snap-inside { position: absolute; left: -7%; bottom: -13%; width: 33%; aspect-ratio: 3 / 4; transform: rotate(-5deg); }

/* happy hour */
.happy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.happy .lede { margin: 1rem 0 0; }
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.deal { background: var(--yellow); color: var(--black); border: 5px solid var(--black); border-radius: var(--r);
  padding: clamp(20px, 3vw, 34px) clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 6px;
  transform: rotate(-2deg); }
.deal-b { transform: rotate(1.5deg); }
.deal-price { font-family: var(--display); font-size: clamp(3rem, 6.6vw, 5.4rem); line-height: .9; letter-spacing: -.02em; }
.deal-what { font-weight: 800; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.2; }

/* food board */
.food-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.food-head .lede { max-width: 40ch; margin: 0; }
.board { margin-top: clamp(32px, 4vw, 56px); background: var(--black); color: var(--white); border-radius: 30px;
  padding: clamp(26px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 52px) clamp(28px, 4vw, 60px); }
.board-h { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1;
  color: var(--yellow); margin-bottom: 14px; }
.board-h a { text-decoration: none; }
.board-h a:hover { text-decoration: underline; }
.row { display: flex; align-items: baseline; gap: 0; }
.rows .row + .row { margin-top: 8px; }
.row-name { font-family: var(--text); font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.leader { flex: 1 1 24px; min-width: 20px; margin: 0 8px; border-bottom: 3px dotted currentColor; opacity: .45;
  transform: translateY(-.28em); }
.row-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board .row-price { color: var(--teal-bright); }
.after-board { margin: clamp(26px, 3vw, 40px) 0 0; }

/* night */
.night { padding-top: clamp(118px, 12vw, 170px); overflow: hidden; }
.night-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.marquee { display: flex; flex-wrap: wrap; gap: 0 .5em; margin-top: 1.2rem; font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.1; letter-spacing: -.01em; }
.marquee li:nth-child(odd) { color: var(--white); }
.marquee li:nth-child(even) { color: var(--teal-bright); }
.night-side .lede { margin-bottom: 1.4rem; }
.night-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.night-top .night-side p:last-child { margin-bottom: 0; }
.week { margin-top: clamp(28px, 4vw, 52px); border-top: 3px solid #5c5c5c; }
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4px clamp(20px, 4vw, 56px); align-items: baseline;
  padding: clamp(12px, 1.6vw, 20px) 0; border-bottom: 3px solid #5c5c5c; }
.day-name { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4.2vw, 3.3rem); line-height: 1; color: var(--white);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.ev { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-weight: 800;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.3; }
.ev-when { color: var(--teal-bright); white-space: nowrap; font-variant-numeric: tabular-nums; }
.day.is-today .day-name { color: var(--yellow); }
.day.is-today .day-name::after, .up-ev.is-today .up-date::after { content: "Today"; font-family: var(--text); font-weight: 800; font-size: 1rem; line-height: 1;
  color: var(--black); background: var(--yellow); border-radius: 999px; padding: 7px 12px 5px; }
.week-note { margin: clamp(16px, 2vw, 24px) 0 0; font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.snap-wide { width: 100%; aspect-ratio: 4 / 3; border-color: var(--yellow); transform: rotate(1.5deg); }

/* coming up: dated one-offs from the tavern's Facebook page, in the same two columns as the week */
.up { margin-top: clamp(28px, 4vw, 52px); }
.up-h { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.1;
  color: var(--teal-bright); margin-bottom: 14px; }
.up-list { border-top: 3px solid var(--yellow); }
.up-ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px clamp(20px, 4vw, 56px); align-items: start;
  padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 3px solid var(--yellow); }
.up-date { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 3.3rem); line-height: 1; color: var(--yellow);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.up-img { width: min(100%, 250px); margin: 20px 0 6px 6px; border: 5px solid var(--yellow); border-radius: var(--r);
  background: var(--black); transform: rotate(-2deg); }
.up-title { margin: 0; font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.05rem); line-height: 1.15; }
.up-when { margin: 6px 0 0; color: var(--teal-bright); font-weight: 800; font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.3;
  font-variant-numeric: tabular-nums; }
.up-blurb { margin: 10px 0 0; max-width: 44ch; font-weight: 600; }
.up-src { margin: 12px 0 0; font-weight: 800; }
.up-h-week { margin: clamp(30px, 4vw, 52px) 0 0; }
.up + .week { margin-top: 14px; }

/* party */
.party-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.party .lede { max-width: 38ch; margin: 0; }

/* footer */
.foot { background: var(--black); color: var(--white); padding-block: clamp(48px, 6vw, 80px); border-top: 3px solid var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px clamp(24px, 4vw, 56px); }
.foot .shield { width: 64px; height: 64px; }
.foot .shield-plate { fill: var(--yellow); stroke: var(--yellow); }
.foot-name { font-family: var(--display); font-size: 1.5rem; line-height: 1.05; margin: 14px 0 4px; color: var(--yellow); }
.foot-tag { margin: 0; }
.foot-h { font-family: var(--text); font-weight: 800; font-size: 1.05rem; color: var(--yellow); margin-bottom: 10px; }
.foot p { margin-bottom: .8em; line-height: 1.6; }
.foot a:hover { color: var(--yellow); }

/* inner page heads */
.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head .lede { margin: 1.3rem 0 0; max-width: 40ch; }
.page-head .body { margin: 1.1rem 0 0; }

/* menu page */
.menu-band { padding-top: 0; }
.menu-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.jump { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--black); }
.jump-link { font-weight: 800; text-decoration: none; padding: 9px 14px 7px; }
.jump-link:hover { background: var(--black); color: var(--yellow); }
.menu-sec + .menu-sec { margin-top: clamp(48px, 6vw, 84px); }
.menu-sec-head { border-bottom: 5px solid var(--black); padding-bottom: 12px; margin-bottom: 22px; }
.menu-intro { margin: 10px 0 0; font-weight: 600; }
.items { columns: 2; column-gap: clamp(28px, 4vw, 60px); }
.item { break-inside: avoid; padding-bottom: 20px; }
.item .row-name { font-size: 1.16rem; }
.item .row-price { font-size: 1.1rem; }
.item-desc { margin: 2px 0 0; max-width: 40ch; line-height: 1.4; }
.item-note { margin: 4px 0 0; font-weight: 800; font-size: 1rem; }
.extras { display: grid; gap: 18px; margin-top: 6px; padding: 22px 24px; background: var(--black); color: var(--white); border-radius: var(--r); }
.extras-h { font-family: var(--text); font-weight: 800; font-size: 1.05rem; color: var(--yellow); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 5px 13px 3px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.strip { padding-block: clamp(28px, 4vw, 44px); }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.strip-text { margin: 0; font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }

/* happy hour page */
.hh-head { padding-bottom: clamp(48px, 6vw, 88px); }
.hh-head .h1 { font-size: clamp(3.4rem, 12vw, 10rem); }
.hh-when { font-family: var(--display); font-size: clamp(1.7rem, 4.6vw, 3.6rem); line-height: 1.05; margin: 1.2rem 0 0; }
.deals-big { max-width: 880px; }
.deals-big .deal-price { font-size: clamp(3.6rem, 10vw, 8rem); }
.deals-big .deal-what { font-size: clamp(1.15rem, 2.2vw, 1.7rem); }
.hh-deals { padding-block: clamp(56px, 7vw, 96px); }
.findus-night { background: var(--black); color: var(--white); }
.findus-night .h2 { color: var(--yellow); }
.findus-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.findus-facts p { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 2px solid currentColor; font-weight: 600; }
.fact-k { font-weight: 800; }

/* about + contact */
.about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.snap-tall { width: min(100%, 384px); aspect-ratio: 3 / 4; transform: rotate(2.5deg); margin-inline: auto; }
.snaps-about { padding-top: 12px; }
.snap-contact { margin: 2.4rem 0 0; width: 250px; transform: rotate(-3deg); }
.contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.form { background: var(--white); border: 5px solid var(--black); border-radius: 26px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.opt { font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--black); background: var(--white);
  border: 3px solid var(--black); border-radius: 12px; padding: 12px 14px 10px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 4px solid var(--teal); outline-offset: 2px; }
.hint { margin: 6px 0 0; font-size: 1rem; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 1rem; }
.form-note.is-ok { font-weight: 800; padding: 12px 14px 10px; border-radius: 12px; background: var(--teal); color: var(--white); }
.form-note.is-bad { font-weight: 800; padding: 12px 14px 10px; border-radius: 12px; background: var(--black); color: var(--yellow); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* small screens */
@media (max-width: 900px) {
  .hero-grid, .happy-grid, .food-head, .night-grid, .night-top, .party-grid, .about-grid, .contact-grid, .findus-grid { grid-template-columns: minmax(0, 1fr); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .snaps { margin: 8px 4% 9% 8%; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .jump { position: sticky; top: 0; flex-direction: row; overflow-x: auto; border-left: 0; background: var(--yellow);
    border-bottom: 3px solid var(--black); margin-inline: calc(var(--pad) * -1); padding-inline: calc(var(--pad) - 12px); z-index: 5; }
  .jump-link { white-space: nowrap; padding: 13px 12px 11px; }
  .top { position: static; }
  html { scroll-padding-top: 64px; }
  .snap-contact { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1.0625rem; }
  .shield { width: 40px; height: 40px; }
  .top-row { padding-block: 10px 2px; gap: 2px 12px; }
  .brand { gap: 10px; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0; margin-inline: -7px; width: calc(100% + 14px); }
  .nav-link { padding: 12px 7px 10px; font-size: .97rem; white-space: nowrap; }
  .nav-cta { margin: 0; padding: 12px 7px 10px; min-height: 0; font-size: .97rem; white-space: nowrap; background: none; border: 0; border-radius: 10px;
    color: var(--black); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--teal); text-underline-offset: .28em; }
  .nav-cta:hover { transform: none; }
  .board { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .day, .up-ev { grid-template-columns: minmax(0, 1fr); }
  .up-img { width: min(78%, 250px); margin: 16px 0 8px 4px; }
  .items { columns: 1; }
  .deals { gap: 12px; }
  .deal { border-width: 4px; padding: 18px 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .field-pair { grid-template-columns: 1fr; }
  .btn { padding-inline: 20px; }
  .findus-facts p { grid-template-columns: 4.2rem 1fr; }
}
@media (max-width: 380px) {
  .nav-link, .nav-cta { font-size: .88rem; padding-inline: 5px; }
  .nav { margin-inline: -5px; width: calc(100% + 10px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
