/* ============================================================
   EXPERIENCE PAGES — 2026 REFRESH
   Shared by /experiences, /workshops, /residencies.
   Depends on tokens in static/css/anou-tokens.css (loaded in base.html).
   Class prefix: xp-
   ============================================================ */

html { scroll-behavior: smooth; }

/* Hero
----------------------------------------*/
.xp-hero {
  position: relative;
  max-height: 620px;
  overflow: hidden;
}

.xp-hero video,
.xp-hero > img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.xp-hero-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(20, 30, 50, .25), rgba(20, 30, 50, .55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 0 24px;
}

.xp-hero-eyebrow {
  margin: 0;
  font-family: grap-med, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: .85;
}

.xp-hero-title {
  margin: 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 46px;
  line-height: 1.15;
  color: #ffffff;
  max-width: 820px;
}

.xp-hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.xp-hero-sub {
  font-family: grap, sans-serif;
  font-size: 14px;
  color: #ffffff;
  opacity: .85;
}

/* Buttons
----------------------------------------*/
.xp-btn-primary {
  background: var(--anou-blue, #407bd9);
  color: #ffffff;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: grap-med, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 28px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.xp-btn-primary:hover { background: var(--anou-blue-dark, #3568bd); color: #ffffff; }

.xp-btn-lg { height: 52px; width: 100%; font-size: 13px; }

.xp-btn-ghost-light {
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 12px 28px;
  font-family: grap-med, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}

.xp-btn-ghost-light:hover { background: rgba(255, 255, 255, .15); color: #ffffff; }

/* Type + layout helpers
----------------------------------------*/
.xp-eyebrow {
  margin: 0 0 12px 0;
  font-family: grap-med, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--anou-blue, #407bd9);
}

.xp-h2-lg {
  margin: 0 0 14px 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink, #2e333d);
  max-width: 720px;
}

.xp-h2 {
  margin: 0 0 14px 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink, #2e333d);
}

.xp-body-lg {
  margin: 0;
  font-family: grap, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-body, #4b5563);
  max-width: 720px;
}

.xp-body {
  margin: 0 0 18px 0;
  font-family: grap, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-body, #4b5563);
}

.xp-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 72px 8px 72px;
  box-sizing: border-box;
}

.xp-container-880 {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 40px;
  box-sizing: border-box;
}

.xp-band { background: var(--anou-blue-panel, #f2f6fc); }

/* Feature rows (alternating image/text with offset shadow)
----------------------------------------*/
.xp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 56px 72px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.xp-row-media img,
.xp-row-media video {
  width: 100%;
  display: block;
}

.xp-offset-left  { box-shadow: var(--anou-blue, #407bd9) -12px -12px; }
.xp-offset-right { box-shadow: var(--anou-blue, #407bd9)  12px -12px; }

/* image on the right: markup order is text, media */
.xp-row-flip .xp-row-media { order: 1; }

.xp-row-link {
  font-family: grap-med, sans-serif;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--anou-blue, #407bd9);
  text-decoration: none;
}
.xp-row-link:hover { color: var(--anou-blue-dark, #3568bd); }

/* Quote bands
----------------------------------------*/
.xp-quote-imgband {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}

.xp-quote-imgband > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.xp-quote-imgband-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(20, 30, 50, .35), rgba(20, 30, 50, .6));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
}

.xp-quote-white {
  margin: 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.45;
  color: #ffffff;
  max-width: 880px;
  text-align: center;
}

.xp-quote-white a { color: inherit; text-decoration: none; }

.xp-quote-attr-white {
  margin: 0;
  font-family: grap, sans-serif;
  font-size: 14px;
  color: #ffffff;
  opacity: .85;
}

/* tinted quote band (workshops / residencies) */
.xp-quote-band {
  text-align: center;
}

.xp-quote-dark {
  margin: 0 0 14px 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink, #2e333d);
}

.xp-quote-attr {
  margin: 0;
  font-family: grap, sans-serif;
  font-size: 14px;
  color: var(--ink-muted, #6b7280);
}

/* pager dots */
.xp-dots {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  justify-content: center;
}

.xp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: .4;
  cursor: pointer;
  display: inline-block;
}

.xp-dot.active { opacity: 1; }

.xp-dot-blue { background: var(--anou-blue, #407bd9); opacity: .35; }
.xp-dot-blue.active { opacity: 1; }

/* Money band
----------------------------------------*/
.xp-money-bar {
  display: flex;
  height: 14px;
  overflow: hidden;
}

.xp-money-slice-1 { background: var(--anou-blue, #407bd9); }
.xp-money-slice-2 { background: var(--anou-blue-3, #85A9E4); }

.xp-money-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.xp-money-legend span {
  font-family: grap, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-body, #4b5563);
}

.xp-money-key {
  display: inline-block;
  width: 9px;
  height: 9px;
}

/* FAQ accordion
----------------------------------------*/
.xp-faq-item { border-top: 1px solid var(--border, #e5e8ee); }
.xp-faq-end  { border-top: 1px solid var(--border, #e5e8ee); }

.xp-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
}

.xp-faq-q p {
  margin: 0;
  font-family: grap-med, sans-serif;
  font-size: 16px;
  color: var(--ink, #2e333d);
  line-height: 1.4;
}

.xp-faq-icon {
  color: var(--anou-blue, #407bd9);
  font-size: 18px;
  flex-shrink: 0;
}

.xp-faq-a {
  margin: 0;
  font-family: grap, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-body, #4b5563);
  padding: 0 40px 20px 0;
  display: none;
}

.xp-faq-a a { color: var(--anou-blue, #407bd9); }

/* Option cards (radio) — workshops step 1, residencies steps 1-2
----------------------------------------*/
.xp-opt {
  background: #ffffff;
  border: 1px solid var(--border, #e5e8ee);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.xp-opt.selected {
  border-color: var(--anou-blue, #407bd9);
  background: var(--anou-blue-panel, #f2f6fc);
}

.xp-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--anou-blue-border, #ccd8eb);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.xp-opt.selected .xp-opt-radio { border-color: var(--anou-blue, #407bd9); }

.xp-opt-radio span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.xp-opt.selected .xp-opt-radio span { background: var(--anou-blue, #407bd9); }

.xp-opt-name {
  margin: 0;
  font-family: grap-med, sans-serif;
  font-size: 15px;
  color: var(--ink, #2e333d);
}

.xp-opt-desc {
  margin: 4px 0 0 0;
  font-family: grap, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted, #6b7280);
}

.xp-opt-price {
  margin: 6px 0 0 0;
  font-family: grap-med, sans-serif;
  font-size: 14px;
  color: var(--anou-blue, #407bd9);
}

.xp-opt-usd {
  font-family: grap, sans-serif;
  font-size: 12px;
  color: var(--ink-faint, #9aa1ad);
}

.xp-chip {
  display: inline-block;
  background: var(--anou-blue, #407bd9);
  color: #ffffff;
  font-family: grap-med, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-left: 8px;
}

/* Inputs / selects
----------------------------------------*/
.xp-input,
.xp-select,
.xp-textarea {
  border: 1px solid var(--anou-blue-border, #ccd8eb);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink, #2e333d);
  font-family: grap, sans-serif;
  background: #ffffff;
  outline: 0;
  border-radius: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.xp-select { appearance: auto; -webkit-appearance: auto; }

.xp-textarea { width: 100%; resize: vertical; }

.xp-label {
  margin: 0 0 8px 0;
  font-family: grap-med, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint, #9aa1ad);
}

/* Cards / panels
----------------------------------------*/
.xp-card {
  background: #ffffff;
  border: 1px solid var(--border, #e5e8ee);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(46, 51, 61, .05);
}

.xp-panel {
  background: var(--anou-blue-panel, #f2f6fc);
  padding: 20px;
}

.xp-banner-success {
  background: #ffffff;
  border: 1px solid var(--success, #10b981);
  padding: 14px 16px;
  font-family: grap, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-body, #4b5563);
}

.xp-banner-info {
  background: #ffffff;
  border: 1px solid var(--anou-blue, #407bd9);
  padding: 14px 16px;
  font-family: grap, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-body, #4b5563);
}

/* Footer strip
----------------------------------------*/
.xp-footer-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 22px 40px;
  border-top: 1px solid var(--border, #e5e8ee);
  flex-wrap: wrap;
}

.xp-footer-strip span {
  font-family: grap, sans-serif;
  font-size: 12px;
  color: var(--ink-faint, #9aa1ad);
}

/* Image CTA banner (foundation / hero-like bands)
----------------------------------------*/
.xp-imgcta {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.xp-imgcta > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.xp-imgcta-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(20, 30, 50, .35), rgba(20, 30, 50, .65));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 0 24px;
}

.xp-imgcta-title {
  margin: 0;
  font-family: grotesk, sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 760px;
}

.xp-imgcta-body {
  margin: 0;
  font-family: grap, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  opacity: .9;
  max-width: 640px;
}

/* Mapbox (experiences page)
----------------------------------------*/
#map { position: relative; width: 100%; height: 640px; }

.mapboxgl-popup { max-width: 400px; width: 220px; }

.mapboxgl-popup-content {
  font-family: grap, sans-serif;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(46, 51, 61, .15);
  border-radius: 0;
}

.xp-popup-name {
  margin: 0 0 12px 0;
  font-family: grap-med, sans-serif;
  font-size: 14px;
  text-align: center;
  color: var(--ink, #2e333d);
}

.xp-popup-btn {
  width: 100%;
  background: var(--anou-blue, #407bd9);
  color: #ffffff;
  border: none;
  height: 42px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: grap-med, sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.xp-popup-btn:hover { background: var(--anou-blue-dark, #3568bd); color: #ffffff; }

.xp-popup-btn-ghost {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--anou-blue, #407bd9);
  color: var(--anou-blue, #407bd9);
  height: 42px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: grap-med, sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.xp-popup-btn-ghost:hover { background: var(--anou-blue-panel, #f2f6fc); }

/* legacy geojson marker classes (referenced by feature.properties.markerclass) */
.marker,
.marker-small {
  background-image: url('http://res.cloudinary.com/hork5h8x1/image/upload/v10000000/market50_ykmzbi');
  background-size: cover;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
}

.marker0 {
  background-image: url('http://res.cloudinary.com/hork5h8x1/image/upload/v10000000/Marker0_umoook');
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.marker1 {
  background-image: url('http://res.cloudinary.com/hork5h8x1/image/upload/v10000000/Marker1_wsglmi');
  background-size: cover;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
}

.marker2 {
  background-image: url('http://res.cloudinary.com/hork5h8x1/image/upload/v10000000/Marker3_kvjcw4');
  background-size: cover;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
}

/* Mobile
----------------------------------------*/
@media (max-width: 900px) {

  .xp-hero-title { font-size: 30px; }

  .xp-intro { padding: 40px 20px 8px 20px; }

  .xp-container-880 { padding: 40px 20px; }

  .xp-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px;
  }

  /* image always first on mobile */
  .xp-row .xp-row-media { order: 0; }
  .xp-row > div:not(.xp-row-media) { order: 1; }

  .xp-quote-white { font-size: 17px; }
  .xp-quote-dark { font-size: 17px; }

  .xp-imgcta-title { font-size: 24px; }

  #map { height: 480px; }

}
