:root {
  color-scheme: dark;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.65);
  --card-bg: rgba(20, 12, 8, 0.72);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Segoe UI", Arial, sans-serif;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-600.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-700.ttf") format("truetype");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/raleway-400.ttf") format("truetype");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/raleway-500.ttf") format("truetype");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/raleway-600.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  background: #15100c;
}

body {
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.background,
.shade {
  position: fixed;
  inset: -22px;
  z-index: -2;
}

.background {
  background: url("../images/background.jpg") center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.04);
}

.shade {
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(12, 10, 7, 0.12) 0, rgba(12, 8, 5, 0.45) 70%),
    linear-gradient(rgba(7, 6, 4, 0.42), rgba(7, 5, 3, 0.57));
}

.content {
  width: min(1260px, calc(100% - 92px));
  margin: 0 auto;
  padding: clamp(30px, 4vh, 52px) 0;
}

.hero {
  transform: translateY(-10px);
  text-align: center;
}

.hero__logo-frame {
  display: block;
  width: clamp(180px, 12vw, 220px);
  height: clamp(86px, 5.8vw, 105px);
  margin: 0 auto clamp(13px, 1.8vh, 22px);
  overflow: hidden;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 2.65vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero p {
  margin: clamp(10px, 1.4vh, 16px) auto clamp(22px, 2.8vh, 34px);
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

.brand-notes {
  position: absolute;
  top: 58px;
  z-index: 1;
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-notes--left {
  left: 4vw;
}

.brand-notes--left span::before {
  content: "";
  display: inline-block;
  width: 29px;
  margin-right: 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.brand-notes--right {
  right: 4.4vw;
  gap: 1px;
  font: italic 500 17px/1.18 var(--sans);
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.brand-notes--right::before,
.brand-notes--right::after {
  content: "";
  width: 52px;
  border-top: 1px solid var(--line);
}

.brand-notes--right::before {
  position: absolute;
  left: -68px;
  top: 12px;
}

.brand-notes--right::after {
  justify-self: end;
  margin-top: 14px;
}

.restaurants {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 22px);
  margin-top: 10px;
}

.restaurant-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.restaurant-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  text-decoration: none;
}

.restaurant-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.restaurant-card:first-child .restaurant-card__photo {
  object-position: 53% center;
}

.restaurant-card:nth-child(2) .restaurant-card__photo {
  object-position: 54% center;
}

.restaurant-card:last-child .restaurant-card__photo {
  object-position: 52% center;
}

.restaurant-card__visual:hover .restaurant-card__photo {
  transform: scale(1.035);
}

.restaurant-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 72%, rgba(4, 3, 2, 0.18));
}

.restaurant-card__details {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 8px;
  padding: 18px 26px 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
}

.restaurant-card__body {
  position: relative;
  min-height: 88px;
  padding-right: 96px;
}

.restaurant-card__info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.restaurant-card__branch-logo {
  position: absolute;
  right: -43px;
  bottom: 3px;
  display: block;
  width: 170px;
  height: auto;
}

.detail-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.4;
  text-decoration: none;
}

.detail-row address {
  font-style: normal;
}

.detail-row__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

a.detail-row {
  transition: opacity 0.2s ease;
}

a.detail-row:hover {
  opacity: 0.72;
}

.visit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-width: 160px;
  margin: auto auto 0;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.21em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.visit-button span {
  font-size: 24px;
  font-weight: 200;
  line-height: 0;
}

.visit-button:hover,
.visit-button:focus-visible {
  color: #1a110c;
  background: #fff;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .brand-notes {
    display: none;
  }

  .content {
    width: min(1080px, calc(100% - 40px));
  }

  .restaurant-card__details {
    padding-inline: 22px;
  }
}

@media (min-width: 860px) and (max-height: 850px) {
  .content {
    padding-block: 14px 20px;
  }

  .hero__logo-frame {
    width: 162px;
    height: 76px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(28px, 2.4vw, 38px);
  }

  .hero p {
    margin: 5px auto 14px;
    font-size: clamp(15px, 1.15vw, 18px);
  }

  .restaurant-card__details {
    min-height: 170px;
    gap: 6px;
    padding-block: 14px;
  }

  .detail-row {
    font-size: 12px;
    line-height: 1.28;
  }

  .visit-button {
    padding-block: 7px;
  }
}

@media (max-width: 859px) {
  .landing {
    display: block;
    overflow: visible;
  }

  .content {
    width: min(620px, calc(100% - 28px));
    padding-block: 22px 34px;
  }

  .hero__logo-frame {
    width: 150px;
    height: 72px;
    margin-bottom: 8px;
  }

  .hero {
    transform: none;
  }

  .hero h1 {
    font-size: clamp(29px, 7.6vw, 39px);
  }

  .hero p {
    font-size: clamp(16px, 4.2vw, 20px);
  }

  .hero p {
    white-space: normal;
  }

  .restaurants {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .restaurant-card__visual {
    aspect-ratio: 16 / 9;
  }

  .restaurant-card__details {
    min-height: 205px;
    padding: 22px 28px;
  }

  .restaurant-card__body {
    min-height: 84px;
    padding-right: 105px;
  }

  .restaurant-card__branch-logo {
    right: -26px;
    width: 170px;
  }

  .detail-row {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .content {
    width: calc(100% - 20px);
  }

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

  .restaurant-card__details {
    padding-inline: 20px;
  }

  .detail-row {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
  }

  .restaurant-card__body {
    min-height: 0;
    padding-right: 0;
  }

  .restaurant-card__branch-logo {
    position: static;
    width: 90px;
    margin: 4px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
