/* =========================================================
   SHH. LISTENING BAR — Stylesheet
   Sections:  1. Tokens   2. Reset   3. Layout
              4. Nav      5. Hero    6. About
              7. Menu     8. Find    9. Footer
              10. Responsive
   ========================================================= */


/* ============ 1. DESIGN TOKENS ============ */
:root {
  --app-height: 100vh;
  --hero-mobile-extra: 2.5rem;
  /* Brand palette — drawn from logoexample.jpg */
  --paper:        #F1E6CB;
  --paper-warm:   #E9DAB5;
  --paper-deep:   #DCC793;
  --red:          #D6392E;
  --teal:         #3F8C9C;
  --burgundy:     #5E2828;
  --ink:          #1B1413;
  --ink-soft:     #5A4A45;
  --ink-mute:     #897670;

  /* Type */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body:    'Newsreader', Georgia, serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max:       1340px;
  --gutter:    clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 12vw, 160px);
  --nav-h:     72px;
}


/* ============ 2. RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

em { font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }

::selection { background: var(--red); color: var(--paper); }

body.no-scroll { overflow: hidden; }


/* ============ 3. LAYOUT HELPERS ============ */
.section__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}


/* ============ 4. NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(241, 230, 203, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(27, 20, 19, 0.08);
  height: var(--nav-h);
  transition: transform 0.4s ease;
}

.nav__inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav__links a {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "SOFT" 70, "opsz" 14;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}

.nav__links a:hover { color: var(--red); }
.nav__links a:hover::after { width: 100%; }

/* Burger */
.nav__burger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__close { display: none; }


/* ============ 5. HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--nav-h) var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

/* Hero corner ring decorations */
.hero__rings {
  position: absolute;
  width: clamp(420px, 46vw, 620px);
  height: auto;
  pointer-events: none;
  max-width: none;
}
.hero__rings--tr {
  top: 24px;
  right: 0;
  transform: translateX(50%);
}
.hero__rings--bl {
  bottom: 24px;
  left: 0;
  transform: translateX(-50%);
}
html.js .hero img {
  opacity: 0;
  transition: opacity 0.5s ease;
}
html.js .hero.is-ready img {
  opacity: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 720px;
  animation: heroFadeIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__logo {
  width: clamp(260px, 50vw, 520px);
  height: auto;
}

.hero__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -10px;
}

.hero__plus {
  color: var(--red);
  font-style: normal;
  font-weight: 500;
  font-size: 1.1em;
  display: inline-block;
  transform: translateY(-2px);
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(28px, 5vh, 48px);
  left: 0;
  right: 0;
  margin-inline: auto;
  transform: translateY(0);
  z-index: 3;
  width: 80px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: heroFadeIn 1.6s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition: transform 0.3s ease;
}
.hero__scroll:hover { transform: translateY(-3px); }

.hero__scroll-svg {
  width: 80px;
  height: 80px;
  overflow: visible;
}
.hero__scroll-dot {
  fill: var(--red);
}
.hero__scroll-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  transform-origin: 40px 40px;
  opacity: 0;
  animation: ringPulse 3s ease-out infinite;
}
.hero__scroll-ring:nth-child(2) { animation-delay: 0s; }
.hero__scroll-ring:nth-child(3) { animation-delay: 0.6s; }
.hero__scroll-ring:nth-child(4) { animation-delay: 1.2s; }
.hero__scroll-ring:nth-child(5) { animation-delay: 1.8s; }

@keyframes ringPulse {
  0%   { opacity: 0;    transform: scale(0.5); }
  20%  { opacity: 0.9; }
  100% { opacity: 0;    transform: scale(1.15); }
}

.hero__scroll-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: -2px;
}


/* ============ 6. ABOUT ============ */
.about {
  padding: var(--section-y) 0;
  background: var(--paper);
  position: relative;
}

.about__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about__title {
  font-size: clamp(44px, 7vw, 88px);
  margin-bottom: 32px;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 400;
}
.about__title em {
  color: var(--red);
}

.about__lead {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
  color: var(--burgundy);
  margin-bottom: 28px;
  max-width: 32ch;
  font-variation-settings: "SOFT" 80, "opsz" 30;
}

.about__text p:not(.about__lead) {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--ink-soft);
  max-width: 44ch;
}

.about__image {
  overflow: hidden;
  position: relative;
  background: var(--paper-warm);
  border-radius: 2px;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.about__image:hover img { transform: scale(1.03); }

.about__image--main {
  aspect-ratio: 4 / 3;
}

.about__sub {
  max-width: var(--max);
  margin: clamp(40px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.about__sub .about__image { aspect-ratio: 16 / 10; }
.about__sub .about__image:last-child { aspect-ratio: 4 / 5; }


/* ============ 7. MENU ============ */
.menu {
  padding: var(--section-y) 0;
  background: var(--paper-warm);
  position: relative;
}

.menu__title {
  font-size: clamp(44px, 7vw, 88px);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.menu__title em {
  color: var(--teal);
}

.menu__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.menu__col {
  display: flex;
  flex-direction: column;
}

/* Category headers */
.menu__cat {
  font-size: clamp(28px, 2.6vw, 36px);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.menu__cat em { color: var(--red); }
.menu__cat--top {
  margin-top: 56px;
}
.menu__cat-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
  vertical-align: 4px;
}

/* Items */
.item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(27, 20, 19, 0.12);
  transition: padding 0.3s ease;
}
.menu__cat + .item,
.menu__cat-sub + .item { border-top: 1px solid rgba(27, 20, 19, 0.18); }

.item:hover .item__name { color: var(--red); }

.item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
}

.item__name {
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "opsz" 30, "wght" 500;
  line-height: 1.2;
  flex: 1;
  transition: color 0.25s ease;
}

.item__price {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.item__region {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--burgundy);
  font-variation-settings: "SOFT" 80, "opsz" 14;
  margin-bottom: 6px;
}

.item__notes {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* Feature blocks */
.feature {
  margin-top: 56px;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid rgba(27, 20, 19, 0.1);
}
.feature .menu__cat--top { margin-top: 0; }
.feature .menu__cat { margin-bottom: 14px; }

.feature__text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 80, "opsz" 14;
}
.feature__text span {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-left: 4px;
}
.feature__price {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--red);
  margin-top: 8px;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 500;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.feature__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px dotted rgba(27, 20, 19, 0.18);
}
.feature__list li span:first-child {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  font-variation-settings: "SOFT" 60, "opsz" 14;
}
.feature__list li span:last-child {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
}
.feature__note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Vinyl sigil */
.menu__sigil {
  margin-top: 48px;
  width: 64px;
  color: var(--ink);
  opacity: 0.7;
}
.menu__sigil svg { width: 100%; height: auto; }

.menu__motto {
  margin-top: 16px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 100, "opsz" 14;
}
.menu__small {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.6;
}


/* ============ 8. FIND US ============ */
.find {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.6);
  background: var(--paper);
}

.find__title {
  font-size: clamp(44px, 7vw, 88px);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.find__title em {
  color: var(--burgundy);
}

.find__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.find__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.find__block {
  border-top: 1px solid rgba(27, 20, 19, 0.18);
  padding-top: 22px;
}

.find__h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 14px;
}

.find__big {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "opsz" 30;
}

/* Hours */
.hours {
  display: flex;
  flex-direction: column;
}
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(27, 20, 19, 0.16);
  font-family: var(--f-display);
  font-size: 17px;
  font-variation-settings: "SOFT" 50, "opsz" 14;
}
.hours li span:first-child {
  font-style: italic;
  color: var(--ink);
}
.hours li span:last-child {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hours__closed { color: var(--ink-mute) !important; font-style: italic; }

/* Social */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: all 0.3s ease;
}
.social:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

/* Map */
.find__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(27, 20, 19, 0.18);
  background: var(--paper-warm);
  filter: saturate(0.6) contrast(1.05);
  transition: filter 0.4s ease;
}
.find__map:hover { filter: saturate(1) contrast(1); }
.find__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ============ 9. FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 0;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-deep);
}
.footer__motto {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--paper);
  letter-spacing: 0.05em;
  font-size: 18px;
  font-variation-settings: "SOFT" 100, "opsz" 14;
}


/* ============ 10. RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
  .menu__grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu__col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
  .menu__col:last-child > .item:nth-child(-n+2) { grid-column: 1 / -1; }
  .menu__col:last-child > .feature { margin-top: 24px; }
  .menu__col:last-child > .menu__sigil,
  .menu__col:last-child > .menu__motto,
  .menu__col:last-child > .menu__small {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  body { font-size: 16px; }

  /* NAV — mobile drawer */
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: var(--app-height);
    width: 100vw;
    padding: calc(var(--nav-h) + 28px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    z-index: 320;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    width: min(320px, 100%);
    text-align: center;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.15;
    padding: 10px 12px;
    font-style: italic;
  }
  .nav__links a::after { display: none; }

  .nav__close {
    display: flex;
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: var(--gutter);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    z-index: 2;
  }
  .nav__close svg { width: 28px; height: 28px; }
  body.menu-open .nav { transform: translateY(0) !important; }

  /* Burger animation when open */
  body.menu-open .nav__burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  body.menu-open .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .nav__burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero__rings {
    width: clamp(220px, 46vw, 300px);
  }
  .hero__rings--tr {
    top: -18px;
    transform: translateX(60%);
  }
  .hero__rings--bl {
    bottom: 0;
    transform: translateX(-60%);
  }
  .hero {
    min-height: calc(var(--app-height) + var(--hero-mobile-extra));
  }

  .hero__tagline {
    font-size: 18px;
    gap: 10px;
  }

  /* ABOUT */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__image {
    border: 1px solid rgba(27, 20, 19, 0.18);
    border-radius: 2px;
  }
  .about__sub {
    grid-template-columns: 1fr;
  }
  .about__sub .about__image:last-child {
    display: none;
  }
  .about__sub .about__image:first-child {
    aspect-ratio: auto;
  }
  .about__sub .about__image:first-child img {
    height: auto;
    object-fit: contain;
  }

  /* MENU */
  .menu__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .menu__col:last-child {
    grid-template-columns: 1fr;
  }

  /* FIND */
  .find__grid {
    grid-template-columns: 1fr;
  }
  .find__map { aspect-ratio: 1 / 1; }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px) + 2.75rem);
  }
}

@media (max-width: 480px) {
  .hero__logo {
    width: clamp(220px, 80vw, 360px);
  }
  .feature {
    padding: 22px 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
