/* inSymmetry landing — design language from the Canva system:
   vivid purple blocks, crimson accents, warm off-white, heavy sans, hard rectangles. */

:root {
  --purple: #8157FF;   /* from the official logo SVG */
  --purple-deep: #6a3ee8;
  --pink: #F81155;
  --paper: #F4F2EF;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

/* header */
.site-header { padding: 28px 0 0; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-tag {
  display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 2px;
}

/* brand animated icons (white-bg GIFs blended onto light sections) */
.brand-anim { mix-blend-mode: multiply; }
.hero-wrap { position: relative; }
.section-anim { width: 64px; margin-bottom: 10px; }

/* soft purple glare behind grey sections, parallaxed on scroll */
.has-glare { position: relative; overflow: hidden; }
.has-glare > .wrap { position: relative; z-index: 1; }
.glare {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(72vw, 860px); height: min(72vw, 860px); border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 87, 255, 0.11) 0%, rgba(129, 87, 255, 0) 62%);
  top: 0; left: 50%; transform: translateX(-50%);
}

/* hero */
.hero { padding: 88px 0 96px; }
.eyebrow {
  display: inline-block; background: var(--pink); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); max-width: 15em; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 36em; margin: 24px 0 36px; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 16px; }

/* buttons */
.btn {
  font-family: inherit; font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
  padding: 18px 32px; display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-deep); }
.btn-ghost { background: transparent; color: var(--ink); text-decoration: underline; padding: 18px 12px; font-weight: 600; }
.arrow { font-size: 1.2em; line-height: 1; }

/* proof strip */
.proof { background: var(--purple); color: var(--white); padding: 56px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.proof-stat { font-size: 2.6rem; font-weight: 800; display: block; line-height: 1; margin-bottom: 10px; }
.proof-item p { font-size: 0.95rem; }
.proof-src { display: block; font-size: 0.75rem; opacity: 0.75; margin-top: 6px; }

/* shared section bits */
.section-sub { color: var(--ink-soft); max-width: 38em; margin: 16px 0 40px; }

/* facilitators */
.facilitators { padding: 88px 0; }
.facilitators h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac-card { margin: 0; display: flex; flex-direction: column; }
.fac-card[hidden] { display: none; }
.fac-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #eceae7; }
.fac-card figcaption { background: var(--purple); color: var(--white); padding: 12px 14px; flex: 1; }
.fac-name { display: block; font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.fac-country { display: block; font-size: 0.78rem; opacity: 0.85; margin-top: 2px; }
.fac-toggle {
  display: block; margin: 28px auto 0; background: transparent; color: var(--ink);
  border: 2px solid var(--ink); padding: 14px 28px; font-family: inherit;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.fac-toggle:hover { background: var(--ink); color: var(--paper); }
.fac-toggle-icon { display: inline-block; margin-left: 6px; transition: transform 0.25s; }
.fac-toggle[aria-expanded="true"] .fac-toggle-icon { transform: rotate(180deg); }

/* event photos */
.event { background: var(--white); padding: 88px 0; }
.event h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.event-cycler { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.event-cycler img { position: absolute; inset: 0; height: 100%; opacity: 0; }
.event-cycler img.active { opacity: 1; }

/* testimonials */
.testimonials { padding: 88px 0; }
.testimonials h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 36px; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 44px; }
.testi-card { margin: 0; background: var(--white); border-top: 4px solid var(--pink); padding: 26px 24px; display: flex; flex-direction: column; }
.testi-card p { font-size: 0.93rem; color: var(--ink-soft); flex: 1; }
.testi-card footer { margin-top: 20px; }
.testi-name { display: block; font-weight: 700; font-size: 0.9rem; }
.testi-role { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }

/* what you'll learn */
.learn { padding: 88px 0; }
.learn h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 32px; }
.learn-list { list-style: none; margin-bottom: 44px; max-width: 40em; }
.learn-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 2px solid rgba(0,0,0,0.08); font-size: 1.02rem; }
.tick { color: var(--pink); font-weight: 800; flex-shrink: 0; }

/* program phases */
.program { background: var(--white); padding: 88px 0; }
.program h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.phase { text-align: center; padding: 0 8px; }
.phase-icon { width: 72px; margin: 0 auto 6px; display: block; }
.phase h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.phase-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.phase p:last-child { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .program-grid { grid-template-columns: 1fr; gap: 40px; } }

/* closing band */
.closing { background: var(--purple); color: var(--white); padding: 96px 0; text-align: center; }
.closing h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.closing p { opacity: 0.9; margin-bottom: 36px; }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: #d90c49; }

/* countdown */
.cd-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; margin-bottom: 12px !important; }
.countdown { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; }
.cd-cell { background: rgba(255,255,255,0.14); padding: 12px 0; width: 76px; display: flex; flex-direction: column; align-items: center; }
.cd-num { font-size: 1.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; margin-top: 6px; }
.countdown-sm { justify-content: flex-start; margin-bottom: 22px; }
.countdown-sm .cd-cell { width: 62px; padding: 9px 0; }
.countdown-sm .cd-num { font-size: 1.3rem; }
.match-block .cd-label { margin-top: 4px; }

/* peer bond map */
.bm-title { font-weight: 800; font-size: 1.15rem; margin: 30px 0 6px; }
.bond-map-tilt { perspective: 1000px; }
.bond-map { width: 100%; max-width: 480px; display: block; margin: 0 auto; transform: rotateX(14deg); }
.bm-label { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; fill: var(--ink-soft); }
.bm-legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-soft); margin: 4px 0 8px; }
.bm-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }

/* footer */
.site-footer { padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); }
.footer-inner a { color: var(--ink-soft); }
.footer-links { display: flex; gap: 18px; }

/* ============ overlay / assessment ============ */
.overlay {
  position: fixed; inset: 0; background: var(--paper); z-index: 100;
  display: flex; flex-direction: column;
}
.overlay[hidden] { display: none; }
.overlay-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.overlay-logo-img { height: 28px; width: auto; display: block; }
.overlay-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }

.progress-track { height: 6px; background: rgba(0,0,0,0.08); }
.progress-bar { height: 100%; width: 0%; background: var(--pink); transition: width 0.25s ease; }

.overlay-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  justify-content: safe center; overflow-y: auto;
  max-width: 640px; width: 100%; margin: 0 auto; padding: 32px 24px 64px;
}

.q-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 18px; }
.q-text { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; line-height: 1.25; margin-bottom: 40px; }

.scale { display: flex; flex-direction: column; gap: 10px; }
.scale button {
  font-family: inherit; font-size: 1rem; font-weight: 600; text-align: left;
  background: var(--white); border: 2px solid transparent; padding: 16px 20px; cursor: pointer;
  transition: border-color 0.1s ease, background 0.1s ease;
}
.scale button:hover { border-color: var(--purple); }
.scale button.selected { background: var(--purple); color: var(--white); }

.nav-row { margin-top: 32px; }
.back-link { background: none; border: none; font-family: inherit; font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; text-decoration: underline; }

/* email + country step */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 15px 16px;
  border: 2px solid rgba(0,0,0,0.15); background: var(--white);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); margin: 20px 0 28px; }
.consent input { margin-top: 4px; }
.form-error { color: var(--pink); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; display: none; }

/* result */
.tier-label {
  display: inline-block; background: var(--pink); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 20px;
}
.result-score { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 24px; }
.result-body p { margin-bottom: 16px; color: var(--ink-soft); }
.result-body p strong { color: var(--ink); }

.match-block { background: var(--purple); color: var(--white); padding: 28px; margin: 32px 0; }
.match-person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.match-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.6); }
.mp-name { display: block; font-weight: 700; font-size: 0.95rem; }
.mp-role { display: block; font-size: 0.78rem; opacity: 0.85; }
.match-block h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.match-block p { font-size: 0.95rem; margin-bottom: 20px; }
.match-block .btn-primary { background: var(--pink); }
.match-block .btn-primary:hover { background: #d90c49; }
.urgency { font-size: 0.82rem; font-weight: 700; margin-top: 14px; }

.final-note { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 10px; }
.final-note a { color: var(--purple); font-weight: 600; }

/* upcoming event card (end screens) */
.event-card { background: var(--white); border-top: 4px solid var(--pink); padding: 24px; margin-top: 24px; }
.ec-label { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.ec-title { font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin-bottom: 6px; }
.ec-date { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.ec-btn { padding: 14px 24px; font-size: 0.92rem; text-decoration: none; }

@media (max-width: 860px) {
  .fac-grid { gap: 14px; }
  .testi-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-toggle { width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .nav-row .back-link { width: auto; }
  .event-grid { grid-template-columns: 1fr; }
}

/* ============ cookie consent ============ */
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  transform: translateY(100%); transition: transform 0.3s ease;
}
.cc-banner.is-open { transform: translateY(0); }
.cc-banner[hidden] { display: none; }
.cc-inner {
  max-width: 880px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 28px;
}
.cc-text { font-size: 0.82rem; line-height: 1.55; opacity: 0.92; }
.cc-text a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* equal weight by design — refusing must be as easy as accepting */
.cc-btn {
  font-family: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; padding: 12px 22px; min-width: 104px;
  background: var(--white); color: var(--ink); border: 2px solid var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}
.cc-btn:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }
.cc-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

@media (max-width: 640px) {
  .cc-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px; }
  .cc-actions { justify-content: stretch; }
  .cc-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-banner { transition: none; }
}
