/* Backstage Mastermind 2026 — Static version */
:root {
  --bg: #0A0A0F;
  --bg-deep: #00027A;
  --royal: #2254C5;
  --offwhite: #F0F4FB;
  --pure-white: #FFFFFF;
  --mute: #6B7E96;
  --rule: rgba(240, 244, 251, 0.18);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--rule); }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--offwhite);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--royal); color: var(--pure-white); }

/* Layout */
.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.relative { position: relative; }
.hidden { display: none; }
.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-20{margin-top:5rem}
.my-5{margin:1.25rem 0}.my-6{margin:1.5rem 0}.my-8{margin:2rem 0}
.p-6{padding:1.5rem}.p-8{padding:2rem}.p-10{padding:2.5rem}.p-12{padding:3rem}
.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-16{gap:4rem}
.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.items-baseline{align-items:baseline}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}.text-center{text-align:center}
.w-full{width:100%}.h-full{height:100%}
.space-y-3 > * + *{margin-top:.75rem}.space-y-4 > * + *{margin-top:1rem}.space-y-6 > * + *{margin-top:1.5rem}.space-y-7 > * + *{margin-top:1.75rem}

.grid { display: grid; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.cells { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); }
.cells-2 { grid-template-columns: 1fr; }
.cells-3 { grid-template-columns: 1fr; }
.cells-4 { grid-template-columns: 1fr; }

/* Default: span full row so text doesn't collapse to 1/12 column */
.col-l-4, .col-l-5, .col-l-6, .col-l-7, .col-l-8 { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cells-2 { grid-template-columns: 1fr 1fr; }
  .cells-3 { grid-template-columns: repeat(2, 1fr); }
  .cells-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: flex; }
  .footer-row { flex-direction: row; align-items: center; }
  .col-l-7 { grid-column: span 7 / span 7; }
  .col-l-5 { grid-column: span 5 / span 5; }
  .col-l-8 { grid-column: span 8 / span 8; }
  .col-l-4 { grid-column: span 4 / span 4; }
  .col-l-6 { grid-column: span 6 / span 6; }
}
@media (min-width: 1024px) {
  .cells-3 { grid-template-columns: repeat(3, 1fr); }
  .cells-4 { grid-template-columns: repeat(4, 1fr); }
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.nav-links { display: none; gap: 2rem; align-items: center; }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

/* Typography */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--royal);
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow-mute {
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--mute); display: block;
}
.serif { font-family: var(--font-serif); letter-spacing: -0.02em; }
.italic { font-style: italic; }
.display {
  font-family: var(--font-serif);
  letter-spacing: -0.025em; line-height: 1.02; color: var(--pure-white);
}
.text-white { color: var(--pure-white); }
.muted { color: var(--mute); }
.rule { height: 1px; background: var(--rule); width: 100%; }

/* Components */
.panel {
  background: rgba(0, 2, 122, 0.28);
  border: 1px solid var(--rule);
}
.panel-deep { background: var(--bg-deep); }
.panel-card {
  background: #0F1018;
  border: 1px solid var(--rule);
  transition: border-color 220ms ease;
}
.panel-card:hover { border-color: var(--royal); }
.accent-left { border-left: 4px solid var(--royal); }
.accent-top { border-top: 2px solid var(--royal); }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.6rem;
  font-weight: 600; font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}
.btn-primary { background: var(--royal); color: var(--pure-white); border: 1px solid var(--royal); }
.btn-primary:hover { transform: translateY(-1px); background: #2e63db; }
.btn-ghost { background: transparent; color: var(--offwhite); border: 1px solid var(--rule); }
.btn-ghost:hover { transform: translateY(-1px); border-color: var(--royal); }
.arrow { display: inline-block; transition: transform 200ms ease; }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }

.stat-num {
  font-family: var(--font-serif); font-weight: 400;
  color: var(--pure-white); line-height: 1; letter-spacing: -0.04em;
}

.page-counter {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-serif); font-style: italic;
  color: var(--mute); font-size: 14px; letter-spacing: 0.1em;
}

.nav-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--offwhite);
  transition: color 180ms ease;
}
.nav-link:hover { color: var(--royal); }

input.field, select.field, textarea.field {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--offwhite); padding: .9rem 0;
  font-family: var(--font-sans); font-size: 14px;
  outline: none; transition: border-color 200ms ease;
}
input.field:focus, select.field:focus, textarea.field:focus { border-color: var(--royal); }
select.field option { background: #0A0A0F; color: var(--offwhite); }
textarea.field { resize: vertical; min-height: 80px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  background: transparent; border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10,10,15,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  margin: 0 auto; max-width: 1320px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) { .header-inner { padding: 1.25rem 3rem; } }

/* Logo */
.bs-logo {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Montserrat", system-ui, sans-serif; line-height: 1;
  background: #0B0F15; padding: .6rem 1rem; gap: .35rem;
}
.bs-logo .top { font-weight: 700; letter-spacing: 10px; font-size: 14px; color: #FFFFFF; text-indent: 10px; }
.bs-logo .bot { font-weight: 300; letter-spacing: 7px; font-size: 11px; color: #C4965A; text-indent: 7px; }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hero bg */
.hero { overflow: hidden; position: relative; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 75% 30%, rgba(34,84,197,0.18), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(0,2,122,0.35), transparent 60%);
}
.hero .section { padding-top: clamp(8rem, 14vw, 12rem); }

/* Painelista status pill */
.pill {
  display: inline-block; padding: .375rem .75rem;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.pill-confirmed { background: var(--royal); color: var(--pure-white); }
.pill-negotiating { border: 1px dashed var(--mute); color: var(--mute); }

.avatar {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic;
  color: var(--pure-white); font-size: 26px;
}
.avatar.confirmed { background: rgba(34,84,197,0.12); }

/* Schedule rows */
.schedule-row {
  display: grid; grid-template-columns: 4rem 1fr; gap: 1rem;
  align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .schedule-row { grid-template-columns: 8rem 1fr; }
}
.schedule-row .time { font-family: var(--font-serif); font-size: 26px; color: var(--pure-white); }
.schedule-row .title { font-weight: 600; font-size: 16px; color: var(--offwhite); }

/* Portrait */
.portrait {
  width: 100%; aspect-ratio: 4 / 5; max-width: 440px;
  border: 1px solid var(--rule); position: relative; overflow: hidden;
}
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(0.1) contrast(1.05);
}
.portrait .caption {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 55%, rgba(10,10,15,0.85) 100%);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.portrait .caption span { color: var(--pure-white); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }

/* Bullet list */
.bullet-list { list-style: none; padding: 0; }
.bullet-list li { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.bullet-list li:first-child { margin-top: 0; }
.bullet-dot { width: 8px; height: 8px; background: var(--royal); display: inline-block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
}
.footer-inner {
  margin: 0 auto; max-width: 1320px;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start; justify-content: space-between;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; padding: 2rem 3rem; } }
.footer-meta { font-size: 12px; color: var(--mute); letter-spacing: 0.18em; text-transform: uppercase; }

/* Success message */
.success-msg {
  text-align: center; font-family: "Montserrat", sans-serif;
  font-weight: 300; color: rgba(255,255,255,0.6);
  font-size: 15px; line-height: 1.7; padding: 48px 12px;
}

.error-msg {
  color: #ff7373; font-size: 13px; margin-top: .5rem;
}
