/* Standalone REMAX Future sponsor page — white background, dark text, red/blue accents only. */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --text: #161616;
  --muted: #4a4a4a;
  --line: #e3e5e8;
  --red: #dc1c20;
  --red-dark: #b41619;
  --blue: #245ca8;
  --blue-dark: #163a6e;
  --card: #ffffff;
  --focus: #245ca8;
  --shadow: 0 1px 2px rgba(16, 16, 16, 0.06), 0 8px 24px rgba(16, 16, 16, 0.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  min-height: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 0.75rem; z-index: 10; }

.brand-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1.25rem;
  display: flex;
  justify-content: center;
}
.site-header img {
  width: min(200px, 58vw);
  height: auto;
}


.events-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1.15rem 0.85rem;
  text-align: center;
}
.events-strip-lead {
  margin: 0 0 0.28rem;
  font-weight: 700;
  color: var(--text);
  font-size: clamp(0.9rem, 2.1vw + 0.55rem, 1.02rem);
  line-height: 1.35;
}
.events-strip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem 0;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.8vw + 0.52rem, 0.98rem);
  font-weight: 600;
  line-height: 1.45;
}
.events-strip-list li { white-space: nowrap; }
.events-strip-list li + li::before {
  content: "·";
  margin: 0 0.5rem;
  color: var(--red);
  font-weight: 800;
}
@media (max-width: 719px) {
  .events-strip-list {
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
  }
  .events-strip-list li + li::before { content: none; margin: 0; }
}
.wrap {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.15rem 0 1.7rem;
  text-align: center;
}
.opportunity-banner {
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 2.4vw + 0.55rem, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  line-height: 1.25;
}
.hero h1 {
  font-size: clamp(1.85rem, 5.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  font-weight: 800;
  color: #111;
}
.kicker {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111;
}

.flyer-wrap {
  margin: 1.35rem auto 0.35rem;
  width: min(100%, 22.75rem);
  text-align: center;
}
.flyer-wrap img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(16, 16, 16, 0.12);
  background: #fff;
}
.flyer-wrap figcaption { margin: 0.7rem 0 0.15rem; }
.download-flyer {
  display: inline-block;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.download-flyer:hover { color: var(--blue-dark); }
@media (min-width: 720px) {
  .flyer-wrap { width: min(100%, 28rem); }
}

.lede, .invite {
  max-width: 44rem;
  margin: 0 auto 1rem;
  color: var(--muted);
}
.invite { margin-bottom: 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4.4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
  font-weight: 800;
}

.tiers-section { padding: 0.5rem 0 2.5rem; }
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.tier h3 {
  margin: 0 0 0.7rem;
  font-size: 1.22rem;
  font-weight: 800;
}
.tier p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.05rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: var(--red-dark); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; }

.form-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0 2.6rem;
}
.form-section .section-title { margin-bottom: 0.5rem; }
.form-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}
form.sponsor-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.15rem 1.4rem;
  max-width: 36rem;
  margin: 0 auto;
  display: grid;
  gap: 0.95rem;
}
label, .file-label { display: block; font-weight: 650; font-size: 0.95rem; color: #222; }
.req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select, input[type="file"] {
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, white);
  border-color: var(--blue);
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; margin-top: 0.2rem; }
.error { color: var(--red); font-size: 0.88rem; margin: 0.25rem 0 0; }
.form-status {
  display: none;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  font-size: 0.98rem;
}
.form-status.ok { display: block; background: #e8f5ec; color: #14532d; border: 1px solid #b7e0c2; }
.form-status.err { display: block; background: #fdecec; color: #8a1f1f; border: 1px solid #f3c1c1; }
.form-actions { margin-top: 0.2rem; }

.office-footer {
  padding: 2.2rem 0 2.6rem;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}
.office-footer h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.office-footer p { margin: 0.25rem auto; color: var(--muted); max-width: 28rem; }
.office-footer .office-name { color: var(--text); font-weight: 800; margin-top: 0.95rem; font-size: 1.15rem; }
.office-footer a.tel { color: var(--text); text-decoration: none; font-weight: 600; }
.office-footer a.tel:hover { color: var(--blue); }
.office-footer .legal { margin-top: 0.85rem; font-size: 0.92rem; }
.eho {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  color: #222;
}
.eho img { width: 56px; height: auto; color: #111; }
.eho span { font-size: 0.92rem; font-weight: 650; color: #222; }

@media (min-width: 720px) {
  .tiers { grid-template-columns: 1fr 1fr; gap: 1.15rem 1.15rem; }
  form.sponsor-form { padding: 1.5rem 1.5rem 1.65rem; }
  .hero { padding: 1.6rem 0 2rem; }
  .site-header { padding: 1rem 1.25rem; }
  .site-header img { width: min(240px, 70vw); }
}


.presenting-sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  flex-wrap: wrap;
}
.presenting-sponsor .rate-wordmark {
  width: auto;
  height: 36px;
  max-width: 150px;
  object-fit: contain;
}
.presenting-sponsor .presenting-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.tier-spots {
  margin: 0 0 0.4rem !important;
  font-weight: 800;
  color: var(--text) !important;
  font-size: 0.98rem !important;
  flex: 0 0 auto !important;
}
.tier-bar {
  height: 8px;
  background: #eceef1;
  border-radius: 99px;
  overflow: hidden;
  margin: 0 0 0.95rem;
}
.tier-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.tier-desc { flex: 1; }
.tier-cta { margin-bottom: 0 !important; }
.tier.is-sold-out { opacity: 1; background: #f6f7f8; }
.tier.is-sold-out .tier-bar-fill { background: #9aa0a6; }
.tier.is-sold-out .tier-spots { color: #5c5c5c !important; }
.btn.is-disabled,
.btn.is-disabled:hover,
a.btn.is-disabled {
  background: #c5c7cb !important;
  color: #fff !important;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.thanks-section { padding: 0 0 2.4rem; }
.thanks-section[hidden] { display: none !important; }
.thanks-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
}
.thanks-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  box-shadow: var(--shadow);
  max-width: 100%;
}
.thanks-item img {
  width: auto;
  height: 36px;
  max-width: 150px;
  object-fit: contain;
  flex: 0 0 auto;
}
.thanks-item .name { font-weight: 700; color: var(--text); }
.thanks-item .tier-tag { font-size: 0.82rem; color: var(--muted); }

.pay-note {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.pay-note a { font-weight: 700; white-space: nowrap; }

/* Agent roster at the bottom of the page, above the office footer. */
.agents-section {
  padding: 2.2rem 0 2rem;
  border-top: 1px solid var(--line);
}
.agents-section .section-title { margin-bottom: 1.6rem; }
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem 0.9rem;
  justify-items: center;
}
@media (min-width: 480px) {
  .agents-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.1rem; }
}
@media (min-width: 640px) {
  .agents-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem 1.2rem; }
}
@media (min-width: 800px) {
  .agents-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .agents-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.7rem 1.25rem; }
}
.agent-tile {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 7.5rem;
  margin: 0;
  padding: 0.15rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
}
.agent-tile:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 45%, white);
  outline-offset: 3px;
}
.agent-thumb {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 96px;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}
@media (min-width: 800px) {
  .agent-thumb {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
    flex-basis: 88px;
  }
}
.agent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.agent-initials {
  color: #fff;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.agent-name {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.agent-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 2rem);
  width: 22.5rem;
}
.agent-dialog::backdrop {
  background: rgba(16, 16, 16, 0.45);
}
.agent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 16, 16, 0.18);
  padding: 1.35rem 1.2rem 1.4rem;
  text-align: center;
  position: relative;
}
.agent-dialog-close {
  appearance: none;
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.agent-dialog-close:hover { color: var(--text); }
.agent-dialog-close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 45%, white);
}
.agent-card-photo {
  width: 120px;
  height: 120px;
  margin: 0.2rem auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}
.agent-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.agent-card-photo .agent-initials { font-size: 2.1rem; }
.agent-card-name {
  margin: 0 0 0.2rem;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}
.agent-card-title {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.agent-card-title:empty { display: none; }
.agent-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.agent-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 5.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}
.agent-action:hover { background: var(--blue-dark); color: #fff !important; }
.agent-action[hidden] { display: none !important; }
.agent-card-phone {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.agent-card-phone:empty { display: none; }

/* Who sponsors / businesses that work with agents */
.vendors-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.3rem 0 2.5rem;
}
.vendors-kicker {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.vendors-section .section-title { margin-bottom: 0.85rem; }
.vendors-lead,
.vendors-note {
  max-width: 44rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.vendors-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.7rem;
  padding: 0;
  margin: 0 auto 1.4rem;
  max-width: 46rem;
}
.vendors-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: var(--shadow);
  line-height: 1.3;
}
.vendors-note { margin-bottom: 0; }
.vendors-note a { font-weight: 700; }

.tier-status.is-taken {
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  background: #eceef1;
  color: #3d3d3d;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.tier.is-taken .tier-bar-fill { background: #9aa0a6; }
