/* ==========================================================================
   LEGO SERIOUS PLAY Global Community Meeting — shared styles
   Palette & type derived from the LinkedIn carousel reference
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Arial:wght@400;700&display=swap');

:root{
  --navy: #0d1547;
  --navy-deep: #0a1038;
  --steel-blue: #61758a;
  --yellow: #f4c430;
  --red: #e6392c;
  --ink: #333026;
  --paper: #ffffff;
  --cloud: #eceae4;
  --max: 1140px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
}

h1,h2,h3,.serif{
  font-family:'Playfair Display', Georgia, serif;
  color:var(--steel-blue);
  margin:0 0 .3em;
  line-height:1.08;
  font-weight:600;
}

a{ color:inherit; }

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

/* ---------- Top nav ---------- */
.topnav{
  background:var(--navy);
  padding:16px 0;
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:3px solid var(--yellow);
}
.topnav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.03em;
  font-size:.95rem;
}
.brand .seal{
  width:44px; height:44px;
  border-radius:50%;
  background:#fff;
  object-fit:contain;
  border:2px solid #fff;
  flex:none;
}
.topnav.on-white .brand .seal{ border-color:var(--navy); }
.nav-links{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{
  color:#dfe6ee;
  text-decoration:none;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:.02em;
  padding:6px 0;
  border-bottom:2px solid transparent;
}
.nav-links a:hover, .nav-links a.active{ color:#fff; border-color:var(--yellow); }

/* ---------- Hero ---------- */
.hero{
  background:var(--navy);
  color:#fff;
  position:relative;
  overflow:hidden;
  padding:72px 0 0;
}
.hero .container{ position:relative; z-index:2; }
.hero .eyebrow{
  display:flex; justify-content:flex-end;
}
.hero h1{
  font-size:clamp(2.4rem, 5.6vw, 4.4rem);
  color:var(--steel-blue);
  max-width:820px;
  margin-top:-10px;
}
.hero .lsp-tag{
  font-weight:700;
  font-size:1.15rem;
  letter-spacing:.02em;
  margin:18px 0 6px;
}
.hero .lsp-tag sup{ font-size:.6em; }
.hero .subtitle{ font-size:1.15rem; color:#e7ecf2; margin-bottom:6px; }
.hero .dates{
  color:var(--red);
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:28px;
}
.hero-photo-wrap{
  position:relative;
  margin-top:20px;
}
.hero-photo{
  width:100%;
  height:min(46vw, 420px);
  object-fit:cover;
  display:block;
}
.diagonal-yellow{
  position:absolute;
  top:-3px; left:0; right:0;
  height:14px;
  background:var(--yellow);
  transform:skewY(-1.2deg);
  transform-origin:left;
  z-index:3;
}

.photo-placeholder{
  width:100%;
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:repeating-linear-gradient(45deg,#1b234f,#1b234f 12px,#222c5c 12px,#222c5c 24px);
  color:#aeb9d6;
  font-size:.9rem;
  padding:20px;
  border:1px dashed #4a5686;
}
.on-white .photo-placeholder{
  background:repeating-linear-gradient(45deg,#f1f1ec,#f1f1ec 12px,#e6e6de 12px,#e6e6de 24px);
  color:#8a887c;
  border-color:#cfcdc2;
}

/* ---------- Value sections (Belonging / Practice / Learning) ---------- */
.value-section{
  padding:88px 0;
}
.value-section.dark{ background:var(--navy); color:#fff; }
.value-section.dark h2{ color:var(--steel-blue); }
.value-section.light{ background:var(--paper); }

.value-section h2{ font-size:clamp(2rem,4vw,3rem); }
.value-section .lede{ max-width:640px; font-size:1.15rem; margin-bottom:14px; }
.value-section .lede strong{ color:inherit; }
.value-section .body-copy{ max-width:640px; font-size:1.05rem; }

.photo-row{
  display:grid;
  gap:14px;
  margin-top:40px;
}
.photo-row.cols-1{ grid-template-columns:1fr; }
.photo-row.cols-2{ grid-template-columns:1.1fr 1fr; }
.photo-row.cols-3{ grid-template-columns:repeat(3,1fr); }
.photo-row img, .photo-row .photo-placeholder{ border-radius:2px; }
.photo-row figcaption{
  text-align:center;
  margin-top:14px;
  font-weight:700;
  font-size:.95rem;
}
.accent-frame{
  border:8px solid var(--yellow);
  padding:0;
  display:inline-block;
  width:100%;
}
.dark .accent-frame{ border-color:var(--yellow); }
.light .accent-frame{ border-color:var(--yellow); }
.accent-frame.plain{ border:none; }

@media (max-width:760px){
  .photo-row.cols-2, .photo-row.cols-3{ grid-template-columns:1fr; }
}

/* ---------- Schedule / CTA closing block ---------- */
.closer{
  background:var(--navy);
  color:#fff;
  padding:80px 0 0;
}
.closer h2{
  font-size:clamp(2rem,4.4vw,3.2rem);
  color:var(--steel-blue);
  max-width:760px;
}
.closer .lsp-tag{ color:var(--yellow); font-weight:700; margin-top:20px; }
.closer .lsp-sub{ color:#fff; font-weight:400; }

.schedule-box{
  background:var(--cloud);
  color:var(--ink);
  border-radius:14px;
  padding:26px 30px;
  max-width:640px;
  margin:26px 0 40px;
}
.schedule-box .place{ font-weight:700; font-size:1.1rem; margin-bottom:10px; }
.schedule-box .line{ margin:6px 0; }
.schedule-box .line b{ color:var(--red); }

.closer-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
}
.closer-photos .photo-placeholder{ min-height:260px; border:none; }

.cta-bar{
  background:var(--red);
  color:#fff;
  text-align:center;
  padding:26px 20px;
  font-weight:700;
  font-size:1.3rem;
}
.cta-bar .sub{ font-weight:400; font-size:1.05rem; margin-top:4px; }

@media (max-width:760px){
  .closer-photos{ grid-template-columns:1fr; }
}

/* ---------- Notice / access box ---------- */
.notice{
  background:var(--cloud);
  border-left:5px solid var(--red);
  padding:20px 26px;
  margin:40px 0;
  font-size:.98rem;
}
.notice strong{ color:var(--red); }

/* ---------- Registration / links ---------- */
.btn{
  display:inline-block;
  background:var(--yellow);
  color:var(--navy);
  font-weight:700;
  padding:14px 30px;
  border-radius:40px;
  text-decoration:none;
  font-size:1.05rem;
  margin-top:10px;
}
.btn:hover{ opacity:.9; }
.btn.outline{
  background:transparent;
  border:2px solid #fff;
  color:#fff;
}

/* ---------- Footer ---------- */
footer{
  background:var(--navy-deep);
  color:#c8cfe0;
  padding:40px 0;
  text-align:center;
  font-size:.85rem;
}
footer a{ color:#fff; text-decoration:underline; }

/* ---------- Placeholder content sections ---------- */
.tbd-card{
  border:2px dashed #b9c3dd;
  border-radius:10px;
  padding:26px;
  margin-bottom:18px;
  background:#f7f8fb;
}
.dark .tbd-card{ background:#141c50; border-color:#3a4680; color:#dfe6ee; }
.tbd-card h3{ color:var(--steel-blue); margin-bottom:8px; }

/* ==========================================================================
   White-background variant ("on-white") — mirrors the light carousel slides
   ========================================================================== */
.topnav.on-white{ background:var(--paper); border-bottom:3px solid var(--yellow); }
.topnav.on-white .brand{ color:var(--navy); }
.topnav.on-white .brand .seal{ border-color:var(--navy); }
.topnav.on-white .nav-links a{ color:#5a6472; }
.topnav.on-white .nav-links a:hover,
.topnav.on-white .nav-links a.active{ color:var(--navy); border-color:var(--yellow); }

.hero.on-white{ background:var(--paper); color:var(--ink); }
.hero.on-white .subtitle{ color:#4a4a42; }

.closer.on-white{ background:var(--paper); color:var(--ink); }
.closer.on-white .lsp-sub{ color:var(--ink); }
.closer.on-white .notice{ background:var(--cloud); border-left-color:var(--red); color:var(--ink); }
.closer.on-white .btn.outline{ border-color:var(--navy); color:var(--navy); }

footer.on-white{ background:var(--cloud); color:#5a6472; }
footer.on-white a{ color:var(--navy); }
