* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #fff;
  background: #24201b;
  font: 300 1rem/1.65 Merriweather, Georgia, serif;
}
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 기존 로고와 소셜 링크를 첫 화면 상단에 배치합니다. */
.site-header {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(#17130ed9, transparent);
}
.site-header img { display: block; }
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .15rem 1rem;
  font-family: "Exo 2", sans-serif;
}
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.hero, .panel { position: relative; }
.hero > img {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
}
.panel {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 5.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(#16100d40, #16100d70), var(--panel-image) center / cover no-repeat;
}
.roll { --panel-image: url("main_bg_002-1.jpg"); }
.menu { --panel-image: url("main_bg_003.jpg"); }
.customers { --panel-image: url("main_bg_004.jpg"); }
.contact { --panel-image: url("main_bg_005.jpg"); }

.section-content { width: min(100%, 72rem); }
.script-title {
  margin: 0 0 .65rem;
  font: 400 clamp(2.5rem, 7vw, 3rem)/1.15 Parisienne, cursive;
}
h2, h3 { text-transform: uppercase; }
h2 {
  margin: 0;
  font: 700 clamp(1.65rem, 5vw, 2.4rem)/1.25 "Exo 2", sans-serif;
  letter-spacing: .04em;
}
h3 {
  margin: 0;
  font: 600 clamp(1.05rem, 2.3vw, 1.4rem)/1.3 "Exo 2", sans-serif;
}
h3::after, .menu-counts span::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: .8rem auto;
  background: currentColor;
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.25rem;
  margin: clamp(2rem, 6vw, 4.4rem) 0 0;
}
.features img { display: block; margin: 0 auto 1rem; }
.features p, .contact-details p { margin: 0; }
.contact-details p + p { margin-top: 1rem; }
.contact-details address { font-style: normal; }
.menu-counts {
  list-style: none;
  padding: 0;
  font: 400 1rem/1.5 "Arbutus Slab", Georgia, serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.menu-counts span {
  display: block;
  font: 400 4.5rem/1 Parisienne, cursive;
  letter-spacing: normal;
}

.reviews { max-width: 54rem; margin: 2.5rem auto 0; }
.reviews figure { margin: 0 0 1.5rem; }
.reviews blockquote { margin: 0; font-size: clamp(1rem, 2.3vw, 1.25rem); }
.reviews figcaption { margin-top: .8rem; }
.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.review-controls button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.review-controls [aria-pressed]::before {
  content: "";
  display: inline-block;
  width: .65rem;
  height: .65rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.review-controls [aria-pressed="true"]::before { background: currentColor; }
.review-controls .toggle-reviews { padding: 0 .5rem; text-decoration: underline; }

.section-link {
  position: absolute;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateX(-50%);
  background: #1e1915b5;
  border-radius: 50%;
}
.section-link::after {
  content: "";
  width: .6rem;
  height: .6rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.section-link.previous { top: 1rem; }
.section-link.previous::after { transform: translateY(2px) rotate(225deg); }
.section-link.next { bottom: 1rem; }
footer { padding: 1rem; text-align: center; }

/* 좁은 화면에서는 행사 이미지가 잘리지 않도록 배치합니다. */
@media (max-aspect-ratio: 8/5) {
  .hero {
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: 5.5rem 0 4.5rem;
  }
  .hero > img { height: auto; }
}
@media (max-width: 52rem) {
  .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 25rem) {
  .features, .contact-details { grid-template-columns: 1fr; }
  .site-header nav { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
