/* =========================================================
   YourPlace Events — front end
   Built on the Foundation design system. Every colour and
   font below falls back to the theme's own token, so the
   plugin inherits brand changes automatically.
   ========================================================= */

.ype-event,
.ype-events,
.ype-archive-head {
  --ype-green:      var(--green, #406d04);
  --ype-green-deep: var(--green-deep, #2f5103);
  --ype-green-soft: var(--green-soft, #6b9a2a);
  --ype-green-tint: var(--green-tint, #eaf2dc);
  --ype-cream:      var(--cream, #f5efde);
  --ype-cream-deep: var(--cream-deep, #d5cca3);
  --ype-red:        var(--red, #c83e34);
  --ype-red-deep:   var(--red-deep, #a82e25);
  --ype-ink:        var(--ink, #1a1f12);
  --ype-ink-soft:   var(--ink-soft, #4a5240);
  --ype-muted:      var(--muted, #6b7560);
  --ype-line:       var(--line, #e3decd);
  --ype-bg:         var(--bg, #fbf9f2);
  --ype-white:      var(--white, #ffffff);
  --ype-display:    var(--display, 'Fraunces', Georgia, serif);
  --ype-body:       var(--body, 'Inter', -apple-system, sans-serif);
  --ype-radius:     var(--radius, 14px);
  --ype-radius-lg:  var(--radius-lg, 22px);
  --ype-shadow-sm:  var(--shadow-sm, 0 2px 12px rgba(26, 31, 18, 0.06));
  --ype-shadow:     var(--shadow, 0 12px 40px rgba(26, 31, 18, 0.08));
  --ype-shadow-lg:  var(--shadow-lg, 0 24px 60px rgba(26, 31, 18, 0.12));
  --ype-container:  var(--container, 1240px);

  font-family: var(--ype-body);
  color: var(--ype-ink);
}

.ype-container {
  max-width: var(--ype-container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Icon sizing ----------------------------------------------------
   WordPress pages carry stylesheets we do not control — GeneratePress, other
   plugins, the block editor — and several ship global rules on svg
   (width: 1em, max-height, display: inline). Those were shrinking and
   off-centring icons on the live site.

   Size is therefore driven by one custom property and applied once, with
   important, so no outside rule can win. Each context then just sets
   --ype-icon; no further important is needed anywhere.

   Deliberately NOT forced here: fill and stroke. The brand icons (Facebook,
   Instagram, LinkedIn) are filled shapes and would vanish if fill were
   overridden to none. Stroke is enforced only on the outline icons below. */
.ype-event,
.ype-events,
.ype-archive-head { --ype-icon: 17px; }

.ype-event svg,
.ype-events svg,
.ype-archive-head svg {
  width: var(--ype-icon) !important;
  height: var(--ype-icon) !important;
  min-width: var(--ype-icon) !important;
  min-height: var(--ype-icon) !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  vertical-align: middle;
}

/* Per-context icon sizes */
.ype-event .ype-btn,
.ype-events .ype-btn            { --ype-icon: 16px; }
.ype-event .ype-pill,
.ype-events .ype-pill           { --ype-icon: 15px; }
.ype-event .ype-eyebrow,
.ype-events .ype-eyebrow,
.ype-archive-head .ype-eyebrow  { --ype-icon: 15px; }
.ype-event .ype-when,
.ype-events .ype-when           { --ype-icon: 14px; }
.ype-event .ype-facts-icon      { --ype-icon: 20px; }
.ype-event .ype-meta-icon,
.ype-events .ype-meta-icon      { --ype-icon: 19px; }
.ype-event .ype-facts-free      { --ype-icon: 18px; }
.ype-event .ype-facts-map,
.ype-event .ype-spot-link,
.ype-event .ype-sponsor-visit   { --ype-icon: 13px; }
.ype-event .ype-presenter-org   { --ype-icon: 15px; }
.ype-event .ype-presenter-time  { --ype-icon: 14px; }
.ype-event .ype-provider-list   { --ype-icon: 16px; }
.ype-event .ype-presenters-more { --ype-icon: 20px; }
.ype-event .ype-share-btn       { --ype-icon: 15px; }
.ype-event .ype-social-link,
.ype-events .ype-social-link    { --ype-icon: 18px; }
.ype-event .ype-soon,
.ype-events .ype-soon           { --ype-icon: 16px; }

/* ---------- Shared bits ---------- */
.ype-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ype-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ype-cream-deep);
}
.ype-eyebrow--dark { color: var(--ype-green); }
.ype-eyebrow--light { color: var(--ype-cream-deep); }

.ype-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ype-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.ype-btn svg { transition: transform 0.25s ease; }
.ype-btn:hover svg { transform: translateX(3px); }
.ype-btn-lg { padding: 17px 32px; font-size: 1rem; }
.ype-btn-block { width: 100%; }

.ype-btn-primary { background: var(--ype-green); color: var(--ype-white); }
.ype-btn-primary:hover { background: var(--ype-green-deep); color: var(--ype-white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(64, 109, 4, 0.3); }

.ype-btn-accent { background: var(--ype-red); color: var(--ype-white); }
.ype-btn-accent:hover { background: var(--ype-red-deep); color: var(--ype-white); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 62, 52, 0.32); }

.ype-btn-ghost { background: var(--ype-white); color: var(--ype-ink); border-color: var(--ype-line); }
.ype-btn-ghost:hover { border-color: var(--ype-green); color: var(--ype-green); }

.ype-btn-outline-light { background: transparent; color: var(--ype-white); border-color: rgba(255,255,255,0.45); }
.ype-btn-outline-light:hover { background: var(--ype-white); color: var(--ype-ink); }

.ype-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ype-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ype-white);
}
.ype-pill--free {
  background: var(--ype-cream);
  border-color: var(--ype-cream);
  color: var(--ype-green-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.ype-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
  font-weight: 600;
  font-size: 0.92rem;
}
.ype-soon--lg { padding: 16px 28px; font-size: 1rem; }

.ype-section { padding: 92px 0; }
.ype-section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.ype-section-head--left { margin-left: 0; text-align: left; }
.ype-section-head h2 {
  margin: 18px 0 0;
  font-family: var(--ype-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ype-ink);
}
.ype-section-lede {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ype-ink-soft);
}
.ype-section-head--left .ype-section-lede { max-width: 56ch; }

/* =========================================================
   HERO
   ========================================================= */
.ype-hero {
  position: relative;
  background: var(--ype-ink);
  color: var(--ype-white);
  overflow: hidden;
  padding: 86px 0 0;
}
.ype-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% -5%, rgba(107, 154, 42, 0.32), transparent 54%),
    radial-gradient(circle at 96% 100%, rgba(213, 204, 163, 0.18), transparent 58%);
  pointer-events: none;
  z-index: 1;
}
.ype-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}
.ype-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.ype-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 92px;
}
.ype-hero-title {
  margin: 22px 0 0;
  font-family: var(--ype-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ype-white);
  text-wrap: balance;
}
.ype-hero-lede {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: 1.1rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.82);
}
.ype-hero .ype-pills { margin-top: 30px; }
.ype-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Facts card */
.ype-facts-card {
  background: var(--ype-white);
  color: var(--ype-ink);
  border-radius: var(--ype-radius-lg);
  padding: 34px 32px;
  box-shadow: var(--ype-shadow-lg);
  position: relative;
}
.ype-facts-city {
  display: block;
  font-family: var(--ype-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ype-ink);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ype-line);
}
.ype-facts-list { list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 20px; }
.ype-facts-list li { display: flex; align-items: flex-start; gap: 15px; }
.ype-facts-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ype-green-tint);
  border: 1px solid rgba(64, 109, 4, 0.16);
  color: var(--ype-green-deep);
  display: grid;
  place-items: center;
}
/* The tile icons are outline shapes: hold the stroke so a stray global rule
   cannot wash them out to a hairline or fill them in solid. Flex rather than
   grid for centring, since it cannot be defeated by a display override. */
.ype-event .ype-facts-icon,
.ype-event .ype-meta-icon,
.ype-events .ype-meta-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}
.ype-event .ype-facts-icon > svg,
.ype-event .ype-meta-icon > svg,
.ype-events .ype-meta-icon > svg {
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  fill: none !important;
}
.ype-facts-list strong {
  display: block;
  font-family: var(--ype-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ype-ink);
}
.ype-facts-list span {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ype-ink-soft);
}
.ype-facts-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ype-green);
  text-decoration: none;
}
.ype-facts-map:hover { color: var(--ype-green-deep); text-decoration: underline; }

.ype-facts-free {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--ype-radius);
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
}
.ype-facts-free strong { display: block; font-size: 0.95rem; font-weight: 700; }
.ype-facts-free span { display: block; margin-top: 4px; font-size: 0.86rem; line-height: 1.5; color: var(--ype-ink-soft); }

/* Topics strip */
.ype-topics-strip {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}
.ype-topics-strip .ype-container { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ype-topics-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ype-cream-deep);
  white-space: nowrap;
}
.ype-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.ype-topic {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* =========================================================
   PRESENTERS
   ========================================================= */
.ype-presenters { background: var(--ype-bg); }
.ype-presenter-list { display: grid; gap: 26px; }
.ype-presenter {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  padding: 44px 46px;
  background: var(--ype-white);
  border: 1px solid var(--ype-line);
  border-radius: var(--ype-radius-lg);
  box-shadow: var(--ype-shadow);
}
.ype-presenter-aside { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 6px; }
.ype-presenter-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ype-green-tint);
  box-shadow: 0 0 0 6px var(--ype-white), 0 0 0 8px var(--ype-green-tint);
}
.ype-presenter-photo img { width: 100%; height: 100%; object-fit: cover; }
.ype-presenter-photo--initials { display: grid; place-items: center; }
.ype-presenter-photo--initials span {
  font-family: var(--ype-display);
  font-size: 3.1rem;
  font-weight: 600;
  color: var(--ype-green);
  letter-spacing: -0.02em;
}
.ype-presenter-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ype-ink);
  color: var(--ype-white);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.ype-presenter-name {
  margin: 0;
  font-family: var(--ype-display);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ype-ink);
}
.ype-presenter-role {
  margin: 7px 0 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ype-green);
}
.ype-presenter-org {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ype-muted);
  overflow-wrap: anywhere;
}
.ype-presenter-org svg { margin-top: 3px; }

.ype-session {
  margin-top: 26px;
  padding: 26px 30px;
  border-radius: var(--ype-radius);
  background: var(--ype-green-tint);
  border-left: 4px solid var(--ype-green);
}
.ype-session-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ype-green-deep);
}
.ype-session-title {
  margin: 9px 0 0;
  font-family: var(--ype-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ype-ink);
}
.ype-session-desc { margin: 12px 0 0; font-size: 0.98rem; line-height: 1.68; color: var(--ype-ink-soft); }

.ype-presenter-logo { margin-top: 26px; max-width: 180px; }
.ype-presenter-logo img { width: 100%; height: auto; max-height: 54px; object-fit: contain; }

.ype-presenters-more {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--ype-radius);
  background: var(--ype-white);
  border: 1px dashed var(--ype-cream-deep);
  color: var(--ype-ink-soft);
}
.ype-presenters-more svg { color: var(--ype-green); margin-top: 2px; }
.ype-presenters-more p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.ype-presenters-more strong { color: var(--ype-ink); }

/* =========================================================
   PROVIDER / EXHIBITOR CTA
   ========================================================= */
.ype-provider { background: var(--ype-cream); padding: 80px 0; }
.ype-provider-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px;
  align-items: center;
}
.ype-provider-copy .ype-eyebrow { color: var(--ype-green); }
.ype-provider-copy h2 {
  margin: 16px 0 0;
  font-family: var(--ype-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.ype-provider-copy > p { margin: 16px 0 0; font-size: 1.03rem; line-height: 1.7; color: var(--ype-ink-soft); max-width: 58ch; }
.ype-provider-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.ype-provider-list li { display: flex; align-items: center; gap: 11px; font-size: 0.97rem; font-weight: 500; color: var(--ype-ink); }
.ype-provider-list svg { color: var(--ype-green); }

.ype-provider-action {
  background: var(--ype-white);
  border-radius: var(--ype-radius-lg);
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--ype-shadow);
}
.ype-provider-price {
  display: block;
  font-family: var(--ype-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ype-green);
}
.ype-provider-price-label {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ype-muted);
}
.ype-provider-action .ype-btn { margin-top: 24px; }
.ype-provider-note { display: block; margin-top: 15px; font-size: 0.84rem; line-height: 1.5; color: var(--ype-muted); }

/* =========================================================
   SPONSORS — prominence by level
   ========================================================= */
.ype-sponsors { background: var(--ype-bg); }
.ype-tiers { display: grid; gap: 44px; }

.ype-tier-head { display: flex; justify-content: center; margin-bottom: 26px; }
.ype-tier-label {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.ype-tier-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.ype-sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 30px 32px 26px;
  background: var(--ype-white);
  border: 1px solid var(--ype-line);
  border-radius: var(--ype-radius-lg);
  text-decoration: none;
  text-align: center;
  box-shadow: var(--ype-shadow-sm, 0 2px 12px rgba(26, 31, 18, 0.06));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ype-sponsor:hover { transform: translateY(-3px); box-shadow: var(--ype-shadow); border-color: var(--ype-green-soft); }

.ype-sponsor-logo { display: grid; place-items: center; width: 100%; }
.ype-sponsor-logo img { width: 100%; height: auto; object-fit: contain; }
.ype-sponsor-mono {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ype-green-tint);
  font-family: var(--ype-display);
  font-weight: 600;
  color: var(--ype-green);
}
.ype-sponsor-name {
  font-family: var(--ype-body);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ype-ink);
}
.ype-sponsor-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ype-green);
}

/* Presenting — largest */
.ype-tier--presenting .ype-sponsor { min-width: 360px; max-width: 480px; padding: 40px 48px 34px; }
.ype-tier--presenting .ype-sponsor-logo { min-height: 110px; }
.ype-tier--presenting .ype-sponsor-logo img { max-height: 110px; max-width: 320px; }
.ype-tier--presenting .ype-sponsor-mono { width: 96px; height: 96px; font-size: 2.3rem; }
.ype-tier--presenting .ype-sponsor-name { font-size: 1.3rem; }

/* Supporting */
.ype-tier--supporting .ype-sponsor { min-width: 300px; max-width: 400px; padding: 34px 40px 30px; }
.ype-tier--supporting .ype-sponsor-logo { min-height: 84px; }
.ype-tier--supporting .ype-sponsor-logo img { max-height: 84px; max-width: 260px; }
.ype-tier--supporting .ype-sponsor-mono { width: 80px; height: 80px; font-size: 1.9rem; }
.ype-tier--supporting .ype-sponsor-name { font-size: 1.12rem; }

/* Community */
.ype-tier--community .ype-sponsor { min-width: 260px; max-width: 340px; }
.ype-tier--community .ype-sponsor-logo { min-height: 66px; }
.ype-tier--community .ype-sponsor-logo img { max-height: 66px; max-width: 210px; }
.ype-tier--community .ype-sponsor-mono { width: 68px; height: 68px; font-size: 1.6rem; }
.ype-tier--community .ype-sponsor-name { font-size: 1rem; }

/* Any further level that reaches the wall */
.ype-tier--exhibitor .ype-sponsor { min-width: 220px; max-width: 290px; padding: 24px 26px 22px; }
.ype-tier--exhibitor .ype-sponsor-logo { min-height: 52px; }
.ype-tier--exhibitor .ype-sponsor-logo img { max-height: 52px; max-width: 180px; }
.ype-tier--exhibitor .ype-sponsor-mono { width: 58px; height: 58px; font-size: 1.3rem; }
.ype-tier--exhibitor .ype-sponsor-name { font-size: 0.95rem; }

/* =========================================================
   EXHIBITORS & PARTNERS
   ========================================================= */
.ype-exhibitors { background: var(--ype-cream); }

.ype-spot-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* --- Grid (one to three organizations) --- */
.ype-exhibitor-grid {
  display: grid;
  gap: 24px;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
}
.ype-exhibitor-grid--1 { grid-template-columns: minmax(280px, 560px); }

.ype-exhibitor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 34px 32px 30px;
  background: var(--ype-white);
  border: 1px solid rgba(213, 204, 163, 0.75);
  border-radius: var(--ype-radius-lg);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--ype-shadow-sm, 0 2px 12px rgba(26, 31, 18, 0.06));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.ype-exhibitor-card:hover { transform: translateY(-3px); box-shadow: var(--ype-shadow); border-color: var(--ype-green-soft); }
.ype-exhibitor-grid--1 .ype-exhibitor-card {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 32px;
  padding: 34px 36px;
}
.ype-exhibitor-body h3 {
  margin: 0;
  font-family: var(--ype-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ype-ink);
}
.ype-exhibitor-body p { margin: 10px 0 0; font-size: 0.96rem; line-height: 1.6; color: var(--ype-ink-soft); }
.ype-exhibitor-body .ype-spot-link { margin-top: 13px; }

/* --- Rotating spotlight (four or more) --- */
.ype-spotlight {
  position: relative;
  background: var(--ype-white);
  border-radius: var(--ype-radius-lg);
  box-shadow: var(--ype-shadow);
  padding: 44px;
  overflow: hidden;
}
.ype-spotlight-track { position: relative; min-height: 148px; }
.ype-spot {
  display: none;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  animation: ype-fade 0.45s ease;
}
.ype-spot.is-active { display: grid; }
@keyframes ype-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.ype-spot-logo {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  border-radius: var(--ype-radius);
  background: var(--ype-bg);
  border: 1px solid var(--ype-line);
}
.ype-spot-logo img { width: 100%; height: auto; max-height: 86px; object-fit: contain; }
.ype-spot-logo--text span {
  font-family: var(--ype-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ype-green);
}
.ype-exhibitor-card .ype-spot-logo { width: 100%; max-width: 230px; }
.ype-exhibitor-grid--1 .ype-spot-logo { flex: 0 0 190px; width: 190px; }

.ype-spot-body h3 {
  margin: 0;
  font-family: var(--ype-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ype-ink);
}
.ype-spot-body p { margin: 11px 0 0; font-size: 1rem; line-height: 1.65; color: var(--ype-ink-soft); max-width: 58ch; }
.ype-spot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ype-green);
  text-decoration: none;
}
a:hover .ype-spot-link,
.ype-spot-link:hover { color: var(--ype-green-deep); text-decoration: underline; }

.ype-spotlight-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.ype-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--ype-cream-deep);
  transition: all 0.25s ease;
}
.ype-dot.is-active { background: var(--ype-green); width: 28px; border-radius: 999px; }

.ype-exhibitor-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 30px; }
.ype-exhibitor-chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ype-ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ype-cream-deep);
}

/* =========================================================
   CLOSING BAND
   ========================================================= */
.ype-close { background: var(--ype-bg); padding: 0 0 92px; }
.ype-close-card {
  position: relative;
  background: var(--ype-ink);
  color: var(--ype-white);
  border-radius: var(--ype-radius-lg);
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
}
.ype-close-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(107, 154, 42, 0.3), transparent 55%),
    radial-gradient(circle at 92% 100%, rgba(213, 204, 163, 0.16), transparent 58%);
  pointer-events: none;
}
.ype-close-card > * { position: relative; z-index: 1; }
.ype-close-card h2 {
  margin: 16px 0 0;
  font-family: var(--ype-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ype-white);
}
.ype-close-card > p {
  margin: 16px auto 0;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.ype-close-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.ype-share { margin-top: 44px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ype-share-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ype-cream-deep);
}
.ype-share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 18px; }
.ype-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ype-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}
.ype-share-btn:hover { background: var(--ype-white); color: var(--ype-ink); border-color: var(--ype-white); }

/* ---------- Social row ---------- */
.ype-social { margin-top: 30px; }
.ype-social-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ype-muted);
  margin-bottom: 14px;
}
.ype-social--light .ype-social-label { color: var(--ype-cream-deep); }
.ype-social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.ype-social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ype-ink-soft);
  background: var(--ype-white);
  border: 1px solid var(--ype-line);
  transition: all 0.25s ease;
}
.ype-social-link:hover { background: var(--ype-green); color: var(--ype-white); border-color: var(--ype-green); transform: translateY(-2px); }
.ype-social--light .ype-social-link {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ype-white);
}
.ype-social--light .ype-social-link:hover { background: var(--ype-white); color: var(--ype-ink); }

/* =========================================================
   EVENT CARDS (homepage / archive)
   ========================================================= */
.ype-events { position: relative; padding: 92px 0 96px; overflow: hidden; }
.ype-events--band { background: var(--ype-ink); }
.ype-events--band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(107, 154, 42, 0.26), transparent 52%),
    radial-gradient(circle at 95% 96%, rgba(213, 204, 163, 0.16), transparent 55%);
  pointer-events: none;
}
.ype-events--plain { background: var(--ype-bg); padding-top: 0; }
.ype-events .ype-container { position: relative; z-index: 1; }

.ype-events-head { max-width: 880px; margin: 0 auto 54px; text-align: center; }
.ype-events-head h2 {
  margin-top: 20px;
  font-family: var(--ype-display);
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ype-white);
}
.ype-events-head h2 em { font-style: italic; color: var(--ype-cream-deep); }
.ype-events--plain .ype-events-head h2 { color: var(--ype-ink); }
.ype-events-lede {
  margin: 22px auto 0;
  max-width: 68ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.ype-events--plain .ype-events-lede { color: var(--ype-ink-soft); }
.ype-events-head .ype-pills { justify-content: center; margin-top: 28px; }

.ype-grid-cards { display: grid; gap: 28px; align-items: stretch; }
.ype-grid-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ype-grid-cards--one { grid-template-columns: minmax(0, 720px); justify-content: center; }

.ype-card {
  display: flex;
  flex-direction: column;
  background: var(--ype-white);
  border: 1px solid var(--ype-line);
  border-radius: var(--ype-radius-lg);
  padding: 34px 32px 32px;
  box-shadow: var(--ype-shadow-lg);
}
.ype-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ype-when {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ype-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ype-green-tint);
  color: var(--ype-green-deep);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.ype-badge-free::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ype-green);
  box-shadow: 0 0 0 4px rgba(64, 109, 4, 0.15);
}
.ype-card-title {
  margin: 20px 0 0;
  font-family: var(--ype-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ype-ink);
}
.ype-card-kicker {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ype-green);
}

.ype-meta { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ype-line); display: grid; gap: 15px; }
.ype-meta-row { display: flex; align-items: flex-start; gap: 13px; }
.ype-meta-icon {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ype-green-tint);
  border: 1px solid rgba(64, 109, 4, 0.16);
  color: var(--ype-green-deep);
  display: grid;
  place-items: center;
}
.ype-meta-row div strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--ype-ink); }
.ype-meta-row div span { display: block; margin-top: 3px; font-size: 0.9rem; line-height: 1.5; color: var(--ype-ink-soft); }

.ype-card-action { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.ype-card-action .ype-btn { width: 100%; }
.ype-reassure { font-size: 0.84rem; line-height: 1.5; color: var(--ype-muted); text-align: center; }
.ype-extra { font-size: 0.84rem; line-height: 1.5; min-height: 1.5em; color: var(--ype-green); font-weight: 600; text-align: center; }

/* Archive head */
.ype-archive-head { background: var(--ype-bg); padding: 70px 0 44px; text-align: center; }
.ype-archive-head h1 {
  margin: 18px 0 0;
  font-family: var(--ype-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ype-ink);
}
.ype-archive-head .ype-eyebrow { color: var(--ype-green); }
.ype-archive-head p { margin: 16px auto 0; max-width: 60ch; font-size: 1.05rem; line-height: 1.65; color: var(--ype-ink-soft); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1040px) {
  .ype-hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
  .ype-provider-inner { grid-template-columns: 1fr; gap: 34px; }
  .ype-grid-cards--two { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .ype-presenter { grid-template-columns: 1fr; gap: 26px; padding: 34px 26px; text-align: center; }
  .ype-presenter-org { justify-content: center; }
  .ype-session { text-align: left; }
  .ype-presenter-logo { margin-left: auto; margin-right: auto; }
  .ype-spot { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .ype-spot-logo { max-width: 260px; margin: 0 auto; width: 100%; }
  .ype-spot-body p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 680px) {
  .ype-container { padding: 0 18px; }
  .ype-section { padding: 64px 0; }
  .ype-section-head { margin-bottom: 38px; }
  .ype-hero { padding-top: 56px; }
  .ype-hero-cta { flex-direction: column; align-items: stretch; }
  .ype-hero-cta .ype-btn { width: 100%; }
  .ype-facts-card { padding: 28px 22px; }
  .ype-events { padding: 66px 0 72px; }
  .ype-events-head { margin-bottom: 36px; }
  .ype-card { padding: 26px 22px 24px; }
  .ype-close-card { padding: 44px 24px; }
  .ype-close-cta { flex-direction: column; align-items: stretch; }
  .ype-close-cta .ype-btn { width: 100%; }
  .ype-spotlight { padding: 28px 22px; }
  .ype-provider-action { padding: 28px 22px; }
  .ype-tier--presenting .ype-sponsor,
  .ype-tier--supporting .ype-sponsor,
  .ype-tier--community .ype-sponsor,
  .ype-tier--exhibitor .ype-sponsor { min-width: 0; max-width: none; width: 100%; padding: 26px 22px 22px; }
  .ype-tiers { gap: 32px; }
  .ype-tier-logos { gap: 14px; }
  .ype-exhibitor-grid,
  .ype-exhibitor-grid--1 { grid-template-columns: 1fr; }
  .ype-exhibitor-grid--1 .ype-exhibitor-card { flex-direction: column; text-align: center; gap: 20px; padding: 28px 22px; }
  .ype-exhibitor-grid--1 .ype-spot-logo { flex: none; width: 100%; max-width: 230px; }
  .ype-share-row { flex-direction: column; }
  .ype-share-btn { justify-content: center; }
  .ype-topics-strip .ype-container { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ype-btn, .ype-sponsor, .ype-social-link, .ype-share-btn, .ype-dot { transition: none; }
  .ype-spot { animation: none; }
  .ype-btn:hover, .ype-sponsor:hover, .ype-social-link:hover { transform: none; }
}
