/* Kamalo City: black is the room, gold is the spotlight, cream is the voice.
   Dark sections carry the night; cream (.light) sections carry the day. */
:root {
  --black: #0A0805;
  --night: #16120C;
  --gold: #FBCE01;
  --gold-soft: #FFE45C;
  --cream: #F8F0E3;
  --cream-2: #FCF8F1;            /* lighter tint of cream for cards and fields */
  --mist: #B9B1A2;
  --ink-2: rgba(10, 8, 5, .66);  /* secondary text on cream */
  --line: rgba(251, 206, 1, .35);
  --line-dark: rgba(248, 240, 227, .1);
  --line-light: rgba(10, 8, 5, .1);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
  --wrap: 1200px;
  --bar: 64px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; margin-top: 1.6em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--mist); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 36em; }
.tag {
  display: inline-flex; align-items: center; gap: .7em;
  font-weight: 300; text-transform: uppercase; letter-spacing: .24em;
  font-size: .76rem; color: var(--gold); margin: 0 0 1.1em;
}
.tag::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.hero-h1.tag::before { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
ul.plain { list-style: none; padding: 0; margin: 0 0 1em; }
ul.plain li { padding: .25em 0; }
.links a { color: var(--gold); text-decoration: none; font-weight: 500; }
.links a:hover { text-decoration: underline; }

/* Buttons: pills. Gold fill for the one main action, outline for the rest. */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(248, 240, 227, .5); color: var(--cream); background: transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); }
.pill.gold { background: var(--gold); border-color: var(--gold); color: var(--black); box-shadow: 0 8px 24px -10px rgba(251, 206, 1, .7); }
.pill.gold::after { content: "→"; transition: transform .2s var(--ease); }
.pill.gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--black); }
.pill.gold:hover::after { transform: translateX(3px); }
.pill.outline:hover { border-color: var(--gold); color: var(--gold); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }

/* Header: glass bar */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 8, 5, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-dark); transition: background .3s;
}
.site-header.is-scrolled { background: rgba(10, 8, 5, .9); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-name small { display: block; font-weight: 300; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; position: relative; }
.nav > a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > a:not(.pill):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav-call { display: none; }

/* Hero carousel */
.hero { position: relative; }
.hero-h1 { position: absolute; top: 22px; left: 0; right: 0; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; font-size: .7rem; }
.slides { position: relative; min-height: min(90vh, 800px); }
.slide { position: absolute; inset: 0; overflow: hidden; background: var(--black); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.today-panel { position: absolute; inset: 0; }
.today-panel[hidden] { display: none; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 4%, rgba(10, 8, 5, .55) 45%, rgba(10, 8, 5, .1) 80%); pointer-events: none; }
.spotlight { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(251, 206, 1, .24), rgba(251, 206, 1, 0) 70%), var(--black); }
.slide-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 84px; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.slide.is-active .slide-copy > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: .24s; }
.slide-title { font-size: clamp(2.4rem, 7vw, 5rem); max-width: 13em; }
.today-list { list-style: none; padding: 0; margin: 0; max-width: 40em; display: grid; gap: 8px; }
.today-list li { padding: 12px 16px; border-radius: 14px; background: rgba(22, 18, 12, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-dark); }
.today-list a { color: var(--gold); font-weight: 700; text-decoration: none; display: block; }
.today-list span { font: italic .98rem var(--serif); color: var(--mist); }
.slide-controls { position: absolute; z-index: 3; bottom: 20px; left: 0; right: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; }
.slide-controls button { background: none; border: 0; color: var(--cream); cursor: pointer; }
.slide-prev, .slide-next { font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248, 240, 227, .3) !important; transition: border-color .2s, color .2s; }
.slide-prev:hover, .slide-next:hover { border-color: var(--gold) !important; color: var(--gold); }
.slide-dots { display: flex; gap: 2px; order: -1; margin-right: auto; }
.slide-dots button { width: 40px; height: 44px; position: relative; }
.slide-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 21px; height: 3px; background: rgba(248, 240, 227, .3); border-radius: 2px; }
.slide-dots button[aria-current="true"]::after { background: var(--gold); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.panel { background: var(--night); }
.two-col { display: grid; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }

/* Light (cream) sections */
.light { background: var(--cream); color: var(--black); color-scheme: light; }
.light .tag { color: var(--black); }
.light .tag::before { background: var(--gold); outline: 1px solid var(--black); outline-offset: 1px; }
.light .muted, .light .hours th, .light .crumbs, .light .crumbs a, .light .dish-desc { color: var(--ink-2); }
.light a:hover { color: var(--black); text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.light .links a, .light .dish-name { color: var(--black); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.light .pill { border-color: rgba(10, 8, 5, .35); color: var(--black); }
.light .pill.outline:hover { border-color: var(--black); color: var(--black); background: rgba(10, 8, 5, .05); }
.light .pill.gold:hover { color: var(--black); }
.light .dish-desc.big { color: var(--black); }
.light .price { color: var(--black); }
.light :focus-visible { outline-color: var(--black); }
.page-body { padding-bottom: clamp(48px, 7vw, 96px); }

/* This week */
.week { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.day-card { position: relative; background: var(--cream-2); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.day-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(10, 8, 5, .45); }
.day-card .tag { color: var(--ink-2); }
.day-card.is-today { background: var(--black); color: var(--cream); border-color: var(--black); }
.day-card.is-today .tag { color: var(--gold); }
.day-card.is-today .tag::before { outline: 0; }
.day-card.is-today::after { content: "Today"; position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--black); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.day-card ul { list-style: none; padding: 0; margin: 0; }
.day-card li { padding: .3em 0; font-weight: 500; }
.day-card a { text-decoration: none; }
.day-card a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.day-card.is-today a:hover { color: var(--gold); }

.hours { border-collapse: collapse; margin: 0 0 1em; }
.hours th, .hours td { text-align: left; padding: .35em 1.4em .35em 0; font-weight: 400; }
.hours th { color: var(--mist); }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px -30px rgba(10, 8, 5, .5); }

/* Photos */
.gallery { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery li { overflow: hidden; border-radius: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery li:hover img { transform: scale(1.05); }
.gallery a { display: block; }
.venue-photo { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .8); }
.aside-photo { width: 100%; border-radius: var(--radius); margin: 32px 0 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.events-intro { margin: 40px 0; }
.events-intro .cards { margin: 0; }

/* Page heads */
.page-head { padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 72px); }

/* Menu */
.day-jump { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0; position: sticky; top: 68px; background: var(--cream); z-index: 5; scrollbar-width: none; }
.day-jump::-webkit-scrollbar { display: none; }
.day-jump a { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--line-light); background: var(--cream-2); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; }
.day-jump a:hover { border-color: var(--black); }
.menu-day { padding: 36px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 150px; }
.menu-day.is-today h2::after { content: "Today"; display: inline-block; vertical-align: middle; margin-left: .6em; background: var(--gold); color: var(--black); font-size: .8rem; letter-spacing: 0; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.dish-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dish-list li { padding: 16px 20px; background: var(--cream-2); border: 1px solid var(--line-light); border-radius: 16px; transition: border-color .2s; }
.dish-list li:hover { border-color: rgba(10, 8, 5, .3); }
.dish-name { color: var(--gold); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.dish-desc { font: italic 1.02rem/1.5 var(--serif); color: var(--mist); margin: .3em 0 0; }
.dish-desc.big { font-size: 1.3rem; color: var(--cream); }
.price { color: var(--cream); font-weight: 700; margin-left: .6em; }
.price.big { font-size: 1.6rem; margin: 0 0 1em; }

/* Dish page */
.crumbs { font-size: .9rem; color: var(--mist); padding: 22px 0; }
.crumbs a { color: var(--mist); }
.dish { display: grid; gap: 32px; }
.dish-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -35px rgba(10, 8, 5, .6); }
.dish-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-photo-empty { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; border: 1px solid var(--line); }
.dish-photo-empty span { font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.6rem); color: var(--gold); letter-spacing: -.02em; }
.small-h { font-size: 1.1rem; margin-top: 2em; }

/* Events */
.cards { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.card { background: var(--night); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line-dark); transition: transform .25s var(--ease), box-shadow .25s; }
.card h2 { font-size: 1.35rem; }
.light .card { background: var(--cream-2); border-color: var(--line-light); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(10, 8, 5, .45); }

/* Booking form */
.book-form { padding: 40px 0 0; }
.book-form fieldset { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.book-form legend { font-weight: 700; margin-bottom: 12px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-light); background: var(--cream-2); border-radius: 999px; cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s; }
.choice:has(input:checked) { background: var(--black); border-color: var(--black); color: var(--cream); }
.choice input { accent-color: var(--gold); }
.book-form label { display: block; font-weight: 600; margin-bottom: 16px; }
.book-form input:not([type="radio"]), .book-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 16px; min-height: 50px;
  font: 400 1rem var(--sans); color: var(--black); background: var(--cream-2);
  border: 1px solid rgba(10, 8, 5, .18); border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.book-form input:focus, .book-form textarea:focus { border-color: var(--black); box-shadow: 0 0 0 4px rgba(251, 206, 1, .45); outline: none; }
.field-row { display: grid; gap: 0 14px; }
.form-error { color: var(--black); font-weight: 600; min-height: 1.4em; }
.book-aside { padding: 0 0 24px; }

/* Footer: the Kamalo strip, once per page */
.site-footer { background: var(--night); padding: 0 0 28px; }
.strip {
  height: 24px; margin-bottom: 48px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22'%3E%3Cpath d='M10 3l8 8-8 8-8-8z' fill='%23FBCE01'/%3E%3Cpath d='M30 4l7 7-7 7-7-7z' fill='none' stroke='%23FBCE01' stroke-width='1.5'/%3E%3C/svg%3E") 0 center / 40px 22px repeat-x;
}
.footer-grid { display: grid; gap: 32px; }
.footer-brand { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: .2em; }
.footer-head { font-weight: 700; margin-bottom: .6em; }
.credit { color: var(--mist); font-size: .85rem; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.credit a { color: var(--mist); }

/* Mobile action bar: call, order, book */
.actionbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px;
  background: rgba(10, 8, 5, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
}
.actionbar a {
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--cream);
}
.actionbar a.gold { background: var(--gold); color: var(--black); }

/* Scroll reveal (site.js adds .reveal only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 899px) {
  /* End the hero above the floating action bar so its controls stay visible. */
  .slides { min-height: max(620px, calc(100svh - 150px)); }
}
@media (max-width: 559px) {
  .nav { gap: 16px; font-size: .95rem; }
  .brand-name small { display: none; }
  .slide-copy { bottom: 76px; }
  .hero-h1 { top: 14px; }
  .week { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .day-card { scroll-snap-align: start; }
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .week { grid-template-columns: repeat(2, 1fr); }
  .gallery { gap: 12px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav-call { display: inline-flex; min-height: 42px; padding: 0 20px; }
  .two-col { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; }
  .book-form + .book-aside, .events-intro { align-items: start; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .dish { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery.feature li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery.feature li:first-child img { aspect-ratio: auto; height: 100%; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .day-jump { top: 68px; }
  .dish-list { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide-bg { transform: none; }
}
