/* ==========================================================
   Ijoro Private Dining by Chef T — styles
   Palette taken from the Chef Xperience logo
   ========================================================== */
:root {
  --black: #000;
  --ink: #0b0b0b;
  --panel: #121212;
  --line: rgba(230, 232, 231, 0.12);
  --white: #e6e8e7;
  --muted: rgba(230, 232, 231, 0.6);
  --red: #c41e2e;
  --red-deep: #9b1622;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--red); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: .95rem; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

section { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 2em;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  font: 500 .82rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { padding: .8em 1.4em; }
.btn--wa svg { width: 20px; height: 20px; }
.link-arrow {
  display: inline-block; margin-top: 1rem;
  text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 500;
  border-bottom: 1px solid var(--red); padding-bottom: 4px;
}
.link-arrow::after { content: " →"; color: var(--red); }

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(196, 30, 46, .22), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #0d0d0d);
}
.photo::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 1rem; text-align: center;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(230, 232, 231, .35);
  border: 1px dashed rgba(230, 232, 231, .12);
}
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .85); backdrop-filter: blur(12px); border-color: var(--line); padding-top: 8px; padding-bottom: 8px; }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 400;
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--red); transition: width .3s;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--white); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 140px; padding-bottom: 60px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__veil { z-index: 1; }
.hero__media img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::before { align-items: start; justify-items: end; padding: 96px var(--gutter) 0; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.8) 38%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.2) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.6) 22%, transparent 45%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 18%);
}
.hero__content { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(3.6rem, 11vw, 9rem); letter-spacing: -.01em; }
.hero h1 em { display: inline-block; font-size: .62em; color: var(--white); }
.hero__by {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--red);
  margin: .3em 0 1.2em;
}
.hero__lede { max-width: 32rem; font-size: 1.1rem; color: rgba(230,232,231,.85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__stats {
  position: relative; z-index: 2;
  display: flex; gap: clamp(24px, 6vw, 80px);
  max-width: var(--max); width: 100%; margin: clamp(48px, 8vh, 96px) auto 0;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.hero__stats span { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; max-width: 1000px; margin: 0 auto; }
.manifesto p { font-family: var(--serif); font-size: clamp(2rem, 5.5vw, 4.2rem); line-height: 1.1; margin-bottom: .6em; }
.manifesto__sub { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }

/* ---------- Story ---------- */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.story__media { aspect-ratio: 4 / 5; }
.story__media::after {
  content: ""; position: absolute; inset: 18px; z-index: 2; border: 1px solid rgba(230,232,231,.25); pointer-events: none;
}
.story h2 { margin-bottom: .4em; }
.lead { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--red); }
.series { margin: 2.2rem 0 1rem; padding: 1.6rem 1.8rem; border-left: 2px solid var(--red); background: var(--panel); }
.series__tag { font-size: .7rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.series h3 { font-size: 2rem; margin: .3em 0 .4em; }
.series p { margin: 0; color: rgba(230,232,231,.8); }

/* ---------- Experiences ---------- */
.experiences { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; }
.card { grid-column: span 2; }
.card:nth-child(n+4) { grid-column: span 3; }
.card:nth-child(n+4) .card__media { aspect-ratio: 16 / 9; }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .4s; }
.card:hover { border-color: rgba(196, 30, 46, .6); transform: translateY(-6px); }
.card:hover .photo img { transform: scale(1.06); }
.card__media { aspect-ratio: 4 / 3; }
.card__body { padding: 26px 24px 30px; }
.card__num { font-family: var(--serif); color: var(--red); font-size: 1rem; }
.card h3 { margin: .4em 0 .55em; }
.card p { color: rgba(230,232,231,.78); margin: 0; font-size: .98rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .74rem; letter-spacing: .08em; padding: .35em .8em; border: 1px solid var(--line); border-radius: 99px; }

/* ---------- Menu / Signatures ---------- */
.menu__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
  max-width: var(--max); margin: 0 auto; height: clamp(520px, 70vw, 760px);
}
.dish { margin: 0; position: relative; overflow: hidden; }
.dish .photo { position: absolute; inset: 0; }
.dish--feature { grid-row: span 2; }
.dish figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 22px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.9), transparent);
}
.dish figcaption h3 { font-size: 1.35rem; }
.dish--feature figcaption h3 { font-size: 2.4rem; }
.dish figcaption p { margin: .4em 0 0; color: rgba(230,232,231,.8); }
.dish:hover .photo img { transform: scale(1.05); }

.menu__list {
  list-style: none; padding: 0; max-width: 860px; margin: clamp(56px, 8vw, 96px) auto 0;
  columns: 2; column-gap: 64px;
}
.menu__list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.menu__list span { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.menu__list i { flex: 1; }
.menu__list small { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-align: right; }

.menu-cta {
  max-width: 860px; margin: clamp(56px, 8vw, 96px) auto 0;
  display: flex; align-items: center; gap: clamp(28px, 5vw, 56px);
  padding: clamp(24px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--red);
}
.menu-cta__qr { flex: none; display: block; background: #fff; padding: 10px; transition: transform .3s; }
.menu-cta__qr:hover { transform: scale(1.03); }
.menu-cta__qr img { width: 160px; height: 160px; }
.menu-cta .eyebrow { margin-bottom: .6rem; }
.menu-cta h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5em; }
.menu-cta p:not(.eyebrow) { color: rgba(230,232,231,.78); }
.book .link-arrow { margin-top: 1.6rem; }

/* ---------- Gallery ---------- */
.gallery__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 18vw, 240px);
  grid-auto-flow: dense; gap: 14px;
}
.gallery__item { margin: 0; overflow: hidden; background: var(--panel); }
.gallery__item.tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.gallery__more { text-align: center; margin-top: 2.5rem; }

/* ---------- Quote ---------- */
.quote { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.quote__media { position: absolute; inset: 0; }
.quote__media::before { align-items: end; padding-bottom: 3rem; }
.quote::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 1; }
.quote blockquote { position: relative; z-index: 2; margin: 0; max-width: 900px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.15; }
.quote cite { font-style: normal; letter-spacing: .35em; text-transform: uppercase; font-size: .8rem; color: var(--red); }

/* ---------- Visit ---------- */
.visit {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.visit h2 { margin-bottom: 1.2em; }
.info-block { padding: 22px 0; border-top: 1px solid var(--line); }
.info-block h4 { margin: 0 0 .6em; font-weight: 500; font-size: .75rem; letter-spacing: .35em; text-transform: uppercase; color: var(--red); }
.info-block p:last-child { margin-bottom: 0; }
.info-block strong { font-weight: 500; }
.info-block a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.info-block a:hover { border-color: var(--red); }
.visit__map { min-height: 460px; border: 1px solid var(--line); position: relative; }
.visit__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* ---------- Booking ---------- */
.book {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px);
  background: var(--ink); border-top: 1px solid var(--line);
}
.book > * { max-width: 620px; }
.book__intro { justify-self: end; }
.book h2 { margin-bottom: .5em; }
.book__ig { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: var(--panel); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--black); color: var(--white);
  border: 1px solid var(--line); border-radius: 0;
  padding: 14px 14px;
  font: 300 1rem/1.4 var(--sans); letter-spacing: normal; text-transform: none;
  transition: border-color .3s;
  color-scheme: dark;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form .is-invalid { border-color: var(--red); background-color: rgba(196, 30, 46, .08); }
.form textarea { resize: vertical; }
.form .btn { width: 100%; padding: 1.2em; margin-top: 6px; }
.form__error { color: #ff6b78; margin: 0; font-size: .9rem; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 80px var(--gutter) 40px; border-top: 1px solid var(--line); }
.footer__logo { width: 220px; margin: 0 auto 1rem; }
.footer__tag { letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; margin: 2rem 0; }
.footer__links a { text-decoration: none; font-size: .85rem; letter-spacing: .12em; }
.footer__links a:hover { color: var(--red); }
.footer__copy { font-size: .78rem; color: rgba(230,232,231,.4); margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .card, .btn, .gallery__item img { transition: none; }
  .hero__media img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(n+4) { grid-column: auto; }
  .card:last-child { grid-column: span 2; }
  .card:nth-child(n+4) .card__media { aspect-ratio: 4 / 3; }
  .card:last-child .card__media { aspect-ratio: 16 / 7; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(0,0,0,.97);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links a:not(.btn) { font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open { background: transparent; border-color: transparent; backdrop-filter: none; }

  .story, .visit, .book { grid-template-columns: 1fr; }
  .book > * { max-width: none; }
  .book__intro { justify-self: stretch; }
  .story__media { max-width: 480px; }

  .menu__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .dish { aspect-ratio: 1; }
  .dish--feature { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .menu__list { columns: 1; }
  .menu-cta { flex-direction: column; text-align: center; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 10px; }
  .visit__map { min-height: 340px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .card:last-child .card__media { aspect-ratio: 4 / 3; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__media::before { display: none; }
  .hero__stats { justify-content: space-between; gap: 12px; }
  .hero__stats span { letter-spacing: .15em; font-size: .62rem; }
  .menu__list span { white-space: normal; }
  .dish--feature figcaption h3 { font-size: 1.8rem; }
}
