/* Guide pages: the Detty December guide, the city pages and the FAQ.
   Loaded after styles.css and events.css; uses their tokens, type, cards and city list. */

/* ───────── head: headline, lead and a pinned-up photo ───────── */
.g-head { display: grid; gap: clamp(36px, 5vw, 64px); align-items: end; max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + clamp(28px, 6vw, 70px)) var(--gutter) clamp(36px, 5vw, 64px); }
.g-head__copy { display: grid; gap: 20px; justify-items: start; }
.g-head .display { font-size: clamp(3rem, 8.4vw, 7.4rem); }
.g-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.g-crumbs a { color: var(--lav); }
.g-crumbs a:hover { color: var(--ink); }
.g-crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.g-byline { font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.g-photo { position: relative; justify-self: center; width: min(calc(100% - 20px), 460px); margin: 0; rotate: 3deg; }
.g-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.g-photo figcaption { position: absolute; left: -10px; bottom: 18px; rotate: -5deg; padding: 9px 14px; border-radius: 99px; background: var(--orange); color: #1d0e07; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) { .g-head { grid-template-columns: 1.35fr 1fr; } .g-photo { justify-self: end; } }

/* ───────── quick facts ───────── */
.g-facts { display: grid; grid-template-columns: repeat(2, 1fr); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.g-facts div { display: grid; gap: 8px; align-content: start; padding: 20px 16px 20px 0; border-top: 1px solid var(--line); }
.g-facts dt { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.g-facts dd { font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.25 var(--f-body); letter-spacing: -.015em; text-wrap: balance; }
@media (min-width: 900px) { .g-facts { grid-template-columns: repeat(4, 1fr); } }

/* ───────── article column + side card ───────── */
.g-body { display: grid; gap: 48px; max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(40px, 6vw, 80px); }
.g-article { min-width: 0; max-width: 42em; }
.g-article > * + * { margin-top: 18px; }
.g-article h2 { margin-top: clamp(56px, 7vw, 88px); font: 800 clamp(2rem, 4vw, 3.3rem)/.98 var(--f-poster); letter-spacing: -.04em; text-wrap: balance; scroll-margin-top: calc(var(--nav-h) + 16px); }
.g-article h2:first-child { margin-top: 0; }
.g-article h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -.01em; color: var(--lav); }
.g-article h3 { margin-top: 32px; font: 700 clamp(1.15rem, 1.6vw, 1.35rem)/1.25 var(--f-body); letter-spacing: -.015em; }
.g-article h2 + p, .g-article h3 + p { margin-top: 14px; }
.g-article p, .g-article li { color: rgba(241, 235, 251, .8); font-size: clamp(1rem, 1.2vw, 1.08rem); text-wrap: pretty; }
.g-article strong { color: var(--ink); font-weight: 600; }
.g-article a:not(.btn) { color: var(--lav); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.g-article a:not(.btn):hover { color: var(--ink); }
.g-list { display: grid; gap: 12px; }
.g-list li { position: relative; padding-left: 26px; }
.g-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M18 3h4v10.4l7.35-7.35 2.83 2.83L24.83 16H37v4H25.07l8.63 8.63-2.83 2.83L22 22.59V37h-4V24.83l-7.35 7.35-2.83-2.83L15.17 22H3v-4h12.17L6.05 8.88l2.83-2.83L18 15.17V3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M18 3h4v10.4l7.35-7.35 2.83 2.83L24.83 16H37v4H25.07l8.63 8.63-2.83 2.83L22 22.59V37h-4V24.83l-7.35 7.35-2.83-2.83L15.17 22H3v-4h12.17L6.05 8.88l2.83-2.83L18 15.17V3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.g-steps { display: grid; gap: 0; counter-reset: step; }
.g-steps li { position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); counter-increment: step; }
.g-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 21px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; color: var(--orange); }
.g-steps strong { display: block; margin-bottom: 4px; font-size: 1.05em; }

/* neighbourhoods and scenes: small cards in a grid */
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 24px; }
.g-cards li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.g-cards b { font: 800 1.3rem/1.05 var(--f-poster); letter-spacing: -.03em; color: var(--ink); }
.g-cards span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.g-side { display: grid; gap: 16px; align-content: start; }
.g-toc { display: none; }
.g-toc h2 { margin-bottom: 10px; font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.g-toc a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.g-toc a:hover { color: var(--ink); }
.g-card { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 24px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.g-card b { font: 800 1.7rem/1 var(--f-poster); letter-spacing: -.035em; }
.g-card p { color: var(--muted); font-size: 15px; }
@media (min-width: 1024px) {
  .g-body { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(48px, 7vw, 120px); }
  .g-side { position: sticky; top: calc(var(--nav-h) + 24px); }
  .g-toc { display: block; }
}

/* ───────── events on the page (written in by deploy/bake-events.mjs) ───────── */
.g-events { padding: clamp(40px, 6vw, 80px) 0 0; }
.g-events[hidden] { display: none; }
.g-events .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.g-events .xp-grid { padding-bottom: 0; }
.g-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gutter) 0; }
.g-more p { color: var(--muted); }

/* ───────── FAQ ───────── */
.g-faq { border-bottom: 1px solid var(--line); }
.g-faq details { border-top: 1px solid var(--line); }
.g-faq summary { position: relative; display: block; padding: 22px 44px 22px 0; cursor: pointer; font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.3 var(--f-body); letter-spacing: -.015em; color: var(--ink); list-style: none; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--lav), var(--lav)) center / 100% 1.8px no-repeat, linear-gradient(var(--lav), var(--lav)) center / 1.8px 100% no-repeat; transition: transform .35s var(--ease); }
.g-faq details[open] summary::after { transform: rotate(45deg); }
.g-faq summary:hover { color: var(--lav); }
.g-faq details > div { display: grid; gap: 12px; padding: 0 0 24px; }
.g-faq details p { color: rgba(241, 235, 251, .8); }
.g-faq details a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.g-faq-group + .g-faq-group { margin-top: clamp(48px, 6vw, 80px); }
.g-faq-group > h2 { margin-bottom: 18px; }

/* ───────── more cities: the homepage list, smaller ───────── */
/* the footer's top rule closes the list */
.g-cities { padding: clamp(70px, 9vw, 140px) 0 0; }
.g-cities .city-list { border-bottom: 0; }
.city-list--sm .city__name { font-size: clamp(3rem, 9vw, 7.2rem); }

/* ───────── host band ───────── */
.g-host { display: grid; gap: 24px; justify-items: start; max-width: calc(var(--max) - 2 * var(--gutter)); margin: clamp(24px, 3vw, 40px) var(--gutter) 0; padding: clamp(32px, 5vw, 64px); border-radius: clamp(28px, 4vw, 48px); background: var(--lav); color: var(--plum); }
.g-host .display { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.g-host .display em { color: var(--plum); }
.g-host p { max-width: 36em; color: rgba(29, 16, 51, .78); }
@media (min-width: 1408px) { .g-host { margin-inline: auto; } }
.g-host__cta { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 900px) { .g-host { grid-template-columns: 1.4fr 1fr; align-items: end; } .g-host__cta { justify-self: end; } }
