/* ==========================================================================
   Home — the page's sections: hero, about, menu, and visit.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 96px;
}

.hero-description {
  max-width: 440px;
  color: var(--body);
  font-size: 1.08rem;
}

/* The photo sits on an offset gold frame. */
.hero-photo {
  position: relative;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-display);
}

.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 950 / 1280;
  object-fit: cover;
  box-shadow: 0 24px 48px -24px rgba(28, 42, 74, 0.35);
}

/* Section headings -------------------------------------------------------- */

.section-head {
  margin-bottom: 64px;
  text-align: center;
}

/* Short gold rule under each section heading. */
.section-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold-display);
}

/* About ------------------------------------------------------------------- */

.about {
  text-align: center;
}

.about-logo {
  position: relative;
  max-width: 620px;
  margin: 0 auto 56px;
  padding: 56px 48px;
  background: var(--sand);
}

.about-logo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-display);
  pointer-events: none;
}

.about-logo img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.about p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--body);
  font-size: 1.12rem;
}

/* Menu -------------------------------------------------------------------- */

.menu {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 88px;
}

.menu-category h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.7rem;
  font-weight: 600;
}

/* "Signature" tag beside a category name. Typed in sentence case. */
.menu-tag {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-item + .menu-item {
  margin-top: 18px;
}

/* Name, dotted leader, price. The leader is drawn in CSS and sits between
   the two through flex order. */
.menu-item-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
}

.menu-item-line::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted var(--line);
}

.menu-price {
  order: 2;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.menu-item-note {
  color: var(--muted);
  font-size: 0.88rem;
}

/* The signature category spans the grid on a sand panel. */
.menu-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 0 88px;
  padding: 44px 48px;
  background: var(--sand);
}

.menu-featured h3 {
  grid-column: 1 / -1;
}

.menu-lead {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}

/* Visit ------------------------------------------------------------------- */

.visit {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.visit-heading p:last-child {
  max-width: 360px;
  margin-top: 18px;
  color: var(--body);
}

.visit-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 56px;
  padding: 44px 40px;
  background: var(--sand);
}

.detail-label {
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 600;
}

.detail address {
  font-size: 1.05rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours dt {
  color: var(--muted);
  white-space: nowrap;
}

.hours dd {
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }

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

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  /* Leaves room for the offset frame so it never causes sideways scroll. */
  .hero-photo {
    margin-right: 18px;
  }

  .about-logo {
    padding: 36px 24px;
  }

  .menu-grid,
  .menu-featured,
  .visit {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .menu-featured {
    gap: 0;
    padding: 32px 24px;
  }

  .menu-lead {
    margin-bottom: 20px;
  }

  .visit-details {
    padding: 32px 24px;
  }

  /* On the narrowest phones the day names may need to wrap. */
  .hours dt {
    white-space: normal;
  }
}
