:root {
  color-scheme: light;
  --ink: #163333;
  --teal: #005e56;
  --muted: #486060;
  --line: #d6e3df;
  --paper: #f5f8f6;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); }
[hidden] { display: none !important; }
.site, .hero > div, .catalog, footer {
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
.site {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site nav { display: flex; gap: clamp(.75rem, 3vw, 1.5rem); }
.site a { text-decoration: none; }
.site .brand { font-weight: 800; }
.hero {
  color: white;
  background: linear-gradient(90deg, #103e40e8 0%, #103e4075 45%, #103e4000 75%),
    url('./kyoto-walking-tour.webp') center 52% / cover #103e40;
}
.hero > div { padding-block: clamp(2.5rem, 7vw, 5rem); }
h1, h2 { font-family: Georgia, serif; }
h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: 1.04; }
.hero p { font-size: 1.12rem; max-width: 30rem; }
.jump { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.jump a, .book {
  display: inline-block;
  border-radius: .45rem;
  padding: .7rem .85rem;
  text-decoration: none;
  font-weight: 700;
}
.jump a { color: #173a38; background: #fff; }
.catalog { padding-block: 1.6rem 2.5rem; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.filters label { display: grid; gap: .4rem; font-weight: 650; }
.filters input, .filters select {
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .65rem;
  border: 1px solid #809c96;
  border-radius: .4rem;
  background: white;
  color: var(--ink);
  font: inherit;
}
.disclosure, #results { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.listing { margin-top: 2.6rem; scroll-margin-top: 1rem; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tour {
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
}
.tour p { margin: .45rem 0; line-height: 1.48; }
.tour h3 { margin: .35rem 0 .1rem; font-size: 1.24rem; line-height: 1.25; }
.tour .location, .tour .signal { font-size: .88rem; color: var(--muted); }
.location span { margin-inline: .15rem; }
.tour .signal { margin-bottom: 1rem; color: var(--teal); font-weight: 650; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  align-items: center;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.actions span { flex-basis: 100%; font-size: .88rem; font-weight: 700; }
.book { background: var(--teal); color: white; }
.book:hover { background: #00473f; }
.browse { font-size: .9rem; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a05a0a; outline-offset: 3px; }
footer { border-top: 1px solid var(--line); padding-block: 1.4rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .filters, .grid { grid-template-columns: 1fr; }
  .site { flex-wrap: wrap; padding-block: .7rem; }
}
.tour-photo {
  display: block;
  width: calc(100% + 2.3rem);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
  margin: -1.15rem -1.15rem .7rem;
  border-radius: .8rem .8rem 0 0;
}
.popular-pick {
  display: inline-block;
  padding: .24rem .6rem;
  border-radius: 999px;
  background: #ffe6a1;
  color: #573600;
  font-weight: 750;
}

.all-tours { margin-top: 1.5rem; }
.all-tours summary { width: fit-content; cursor: pointer; }
.all-tours[open] summary { margin-bottom: 1.25rem; }

@media (max-width: 560px) {
  .hero {
    background-image: linear-gradient(90deg, #103e40ee, #103e4075), url('./kyoto-walking-tour.webp');
    background-position: 68% center;
  }
}

.tour .tour-rating { color: #674500; font-size: .9rem; }
.tour-rating .rating-detail { color: var(--muted); }

.tour .tour-price { color: var(--muted); margin-top: .65rem; }
.tour-price strong { color: var(--ink); font-size: 1.07em; }
