/* Restaurant Océan, Faa'a · Chinese family dining hall
   Skin: dark warm base + Chinese red + warm gold + Cormorant Garamond + Inter Tight */

:root {
  --ink: #0F0808;
  --ink-2: #5C4640;
  --bg: #1A0E0A;
  --bg-alt: #261612;
  --paper: #F5EBD8;
  --paper-2: #E6D9BD;
  --accent: #C23B2D;
  --accent-deep: #8B2519;
  --accent-2: #D4A24C;
  --gold: #C99A1F;
  --rule: rgba(245, 235, 216, 0.14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 600ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-slow: 0ms; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.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; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--paper); padding: .75rem 1rem; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(26, 14, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.005em;
  line-height: 1;
}
.nav__links { display: none; gap: 1.75rem; }
.nav__links a {
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--paper-2);
  transition: color var(--motion-fast);
}
.nav__links a:hover { color: var(--accent-2); }
.nav__phone {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  background: var(--accent);
  color: var(--paper);
  padding: .55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--motion-fast);
}
.nav__phone:hover { background: var(--accent-deep); }
@media (min-width: 820px) { .nav__links { display: flex; } }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.15) contrast(1.05);
  animation: kenBurns 30s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.0) translateY(0); }
  to   { transform: scale(1.1) translateY(-14px); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 70% 35%, rgba(194, 59, 45, 0.18), transparent 55%),
    linear-gradient(to bottom, rgba(15, 8, 8, 0.40) 0%, rgba(15, 8, 8, 0.65) 60%, rgba(15, 8, 8, 0.88) 100%);
}
.hero__inner {
  width: 100%; max-width: 92vw;
  display: flex; flex-direction: column; gap: 1.15rem;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--paper);
}
.hero__kicker {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 7rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}
.hero__est {
  margin: .3rem 0 0;
  display: flex; align-items: center; gap: .9rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(245, 235, 216, 0.7);
}
.hero__est-rule {
  display: inline-block;
  width: 36px; height: 1px;
  background: rgba(212, 162, 76, 0.5);
}
.hero__tagline {
  margin: .4rem 0 0;
  font-size: clamp(.95rem, 3.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(245, 235, 216, 0.85);
  max-width: 36ch;
}
.hero__cta {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
  width: 100%; max-width: 22rem;
}

/* Buttons · BNT pill pattern */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: .82rem 1.35rem;
  font-size: .82rem;
  min-height: 44px;
  width: 100%;
  transition: transform var(--motion-fast) var(--ease-out), background var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast);
}
.btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(245, 235, 216, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--paper-2); }
.btn--accent {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 10px 24px -10px rgba(194, 59, 45, 0.65);
}
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(212, 162, 76, 0.55);
}
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn--big { padding: 1rem 1.7rem; font-size: .92rem; }

@media (min-width: 820px) {
  .hero__inner { max-width: 64ch; padding: 3rem; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; max-width: none; gap: .75rem; }
  .btn { width: auto; padding: .95rem 1.5rem; font-size: .88rem; }
  .btn--big { padding: 1.1rem 2rem; font-size: 1rem; }
}

/* MARQUEE */
.strip {
  background: var(--accent);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.strip__track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 1.1rem 0;
  white-space: nowrap;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: .12em;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.strip__track .sep { color: var(--accent-2); font-size: .85rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.section__head {
  max-width: 56ch;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.section__kicker {
  margin: 0 0 .7rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.section__title em {
  font-style: italic;
  color: var(--accent-2);
}
.section__lede {
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(245, 235, 216, 0.8);
  max-width: 48ch;
}

/* MEALS */
.meals { background: var(--bg); }
.menu__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: transform var(--motion-base) var(--ease-out), border-color var(--motion-base), box-shadow var(--motion-base);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 24px 40px -20px rgba(212, 162, 76, 0.25);
}
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  position: relative;
  padding: 1.4rem 1.5rem 1.6rem;
  color: var(--paper);
}
.card__num {
  position: absolute;
  top: -1.3rem; right: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
  background: var(--bg-alt);
  padding: 0 .35rem;
  letter-spacing: -0.02em;
}
.card__name {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.card__name em {
  font-style: italic;
  color: var(--accent-2);
}
.card__day {
  margin: 0;
  font-size: .92rem;
  color: rgba(245, 235, 216, 0.7);
  line-height: 1.5;
}
.card--featured { grid-column: span 1; }
@media (min-width: 900px) {
  .card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  .card--featured .card__name { font-size: 2.1rem; }
  .card--featured .card__media { aspect-ratio: 16 / 11; }
}

/* CARTE */
.carte { background: var(--bg-alt); }
.carte__gallery {
  max-width: 720px;
  margin: 0 auto;
}
.carte__card {
  display: block; width: 100%;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  font: inherit; color: inherit;
  cursor: zoom-in;
  transition: transform var(--motion-base) var(--ease-out), border-color var(--motion-base), box-shadow var(--motion-base);
}
.carte__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 24px 40px -20px rgba(212, 162, 76, 0.25);
}
.carte__cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.carte__cover img { width: 100%; height: 100%; object-fit: cover; }
.carte__caption {
  margin: 0;
  padding: 1.1rem 1.4rem 1.4rem;
  font-size: .92rem;
  font-style: italic;
  color: rgba(245, 235, 216, 0.75);
  text-align: center;
}
.carte__allergens {
  max-width: 720px;
  margin: 1.75rem auto 0;
  font-size: .82rem;
  opacity: .55;
  font-style: italic;
  text-align: center;
  color: var(--paper);
}

/* HOURS */
.hours { background: var(--bg); }
.hours__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.hours__list {
  margin: 0; padding: 0;
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.hours__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 1rem 1.5rem;
  border-bottom: 1px dashed var(--rule);
}
.hours__row:last-child { border-bottom: none; }
.hours__row--closed dd { color: var(--accent); opacity: 0.85; font-style: italic; }
.hours__row dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.hours__row dd {
  margin: 0;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: .95rem;
  color: rgba(245, 235, 216, 0.75);
  font-weight: 500;
}

/* FIND */
.find { background: var(--bg-alt); }
.find__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.find__map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}
.find__map iframe { width: 100%; height: 100%; border: 0; }
.find__info {
  display: flex; flex-direction: column;
  gap: 1.2rem;
  padding: .5rem 0;
}
.find__addr {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--paper);
}
.find__line {
  margin: 0;
  display: flex; flex-direction: column;
  gap: .2rem;
  font-size: .98rem;
  color: rgba(245, 235, 216, 0.85);
}
.find__line a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color var(--motion-fast);
}
.find__line a:hover { color: var(--accent-2); }
.find__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.find__info .btn { align-self: flex-start; margin-top: .5rem; }
@media (min-width: 820px) {
  .find__grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .find__info { padding: 1rem 0; }
}

/* FOOTER */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--rule);
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column;
  gap: .8rem;
}
.foot__mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.foot__tagline {
  margin: 0;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245, 235, 216, 0.55);
}
.foot__credit {
  margin: 1rem 0 0;
  font-size: .78rem;
  color: rgba(245, 235, 216, 0.4);
}
.foot__credit a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-fast);
}
.foot__credit a:hover { border-bottom-color: var(--accent-2); }

/* LIGHTBOX */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 8, 8, 0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--motion-base);
}
.lightbox[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.lightbox__stage {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  max-width: 1100px; width: 100%;
  padding: 1rem;
}
.lightbox__stage img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 235, 216, 0.3);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--motion-fast), border-color var(--motion-fast);
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: var(--accent-2);
  color: var(--ink);
  border-color: var(--accent-2);
}
.lightbox__info {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
  font-size: .85rem;
  color: rgba(245, 235, 216, 0.7);
}
.lightbox__counter {
  background: rgba(245, 235, 216, 0.1);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
