:root {
  --black: #101010;
  --black-soft: #171716;
  --white: #f7f5ef;
  --paper: #f4f1eb;
  --line: rgba(255, 255, 255, 0.62);
  --dark-line: rgba(25, 25, 25, 0.42);
  --gold: #b78a4f;
  --content: 888px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0;
}

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

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

.site-header {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 230px 1fr 116px 42px;
  gap: 28px;
  align-items: center;
  width: min(1055px, 100%);
  padding: 33px 44px 0;
  transform: translateX(-50%);
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: fit-content;
}

.brand span,
.footer-brand span {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 0.9;
  transform: rotate(-4deg);
}

.brand small,
.footer-brand small {
  align-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.32em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.main-nav a {
  padding-bottom: 7px;
}

.main-nav .active {
  border-bottom: 1px solid var(--line);
}

.reserve-outline {
  display: grid;
  place-items: center;
  height: 37px;
  border: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.82) 22%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.18) 100%),
    #0b0907;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/winebar-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 88px));
  margin-inline: auto;
  padding-top: 147px;
}

.hero h1 {
  margin: 0 0 31px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.14em;
}

.hero-copy p {
  margin: 0 0 35px;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 180px;
  height: 43px;
  padding-inline: 31px;
  border: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.button.light {
  width: 207px;
  border-color: var(--dark-line);
  color: #202020;
}

.button span,
.view-all span,
.web-reserve span {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.button span::after,
.view-all span::after,
.web-reserve span::after {
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.scroll-label {
  position: absolute;
  left: 31px;
  bottom: 36px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.scroll-label::before {
  display: block;
  width: 1px;
  height: 33px;
  background: var(--line);
  content: "";
}

.about {
  display: grid;
  grid-template-columns: 36.5% 63.5%;
  min-height: 333px;
}

.about-copy {
  padding: 39px 48px 34px 83px;
  background: var(--paper);
  color: #202020;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow span {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.dark-text {
  color: #202020;
}

.about h2,
.menu-intro h2 {
  margin: 0 0 27px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.keep-line {
  display: inline-block;
  white-space: nowrap;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 25px;
  font-size: 11px;
  line-height: 2.05;
}

.about > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-section {
  display: grid;
  grid-template-columns: 29% 1fr;
  gap: 36px;
  padding: 43px 52px 39px 83px;
  background:
    radial-gradient(circle at 16% 30%, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--black-soft);
}

.menu-intro p:not(.eyebrow) {
  margin: 0 0 30px;
  font-size: 11px;
  line-height: 2.05;
}

.menu-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 13px;
  align-self: end;
  padding-right: 32px;
}

.menu-cards article img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.menu-cards h3 {
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 400;
}

.menu-cards p {
  margin: 0;
  font-size: 9px;
}

.slider-buttons {
  position: absolute;
  right: 0;
  bottom: 2px;
  display: flex;
  gap: 9px;
}

.slider-buttons span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.wine-reserve {
  display: grid;
  grid-template-columns: 42% 29% 29%;
  align-items: stretch;
  background: #121211;
  color: var(--white);
}

.wine-panel {
  grid-column: 1;
  grid-row: 1;
  padding: 39px 52px 35px 83px;
  min-width: 0;
}

.wine-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.wine-panel p:not(.eyebrow) {
  margin: 0 0 22px;
  font-size: 11px;
  line-height: 2.05;
}

.wine-reserve > img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 199px;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}

.reserve-panel {
  grid-column: 3;
  grid-row: 1;
  background: var(--paper);
  color: #202020;
  padding: 39px 58px;
  min-width: 0;
}

.glass-icon {
  width: 18px;
  height: 42px;
  margin-bottom: 13px;
  border: 1px solid #57534e;
  border-top-width: 2px;
  border-radius: 7px 7px 12px 12px;
}

.reserve-panel > p:not(.eyebrow):not(.tel) {
  margin: 0 0 17px;
  font-size: 11px;
  line-height: 1.9;
}

.web-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 140px;
  height: 27px;
  margin-bottom: 15px;
  padding-inline: 18px;
  background: #111;
  color: var(--white);
  font-size: 10px;
}

.tel {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tel strong {
  font-size: 18px;
  font-weight: 400;
}

.reserve-panel small {
  font-size: 10px;
}

.footer {
  display: grid;
  grid-template-columns: 180px 240px 180px 160px;
  gap: 64px;
  align-items: start;
  padding: 28px 84px 29px;
  background: #111;
}

.footer-brand span {
  font-size: 24px;
}

.address p {
  margin: 0 0 9px;
  font-size: 11px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 70px);
  gap: 9px 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.social p {
  margin: 0 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.social div {
  display: flex;
  gap: 22px;
  align-items: center;
}

.social a {
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
}

@media (min-width: 1200px) {
  body {
    max-width: 1055px;
    margin-inline: auto;
  }
}

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

  .main-nav,
  .reserve-outline {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-bg {
    inset: 0;
    opacity: 0.8;
  }

  .hero-copy {
    width: calc(100% - 48px);
    padding-top: 150px;
  }

  .about,
  .menu-section,
  .wine-reserve,
  .footer {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .menu-section,
  .wine-panel,
  .reserve-panel,
  .footer {
    padding-inline: 28px;
  }

  .wine-panel,
  .wine-reserve > img,
  .reserve-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .menu-cards {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
  }

  .slider-buttons {
    display: none;
  }

  .footer {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-copy p,
  .about-copy > p:not(.eyebrow),
  .menu-intro p:not(.eyebrow) {
    font-size: 10px;
  }

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

  .wine-panel h2 {
    font-size: 22px;
  }
}
