/* Part 2 extends the approved Home and reuses its identity tokens. */
html {
  scroll-behavior: auto;
}
.institutional-menu {
  padding: 0 0 112px;
  scroll-margin-top: 24px;
}
.menu-intro {
  align-items: center;
}
.menu-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 40px;
}
.menu-tabs > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  background: var(--surface);
  font-weight: 600;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.menu-tabs > a svg {
  width: 30px;
  height: 30px;
}
.menu-tabs > a:hover,
.menu-tabs > a[aria-selected="true"] {
  background: var(--black);
  color: var(--white);
}
.menu-tabs > a:focus-visible {
  position: relative;
  z-index: 1;
  outline-color: var(--black);
  outline-offset: 3px;
}
.menu-panels {
  overflow-anchor: none;
}
.menu-photo > .media-error {
  aspect-ratio: 1;
}
.menu-panel {
  scroll-margin-top: 24px;
}
.menu-panel[hidden] {
  display: none;
}
.menu-panel + .menu-panel {
  margin-top: 60px;
}
.menu-panel[role="tabpanel"] {
  margin-top: 0;
}
.menu-category-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
  padding-inline: 30px;
}
.menu-category-heading h3 {
  font-size: 28px;
  font-weight: 700;
}
.menu-category-heading p {
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.5;
}
.menu-category-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.menu-photo {
  position: sticky;
  top: 24px;
}
.menu-photo > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.menu-photo > figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
}
.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 28px;
}
.menu-items li {
  min-width: 0;
}
.menu-items h4 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 10px;
}
.menu-items p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 42ch;
}
.menu-category-note {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.menu-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-inline: 30px;
}
.menu-back svg {
  width: 18px;
  height: 18px;
}
.about-section {
  background: var(--surface);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 72px;
}
.about-copy {
  padding: 0 30px;
}
.about-copy > p {
  max-width: 53ch;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.5;
}
.about-copy .about-lead {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 25ch;
}
.about-copy > .text-action {
  margin-top: 24px;
}
.about-photo {
  position: relative;
  height: 520px;
  overflow: clip;
}
.about-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.location-section {
  padding-block: 112px;
}
.location-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
.location-info {
  padding: 30px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.location-pin {
  display: block;
  margin-bottom: 24px;
}
.location-pin svg {
  width: 38px;
  height: 38px;
}
.location-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.location-info address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}
.location-info > .button {
  margin-top: 28px;
}
.location-phone {
  margin-top: 16px;
  font-size: 16px;
}
.location-note {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.location-map {
  position: relative;
  min-width: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.location-map iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 420px;
  flex: 1;
  min-height: 360px;
  background: var(--surface);
}
.location-map > p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.5;
}
.location-map > p > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.map-skip {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  clip-path: inset(50%);
}
.map-skip:focus-visible {
  clip-path: none;
}
.social-rail {
  position: fixed;
  z-index: 18;
  display: flex;
  gap: 8px;
  background: var(--white);
}
.social-rail > a,
.social-rail > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  min-height: 48px;
  min-width: 48px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}
.social-rail img {
  width: 24px;
  height: 24px;
  flex: none;
}
.social-rail > a:hover,
.social-rail > button:hover {
  background: var(--black);
  color: var(--white);
}
.social-rail > a:hover > img,
.social-rail > button:hover > img {
  filter: invert(1);
}
.dialog-symbol > img {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}
@media (min-width: 1100px) {
  body {
    padding-right: 72px;
  }
  .social-rail {
    right: 8px;
    top: 42%;
    width: 56px;
    flex-direction: column;
  }
  .social-rail > a,
  .social-rail > button {
    flex-direction: column;
    min-height: 64px;
    padding: 8px 3px;
  }
  .social-name {
    font-size: 10px;
    position: absolute;
    width: 1px;
    height: 1px; /* taste-skill-ignore: clipped accessible label, not a visible rule */
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (min-width: 760px) and (max-width: 1099px) {
  body {
    padding-bottom: 68px;
  }
  html {
    scroll-padding-bottom: 76px;
  }
  .header-order {
    display: none;
  }
  .main-nav {
    gap: 20px;
  }
  .menu-tabs > a {
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    min-height: 84px;
    padding: 10px;
  }
  .menu-category-heading,
  .menu-category-content {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 26px;
  }
  .menu-category-heading {
    padding-inline: 10px;
  }
  .menu-items {
    gap: 26px 20px;
  }
  .menu-items h4 {
    font-size: 18px;
  }
  .menu-items p {
    font-size: 16px;
  }
  .menu-close {
    padding-inline: 10px;
  }
  .about-inner {
    gap: 30px;
  }
  .about-copy {
    padding-inline: 10px;
  }
  .about-photo {
    height: 540px;
  }
  .location-info {
    padding: 16px;
  }
  .location-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 26px;
  }
  .location-info > .button {
    font-size: 14px;
    padding: 16px 18px;
    gap: 10px;
  }
  .social-rail {
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    padding: 4px 16px;
    gap: 24px;
  }
}
@media (max-width: 759px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  html {
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .main-nav {
    justify-content: space-between;
    gap: 14px;
  }
  .institutional-menu {
    padding-bottom: 72px;
    scroll-margin-top: 18px;
  }
  .menu-intro {
    margin-bottom: 24px;
  }
  .menu-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 28px;
  }
  .menu-tabs > a {
    flex-direction: column;
    min-height: 74px;
    padding: 10px;
    gap: 6px;
    font-size: 14px;
  }
  .menu-tabs > a svg {
    width: 25px;
    height: 25px;
  }
  .menu-category-heading {
    display: block;
    margin-bottom: 24px;
    padding-inline: 4px;
  }
  .menu-category-heading h3 {
    font-size: 26px;
  }
  .menu-category-heading p {
    margin-top: 14px;
  }
  .menu-category-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .menu-photo {
    position: static;
    width: 100%;
  }
  .menu-photo > img {
    aspect-ratio: 1.45;
    object-position: center 54%;
  }
  .menu-photo > figcaption {
    font-size: 13px;
    padding-top: 8px;
  }
  .menu-products {
    width: 100%;
    padding-inline: 4px;
  }
  .menu-items {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .menu-items h4 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .menu-items p {
    font-size: 16px;
    max-width: 44ch;
  }
  .menu-close {
    padding-inline: 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
  }
  .menu-close > .menu-back {
    align-self: center;
    font-size: 14px;
    gap: 8px;
  }
  .menu-close > .button {
    width: 100%;
    min-height: 56px;
  }
  .about-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-block: 44px;
  }
  .about-copy {
    padding-inline: 4px;
  }
  .about-copy > p {
    margin-top: 22px;
  }
  .about-copy .about-lead {
    font-size: 22px;
  }
  .about-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.15;
  }
  .location-section {
    padding-block: 72px;
  }
  .location-section .section-intro {
    margin-bottom: 28px;
  }
  .location-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .location-info {
    padding: 0 4px;
  }
  .location-info h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .location-pin {
    margin-bottom: 20px;
  }
  .location-info > .button {
    font-size: 15px;
    min-height: 56px;
    width: 100%;
    gap: 12px;
    padding: 16px;
  }
  .location-map iframe {
    height: 340px;
    min-height: 340px;
    flex: none;
  }
  .location-map > p {
    padding: 16px;
    font-size: 13px;
  }
  .mobile-order-bar :is(button, a):focus-visible {
    outline-color: var(--black);
    outline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-tabs > a {
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .menu-panel[role="tabpanel"]:not([hidden]) .menu-photo > img {
    animation: category-photo 360ms var(--ease) both;
  }
}
@keyframes category-photo {
  from {
    transform: scale(1.015);
  }
  to {
    transform: scale(1);
  }
}

/* On phones the two social controls occupy reserved cells of the order bar. */
@media (max-width: 759px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  html {
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-order-bar {
    grid-template-columns: minmax(88px, 1fr) repeat(3, 44px);
    gap: 4px;
    padding-inline: 12px;
  }
  .mobile-order-bar > :is(button, a) {
    padding: 10px 4px;
    gap: 6px;
  }
  .mobile-order-bar .mobile-main {
    white-space: nowrap;
  }
  .social-rail {
    display: contents;
    position: static;
    background: transparent;
  }
  .social-rail > a,
  .social-rail > button {
    position: fixed;
    z-index: 22;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    min-width: 44px;
    min-height: 52px;
    height: 52px;
    padding: 10px;
    background: var(--surface);
  }
  .social-rail > :first-child {
    right: 60px;
  }
  .social-rail > :last-child {
    right: 12px;
  }
  .social-rail .social-name {
    position: absolute;
    width: 1px;
    height: 1px; /* taste-skill-ignore: clipped accessible label, not a visible rule */
    overflow: hidden;
    clip-path: inset(50%);
  }
  .social-rail > a:focus-visible,
  .social-rail > button:focus-visible {
    outline-color: var(--black);
    outline-offset: 3px;
  }
}
@media (max-width: 359px) {
  .mobile-order-bar .mobile-main > span[data-icon] {
    display: none;
  }
  .mobile-order-bar .mobile-main {
    font-size: 13px;
  }
}
@media (min-width: 760px) and (max-width: 1099px) and (max-height: 600px) {
  .site-header {
    flex-wrap: wrap;
    padding-bottom: 18px;
    gap: 0;
  }
  .brand-home {
    max-width: 100%;
    width: 420px;
  }
  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
  .header-order {
    display: inline-flex;
  }
}
