:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --olive: #717723;
  --olive-dark: #53571a;
  --ink: #24251a;
  --muted: #56564a;
  --line: #d8d1c2;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

body {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--olive-dark);
  outline-offset: 5px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "brand shop"
    "notice shop"
    "location shop";
  gap: 0 clamp(3rem, 7vw, 8rem);
  min-height: 100svh;
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4.3vw, 4.5rem);
}

.brand {
  grid-area: brand;
  align-self: start;
  padding-block: .7rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: min(100%, 240px);
  height: auto;
}

.notice {
  grid-area: notice;
  align-self: center;
  padding-block: clamp(3rem, 6vw, 6.5rem);
}

.label {
  color: var(--olive-dark);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: .24em 0 .26em;
  font-family: "Baskerville", Georgia, serif;
  font-size: clamp(3.65rem, 6.75vw, 7rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.055em;
}

.notice p {
  max-width: 33ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.35rem;
  align-items: center;
  margin-top: 1.8rem;
}

.actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: .45rem;
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
}

.primary {
  padding: .7rem 1.2rem;
  border-radius: 3px;
  background: var(--olive-dark);
  color: #fff;
}

.primary:hover {
  background: #434711;
}

.secondary,
.location a {
  color: var(--olive-dark);
}

.secondary:hover,
.location a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.shop {
  position: relative;
  grid-area: shop;
  display: grid;
  min-height: 31rem;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #d4c4ad;
}

.shop::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgb(15 12 7 / 82%));
  content: "";
}

.shop img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}

.shop figcaption {
  z-index: 1;
  align-self: end;
  padding: 1.6rem;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .04em;
}

.location {
  grid-area: location;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.65;
}

.location a {
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 820px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "brand" "notice" "shop" "location";
    max-width: 41rem;
    padding: 1.45rem clamp(1.15rem, 5vw, 2.5rem) 1.65rem;
  }

  .brand {
    padding-block: .2rem 1.2rem;
  }

  .brand img {
    width: min(100%, 211px);
  }

  .notice {
    padding-block: 2.3rem 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 10.1vw, 5rem);
  }

  .actions {
    margin-top: 1.2rem;
  }

  .shop {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .shop img {
    object-position: center;
  }

  .shop figcaption {
    padding: .9rem;
  }

  .location {
    margin-top: 1.25rem;
  }
}
