/* Le Moana · Te Honu · tiki view-bar skin, mobile-first, BNT hero pattern, lagoon-dusk + sunset palette */

:root {
  --ink:    #15161B;
  --ink-2:  #0f1015;
  --dusk:   #2B3D5C;   /* twilight sky */
  --amber:  #E69449;   /* sunset horizon */
  --coral:  #D85C7C;   /* hibiscus cocktail */
  --wood:   #8B5A2B;   /* tiki carving */
  --sand:   #E8DCC2;   /* stone tile + cream surfaces */
  --cream:  #f4ead5;
  --muted:  rgba(244,234,213,.65);
  --rule:   rgba(244,234,213,.16);

  --display: "Fraunces", ui-serif, Georgia, serif;
  --body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: clamp(1rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--body); font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--amber); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 1rem;
}

/* Tiki totem ornament SVG (inline as ::before background) */
.orn {
  display: inline-block; width: 10px; height: 18px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 18'%3E%3Cpath d='M2 0h6v2h-1l.6 2-2.6.8-2.6-.8L3 2H2zm0 5h6v2l-1.6.8v2.4H3.6V7.8L2 7zm-.5 6h7v.9l-2.5.8v4.3H3v-4.3l-1.5-.8z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 18'%3E%3Cpath d='M2 0h6v2h-1l.6 2-2.6.8-2.6-.8L3 2H2zm0 5h6v2l-1.6.8v2.4H3.6V7.8L2 7zm-.5 6h7v.9l-2.5.8v4.3H3v-4.3l-1.5-.8z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}
.orn--big { width: 14px; height: 26px; color: var(--amber); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--container);
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__mark { display: inline-flex; align-items: center; }
.nav__mark img { display: block; height: 36px; width: 36px; object-fit: contain; border-radius: 50%; }
.nav__links { display: none; gap: 1.5rem; }
.nav__links a { font-size: .95rem; font-weight: 500; }
.nav__cta { font-size: .85rem; font-weight: 600; padding: .45rem .85rem; border: 1px solid var(--cream); border-radius: 999px; }
.nav__cta:hover { background: var(--cream); color: var(--ink); }
@media (min-width: 820px) { .nav__links { display: flex; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.78) saturate(1.05);
  opacity: 0; transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide:not(.is-active) { display: none; }
}

/* Mesh gradient signature · animated sunset shimmer over hero */
.hero__mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(ellipse at 18% 28%, var(--coral) 0%, transparent 40%),
    radial-gradient(ellipse at 78% 52%, var(--amber) 0%, transparent 45%),
    radial-gradient(ellipse at 52% 96%, var(--dusk) 0%, transparent 55%);
  mix-blend-mode: overlay;
  opacity: .55;
  animation: mesh-drift 16s cubic-bezier(.4,0,.6,1) infinite alternate;
  will-change: transform;
}
@keyframes mesh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero__mesh { animation: none; } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(0,0,0,.78), transparent 65%),
    linear-gradient(180deg, rgba(21,22,27,.28) 0%, rgba(21,22,27,.12) 40%, rgba(21,22,27,.82) 100%);
}
.hero__inner {
  width: 100%; max-width: 92vw;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center; padding: 1.5rem;
}
.hero__kicker {
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--cream);
  opacity: .92; margin: 0;
}
.hero__title {
  font-size: clamp(3.5rem, 16vw, 7rem);
  line-height: .95; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
  margin: 0; display: flex; flex-direction: column; align-items: center;
}
.hero__alt {
  font-family: var(--body); font-size: clamp(.75rem, 2.2vw, .95rem);
  font-weight: 500; letter-spacing: .35em; text-transform: uppercase;
  color: var(--amber); margin-top: .65rem; opacity: .88;
}
.hero__tagline {
  font-size: clamp(.95rem, 3.5vw, 1.15rem);
  letter-spacing: .05em; color: var(--cream); margin: .35rem 0 .5rem;
}
.hero__cta {
  display: flex; flex-direction: column; gap: .55rem;
  width: 100%; max-width: 22rem;
}
@media (min-width: 820px) {
  .hero__inner { max-width: 60ch; padding: 3rem; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; max-width: none; width: auto; justify-content: center; }
}

/* ---------- BUTTONS (BNT pill recipe, Le Moana palette) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem;
  font-family: var(--body); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  min-height: 44px;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--cream); color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(244,234,213,.55);
}
.btn--primary:hover { background: var(--sand); color: var(--ink); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border-color: rgba(244,234,213,.55);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--accent {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(230,148,73,.65);
}
.btn--accent:hover { filter: brightness(1.05); color: var(--ink); }
@media (min-width: 820px) { .btn { font-size: .88rem; padding: .9rem 1.7rem; } }

/* ---------- SECTION COMMONS ---------- */
section { padding: 5.5rem var(--container); position: relative; }
section h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1.5rem; max-width: 22ch; }
section p { font-size: clamp(1rem, 2.5vw, 1.1rem); max-width: 60ch; }

/* ---------- ABOUT (variant D · full-bleed photo overlay) ---------- */
.about { isolation: isolate; padding-block: 7rem; }
.about__bg { position: absolute; inset: 0; z-index: -2; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(1.05); }
.about__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,16,21,.7), rgba(15,16,21,.92)); }
.about__inner { max-width: 60ch; margin-inline: auto; }
.about__inner h2 { color: var(--cream); }
.about__inner p { color: var(--cream); opacity: .92; }

/* ---------- ORNAMENT DIVIDER ---------- */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 2.5rem var(--container);
  background: var(--ink-2);
}
.divider__rule { display: block; flex: 1; max-width: 8rem; height: 1px; background: var(--rule); }

/* ---------- MENU ---------- */
.menu { background: var(--ink-2); }
.menu__head { max-width: 60ch; margin-bottom: 2.5rem; }
.menu__lede { color: var(--muted); }
.menu__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.card {
  position: relative; display: block; width: 100%; text-align: left;
  font: inherit; color: inherit; cursor: zoom-in; padding: 0;
  background: rgba(244,234,213,.05);
  border: 1px solid var(--rule); border-radius: 4px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(244,234,213,.4); }
.card:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.card:hover img { transform: scale(1.04); filter: saturate(1.12); }
.card__num {
  position: absolute; top: .8rem; right: 1rem; z-index: 1;
  font-family: var(--display); font-size: 1.4rem; font-weight: 700;
  color: var(--cream); opacity: .55;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  font-variation-settings: "opsz" 144;
  pointer-events: none; font-variant-numeric: tabular-nums;
}
.card__body { padding: 1.1rem 1.25rem 1.4rem; }
.card__tag {
  display: inline-block; font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: .5rem;
}
.card h3 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 .35rem; color: var(--cream); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.menu__note { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; font-style: italic; }
@media (min-width: 700px) { .menu__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .menu__grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(0, auto); }
  .card--feature { grid-row: span 2; }
  .card--feature img { aspect-ratio: 4/5; }
}

/* ---------- BAR STRIP (drinks editorial, NOT menu cards) ---------- */
.bar { background: var(--ink); }
.bar__lede { color: var(--muted); margin-bottom: 2rem; }
.bar__strip {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
.bar__tile {
  position: relative; display: block; width: 100%; padding: 0;
  background: transparent; border: 0; cursor: zoom-in;
  font: inherit; color: inherit;
  overflow: hidden; border-radius: 4px;
  transition: transform .25s ease;
}
.bar__tile:hover { transform: translateY(-3px); }
.bar__tile:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.bar__tile img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.bar__tile:hover img { transform: scale(1.04); filter: saturate(1.12); }
.bar__caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.005em;
  pointer-events: none;
}
@media (min-width: 700px) { .bar__strip { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- HOURS ---------- */
.hours { background: var(--ink); }
.hours__table {
  width: 100%; max-width: 36rem; margin-top: 1.25rem;
  border-collapse: collapse; font-variant-numeric: tabular-nums;
}
.hours__table th, .hours__table td {
  padding: .9rem 0; border-bottom: 1px solid var(--rule); text-align: left;
}
.hours__table th { font-family: var(--body); font-weight: 500; color: var(--cream); }
.hours__table td { color: var(--muted); }

/* ---------- FIND ---------- */
.find { isolation: isolate; padding-block: 7rem; }
.find__bg { position: absolute; inset: 0; z-index: -2; }
.find__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.32) saturate(.95); }
.find__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,16,21,.7), rgba(15,16,21,.92)); }
.find__grid {
  display: grid; gap: 2rem; margin-top: 2rem;
  grid-template-columns: 1fr;
}
.find__map iframe {
  display: block; width: 100%; height: 320px;
  border: 1px solid var(--rule); border-radius: 4px;
  filter: grayscale(.15) contrast(1.05);
}
.find__contact p { font-size: .95rem; }
.find__contact strong { font-family: var(--display); color: var(--cream); display: inline-block; margin-bottom: .15rem; font-size: 1rem; }
.find__contact a { color: var(--cream); border-bottom: 1px solid rgba(244,234,213,.4); }
.find__socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.find__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule); border-radius: 999px;
  color: var(--cream);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.find__socials a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@media (min-width: 880px) { .find__grid { grid-template-columns: 2fr 1fr; align-items: start; } .find__map iframe { height: 420px; } }

/* ---------- FOOTER ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem;
  padding: 3rem var(--container) 2rem;
  background: var(--ink-2);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.footer .orn--big { margin-bottom: .35rem; }
.footer__logo { display: block; height: 72px; width: 72px; object-fit: contain; border-radius: 50%; margin: 0 0 .6rem; }
.footer__line { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; letter-spacing: .04em; }
.footer__credit { color: var(--muted); font-size: .8rem; margin: 0; }
.footer__credit a { color: var(--cream); border-bottom: 1px solid var(--rule); }

/* ---------- REVEAL ON SCROLL ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .95s cubic-bezier(.16,.84,.32,1), transform .95s cubic-bezier(.16,.84,.32,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- LIGHTBOX ---------- */
.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; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,4,8,.95);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.lightbox__stage { position: relative; width: 100%; max-width: 1100px; height: 100%; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 18px 60px rgba(0,0,0,.55); background: var(--ink); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; -webkit-appearance: none; appearance: none;
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(244,234,213,.25);
  background: rgba(21,22,27,.85);
  color: var(--cream); font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
  z-index: 2; font-family: inherit;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(230,148,73,.2); border-color: rgba(230,148,73,.5); color: var(--cream); }
.lightbox__close:active, .lightbox__prev:active, .lightbox__next:active { transform: scale(.94); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: clamp(.75rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.75rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:active { transform: translateY(-50%) scale(.94); }
.lightbox__next:active { transform: translateY(-50%) scale(.94); }
.lightbox__info {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: rgba(244,234,213,.95); color: var(--ink);
  padding: .45rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 500;
  letter-spacing: .04em; display: flex; gap: .6rem; align-items: center; white-space: nowrap;
}
.lightbox__counter { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .lightbox__close { top: .75rem; right: .75rem; width: 42px; height: 42px; }
  .lightbox__prev { left: .5rem; } .lightbox__next { right: .5rem; }
  .lightbox__info { bottom: .75rem; font-size: .72rem; }
}
body.lightbox-open { overflow: hidden; }

/* ---------- ACCESS ---------- */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
