/* =========================================================
   Laghuna - universal site chrome (header + footer)
   Used on EVERY page. Sized + spaced identically everywhere.
   Categories live ONLY in the hamburger sheet, on every screen
   size - the desktop nav doesn't list them. Search dropdown +
   homepage bento grid are the discovery surfaces.
   ========================================================= */

.lh-chrome-header,
.lh-chrome-header * { box-sizing: border-box; }

.lh-chrome-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 72px;
  background: var(--bg-page, #FBF8F3);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, sans-serif);
}
.lh-chrome-header.is-scrolled {
  background: rgba(251,248,243,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--hairline, #EFE8DC);
}

.lh-chrome-header__inner {
  max-width: var(--container-xl, 1280px);
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lh-chrome-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Spacer - pushes utility cluster all the way right */
.lh-chrome-spacer { flex: 1; min-width: 0; }

/* ── Actions cluster (right side) ── */
.lh-chrome-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* "Browse" link - opens the same sheet the hamburger does, plus
   scrolls down to the bento grid when on the homepage.  */
.lh-chrome-browse,
.lh-chrome-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2, #44403C);
  cursor: pointer;
  border-radius: 10px;
  transition: background 150ms ease, color 150ms ease;
  text-decoration: none;
}
.lh-chrome-browse:hover,
.lh-chrome-locale:hover {
  background: var(--ink-100, #F5F5F4);
  color: var(--ink-900, #1C1917);
  text-decoration: none;
}
.lh-chrome-browse svg,
.lh-chrome-locale svg { flex-shrink: 0; }

/* ── Buttons - universal, identical sizing everywhere ── */
.lh-chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms ease;
}
.lh-chrome-btn svg { flex-shrink: 0; }
.lh-chrome-btn span { display: inline-block; line-height: 1; }

.lh-chrome-btn--primary {
  background: var(--ink-900, #1C1917);
  color: #FFFFFF;
}
.lh-chrome-btn--primary:hover {
  background: var(--teal-700, #0F6B63);
  color: #FFFFFF;
  text-decoration: none;
}
.lh-chrome-btn--ghost {
  background: transparent;
  color: var(--ink-900, #1C1917);
  border-color: var(--border-default, #EFE8DC);
}
.lh-chrome-btn--ghost:hover {
  background: var(--ink-100, #F5F5F4);
  color: var(--ink-900, #1C1917);
  text-decoration: none;
}
.lh-chrome-btn--block { width: 100%; height: 48px; }

/* Hamburger - visible on EVERY breakpoint */
.lh-chrome-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-default, #EFE8DC);
  border-radius: 10px;
  color: var(--ink-900, #1C1917);
  cursor: pointer;
  margin-left: 4px;
}
.lh-chrome-burger:hover { background: var(--ink-100, #F5F5F4); }

/* ── Mobile sheet (also used for desktop hamburger) ── */
.lh-chrome-sheet {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg-page, #FBF8F3);
  z-index: 55;
  overflow-y: auto;
  padding: 24px 28px 40px;
}
.lh-chrome-sheet[hidden] { display: none; }
.lh-chrome-sheet__inner {
  max-width: 480px;
  margin: 0 auto;
}
.lh-chrome-sheet__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3, #78716C);
  margin: 0 0 10px;
}
.lh-chrome-sheet__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}
.lh-chrome-sheet__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900, #1C1917);
  text-decoration: none;
  transition: background 150ms ease;
}
.lh-chrome-sheet__link:hover {
  background: var(--ink-100, #F5F5F4);
  color: var(--ink-900, #1C1917);
  text-decoration: none;
}
.lh-chrome-sheet__link .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream-100, #F5EFE3);
  color: var(--teal-700, #0F6B63);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lh-chrome-sheet__link .meta { flex: 1; min-width: 0; }
.lh-chrome-sheet__link .meta b { display: block; font-weight: 600; color: var(--ink-900, #1C1917); font-size: 15px; line-height: 1.3; }
.lh-chrome-sheet__link .meta small { display: block; font-size: 12px; color: var(--fg-3, #78716C); margin-top: 2px; }
.lh-chrome-sheet__link.is-soon { color: var(--fg-3, #78716C); }
.lh-chrome-sheet__link.is-soon .ico { opacity: 0.55; }
.lh-chrome-sheet__link.is-soon .pill-soon {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber-600, #C8841F); background: var(--warn-50, #FCEFD6);
  padding: 3px 8px; border-radius: 999px; line-height: 1;
}
.lh-chrome-sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--hairline, #EFE8DC);
  padding-top: 20px;
}

.lh-chrome-soon-inline { font-size: 10px; opacity: 0.6; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .lh-chrome-locale { display: none; }
}
@media (max-width: 740px) {
  .lh-chrome-btn--ghost { display: none; }
  .lh-chrome-browse span { display: none; }   /* keep icon only */
  .lh-chrome-header__inner { padding: 0 18px; gap: 12px; }
}
@media (max-width: 480px) {
  .lh-chrome-btn--primary span { display: none; }   /* icon-only sign in */
  .lh-chrome-btn--primary { padding: 0 12px; }
  .lh-chrome-browse { display: none; }              /* drop Browse altogether - hamburger covers it */
}

body.lh-chrome-sheet-open { overflow: hidden; }

/* =========================================================
   FOOTER
   ========================================================= */
.lh-chrome-footer {
  background: var(--ink-900, #1C1917);
  color: var(--ink-300, #D6D3D1);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, sans-serif);
  margin-top: 96px;
}
.lh-chrome-footer__inner {
  max-width: var(--container-xl, 1280px);
  margin: 0 auto;
  padding: 72px 28px 28px;
}
.lh-chrome-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.lh-chrome-footer__brand p {
  color: var(--ink-400, #A8A29E);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0;
}
.lh-chrome-footer__logo {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-size: 28px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.lh-chrome-footer h4 {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 18px;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.lh-chrome-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.lh-chrome-footer ul a {
  color: var(--ink-300, #D6D3D1);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}
.lh-chrome-footer ul a:hover { color: #FFFFFF; text-decoration: none; }

.lh-chrome-footer__bottom {
  border-top: 1px solid #2A2623;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-400, #A8A29E);
}
.lh-chrome-footer__legal { display: flex; gap: 24px; }
.lh-chrome-footer__legal a {
  color: var(--ink-400, #A8A29E);
  text-decoration: none;
}

@media (max-width: 900px) {
  .lh-chrome-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lh-chrome-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .lh-chrome-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .lh-chrome-footer__inner { padding: 56px 20px 24px; }
}
