/* ---------- Chicago Ditch Day ----------
   Chicago flag palette:
   - white:          #FFFFFF
   - flag light blue: #41B6E6 (Pantone 292)
   - soft sky:        #B3DDF2 (lighter wash)
   - flag red:        #E1251B (Pantone 200 ~ Chicago star red)
   - ink:             #0F1B2D (almost-black with blue undertone)
   ---------------------------------------- */

:root {
  --blue:        #41B6E6;
  --blue-deep:   #2A95C4;
  --sky:         #B3DDF2;
  --sky-pale:    #E6F4FB;
  --red:         #E1251B;
  --red-deep:    #B81910;
  --ink:         #0F1B2D;
  --ink-soft:    #34465F;
  --paper:       #FFFFFF;
  --paper-warm:  #FAF7F2;

  --font-display: "Bowlby One", "Impact", "Arial Black", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 720px;
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Flag band ---------- */
.flag-band {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}
.flag-stripe {
  height: 8px;
  background: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 0 var(--red-deep), 0 10px 24px rgba(225, 37, 27, 0.25);
}
.btn--primary:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--red-deep), 0 4px 12px rgba(225, 37, 27, 0.25);
}

.btn--large {
  padding: 20px 34px;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 34px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--sky-pale) 0%, var(--paper) 70%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 6px 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Six-pointed Chicago star, inline */
.star {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: var(--red);
  clip-path: polygon(
    50% 0%,    60% 33.5%, 93% 25%,
    69% 50%,   93% 75%,   60% 66.5%,
    50% 100%,  40% 66.5%, 7%  75%,
    31% 50%,   7%  25%,   40% 33.5%
  );
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 18vw, 7.2rem);
  line-height: 0.9;
  margin: 0 0 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__title-line {
  display: block;
}
.hero__title-line--accent {
  color: var(--red);
  transform: rotate(-2deg);
  display: inline-block;
  text-shadow: 4px 4px 0 rgba(65, 182, 230, 0.25);
}

.hero__date {
  margin: 0 0 28px;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.hero__date strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--blue-deep);
  letter-spacing: 0.01em;
}
.hero__date-sub {
  color: var(--ink-soft);
  font-style: italic;
}

.hero__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.hero__scarcity-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225, 37, 27, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 37, 27, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(225, 37, 27, 0.05); }
}

.hero__sponsor {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hero__sponsor a { font-weight: 700; }

.hero__plus {
  display: inline-block;
  margin: 0 2px;
  color: var(--red);
  font-weight: 800;
  font-size: 1.05em;
}

/* Decorative background stars (Chicago flag = 6-pointed) */
.bg-star {
  position: absolute;
  background: var(--red);
  opacity: 0.07;
  z-index: 1;
  clip-path: polygon(
    50% 0%,    60% 33.5%, 93% 25%,
    69% 50%,   93% 75%,   60% 66.5%,
    50% 100%,  40% 66.5%, 7%  75%,
    31% 50%,   7%  25%,   40% 33.5%
  );
}
.bg-star--1 { width: 180px; height: 180px; top: -40px; left: -40px; transform: rotate(12deg); }
.bg-star--2 { width: 130px; height: 130px; top: 30%; right: -30px; transform: rotate(-8deg); opacity: 0.06; }
.bg-star--3 { width: 90px;  height: 90px;  bottom: 30px; left: 10%; transform: rotate(22deg); opacity: 0.08; }

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}
.section--about { background: var(--paper); }
.section--schedule { background: var(--paper-warm); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.section--sponsor { background: var(--ink); color: #fff; text-align: center; }
.section--tickets { background: var(--sky-pale); }
.section--faq { background: var(--paper); border-top: 1px solid #eee; }
.section--list { background: var(--paper-warm); border-top: 1px solid #eee; }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.section__title em {
  font-style: italic;
  color: var(--red);
  font-family: var(--font-display);
}
.section__title--center { text-align: center; }

.section__sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 32px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ---------- Schedule ---------- */
.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule__item {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: 0 2px 0 rgba(15, 27, 45, 0.04), 0 14px 30px rgba(15, 27, 45, 0.05);
  border: 2px solid transparent;
  position: relative;
}
.schedule__item:nth-child(1) { border-color: var(--blue); }
.schedule__item:nth-child(2) { border-color: var(--red); }
.schedule__item:nth-child(3) { border-color: var(--blue); }

.schedule__time {
  flex: 0 0 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 6px;
  min-height: 90px;
}
.schedule__item:nth-child(2) .schedule__time { background: var(--red); }

.schedule__time-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
}
.schedule__time-suffix {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

.schedule__body { flex: 1; min-width: 0; }
.schedule__title {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.schedule__where {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.schedule__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Schedule "Show details" expand ---------- */
.schedule__more {
  margin-top: 14px;
}
.schedule__more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: color 0.15s ease;
}
.schedule__more summary:hover,
.schedule__more[open] summary {
  color: var(--ink);
}
.schedule__more summary::-webkit-details-marker { display: none; }
.schedule__more summary::marker { display: none; content: ""; }

/* CSS-drawn chevron arrow (no plus-circle, no medical-red vibe) */
.schedule__more .more-icon {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}
.schedule__more[open] .more-icon {
  transform: translateY(1px) rotate(-135deg);
}

.schedule__more .more-text-open { display: none; }
.schedule__more[open] .more-text-closed { display: none; }
.schedule__more[open] .more-text-open { display: inline; }

.schedule__detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d6e1eb;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.schedule__detail p {
  margin: 0 0 10px;
}
.schedule__detail p:last-child {
  margin: 0;
}
.schedule__detail strong {
  color: var(--ink);
}
.schedule__detail ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.schedule__detail ul li {
  margin-bottom: 4px;
}
.schedule__detail a {
  color: var(--red);
  font-weight: 700;
}

/* ---------- Sponsor ---------- */
.section--sponsor .sponsor__label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 14px;
}
.section--sponsor .sponsor__name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: #fff;
  text-decoration: none;
  border-bottom: 4px solid var(--red);
  padding-bottom: 4px;
  line-height: 1.1;
}
.section--sponsor .sponsor__name:hover { color: var(--sky); }
.section--sponsor .sponsor__tag {
  margin: 18px auto 0;
  max-width: 460px;
  color: #c9d3e0;
  font-style: italic;
}

/* ---------- Ticket card ---------- */
.ticket-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  border: 2px solid var(--blue);
  box-shadow: 0 14px 36px rgba(65, 182, 230, 0.22);
  position: relative;
}
.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--sky-pale);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket-card::before { left: -12px; }
.ticket-card::after { right: -12px; }

.ticket-card__label {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 700;
}
.ticket-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
  display: inline-block;
}
.ticket-card__perks li {
  padding: 6px 0;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ticket-card__perks li span {
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1.3;
}

.ticket-card__price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.ticket-card__price span {
  font-size: 1.5rem;
  vertical-align: top;
  color: var(--red);
  margin-right: 4px;
}
.ticket-card__price-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 8px;
  letter-spacing: 0;
}

.ticket-card__note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 640px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid #e3e9ee;
}
.faq__item:first-child {
  border-top: 1px solid #e3e9ee;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: color 0.15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; content: ""; }

.faq__item summary:hover .faq__q {
  color: var(--blue-deep);
}

.faq__q {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
  text-align: left;
}

.faq__chev {
  display: inline-block;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease, border-color 0.15s ease;
}
.faq__item[open] .faq__chev {
  transform: translateY(2px) rotate(-135deg);
  border-color: var(--blue-deep);
}

.faq__a {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq__a p {
  margin: 0 0 10px;
}
.faq__a p:last-child { margin: 0; }
.faq__a strong { color: var(--ink); }

@media (min-width: 720px) {
  .faq__q { font-size: 1.1rem; }
  .faq__item summary { padding: 22px 0; }
}

/* ---------- Signup form ---------- */
.signup {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.signup__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.signup__optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-style: italic;
}

.signup input[type="text"],
.signup input[type="email"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #d8e6ee;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  -webkit-appearance: none;
}
.signup input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(65, 182, 230, 0.18);
}

.signup__submit {
  margin-top: 6px;
}

.signup__note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 6px 0 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #c9d3e0;
  padding: 38px 0 28px;
  text-align: center;
}
.footer__org {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}
.footer__org a { color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--red); }
.footer__org a:hover { color: var(--sky); }

.footer__small {
  margin: 0;
  font-size: 0.85rem;
  color: #8c9bb0;
}

.footer__stripes {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}
.footer__stripes span {
  width: 38px;
  height: 6px;
  background: var(--blue);
  border-radius: 3px;
}
.footer__stripes span:nth-child(2),
.footer__stripes span:nth-child(3) {
  background: var(--red);
}

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .hero { padding: 56px 0 88px; }
  .section { padding: 84px 0; }

  .schedule__item {
    padding: 28px 28px;
    gap: 24px;
  }
  .schedule__time { flex: 0 0 110px; min-height: 110px; }
  .schedule__time-num { font-size: 2rem; }

  .hero__title-line--accent {
    text-shadow: 6px 6px 0 rgba(65, 182, 230, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
