.guide-page {
  --guide-measure: 72ch;
}

.guide-shell {
  background: var(--paper);
}

.guide-header {
  border-bottom: 1px solid var(--ink);
}

.guide-topbar {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.guide-language {
  margin: 0;
  padding-right: clamp(14px, 2vw, 30px);
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-language-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guide-language__label {
  white-space: nowrap;
}

.guide-language__links {
  display: flex;
  gap: 8px;
  letter-spacing: 0.05em;
}

.guide-language__links a {
  color: rgba(21, 23, 19, 0.62);
  text-decoration: none;
}

.guide-language__links a:hover,
.guide-language__links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--poppy);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.guide-nav {
  justify-self: stretch;
}

.guide-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 114px);
  grid-template-columns: minmax(0, 1.16fr) minmax(370px, 0.84fr);
  overflow: hidden;
  background: var(--peach);
}

.guide-hero__type {
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: center;
  padding: clamp(50px, 6vw, 94px) 0 clamp(54px, 7vw, 110px) var(--page-pad);
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-size: clamp(9rem, 22vw, 24rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.58;
}

.guide-hero__type span:last-child {
  margin-left: clamp(20px, 7vw, 120px);
}

.guide-hero__copy {
  z-index: 3;
  display: flex;
  max-width: 680px;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  padding: clamp(74px, 9vw, 150px) var(--page-pad) clamp(74px, 9vw, 150px) clamp(28px, 4vw, 70px);
  border-left: 1px solid rgba(21, 23, 19, 0.45);
  background: rgba(255, 253, 247, 0.9);
}

.guide-hero__copy h1 {
  max-width: 620px;
  margin: 0 0 clamp(28px, 4vw, 52px);
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}

.guide-hero__copy p {
  max-width: 60ch;
  margin: 0 0 1em;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
}

.guide-back-link {
  font-size: 0.86rem;
  font-weight: 680;
}

.guide-hero__sprig {
  position: absolute;
  z-index: 2;
  right: clamp(370px, 32vw, 580px);
  bottom: clamp(-190px, -10vw, -90px);
  width: clamp(220px, 22vw, 390px);
  pointer-events: none;
  transform: rotate(-13deg);
}

.guide-hero__sprig img {
  width: 100%;
  height: auto;
}

.guide-start,
.guide-controls,
.guide-collection,
.guide-fine-print {
  scroll-margin-top: 20px;
}

.guide-start {
  padding: var(--section-space) var(--page-pad);
  background: var(--paper-bright);
}

.guide-start > header,
.guide-controls > div:first-child,
.guide-collection__heading,
.guide-fine-print {
  max-width: 1360px;
  margin-right: auto;
  margin-left: auto;
}

.guide-start > header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(44px, 7vw, 92px);
}

.guide-start h2,
.guide-controls h2,
.guide-collection__heading h2,
.guide-fine-print h2,
.guide-close h2 {
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 400;
  hyphens: auto;
  letter-spacing: -0.03em;
  line-height: 0.95;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.guide-start > header p,
.guide-collection__heading p {
  max-width: 54ch;
  margin: 0;
}

.guide-picks {
  display: grid;
  max-width: 1360px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.guide-picks > div {
  min-height: 220px;
  padding: clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--marigold);
}

.guide-picks > div:nth-child(2),
.guide-picks > div:nth-child(5) {
  background: var(--blush);
}

.guide-picks > div:nth-child(3) {
  background: var(--cornflower);
  color: var(--paper-bright);
}

.guide-picks .guide-pick--dark {
  background: var(--leaf-deep);
  color: var(--paper-bright);
}

.guide-pick--wide {
  grid-column: span 2;
}

.guide-picks dt {
  margin-bottom: clamp(42px, 6vw, 90px);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-picks dd {
  max-width: 24ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.3vw, 3.8rem);
  line-height: 1;
}

.guide-controls {
  position: sticky;
  z-index: 30;
  top: 0;
  padding: 22px var(--page-pad) 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 240, 231, 0.97);
}

.guide-controls > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
}

.guide-controls h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  letter-spacing: -0.02em;
}

.guide-controls p {
  margin: 0;
  font-size: 0.84rem;
}

.guide-filter-list {
  display: flex;
  max-width: 1360px;
  gap: 8px;
  margin: 18px auto 0;
  overflow-x: auto;
  padding: 5px 4px 8px;
  scrollbar-color: var(--leaf) transparent;
}

.guide-filter-list button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 680 0.76rem/1.2 var(--font-body);
  letter-spacing: 0.035em;
}

.guide-filter-list button:hover,
.guide-filter-list button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper-bright);
}

.guide-results {
  max-width: 1360px;
  margin: 8px auto 0 !important;
  color: rgba(21, 23, 19, 0.72);
}

.guide-collection {
  padding: var(--section-space) var(--page-pad);
  border-bottom: 1px solid var(--ink);
}

.guide-collection[hidden],
.guide-entry[hidden],
.guide-route[hidden] {
  display: none;
}

.guide-collection--paper {
  background: var(--paper);
}

.guide-collection--peach {
  background: var(--peach);
}

.guide-collection--weekend {
  background: var(--marigold);
}

.guide-collection--food {
  background: var(--paper-bright);
}

.guide-collection--vegan {
  background: var(--leaf-deep);
  color: var(--paper-bright);
}

.guide-collection--night {
  background: var(--cornflower);
  color: var(--paper-bright);
}

.guide-collection--routes {
  background: var(--blush);
}

.guide-collection__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(50px, 8vw, 108px);
}

.guide-entry-list {
  display: grid;
  max-width: 1360px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 84px);
  margin: 0 auto;
  border-bottom: 1px solid currentColor;
}

.guide-entry {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px) 0;
  border-top: 1px solid currentColor;
}

.guide-entry--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(280px, 1fr);
  column-gap: clamp(36px, 7vw, 120px);
}

.guide-entry--feature .guide-entry__meta,
.guide-entry--feature h3,
.guide-entry--feature h4 {
  grid-column: 1;
}

.guide-entry--feature > p,
.guide-entry--feature .guide-entry__links {
  grid-column: 2;
}

.guide-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-bottom: clamp(32px, 5vw, 72px);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-entry__meta span + span::before {
  margin-right: 16px;
  content: "·";
}

.guide-entry h3,
.guide-entry h4,
.guide-route h3,
.guide-neighbourhood h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.guide-entry p {
  max-width: var(--guide-measure);
  margin: 0 0 1em;
}

.guide-entry__note {
  padding-top: 18px;
  border-top: 1px solid currentColor;
  opacity: 0.86;
  font-size: 0.9rem;
}

.guide-entry__links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  align-self: end;
  margin-top: 28px;
}

.guide-entry__links a {
  font-size: 0.79rem;
  font-weight: 720;
}

.guide-entry__links a:hover {
  text-decoration-thickness: 2px;
}

.guide-entry--notice {
  grid-column: 1 / -1;
  padding-right: clamp(20px, 4vw, 60px);
  padding-left: clamp(20px, 4vw, 60px);
  background: var(--poppy-dark);
  color: var(--paper-bright);
}

.guide-neighbourhood {
  display: grid;
  max-width: 1360px;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 112px);
  align-items: end;
  margin: clamp(92px, 12vw, 172px) auto 28px;
}

.guide-collection__heading + .guide-neighbourhood {
  margin-top: 0;
}

.guide-neighbourhood h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
}

.guide-neighbourhood p {
  max-width: 58ch;
  margin: 0;
}

.guide-route-list {
  display: grid;
  max-width: 1360px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.guide-route {
  padding: clamp(28px, 4vw, 58px);
  background: var(--paper-bright);
  color: var(--ink);
}

.guide-route:nth-child(3n + 2) {
  background: var(--marigold);
}

.guide-route--dark {
  background: var(--leaf-deep) !important;
  color: var(--paper-bright);
}

.guide-route--sunset {
  background: var(--peach) !important;
}

.guide-route--weekend {
  background: var(--cornflower) !important;
  color: var(--paper-bright);
}

.guide-route--toledo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(280px, 1fr);
  column-gap: clamp(36px, 7vw, 120px);
  background: var(--poppy) !important;
  color: var(--paper-bright);
}

.guide-route--toledo .guide-entry__meta,
.guide-route--toledo h3 {
  grid-column: 1;
}

.guide-route--toledo > p,
.guide-route--toledo > ol,
.guide-route--toledo .guide-entry__links {
  grid-column: 2;
}

.guide-route ol,
.guide-route ul {
  margin: 22px 0 0;
  padding-left: 1.25em;
}

.guide-route li + li {
  margin-top: 9px;
}

.guide-fine-print {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(40px, 9vw, 150px);
  padding: var(--section-space) var(--page-pad);
  background: var(--paper);
}

.guide-fine-print h2 {
  font-size: clamp(3rem, 5.2vw, 5.4rem);
}

.guide-fine-print > div {
  max-width: var(--guide-measure);
  border-top: 1px solid var(--ink);
}

.guide-fine-print p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.guide-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: clamp(70px, 10vw, 150px) var(--page-pad);
  background: var(--leaf-deep);
  color: var(--paper-bright);
}

.guide-close h2 {
  max-width: 760px;
}

.guide-close p {
  max-width: 58ch;
  margin: 24px 0 0;
}

.guide-close > a {
  min-height: 50px;
  padding: 12px 0;
  font-size: 0.84rem;
  font-weight: 720;
}

.guide-footer {
  min-height: 280px;
}

.guide-footer p:last-of-type {
  max-width: 34ch;
  text-align: right;
}

@media (max-width: 1120px) {
  .guide-topbar {
    grid-template-columns: auto auto minmax(0, 1fr);
    padding-top: 8px;
  }

  .guide-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + (2 * var(--page-pad)));
    justify-self: auto;
    margin-left: calc(-1 * var(--page-pad));
    padding: 0 var(--page-pad);
    overflow-x: auto;
    justify-content: flex-start;
  }

  .guide-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  }

  .guide-hero__type {
    font-size: clamp(8rem, 20vw, 15rem);
  }

  .guide-hero__sprig {
    right: 34%;
  }

  .guide-picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-pick--wide {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .guide-topbar {
    grid-template-columns: 1fr auto;
  }

  .guide-language {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    padding: 8px 0;
    border-right: 0;
  }

  .guide-language-switcher {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .guide-nav {
    grid-row: 3;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px;
  }

  .guide-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .guide-hero__type {
    min-height: 440px;
    padding: 82px 20px 72px;
    font-size: clamp(8.7rem, 42vw, 15rem);
    line-height: 0.6;
  }

  .guide-hero__type span:last-child {
    margin-left: 8vw;
  }

  .guide-hero__copy {
    max-width: none;
    padding: 76px 20px 84px;
    border-top: 1px solid var(--ink);
    border-left: 0;
    background: var(--paper-bright);
  }

  .guide-hero__sprig {
    top: 170px;
    right: -50px;
    bottom: auto;
    width: 210px;
  }

  .guide-start > header,
  .guide-collection__heading,
  .guide-neighbourhood,
  .guide-fine-print,
  .guide-close {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-picks,
  .guide-entry-list,
  .guide-route-list {
    grid-template-columns: 1fr;
  }

  .guide-pick--wide,
  .guide-entry--feature,
  .guide-entry--notice,
  .guide-route--toledo {
    grid-column: auto;
  }

  .guide-entry--feature,
  .guide-route--toledo {
    display: block;
  }

  .guide-picks > div {
    min-height: 190px;
  }

  .guide-controls {
    position: relative;
  }

  .guide-controls > div:first-child {
    display: block;
  }

  .guide-controls > div:first-child p {
    margin-top: 12px;
  }

  .guide-neighbourhood {
    margin-top: 90px;
  }

  .guide-entry__meta {
    margin-bottom: 38px;
  }

  .guide-close > a {
    justify-self: start;
  }

  .guide-footer p:last-of-type {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .guide-filter-list {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .guide-hero__type {
    min-height: 390px;
    font-size: clamp(7.8rem, 40vw, 11rem);
  }

  .guide-hero__copy h1,
  .guide-start h2,
  .guide-collection__heading h2 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .guide-picks > div {
    min-height: 170px;
  }

  .guide-picks dt {
    margin-bottom: 34px;
  }

  .guide-entry h3,
  .guide-entry h4,
  .guide-route h3 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-filter-list {
    scroll-behavior: auto;
  }
}
