/* ============================================================
   Innovators Summit — Ann Arbor Scavenger Hunt
   Direction A "Field Guide" — production stylesheet.
   Ported from the design handoff (variation-fieldguide.jsx).
   ============================================================ */

:root {
  --red: #bd081c;
  --navy: #0d294d;
  --blue: #2169c4;
  --blue-light: #669ee5;
  --blue-pale: #dce9f9;
  --purple: #7339ac;
  --orange: #e86d2f;
  --gray: #7a8c9e;
  --bg-light: #fbfbfa;
  --white: #ffffff;

  /* supporting tints */
  --body-navy: #41506a;
  --stop-text: #2b3a52;
  --hair: #eef1f5;
  --hair-2: #e7ecf3;
  --hair-3: #e2e7ee;

  --rail: clamp(20px, 5vw, 84px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Fluid centered content wrap (replaces the fixed 1120px design width). */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--rail);
}

/* Full-bleed colored bands; inner .wrap keeps content aligned. */
.band { width: 100%; }
.band--cta    { background: var(--navy); position: relative; overflow: hidden; }
.band--light  { background: var(--bg-light); border-bottom: 1px solid var(--hair); }
.band--footer { background: var(--navy); color: #fff; }

.dot { width: 7px; height: 7px; border-radius: 99px; background: var(--red); flex-shrink: 0; }

/* ===================== TOP BAR ===================== */
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hair);
  gap: 16px;
}
.nav__logo { height: 26px; }
.nav__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--gray); white-space: nowrap;
}

/* ===================== HERO ===================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 452px;
  gap: 56px;
  padding: 64px 0 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border: 1px solid var(--hair-3); border-radius: 99px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  color: var(--red); margin-bottom: 24px; white-space: nowrap;
}
.hero__title {
  font-size: clamp(34px, 8vw, 56px); line-height: 1.08; font-weight: 800;
  letter-spacing: -.03em; color: var(--navy); margin: 0 0 22px; max-width: 13ch;
}
.hero__lead { font-size: 18px; line-height: 1.62; color: var(--body-navy); margin: 0 0 16px; max-width: 540px; }
.hero__sub  { font-size: 16px; line-height: 1.62; color: var(--gray); margin: 0 0 32px; max-width: 540px; }

.stats { display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.stat__label { font-size: 12.5px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }

.hero__photo {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(13,41,77,.55);
}
.hero__photo img { width: 100%; height: 540px; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,41,77,.78));
}
.hero__caption { position: absolute; left: 24px; bottom: 22px; color: #fff; z-index: 1; }
.hero__kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 4px;
}
.hero__photoTitle { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }

/* ===================== COMPASS CTA BAND ===================== */
.cta__watermark { position: absolute; right: -56px; top: -56px; width: 320px; opacity: .08; }
.cta {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px;
  align-items: center; padding: 44px 0;
}
.cta__icon { width: 56px; }
.cta__kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 8px;
}
.cta__sub { font-size: 16px; line-height: 1.55; color: #c9d6e8; margin: 0; max-width: 620px; }

.btn-compass {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 16px;
  font-family: inherit; border: 0; cursor: pointer;
  padding: 16px 24px; border-radius: 12px; text-decoration: none; white-space: nowrap;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-compass:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(189,8,28,.6); }
.btn-compass:active { transform: translateY(0); }
.btn-compass__arrow { font-size: 18px; }

/* Smart-prompt chips (on the navy CTA band) */
.cta__chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 0 0 44px;
}
.cta__chipsLabel {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-light); margin-right: 4px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: #dce9f9; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18); border-radius: 99px;
  padding: 9px 16px; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.42); color: #fff; transform: translateY(-1px); }
.chip:active { transform: translateY(0); }
.chip__spark { color: var(--blue-light); font-size: 12px; }
.chip:hover .chip__spark { color: #fff; }

/* ===================== HOW IT WORKS ===================== */
.section--how { padding: 64px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.section__head--stacked { display: block; margin-bottom: 28px; }
.section__title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--navy); }
.section__kicker { font-size: 15px; font-weight: 700; }
.section__kicker--red  { color: var(--red); }
.section__kicker--gray { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.section__kicker--orange { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--hair-2); border-radius: 14px; padding: 22px 22px 24px; }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-pale); color: var(--blue); font-weight: 800; font-size: 17px; margin-bottom: 16px;
}
.step__title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; color: var(--navy); }
.step__detail { font-size: 14.5px; color: var(--gray); }
.step__ask {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--blue);
  background: var(--blue-pale); border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.step__ask span { transition: transform .15s ease; }
.step__ask:hover { background: #cfe1f7; transform: translateY(-1px); }
.step__ask:hover span { transform: translateX(3px); }

/* ===================== FEATURED STOPS ===================== */
.section--stops { padding: 64px 0 56px; }
.stops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.stopcard { border: 1px solid var(--hair-2); border-radius: 16px; overflow: hidden; background: #fff; }
.stopcard__photo { position: relative; height: 150px; }
.stopcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.stopcard__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,41,77,.72));
}
.stopcard__label { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 9px; z-index: 1; }
.stopcard__dot { width: 9px; height: 9px; border-radius: 99px; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.stopcard__title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.stopcard__count { margin-left: auto; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; }
.stoplist { list-style: none; margin: 0; padding: 8px 0; }
.stoplist li { display: flex; align-items: center; gap: 11px; padding: 9px 20px; font-size: 15.5px; font-weight: 500; color: var(--stop-text); }
.stoplist__dot { width: 5px; height: 5px; border-radius: 99px; background: #cfd8e4; flex-shrink: 0; }

/* Per-card smart-prompt button — opens Compass with a contextual question */
.stopcard__ask {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; font-family: inherit; font-size: 14px; font-weight: 700;
  color: var(--navy); background: none; border: 0; border-top: 1px solid var(--hair-2);
  padding: 14px 20px; cursor: pointer; text-align: left;
  transition: background .15s ease, color .15s ease;
}
.stopcard__ask span { color: var(--blue); transition: transform .15s ease; }
.stopcard__ask:hover { background: #f6f9fd; color: var(--blue); }
.stopcard__ask:hover span { transform: translateX(3px); }

.fulllist {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 16px; padding: 20px 28px; border-radius: 14px;
  background: var(--navy); color: #fff; text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}
.fulllist:hover { filter: brightness(1.12); transform: translateY(-1px); }
.fulllist__title { font-size: 18px; font-weight: 700; }
.fulllist__cta { font-size: 15px; font-weight: 700; color: var(--blue-light); white-space: nowrap; }

/* ===================== IMAGE BAND ===================== */
.imageband { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; background: #fff; }
.imageband__tile { position: relative; height: 280px; overflow: hidden; margin: 0; }
.imageband__tile img { width: 100%; height: 100%; object-fit: cover; }
.imageband__tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,41,77,.7));
}
.imageband__tile figcaption {
  position: absolute; left: 18px; bottom: 14px; color: #fff;
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em; z-index: 1;
}

/* ===================== WANT MORE ===================== */
.more {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  border: 1px solid var(--hair-2); border-radius: 18px; overflow: hidden; margin: 64px 0;
}
.more__copy { padding: 44px; }
.more__title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; color: var(--navy); }
.more__body { font-size: 16px; line-height: 1.6; color: var(--body-navy); margin: 0 0 24px; max-width: 420px; }
.more__link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 3px;
  transition: color .15s ease, border-color .15s ease;
}
.more__link:hover { color: var(--red); }
.more__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.more__compass {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--gray);
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .15s ease;
}
.more__compass span { color: var(--blue); transition: transform .15s ease; }
.more__compass:hover { color: var(--navy); }
.more__compass:hover span { transform: translateX(3px); }
.more__photo { position: relative; min-height: 248px; }
.more__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===================== FOOTER ===================== */
.footer { display: flex; align-items: center; justify-content: space-between; padding: 40px 0; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__compass { height: 24px; }
.footer__divider { width: 1px; height: 26px; background: rgba(255,255,255,.18); }
.footer__poweredby { font-size: 13px; color: #9fb2cc; }
.footer__playeasy { height: 22px; }
.footer__reminder { font-size: 13px; color: #7e93b0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .hero__photo img { height: 380px; }

  .cta { grid-template-columns: auto 1fr; row-gap: 24px; }
  .cta__action { grid-column: 1 / -1; }
  .btn-compass { width: 100%; justify-content: center; }

  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 620px) {
  .nav { height: 64px; }
  .nav__tag { font-size: 12px; }

  .section__title { font-size: 28px; }

  .cta { grid-template-columns: 1fr; text-align: left; }
  .cta__icon { width: 48px; }

  .steps { grid-template-columns: 1fr; }

  .stops-grid { grid-template-columns: 1fr; }

  .imageband { grid-template-columns: 1fr; }
  .imageband__tile { height: 220px; }

  .fulllist { flex-direction: column; align-items: flex-start; gap: 8px; }

  .more { grid-template-columns: 1fr; }
  .more__copy { padding: 32px; order: 2; }
  .more__photo { order: 1; min-height: 220px; }
  .more__body { max-width: none; }

  .footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Respect reduced-motion: disable transitions/transforms. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .btn-compass:hover, .fulllist:hover { transform: none; }
}
