/* =========================================================
   KOHANA — light, warm, rounded. The opposite personality of
   Ember & Salt on purpose: same template, same class names,
   proof that the theme lives in tokens + a few overrides, not
   a rewrite.
   ========================================================= */

:root {
  --bg: #fcf7ee;
  --bg-deep: #0f3c3b;
  --bg-raised: #f5efe0;
  --accent: #ff6f59;
  --accent-dim: rgba(255, 111, 89, 0.14);
  --text: #1b2e2c;
  --muted: #7c9088;
  --line: rgba(27, 46, 44, 0.1);

  --font-display: "Fredoka", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --max-w: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: "🌴"; font-size: 13px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid var(--text);
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,46,44,0.18); }
.btn.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.solid:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-nav.scrolled {
  padding: 14px 0;
  background: rgba(252, 247, 238, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(27,46,44,0.06);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--muted); position: relative; padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: var(--bg-raised); border: none; color: var(--text); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--bg-raised);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) brightness(1.02); transform: scale(1.04); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(252,247,238,0.15) 45%, var(--bg) 96%);
}
#hero-canvas { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 8vh; }
.hero-inner .eyebrow {
  margin-bottom: 20px; background: #fff; padding: 8px 16px; border-radius: 100px; box-shadow: 0 4px 16px rgba(27,46,44,0.1);
}
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); max-width: 15ch; margin-bottom: 24px; color: var(--bg-deep); text-shadow: 0 2px 30px rgba(255,255,255,0.5); }
.hero-sub {
  max-width: 44ch; color: var(--text); font-size: 17px; margin-bottom: 36px;
  background: rgba(252,247,238,0.85); padding: 4px 0;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.scroll-cue { display: none; }

/* ---------- sections ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.hairline { border-top: 1px solid var(--line); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.about-media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 28px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-title { font-size: clamp(28px, 3.4vw, 44px); margin: 18px 0 22px; }
.about-body { color: var(--muted); font-size: 16px; max-width: 52ch; }
.about-meta { display: flex; gap: 36px; margin-top: 38px; }
.about-meta div { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; }
.about-meta strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }

/* ---------- menu preview ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); margin-top: 14px; }

.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 28px; max-width: var(--max-w); margin: 0 auto; }
.dish-card {
  background: #fff; padding: 26px 24px 28px; border-radius: 24px; position: relative; overflow: hidden;
  box-shadow: 0 2px 0 var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dish-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(27,46,44,0.1); }
.dish-card-media { aspect-ratio: 5/4; overflow: hidden; margin-bottom: 20px; border-radius: 16px; }
.dish-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.dish-card:hover .dish-card-media img { transform: scale(1.06); }
.dish-name-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.dish-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.dish-price { font-family: var(--font-mono); font-size: 14px; color: var(--accent); white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.dish-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--bg-deep); background: var(--accent-dim); padding: 4px 10px; border-radius: 20px; }
.flames { display: inline-flex; gap: 3px; }
.flames svg { width: 11px; height: 11px; }

/* full menu page */
.menu-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.menu-filter-btn {
  font-family: var(--font-mono); font-size: 12px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 30px;
  background: #fff; color: var(--muted); cursor: pointer; transition: all 0.3s var(--ease);
}
.menu-filter-btn:hover { border-color: var(--accent); color: var(--text); }
.menu-filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.menu-category { margin-bottom: 56px; }
.menu-category-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.menu-category-head h3 { font-size: 25px; }
.menu-category-head span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.menu-list-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center;
  padding: 18px; border-radius: 18px; margin-bottom: 8px; background: #fff;
}
.menu-list-item .thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--bg-raised); }
.menu-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-list-item .info h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.menu-list-item .info p { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; max-width: 60ch; }
.menu-list-item .price { font-family: var(--font-mono); color: var(--accent); font-size: 15px; }

/* ---------- gallery: feature + filmstrip ---------- */
.gallery-feature { display: block; position: relative; width: 100%; aspect-ratio: 2.4/1; overflow: hidden; cursor: pointer; border-radius: 28px; max-width: calc(var(--max-w) - 56px); margin: 0 auto; }
.gallery-feature img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15); transition: transform 1s var(--ease); }
.gallery-feature:hover img { transform: scale(1.03); }
.gallery-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,60,59,0.55) 100%); pointer-events: none; }
.gallery-feature-caption { position: absolute; left: 26px; bottom: 20px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: #fff; }
.gallery-strip-wrap {
  margin-top: 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.gallery-strip-wrap::-webkit-scrollbar { display: none; }
.gallery-strip { display: flex; gap: 16px; padding: 0 28px; width: max-content; cursor: grab; scroll-snap-type: x proximity; }
.gallery-strip.dragging { cursor: grabbing; }
.gallery-strip.dragging .gallery-strip-item { pointer-events: none; }
.gallery-strip-item { flex: 0 0 280px; aspect-ratio: 4/5; overflow: hidden; border-radius: 22px; scroll-snap-align: start; }
.gallery-strip-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); transition: transform 0.5s var(--ease); }
.gallery-strip-item:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; background: rgba(15,60,59,0.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 16px; }
.lightbox-close { position: absolute; top: 26px; right: 32px; background: #fff; border: none; color: var(--text); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 18px; }

/* ---------- testimonials ---------- */
.testimonial-track-wrap { overflow: hidden; background: var(--bg-raised); }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-card { min-width: 100%; padding: 70px 60px; text-align: center; }
.testimonial-card blockquote {
  font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 29px); font-weight: 500;
  margin: 0 0 24px; max-width: 46ch; margin-left: auto; margin-right: auto; line-height: 1.35; color: var(--text);
}
.testimonial-card cite { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-style: normal; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; padding-bottom: 40px; background: var(--bg-raised); }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; }
.testimonial-dots button.active { background: var(--accent); }

/* ---------- order / delivery ---------- */
.order-band { background: var(--bg-deep); padding: 90px 0; text-align: center; }
.order-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; color: #fff; }
.order-band p { color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.order-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.order-links.empty { color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 13px; }
.order-band .btn { border-color: #fff; color: #fff; }
.order-band .btn:hover { background: #fff; color: var(--bg-deep); }
.order-band .btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.order-band .btn.solid:hover { background: #fff; color: var(--bg-deep); }

/* ---------- reservation / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; }
.hours-list { list-style: none; margin: 22px 0 0; padding: 0; font-family: var(--font-mono); font-size: 14px; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours-list li.today { color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; background: #fff; border: 2px solid var(--line); color: var(--text);
  padding: 13px 16px; border-radius: 14px; font-family: var(--font-body); font-size: 15px;
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
textarea { resize: vertical; min-height: 100px; }
.form-status { font-family: var(--font-mono); font-size: 13px; margin-top: 16px; min-height: 18px; }
.form-status.ok { color: #2e8b57; }
.form-status.err { color: var(--accent); }

/* ---------- footer ---------- */
footer { padding: 70px 0 34px; background: var(--bg-deep); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 56px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-grid h4::after { content: none; }
footer .footer-grid > div:first-child h4 { font-family: var(--font-display); font-size: 20px; color: #fff; text-transform: none; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-grid a { display: block; margin-bottom: 10px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 82vw); background: #fff;
    flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; gap: 24px;
    transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: -10px 0 40px rgba(27,46,44,0.1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .about-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .testimonial-card { padding: 50px 26px; }
  .menu-list-item { grid-template-columns: 60px 1fr; }
  .menu-list-item .price { grid-column: 2; }
  .gallery-feature { border-radius: 20px; margin: 0 20px; width: calc(100% - 40px); }
}
