/* Central Sweets & Food-Hub — brand-forward, bilingual-first */

:root {
  --sun: #f4c025;
  --amber: #ff9f1c;
  --ember: #e85d04;
  --deep: #1a1209;
  --ink: #2b2118;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --sage: #3d6b55;
  --sage-dark: #2f5443;
  --mist: rgba(255, 253, 247, 0.72);
  --shadow: 0 24px 60px rgba(26, 18, 9, 0.18);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: "Satisfy", cursive;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sage-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 253, 247, 0.78));
  border-bottom: 1px solid rgba(232, 93, 4, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header--scrolled {
  box-shadow: 0 10px 40px rgba(26, 18, 9, 0.08);
  border-bottom-color: rgba(232, 93, 4, 0.2);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.94;
}

.brand:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
  border-radius: 10px;
}

.brand__logo {
  height: clamp(64px, 12.5vw, 96px);
  width: auto;
  max-width: min(420px, 78vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  /* subtle edge on cream header so white script stays readable */
  filter: drop-shadow(0 0 1px rgba(26, 18, 9, 0.12)) drop-shadow(0 1px 2px rgba(26, 18, 9, 0.08));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(244, 192, 37, 0.25);
  color: var(--deep);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.lang__label {
  opacity: 0.65;
}

.lang__toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(26, 18, 9, 0.12);
  overflow: hidden;
  background: var(--cream);
}

.lang__toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang__toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--sun), var(--amber));
  color: var(--deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--ember), #c2410c);
  color: #fff;
  box-shadow: 0 12px 30px rgba(232, 93, 4, 0.35);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(232, 93, 4, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--deep);
  border: 1px solid rgba(26, 18, 9, 0.12);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--deep);
}

.hero {
  position: relative;
  z-index: 1;
  overflow: clip;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 3rem;
}

.hero__bg {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(244, 192, 37, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(255, 159, 28, 0.45), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(61, 107, 85, 0.2), transparent 55%),
    linear-gradient(180deg, #fff3d6 0%, var(--paper) 68%);
  z-index: -1;
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: var(--deep);
  margin: 0 0 1rem;
}

.hero__lead {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero__visual {
  position: relative;
  min-height: 320px;
}

.hero__bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 0.75fr;
  gap: 0.75rem;
  height: 100%;
  min-height: 340px;
}

@media (max-width: 900px) {
  .hero__bento {
    min-height: 280px;
  }
}

.hero__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #ddd;
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.hero__card:hover img {
  transform: scale(1.06);
}

.hero__card--large {
  grid-row: span 2;
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 18, 9, 0.55));
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 18, 9, 0.08);
  color: var(--deep);
}

.pill:nth-child(3n) {
  background: rgba(61, 107, 85, 0.12);
  border-color: rgba(61, 107, 85, 0.25);
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.section--sage {
  background: linear-gradient(135deg, rgba(61, 107, 85, 0.1), rgba(244, 192, 37, 0.12));
}

.section--cream {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  margin-bottom: 2rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--deep);
  margin: 0 0 0.5rem;
}

.section__sub {
  margin: 0;
  max-width: 40rem;
  opacity: 0.85;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.tagline {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.12);
  color: var(--ember);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  border: 1px solid rgba(26, 18, 9, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: rgba(232, 93, 4, 0.35);
}

.chip--active {
  background: linear-gradient(135deg, var(--sun), var(--amber));
  border-color: transparent;
  color: var(--deep);
}

.menu-category {
  margin-bottom: 2rem;
}

.menu-category__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--deep);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid rgba(61, 107, 85, 0.35);
  display: inline-block;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(26, 18, 9, 0.06);
  box-shadow: 0 8px 24px rgba(26, 18, 9, 0.04);
}

.menu-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.menu-item__name {
  font-weight: 800;
  color: var(--deep);
}

.menu-item__desc {
  font-size: 0.9rem;
  opacity: 0.78;
}

.menu-item__price {
  font-weight: 800;
  color: var(--ember);
  white-space: nowrap;
}

.menu-cta {
  margin-top: 2rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 0.65rem;
}

@media (max-width: 1000px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px;
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
}

.gallery__cell {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 28px rgba(26, 18, 9, 0.1);
  animation: rise 0.7s ease backwards;
  animation-delay: var(--delay, 0s);
}

.gallery__cell:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__cell:nth-child(4) {
  grid-column: span 2;
}

.gallery__cell:nth-child(6) {
  grid-column: span 2;
}

@media (max-width: 1000px) {
  .gallery__cell:nth-child(1),
  .gallery__cell:nth-child(4),
  .gallery__cell:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__cell:hover img {
  transform: scale(1.05);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(26, 18, 9, 0.08);
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .visit-card {
    grid-template-columns: 1fr;
  }
}

.visit-card__map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius-md);
}

.visit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.visit-list li {
  margin-bottom: 0.5rem;
}

.visit-hours {
  background: rgba(244, 192, 37, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.visit-hours strong {
  display: block;
  margin-bottom: 0.35rem;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.visit-tiffin {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(26, 18, 9, 0.78);
  max-width: 40rem;
}

.footer {
  padding: 2rem 1.25rem 2.5rem;
  background: var(--deep);
  color: rgba(255, 253, 247, 0.88);
  text-align: center;
  font-size: 0.88rem;
}

.footer a {
  color: var(--sun);
}

.footer a:hover {
  color: #fff;
}

.footer__credit {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  opacity: 0.72;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ember);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
