/* =========================================================
   UP Youth Manifesto — shared styles
   Colours yahan se badlein
   ========================================================= */
:root {
  /* Palette — institutional burgundy */
  --deep: #4A0C2C;
  --maroon: #6B1020;
  --wine: #5C1230;
  --crimson: #8B1A2B;
  --off-white: #FAF8F7;
  --pure: #FFFFFF;

  --burgundy: var(--maroon);
  --burgundy-dark: var(--deep);
  --burgundy-mid: var(--crimson);
  --ink: #1A1214;
  --mute: #6B5F63;
  --line: rgba(26, 18, 20, 0.1);
  --white: var(--pure);
  --surface: #FFFFFF;
  --surface-2: #F8F4F5;
  --shadow-sm: 0 1px 2px rgba(26, 18, 20, 0.04), 0 4px 12px rgba(74, 12, 44, 0.06);
  --shadow-md: 0 4px 16px rgba(74, 12, 44, 0.1), 0 12px 32px rgba(74, 12, 44, 0.08);
  --shadow-lg: 0 12px 40px rgba(74, 12, 44, 0.16);
  --radius: 12px;
  --radius-lg: 18px;

  --grad-main: linear-gradient(145deg, #4A0C2C 0%, #6B1020 50%, #5C1230 100%);
  --grad-deep: linear-gradient(165deg, #6B1020 0%, #4A0C2C 55%, #5C1230 100%);
  --grad-hero: linear-gradient(160deg, #3D0A24 0%, #5A0F36 40%, #6B1020 100%);
  --grad-rich: linear-gradient(180deg, #5A0F36 0%, #4A0C2C 100%);
  --grad-card: linear-gradient(165deg, #5C1230 0%, #4A0C2C 100%);
  --grad-btn: linear-gradient(135deg, #8B1A2B 0%, #6B1020 100%);
  --grad-btn-hover: linear-gradient(135deg, #6B1020 0%, #4A0C2C 100%);
  --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F8F4F5 100%);

  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font: 16px/1.7 var(--font-body);
  color: var(--ink);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
section { padding: 80px 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 14px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 14px; color: rgba(255,255,255,0.7);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--burgundy); }
.lede { font-size: 17px; color: var(--mute); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 10px;
  font: 600 13.5px var(--font-body); letter-spacing: 0.02em;
  border: 1px solid transparent;
  background: var(--grad-btn);
  color: var(--pure); cursor: pointer; transition: 0.2s ease;
  box-shadow: 0 2px 8px rgba(74,12,44,0.2);
}
.btn:hover {
  background: var(--grad-btn-hover);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn.line {
  background: transparent; border-color: rgba(139,26,43,0.45);
  color: var(--crimson); box-shadow: none;
}
.btn.line:hover {
  background: var(--crimson); color: var(--pure);
  border-color: var(--crimson);
}
.btn.light {
  background: var(--pure); border-color: rgba(255,255,255,0.9);
  color: var(--deep); box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.btn.light:hover { background: var(--off-white); color: var(--maroon); }

/* Topbar + Nav */
.topbar {
  background: #3D0A24; color: rgba(255,255,255,0.88);
  font-size: 11.5px; font-weight: 500; text-align: center;
  padding: 7px 16px; letter-spacing: 0.08em; text-transform: uppercase;
}
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(74, 12, 44, 0.97);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 18px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.logo .cobrand {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 10px; padding: 5px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.logo .cobrand img { height: 40px; width: auto; max-width: 44px; object-fit: contain; }
.logo .cobrand i { font: 600 15px var(--font-head); color: #5A0F36; font-style: normal; }
.logo-text {
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.logo b {
  display: block; font: 700 14px var(--font-head); line-height: 1.2;
  letter-spacing: 0.01em; white-space: nowrap;
}
.logo small {
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.78;
  white-space: nowrap;
}
nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
nav ul {
  display: flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 500; color: var(--white);
  flex-wrap: nowrap;
}
nav a {
  padding: 8px 11px; border-radius: 8px;
  border-bottom: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  opacity: 0.88;
}
nav a:hover, nav a.active {
  background: rgba(255,255,255,0.12);
  border-color: transparent;
  opacity: 1;
}
nav a.active { font-weight: 600; }
.nav > .btn { flex-shrink: 0; padding: 11px 20px; font-size: 13px; }
.burger {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px; width: 44px; height: 44px; font-size: 20px;
  cursor: pointer; color: var(--white);
}

/* Hero poster */
.hero { padding: 0; background: var(--white); }
.poster-top {
  background: var(--grad-hero); color: var(--off-white);
  padding: 36px 0 56px;
  border-radius: 0 0 50% 50% / 0 0 48px 48px;
}
.poster-row {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  align-items: center; gap: 20px;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.p-logo { display: flex; justify-content: center; }
.p-logo img { max-height: 78px; width: auto; object-fit: contain; }
.p-center { display: flex; justify-content: center; }
.p-center img { max-width: min(380px, 92%); width: 100%; height: auto; }

.poster-body { padding: 56px 0 64px; background: var(--grad-soft); color: var(--ink); }
.poster-body .lede {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.6vw, 17.5px); line-height: 1.8;
  color: var(--mute); max-width: 68ch; margin: 0 auto 28px; text-align: justify;
}
.poster-body .cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }

.glance {
  max-width: 640px; margin: 36px auto 0;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius-lg); padding: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.glance h3 {
  font: 600 11.5px var(--font-body); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mute); opacity: 1;
  margin: 0; padding: 12px 16px 8px;
}
.glance dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-radius: 10px; overflow: hidden; margin: 0 4px 4px;
}
.glance div {
  display: block; background: var(--surface-2);
  padding: 16px 18px; border: none;
}
.glance dt { font-size: 12px; color: var(--mute); opacity: 1; margin-bottom: 4px; }
.glance dd { font: 700 22px var(--font-head); color: var(--deep); white-space: normal; }

/* Page sections */
.tint { background: var(--grad-main); color: var(--off-white); }
.tint .lede { color: rgba(255,255,255,0.85); }
.orange { background: var(--grad-deep); color: var(--off-white); }
.page-hero {
  background: var(--grad-hero); color: var(--off-white);
  padding: 52px 0 44px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; font-weight: 700; letter-spacing: -0.02em; }
.page-hero p { opacity: 0.82; max-width: 48ch; margin: 0 auto; font-size: 15.5px; line-height: 1.6; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.ev {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 14px;
  padding: 26px; background: var(--grad-card); color: var(--off-white);
  display: flex; flex-direction: column; gap: 10px; transition: 0.2s;
}
.ev:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.35); transform: translateY(-2px); }
.ev h3 { font-size: 18px; }
.meta { font-size: 13px; opacity: 0.9; font-weight: 500; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; overflow: hidden;
  margin-top: 28px;
}
.step { padding: 24px 18px; border-right: 1px solid rgba(255,255,255,0.2); }
.step:last-child { border-right: 0; }
.step b { display: block; font: 600 20px var(--font-head); opacity: 0.5; margin-bottom: 8px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; opacity: 0.8; }

/* Pillars accordion */
.pillars-sec { padding: 64px 0 80px; background: var(--white); color: var(--ink); }
.pillars-sec .wrap { text-align: center; }
.pillars-title {
  display: inline-block;
  font: 700 clamp(24px, 3.5vw, 34px) var(--font-head);
  background: var(--grad-btn); color: var(--pure);
  padding: 10px 28px; border-radius: 6px; margin: 0 auto 36px;
}
.acc { max-width: 820px; margin: 0 auto; text-align: left; }
.acc-item {
  border: 1px solid #d9d9d9; border-radius: 4px;
  margin-bottom: 10px; background: var(--white); overflow: hidden;
}
.acc-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font: 500 15px var(--font-body); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  user-select: none;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: #f7f9fb; }
.acc-plus { flex: none; width: 22px; height: 22px; position: relative; }
.acc-plus::before, .acc-plus::after {
  content: ""; position: absolute; background: #333; transition: 0.2s;
}
.acc-plus::before { width: 14px; height: 2px; left: 4px; top: 10px; }
.acc-plus::after { width: 2px; height: 14px; left: 10px; top: 4px; }
.acc-item[open] .acc-plus::after { transform: scaleY(0); }
.acc-body {
  padding: 12px 20px 16px; margin: 0 12px;
  font-size: 14.5px; color: var(--mute); line-height: 1.6;
  border-top: 1px solid #eee;
}

/* Gallery */
.gal {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.gal-item {
  aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  background: #f0e8ea; cursor: pointer; position: relative;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item.placeholder {
  display: grid; place-items: center; color: var(--mute); font-size: 13px;
  border: 1px dashed var(--line);
}

/* Guests */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.people {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin: 28px 0 48px;
}
.person { width: 180px; }
.person img {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 14px;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.person h3 { font-size: 16px; margin-bottom: 6px; text-align: center; }
.person p { font-size: 13px; opacity: 0.85; text-align: center; line-height: 1.45; max-width: 18ch; margin: 0 auto; }

/* Forms */
.fcard {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.fcard h3 { font-size: 20px; margin-bottom: 4px; color: var(--burgundy-dark); }
.fsub { font-size: 13px; color: rgba(90,15,54,0.7); margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 13px; font-weight: 600; color: var(--burgundy-dark); }
.f input, .f select, .f textarea {
  padding: 11px 14px; border: 1.5px solid rgba(90,15,54,0.3);
  border-radius: 8px; font: 14px var(--font-body); color: var(--burgundy-dark);
  background: var(--white);
}
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none; border-color: var(--burgundy-mid);
  box-shadow: 0 0 0 3px rgba(138,11,32,0.2);
}
.fcard .btn { background: var(--grad-btn); border-color: transparent; width: 100%; margin-top: 10px; color: var(--pure); }
.fcard .btn:hover { background: var(--grad-btn-hover); }

.final {
  background: var(--grad-deep); color: var(--off-white);
  text-align: center; padding: 56px 0;
}

footer {
  background: #2A0818; color: var(--off-white);
  padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
footer .cobrand {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 10px; padding: 5px 12px;
}
footer .cobrand img { height: 40px; width: auto; max-width: 44px; object-fit: contain; }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
footer a:hover { opacity: 0.85; }
footer .cobrand i { font: 600 16px var(--font-head); color: #5A0F36; font-style: normal; }
footer p { font-size: 13px; opacity: 0.85; }

@media (max-width: 960px) {
  .burger { display: block; }
  nav ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--burgundy-dark); padding: 6px 28px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 12px 0; }
  .nav > .btn { display: none; }
  .poster-row { grid-template-columns: 1fr; gap: 18px; }
  .p-center { order: 1; }
  .p-logo { order: 2; }
  .grid3, .two, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .gal { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gal { grid-template-columns: 1fr; }
  /* .logo small kept visible for full name */
}

/* ===== Form extras (chips, checkbox, rating) ===== */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip { position: relative; margin: 0; cursor: pointer; font-weight: 500; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; padding: 0; }
.chip span {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border: 1.5px solid rgba(90,15,54,0.25); border-radius: 10px;
  font-size: 14px; background: #fff; transition: 0.15s; color: var(--burgundy-dark);
}
.chip span::before {
  content: ""; width: 16px; height: 16px; border-radius: 4px;
  border: 2px solid rgba(90,15,54,0.4); flex: none;
}
.chip:hover span { border-color: var(--burgundy-mid); }
.chip input:checked + span {
  background: rgba(138,11,32,0.08); border-color: var(--burgundy-mid);
}
.chip input:checked + span::before {
  background: var(--burgundy-mid); border-color: var(--burgundy-mid);
  box-shadow: inset 0 0 0 2px #fff;
}
.ck {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--burgundy-dark); margin: 14px 0 8px; cursor: pointer;
}
.ck input { margin-top: 3px; flex: none; }
.rate { margin-bottom: 14px; }
.rate b { display: block; font-size: 14px; margin-bottom: 8px; color: var(--burgundy-dark); }
.scale { display: flex; gap: 6px; flex-wrap: wrap; }
.sc { position: relative; margin: 0; }
.sc input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; padding: 0; }
.sc span {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1.5px solid rgba(90,15,54,0.3); border-radius: 8px;
  font: 600 13px var(--font-body); background: #fff; color: var(--burgundy-dark); transition: 0.15s;
}
.sc:hover span { border-color: var(--burgundy-mid); }
.sc input:checked + span {
  background: var(--burgundy-mid); border-color: var(--burgundy-mid); color: #fff;
}
.f em { font-weight: 400; opacity: 0.7; }

/* ===== Page morph / fade transition ===== */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
main {
  animation: pageIn 0.45s ease both;
}
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}

/* ===== Stronger responsive ===== */
@media (max-width: 1100px) {
  nav ul { gap: 2px; font-size: 12.5px; }
  nav a { padding: 7px 9px; }
  .nav > .btn { padding: 10px 14px; font-size: 12.5px; }
  /* .logo small kept visible for full name */
}
@media (max-width: 960px) {
  .burger { display: block; }
  nav { justify-content: flex-end; }
  nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; flex-wrap: wrap;
    background: var(--burgundy-dark); padding: 6px 28px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 12px 8px; white-space: normal; border-radius: 0; }
  nav a:hover, nav a.active { background: rgba(255,255,255,0.1); }
  .nav > .btn { display: none; }
  .poster-row { grid-template-columns: 1fr; gap: 18px; }
  .p-center { order: 1; }
  .p-logo { order: 2; }
  .grid3, .two, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .gal { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  /* .logo small kept visible for full name */
  .poster-top { border-radius: 0 0 40px 40px; padding: 28px 0 40px; }
  section { padding: 56px 0; }
  .page-hero { padding: 40px 0 36px; }
}
@media (max-width: 600px) {
  .gal { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .glance dd { font-size: 20px; }
  .sc span { width: 32px; height: 32px; font-size: 12px; }
  .poster-body .lede { text-align: justify; }
  .people { gap: 28px; }
  .person { width: 140px; }
  .person img { width: 120px; height: 120px; }
}

/* FAQ on pillars page */
.faq-sec { padding: 48px 0 80px; background: var(--grad-soft); color: var(--ink); }
.faq-sec h2 { text-align: center; margin-bottom: 28px; color: var(--burgundy-dark); }
.faq-sec .acc { max-width: 820px; margin: 0 auto; }
.faq-sec .acc-item { background: #fff; }
.faq-sec .acc-item summary { font-weight: 600; }

/* Side-by-side forms on registration */
.forms-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.forms-side .fcard { margin: 0; }
.forms-side .row { grid-template-columns: 1fr; }
.forms-side .chips { grid-template-columns: 1fr; }
@media (max-width: 960px) {
  .forms-side { grid-template-columns: 1fr; }
}

/* Partners page */
.partners-highlight {
  background: var(--grad-soft);
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(90,15,54,0.08);
}
.partner-logo-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--pure);
  padding: 22px 36px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(90,15,54,0.18), 0 0 0 1px rgba(138,11,32,0.12);
  margin: 8px auto 18px;
}
.partner-logo-hero img { height: 64px; width: auto; object-fit: contain; }
.partner-logo-hero .x-mark {
  font: 700 28px var(--font-head); color: var(--crimson);
  line-height: 1;
}
.partner-collab-title {
  font-size: clamp(26px, 3.5vw, 36px);
  background: var(--grad-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 0 auto 8px;
}
.partners-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.partner-card {
  background: var(--pure);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 32px rgba(90,15,54,0.1);
  border: 1px solid rgba(90,15,54,0.08);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.partner-card p { margin-bottom: 14px; }
.partner-card-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.partner-badge { height: 48px; width: auto; }
.partner-card h3 { font-size: 20px; color: var(--deep); margin: 0 0 2px; }
.meta-line { font-size: 13px; color: var(--mute); margin: 0 !important; }
.meta-line a { color: var(--crimson); text-decoration: underline; }
.partner-facts {
  list-style: disc; padding-left: 18px; margin: 12px 0;
  font-size: 14px; color: var(--mute);
}
.partner-facts li { margin-bottom: 6px; }

.about-prose {
  max-width: 72ch; margin: 0 auto; text-align: justify; text-justify: inter-word;
  hyphens: auto;
}
.about-prose p { margin-bottom: 20px; }

.p-center img[src*="center-poster"] {
  max-width: min(280px, 70%);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

@media (max-width: 960px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partner-logo-hero { padding: 16px 22px; gap: 12px; }
  .partner-logo-hero img { height: 48px; }
}

.acc-body p { margin-bottom: 12px; color: var(--ink); line-height: 1.7; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body strong { color: var(--deep); }

/* Detailed six-pillars layout (reference style) */
.pillars-detail-sec {
  background: var(--off-white, #FEFEFE);
  padding: 48px 0 72px;
  color: var(--ink);
}
.pillar-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px 48px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(90,15,54,0.12);
  align-items: start;
}
.pillar-block:last-child { border-bottom: 0; }
.pillar-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson, #8A0B20);
  margin-bottom: 8px;
}
.pillar-left h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--deep, #5A0F36);
  margin-bottom: 14px;
}
.pillar-left p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--mute, #5f554e);
  max-width: 42ch;
}
.pillar-right h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--deep, #5A0F36);
  margin-bottom: 14px;
}
.pillar-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pillar-right li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid rgba(90,15,54,0.08);
}
.pillar-right li:last-child { border-bottom: 0; }
.pillar-right li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson, #8A0B20);
}
@media (max-width: 900px) {
  .pillar-block { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .pillar-left p { max-width: none; }
}

.poster-top-full {
  border-radius: 0 0 40px 40px;
  padding: 28px 0 40px !important;
}

/* HTML hero poster — professional card */
.hero-poster {
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 32px 30px;
  text-align: center;
  color: var(--off-white);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 55%),
    linear-gradient(165deg, #5A1238 0%, #4A0C2C 45%, #3D0A24 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.hero-poster > * { position: relative; z-index: 1; }
.hp-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.hp-brand img {
  height: 68px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 7px 9px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.hp-presents {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.72;
  margin: 0 0 16px;
  font-weight: 600;
}
.hp-building {
  max-width: 300px;
  margin: 0 auto 18px;
  opacity: 0.92;
}
.hp-building img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 100px;
  object-fit: contain;
}
.hp-building svg { width: 100%; height: auto; display: block; }
.hp-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #fff;
}
.hp-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.45);
  margin: 14px auto 0;
  border-radius: 2px;
}
.hp-tag {
  font-size: clamp(11.5px, 2.6vw, 13px);
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  max-width: 30ch;
  margin: 0 auto 16px;
  font-weight: 500;
}
.hp-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}
.hp-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}
.hp-sub {
  font-size: 13.5px;
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 8px;
  font-weight: 400;
}
.hp-soon {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 4vw, 20px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 4px 0 18px;
  color: #fff;
}
.hp-phone {
  font-size: 12px;
  opacity: 0.82;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0;
}
.hp-phone a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}
.hp-phone a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.hp-phone .sep { opacity: 0.45; }

@media (max-width: 600px) {
  .hero-poster {
    max-width: 100%;
    border-radius: 14px;
    padding: 28px 18px 24px;
  }
  .hp-brand img { height: 56px; max-width: 64px; }
  .hp-building { max-width: 240px; }
  .logo .cobrand img { height: 36px; max-width: 40px; }
  .logo b { font-size: 15px; }
  .nav { gap: 10px; height: 64px; }
}

/* Poster body polish */
.poster-body {
  padding: 56px 0 64px !important;
}
.poster-body .lede {
  font-family: var(--font-body) !important;
  font-size: clamp(15.5px, 1.6vw, 17.5px) !important;
  line-height: 1.8 !important;
  color: var(--mute) !important;
  max-width: 68ch !important;
  text-align: justify !important;
}
.poster-body .cta { margin-bottom: 36px; gap: 10px !important; }

/* Glance as professional stat grid */
.glance {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 8px 8px 4px !important;
  max-width: 640px !important;
}
.glance h3 {
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--mute) !important;
  padding: 12px 16px 8px !important;
  margin: 0 !important;
  border: none !important;
}
.glance dl {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1px !important;
  background: var(--line) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 0 8px 8px !important;
}
.glance div {
  background: var(--surface-2) !important;
  padding: 16px 18px !important;
  border: none !important;
  display: block !important;
}
.glance dt {
  font-size: 12px !important;
  color: var(--mute) !important;
  opacity: 1 !important;
  margin-bottom: 4px !important;
}
.glance dd {
  font: 700 22px var(--font-head) !important;
  color: var(--deep) !important;
  white-space: normal !important;
}

/* Footer */
footer {
  background: #2A0818 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}
footer .wrap { padding-top: 28px; padding-bottom: 28px; }
footer p { opacity: 0.75; font-size: 13.5px; }
footer p strong { opacity: 1; color: #fff; font-weight: 600; letter-spacing: 0.02em; }

/* Forms */
.fcard {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
}
.fcard h3 { letter-spacing: -0.01em; }
.f input, .f select, .f textarea {
  border-radius: 10px !important;
  border-color: var(--line) !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.f input:focus, .f select:focus, .f textarea:focus {
  border-color: rgba(139,26,43,0.45) !important;
  box-shadow: 0 0 0 3px rgba(139,26,43,0.1) !important;
  outline: none !important;
}

/* Partner card */
.partner-card {
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
}
.partner-card:hover { box-shadow: var(--shadow-md) !important; }

/* People */
.person img {
  border: 3px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

/* Final CTA section */
.final {
  text-align: center;
}
.final h2 { letter-spacing: -0.02em; }


/* Partner page logo */
.partner-logo-hero img {
  height: 72px !important;
  width: auto !important;
  max-width: 80px;
  object-fit: contain;
}
.partner-badge {
  height: 56px !important;
  width: auto !important;
  max-width: 64px;
  object-fit: contain;
}



/* content justify — body copy only (not cards / guiding lights) */
.lede,
.poster-body .lede,
.about-prose,
.about-prose p,
.partner-card p,
.acc-body,
.step p,
.ev p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
/* keep UI chrome + guiding lights centered — never justify */
.page-hero p,
.hp-tag,
.hp-sub,
.hp-soon,
.hp-presents,
.hp-phone,
.cta,
.final p,
.glance,
.center,
.center h2,
.people,
.person,
.person h3,
.person p,
#guests,
#guests h2,
#guests p,
nav,
.topbar,
.section-label,
.section-title,
.section-lead,
.section-cta {
  text-align: center !important;
  text-justify: auto !important;
  hyphens: manual !important;
}
.person p {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}
@media (max-width: 600px) {
  .logo b { font-size: 12px; }
  .logo small { font-size: 9px; letter-spacing: 0.06em; }
  .logo { gap: 8px; max-width: calc(100% - 100px); }
  .logo-text { overflow: hidden; }
  .poster-body .lede,
  .about-prose p {
    text-align: justify !important;
  }
  .person,
  .person h3,
  .person p,
  #guests h2 {
    text-align: center !important;
  }
}
@media (max-width: 960px) {
  .logo small { display: block !important; } /* was hidden — keep full form visible */
}

/* ========== Home sections (highlights, timeline, FAQ) ========== */
.home-section {
  padding: 72px 0;
  background: var(--surface);
  color: var(--ink);
}
.home-section-alt {
  background: var(--surface-2);
}
.home-section .wrap.narrow { max-width: 720px; }
.section-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  text-align: center;
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 10px;
  color: var(--deep);
}
.section-lead {
  text-align: center !important;
  color: var(--mute);
  max-width: 48ch;
  margin: 0 auto 36px;
  font-size: 15.5px;
  line-height: 1.65;
}
.section-cta {
  text-align: center !important;
  margin-top: 32px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-section-alt .pillar-card { background: var(--surface); }
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pc-num {
  display: block;
  font: 700 12px var(--font-head);
  letter-spacing: 0.1em;
  color: var(--crimson);
  margin-bottom: 10px;
  opacity: 0.85;
}
.pillar-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--deep);
}
.pillar-card p {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.55;
  text-align: left !important;
  margin: 0;
}

/* Timeline */
.timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--crimson), rgba(139,26,43,0.15));
  border-radius: 2px;
}
.tl-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 28px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-step {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font: 700 14px var(--font-head);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(74,12,44,0.25);
  position: relative;
  z-index: 1;
}
.tl-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--deep);
}
.tl-item p {
  font-size: 14px;
  color: var(--mute);
  margin: 0;
  text-align: left !important;
  line-height: 1.55;
}

/* FAQ */
.home-faq { margin-top: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font: 600 14.5px var(--font-body);
  color: var(--deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 600 18px var(--font-head);
  color: var(--crimson);
  flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.65;
  text-align: justify;
  border-top: 1px solid transparent;
}
.faq-item[open] .faq-body {
  border-top-color: var(--line);
  padding-top: 12px;
}

/* Soft page animations */
@media (prefers-reduced-motion: no-preference) {
  .pillar-card, .faq-item, .tl-item {
    animation: fadeUp 0.5s ease both;
  }
  .pillar-card:nth-child(1) { animation-delay: 0.05s; }
  .pillar-card:nth-child(2) { animation-delay: 0.1s; }
  .pillar-card:nth-child(3) { animation-delay: 0.15s; }
  .pillar-card:nth-child(4) { animation-delay: 0.2s; }
  .pillar-card:nth-child(5) { animation-delay: 0.25s; }
  .pillar-card:nth-child(6) { animation-delay: 0.3s; }
  .tl-item:nth-child(1) { animation-delay: 0.05s; }
  .tl-item:nth-child(2) { animation-delay: 0.12s; }
  .tl-item:nth-child(3) { animation-delay: 0.19s; }
  .tl-item:nth-child(4) { animation-delay: 0.26s; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gallery lightbox */
.gal-item { cursor: pointer; position: relative; overflow: hidden; }
.gal-item img { transition: transform 0.35s ease; }
.gal-item:hover img { transform: scale(1.04); }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 8, 14, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(960px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .home-section { padding: 52px 0; }
  .timeline::before { left: 15px; }
  .tl-step { width: 32px; height: 32px; font-size: 13px; }
  .tl-item { gap: 14px; }
}


/* Mobile menu polish */
@media (max-width: 960px) {
  nav ul {
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    padding: 12px 20px 20px !important;
  }
  nav li a {
    border-radius: 8px !important;
    margin: 2px 0;
    padding: 12px 14px !important;
  }
  .nav > .btn {
    display: inline-flex !important;
    padding: 8px 12px !important;
    font-size: 11.5px !important;
  }
  .burger {
    border-color: rgba(255,255,255,0.4);
    transition: background 0.15s;
  }
  .burger:hover, .burger[aria-expanded="true"] {
    background: rgba(255,255,255,0.12);
  }
}


/* Registration form polish */
.reg-section {
  background: var(--grad-soft);
  color: var(--ink);
  padding: 40px 0 72px;
}
.form-tabs {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.form-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  border-radius: 10px;
  font: 600 13.5px var(--font-body);
  color: var(--mute);
  cursor: pointer;
  transition: 0.2s ease;
}
.form-tab:hover { color: var(--deep); background: var(--surface-2); }
.form-tab.active {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,12,44,0.22);
}

.form-panel { display: none; max-width: 720px; margin: 0 auto; }
.form-panel.active { display: block; }

.fcard {
  padding: 28px 28px 32px !important;
}
.fcard-head {
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.fcard-head h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--deep);
}
.fsub {
  font-size: 13.5px !important;
  color: var(--mute) !important;
  margin: 0 !important;
  text-align: left !important;
}

.fgroup {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 8px;
  margin: 0 0 18px;
  background: var(--surface-2);
}
.fgroup legend {
  font: 600 12px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  padding: 0 8px;
}
.fgroup .row { margin-top: 4px; }

.f label {
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 2px;
}
.f label em {
  font-weight: 400;
  color: var(--mute);
  font-style: normal;
}
.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 12px 14px !important;
  border: 1.5px solid rgba(74,12,44,0.14) !important;
  border-radius: 10px !important;
  font: 14.5px var(--font-body) !important;
  color: var(--ink) !important;
  background: #fff !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.f input::placeholder,
.f textarea::placeholder {
  color: #9a8f93;
}
.f input:hover,
.f select:hover,
.f textarea:hover {
  border-color: rgba(74,12,44,0.28) !important;
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: none !important;
  border-color: rgba(139,26,43,0.5) !important;
  box-shadow: 0 0 0 3px rgba(139,26,43,0.1) !important;
}
.f textarea { resize: vertical; min-height: 88px; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.f.full { grid-column: 1 / -1; }

.ck {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  text-align: left !important;
  cursor: pointer;
}
.ck input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--crimson);
}
.ck span { text-align: left !important; }

.btn-block {
  width: 100%;
  padding: 14px 20px !important;
  font-size: 15px !important;
}

.submission-status {
  min-height: 0;
  margin: 0 0 14px !important;
  padding: 0;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  text-align: left !important;
}
.submission-status:not(:empty) {
  padding: 10px 14px;
  background: #f8f1f4;
  border: 1px solid var(--line);
}

.rates-wrap { margin-top: 6px; }
.rate {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rate b {
  display: block;
  font-size: 13px;
  color: var(--deep);
  margin-bottom: 10px;
}
.scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sc { position: relative; margin: 0; cursor: pointer; }
.sc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sc span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(74,12,44,0.2);
  border-radius: 8px;
  font: 600 12.5px var(--font-body);
  background: #fff;
  color: var(--deep);
  transition: 0.15s;
}
.sc:hover span { border-color: var(--crimson); }
.sc input:checked + span {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.chip span {
  border-radius: 10px !important;
  border-color: rgba(74,12,44,0.16) !important;
}
.chip input:checked + span {
  background: rgba(139,26,43,0.08) !important;
  border-color: var(--crimson) !important;
  color: var(--deep) !important;
  font-weight: 600;
}

@media (max-width: 700px) {
  .row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .form-tabs { flex-direction: column; }
  .fcard { padding: 22px 18px 26px !important; }
  .sc span { width: 30px; height: 30px; font-size: 12px; }
}
