:root {
  color-scheme: light;
  --ink: #1c211c;
  --muted: #647064;
  --paper: #fbfaf6;
  --soft: #eee8dc;
  --line: #ded6c8;
  --forest: #24483b;
  --leaf: #6f8a52;
  --clay: #b85f3d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(31, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 214, 200, 0.78);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a,
.header-button,
.primary-button,
.secondary-button,
.reservation-form button {
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--forest);
}

.header-button,
.primary-button,
.secondary-button,
.reservation-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-button {
  padding: 0 16px;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #20251f;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 27, 21, 0.78), rgba(20, 27, 21, 0.2)),
    linear-gradient(0deg, rgba(20, 27, 21, 0.55), rgba(20, 27, 21, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 9vh, 96px) clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c5a7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
}

h3 {
  font-size: 21px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  padding: 0 20px;
}

.primary-button {
  background: var(--white);
  color: var(--forest);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: var(--white);
}

.header-button:hover,
.primary-button:hover,
.secondary-button:hover,
.reservation-form button:hover {
  transform: translateY(-2px);
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 8vw, 96px);
  align-items: start;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.menu-section {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-item {
  overflow: hidden;
  border: 1px solid rgba(222, 214, 200, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 33, 28, 0.08);
}

.menu-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-item div {
  padding: 20px;
}

.menu-item p {
  min-height: 52px;
  margin: 10px 0 16px;
  color: var(--muted);
}

.menu-item span {
  color: var(--forest);
  font-weight: 900;
}

.visit {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.visit-panel,
.reservation-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visit-panel {
  padding: clamp(24px, 5vw, 42px);
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}

.info-list dt {
  color: var(--leaf);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.reservation-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 5vw, 36px);
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

.reservation-form button {
  min-height: 50px;
  border: 0;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 26px;
  margin: 0;
  color: var(--clay);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin: 0 18px 42px;
  }

  .intro,
  .visit {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-item {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 0.55fr);
  }

  .menu-item img {
    height: 100%;
    min-height: 184px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .header-button {
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(20, 27, 21, 0.84), rgba(20, 27, 21, 0.18)),
      linear-gradient(90deg, rgba(20, 27, 21, 0.5), rgba(20, 27, 21, 0.08));
  }

  h1 {
    font-size: 42px;
  }

  .hero-content > p:not(.eyebrow),
  .intro > p {
    font-size: 17px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item p {
    min-height: 0;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
