@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700;900&display=swap");

:root {
  --black: #151515;
  --near-black: #111111;
  --wine: #5b0302;
  --wine-dark: #270101;
  --burg: #722c3b;
  --gold: #b9924b;
  --gold-bright: #d9b96e;
  --cream: #fff8ea;
  --cream-soft: #fbefd9;
  --text: #1f1711;
  --muted: #4b4034;
  --line: #dfc894;
  --display: "Cormorant Garamond", Georgia, serif;
  --serif-alt: "Cinzel", Georgia, serif;
  --body: "Lato", Arial, Helvetica, sans-serif;
  --gold-bar: linear-gradient(
    135deg,
    #fae2a6 0%,
    #fdf1d3 18%,
    #f1d198 38%,
    #e6bf7e 48%,
    #d4ac80 58%,
    #fdf1d3 68%,
    #fae2a6 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
}
.gold-div {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* Existing page entry / hero feel preserved */
.community-header {
  position: relative;
  z-index: 5;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(21, 21, 21, 0.9);
  border-bottom: 1px solid rgba(185, 146, 75, 0.25);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-mark {
  width: min(235px, 58vw);
}
.brand-mark img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links img {
  width: 26px;
  height: 26px;
  opacity: 0.86;
  transition: 0.22s ease;
}
.social-links a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

.community-main {
  flex: 1;
}
.community-hero {
  position: relative;
  padding: 126px clamp(18px, 4vw, 54px) 34px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12)),
    linear-gradient(#722c3b7a, #722c3bb3), url("../../assets/santaclarita.webp");
  background-size: 100% auto;
  background-position: center;
  color: #fff;
}
.community-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(185, 146, 75, 0.22),
    transparent 68%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.community-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
  color: var(--cream);
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
  margin-bottom: 18px;
}
.community-hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 248, 234, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.community-nav {
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.community-nav a {
  border: 1px solid rgba(185, 146, 75, 0.55);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(21, 21, 21, 0.48);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  transition: 0.22s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
}
.community-nav a:hover,
.community-nav a.active {
  background: var(--gold-bar);
  color: #190707;
  border-color: transparent;
}

/* Continuous landing page body — not document blocks, not separate cards */
.mastermind-body {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0) 0, rgba(21, 21, 21, 0.04) 100%),
    var(--cream);
  color: var(--text);
}
.body-frame {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}
.flow-section {
  padding: clamp(44px, 6vw, 76px) 0;
}
.flow-section + .flow-section {
  border-top: 1px solid rgba(185, 146, 75, 0.42);
}
.leadership-section {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  color: white;
}
.section-label {
  font-family: var(--serif-alt);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.flow-section h2 {
  font-family: var(--display);
  color: var(--black);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.98;
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 780px;
}
.flow-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.66;
  margin-bottom: 12px;
}
.dark-section p {
  max-width: 760px;
  color: var(--);
  font-size: 16px;
  line-height: 1.66;
  margin-bottom: 12px;
}
.lead {
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 34px) !important;
  line-height: 1.18 !important;
  color: var(--text) !important;
  font-weight: 600;
  margin-bottom: 18px !important;
}
.compact-lead {
  max-width: 700px;
}
.statement-line {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.05 !important;
  font-style: italic;
  color: var(--text) !important;
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  margin: 22px 0 20px !important;
}
.gold-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  position: relative;
}
.gold-rule::after {
  content: "◆";
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  color: var(--gold);
  background: var(--cream);
  font-size: 14px;
  padding: 0 9px;
  line-height: 1;
}
.clean-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
}
.two-col-list {
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.clean-list li {
  position: relative;
  padding-left: 28px;
  color: #3f3429;
  font-size: 15px;
  line-height: 1.45;
}
.clean-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.8;
}
.checklist{
  border-left: 3px solid var(--gold-bright);
  border-radius:4px;
  padding:26px;
  background:var(--cream)
}
.checklist li{
  font-family: var(--display);
  border-bottom: 1px solid var(--cream-soft);
  font-size:20px;
  font-weight:bold;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 2.8;
}

.sublist{
  font-family: var(--body);
  color: var(--muted);
  font-size:15px;
  font-weight:normal;
}
.text-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.highlight-copy {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 31px) !important;
  line-height: 1.22 !important;
  color: var(--text) !important;
}

/* Dark runs are full-width continuous bands, not isolated cards */
.dark-run,
.warning-run {
  background:
    radial-gradient(
      circle at top center,
      rgba(114, 44, 59, 0.52),
      rgba(114, 44, 59, 0.12) 28%,
      transparent 58%
    ),
    linear-gradient(180deg, #151515 0%, #111111 52%, #270101 100%);
  color: var(--cream);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.warning-run {
  background: linear-gradient(145deg, #151515 0%, #270101 54%, #722c3b 100%);
}
.dark-frame {
  width: min(980px, calc(100% - 32px));
}
.dark-section h2,
.warning-section h2 {
  color: var(--cream);
  max-width: 800px;
}
.dark-section .section-label,
.warning-section .section-label {
  color: var(--gold-bright);
}
.light-list li {
  color: #f4ead7;
}
.light-list li::before {
  color: var(--gold-bright);
}

.application-run {
  background:
    linear-gradient(180deg, rgba(251, 239, 217, 0.56), rgba(255, 248, 234, 1)),
    var(--cream);
  border-top: 1px solid rgba(185, 146, 75, 0.42);
}
.application-section {
  text-align: center;
}
.application-section h2,
.application-section p {
  margin-left: auto;
  margin-right: auto;
}
.community-form {
  margin: 32px auto 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  text-align: left;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(185, 146, 75, 0.48);
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 12px 36px rgba(39, 1, 1, 0.08);
}
.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
}
.field {
  display: grid;
  gap: 7px;
  grid-column: 1 / -1;
}
.field-half {
  grid-column: span 1;
}
.field label,
.field-choice h4,
.consent-copy {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 900;
  color: var(--wine);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(91, 3, 2, 0.2);
  background: #fffdfa;
  padding: 13px 14px;
  font: inherit;
  color: var(--wine-dark);
  outline: none;
  transition: 0.18s ease;
}
.field textarea {
  min-height: 105px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 146, 75, 0.2);
}
.field-choice {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}
.choice-grid {
  display: grid;
  gap: 8px;
}
.inline-options {
  grid-template-columns: repeat(3, 1fr);
}
.choice-grid label,
.check-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(91, 3, 2, 0.13);
  background: rgba(245, 237, 214, 0.62);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}
.choice-grid input,
.check-wrap input {
  margin-top: 2px;
  accent-color: var(--wine);
}
.check-wrap {
  grid-column: 1 / -1;
}
.actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.btn-submit {
  border: 0;
  padding: 15px 22px;
  background: var(--gold-bar);
  color: #1b0909;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.42);
  transition: 0.22s ease;
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 32px rgba(91, 3, 2, 0.16),
    inset 0 0 14px rgba(255, 255, 255, 0.55);
}
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(91, 3, 2, 0.16);
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.09em;
  background: #fffdfa;
}
.small-note {
  grid-column: 1 / -1;
  font-size: 13px !important;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.alert {
  display: none;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 13px 15px;
  background: #fff7e8;
  color: #7a5712;
  border: 1px solid #efd699;
  font-size: 14px;
}

.community-footer {
  background: var(--black);
  border-top: 1px solid rgba(185, 146, 75, 0.32);
  padding: 28px clamp(18px, 4vw, 54px);
  text-align: center;
  color: rgba(255, 248, 234, 0.72);
}
.footer-logo {
  width: min(220px, 58vw);
  margin: 0 auto 14px;
  opacity: 0.92;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0;
  color: var(--gold-bright);
  font-size: 14px;
}
.footer-note {
  font-size: 13px;
}

@media (max-width: 900px) {
  .community-hero {
    background-size: auto 100%;
  }
  .two-col-list,
  .text-split,
  .community-form {
    grid-template-columns: 1fr;
  }
  .field-half {
    grid-column: 1 / -1;
  }
  .inline-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .community-header {
    padding: 16px;
  }
  .header-inner {
    justify-content: center;
  }
  .social-links {
    display: none;
  }
  .community-hero {
    padding-top: 34px;
  }
  .flow-section {
    padding: 38px 0;
  }
  .community-form {
    padding: 20px 16px;
  }
}


/* Brenda feature + compact note strips */
.brenda-feature {
  margin-top: 22px;
  padding: clamp(34px, 5vw, 54px) clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at top left, rgba(114, 44, 59, 0.22), transparent 46%),
    linear-gradient(145deg, #151515 0%, #111111 55%, #270101 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  color: var(--cream);
}
.brenda-feature h2,
.brenda-feature p,
.brenda-feature .highlight-copy {
  color: var(--cream) !important;
}
.brenda-feature .highlight-copy {
  border-left-color: var(--gold-bright);
}
.note-stack {
  display: grid;
  gap: 22px;
  padding: 18px 0 clamp(44px, 6vw, 70px);
}
.gold-note,
.cream-note {
  padding: 26px 28px;
  border-left: 4px solid var(--gold);
  background: #f3dfb8;
  border-top: 1px solid rgba(185, 146, 75, 0.45);
  border-bottom: 1px solid rgba(185, 146, 75, 0.45);
}
.cream-note {
  background: #fbefd9;
}
.note-title {
  font-family: var(--serif-alt);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5b3f15;
  font-weight: 700;
  margin-bottom: 14px;
}
.gold-note ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.gold-note li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.gold-note li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.8;
}
.cream-note p {
  margin: 0;
  max-width: 840px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}
.dark-note {
  padding: 28px 30px;
  background: #151515;
  color: var(--cream);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.dark-note h3 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 12px;
  font-weight: 600;
}
.dark-note p {
  margin: 0;
  max-width: 840px;
  color: var(--cream);
  font-weight: 700;
  line-height: 1.55;
}
.quote-note {
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--gold);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
}
@media (max-width: 620px) {
  .gold-note,
  .cream-note,
  .dark-note {
    padding: 22px 18px;
  }
}
