/* ============================================================
   location.html (named-town base) — design-01 language, own grid.
   Like services.html, this page breaks from the fixed 1200px
   canvas: sections are responsive grids capped at 1200px. All
   classes are loc- prefixed to stay clear of canvas rules.
   Motion: load choreography on the hero (loc-rise), scroll
   reveals on the shared .fade-in observer (script.js), the
   marquee reuses the global .eh-ticker component. location.js
   drives the venue guide and the testimonial rotator.
   ============================================================ */

.loc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(22px, 4vw, 48px); }

.loc-eyebrow {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--powder);
}
.loc-h2 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08;
  text-transform: uppercase; letter-spacing: .02em;
}
.loc-h2 em { font-style: italic; text-transform: none; letter-spacing: 0; }
.loc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 36px; background: var(--paleblue); text-decoration: none;
  border: 0; cursor: pointer;
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate);
  transition: background .45s, color .45s, transform .45s;
}
.loc-btn:hover { background: var(--powder); color: var(--cream); }
.loc-btn:focus-visible { outline: 2px solid var(--powder); outline-offset: 3px; }
.loc-ghost {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate); text-decoration: none;
  border-bottom: 1px solid var(--powder); padding-bottom: 6px;
  transition: color .3s, border-color .3s;
}
.loc-ghost:hover { color: var(--powder); }

/* scroll reveal (rides the shared .fade-in observer in script.js) */
.loc-main .fade-in { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.loc-main .fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- hero: the town issue (cover story) ----------
   Chosen from the 2026-07-19 variant round: a magazine cover. Masthead
   type stacked left with hairline rules, a full-height photograph
   bleeding off the right viewport edge (via --gutter), the town name
   signed across the seam as the italic em INSIDE the keyword h1, and a
   small table of contents naming venues (mirror the venue guide; names
   only, no drive times). */
@keyframes loc-rise { to { opacity: 1; transform: none; } }
.loc-rise { opacity: 0; transform: translateY(26px); animation: loc-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.loc-cover { background: var(--linen); overflow: hidden; }
.loc-cov-grid {
  max-width: 1200px; margin: 0 auto; position: relative;
  padding-left: clamp(22px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1.02fr;
}
/* keep this column unpositioned: the sign's absolute coords resolve
   against .loc-cov-grid, so the cover line lands on the photo seam */
.loc-cov-copy {
  padding: clamp(44px, 5vw, 68px) clamp(28px, 3vw, 56px) clamp(56px, 6vw, 84px) 0;
}
.loc-cov-issue {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  border-bottom: 1px solid rgba(43, 58, 85, .25);
  padding-bottom: 14px; margin-bottom: clamp(26px, 3vw, 40px);
  animation-delay: .05s;
}
.loc-cov-issue .loc-eyebrow { font-size: 11px; }
.loc-cov-issue .right { color: var(--slate); }
.loc-cov-h1 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(54px, 5.9vw, 88px); line-height: .96;
  text-transform: uppercase; letter-spacing: .02em;
}
.loc-cov-h1 > span { display: block; }
.loc-cov-h1 > span:nth-child(1) { animation-delay: .14s; }
.loc-cov-h1 > span:nth-child(2) { animation-delay: .26s; }
.loc-cov-h1 > span:nth-child(3) { animation-delay: .38s; }
.loc-cov-h1 .thin { color: var(--powder); }
/* the signed cover line: part of the h1, laid over the photograph */
.loc-cov-sign {
  position: absolute; left: 45.5%; bottom: clamp(36px, 5vw, 64px); z-index: 2;
  font-style: italic; font-weight: 200; text-transform: none; letter-spacing: 0;
  font-size: clamp(72px, 8.4vw, 128px); line-height: 1; color: var(--cream);
  text-shadow: 0 4px 34px rgba(43, 58, 85, .35);
  white-space: nowrap; pointer-events: none; animation-delay: .55s;
}
.loc-cov-lede {
  margin-top: clamp(24px, 2.6vw, 34px); max-width: 42ch;
  font-size: 15px; line-height: 1.78;
  color: color-mix(in srgb, var(--slate) 78%, var(--linen));
  animation-delay: .5s;
}
.loc-cov-actions {
  margin-top: 30px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  animation-delay: .6s;
}
.loc-cov-contents { margin-top: clamp(30px, 3.4vw, 44px); animation-delay: .7s; }
.loc-cov-contents p {
  font-family: var(--font-sub); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--powder); margin-bottom: 12px;
}
.loc-cov-contents ul { list-style: none; }
.loc-cov-contents li {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid rgba(43, 58, 85, .16);
}
.loc-cov-contents li i {
  font-family: var(--font-display); font-style: italic; font-weight: 200;
  font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--powder);
}
/* the photograph, bleeding off the right edge of the viewport */
.loc-cov-photo {
  position: relative; min-height: 100%;
  margin-right: calc(-1 * var(--gutter));
  animation-delay: .3s;
}
.loc-cov-frame { position: absolute; inset: 0; overflow: hidden; }
.loc-cov-frame img {
  width: 100%; height: 100%; object-fit: cover;
  animation: loc-cov-zoom 26s ease-in-out infinite alternate;
}
@keyframes loc-cov-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.loc-cov-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43, 58, 85, .16), transparent 40%);
}
/* vertical folio riding the seam between copy and photograph */
.loc-cov-folio {
  position: absolute; top: 50%; right: calc(100% - 1px);
  transform: rotate(180deg) translateY(50%); writing-mode: vertical-rl;
  font-family: var(--font-sub); font-size: 10px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--powder); white-space: nowrap;
  padding: 0 10px;
}

/* mid-page marquee band (the global absolute .eh-ticker needs a sized frame) */
.loc-ticker-band { position: relative; height: 58px; }

/* ---------- the venue guide ---------- */
.loc-venues { background: var(--linen); padding: clamp(64px, 8vw, 110px) 0; scroll-margin-top: 84px; }
.loc-ven-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.loc-ven-head .loc-eyebrow { display: block; margin-bottom: 18px; }
.loc-ven-head p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--slate) 80%, var(--linen)); }
.loc-ven-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }

.loc-ven-list { display: grid; gap: 12px; }
.loc-ven-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 20px 22px; border: 1px solid rgba(43, 58, 85, .18);
  background: none; text-align: left; width: 100%;
  cursor: pointer; transition: border-color .35s, background .35s;
}
.loc-ven-item:hover { border-color: var(--powder); }
.loc-ven-item:focus-visible { outline: 2px solid var(--powder); outline-offset: 3px; }
.loc-ven-name {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate);
}
.loc-ven-sub { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13px; color: color-mix(in srgb, var(--slate) 65%, var(--linen)); }
.loc-ven-arrow {
  font-family: var(--font-display); font-weight: 200; font-size: 22px;
  color: var(--powder); transition: transform .35s, color .35s;
}
.loc-ven-item.is-live { background: #fff; border-color: var(--powder); }
.loc-ven-item.is-live .loc-ven-arrow { transform: translateX(6px); color: var(--slate); }
/* staggered reveal: the list rises as one, each row a beat behind */
.loc-ven-list.fade-in .loc-ven-item { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.loc-ven-list.fade-in.is-visible .loc-ven-item { opacity: 1; transform: none; }
.loc-ven-list.fade-in.is-visible .loc-ven-item:nth-child(2) { transition-delay: .1s; }
.loc-ven-list.fade-in.is-visible .loc-ven-item:nth-child(3) { transition-delay: .2s; }
.loc-ven-list.fade-in.is-visible .loc-ven-item:nth-child(4) { transition-delay: .3s; }
.loc-ven-list.fade-in.is-visible .loc-ven-item:nth-child(5) { transition-delay: .4s; }

.loc-ven-stage { justify-self: center; width: min(430px, 100%); }
.loc-ven-media {
  position: relative; width: min(380px, 100%); margin: 0 auto;
  aspect-ratio: 4 / 4.8; border-radius: 999px 999px 0 0; overflow: hidden;
}
.loc-ven-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
}
.loc-ven-media img.is-live { opacity: 1; animation: eh-drift 14s ease-in-out infinite alternate; }
.loc-ven-card {
  position: relative; width: min(400px, 94%); margin: -44px auto 0;
  background: #fff; padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 18px 40px rgba(43, 58, 85, .14);
}
.loc-ven-label {
  font-family: var(--font-sub); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--powder); margin-bottom: 12px;
}
.loc-ven-note { display: none; font-size: 14.5px; line-height: 1.75; color: color-mix(in srgb, var(--slate) 82%, #fff); }
.loc-ven-note.is-live { display: block; }
.loc-ven-card .loc-btn { margin-top: 20px; width: 100%; }

/* ---------- travel zones ---------- */
.loc-zones { background: var(--slate); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; }
.loc-zones .loc-eyebrow { color: var(--paleblue); }
.loc-zones-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.loc-zones-head .loc-eyebrow { display: block; margin-bottom: 18px; }
.loc-zones-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }

.loc-rings { position: relative; width: min(400px, 78vw); aspect-ratio: 1; margin: 0 auto; }
.loc-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(247, 248, 245, .26); border-radius: 50%;
}
.loc-ring.r1 { width: 34%; height: 34%; }
.loc-ring.r2 { width: 64%; height: 64%; }
.loc-ring.r3 { width: 94%; height: 94%; }
.loc-ring-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--paleblue);
}
.loc-ring-dot::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid var(--paleblue);
  animation: loc-ping 2.8s ease-out infinite;
}
@keyframes loc-ping {
  0% { transform: scale(.35); opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.loc-ring-tag {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  background: var(--slate); padding: 2px 12px;
  font-family: var(--font-sub); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--paleblue); white-space: nowrap;
}
.loc-ring-tag.t1 { top: 33%; }
.loc-ring-tag.t2 { top: 18%; }
.loc-ring-tag.t3 { top: 3%; }

.loc-zone-rows { display: grid; gap: clamp(26px, 3vw, 40px); }
.loc-zone {
  border-top: 1px solid rgba(247, 248, 245, .22); padding-top: 22px;
  transition: border-color .4s;
}
.loc-zone:hover { border-top-color: var(--paleblue); }
.loc-zone-num {
  font-family: var(--font-display); font-style: italic; font-weight: 200;
  font-size: 26px; color: var(--paleblue);
}
.loc-zone h3 {
  margin-top: 10px; font-family: var(--font-sub); font-weight: 400;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
}
.loc-zone p { margin-top: 12px; max-width: 52ch; font-size: 14.5px; line-height: 1.75; color: rgba(247, 248, 245, .72); }
.loc-zones-note { margin-top: clamp(36px, 4vw, 52px); font-family: var(--font-display); font-style: italic; font-weight: 200; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; max-width: 620px; }

/* ---------- three ways the town books us ---------- */
.loc-events { background: var(--cream); padding: clamp(72px, 9vw, 120px) 0; }
.loc-evt-head { text-align: center; max-width: 640px; margin: 0 auto clamp(48px, 6vw, 76px); }
.loc-evt-head .loc-eyebrow { display: block; margin-bottom: 18px; }
.loc-evt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.loc-evt-img { width: min(260px, 100%); margin: 0 auto 26px; border-radius: 999px 999px 0 0; overflow: hidden; }
.loc-evt-img img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.loc-evt:hover .loc-evt-img img { transform: scale(1.05); }
.loc-evt h3 {
  text-align: center; font-family: var(--font-sub); font-weight: 400;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
}
.loc-evt p { margin-top: 14px; font-size: 14.5px; line-height: 1.75; color: color-mix(in srgb, var(--slate) 78%, var(--cream)); }
.loc-evt-cta { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

/* ---------- faq ---------- */
.loc-faq { background: var(--linen); padding: clamp(64px, 8vw, 110px) 0; }
.loc-faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.loc-faq-intro .loc-eyebrow { display: block; margin-bottom: 18px; }
.loc-faq-intro p { margin-top: 20px; max-width: 38ch; font-size: 15px; line-height: 1.8; color: color-mix(in srgb, var(--slate) 78%, var(--linen)); }
.loc-faqs .faq-q { font-size: 15px; }
/* animated open: grid-rows collapse, overriding the global display toggle */
.loc-faqs .faq-a {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.loc-faqs .faq-item.open .faq-a { grid-template-rows: 1fr; }
.loc-faqs .faq-a p {
  min-height: 0; padding: 0; font-size: 14.5px; line-height: 1.75;
  color: color-mix(in srgb, var(--slate) 80%, var(--linen));
}
.loc-faqs .faq-item.open .faq-a p { padding-bottom: 18px; }


/* ---------- reviews (section 2 of the skeleton) ---------- */
.loc-reviews { background: var(--linen); padding: clamp(64px, 8vw, 104px) 0; }
.loc-rev-head { text-align: center; max-width: 620px; margin: 0 auto clamp(38px, 5vw, 60px); }
.loc-rev-head .loc-eyebrow { display: block; margin-bottom: 18px; }
.loc-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.loc-review {
  margin: 0; background: #fff; border: 1px solid rgba(43, 58, 85, .12);
  padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column;
}
.loc-stars { color: var(--powder); font-size: 12px; letter-spacing: .34em; }
.loc-review blockquote {
  margin: 18px 0 24px; font-family: var(--font-display); font-style: italic;
  font-weight: 200; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45;
}
.loc-review figcaption {
  margin-top: auto; font-family: var(--font-sub); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}
.loc-review figcaption span { display: block; margin-top: 6px; color: var(--powder); }

/* offer cards: skeleton cross-links */
.loc-evt-link {
  display: inline-block; margin-top: 16px; font-family: var(--font-sub);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
  border-bottom: 1px solid var(--powder); padding-bottom: 5px;
  transition: color .3s;
}
.loc-evt-link:hover { color: var(--powder); }

/* areas served: sibling-town chips */
.loc-area-chips { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.loc-area-chips a, .loc-area-chips span {
  font-family: var(--font-sub); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate); text-decoration: none;
  border: 1px solid rgba(43, 58, 85, .28); padding: 10px 18px;
}
.loc-area-chips a:hover { background: var(--paleblue); }

/* ---------- mobile + motion safety ---------- */
@media (max-width: 900px) {
  .loc-ven-grid, .loc-zones-grid, .loc-evt-grid, .loc-faq-grid, .loc-rev-grid { grid-template-columns: 1fr; }
  /* the cover stacks: copy first, then the photograph full-width */
  .loc-cov-grid { grid-template-columns: 1fr; padding-right: clamp(22px, 4vw, 48px); }
  .loc-cov-copy { padding-right: 0; }
  .loc-cov-photo { min-height: 440px; margin-right: 0; }
  .loc-cov-sign { left: 18px; }
  .loc-cov-folio { display: none; }
  .loc-ven-stage { width: 100%; }
  .loc-rings { width: min(300px, 74vw); }
  .loc-evt-grid { gap: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .loc-rise { animation: none; opacity: 1; transform: none; }
  .loc-cov-frame img, .loc-ven-media img.is-live { animation: none; transform: none; }
  .loc-main .fade-in,
  .loc-ven-list.fade-in .loc-ven-item { transition: none; opacity: 1; transform: none; }
  .loc-ring-dot::after { animation: none; opacity: 0; }
  .loc-evt-img img,   .eh-track { animation: none; }
}
