.prices-panel {
  --brass-rule: #c9b99f;
  --paper-ink: #3b2d26;
  padding: clamp(28px, 3.8vw, 65px) var(--edge) clamp(44px, 5.4vw, 84px);
  color: var(--paper-ink);
  background-color: #f2ece2;
  background-image: url("assets/images/plaster.png"),
    linear-gradient(115deg, #f8f4ec, #efe8dc 80%, #e9dfd2);
  border-top: 1px solid #d7cbbb;
  box-shadow: inset 0 1px 0 #fffcf6;
}
.prices-panel > .inside { max-width: 1410px; }
.prices-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr);
  align-items: start;
  gap: clamp(30px, 4vw, 72px);
}
.price-main, .price-leaf { min-width: 0; }
.price-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2.4vw, 36px);
  margin-bottom: clamp(16px, 1.6vw, 26px);
}
.price-heading h2 {
  font-size: clamp(54px, 5.5vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
}
.price-heading::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: clamp(70px, 8vw, 124px);
  background: url("assets/images/butterfly-relief.webp") left center / contain no-repeat;
}
.price-status {
  grid-column: 3;
  align-self: end;
  margin-bottom: 5px;
  text-align: right;
  color: #674f49;
  font: 400 13px/1.4 var(--sans);
}
.price-sheet {
  background: #fbf8f1;
  border: 1px solid #d7cbb9;
  border-top-color: #faf6ef;
  box-shadow: inset 0 1px 0 #fffefa, 0 2px 3px #5e453015, 0 10px 22px -14px #664b3940;
  padding: clamp(20px, 2.2vw, 34px);
}
.price-leaves {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.price-leaf:first-child { padding-right: clamp(14px, 2vw, 32px); }
.price-leaf + .price-leaf {
  border-left: 1px solid #decfb9;
  padding-left: clamp(14px, 2vw, 32px);
}
.price-leaf table {
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-collapse: collapse;
}
.price-leaf caption {
  color: var(--wine);
  text-align: left;
  font: 600 clamp(35px, 3.2vw, 53px)/1 var(--serif);
  letter-spacing: -.04em;
  margin: 0 0 19px;
}
.price-leaf th, .price-leaf td { padding: 13px 0 13px 6px; white-space: nowrap; }
.price-leaf th:first-child { padding-left: 0; text-align: left; }
.price-leaf thead th {
  padding-block: 8px;
  border-block: 1px solid #cfbea4;
  font: 400 12px/1.4 var(--sans);
  color: #65574d;
}
.price-leaf tbody th, .price-leaf tbody td {
  border-bottom: 1px solid #e2d6c4;
  font-size: clamp(14px, 1.12vw, 18px);
  font-weight: 400;
}
.price-leaf tbody td:last-child { color: #673e42; font-weight: 600; }
.first-visit {
  margin-top: 17px;
  color: #624b40;
  font: 400 13px/1.55 var(--sans);
}
.first-visit strong { display: block; color: var(--wine); font-weight: 600; margin-bottom: 3px; }
.first-visit span { display: inline-block; white-space: nowrap; }
.rate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(20px, 2vw, 32px);
}
.rate-actions p {
  font: 400 13px/1.5 var(--sans);
  color: #67574e;
}
.rate-actions .button { flex: none; }
.visit-note {
  margin-top: clamp(14px, 2vw, 32px);
}

.visit-copy { padding-top: 20px; }

.visit-copy h3 {
  margin-top: 4px;
  font: 600 clamp(38px, 3.7vw, 61px)/1.03 var(--serif);
  letter-spacing: -.045em;
}
.visit-copy .caution { margin: 10px 0 6px; max-width: 31ch; font-size: 15px; line-height: 1.55; }
.visit-copy .inline { min-height: 44px; color: var(--wine); border-color: #b48f80; }

@media (min-width: 901px) and (max-width: 1100px) {
  .prices-layout { gap: 24px; grid-template-columns: minmax(0, 2.55fr) minmax(210px, 1fr); }
  .price-sheet { padding: 20px 15px; }
  .price-leaf:first-child { padding-right: 13px; }
  .price-leaf + .price-leaf { padding-left: 13px; }
}

@media (max-width: 900px) {
  .prices-layout { display: block; }
  .visit-note {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(18px, 4vw, 36px);
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--brass-rule);
  }
  .visit-copy { padding-top: 0; }
}
@media (max-width: 650px) {
  .price-heading { margin-bottom: 15px; }
  .price-status { max-width: 12ch; align-self: center; margin: 0; font-size: 12px; }
  .price-sheet { padding: 22px clamp(14px, 5vw, 25px); }
  .price-leaves { display: block; }
  .price-leaf:first-child { padding-right: 0; }
  .price-leaf + .price-leaf { border: 0; padding-left: 0; margin-top: 28px; }
  .price-leaf caption { font-size: 36px; margin-bottom: 13px; }
  .price-leaf th, .price-leaf td { padding-block: 10px; }
  .price-leaf thead th { padding-block: 7px; }
  .price-leaf tbody th, .price-leaf tbody td { font-size: 15px; }
  .first-visit { margin-top: 13px; }
  .rate-actions { align-items: start; flex-direction: column; gap: 12px; }
  .visit-note { margin-top: 28px; gap: 16px; }

  .visit-copy h3 { font-size: 34px; }
  .visit-copy .caution { font-size: 14px; }
}
@media (max-width: 440px) {
  .visit-note { display: block; }

  .visit-copy { padding-top: 16px; }
}

/* Internal links move keyboard focus to a landmark. Mark its heading there. */
.prices-panel:focus-visible, .visit-note:focus-visible { outline: none; }
.prices-panel:focus-visible .price-heading h2,
.visit-note:focus-visible .visit-copy h3 {
  text-decoration: underline;
  text-decoration-color: #aa8a63;
  text-decoration-thickness: 2px;
  text-underline-offset: .14em;
}
