: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(1rem, 5svh, 4.5rem) 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(1rem, 4svh, 5.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(2.6rem, min(6.75vw, 11svh), 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: 0;
  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: 539px), (max-width: 820px) and (orientation: portrait) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(min(8rem, 18svh), 1fr) auto;
    grid-template-areas: "brand" "notice" "shop" "location";
    max-width: 41rem;
    padding: clamp(.75rem, 2.5svh, 1.45rem) clamp(1rem, 5vw, 2.5rem);
  }

  .brand {
    padding-block: .2rem clamp(.65rem, 2svh, 1.2rem);
  }

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

  .notice {
    padding-block: clamp(.85rem, 3.5svh, 2.3rem) clamp(.75rem, 3svh, 2rem);
  }

  h1 {
    font-size: clamp(2.35rem, min(10.1vw, 9svh), 5rem);
  }

  .actions {
    margin-top: clamp(.65rem, 2.5svh, 1.2rem);
  }

  .shop img {
    object-position: center;
  }

  .shop figcaption {
    padding: .9rem;
  }

  .location {
    margin-top: clamp(.65rem, 2svh, 1.25rem);
    padding-top: clamp(.45rem, 1.6svh, .9rem);
  }
}

@media (max-height: 580px) {
  .label {
    display: none;
  }

  .notice p,
  .location {
    line-height: 1.4;
  }
}

@media (min-width: 540px) and (max-height: 550px) and (orientation: landscape) {
  .layout {
    column-gap: clamp(.85rem, 3vw, 3.25rem);
    padding: clamp(.5rem, 3svh, 1.35rem) clamp(.9rem, 3vw, 2.5rem);
  }

  .brand {
    padding-block: 0 .55rem;
  }

  .brand img {
    width: min(100%, 215px, 41svh);
  }

  .notice {
    padding-block: clamp(.55rem, 2.5svh, .95rem);
  }

  h1 {
    font-size: clamp(2rem, min(6.75vw, 11svh), 4.5rem);
  }

  .actions {
    gap: .3rem .65rem;
    margin-top: clamp(.55rem, 2.5svh, 1rem);
  }

  .primary {
    padding-inline: .85rem;
  }

  .location {
    padding-top: .45rem;
  }

  .shop figcaption {
    padding: .75rem;
  }
}
