/* Blue Door Café — theme: tokens, type, header, buttons
   Look: a bright bistro. Cobalt and tile-white, latte surfaces, a cherry accent for prices. */

:root {
  --cobalt: #2340C9;
  --cobalt-2: #1A32A8;
  --tile: #FAFBFF;
  --latte: #E6D3B8;
  --latte-2: #F3EADC;
  --cherry: #E0412F;
  --espresso: #2A1E17;
  --veg: #1E8E3E;
  --nonveg: #B3261E;

  --bg: var(--tile);
  --fg: var(--espresso);
  --muted: #6E625A;
  --surface: #FFFFFF;
  --line: rgb(42 30 23 / .12);
  --accent: var(--cobalt);
  --accent-ink: #FFFFFF;
  --focus: var(--cobalt);
  --field-bg: #FFFFFF;
  --actionbar-bg: rgb(250 251 255 / .97);

  --font-display: "Young Serif", "Noto Serif Devanagari", Georgia, serif;
  --font-body: "DM Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 0 26px 60px -26px rgb(35 64 201 / .35);
  --header-h: 70px;
  --wrap: 1180px;
}

/* ------------------------------------------------------------- type */
body { font-optical-sizing: auto; font-kerning: normal; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--cobalt); letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.05; }
h3 { font-size: 1.3rem; line-height: 1.2; }
html.is-hi :where(h1, h2, h3) { font-weight: 600; }
section { padding-block: clamp(72px, 9vw, 112px); position: relative; }

.section-head { display: grid; gap: 12px; max-width: 44rem; margin-bottom: clamp(26px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 1.12rem; line-height: 1.55; max-width: 52ch; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.section-head--row > div:first-child { display: grid; gap: 12px; }
@media (max-width: 860px) { .section-head--row { grid-template-columns: 1fr; } }

/* azulejo-style tile band */
.tiles { height: 56px; background-color: var(--tile); background-size: 28px 28px; background-image:
  radial-gradient(circle at 50% 50%, var(--cobalt) 0 4.5px, transparent 5px),
  radial-gradient(circle at 0 0, transparent 0 9px, var(--cobalt) 9.5px 11px, transparent 11.5px),
  radial-gradient(circle at 100% 0, transparent 0 9px, var(--cobalt) 9.5px 11px, transparent 11.5px),
  radial-gradient(circle at 0 100%, transparent 0 9px, var(--cobalt) 9.5px 11px, transparent 11.5px),
  radial-gradient(circle at 100% 100%, transparent 0 9px, var(--cobalt) 9.5px 11px, transparent 11.5px);
  border-block: 3px solid var(--cobalt); }
.tiles--thin { height: 28px; border-top: 0; }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(250 251 255 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.45rem; color: var(--cobalt); text-decoration: none; white-space: nowrap; }
.brand__mark { width: 22px; height: 26px; color: var(--cobalt); }

.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav__list a:hover { color: var(--cobalt); }
.nav__list a[aria-current] { color: var(--cobalt); background: rgb(35 64 201 / .08); }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav__list { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; padding: 8px 20px 24px; background: var(--tile); border-bottom: 3px solid var(--cobalt); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list a { padding: 14px 4px; border-radius: 0; font-family: var(--font-display); font-size: 1.7rem; color: var(--cobalt); border-bottom: 1px solid var(--line); }
  .nav__list a[aria-current] { background: none; }
}
@media (max-width: 560px) { .hide-sm { display: none !important; } }

/* ----------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; background: transparent; color: var(--fg); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-2); box-shadow: 0 12px 26px -12px rgb(35 64 201 / .7); }
.btn--line { border-color: rgb(35 64 201 / .35); color: var(--cobalt); }
.btn--line:hover { border-color: var(--cobalt); background: rgb(35 64 201 / .05); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
