/* North By Northeast Liquor — draft preview styles.
   Black, gold, Montserrat. Mobile first. */

:root {
  --bg: #000000;
  --ink: #ffffff;
  --gold: #f5c518;
  --line: rgba(245, 197, 24, 0.45);
  --muted-line: rgba(255, 255, 255, 0.16);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.2rem, 8vw, 4.35rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #000;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: 0.98rem;
}

.brand img {
  width: 62px;
  height: 62px;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.nav-cta {
  flex: 0 0 auto;
  margin-left: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: var(--gold);
  color: #111;
  border: 1px solid var(--gold);
}

.nav a.nav-cta:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

/* Hero */

.hero {
  padding: 2.4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

.tagline {
  margin: 0 0 1rem;
  max-width: 22em;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
}

.lede {
  max-width: 38em;
  margin-bottom: 0;
}

.rule {
  width: 3.25rem;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--gold);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  flex: 1 1 12.5rem;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.btn-ghost {
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  background: var(--gold);
  color: #111;
}

.frame {
  margin: 0;
  border: 1px solid var(--gold);
  padding: 0.45rem;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.frame figcaption {
  margin: 0.55rem 0.15rem 0.1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sections */

.section {
  padding: 4rem 0;
  scroll-margin-top: 6.5rem;
}

.section + .section {
  border-top: 1px solid var(--muted-line);
}

.visit-grid {
  display: grid;
  gap: 2.25rem;
}

.address {
  font-style: normal;
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.address a,
.phone {
  color: #fff;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--gold);
}

.phone {
  display: inline-block;
  margin: 0 0 1.4rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hours {
  width: 100%;
  max-width: 26rem;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-align: left;
  vertical-align: baseline;
}

.hours th {
  font-weight: 700;
  padding-right: 1rem;
}

.hours-note {
  max-width: 26rem;
  margin: 0.9rem 0 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.hours td {
  text-align: right;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.map {
  border: 1px solid var(--line);
  background: #e6e2d8;
  min-height: 280px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
}

/* Shelf */

.shelf-lead {
  max-width: 700px;
  margin: 0.15rem 0 2.25rem;
  padding-left: 0.95rem;
  border-left: 2px solid var(--gold);
}

.shelf-lead p {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
}

.shelf-lead p:last-child {
  margin-bottom: 0;
}

.shelf {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1.25rem 0.85rem;
}

.shelf li {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--gold);
  padding: 0 0 0.2rem;
  background: #111;
}

.card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  margin: 0 0 0.95rem;
  flex: none;
}

.card-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  box-shadow: inset 0 0 0 1px #f5c518;
}

.card-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 11em;
  padding: 0.75rem;
  color: #f5c518;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

.shelf h3,
.shelf p {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.shelf h3 {
  min-height: 3.6rem;
  margin-bottom: 0.35rem;
}

.shelf p {
  flex: 1 1 auto;
  min-height: 17.25rem;
  margin: 0;
  padding-bottom: 1rem;
}

/* Tastings */

.tastings p,
.gift-lead {
  max-width: 38em;
}

.tastings .frame {
  margin: 0.2rem 0 1.15rem;
}

.tastings .frame + .btn {
  margin-bottom: 1.35rem;
}

.gift-lead {
  font-size: 1.15rem;
  font-weight: 600;
}

.lookup {
  margin: 0 0 2rem;
  border: 1px solid var(--gold);
  padding: 1.15rem 1.25rem 1.3rem;
  max-width: 38em;
}

.lookup-band {
  padding-top: 0;
}

.lookup-band .lookup {
  margin-bottom: 0;
}

.section.looking {
  padding: 2.25rem 0 2.75rem;
}

.looking h2 {
  max-width: 16em;
  color: var(--gold);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.looking p {
  max-width: 36em;
}

.looking .btn {
  flex: none;
}

.lookup-title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.store-number {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.selection-lead {
  max-width: 36em;
  margin-bottom: 1rem;
}

.handle {
  margin: 0.85rem 0 0;
  font-weight: 700;
}

/* Contact modal */

.contact {
  position: relative;
  width: min(28rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 1.35rem 1.2rem 1.35rem;
  border: 1px solid var(--gold);
  background: #000;
  color: #fff;
  overflow: auto;
}

.contact::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.contact h2 {
  margin: 0.15rem 2.75rem 1.1rem 0;
}

.contact-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-close:hover {
  background: var(--gold);
  color: #111;
}

.contact label {
  display: block;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact input,
.contact textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--gold);
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact .btn {
  flex: none;
  width: 100%;
  margin-top: 0.15rem;
}

.contact-alt {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--gold);
  padding: 3rem 0 3.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: 84px;
  height: 84px;
}

.footer-brand p {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: 1.25rem;
}

.footer-brand span {
  display: block;
  margin-top: 0.3rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 0.4rem;
}

.site-footer address a {
  color: #fff;
  font-weight: 600;
  text-decoration-color: var(--gold);
}

.olcc {
  margin: 0.9rem 0 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal {
  margin: 1.35rem 0 1.1rem;
  font-weight: 700;
}

.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0;
  margin: 0;
}

.footer-privacy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--gold);
  text-decoration: none;
}

.social a:hover {
  color: #fff;
}

.social svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.privacy-copy,
.doc-copy {
  max-width: 40rem;
}

.privacy h1,
.privacy h2,
.doc h1 {
  color: var(--gold);
}

.privacy h2 {
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .shelf {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .shelf h3 {
    min-height: 2.7rem;
  }

  .shelf p {
    min-height: 9.6rem;
  }
}

@media (min-width: 880px) {
  .brand {
    font-size: 1.05rem;
  }

  .brand img {
    width: 76px;
    height: 76px;
  }

  .hero {
    padding: 4.25rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: center;
  }

  .section {
    padding: 6rem 0;
  }

  .visit-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3.5rem;
    align-items: stretch;
  }

  .map,
  .map iframe {
    height: 100%;
    min-height: 440px;
  }

  .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 1040px) {
  .shelf {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem 1.15rem;
  }

  .shelf p {
    min-height: 13rem;
  }
}

.events-hero {
  padding-bottom: 1.5rem;
}

.upcoming.section {
  padding: 2.2rem 0 2.5rem;
}

.tasting-fallback {
  max-width: 38em;
  margin: 0.4rem 0 0;
}

.tasting-rows {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.tasting-rows li {
  display: grid;
  gap: 0.15rem 1.25rem;
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(245, 197, 24, 0.4);
}

.tasting-date,
.tasting-time,
.tasting-vendor {
  margin: 0;
}

.tasting-date {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tasting-time,
.tasting-vendor {
  color: #fff;
}

.tasting-vendor {
  font-weight: 600;
}

.next-up {
  max-width: 48rem;
  margin: 0.35rem 0 1.45rem;
}

.next-up h3 {
  margin-bottom: 0.2rem;
}

.next-up .tasting-rows li {
  padding: 0.65rem 0;
}

@media (min-width: 720px) {
  .tasting-rows li {
    grid-template-columns: 9.5rem 8.75rem minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (min-width: 880px) {
  .upcoming.section {
    padding: 2.75rem 0 3rem;
  }
}

.events-lead {
  max-width: 38em;
  margin-bottom: 1.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.events-hero .frame {
  margin: 0;
}

.gallery {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 1rem) / 2);
  justify-self: center;
}

.gallery figure {
  margin: 0;
  height: 100%;
}

.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.shot img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: relative;
  width: min(64rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0.7rem 0.7rem 0.85rem;
  border: 1px solid var(--gold);
  background: #000;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 8.5rem);
  object-fit: contain;
  background: #111;
}

.lightbox figcaption {
  margin: 0.7rem 0.2rem 0.15rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 880px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }

  .gallery li:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .gallery li:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}