*,
::before,
::after {
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    1rem / 1.55 "Instrument Sans",
    sans-serif;
}
h1,
h2,
h3,
p,
dl,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
.brand {
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
/* The h2 of a page section is 28 to 40 px. Inside a card or a box it is the 20 px h3 size. */
h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
:is(.card, .panel, .rows) h2 {
  font-size: 1.25rem;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
.lead {
  color: var(--muted);
}
.block {
  display: block;
}
.block[hidden] {
  display: none;
}
.muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.free {
  color: var(--accent);
  font-weight: 600;
}
.low {
  color: var(--low);
  font-weight: 600;
}
.free::before,
.low::before,
.none::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--good-dot);
}
.low::before {
  background: var(--low-dot);
}
.none::before {
  background: var(--bad);
}
.none,
.error {
  color: var(--bad);
  font-weight: 600;
}
.change {
  color: var(--accent);
  text-decoration: underline;
  white-space: nowrap;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 0.5rem;
  z-index: 3;
  padding: 0.5rem 1rem;
  background: var(--card);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.top,
main,
.foot {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--side);
}
header {
  border-bottom: 1px solid var(--line);
}
.top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
}
.top a,
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.menu summary {
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu nav {
  position: absolute;
  z-index: 3;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  max-height: 70vh;
  padding: var(--s1) var(--side) var(--s3);
  overflow: auto;
  border-block: 1px solid var(--line);
  background: var(--page);
  overflow-wrap: anywhere;
}
.wide {
  display: none;
}
.brand {
  font-size: 1.25rem;
  font-weight: 500;
}
.top .brand {
  flex: 0 1 auto;
  display: block;
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 44px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top .pill {
  flex: none;
  gap: 10px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  white-space: nowrap;
}
.pill:hover {
  border-color: var(--accent);
}
.pill .change {
  display: none;
}
.cart-link {
  flex: none;
  gap: 0.3rem;
}
.badge {
  min-width: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
}
.top a[aria-current] {
  color: var(--accent);
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: var(--s3);
  padding-block: var(--s4) var(--s5);
}
footer {
  background: var(--accent);
  color: #fff;
}
footer :focus-visible {
  outline-color: #fff;
}
.foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4) var(--s3);
  padding-block: var(--s5);
  overflow-wrap: anywhere;
}
.foot a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  text-decoration: none;
}
/* Too narrow for all four: the date goes under them, and a long shop name wraps. */
@media (max-width: 24.25rem) {
  .top {
    flex-wrap: wrap;
    gap: 0 10px;
    padding-bottom: 10px;
  }
  .top .brand {
    flex: 1 1 0;
    padding: 10px 0;
    line-height: 24px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .top .pill {
    flex: 1 0 100%;
    order: 1;
    justify-content: center;
  }
  .pill .change {
    display: inline;
  }
}
@media (min-width: 64rem) {
  .menu {
    display: none;
  }
  .top {
    gap: 30px;
    min-height: 78px;
  }
  .wide {
    display: flex;
    gap: 30px;
    min-width: 0;
  }
  .wide a {
    display: block;
    min-width: 0;
    max-width: 10rem;
    overflow: hidden;
    font-weight: 500;
    line-height: 44px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand,
  .top .brand {
    font-size: 1.6875rem;
  }
  .top .pill {
    padding: 0 16px;
  }
  .pill .change {
    display: inline;
    font-weight: 500;
  }
  main {
    padding-block: var(--s5) var(--s6);
  }
  .foot {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .foot a {
    min-height: 32px;
  }
}

.crumbs a {
  display: inline-block;
  padding-block: 8px;
  text-decoration: none;
}
.policy {
  display: grid;
  gap: var(--s4);
}
.policy > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
}
.policy > nav a {
  padding-block: 8px;
  text-decoration: none;
}
.policy > nav a[aria-current] {
  color: var(--accent);
  font-weight: 700;
}
.policy article {
  gap: var(--s3);
  min-width: 0;
  max-width: 680px;
}
.policy h1 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
}
@media (min-width: 56rem) {
  .policy {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 70px;
  }
  .policy > nav {
    flex-direction: column;
  }
}
.prose {
  display: grid;
  gap: 0.75rem;
  overflow-wrap: anywhere;
}
.prose h2 {
  margin-top: var(--s2);
  font-size: 1.75rem;
}
.prose ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.25rem;
  list-style: disc;
}

button,
.button,
input,
select,
textarea {
  min-height: var(--tall);
  border-radius: var(--round-button);
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.6rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: var(--accent-dark);
}
.second {
  background: transparent;
  color: var(--accent);
}
.second:hover {
  background: var(--soft);
}
.link,
.link:hover {
  padding: 0 0.25rem;
  border-color: transparent;
  background: none;
  color: var(--bad);
  text-decoration: underline;
}
button:disabled,
button:disabled:hover {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid var(--field);
  background: #fff;
  color: inherit;
}
input:disabled {
  border-color: var(--line);
  background: var(--soft);
}

.panel,
.dates,
.card,
.rows > li {
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--card);
}
.card {
  border-radius: var(--round-card);
}
.panel {
  padding: clamp(18px, 2.2vw, 28px);
}
.stack {
  display: grid;
  align-content: start;
  gap: 1rem;
}
.flash {
  position: sticky;
  top: 0.5rem;
  z-index: 2;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--round);
  background: var(--soft);
  font-weight: 600;
}
.flash.bad {
  border-color: var(--bad);
  background: var(--bad-soft);
  color: var(--bad);
}

.dates {
  padding: 0 1rem;
}
.dates > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.5rem 0;
  cursor: pointer;
}
.dates form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem 1rem;
  padding-bottom: 1rem;
}
.dates form > :is(.field:nth-of-type(1), button) {
  grid-column: 1 / -1;
}
:where(.dates) .field > input {
  padding: 0 10px;
}
/* Two date boxes side by side would cut off the year. */
@media (max-width: 24.25rem) {
  .dates form {
    grid-template-columns: minmax(0, 1fr);
  }
}
.dates > p {
  padding-bottom: 1rem;
}
.field {
  display: grid;
  gap: 6px;
  align-self: start;
}
.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

#date-event {
  scroll-margin-top: 5rem;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--photo);
}
/* The quiet color is too faint on the photo backing. */
.photo.empty {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0.875rem;
  text-align: center;
}
.grid,
.tiles,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: var(--s2);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 12px;
}
.cover,
.tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
:is(.cover:hover, .tile:hover) :is(h2, h3) {
  text-decoration: underline;
}
.card :is(h2, h3) {
  font-size: 1rem;
}
:is(.card, .tile) .photo {
  aspect-ratio: 1;
  border-radius: var(--round);
}
.tile .photo {
  aspect-ratio: 5 / 6;
}
.facts-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 0.5rem;
}
.card :is(.free, .low, .none) {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.card .add .muted {
  width: 100%;
}
.heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 var(--s3);
}
.heading > * {
  min-width: 0;
}
.hero {
  display: grid;
  align-items: center;
  gap: var(--s3);
}
.hero .stack {
  max-width: 46rem;
}
.hero .lead {
  font-size: 1.25rem;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--round-card);
  background: var(--photo);
  object-fit: cover;
}
.hero + .dates {
  box-shadow: 0 10px 30px rgb(22 24 23 / 8%);
}
/* One row: the button lines up with the boxes, under their labels. */
@media (min-width: 80rem) {
  :is(.hero + .dates, .catalog .dates, h1 + .dates) form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  :is(.hero + .dates, .catalog .dates, h1 + .dates) form > :is(.field, button) {
    grid-column: auto;
  }
  :is(.hero + .dates, .catalog .dates, h1 + .dates) form > button {
    align-self: start;
    margin-top: calc(0.875rem * 1.55 + 6px);
  }
}
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
  padding-top: var(--s4);
}
.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--s3) var(--s4);
  margin: 0;
  padding: var(--s3) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.steps p {
  margin-top: 0.375rem;
}
.contact .button {
  justify-self: start;
}
.words {
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
}
.catalog > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
  overflow-wrap: anywhere;
}
.catalog > nav strong {
  display: none;
}
.catalog > nav a {
  padding-block: 10px;
  text-decoration: none;
}
.catalog > nav a[aria-current] {
  color: var(--accent);
  font-weight: 700;
}
.catalog h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
}
@media (min-width: 56rem) {
  .grid,
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: var(--s3);
  }
  .card :is(h2, h3) {
    font-size: 1.25rem;
  }
  .hero.with-photo,
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero:not(.with-photo) {
    padding-block: var(--s4);
  }
  .band {
    padding-top: var(--s5);
  }
  .catalog {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 48px;
  }
  .catalog > nav {
    flex-direction: column;
    align-self: start;
  }
  .catalog > nav strong {
    display: block;
  }
}
.add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.card > .add {
  margin-top: auto;
}
.add > input {
  width: 5.5rem;
}
.add > select {
  padding: 0 10px;
  text-overflow: ellipsis;
}
.stepper {
  display: flex;
  flex: 1 1 8.5rem;
  border: 1px solid var(--field);
  border-radius: var(--round-button);
}
.stepper input {
  flex: 1;
  width: 3rem;
  min-height: calc(var(--tall) - 2px);
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-align: center;
  appearance: textfield;
}
.stepper input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.step {
  flex: none;
  width: 44px;
  min-height: 0;
  padding: 0;
}
.step,
.step:hover {
  border: 0;
  background: none;
  color: inherit;
}
.step:hover {
  background: var(--soft);
}
.step:disabled,
.step:disabled:hover {
  background: none;
  color: var(--muted);
}
.step[hidden] {
  display: none;
}
.add .stepper + button {
  flex: 1 1 5rem;
}
.rows {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.rows > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem;
}
:is([id^="choice-"], [id^="item-"]) {
  scroll-margin-top: 5rem;
}

.item,
.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.item h1 {
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
}
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
.main-photo .photo {
  aspect-ratio: 4 / 5;
}
.thumb .photo {
  aspect-ratio: 1;
}
.gallery .photo,
.cart-row .photo {
  border-radius: var(--round);
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 6rem));
  gap: 0.5rem;
}
.thumb {
  display: block;
  border: 3px solid transparent;
  border-radius: var(--round-card);
}
.thumb[aria-current] {
  border-color: var(--accent);
}
.price {
  font-size: 1.25rem;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choices legend {
  padding: 0 0 8px;
  font-weight: 600;
}
.choices label {
  position: relative;
  max-width: 100%;
  cursor: pointer;
}
.choices input {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choices span {
  display: grid;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--field);
  border-radius: var(--round-button);
  overflow-wrap: anywhere;
}
.choices :checked + span {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  font-weight: 600;
}
.choices :focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.calendar {
  display: grid;
  gap: 10px;
  padding: 14px;
  scroll-margin-top: 1rem;
}
.months {
  display: flex;
  align-items: center;
}
.months h2 {
  flex: 1;
}
.move {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  text-decoration: none;
}
.move:hover {
  background: var(--soft);
}
.calendar table {
  width: 100%;
  border-spacing: 0;
  table-layout: fixed;
  text-align: center;
}
.calendar th {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}
.calendar td {
  position: relative;
  padding: 0;
}
.calendar :is(button, .past) {
  display: grid;
  place-items: center;
  width: 100%;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
}
.calendar button:hover {
  background: var(--line);
}
.calendar .past {
  color: var(--muted);
}
.calendar .trip {
  background: var(--soft);
}
.calendar button:disabled {
  background: none;
  color: var(--muted);
  text-decoration: line-through;
}
.calendar [aria-current],
.calendar [aria-current]:is(:hover, :disabled) {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
/* On a phone, Add stays in reach. */
.buy {
  position: sticky;
  z-index: 1;
  bottom: 0;
  padding-block: 10px;
  background: var(--page);
}
.add.buy .stepper {
  flex: 0 1 140px;
}
.add.buy .stepper + button {
  flex: 1 1 0;
  padding: 0 8px;
}
.rows > .cart-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  align-items: start;
}
.row-forms {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
}
dd {
  margin: 0;
  text-align: right;
}
@media (min-width: 56rem) {
  .item {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
  }
  .many {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }
  .many .main-photo {
    order: 1;
  }
  .many .thumbs {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  .buy {
    position: static;
    padding: 0;
  }
  .cart {
    grid-template-columns: minmax(0, 1fr) 22rem;
  }
}

textarea {
  padding: 12px 15px;
  resize: vertical;
}
[aria-invalid="true"] {
  border-color: var(--bad);
}
.flash.still {
  position: static;
}
.methods {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.methods legend {
  padding: 0;
  font-weight: 600;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
}
.choice input {
  flex: none;
  width: 1.25rem;
  min-height: 1.25rem;
  margin: 0;
  accent-color: var(--accent);
}
/* Shown only when we travel. The server checks the same thing. */
.trip:not(:has([value="we_deliver"]:checked, [value="we_collect"]:checked)) .travel,
.request:not(:has([value="we_deliver"]:checked, [value="we_collect"]:checked)) .zone {
  display: none;
}
.number {
  font-size: 1.4rem;
}
.facts {
  grid-template-columns: auto minmax(0, 1fr);
}
.facts dt {
  font-weight: 600;
}
.facts dd {
  text-align: left;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
@media (min-width: 56rem) {
  .request > .panel {
    position: sticky;
    top: 1rem;
  }
}
.foot a:hover,
.policy > nav a:hover,
.top a:not(.pill):hover {
  text-decoration: underline;
}
