.site-head {
  --public-header-gutter: 16px;
  --public-header-height: 60px;
  --public-header-padding: 8px;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-head .head-inner {
  width: 100%;
  min-height: var(--public-header-height);
  margin-inline: auto;
  padding-block: var(--public-header-padding);
  padding-left: max(var(--public-header-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--public-header-gutter), env(safe-area-inset-right, 0px));
}

@media (max-width: 760px) {
  .site-head {
    --public-header-gutter: 12px;
    --public-header-height: 52px;
    --public-header-padding: 4px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  html.lia-native-phone .site-head {
    --public-header-height: 52px;
    --public-header-padding: 4px;
  }
}

:is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) {
  flex: none;
  width: max-content;
  color: #f4f3ec;
  font: 800 20px/1.1 Manrope, sans-serif;
  letter-spacing: -.875px;
  text-indent: 0;
  white-space: nowrap;
}

:is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) small {
  display: block;
  margin: 4px 0 0;
  color: #a8afa5;
  font: 500 8.5px/1.4 'DM Sans', sans-serif;
  letter-spacing: .7px;
  text-align: left;
}

@media (max-width: 1000px) {
  :is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) {
    font-size: 18.75px;
  }
}

@media (max-width: 960px) {
  :is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) {
    font-size: 16.875px;
  }
}

@media (max-width: 420px) {
  :is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) small {
    font-size: 7.5px;
    letter-spacing: .2px;
  }
}

@media (max-width: 360px) {
  :is(html:not(.lia-native-app) .site-header > .header-inner > .brand, .site-head .head-inner > .wordmark) {
    font-size: 16px;
  }
}

.site-header .header-links a:is([data-nav="home"], [data-nav="menu"]) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header .header-actions .client-access {
  text-decoration: none;
  white-space: nowrap;
}

/* Match the existing reservation pill while keeping a 44px target. */
html:not(.lia-native-app) .site-header .header-inner :is(
  .header-links a[data-nav="home"], .header-links a[data-nav="menu"],
  .header-actions .client-access, .header-actions .reserve-link[data-reserve]
),
html.lia-native-app.lia-public-client-capable[data-lia-device-view="duo"][data-lia-public-rail="true"]
  body:is(.landing-page, .menu-page) > .site-header > .header-inner > .header-actions > .client-access {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  gap: 6px;
  color: #dec48b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

html:not(.lia-native-app) .site-header .header-inner :is(
  .header-links a[data-nav="home"], .header-links a[data-nav="menu"],
  .header-actions .client-access, .header-actions .reserve-link[data-reserve]
)::before,
html.lia-native-app.lia-public-client-capable[data-lia-device-view="duo"][data-lia-public-rail="true"]
  body:is(.landing-page, .menu-page) > .site-header > .header-inner > .header-actions > .client-access::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border: 1px solid #dec48b50;
  border-radius: 6px;
  pointer-events: none;
}

html:not(.lia-native-app) .site-header .header-inner .header-links a[data-nav][aria-current="page"] {
  color: #fff;
}

html:not(.lia-native-app) .site-header .header-inner .header-links a[data-nav][aria-current="page"]::before {
  border-color: #ffffff91;
}

html:not(.lia-native-app) .site-header .header-inner :is(
  .header-links a[data-nav], .header-actions .client-access, .header-actions .reserve-link[data-reserve]
):hover::before {
  border-color: currentColor;
}

html:not(.lia-native-app) .site-header .header-inner {
  column-gap: 8px;
}

html:not(.lia-native-app) .site-header .header-links,
html:not(.lia-native-app) .site-header .header-actions {
  gap: 8px;
}

.site-header .header-inner .public-nav-icon,
.site-head .head-links .public-nav-icon,
.account-heading .public-nav-icon {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(.landing-page, .menu-page) .site-header .nav-toggle {
  color: #e8c16c;
}

:is(.landing-page, .menu-page) .site-header .nav-toggle > svg {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.lia-native-app:not(.lia-public-client-capable) [data-client-entry] {
  display: none !important;
}

/* The Duo rail supplies the other actions. Restore only the supported account link. */
html.lia-native-app.lia-public-client-capable[data-lia-device-view="duo"][data-lia-public-rail="true"]
  body:is(.landing-page, .menu-page) > .site-header > .header-inner > .header-actions:has(> .client-access) {
  display: flex !important;
}

html.lia-native-app.lia-public-client-capable[data-lia-device-view="duo"][data-lia-public-rail="true"]
  body:is(.landing-page, .menu-page) > .site-header > .header-inner > .header-actions > :not(.client-access) {
  display: none !important;
}

html.lia-native-app.lia-public-client-capable[data-lia-device-view="duo"][data-lia-public-rail="true"]
  body:is(.landing-page, .menu-page) > .site-header > .header-inner > .header-actions > .client-access {
  min-width: 44px;
}

@media (max-width: 960px) {
  html:not(.lia-native-app) .site-header.nav-open .header-links {
    align-items: flex-start;
    gap: 2px;
  }

  /* The compact public drawer follows La Carte on each surface. */
  html.lia-native-app:not([data-lia-public-rail="true"])
    :is(body:is(.landing-page, .menu-page) > .site-header, body:not(.customer-reservation-body) > #guest-header).nav-open {
    & .header-links {
      align-items: stretch;
      gap: 6px;
      z-index: 30;
    }

    & .header-links > a[data-nav] {
      justify-content: flex-start;
      height: auto;
      min-height: 0;
      padding: 12px 0;
      color: #f4f3ec;
      font: 400 11.25px/normal 'DM Sans', sans-serif;
    }

    & .header-links > a[data-nav]::before {
      content: none;
    }

    & .header-links > a[data-nav]:is(:hover, [aria-current="page"]) {
      color: var(--gold);
    }
  }

  html:not(.lia-native-app) .site-header .header-actions {
    gap: 4px;
  }
}

@media (max-width: 760px) {
  .site-header .header-actions .reserve-link:has(.public-nav-icon) {
    min-height: 44px;
    gap: 4px;
    padding-inline: 6px;
  }

  .site-header .header-actions .public-nav-icon {
    width: 14px;
    height: 14px;
  }

  html:not(.lia-native-app) .site-header .header-inner .header-actions :is(.client-access, .reserve-link[data-reserve]) {
    padding-inline: 6px;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  html:not(.lia-native-app) .site-header .header-inner .header-actions :is(.client-access, .reserve-link[data-reserve]) {
    gap: 3px;
    padding-inline: 4px;
    font-size: 9px;
  }
}


.brand-footer .footer-support { display: contents; }

@media (max-width: 760px) {
  .brand-footer .footer-links {
    column-gap: clamp(6px, 2.8vw, 16px);
    row-gap: 0;
  }

  .brand-footer .footer-links :is(a, button) { min-height: 24px; }

  .brand-footer .footer-support {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 360px) {
  .brand-footer .footer-links { column-gap: 6px; }
}

/* Public sign-in actions follow the homepage hero buttons. */
#guest .signin {
  --signin-action-gold: #e8c16c;
  --signin-action-size: 10px;
  --signin-action-inline: 24px;
  --signin-action-gap: 12px;
}

#guest .signin-choices { gap: var(--signin-action-gap); }

#guest :is(.signin-choices > [data-auth-mode], #signin-start > button[type="submit"]) {
  min-height: 40px;
  padding: 9px var(--signin-action-inline);
  border-radius: 8px;
  font-size: var(--signin-action-size);
  line-height: normal;
}

#guest .signin-choices > [aria-pressed="false"] {
  border: 1px solid #e6e4d880;
  background: #10131050;
  color: #f8f5ed;
  font-weight: 400;
}

#guest .signin-choices > [aria-pressed="false"]:not(:disabled):hover {
  border-color: var(--signin-action-gold);
}

#guest :is(.signin-choices > [aria-pressed="true"], #signin-start > button[type="submit"]) {
  border: 0;
  background: var(--signin-action-gold);
  color: #101310;
  font-weight: 600;
}

#guest #signin-start > .gold:not(:disabled):hover { background: #eddaa9; }

@media (max-width: 760px) {
  #guest .signin {
    --signin-action-size: 9.375px;
    --signin-action-inline: 19px;
    --signin-action-gap: 10px;
  }
}

@media (max-width: 360px) {
  #guest .signin {
    --signin-action-size: 8.75px;
    --signin-action-inline: 15px;
    --signin-action-gap: 8px;
  }
}
