/* 여주목마 — 한옥마을 문법 × 럭셔리 여행 브랜드 톤 */

.page-intro {
  --util-h: 0px;
  --header-offset: 72px;
  --ink: #2a211c;
  --wood: #5c4638;
  --wood-deep: #3f2e24;
  --paper: #f7f3ed;
  --paper-deep: #ebe4da;
  --cinnabar: #8f3a2f;
  --bronze: #a6844a;
  --mute: rgba(42, 33, 28, 0.62);
  background: var(--paper);
  color: var(--ink);
}

.page-intro .site-header--intro {
  top: 0;
  height: 72px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(22, 16, 12, 0.72) 0%,
    rgba(22, 16, 12, 0.38) 55%,
    rgba(22, 16, 12, 0) 100%
  );
  border: 0;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.page-intro .site-header--intro.is-solid {
  background: rgba(247, 243, 237, 0.96);
  color: var(--ink);
  border-bottom: 1px solid rgba(63, 46, 36, 0.1);
  backdrop-filter: blur(14px);
  text-shadow: none;
}

.page-intro .site-header--intro:not(.is-solid) .nav a {
  color: #fff;
  opacity: 0.95;
}

.page-intro .site-header--intro:not(.is-solid) .nav a:hover,
.page-intro .site-header--intro:not(.is-solid) .nav a.is-active {
  color: #fff;
  opacity: 1;
}

.page-intro .site-header--intro:not(.is-solid) .menu-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.page-intro .site-header--intro.is-solid .menu-btn {
  color: var(--ink);
  border-color: rgba(63, 46, 36, 0.18);
}

.page-intro .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.page-intro .logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.page-intro .logo span,
.page-intro .logo__mark {
  display: none;
}

.page-intro .logo .logo__word {
  display: inline;
}

.page-intro .nav-cta {
  display: inline-flex !important;
  padding: 0.45rem 0.95rem !important;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
}

.page-intro .site-header--intro.is-solid .nav-cta {
  background: var(--wood-deep);
  border-color: transparent !important;
  color: #fff !important;
}

.page-intro .nav {
  gap: 1.6rem;
}

.page-intro .nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.page-intro .site-header--intro.is-solid .nav a:hover,
.page-intro .site-header--intro.is-solid .nav a.is-active {
  color: var(--cinnabar);
  opacity: 1;
}

/* ——— Gate ——— */
.gate {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.gate__media {
  position: absolute;
  inset: 0;
}

.gate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 34%;
  transform: scale(1.05);
  animation: heroZoom 24s ease-out forwards;
  filter: saturate(0.92) contrast(1.04);
}

.gate__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 10, 0.62) 0%, rgba(28, 20, 16, 0.18) 42%, rgba(28, 20, 16, 0.82) 100%),
    linear-gradient(90deg, rgba(28, 20, 16, 0.55) 0%, transparent 58%);
}

.gate__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 40rem;
  opacity: 0;
  animation: rise 1.1s 0.15s ease forwards;
}

.gate__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.gate__place {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  color: #dfc39a;
  font-weight: 500;
  text-indent: 0.42em;
}

.gate__content h1 {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 12vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-indent: 0.2em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.gate__line {
  margin: 1.5rem auto 0;
  max-width: 18rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  line-height: 1.75;
  color: rgba(255, 248, 240, 0.92);
  position: relative;
  padding-top: 1.35rem;
  font-weight: 500;
}

.gate__support {
  margin: 1rem auto 0;
  max-width: 20rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(255, 248, 240, 0.7);
  font-weight: 400;
}

.gate__cta {
  margin: 1.35rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.gate__cta-ghost {
  border-color: rgba(255, 248, 240, 0.45);
  color: #fff;
  background: transparent;
}

.gate__cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gate__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 1px;
  transform: translateX(-50%);
  background: #dfc39a;
}

.gate__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(255, 248, 240, 0.62);
  font-weight: 500;
}

.gate__scroll:hover {
  color: #fff;
}

/* ——— Menus ——— */
.menus {
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4.5rem) 5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(166, 132, 74, 0.06), transparent 70%),
    var(--paper);
}

.menus__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.menus__head p {
  margin: 0;
  color: var(--bronze);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  text-indent: 0.28em;
}

.menus__head h2 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--wood-deep);
}

.menus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .menus__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .menus__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.menu-card {
  display: grid;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 0 rgba(63, 46, 36, 0.06), 0 18px 40px rgba(63, 46, 36, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: inherit;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(63, 46, 36, 0.06), 0 28px 60px rgba(63, 46, 36, 0.12);
}

.menu-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}

.menu-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 20, 16, 0.28) 100%);
  pointer-events: none;
}

.menu-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: saturate(0.95);
}

.menu-card:hover .menu-card__photo img {
  transform: scale(1.04);
}

.menu-card__body {
  padding: 1.35rem 1.2rem 1.5rem;
  text-align: center;
}

.menu-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.menu-card__body p {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  color: var(--mute);
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.menus__foot {
  margin: 3rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--mute);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}

.menus__foot a {
  color: var(--wood-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(63, 46, 36, 0.2);
  padding-bottom: 0.1rem;
}

.menus__foot a:hover {
  border-bottom-color: var(--cinnabar);
  color: var(--cinnabar);
}

.menus__foot .menus__book {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border: 0;
  background: var(--wood-deep);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.menus__foot .menus__book:hover {
  background: var(--wood);
  color: #fff;
  border-bottom: 0;
}

.crop-horse {
  object-position: 90% 28% !important;
}

.crop-pool {
  object-position: 30% 90% !important;
}

@media (prefers-reduced-motion: reduce) {
  .gate__content,
  .gate__media img,
  .menu-card,
  .menu-card__photo img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
