@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

:root {
  --bg: #F5F1EC;
  --bg-alt: #EDE8E1;
  --text: #1C1C1C;
  --text-secondary: #6B6560;
  --text-tertiary: #9B9590;
  --border: #E5DFD9;
  --border-light: #EDE8E3;
  --accent: #C49A3C;
  --accent-dark: #A07D2E;
  --accent-light: #F5EDD6;
  --ok: #2D6B3F;
  --ok-bg: #E8F3EC;
  --closed: #B33A3A;
  --closed-bg: #FDF0EF;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1120px;
  --gutter: 40px;
  --duration: 200ms;
  --easing: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--accent-light);
  color: var(--text);
}

.container {
  width: min(var(--max-width), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.container--narrow {
  width: min(900px, calc(100% - var(--gutter)));
}

.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }

.header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.brand__logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.brand__tagline {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--duration) var(--easing);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--easing);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--text);
}

.nav__link--active::after {
  width: 100%;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration) var(--easing);
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--text-secondary);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--primary:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
}

.btn--outline {
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn--outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.link {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--easing);
}

.link:hover {
  color: var(--accent-dark);
}

.link--arrow::after {
  content: ' →';
  transition: margin-left var(--duration) var(--easing);
}

.link--arrow:hover::after {
  margin-left: 4px;
}

.hero {
  padding: 3.5rem 0 2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  max-width: 55ch;
}

.details {
  display: grid;
  gap: 1.5rem;
}

.detail {
  padding-left: 1rem;
  border-left: 2px solid var(--accent-light);
}

.detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 0.25rem;
}

.detail__value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  font-style: normal;
  display: block;
}

.detail__value--tel {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration) var(--easing);
}

.detail__value--tel:hover {
  border-color: var(--accent-light);
}

.detail__hint {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
  display: block;
}

.detail__action {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  transition: color var(--duration) var(--easing);
}

.detail__action:hover {
  color: var(--accent-dark);
}

.schedule {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.schedule__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.schedule__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
}

.schedule__body {
  display: grid;
  gap: 0;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.schedule__row:last-child {
  border-bottom: none;
}

.schedule__day {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.schedule__time {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.schedule__row--open .schedule__time {
  color: var(--accent);
  font-weight: 600;
}

.schedule__row--open .schedule__day::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  margin-left: 0.5rem;
  vertical-align: middle;
  opacity: 0.7;
}

.schedule__note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 1rem 0 0;
  font-style: italic;
}

.status {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

.status--open {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.status--closed {
  background: var(--closed-bg);
  border-color: #E8B4B4;
  color: var(--closed);
}

.info {
  padding: 1rem 0 4rem;
}

.about {
  margin-bottom: 2.5rem;
  max-width: 52rem;
}

.about__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.about__text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about__text strong {
  color: var(--text);
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.info__item p {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
}

.info__item p strong {
  color: var(--text);
}

.reviews {
  padding: 0 0 4rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.reviews__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.reviews__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

.reviews__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews__qr {
  text-align: center;
}

.reviews__qr-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 0.75rem;
}

.reviews__qr-img {
  width: min(200px, 100%);
  height: auto;
  background: white;
  padding: 0.75rem;
  border: 1px solid var(--border);
}

.page {
  padding: 3rem 0 5rem;
}

.page__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.page__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  max-width: 48ch;
}

.page__section {
  margin-top: 2.5rem;
}

.page__section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--text);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding-top: 0;
}

.table td {
  color: var(--text-secondary);
  vertical-align: top;
  padding-top: 0.75rem;
}

.table td:last-child {
  text-align: right;
  vertical-align: top;
  font-weight: 600;
  color: var(--text);
}

.table th:last-child {
  text-align: right;
}

.table tbody tr:hover td {
  color: var(--text);
}

.price {
  white-space: nowrap;
  font-weight: 600;
}

.menu {
  display: grid;
  gap: 0;
}

.menu__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.menu__item:first-child {
  padding-top: 0;
}

.menu__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.menu__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
}

.menu__price {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  white-space: nowrap;
}

.menu__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.125rem;
}

.footer__address {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer__sep {
  color: var(--text-tertiary);
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 880px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand__logo {
    width: 160px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 24px;
  }

  .hero {
    padding: 2rem 0 1rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .brand__logo {
    width: 140px;
  }

  .nav {
    gap: 1rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__link {
    white-space: nowrap;
  }

  .reviews__actions {
    flex-direction: column;
  }

  .reviews__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .menu__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .page {
    padding: 2rem 0 3rem;
  }

  .detail__value--tel {
    font-size: 1.25rem;
  }

  .footer {
    margin-top: 2rem;
  }
}
