/* ---------- Tokens ---------- */
:root {
  /* K Park Bar brand palette — black background per client */
  --charcoal: #0a0a0a;      /* True black — primary bg */
  --charcoal-deep: #000000;  /* Pure black for layering */
  --charcoal-soft: #161616;  /* Lighter black for cards */
  --taupe: #a98f6d;          /* Light Taupe — primary accent */
  --taupe-2: #c4a880;        /* Brighter taupe for hovers */
  --cream: #eae3d9;          /* White Chocolate — text/highlights */
  --cream-mute: #b8b0a3;     /* Muted cream */
  --line: rgba(234,227,217,0.08);

  /* Back-compat aliases (kept so existing selectors don't break) */
  --black: var(--charcoal);
  --black-2: var(--charcoal-deep);
  --ink: var(--charcoal-soft);
  --gold: var(--taupe);
  --gold-2: var(--taupe-2);
  --silver: var(--cream);
  --mute: var(--cream-mute);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --display: "Bebas Neue", "Inter", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-2); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,0));
  transition: background .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .85rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: baseline; gap: .55rem; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: .04em;
  font-weight: 600;
}
.brand-mark-img {
  height: 44px;
  width: auto;
  display: block;
  transition: height .35s var(--ease), filter .35s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.nav.scrolled .brand-mark-img { height: 36px; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--silver);
  letter-spacing: .25em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-link {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: .25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold-2); }

.nav-toggle { display:none; background:none; border:0; cursor:pointer; flex-direction:column; gap:5px; }
.nav-toggle span { width: 22px; height: 1px; background: var(--silver); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 7rem 2.5rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.7) saturate(.9) contrast(1.02);
  opacity: 0;
  transition: opacity .6s linear;
}
.bg-video.bg-video-on { opacity: 1; }
.video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 90%),
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.5) 80%, rgba(0,0,0,1) 100%);
}
/* If video missing, show black bg with logo poster */
.video-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--charcoal-soft) 0%, var(--charcoal-deep) 70%);
  z-index: -1;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  transform: translateY(var(--hero-shift, 0px));
  transition: transform .1s linear;
}
.hero-logo {
  width: min(560px, 78vw);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.6));
  animation: rise 1.4s var(--ease) both;
}
.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--silver);
  letter-spacing: .15em;
  margin-bottom: 2.25rem;
  animation: rise 1.6s .2s var(--ease) both;
}
.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: rise 1.8s .4s var(--ease) both;
}
.btn {
  display: inline-block;
  padding: .95rem 2.1rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--taupe), var(--taupe-2));
  color: var(--charcoal-deep);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(234,227,217,.15);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(169,143,109,.3); color: var(--charcoal-deep); }
.btn-ghost {
  border-color: rgba(234,227,217,.35);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--taupe); color: var(--taupe-2); }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  color: var(--mute);
  font-size: .65rem;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: drop 2s infinite var(--ease);
}

/* ---------- Strip ---------- */
.strip {
  background:
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 50%, var(--charcoal) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.strip-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--silver);
  margin-bottom: 1.5rem;
}
.strip-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.strip-body {
  font-size: 1.05rem;
  color: var(--mute);
  max-width: 640px; margin: 0 auto;
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 4rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.section-head h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--silver);
  letter-spacing: .02em;
}

/* ---------- Menu ---------- */
.menu { background: var(--charcoal); }
.menu-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.menu-col { }
.menu-cat {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.menu-list { list-style: none; }
.menu-list li { margin-bottom: 1.25rem; }
.row {
  display: flex; align-items: baseline;
  gap: .75rem;
}
.row .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--silver);
  white-space: nowrap;
}
.row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(216,216,216,.2);
  transform: translateY(-4px);
}
.row .price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
}
.menu-list .desc {
  font-size: .85rem;
  color: var(--mute);
  margin-top: .35rem;
  letter-spacing: .02em;
}
.happy-hour {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-top: 1rem;
}
.hh-line {
  font-size: .78rem;
  color: var(--mute);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hh-line span { color: var(--gold); font-weight: 500; }
.sub-cat {
  font-family: var(--serif);
  font-style: italic;
  color: var(--silver);
  font-size: 1.05rem;
  margin-bottom: .65rem;
  letter-spacing: .05em;
}
.menu-list.compact li { margin-bottom: .65rem; }
.menu-list.compact .row .name { font-size: 1rem; }
.menu-list.compact .desc { font-size: .78rem; margin-top: .1rem; font-style: italic; }
.menu-list.two-col {
  columns: 2;
  column-gap: 1.5rem;
}
.menu-list.two-col li { break-inside: avoid; }
@media (max-width: 900px) {
  .menu-list.two-col { columns: 1; }
}

/* ---------- Instagram (Behold) ---------- */
.ig-behold-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 .25rem;
}
.ig-behold-wrap behold-widget {
  display: block;
  width: 100%;
  /* Behold default backgrounds are light; tint container to fit theme */
}
/* When Behold renders its grid, give individual tiles a brand-toned border */
.ig-behold-wrap behold-widget a,
.ig-behold-wrap behold-widget img {
  border-radius: 0 !important;
}

/* ---------- Legacy Instagram Slider (unused, retained for reference) ---------- */
.ig-feed {
  background:
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 50%, var(--charcoal) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ig-slider {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}
.ig-track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.ig-slide {
  min-width: 100%;
  padding: 0 .25rem;
}
.ig-slide .instagram-media {
  margin: 0 auto !important;
  min-width: unset !important;
  max-width: 100% !important;
  background: var(--charcoal-deep) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
}
.ig-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all .25s var(--ease);
}
.ig-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(10,10,10,.9);
}
.ig-prev { left: -22px; }
.ig-next { right: -22px; }
.ig-dots {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.5rem;
}
.ig-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(216,216,216,.2);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.ig-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
.ig-follow {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .15em;
}
.ig-follow a { color: var(--gold); }
.ig-follow a:hover { color: var(--gold-2); }

@media (max-width: 700px) {
  .ig-prev { left: 4px; }
  .ig-next { right: 4px; }
}

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  border-top: 1px solid var(--line);
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-left h2,
.contact-right h2 { margin-bottom: 2rem; }
.contact-line {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--silver);
}
.contact-line strong {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .1em;
  margin-bottom: .35rem;
}
.socials { display: flex; flex-direction: column; gap: 1.1rem; }
.social {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  color: var(--silver);
  letter-spacing: .15em;
  font-size: .85rem;
  transition: all .3s var(--ease);
}
.social:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateX(6px);
}
.social svg { color: var(--gold); flex-shrink: 0; }
.social-note {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--mute);
  font-size: .95rem;
  letter-spacing: .05em;
}

/* ---------- Arrival POV video + photo ---------- */
.arrival-wrap {
  max-width: var(--max);
  margin: 5rem auto 0;
}
.arrival-head { text-align: center; margin-bottom: 3rem; }
.arrival-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.arrival-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--silver);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.arrival-head p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mute);
  font-size: 1.05rem;
}
.arrival-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.arrival-photo,
.arrival-video {
  position: relative;
  width: 280px;
  aspect-ratio: 9/16;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(169,143,109,.15);
}
.arrival-photo::before,
.arrival-video::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04), inset 0 0 80px rgba(0,0,0,.5);
  border-radius: inherit;
  z-index: 2;
}
.arrival-photo img,
.arrival-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Crossfade slideshow */
.arrival-slideshow { position: relative; }
.arrival-slideshow img {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.arrival-slideshow img.on { opacity: 1; }
@media (max-width: 800px) {
  .arrival-photo, .arrival-video { width: min(240px, 70vw); }
}

/* ---------- Map ---------- */
.map-wrap {
  max-width: var(--max);
  margin: 5rem auto 0;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.6) contrast(1.05) brightness(.85);
  transition: filter .5s var(--ease);
}
.map-wrap:hover iframe { filter: grayscale(0) contrast(1) brightness(1); }
.map-cta {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--charcoal-deep);
  padding: .85rem 1.5rem;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .25s var(--ease);
}
.map-cta:hover { transform: translateY(-2px); color: var(--charcoal-deep); }
@media (max-width: 700px) {
  .map-wrap iframe { height: 320px; }
  .map-cta { right: .75rem; bottom: .75rem; padding: .7rem 1.1rem; font-size: .65rem; }
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 6rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--silver);
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.footer-mark .dot { color: var(--gold); margin: 0 .5rem; }
.copy { font-size: .75rem; color: var(--mute); letter-spacing: .15em; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8,8,8,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .section { padding: 5rem 1.25rem; }
  .menu-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .brand-text { display: none; }
}
