* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; }

img { max-width: 100%; }

a { text-decoration: none; }

.container {
  margin-inline: auto;
  width: min(100% - 2rem, 1200px);
}

.skip-link {
  background: var(--rice, #fff3e5);
  color: var(--night, #130709);
  left: 1rem;
  padding: .8rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 120;
}

.skip-link:focus { top: 1rem; }

.site-header {
  background: #090c0ff0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  color: var(--rice, #fff3e5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 231px minmax(0, 1fr) auto;
  min-height: 73px;
}

.brand {
  display: inline-flex;
  min-height: 66px;
  min-width: 231px;
}

.brand img {
  height: 66px;
  object-fit: contain;
  width: 231px;
}

.nav-links {
  display: flex;
  gap: clamp(.8rem, 1.6vw, 1.45rem);
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  color: rgb(255 255 255 / 68%);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: color .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ember, #d89a3d) !important; }

.nav-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: .55rem;
}

.phone,
.reserve-link {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: .8rem 1.05rem;
  white-space: nowrap;
}

.phone {
  background: var(--rice, #fff3e5);
  color: var(--night, #130709);
}

.phone:hover {
  background: var(--ember, #d89a3d);
  color: #fff;
}

.reserve-link {
  background: var(--ember, #d89a3d);
  color: #fff;
  font-weight: 800;
  padding: .82rem 1.05rem;
}

.reserve-link:hover {
  background: var(--rice, #fff3e5);
  color: var(--night, #130709);
}

.mobile-menu { display: none; position: relative; }

.mobile-menu summary {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: .28rem;
  height: 44px;
  justify-content: center;
  list-style: none;
  transition: border-color .18s ease, transform .18s ease;
  width: 44px;
}

.mobile-menu summary::marker,
.mobile-menu summary::-webkit-details-marker { content: ""; display: none; }

.burger-line {
  background: var(--rice, #fff3e5);
  border-radius: 999px;
  height: 2px;
  transition: opacity .18s ease, transform .18s ease;
  width: 18px;
}

.mobile-menu[open] summary {
  border-color: rgb(255 255 255 / 54%);
  transform: rotate(2deg);
}

.mobile-menu[open] .burger-line:first-child { transform: translateY(.38rem) rotate(45deg); }
.mobile-menu[open] .burger-line:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger-line:nth-child(3) { transform: translateY(-.38rem) rotate(-45deg); }

.mobile-menu-panel {
  background: #090c0ffa;
  border: 1px solid var(--line, rgb(226 161 61 / 28%));
  border-radius: .9rem;
  box-shadow: 0 1.2rem 2rem rgb(0 0 0 / 34%);
  display: grid;
  gap: .2rem;
  min-width: 13rem;
  opacity: 0;
  padding: .65rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + .65rem);
  transform: translateY(-.35rem) scale(.96);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 110;
}

.mobile-menu[open] .mobile-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-menu-panel a {
  border-radius: .65rem;
  color: var(--rice, #fff3e5);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .16em;
  padding: .9rem 1rem;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a[aria-current="page"] {
  background: rgb(255 255 255 / 8%);
  color: var(--ember, #d89a3d) !important;
}

.mobile-menu-panel a:hover { transform: translateX(3px); }

.site-footer {
  border-top: 1px solid var(--line, rgb(226 161 61 / 28%));
  color: var(--rice, #fff3e5);
  padding: 2rem 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
}

.site-footer img {
  height: 56px;
  object-fit: contain;
  width: 174px;
}

.site-footer p {
  color: var(--muted, rgb(255 243 229 / 74%));
  margin: 0;
}

.site-footer a {
  color: var(--rice, #fff3e5);
  font-weight: 700;
}

.focus-ring:focus-visible {
  outline: 3px solid var(--gold, #e2a13d);
  outline-offset: 3px;
}

main [id] { scroll-margin-top: 6rem; }

@media (max-width: 1080px) {
  .nav { gap: 1rem; grid-template-columns: 198px minmax(0, 1fr) auto; }
  .brand { min-width: 198px; }
  .brand img { width: 198px; }
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .68rem; letter-spacing: .14em; }
  .phone, .reserve-link { font-size: .92rem; padding-inline: .85rem; }
}

@media (max-width: 760px) {
  .nav { display: flex; gap: .6rem; min-height: 66px; width: min(100% - 1rem, 1200px); }
  .brand { min-height: 57px; min-width: 185px; order: 1; }
  .brand img { height: 57px; width: 185px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu { display: block; margin-left: auto; order: 2; }
  .mobile-menu summary { height: 40px; width: 40px; }
}

@media (max-width: 420px) {
  .brand { min-width: 167px; }
  .brand img { width: 167px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu summary,
  .burger-line,
  .mobile-menu-panel,
  .mobile-menu-panel a { transition: none; }
}
