/* ============================================================
   Restaurant homepage template v2 (Outback-style layout)
   Palette is theme-driven: each site's themes/<slug>.css sets the
   color variables below. Defaults here = Umi Sake blue.
   ============================================================ */

:root {
  --bg: #060b14;
  --bg-2: #0a1322;
  --bg-3: #0e1a2e;
  --ink: #eef4fb;
  --ink-dim: rgba(238, 244, 251, .64);
  --accent: #4da3ff;
  --accent-2: #7cc4ff;
  --accent-deep: #2f7fe0;
  --accent-soft: rgba(77, 163, 255, .16);
  --accent-line: rgba(77, 163, 255, .38);
  --nav-a: rgba(6, 11, 20, .92);
  --nav-b: rgba(6, 11, 20, .55);
  --nav-solid: rgba(6, 11, 20, .96);
  --shade-a: rgba(6, 11, 20, .35);
  --shade-b: rgba(6, 11, 20, .15);
  --shade-c: rgba(6, 11, 20, .94);
  --chip-bg: rgba(6, 11, 20, .55);
  --cta-a: #0a1322;
  --cta-b: #0e1a2e;
  --cta-c: #0a1322;
  --footer-bg: #05080f;
  --mobile-bg: rgba(5, 8, 15, .95);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #04101f;
  font-weight: 700; font-size: .92rem; letter-spacing: .05em;
  padding: .72rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(238,244,251,.45); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(238,244,251,.06); }
.btn-order {
  position: relative;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-2) 100%);
  color: #04101f;
  animation: dshGlow 2.4s ease-in-out infinite;
}
.btn-order::after {
  content: ""; position: absolute; inset: -6px; border-radius: 999px;
  border: 2px solid var(--accent-line);
  animation: dshRing 2.4s ease-in-out infinite;
}
.btn-order:hover { transform: translateY(-2px); }
@keyframes dshGlow {
  0%, 100% { box-shadow: 0 0 14px 2px var(--accent-soft), 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
  50%      { box-shadow: 0 0 30px 10px color-mix(in srgb, var(--accent) 80%, transparent), 0 8px 34px color-mix(in srgb, var(--accent) 50%, transparent); }
}
@keyframes dshRing {
  0%, 100% { opacity: .2; transform: scale(1); }
  50%      { opacity: .7; transform: scale(1.05); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1rem 0;
  background: linear-gradient(180deg, var(--nav-a), var(--nav-b) 70%, transparent);
  backdrop-filter: blur(8px);
  transition: background .3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .12em; }
.nav-logo-img { height: 2rem; width: auto; vertical-align: middle; margin-right: .5rem; }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; font-size: .92rem; }
.nav-links a:not(.btn) { opacity: .85; transition: opacity .2s, color .2s; }
.nav-links a:not(.btn):hover { opacity: 1; color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-slides, .hero-slides .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; animation: kenburns 21s ease-in-out infinite; }
.s1 { opacity: 1; }
.s2 { animation-delay: 7s; }
.s3 { animation-delay: 14s; }
@keyframes kenburns {
  0%   { opacity: 0; transform: scale(1.02); }
  8%   { opacity: 1; }
  33%  { opacity: 1; transform: scale(1.1); }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--shade-a) 0%, var(--shade-b) 40%, var(--shade-c) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 9rem 0 5.5rem; }
.hero-chip {
  display: inline-block; padding: .42rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--accent-line); background: var(--chip-bg);
  color: var(--ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero-chip.open { border-color: rgba(126,217,130,.5); color: #a5e8a9; }
.hero-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.02; letter-spacing: .01em; text-shadow: 0 4px 40px rgba(0,0,0,.55);
}
.hero-title em { font-style: italic; color: var(--accent-2); }
.hero-sub { max-width: 560px; margin: 1.3rem 0 2.1rem; font-size: 1.08rem; line-height: 1.65; color: var(--ink-dim); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.about-text { max-width: 760px; }
.about-text p { margin: 0 0 1rem; line-height: 1.75; color: var(--ink-dim); }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(238,244,251,.55);
}

/* ---------- brand band ---------- */
.band { background: var(--bg-2); border-block: 1px solid var(--accent-line); overflow: hidden; padding: .85rem 0; }
.band-track {
  display: flex; gap: 2.2rem; align-items: center; white-space: nowrap;
  font-size: .8rem; letter-spacing: .28em; color: var(--accent);
  animation: marquee 26s linear infinite; width: max-content;
}
.band i { color: var(--accent-line); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 5.5rem 0; }
.kicker { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.sec-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; margin-bottom: 2.6rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--bg-2); border: 1px solid rgba(238,244,251,.07); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card figcaption { padding: 1.1rem 1.2rem 1.3rem; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; margin-bottom: .35rem; }
.card p { color: var(--ink-dim); font-size: .9rem; line-height: 1.5; }
.sec-cta { text-align: center; margin-top: 2.6rem; }

/* ---------- split (craft) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding: 5.5rem 0; background: var(--bg-2); }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split-body .sec-title { margin-bottom: 1.2rem; }
.split-body p { color: var(--ink-dim); line-height: 1.7; margin-bottom: 1rem; max-width: 520px; }
.stats { display: flex; gap: 2.4rem; margin-top: 2rem; flex-wrap: wrap; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--accent); }
.stats span { font-size: .82rem; color: var(--ink-dim); letter-spacing: .05em; }

/* ---------- info row ---------- */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.info-box {
  background: var(--bg-2); border: 1px solid rgba(238,244,251,.07); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.8rem;
}
.info-box h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: .7rem; color: var(--accent); }
.info-box p { line-height: 1.6; margin-bottom: 1rem; }
.info-box .dim { color: var(--ink-dim); font-size: .88rem; }
.info-box .btn { margin-top: .4rem; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(135deg, var(--cta-a), var(--cta-b) 60%, var(--cta-c)); border-block: 1px solid var(--accent-line); padding: 4.2rem 0; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.6rem; }

/* ---------- footer ---------- */
.footer { padding: 3.4rem 0 7rem; background: var(--footer-bg); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer p { color: var(--ink-dim); font-size: .92rem; }
.footer .small { font-size: .8rem; opacity: .7; }

/* ---------- mobile sticky bar ---------- */
.mobile-bar {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 60;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: var(--mobile-bg); backdrop-filter: blur(10px);
  border-top: 1px solid var(--accent-line);
  gap: .7rem;
}
.mobile-bar .btn { flex: 1; justify-content: center; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .split { grid-template-columns: 1fr; padding: 3.5rem 0; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 8.5rem; }
  /* Mobile hero: show the ENTIRE video (full-width 16:9, no cropping) with
     the headline stacked below it, instead of a 100vh cover crop. */
  .hero { min-height: 0; display: block; padding-top: 4.2rem; }
  .hero-video { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .hero-inner { padding: 2rem 0 3.5rem; }
  .hero-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-order, .btn-order::after, .slide, .band-track { animation: none !important; }
  .slide { opacity: 1 !important; }
}

/* ---------- events calendar ---------- */
/* Populated from events.json by main.js. The admin's "highlight" controls map
   to the ev-* classes below - a fixed vocabulary, not free-form CSS. */
.event-list { display: grid; gap: 1rem; }
.event {
  --ev-accent: var(--accent);
  background: var(--bg-2);
  border: 1px solid rgba(238, 244, 251, .07);
  border-left: 4px solid var(--ev-accent);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.event.ev-featured { border-color: var(--ev-accent); box-shadow: var(--shadow); }
.ev-badge {
  display: inline-block; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ev-accent);
  border: 1px solid var(--ev-accent); border-radius: 999px;
  padding: .12rem .6rem; margin-bottom: .55rem;
}
.ev-title { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: .3rem; }
.ev-when {
  font-size: .82rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ev-accent); margin-bottom: .5rem;
}
.ev-where { font-size: .9rem; color: var(--ink-dim); margin-bottom: .35rem; }
.ev-desc { color: var(--ink-dim); line-height: 1.65; }
/* the admin's text weight / size choices */
.ev-bold .ev-title { font-weight: 800; }
.ev-large .ev-title { font-size: 1.55rem; }
.ev-bold-large .ev-title { font-weight: 800; font-size: 1.65rem; }

/* The list is a grid, and a class display rule beats the UA's [hidden]{none},
   so toggling .hidden on it would silently do nothing without this. */
[hidden] { display: none !important; }

/* list / month switch */
.cal-tabs { display: flex; gap: .5rem; margin-bottom: 1.4rem; }
.cal-tab {
  font: inherit; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem 1.15rem; border-radius: 999px; cursor: pointer;
  color: var(--ink-dim); background: transparent; border: 1px solid var(--accent-line);
}
.cal-tab:hover { color: var(--ink); }
.cal-tab.is-active {
  background: var(--accent); border-color: var(--accent);
  color: var(--bg); font-weight: 700;
}

/* month grid */
.cal-mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-mtitle { font-family: var(--serif); font-size: 1.3rem; }
.cal-nav {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--accent-line);
  color: var(--ink); font-size: 1.1rem; line-height: 1;
}
.cal-nav:hover { border-color: var(--accent); color: var(--accent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow {
  text-align: center; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-dim); padding-bottom: .35rem;
}
.cal-cell {
  min-height: 96px; padding: .4rem; border-radius: 10px;
  background: var(--bg-2); border: 1px solid rgba(238, 244, 251, .07);
}
.cal-cell.is-empty { background: transparent; border-color: transparent; }
.cal-cell.is-today { border-color: var(--accent-line); }
.cal-day { font-size: .72rem; color: var(--ink-dim); margin-bottom: .3rem; }
.cal-ev {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: .72rem; line-height: 1.25;
  padding: .25rem .35rem; margin-bottom: .25rem; border-radius: 5px;
  color: var(--ink); background: rgba(238, 244, 251, .06);
  border: 0; border-left: 3px solid var(--ev-accent, var(--accent));
}
.cal-ev:hover { background: rgba(238, 244, 251, .14); }
.cal-ev.ev-bold, .cal-ev.ev-bold-large { font-weight: 800; }
.cal-ev.ev-large, .cal-ev.ev-bold-large { font-size: .8rem; }

/* briefly marks the entry a day chip jumped to in the list */
.event.is-flash { animation: ev-flash 1.8s ease-out; }
@keyframes ev-flash {
  0%, 40% { box-shadow: 0 0 0 3px var(--ev-accent, var(--accent)); }
  100% { box-shadow: none; }
}
@media (max-width: 700px) {
  .cal-cell { min-height: 62px; padding: .25rem; }
  .cal-ev { font-size: .62rem; padding: .18rem .25rem; }
  .cal-dow { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .event.is-flash { animation: none; }
}

/* ---------- contact form ---------- */
.contact-form-wrap { margin-top: 2.8rem; max-width: 720px; }
.contact-form-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: .4rem; }
.contact-form { margin-top: 1.2rem; display: grid; gap: 1rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: block; font-size: .78rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-dim);
}
.contact-form label span { color: var(--accent); }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: .4rem; padding: .75rem .85rem;
  font: inherit; font-size: .95rem; text-transform: none; letter-spacing: normal;
  color: var(--ink); background: var(--bg-3);
  border: 1px solid rgba(238, 244, 251, .12); border-radius: 10px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent-line); border-color: var(--accent-line);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
/* honeypot: hidden from people, irresistible to bots */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }

/* Contact form's Send button. .btn-order is the page's one primary CTA, and a
   second glowing button near it splits the eye. */
.btn-send { background: var(--accent-2); color: #04101f; animation: none; }
.btn-send:hover { background: var(--accent); }
