/* Collection design and motion shared by the storefront and city guides. */
:root {
  --night: #102636;
  --ivory: #faf9f5;
  --sand: #f3efe6;
}
body { color: var(--ink); }
.site-header .nav-cta { white-space: nowrap; }
.nav-cta, .hero-actions .btn-dark { background: var(--teal); }
.nav-cta:hover, .hero-actions .btn-dark:hover { background: var(--night); }
[id] { scroll-margin-top: 105px; }

.hero.hero-restored {
  background-image: linear-gradient(90deg, #faf9f5 0%, #faf9f5ed 43%, #eef5f9a6 100%), url('images/austin.jpg');
  background-position: center;
}
.hero-restored .hero-grid { min-height: 565px; }
.hero-restored .hero-art .hero-disc {
  background: linear-gradient(145deg, #d7e9f5, #96bde0);
  box-shadow: inset 0 0 0 1px #ffffff87, 0 25px 74px #17416720;
}
.hero-restored .hero-copy .eyebrow { color: var(--teal); }
.hero-restored .hero-bottom { border-color: #94aabb; }
.hero-restored .hero-bottom a { text-underline-offset: .4em; }
.hero-restored .hero-bottom a:hover { text-decoration: underline; }

.collection-feature { padding-block: clamp(75px, 8vw, 128px); background: var(--ivory); }
.collection-feature .section-head h2 { max-width: 680px; }
.collection-feature .destination-tabs { margin-bottom: 0; }
.destination-tabs button:hover { background: var(--soft); }
.collection-feature .destination-panel { grid-template-columns: 1.28fr 1fr; background: var(--night); margin-bottom: 0; }
.collection-feature .destination-panel + .destination-panel { margin-top: 24px; }
.collection-feature .destination-panel[hidden] + .destination-panel { margin-top: 0; }
.collection-feature .destination-image { min-height: 520px; }
.collection-feature .destination-story { padding: clamp(32px, 4.5vw, 72px); }
.collection-feature .destination-story h3 { font-size: clamp(2.35rem, 3.55vw, 4rem); }
.collection-feature .destination-story li { padding: 7px 0; }
.collection-feature .destination-story li a { padding: 0; }
.destination-panel.is-entering .destination-image img {
  animation: collection-image-in .8s var(--ease) both;
}
.destination-panel.is-entering .destination-story {
  animation: collection-copy-in .55s var(--ease) both;
}
@keyframes collection-image-in {
  from { opacity: .4; scale: 1.045; }
  to { opacity: 1; scale: 1; }
}
@keyframes collection-copy-in {
  from { opacity: .45; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.brand-statement .statement-bottom { grid-template-columns: 1.4fr 1fr; }
.brand-statement .statement-bottom p { max-width: 580px; }
.brand-statement .statement-bottom .text-link { grid-column: auto; }

.city-directory { background: var(--ivory); }
.city-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 50px);
}
.city-guide-card[hidden] { display: none; }
.city-guide-card a { display: grid; gap: 22px; text-decoration: none; height: 100%; }
.city-guide-image { overflow: hidden; aspect-ratio: 4/3; background: var(--soft); border-radius: 3px; }
.city-guide-image img, .guide-hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.city-guide-image img { transition: transform .95s var(--ease); }
.city-guide-card a:is(:hover, :focus-visible) img { transform: scale(1.06); }
.city-guide-caption {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding: 0 2px 20px;
}
.city-guide-caption .eyebrow { margin-bottom: 8px; }
.city-guide-caption h3 { font-size: clamp(1.8rem, 2.55vw, 2.75rem); margin-bottom: 8px; }
.city-guide-caption p:not(.eyebrow) { color: var(--muted); }
.guide-card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-weight: 700;
  color: var(--teal);
}
.guide-card-action svg { width: 19px; transition: transform .35s var(--ease); }
.city-guide-card a:is(:hover, :focus-visible) .guide-card-action svg { transform: translateX(5px); }

.guide-hero { position: relative; min-height: clamp(420px, 49vw, 700px); display: grid; align-items: end; background: var(--night); color: #fff; }
.guide-hero-image { position: absolute; inset: 0; }
.guide-hero-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0415221a 20%, #041522a3 63%, #041522ed 100%);
}
.guide-hero-content { position: relative; padding-block: clamp(45px, 7vw, 105px); }
.guide-hero h1 { font-size: clamp(3.8rem, 9vw, 9rem); margin: 0 0 12px; }
.guide-hero .lead { color: #fff; margin: 0; }
.guide-hero .eyebrow { color: #d2eafb; display: block; }
.guide-back { display: inline-block; text-underline-offset: .3em; margin-bottom: 34px; }
.guide-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(35px, 8vw, 108px); align-items: start; }
.guide-intro .lead { max-width: 570px; }
.guide-box { padding: clamp(24px, 4vw, 50px); border-top: 3px solid var(--teal); background: var(--soft); }
.guide-box h3 { font-size: clamp(1.55rem, 2.6vw, 2.5rem); margin-bottom: 14px; }
.city-find-list { list-style: none; padding: 0; margin: 0 0 24px; }
.city-find-list li { border-bottom: 1px solid var(--line); padding: 9px 0; }
.city-find-list a { text-underline-offset: .3em; }
.guide-stops { background: var(--sand); }
.guide-stop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.guide-stop-grid article { border-top: 1px solid #acaeaa; padding-top: 22px; }
.guide-stop-grid svg { width: 21px; height: 21px; color: var(--teal); margin-bottom: 12px; }
.guide-stop-grid p { margin-bottom: 0; color: var(--muted); }

.pricing-section .plan { background: var(--ivory); }
.pricing-section .plan.featured { background: var(--soft); border-color: var(--teal); }
.pricing-section .plan:not(.featured) { padding-top: 38px; }
.checkout-unavailable { margin: 16px 0 0; font-size: .875rem; color: var(--muted); }

@media (max-width: 900px) {
  .collection-feature .destination-panel { grid-template-columns: 1.1fr 1fr; }
  .collection-feature .destination-image { min-height: 430px; }
  .city-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-restored .hero-bottom a { margin-left: auto; }
  .pricing-section .plan:not(.featured) { padding-top: 30px; }
}
@media (max-width: 680px) {
  .collection-feature .destination-panel, .guide-intro { grid-template-columns: 1fr; }
  .collection-feature .destination-image { min-height: 270px; aspect-ratio: 4/3; }
  .collection-feature .destination-tabs button { font-size: clamp(.85rem, 3.6vw, 1rem); padding-inline: 9px; gap: 4px; }
  .collection-feature .destination-tabs button span { display: none; }
  .brand-statement .statement-bottom { grid-template-columns: 1fr; }
  .guide-stop-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-hero-content { padding-bottom: 50px; }
}
@media (max-width: 460px) {
  .city-guide-grid { grid-template-columns: 1fr; }
  .city-guide-card a { gap: 13px; }
  .city-guide-image { aspect-ratio: 5/3; }
}
@media (prefers-reduced-motion: reduce) {
  .destination-panel.is-entering .destination-image img,
  .destination-panel.is-entering .destination-story { animation: none; }
  .city-guide-card a:is(:hover, :focus-visible) img { transform: none; }
}
