/* AgentCon 2027 homepage. Uses ../assets/css/tokens.css */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ac-cream);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ac-orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--ac-ink); }
.section--ink a:not([class]):hover { color: var(--ac-cream); }
h1, h2, h3, h4 { font-family: var(--ac-font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: var(--ac-text-h1); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: var(--ac-text-lead); line-height: 1.5; color: var(--ac-muted); max-width: 58ch; }
.center { text-align: center; }
.note { margin-top: 20px; font-size: var(--ac-text-small); color: var(--ac-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--ac-font-display);
  font-weight: 600;
  font-size: var(--ac-text-eyebrow);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ac-orange-deep);
  margin-bottom: 16px;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--ac-r-pill);
  font-family: var(--ac-font-display); font-weight: 600; font-size: .8125rem;
  background: var(--ac-orange-tint); color: var(--ac-orange-deep);
  white-space: nowrap;
}
.pill--blue { background: var(--ac-blue-tint); color: var(--ac-blue-deep); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac-orange); box-shadow: 0 0 0 0 rgba(213, 82, 43, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(213, 82, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(213, 82, 43, 0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px;
  border-radius: var(--ac-r-pill);
  background: var(--ac-orange-deep); color: var(--ac-white);
  font-family: var(--ac-font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--ac-ink); color: var(--ac-white); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: .9375rem; }
.btn--ghost { background: transparent; color: var(--ac-ink); box-shadow: inset 0 0 0 1.5px rgba(22, 19, 14, .2); }
.btn--ghost:hover { background: var(--ac-ink); color: var(--ac-cream); box-shadow: none; }
.btn--light { background: var(--ac-cream); color: var(--ac-ink); }
.btn--light:hover { background: var(--ac-orange); color: var(--ac-white); }
.btn--ink { background: var(--ac-ink); }
.btn--ink:hover { background: var(--ac-cream); color: var(--ac-ink); }
.btn--outline-light { background: transparent; color: var(--ac-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: var(--ac-white); color: var(--ac-orange-deep); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 244, 236, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ac-border);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 34px; width: auto; }
.nav__logo--light { display: none; }
.nav { transition: background-color .25s, border-color .25s; }
.nav--over:not(.is-solid) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: rgba(245, 244, 236, .14); }
.nav--over:not(.is-solid) .nav__links a { color: var(--ac-cream); }
.nav--over:not(.is-solid) .nav__links a:hover { color: var(--ac-orange); }
.nav--over:not(.is-solid) .nav__logo--color { display: none; }
.nav--over:not(.is-solid) .nav__logo--light { display: block; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ac-ink); text-decoration: none; font-family: var(--ac-font-display); font-weight: 500; font-size: .9375rem; }
.nav__links a:hover { color: var(--ac-orange-deep); }
.nav__ext { padding-left: 28px; border-left: 1px solid rgba(22, 19, 14, .15); }
.nav__links a { white-space: nowrap; }
@media (max-width: 1100px) { .nav__inner { gap: 24px; } .nav__links { gap: 20px; } .nav__ext { padding-left: 20px; } }
.nav--over:not(.is-solid) .nav__ext { border-left-color: rgba(245, 244, 236, .25); }
@media (max-width: 940px) { .nav__minor { display: none; } }
@media (max-width: 560px) { .nav__ext { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--ac-border); }
.hero h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); letter-spacing: -0.045em; line-height: .94; margin: 0 0 16px; }
.hero__tagline { margin: 0 0 28px; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ac-ink); }
.hero__tagline em { font-style: normal; color: var(--ac-orange); }
.hero h1 em { font-style: normal; color: var(--ac-orange); }
.hero h1.hero__logo { margin: 0 0 32px; line-height: 0; }
.hero__logo img { display: block; width: min(600px, 100%); height: auto; }
.hero .lead { max-width: 52ch; }
.hero .lead a { color: var(--ac-ink); text-decoration: underline; text-decoration-color: var(--ac-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero .lead a:hover { color: var(--ac-orange); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }


/* hero: light stage with the world-tour skyline anchored right, full height */
.hero { padding: 96px 0 0; min-height: min(calc(100vh - 72px), 820px); display: flex; flex-direction: column; justify-content: space-between; background: var(--ac-cream); color: var(--ac-ink); }
.hero__skyline {
  position: absolute; z-index: 0; top: 0; right: 0; width: 58vw; height: calc(100% - 132px); max-width: none; object-fit: cover; object-position: 70% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, #000 78%, transparent 100%); -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 600px; }
.hero__eyebrow { color: var(--ac-orange-deep); margin: 0 0 20px; }
.hero .lead { max-width: 500px; color: var(--ac-muted); }
/* tour route along the bottom of the hero: a dashed path with stops */
.hero__route { position: relative; z-index: 2; width: 100%; margin-top: 88px; padding-bottom: 40px; }
.route {
  list-style: none; margin: -8px 0 0; padding: 8px 0 0;
  display: grid; grid-template-columns: repeat(10, minmax(104px, 1fr));
  overflow-x: auto; scrollbar-width: none;
}
.route::-webkit-scrollbar { display: none; }
.route li {
  position: relative; text-align: center; padding: 32px 4px 0;
  font-family: var(--ac-font-display); font-weight: 600; font-size: .9375rem; white-space: nowrap; color: var(--ac-ink);
}
.route li:not(:last-child)::after {
  content: ''; position: absolute; top: 8px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(22, 19, 14, .3) 0 10px, transparent 10px 18px);
}
.route li::before {
  content: ''; position: absolute; z-index: 1; left: 50%; top: 0; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: var(--ac-cream); box-shadow: inset 0 0 0 3px var(--ac-blue-deep);
}
.route li span { display: block; margin-bottom: 2px; font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); }
.route li.is-next::before { background: var(--ac-orange); box-shadow: 0 0 0 6px rgba(213, 82, 43, .3); }
.route li.is-next, .route li.is-next span { color: var(--ac-orange-deep); }
@media (max-width: 960px) {
  .hero { padding-top: 260px; min-height: 0; }
  .hero__skyline { inset: 0 0 auto; width: 100%; height: 300px; object-position: 70% 60%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero__route { margin-top: 56px; }
  .route { margin: 0 -24px; padding: 0 24px; }
}

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 112px 0; overflow: hidden; }
.section--ink { background: var(--ac-ink); color: var(--ac-cream); }
.section--ink .lead { color: var(--ac-inverse-muted); }
.section--ink .eyebrow { color: var(--ac-orange); }
.section--white { background: var(--ac-white); }
.section--warm { background: var(--ac-cream-warm); }

.head { margin-bottom: 56px; }
.head h2 { margin: 0; }
.head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.head--split .lead { margin: 0; }
.head--center { text-align: center; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- Tour ---------- */
/* Tour: vertical route with staggered boarding-pass cards */
.itin__track { --gap: 36px; position: relative; display: flex; flex-direction: column; margin: 0; padding: 12px 0 0; list-style: none; }
.itin__track::before { content: ''; position: absolute; left: 50%; top: 0; bottom: var(--line-end, 66px); border-left: 2px dashed rgba(22, 19, 14, .25); transform: translateX(-1px); }
.itin__stop { position: relative; width: calc(50% - var(--gap)); }
.itin__stop:nth-child(odd) { align-self: flex-start; }
.itin__stop:nth-child(even) { align-self: flex-end; }
.itin__stop + .itin__stop { margin-top: -160px; }
.itin__dot, .itin__when { position: absolute; z-index: 1; top: 50%; transform: translate(-50%, -50%); }
.itin__stop:nth-child(odd) > .itin__dot, .itin__stop:nth-child(odd) > .itin__when { left: calc(100% + var(--gap)); }
.itin__stop:nth-child(even) > .itin__dot, .itin__stop:nth-child(even) > .itin__when { left: calc(-1 * var(--gap)); }
.itin__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ac-cream); }
.itin__when {
  padding: 5px 10px; border-radius: var(--ac-r-pill); background: var(--ac-ink); color: var(--ac-cream);
  font-family: var(--ac-font-display); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.itin__when + .itin__dot { display: none; }
.itin__stop::after { content: ''; position: absolute; top: 50%; width: calc(var(--gap) - 16px); border-top: 2px dashed rgba(22, 19, 14, .25); }
.itin__stop:nth-child(odd)::after { left: 100%; }
.itin__stop:nth-child(even)::after { right: 100%; }
.is-open > .itin__dot { background: var(--ac-orange); }
.is-cfp > .itin__dot { box-shadow: inset 0 0 0 4px var(--ac-blue-deep); }
.is-tba > .itin__dot { box-shadow: inset 0 0 0 2px var(--ac-muted); }
.is-open > .itin__when { background: var(--ac-orange); color: #fff; animation: itin-ping 2s ease-out infinite; }
.is-tba > .itin__when { background: var(--ac-cream); color: var(--ac-muted); box-shadow: inset 0 0 0 1.5px var(--ac-border); }
@keyframes itin-ping { 0% { box-shadow: 0 0 0 0 rgba(213, 82, 43, .5); } 100% { box-shadow: 0 0 0 14px rgba(213, 82, 43, 0); } }

.pass {
  --notch: 11px;
  position: relative; display: flex; min-height: 132px;
  border-radius: var(--ac-r-card); background: var(--ac-white); color: var(--ac-ink); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--ac-border);
  transition: transform .25s, box-shadow .25s;
}
.pass:hover { color: var(--ac-ink); transform: translateY(-4px); }
.pass:focus-visible { outline: 2px solid var(--ac-orange); outline-offset: 3px; }
.pass.has-art { flex-wrap: wrap; }
.pass__art { flex: 0 0 100%; width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; border-radius: var(--ac-r-card) var(--ac-r-card) 0 0; background: var(--ac-blue-tint); }
.pass.has-art .pass__main, .pass.has-art .pass__stub { min-height: 132px; }
.pass__main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; }
.pass__status { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); }
.pass__tag { display: inline-flex; align-items: center; gap: 8px; }
.pass__tag--reg { color: var(--ac-orange-deep); }
.pass__tag--cfp { color: var(--ac-blue-deep); }
.pass__tag--reg::before, .pass__tag--cfp::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.pass__tag--reg::before { background: var(--ac-orange); }
.pass__tag--cfp::before { box-shadow: inset 0 0 0 2px var(--ac-blue-deep); }
.pass__place { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pass .city-lockup {
  display: grid; width: max-content; max-width: 100%; grid-template-columns: auto auto; column-gap: .3em; align-items: center;
  font-family: var(--ac-font-display); line-height: 1; font-size: 26px; color: var(--ac-ink);
}
.pass .city-lockup__mark { grid-row: span 2; width: 1.52em; height: 1.52em; margin-right: .02em; transition: transform .4s; }
.pass .city-lockup__word { font-weight: 700; letter-spacing: -0.04em; align-self: end; }
.pass .city-lockup__city { font-weight: 500; font-size: .62em; letter-spacing: -0.005em; color: var(--ac-orange); align-self: start; margin-top: .22em; white-space: nowrap; }
.pass:hover .city-lockup__mark { transform: rotate(-20deg); }
.pass__venue { color: var(--ac-muted); font-size: .875rem; }
.pass__stub {
  position: relative; flex: 0 0 188px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 18px 20px; border-left: 2px dashed var(--ac-border);
}
.pass__stub::before, .pass__stub::after {
  content: ''; position: absolute; left: calc(-1 * var(--notch) - 1px); width: calc(2 * var(--notch)); height: calc(2 * var(--notch));
  border-radius: 50%; background: var(--ac-cream); box-shadow: inset 0 0 0 1px var(--ac-border);
}
.pass__stub::before { top: calc(-1 * var(--notch)); clip-path: inset(50% 0 0 0); }
.pass__stub::after { bottom: calc(-1 * var(--notch)); clip-path: inset(0 0 50% 0); }
.pass.has-art .pass__stub::before { display: none; }
.pass__field { display: flex; flex-direction: column; font-family: var(--ac-font-display); font-weight: 600; font-size: .9375rem; }
.pass__field small { font-family: var(--ac-font-body, inherit); font-weight: 500; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); }
.pass__ctas { display: flex; flex-direction: column; gap: 6px; }
.pass__cta { font-family: var(--ac-font-display); font-weight: 600; font-size: .875rem; color: var(--ac-orange-deep); }
.pass:hover .pass__cta span { display: inline-block; transform: translateX(4px); transition: transform .2s; }

.is-tba .pass { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ac-border); }
.is-tba .pass:hover { background: var(--ac-white); }
/* Organizer: Global AI Community */
.community { background: var(--ac-blue-tint); }
.community__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.community__logo { width: 210px; margin-bottom: 28px; }
.community__text h2 { margin: 0 0 20px; }
.community__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0; }
.community__stats div { border-top: 2px solid var(--ac-ink); padding-top: 12px; }
.community__stats dd { order: -1; margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.04em; line-height: 1; }
.community__stats div { display: flex; flex-direction: column; gap: 6px; }
.community__stats dt { font-size: .8125rem; color: var(--ac-muted); }
.community__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.community__photos { position: relative; padding: 0 0 64px 48px; }
.community__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ac-r-card); }
.community__photo--inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--ac-blue-tint); border-radius: var(--ac-r-card); transform: rotate(-3deg); box-shadow: 0 20px 40px -24px rgba(22, 19, 14, .5); }
@media (max-width: 960px) {
  .community__grid { grid-template-columns: 1fr; gap: 48px; }
  .community__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .itin__track { --gap: 0px; padding-left: 40px; }
  .itin__track::before { left: 11px; }
  .itin__stop { width: 100%; }
  .itin__stop + .itin__stop { margin-top: 16px; }
  .itin__stop:nth-child(n) > .itin__dot, .itin__stop:nth-child(n) > .itin__when { left: -28px; }
  .itin__stop::after { display: none; }
}
@media (max-width: 520px) {
  .pass { flex-direction: column; }
  .pass__stub { flex-basis: auto; flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: 2px dashed var(--ac-border); }
  .pass__stub::before, .pass__stub::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .is-open > .itin__when { animation: none; } }

/* ---------- Program ---------- */
.section--ink .wrap { position: relative; }
/* Journey: every stop so far on a snaking dashed route */
.snake { --row: 132px; --line: 44px; --ink-line: rgba(22, 19, 14, .3); position: relative; padding: 0 calc(var(--row) / 2 + 2px); }
.snake ol { list-style: none; margin: 0; padding: 0; }
.snake__row { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); height: var(--row); }
.snake__row.is-rev { direction: rtl; }
.snake__row > li { direction: ltr; }
.snake__row::before { content: ''; position: absolute; top: var(--line); left: 0; right: 0; border-top: 2px dashed var(--ink-line); }
.snake__row.is-first::before { left: calc(50% / var(--n)); }
.snake__row.is-last::before { right: calc(50% / var(--n)); }
.snake__row.is-last.is-rev::before { right: 0; left: calc(50% / var(--n)); }
.snake__row:not(.is-last)::after {
  content: ''; position: absolute; top: var(--line); left: 100%; width: calc(var(--row) / 2); height: calc(var(--row) + 2px);
  border: 2px dashed var(--ink-line); border-left: 0; border-radius: 0 999px 999px 0;
}
.snake__row.is-rev:not(.is-last)::after { left: auto; right: 100%; border-left: 2px dashed var(--ink-line); border-right: 0; border-radius: 999px 0 0 999px; }
.snake__stop { position: relative; text-align: center; padding: calc(var(--line) + 20px) 4px 0; }
.snake__stop::before {
  content: ''; position: absolute; z-index: 1; left: 50%; top: calc(var(--line) + 1px); width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--ac-cream); box-shadow: inset 0 0 0 4px var(--ac-blue-deep); transition: transform .2s;
}
.snake__stop--2026::before { box-shadow: inset 0 0 0 4px var(--ac-orange); }
.snake__stop:hover::before { transform: scale(1.35); }
.snake__stop.is-next::before { background: var(--ac-orange); box-shadow: 0 0 0 7px rgba(213, 82, 43, .22); }
.snake__date { position: absolute; left: 0; right: 0; top: calc(var(--line) - 30px); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-muted); white-space: nowrap; }
.snake__stop { cursor: pointer; }
.snake__city { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font-family: var(--ac-font-display); font-weight: 600; font-size: .9375rem; line-height: 1.15; letter-spacing: -0.01em; }
.snake__stop:hover .snake__city { color: var(--ac-orange); }
.snake__city:focus-visible { outline: 2px solid var(--ac-orange); outline-offset: 4px; border-radius: 4px; }
.snake__stop.is-next .snake__date, .snake__stop.is-next .snake__city { color: var(--ac-orange); }
.snake__year, .snake__end { position: relative; }
.snake__year span, .snake__end a {
  position: absolute; z-index: 1; left: 50%; top: calc(var(--line) + 1px); transform: translate(-50%, -50%); white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-family: var(--ac-font-display); font-weight: 700; font-size: 1rem;
}
.snake__year span { background: var(--ac-ink); color: var(--ac-cream); }
.snake__end a { background: var(--ac-orange); color: #fff; text-decoration: none; }
.snake__end a:hover { background: var(--ac-orange-deep); }
/* phones: one vertical line */
.snake--v { padding: 0; }
.snake .snake__col { position: relative; padding-left: 36px; }
.snake__col::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; border-left: 2px dashed var(--ink-line); }
.snake__col > li { padding: 7px 0; text-align: left; display: flex; align-items: baseline; gap: 12px; }
.snake__col .snake__stop::before { left: -25px; top: 50%; }
.snake__col .snake__date { position: static; order: 2; font-size: .6875rem; }
.snake__col .snake__city { order: 1; width: auto; text-align: left; }
.snake__col .snake__year, .snake__col .snake__end { padding: 14px 0; margin-left: -36px; }
.snake__col .snake__year span, .snake__col .snake__end a { position: static; transform: none; }

/* Journey overlay: one event, its logo, photos, link and sponsors */
.evd { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--ac-r-card); background: var(--ac-cream); color: var(--ac-ink); box-shadow: 0 30px 80px rgba(22, 19, 14, .35); overflow: hidden; }
.evd::backdrop { background: rgba(22, 19, 14, .6); backdrop-filter: blur(4px); }
.evd[open] { animation: evd-in .25s ease-out; }
@keyframes evd-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.evd__card { position: relative; max-height: calc(100vh - 48px); overflow-y: auto; padding: 40px; }
.evd__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ac-white); color: var(--ac-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(22, 19, 14, .12); }
.evd__close:hover { background: var(--ac-ink); color: var(--ac-cream); }
.evd__head { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.evd__logo img { display: block; width: 100%; height: auto; }
.evd__head h3 { margin: 8px 0 8px; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.evd__venue { margin: 0 0 20px; color: var(--ac-muted); }
.evd__photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 10px; margin-top: 32px; }
.evd__photos a { display: block; overflow: hidden; border-radius: 14px; background: var(--ac-border); }
.evd__photos a:first-child { grid-row: span 2; }
.evd__photos[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: 320px; }
.evd__photos[data-count="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.evd__photos[data-count="2"] a:first-child, .evd__photos[data-count="1"] a:first-child { grid-row: auto; }
.evd__photos[data-count="3"] { grid-template-columns: 2fr 1fr; }
.evd__photos[data-count="4"] { grid-template-columns: 2fr 1fr; grid-auto-rows: 100px; }
.evd__photos[data-count="4"] a:first-child { grid-row: span 3; }
.evd__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.evd__photos a:hover img { transform: scale(1.04); }
.evd__sponsors { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ac-border); }
.evd__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.evd__logos > * { display: grid; place-items: center; height: 64px; min-width: 120px; padding: 10px 18px; border-radius: 12px; background: var(--ac-white); color: var(--ac-ink); text-decoration: none; font-weight: 600; font-size: .875rem; }
.evd__logos img { max-height: 40px; max-width: 140px; width: auto; height: auto; }
.evd__logos a:hover { box-shadow: inset 0 0 0 1.5px var(--ac-orange); }
.evd__nav { display: flex; justify-content: space-between; margin-top: 32px; }
.evd__nav button:disabled { visibility: hidden; }
@media (max-width: 700px) {
  .evd__card { padding: 56px 20px 24px; }
  .evd__head { grid-template-columns: 1fr; gap: 16px; }
  .evd__logo img { width: 200px; }
  .evd__photos, .evd__photos[data-count] { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .evd__photos a:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Made possible by: small sponsor strip under the hero */
.backers { background: var(--ac-white); border-bottom: 1px solid var(--ac-border); }
.backers__in { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.backers__label {
  flex: none; font-family: var(--ac-font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); text-decoration: none;
}
.backers__label:hover { color: var(--ac-orange); }
.backers__logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.backers__logos a { display: flex; align-items: center; }
.backers__logos img { height: 26px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .55; transition: filter .2s ease, opacity .2s ease; }
.backers__logos a:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) {
  .backers__in { flex-direction: column; gap: 18px; }
  .backers__logos { flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .backers__logos img { height: 22px; }
}

/* Voices: attendee quotes as a masonry wall */
.quotes { columns: 3 300px; column-gap: 20px; }
.quote {
  break-inside: avoid; margin: 0 0 20px; padding: 28px 28px 24px; position: relative;
  background: var(--ac-white); border: 1px solid var(--ac-border); border-radius: var(--ac-r-card);
}
.quote::before {
  content: "“"; display: block; height: 40px; margin-bottom: 4px;
  font: 700 4.5rem/1 var(--ac-font-display); color: var(--ac-orange);
}
.quote blockquote {
  margin: 0 0 18px; font-family: var(--ac-font-display); font-weight: 500;
  font-size: 1.1875rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ac-ink);
}
.quote figcaption { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ac-muted); }
.quote--big blockquote { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.quote--ink { background: var(--ac-ink); border-color: var(--ac-ink); }
.quote--ink blockquote { color: var(--ac-cream); }
.quote--ink figcaption { color: var(--ac-inverse-muted); }
.quote--orange { background: var(--ac-orange); border-color: var(--ac-orange); }
.quote--orange::before, .quote--orange blockquote { color: var(--ac-white); }
.quote--orange figcaption { color: rgba(255, 255, 255, .8); }
.quote--orange blockquote { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; font-weight: 600; }
.quote--blue { background: var(--ac-blue-tint); border-color: var(--ac-blue-tint); }
.quote--blue figcaption { color: var(--ac-blue-deep); }

/* Sponsors: global tiles, partnership cards, local logo marquee */
.tier { margin-top: 48px; }
.tier__label {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
  font-family: var(--ac-font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted);
}
.tier__label::after { content: ""; flex: 1; height: 1px; background: var(--ac-border); }
.globals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.globals--6 { grid-template-columns: repeat(3, 1fr); }
.globals[hidden] { display: none; }
.tier__label--tabs::after { order: 1; }
.tier__label--tabs .yeartabs { order: 2; }
.yeartabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ac-cream); }
.yeartabs button {
  border: 0; background: none; cursor: pointer; padding: 7px 16px; border-radius: 999px;
  font: 600 .85rem/1 var(--ac-font-display); letter-spacing: .04em; color: var(--ac-muted);
}
.yeartabs button:hover { color: var(--ac-ink); }
.yeartabs button[aria-selected="true"] { background: var(--ac-ink); color: var(--ac-cream); }
.yeartabs button:focus-visible { outline: 2px solid var(--ac-orange); outline-offset: 2px; }
.globals a {
  display: grid; place-items: center; height: 140px; padding: 28px 36px;
  background: var(--ac-cream); border-radius: var(--ac-r-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.globals a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(22, 19, 14, .35); }
.globals img { max-width: 100%; max-height: 56px; object-fit: contain; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 28px;
  border: 1px solid var(--ac-border); border-radius: var(--ac-r-card);
  color: inherit; text-decoration: none; transition: border-color .2s ease;
}
.pcard:hover { border-color: var(--ac-orange); }
.pcard__logo { height: 48px; display: flex; align-items: center; margin-bottom: 6px; }
.pcard__logo img { max-height: 40px; max-width: 190px; object-fit: contain; }
.pcard__kind { font-family: var(--ac-font-display); font-weight: 600; color: var(--ac-orange); font-size: .9rem; }
.pcard p { margin: 0; color: var(--ac-muted); font-size: .95rem; line-height: 1.5; }
.tier--local { margin-bottom: 0; }
.marquees {
  display: grid; gap: 14px; padding: 4px 0 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 140s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 160s; }
.marquees:hover .marquee__track { animation-play-state: paused; }
.marquee__dup { display: contents; }
.marquee__track > a, .marquee__track > span:not(.marquee__dup), .marquee__dup > * {
  flex: none; display: grid; place-items: center; width: 168px; height: 84px; padding: 14px 20px;
  background: var(--ac-cream); border-radius: 14px;
}
.marquee__track img {
  max-width: 100%; max-height: 44px; object-fit: contain;
  filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .2s ease, opacity .2s ease;
}
.marquee__track a:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.sponsor-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 48px; padding: 28px 32px; border-radius: var(--ac-r-card);
  background: var(--ac-ink); color: var(--ac-cream);
}
.sponsor-cta p { margin: 0; max-width: 56ch; color: rgba(245, 244, 236, .75); }
.sponsor-cta strong { color: var(--ac-cream); }
.sponsor-cta .btn { flex: none; }
@media (max-width: 900px) {
  .globals { grid-template-columns: repeat(2, 1fr); }
  .pcards { grid-template-columns: 1fr; }
  .globals--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .globals a { height: 104px; padding: 20px 24px; }
  .globals img { max-height: 40px; }
  .marquee__track > a, .marquee__track > span:not(.marquee__dup), .marquee__dup > * { width: 132px; height: 68px; }
  .sponsor-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 24px; }
  .marquee__dup { display: none; }
}

/* What is AgentCon: photo + text blocks, alternating sides */
.story { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 88px; align-items: center; margin-top: 96px; }
.story--flip .story__media { order: 2; }
.story__media { position: relative; margin-bottom: 40px; }
.story__main { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ac-r-card); }
.story__inset { position: absolute; right: -32px; bottom: -40px; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ac-r-card); border: 6px solid var(--ac-white); box-shadow: 0 18px 40px rgba(22, 19, 14, .18); }
.story--flip .story__inset { right: auto; left: -32px; }
.story__badge { position: absolute; left: 24px; top: 24px; padding: 14px 18px; border-radius: 16px; background: var(--ac-orange); color: var(--ac-white); font-family: var(--ac-font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.15; letter-spacing: -0.01em; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(22, 19, 14, .2); }
.story--flip .story__badge { left: auto; right: 24px; transform: rotate(3deg); }
.story__badge--blue { background: var(--ac-blue-deep); }
.story__badge--ink { background: var(--ac-ink); font-size: 1.375rem; }
.story__text h3 { margin: 12px 0 18px; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -0.035em; line-height: 1; }
.story__text p { margin: 0; color: var(--ac-muted); font-size: 1.1875rem; line-height: 1.6; }
.accent { color: var(--ac-orange); }
.formats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.formats li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.formats__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: rgba(213, 82, 43, 0.1); color: var(--ac-orange); display: grid; place-items: center; }
.formats__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.formats b { font-family: "Space Grotesk", sans-serif; font-size: 1.0625rem; letter-spacing: -0.01em; }
.formats li > span:last-child { color: var(--ac-muted); font-size: 0.9375rem; line-height: 1.5; margin-top: 2px; }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 40px; margin-top: 72px; }
  .story--flip .story__media { order: 0; }
  .story__inset { right: 12px; bottom: -28px; width: 34%; border-width: 4px; }
  .story--flip .story__inset { left: 12px; }
}
.moments { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.moment { position: relative; margin: 0; overflow: hidden; border-radius: var(--ac-r-card); background: var(--ac-ink); }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.moment:hover img { transform: scale(1.04); }
.moment figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--ac-r-pill); background: var(--ac-cream); font-family: var(--ac-font-display); font-weight: 600; font-size: .8125rem; color: var(--ac-ink); }
.moment--big { grid-column: span 2; grid-row: span 2; }
.moment--tall { grid-row: span 2; }
.moment--wide { grid-column: span 2; }
.moment figcaption { z-index: 2; }
.flipboard { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flipboard .cell { position: absolute; perspective: 420px; }
.flipboard .flap { position: absolute; left: 0; width: 100%; background-repeat: no-repeat; backface-visibility: hidden; will-change: transform; }
.flipboard .flap--top { transform-origin: 50% 100%; border-radius: 3px 3px 0 0; }
.flipboard .flap--bottom { transform-origin: 50% 0; border-radius: 0 0 3px 3px; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .45); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .moment--tall { grid-row: span 1; } }
.films { margin-top: 64px; }
.films__title { margin: 0 0 20px; font-family: var(--ac-font-display); font-size: 1.375rem; font-weight: 600; color: var(--ac-cream); }
.films__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.film { position: relative; display: block; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; border-radius: var(--ac-r-media, 18px); background: #000; cursor: pointer; font: inherit; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; opacity: .82; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,19,14,0) 45%, rgba(22,19,14,.7)); pointer-events: none; }
.film:hover img, .film:focus-visible img { transform: scale(1.04); opacity: 1; }
.film:focus-visible { outline: 3px solid var(--ac-orange); outline-offset: 3px; }
.film__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--ac-orange); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s ease; z-index: 1; }
.film__play::before { content: ""; position: absolute; left: 22px; top: 18px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ac-cream); }
.film:hover .film__play { transform: scale(1.08); }
.film__city { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-family: var(--ac-font-display); font-weight: 600; font-size: 1rem; color: var(--ac-cream); }
.film__city em { font-style: normal; color: var(--ac-blue); margin-left: 4px; }
.filmbox { width: min(1120px, 92vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ac-cream); overflow: visible; }
.filmbox::backdrop { background: rgba(22,19,14,.88); backdrop-filter: blur(6px); }
.filmbox[open] { animation: filmbox-in .25s ease; }
@keyframes filmbox-in { from { opacity: 0; transform: scale(.97); } }
.filmbox__bar { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.filmbox__title { margin: 0 auto 0 0; font-family: var(--ac-font-display); font-size: 1.375rem; font-weight: 600; }
.filmbox__yt { color: var(--ac-cream); opacity: .75; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.filmbox__yt:hover { opacity: 1; color: var(--ac-orange); }
.filmbox__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ac-orange); color: var(--ac-cream); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.filmbox__close:hover { transform: scale(1.06); }
.filmbox__close:focus-visible { outline: 3px solid var(--ac-cream); outline-offset: 3px; }
.filmbox__frame { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: var(--ac-r-media, 18px); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.filmbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .films__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .films__grid { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 32px; }
.logos span {
  display: grid; place-items: center; height: 96px;
  border-radius: var(--ac-r-media); border: 1.5px dashed rgba(22, 19, 14, .18);
  font-family: var(--ac-font-display); font-weight: 600; color: rgba(22, 19, 14, .35);
}
.center a { font-family: var(--ac-font-display); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq__list details { border-bottom: 1px solid var(--ac-border); }
.faq__list details:first-child { border-top: 1px solid var(--ac-border); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--ac-font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ac-orange-tint); color: var(--ac-orange-deep); font-size: 1.375rem; font-weight: 500; transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ac-orange); color: var(--ac-white); }
.faq__list details p { margin: -8px 0 24px; color: var(--ac-muted); max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ac-ink); color: var(--ac-cream); padding: 80px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 48px; align-items: start; }
.footer__logo { width: 260px; margin-bottom: 18px; }
.footer__brand p { color: var(--ac-inverse-muted); max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-orange); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--ac-cream); text-decoration: none; padding: 4px 0; font-size: .9375rem; }
.footer__cols a:hover { color: var(--ac-orange); }
.footer__endorse span { display: block; font-size: .8125rem; color: var(--ac-inverse-muted); margin-bottom: 10px; }
.footer__gaic { background: var(--ac-cream); border-radius: var(--ac-r-input); padding: 14px 18px; }
.footer__gaic img { width: 160px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(245, 244, 236, .14); font-size: .8125rem; color: var(--ac-inverse-muted); }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; } }

/* ============ City detail page ============ */
.cityhero { position: relative; padding: 64px 0 72px; overflow: hidden; background: var(--ac-cream); }
.cityhero__bg { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.cityhero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.cityhero__back { display: inline-flex; gap: 8px; padding: 8px 16px; border-radius: var(--ac-r-pill); background: rgba(245, 244, 236, .92); font-family: var(--ac-font-display); font-weight: 500; font-size: .875rem; color: var(--ac-ink); text-decoration: none; backdrop-filter: blur(6px); }
.cityhero__back:hover { color: var(--ac-orange-deep); }
.cityhero__lockup.city-lockup {
  display: grid; width: max-content; max-width: 100%; grid-template-columns: auto auto; column-gap: .3em; align-items: center;
  margin: 0; font-family: var(--ac-font-display); line-height: 1; font-size: clamp(2.5rem, 4.4vw, 3.75rem); color: var(--ac-ink);
}
.cityhero__lockup .city-lockup__mark { grid-row: span 2; width: 1.52em; height: 1.52em; margin-right: .02em; }
.cityhero__lockup .city-lockup__word { font-weight: 700; letter-spacing: -0.04em; align-self: end; }
.cityhero__lockup .city-lockup__city { font-weight: 500; font-size: .5em; letter-spacing: -0.005em; color: var(--ac-orange); align-self: start; margin-top: .22em; white-space: nowrap; }
.cityhero__lockup .city-lockup__city b { color: var(--ac-muted); font-weight: 500; }
.cityhero__tagline { margin: 0; font-family: var(--ac-font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.35; max-width: 30ch; }
.cityhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cityhero__status { display: flex; align-items: center; gap: 16px; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cityhero__days { color: var(--ac-muted); }
/* Ticket: notches are punched out with a mask so the city art shows through */
.ticket {
  --notch: 16px; --stub: 260px;
  display: grid; grid-template-columns: auto var(--stub); max-width: 100%;
  border-radius: var(--ac-r-card); background: var(--ac-white); color: var(--ac-ink);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.cityhero__in { filter: drop-shadow(0 18px 40px rgba(22, 19, 14, .28)); }
.ticket__main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 40px 32px; }
.cityfacts div { display: flex; flex-direction: column; gap: 4px; }
.cityfacts dt { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); }
.cityfacts dd { margin: 0; font-family: var(--ac-font-display); font-weight: 600; font-size: 1.0625rem; white-space: nowrap; }
.ticket__stub.cityfacts { display: flex; flex-direction: column; justify-content: center; gap: 14px; margin: 0; padding: 24px 36px; border: 0; border-left: 2px dashed var(--ac-border); }

.dayplan { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ac-border); }
.dayplan li { display: grid; grid-template-columns: 140px 260px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--ac-border); }
.dayplan time { font-family: var(--ac-font-display); font-weight: 700; font-size: 1.125rem; color: var(--ac-orange-deep); }
.dayplan b { font-family: var(--ac-font-display); font-size: 1.25rem; letter-spacing: -0.02em; }
.dayplan span { color: var(--ac-muted); }
.dayplan em { font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-muted); padding: 5px 10px; border-radius: var(--ac-r-pill); box-shadow: inset 0 0 0 1.5px var(--ac-border); }

.cityinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cityinfo__card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border-radius: var(--ac-r-card); }
.cityinfo__card h3 { margin: 14px 0 12px; font-size: 2rem; letter-spacing: -0.03em; }
.cityinfo__card p { margin: 0 0 16px; max-width: 44ch; }
.cityinfo__card--ink { background: var(--ac-ink); color: var(--ac-cream); }
.cityinfo__card--ink p { color: var(--ac-inverse-muted); }
.cityinfo__card--blue { background: var(--ac-blue-tint); }
.cityinfo__card--blue p { color: var(--ac-muted); }
.cityinfo__past { margin-top: auto !important; padding-top: 20px; border-top: 1px solid rgba(245, 244, 236, .15); width: 100%; }
.cityinfo__past b { color: var(--ac-cream); }
.cityinfo__stats { display: flex; gap: 36px; margin: 8px 0 28px; }
.cityinfo__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.cityinfo__stats dd { margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.04em; line-height: 1; }
.cityinfo__stats dt { font-size: .8125rem; color: var(--ac-muted); }

.nextstop { background: var(--ac-orange); }
.nextstop__in { display: flex; align-items: center; gap: 32px; padding-top: 40px; padding-bottom: 40px; color: var(--ac-white); text-decoration: none; }
.nextstop__in:hover { color: var(--ac-white); }
.nextstop .eyebrow { color: var(--ac-white); opacity: .8; margin: 0; }
.nextstop__city { font-family: var(--ac-font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; }
.nextstop__city small { margin-left: 12px; font-size: 1rem; font-weight: 500; opacity: .85; letter-spacing: 0; }
.nextstop__all { margin-left: auto; font-family: var(--ac-font-display); font-weight: 600; }
.nextstop__in:hover .nextstop__all span { display: inline-block; transform: translateX(4px); transition: transform .2s; }

@media (max-width: 960px) {
  .cityinfo { grid-template-columns: 1fr; }
  .cityhero { padding: 190px 0 32px; }
  .cityhero__bg { inset: 0 0 auto; width: 100%; height: 280px; object-fit: cover; object-position: 85% 40%; -webkit-mask-image: none; mask-image: none; }
  .ticket { --stub: 0px; grid-template-columns: 1fr; margin-left: 0; -webkit-mask: none; mask: none; }
  .ticket__main { padding: 28px 24px; }
  .ticket__stub.cityfacts { display: grid; grid-template-columns: 1fr 1fr; padding: 22px 24px 26px; border-left: 0; border-top: 2px dashed var(--ac-border); }
  .dayplan li { grid-template-columns: 110px 1fr; }
  .dayplan li span, .dayplan li em { grid-column: 2; }
  .dayplan em { justify-self: start; }
  .nextstop__in { flex-wrap: wrap; gap: 8px 24px; }
  .nextstop__all { margin-left: 0; }
}

/* Sponsor page */
.sphero { padding: 56px 0 72px; background: var(--ac-cream); }
.sphero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.sphero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sphero__copy .cityhero__back { background: var(--ac-white); margin-bottom: 4px; }
.sphero h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -0.04em; line-height: 1; }
.sphero .lead { margin: 0; }
.sphero__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--ac-r-card); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 19, 14, .45); }
.sphero__photo img { width: 100%; height: 100%; object-fit: cover; }
.spstats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid var(--ac-border); }
.spstats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 24px 24px 0 0; }
.spstats div + div { padding-left: 24px; border-left: 1px solid var(--ac-border); }
.spstats dd { margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; }
.spstats dt { font-size: .8125rem; color: var(--ac-muted); }
.formats--3 { grid-template-columns: repeat(3, 1fr); }
.spprice { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ac-muted); }
.cityinfo__card .btn { margin-top: auto; }
#packages .dayplan li { grid-template-columns: 140px 260px 1fr; }
.spsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spsteps li { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--ac-r-card); background: var(--ac-cream); }
.spsteps b { font-family: var(--ac-font-display); font-size: 1.25rem; letter-spacing: -0.02em; }
.spsteps span { color: var(--ac-muted); line-height: 1.5; }
.sponsorcta { display: flex; align-items: center; gap: 24px 40px; margin-top: 48px; padding: 32px 40px; border-radius: var(--ac-r-card); background: var(--ac-ink); color: var(--ac-cream); }
.sponsorcta h3 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -0.02em; }
.sponsorcta p { margin: 0; color: var(--ac-inverse-muted); max-width: 56ch; }
.sponsorcta .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 960px) {
  .sphero__in { grid-template-columns: 1fr; gap: 36px; }
  .spstats { grid-template-columns: 1fr 1fr; }
  .spstats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .formats--3, .spsteps { grid-template-columns: 1fr; }
  #packages .dayplan li { grid-template-columns: 110px 1fr; }
  .sponsorcta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .sponsorcta .btn { margin-left: 0; }
}

/* ============ Mobile: menu, rhythm and touch-friendly layouts ============ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: rgba(213, 82, 43, .15); }
h1, h2, h3, .hero__tagline { text-wrap: balance; overflow-wrap: break-word; }
p, blockquote, .lead { text-wrap: pretty; }

.nav__links a[aria-current] { color: var(--ac-orange-deep); }
.nav__cta, .nav__burger, .mnav { display: none; }
.nav__burger {
  position: relative; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ac-ink); cursor: pointer;
}
.nav__burger span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: top .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: rotate(-45deg); }
.nav__burger:focus-visible { outline: 2px solid var(--ac-orange); outline-offset: 2px; }

@media (max-width: 940px) {
  html { scroll-padding-top: 76px; }
  .nav__inner { height: 64px; gap: 12px; }
  .nav__logo img { height: 30px; }
  .nav__logo picture { display: contents; }
  .nav:has(.nav__burger) .nav__links { display: none; }
  .nav__cta { display: inline-flex; margin-left: auto; padding: 9px 16px; font-size: .875rem; }
  .nav__burger { display: block; }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-open .nav { background: var(--ac-cream); }
  .mnav {
    display: flex; flex-direction: column; position: fixed; z-index: 9; inset: 64px 0 0;
    padding: 8px 24px calc(24px + env(safe-area-inset-bottom));
    background: var(--ac-cream); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
  }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mnav__links { display: flex; flex-direction: column; margin-bottom: 32px; }
  .mnav__links a {
    display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ac-border);
    color: var(--ac-ink); text-decoration: none; font-family: var(--ac-font-display); font-weight: 700;
    font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.1;
    opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1), color .15s;
  }
  .menu-open .mnav__links a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 35ms), calc(var(--i) * 35ms), 0s; }
  .mnav__links a[aria-current] span, .mnav__links a:active span { color: var(--ac-orange); }
  .mnav__links .mnav__ext { padding: 20px 0 0; border: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ac-muted); }
  .mnav__cta { margin-top: auto; width: 100%; padding: 18px; font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav__links a, .nav__burger span { transition: none !important; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 32px; }
  .lead { font-size: 1.125rem; }

  .hero { padding-top: 236px; }
  .hero__skyline { height: 270px; }
  .hero h1.hero__logo { margin-bottom: 24px; }
  .hero__tagline { margin-bottom: 20px; }
  .hero__cta { margin-top: 28px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__route { margin-top: 44px; padding-bottom: 28px; }
  .route { margin: 0 -20px; padding: 8px 20px 0; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .route li { padding-top: 30px; font-size: .875rem; }
  .backers__in { padding-top: 22px; padding-bottom: 22px; }

  .story { margin-top: 56px; gap: 28px; }
  .story__media { margin-bottom: 28px; }
  .story__badge { left: 14px; top: 14px; padding: 10px 14px; font-size: 1rem; }
  .story__badge--ink { font-size: 1.125rem; }
  .story__text h3 { font-size: 2rem; }
  .story__text p { font-size: 1.0625rem; }

  .itin__track { padding-left: 34px; }
  .itin__track::before { left: 9px; }
  .itin__stop:nth-child(n) > .itin__dot, .itin__stop:nth-child(n) > .itin__when { left: -25px; }
  .itin__when { padding: 4px 8px; font-size: .625rem; }
  .pass__main { padding: 18px; }
  .pass .city-lockup { font-size: 22px; }
  .pass__stub { padding: 14px 18px 16px; }

  .snake__col > li { padding: 9px 0; }
  .snake--v .is-more { display: none; }
  .snake--v.is-all .is-more { display: flex; }
  .snake--v.is-all .snake__year.is-more { display: block; }
  .snake__more { margin: 16px 0 0 36px; }

  .moments { grid-auto-rows: 150px; gap: 10px; }
  .moment figcaption { left: 10px; bottom: 10px; padding: 4px 10px; font-size: .75rem; }

  /* swipeable rows: quotes and aftermovies */
  .quotes, .films__grid {
    display: flex; gap: 12px; margin: 0 -20px; padding: 4px 20px 12px; columns: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .quotes::-webkit-scrollbar, .films__grid::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 84%; margin: 0; padding: 24px 22px 20px; scroll-snap-align: start; }
  .quote blockquote { font-size: 1.0625rem; }
  .quote--big blockquote, .quote--orange blockquote { font-size: 1.375rem; }
  .film { flex: 0 0 80%; scroll-snap-align: start; }
  .films { margin-top: 48px; }

  .community__stats dd { font-size: 2rem; }
  .community__photos { padding: 0 0 48px 32px; }

  .tier { margin-top: 40px; }
  .tier__label--tabs { flex-wrap: wrap; row-gap: 12px; }
  .tier__label--tabs::after { display: none; }
  .globals { gap: 10px; }
  .globals a { height: 88px; padding: 18px 20px; border-radius: 18px; }
  .pcard { padding: 22px; }
  .sponsorcta, .sponsor-cta { margin-top: 36px; padding: 26px 22px; }
  .sponsorcta .btn, .sponsor-cta .btn { width: 100%; }

  .faq__list summary { padding: 20px 0; font-size: 1.0625rem; }
  .faq__list summary::after { width: 32px; height: 32px; }

  .footer { padding: 56px 0 28px; }
  .footer__logo { width: 220px; }
  .footer__cols a { padding: 7px 0; }
  .footer__base { flex-direction: column; gap: 6px; margin-top: 44px; }

  /* city + sponsor pages */
  .cityhero { padding-top: 172px; }
  .cityhero__bg { height: 250px; }
  .cityhero__cta .btn { flex: 1 1 auto; }
  .ticket__main { padding: 24px 20px; }
  .dayplan li, #packages .dayplan li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .dayplan li span, .dayplan li em { grid-column: auto; }
  .dayplan time { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
  .dayplan b { font-size: 1.1875rem; }
  .cityinfo__card { padding: 28px 22px; }
  .cityinfo__card h3 { font-size: 1.75rem; }
  .cityinfo__stats { gap: 24px; }
  .sphero { padding: 28px 0 56px; }
  .sphero__copy .btn { flex: 1 1 auto; }
  .spstats { margin-top: 40px; }
  .spstats div { padding-right: 12px; }
  .spstats div + div { padding-left: 16px; }
  .spsteps li { padding: 24px 22px; }
  .nextstop__in { padding-top: 32px; padding-bottom: 32px; }
  .nextstop__city { font-size: clamp(1.375rem, 7.4vw, 2rem); overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .nav__inner { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .nav__logo img { max-width: calc(100vw - 200px); object-fit: contain; object-position: left center; }
  .nav__cta { padding: 8px 12px; }
}
